summaryrefslogtreecommitdiff
path: root/dev-python/python-rtmidi
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2023-06-17 01:16:39 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2023-06-17 01:16:39 +0000
commit0eaeee95b841f03a4f71e71c57ee801b327e00a7 (patch)
tree4cbc8d2af9b4df5f07d3939997882be858932209 /dev-python/python-rtmidi
parent9d352c02c3250ecbc07415190dfb4b70542688d1 (diff)
downloadbaldeagleos-repo-0eaeee95b841f03a4f71e71c57ee801b327e00a7.tar.gz
baldeagleos-repo-0eaeee95b841f03a4f71e71c57ee801b327e00a7.tar.xz
baldeagleos-repo-0eaeee95b841f03a4f71e71c57ee801b327e00a7.zip
Adding metadata
Diffstat (limited to 'dev-python/python-rtmidi')
-rw-r--r--dev-python/python-rtmidi/files/python-rtmidi-1.5.1-meson_pure.patch29
-rw-r--r--dev-python/python-rtmidi/python-rtmidi-1.5.1.ebuild4
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-python/python-rtmidi/files/python-rtmidi-1.5.1-meson_pure.patch b/dev-python/python-rtmidi/files/python-rtmidi-1.5.1-meson_pure.patch
new file mode 100644
index 000000000000..fba3f395812c
--- /dev/null
+++ b/dev-python/python-rtmidi/files/python-rtmidi-1.5.1-meson_pure.patch
@@ -0,0 +1,29 @@
+--- a/meson.build
++++ b/meson.build
+@@ -6,7 +6,7 @@
+ default_options: [
+ 'warning_level=2'
+ ],
+- meson_version: '>=0.63.0'
++ meson_version: '>=0.64.0'
+ )
+
+ cpp = meson.get_compiler('cpp')
+@@ -69,7 +69,7 @@
+ endif # Platform detection
+
+ pymod = import('python')
+-python = pymod.find_installation(get_option('python'), required: true)
++python = pymod.find_installation(get_option('python'), required: true, pure: false)
+
+ # Generate _rtmidi extension source
+ subdir('src')
+--- a/rtmidi/meson.build
++++ b/rtmidi/meson.build
+@@ -78,6 +78,5 @@
+ python.install_sources(
+ python_sources,
+ version_py,
+- pure: true,
+ subdir: 'rtmidi',
+ )
diff --git a/dev-python/python-rtmidi/python-rtmidi-1.5.1.ebuild b/dev-python/python-rtmidi/python-rtmidi-1.5.1.ebuild
index 1b60d97844f1..37d67a1f62b6 100644
--- a/dev-python/python-rtmidi/python-rtmidi-1.5.1.ebuild
+++ b/dev-python/python-rtmidi/python-rtmidi-1.5.1.ebuild
@@ -4,6 +4,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{7,8,9,10,11} )
+DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=meson-python
PYPI_NO_NORMALIZE=1
@@ -33,6 +34,7 @@ BDEPEND="<dev-python/cython-2.99[${PYTHON_USEDEP}]
PATCHES=(
"${FILESDIR}"/${PN}-1.5.1-build_backend.patch
+ "${FILESDIR}"/${PN}-1.5.1-meson_pure.patch
"${FILESDIR}"/${PN}-1.5.1-unbundle_rtmidi.patch
)
@@ -45,6 +47,8 @@ src_prepare() {
# Just in case
rm -r src/rtmidi || die
rm src/_rtmidi.cpp || die
+
+ DISTUTILS_ARGS=( -Dwheel=true )
}
python_test() {