From 81ab1a4db30480fdfb51d6e784b0f3ad9bbe2432 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 18 Jun 2023 01:46:36 +0100 Subject: gentoo auto-resync : 18:06:2023 - 01:46:36 --- dev-python/python-rtmidi/Manifest | 6 +-- .../files/python-rtmidi-1.5.1-build_backend.patch | 33 ------------ .../files/python-rtmidi-1.5.2-build_backend.patch | 36 +++++++++++++ .../python-rtmidi/python-rtmidi-1.5.1.ebuild | 57 -------------------- .../python-rtmidi/python-rtmidi-1.5.2.ebuild | 63 ++++++++++++++++++++++ 5 files changed, 102 insertions(+), 93 deletions(-) delete mode 100644 dev-python/python-rtmidi/files/python-rtmidi-1.5.1-build_backend.patch create mode 100644 dev-python/python-rtmidi/files/python-rtmidi-1.5.2-build_backend.patch delete mode 100644 dev-python/python-rtmidi/python-rtmidi-1.5.1.ebuild create mode 100644 dev-python/python-rtmidi/python-rtmidi-1.5.2.ebuild (limited to 'dev-python/python-rtmidi') diff --git a/dev-python/python-rtmidi/Manifest b/dev-python/python-rtmidi/Manifest index c9a44e790fcc..5c0f46b053f4 100644 --- a/dev-python/python-rtmidi/Manifest +++ b/dev-python/python-rtmidi/Manifest @@ -1,9 +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 +AUX python-rtmidi-1.5.2-build_backend.patch 815 BLAKE2B 722a785cef5d87c7f63fe8e2ae71f644a0db318cb2f8176fd96a0c2a700458a19c1d98000b790ce1fb1c7a63132004323e51a048f3c57b7391db6973777622ac SHA512 a82f3c5ad4163e3021ba3ce36e8383b426271801174a99ad9b97ffe83ecaf7ac0d1e45a1f7326783b9f797610b0b00e669d5ef76499730a5697fc9336b735417 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 +DIST python-rtmidi-1.5.2.tar.gz 332527 BLAKE2B 8779ea9952c4aeb5673ab26b04899ecb6582d29b9da081f726ce3f41ed0b96cc25239cebb69ebb847efc700332c3d47bf00f1eec6a0d092e0244e1cabe84f0b9 SHA512 025b356a2e0aefab53cf84e8d3cb6396058175e01cf2176336121babb4548b767b29bcd2e678fc2389c30df81586ee9395f51ab8acbde82f7f7f589935d65f4c EBUILD python-rtmidi-1.4.9.ebuild 1147 BLAKE2B 7a49aced93d0a8aad757f57d91790f49fe61d78bafbd06685f96fcb76ad4b3499ebc4bf36188867a221f4e240d0212f89da47a6b23f498aa18085bec705ac819 SHA512 fb429d92746f974c6b23ac275389b00a331685e89ff4d76c85535f4e4967bf9b5752688b4cb7020197647bf43eb7d02d9c1796bb614b39a4ca6b96c72c7e817d -EBUILD python-rtmidi-1.5.1.ebuild 1290 BLAKE2B 5d930fedd1d3dab1fbeb11cb9cec8fbfa15046435d89857ae31f8a47af6ddc9bd58e024b1f48d6764efdb35be230f10009f5475e3a130866655099be8d642771 SHA512 7b7e831f3c36f83260b9b5f6e5106b5b9e82e354fac390261e32c67c9389ea848d2ad4c36ac16ea7f1f7a8cbfca3a3555bc0781b59ac24aab66fd90c8d8d62a3 +EBUILD python-rtmidi-1.5.2.ebuild 1676 BLAKE2B eabfa694d04ae890afffb7e1d3a7443a98da94806c4d0a782d4550d68f715d34a8fdd8dce08d8398877da953ae398a3743d3c964b887a74ff619f91cd7ae56ff SHA512 357755172f03a4a1cc43df8021e6ab4e15c2da74010c1f84cd8e7e81427e634d5d2852887b3ddcc0a8ba6560b9d53d7bcf282ce4d3fde1ff10e70a6a61eced35 MISC metadata.xml 388 BLAKE2B b1bce0f609aae5a298c26c80c3dc3aa33eadf32c9de9da22f4a4f808d1cfd8c769b095d12f2264cf9dd04cdbec8a0fb7202b10c04bb43f9112146023aadd398d SHA512 012ad743d364b9266bef852d159235f27b172ec7fceff43737fe8a67478f991dc53532b021c02d8ffc2eea19cdc568046cf90e440afefb46dcdad275a33f71e3 diff --git a/dev-python/python-rtmidi/files/python-rtmidi-1.5.1-build_backend.patch b/dev-python/python-rtmidi/files/python-rtmidi-1.5.1-build_backend.patch deleted file mode 100644 index fdb2a14b7c7d..000000000000 --- a/dev-python/python-rtmidi/files/python-rtmidi-1.5.1-build_backend.patch +++ /dev/null @@ -1,33 +0,0 @@ ---- a/pyproject.toml -+++ b/pyproject.toml -@@ -1,14 +1,14 @@ - [build-system] --# https://thiblahute.gitlab.io/mesonpep517/ --build-backend = "mesonpep517.buildapi" -+build-backend = "mesonpy" - requires = [ - "cython", - "wheel", -- "mesonpep517 @ git+https://gitlab.com/SpotlightKid/mesonpep517.git@rtmidi", -+ "meson-python", - "ninja" - ] - - [project] -+name = "python-rtmidi" - description = "A Python binding for the RtMidi C++ library implemented using Cython." - authors = [ - { name="Christopher Arndt", email="info@chrisarndt.de" }, -@@ -41,12 +41,6 @@ - "music", - "rtmidi", - ] --meson-python-option-name = "python" --meson-options = [ -- "-Dwheel=true", -- "-Dverbose=true", -- "--buildtype=plain" --] - - [project.license] - file = "LICENSE.md" diff --git a/dev-python/python-rtmidi/files/python-rtmidi-1.5.2-build_backend.patch b/dev-python/python-rtmidi/files/python-rtmidi-1.5.2-build_backend.patch new file mode 100644 index 000000000000..511e86f836df --- /dev/null +++ b/dev-python/python-rtmidi/files/python-rtmidi-1.5.2-build_backend.patch @@ -0,0 +1,36 @@ +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -1,14 +1,14 @@ + [build-system] +-# https://thiblahute.gitlab.io/mesonpep517/ +-build-backend = "mesonpep517.buildapi" ++build-backend = "mesonpy" + requires = [ + "cython", + "wheel", +- "mesonpep517 @ git+https://gitlab.com/SpotlightKid/mesonpep517.git@rtmidi", ++ "meson-python", + "ninja" + ] + + [project] ++name = "python-rtmidi" + description = "A Python binding for the RtMidi C++ library implemented using Cython." + authors = [ + { name="Christopher Arndt", email="info@chrisarndt.de" }, +@@ -41,11 +41,12 @@ + "music", + "rtmidi", + ] +-meson-python-option-name = "python" +-meson-options = [ ++ ++[tool.meson-python.args] ++setup = [ + "-Dwheel=true", + "-Dverbose=false", +- "--buildtype=plain" ++ "-Dbuildtype=plain" + ] + + [project.license] diff --git a/dev-python/python-rtmidi/python-rtmidi-1.5.1.ebuild b/dev-python/python-rtmidi/python-rtmidi-1.5.1.ebuild deleted file mode 100644 index abefc8615ade..000000000000 --- a/dev-python/python-rtmidi/python-rtmidi-1.5.1.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9..11} ) -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=meson-python -PYPI_NO_NORMALIZE=1 - -inherit distutils-r1 pypi - -DESCRIPTION="Python bindings for media-libs/rtmidi implemented using Cython" -HOMEPAGE=" - https://pypi.org/project/python-rtmidi/ - https://spotlightkid.github.io/python-rtmidi/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="+alsa jack" - -# Most of these tests do not play nicely with the sandbox, some only -# work with exactly the same version of rtmidi as the bundled one, and -# several fail even with disabled sandbox unless there are actual MIDI -# I/O devices present. -RESTRICT="test" - -DEPEND="media-libs/rtmidi[alsa?,jack?]" -RDEPEND="${DEPEND}" -BDEPEND=" rtmidi/version.py || die +} + +python_test() { + cd "${T}" || die + eunittest "${S}"/tests +} -- cgit v1.2.3