mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-05 00:08:05 +03:00
dev-python/python-rtmidi: add 1.5.4, drop 1.5.2
Signed-off-by: Marek Szuba <marecki@gentoo.org>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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',
|
||||
)
|
||||
@@ -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]
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user