commit: af5fe8e1b5a92c916736900927c71f6cf7bd80da
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 27 21:43:42 2023 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Tue Jun 27 21:56:27 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af5fe8e1
dev-python/python-rtmidi: add 1.5.4, drop 1.5.2
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
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 ----------------------
...idi-1.5.2.ebuild => python-rtmidi-1.5.4.ebuild} | 3 --
4 files changed, 1 insertion(+), 69 deletions(-)
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="[email protected]" },
-@@ -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.4.ebuild
similarity index 93%
rename from dev-python/python-rtmidi/python-rtmidi-1.5.2.ebuild
rename to dev-python/python-rtmidi/python-rtmidi-1.5.4.ebuild
index 4185174c3c76..18e140eddb8a 100644
--- a/dev-python/python-rtmidi/python-rtmidi-1.5.2.ebuild
+++ b/dev-python/python-rtmidi/python-rtmidi-1.5.4.ebuild
@@ -9,7 +9,6 @@ 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
@@ -36,9 +35,7 @@ BDEPEND="<dev-python/cython-2.99[${PYTHON_USEDEP}]
virtual/pkgconfig"
PATCHES=(
- "${FILESDIR}"/${PN}-1.5.1-meson_pure.patch
"${FILESDIR}"/${PN}-1.5.1-unbundle_rtmidi.patch
- "${FILESDIR}"/${PN}-1.5.2-build_backend.patch
)
distutils_enable_tests unittest