From ac4e1bda5b8077042e58f7c6aa8b017f4d1bf465 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Sun, 18 Jun 2023 01:06:52 +0000 Subject: Adding metadata --- dev-python/python-rtmidi/Manifest | 2 +- .../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, 100 insertions(+), 91 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 e26c6e5a7dcb..091c77559be5 100644 --- a/dev-python/python-rtmidi/Manifest +++ b/dev-python/python-rtmidi/Manifest @@ -1,2 +1,2 @@ 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 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 37d67a1f62b6..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_{7,8,9,10,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.3.1