summaryrefslogtreecommitdiff
path: root/dev-python/python-rtmidi/files/python-rtmidi-1.5.1-build_backend.patch
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2023-06-13 16:00:07 +0100
committerMarek Szuba <marecki@gentoo.org>2023-06-13 16:08:39 +0100
commitbdfd73ac586e09bcf444c687e65089ac218eb4e7 (patch)
tree6f508cf392fd5ff3c82937df1cc46ea4699d3569 /dev-python/python-rtmidi/files/python-rtmidi-1.5.1-build_backend.patch
parent8cec346f7e6245e9f52ddd36062bbd8392ca9138 (diff)
downloadgentoo-bdfd73ac586e09bcf444c687e65089ac218eb4e7.tar.gz
gentoo-bdfd73ac586e09bcf444c687e65089ac218eb4e7.tar.bz2
gentoo-bdfd73ac586e09bcf444c687e65089ac218eb4e7.zip
dev-python/python-rtmidi: add 1.5.1
With thanks to ztrawhcse in #gentoo-dev for useful comments regarding switching this to meson-python. Closes: https://bugs.gentoo.org/908426 Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'dev-python/python-rtmidi/files/python-rtmidi-1.5.1-build_backend.patch')
-rw-r--r--dev-python/python-rtmidi/files/python-rtmidi-1.5.1-build_backend.patch33
1 files changed, 33 insertions, 0 deletions
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
new file mode 100644
index 000000000000..fdb2a14b7c7d
--- /dev/null
+++ b/dev-python/python-rtmidi/files/python-rtmidi-1.5.1-build_backend.patch
@@ -0,0 +1,33 @@
+--- 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"