summaryrefslogtreecommitdiff
path: root/dev-python/python-rtmidi
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-06-17 01:42:56 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-06-17 01:42:56 +0100
commitfa5e8e92d94ea9de5d49a1f5ad19abf7272503d0 (patch)
treeecc5fe98bb3e337641ece993bfc9b928fb2b2aa7 /dev-python/python-rtmidi
parentdada2d5b0b1d7e87f9c3ebe4b31ca9b4f4b2ed62 (diff)
gentoo auto-resync : 17:06:2023 - 01:42:56
Diffstat (limited to 'dev-python/python-rtmidi')
-rw-r--r--dev-python/python-rtmidi/Manifest3
-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
3 files changed, 35 insertions, 1 deletions
diff --git a/dev-python/python-rtmidi/Manifest b/dev-python/python-rtmidi/Manifest
index 0f7dca712c9c..c9a44e790fcc 100644
--- a/dev-python/python-rtmidi/Manifest
+++ b/dev-python/python-rtmidi/Manifest
@@ -1,8 +1,9 @@
AUX python-rtmidi-1.4.9-unbundle_rtmidi.patch 2137 BLAKE2B b27c438fa93c00fd458fd8083302838ad0ca96c09c89f0993c6fdc09681f8eccddca53445925c1b437860faa488115d2bc33076a202a5dd730f44cef298c9831 SHA512 6d42f2fe1d533d85ae7ac32b903fc087d4932904905fd778e1979aaed3d4dd6e45db4a49ab87089d67a68ac24b724ef0c7e52eb815badb98d972d3de8cd70677
AUX python-rtmidi-1.5.1-build_backend.patch 770 BLAKE2B 3c5a9d3774f182287ad45a8075682f685345b37064c6c7bd9a2bb7c54954105c84fd8740a5eea88cf0270fc4f726a6d7119d196cdb792f13d2db2fbbb7903fe4 SHA512 5fc2daecd2b02e4c4fd5a370710e0280eebfbf5423ea23036a1b938a095c4a27a8ccd70723bd3e51e33ca76af878d9a5788b54a146a08570f7bb06fc0a5cb514
+AUX python-rtmidi-1.5.1-meson_pure.patch 670 BLAKE2B abb0e1cecc2f14512a6b601501214502451d5fcd9b47c6afb26f4ed9fb4618ba5d97848d9e776a544d373ea5ddc0d3a4f41489ca69cdc1f6a0c78bdf12ee6689 SHA512 2620a2b6a4a3758327964af6cd6313b4a1fb4bb19d33ceeebd058343b74e5655e2936b5431488e093b723aeb449a0bde672b5aaeb05d6a11662f6e25933f4ba0
AUX python-rtmidi-1.5.1-unbundle_rtmidi.patch 1455 BLAKE2B 2cc76ace5758131a069194e9d30c8288ed93a261d41a2b4cf0294e2b4fc7ebee9e0c43b4377143ae8074a03dcc2abf13fd85fdebeebd321efce00e25e43057b1 SHA512 92c11d878018ded30dffa0d06006f8471054321af8d9f58268d4d899121dac66712ddc3a53285c19293fb2d52d4d054b0d803c559e9c01cb8c8f161ce5f2c734
DIST python-rtmidi-1.4.9.tar.gz 251238 BLAKE2B dda4052e893839f88a6756306f8ff4e89ee66ad9716d374efbb7b92a8e9074e98c8d5df0cc82aa3c6e0c77a78fe9b997079623a5147c03eeea9128dfb7605215 SHA512 91c5a0f807549fbe9d87df6e40b8c3db0f9be753616ba51804900195d02120cd972e39c69dd99e60e4ea1b1d9831d0b956b64ce71b2fe03422efc57bccf5cb70
DIST python-rtmidi-1.5.1.tar.gz 331487 BLAKE2B fafa56132c54c20a702bcdc7dbe87b9eb3384ecf1e53ee76926866ba6f6fb601f55f4525f6b12f477f8659e4da8138940c5037ac0a4f31f472261089f0d25b03 SHA512 656690f397983834a719be6b58db66db066469b356ef00ff8d62666af9b5e3ef572e541cf38e082b2122a31d8895fd52c0392ed6bdec387baf3f5827de411254
EBUILD python-rtmidi-1.4.9.ebuild 1147 BLAKE2B 7a49aced93d0a8aad757f57d91790f49fe61d78bafbd06685f96fcb76ad4b3499ebc4bf36188867a221f4e240d0212f89da47a6b23f498aa18085bec705ac819 SHA512 fb429d92746f974c6b23ac275389b00a331685e89ff4d76c85535f4e4967bf9b5752688b4cb7020197647bf43eb7d02d9c1796bb614b39a4ca6b96c72c7e817d
-EBUILD python-rtmidi-1.5.1.ebuild 1196 BLAKE2B 12ec251f41ebb76a71f3b12e501db06c7f795689b2a6b1c15c82fa9c25e300ac8c266de979bac08f34e06f1e606eb650c158f394445827759a6db1bbe93ae418 SHA512 704f631581a9e641ebbba2484811efa56bc6851659aa17c4e468fea95bbc55bcd7ad11563b9326f7bcf95552733d49b5829f320efd638cb62ff5a6295e066b5d
+EBUILD python-rtmidi-1.5.1.ebuild 1290 BLAKE2B 5d930fedd1d3dab1fbeb11cb9cec8fbfa15046435d89857ae31f8a47af6ddc9bd58e024b1f48d6764efdb35be230f10009f5475e3a130866655099be8d642771 SHA512 7b7e831f3c36f83260b9b5f6e5106b5b9e82e354fac390261e32c67c9389ea848d2ad4c36ac16ea7f1f7a8cbfca3a3555bc0781b59ac24aab66fd90c8d8d62a3
MISC metadata.xml 388 BLAKE2B b1bce0f609aae5a298c26c80c3dc3aa33eadf32c9de9da22f4a4f808d1cfd8c769b095d12f2264cf9dd04cdbec8a0fb7202b10c04bb43f9112146023aadd398d SHA512 012ad743d364b9266bef852d159235f27b172ec7fceff43737fe8a67478f991dc53532b021c02d8ffc2eea19cdc568046cf90e440afefb46dcdad275a33f71e3
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 ed64baccc94b..abefc8615ade 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_{9..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() {