From bdb61b01003313ecfce70b8167ecdfb002c1d567 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Wed, 28 Jun 2023 06:15:15 +0000 Subject: Adding metadata --- dev-python/python-rtmidi/Manifest | 2 +- .../files/python-rtmidi-1.5.1-meson_pure.patch | 29 ---------- .../files/python-rtmidi-1.5.2-build_backend.patch | 36 ------------- .../python-rtmidi/python-rtmidi-1.5.2.ebuild | 63 ---------------------- .../python-rtmidi/python-rtmidi-1.5.4.ebuild | 60 +++++++++++++++++++++ 5 files changed, 61 insertions(+), 129 deletions(-) delete mode 100644 dev-python/python-rtmidi/files/python-rtmidi-1.5.1-meson_pure.patch delete 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.2.ebuild create mode 100644 dev-python/python-rtmidi/python-rtmidi-1.5.4.ebuild (limited to 'dev-python/python-rtmidi') diff --git a/dev-python/python-rtmidi/Manifest b/dev-python/python-rtmidi/Manifest index 091c77559be5..56940aca4fc3 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.2.tar.gz 332527 BLAKE2B 8779ea9952c4aeb5673ab26b04899ecb6582d29b9da081f726ce3f41ed0b96cc25239cebb69ebb847efc700332c3d47bf00f1eec6a0d092e0244e1cabe84f0b9 SHA512 025b356a2e0aefab53cf84e8d3cb6396058175e01cf2176336121babb4548b767b29bcd2e678fc2389c30df81586ee9395f51ab8acbde82f7f7f589935d65f4c +DIST python_rtmidi-1.5.4.tar.gz 327631 BLAKE2B c4bdbca7e011922eddb7995818cf471d0a3a5243c407b6ca82afad666af367beba4eec0a594ee26a2aca513b85f7964b81f9bd9d5ca095a03219382797402525 SHA512 2468ea12fcf6b741eefab7673a7d5d39322fccc853bd6e69ba77e90d6ee3e2681966d9886774386ddb395ee045fd266501c090707894bae5e47cf142c46fd0a4 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 deleted file mode 100644 index fba3f395812c..000000000000 --- a/dev-python/python-rtmidi/files/python-rtmidi-1.5.1-meson_pure.patch +++ /dev/null @@ -1,29 +0,0 @@ ---- 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/files/python-rtmidi-1.5.2-build_backend.patch b/dev-python/python-rtmidi/files/python-rtmidi-1.5.2-build_backend.patch deleted file mode 100644 index 511e86f836df..000000000000 --- a/dev-python/python-rtmidi/files/python-rtmidi-1.5.2-build_backend.patch +++ /dev/null @@ -1,36 +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,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.2.ebuild b/dev-python/python-rtmidi/python-rtmidi-1.5.2.ebuild deleted file mode 100644 index cf7945a5c48e..000000000000 --- a/dev-python/python-rtmidi/python-rtmidi-1.5.2.ebuild +++ /dev/null @@ -1,63 +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} ) -DOCS_BUILDER="sphinx" -DOCS_DEPEND="dev-python/myst-parser" -DOCS_DIR="docs" -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=meson-python -PYPI_NO_NORMALIZE=1 - -inherit distutils-r1 docs 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 -} diff --git a/dev-python/python-rtmidi/python-rtmidi-1.5.4.ebuild b/dev-python/python-rtmidi/python-rtmidi-1.5.4.ebuild new file mode 100644 index 000000000000..2a4293dc1baa --- /dev/null +++ b/dev-python/python-rtmidi/python-rtmidi-1.5.4.ebuild @@ -0,0 +1,60 @@ +# 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} ) +DOCS_BUILDER="sphinx" +DOCS_DEPEND="dev-python/myst-parser" +DOCS_DIR="docs" +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=meson-python + +inherit distutils-r1 docs 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