From 26cb790d5c3144747fa0bf0ee13fc2c41728f304 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Wed, 14 Jun 2023 01:25:52 +0000 Subject: Adding metadata --- .../PyQt6-WebEngine/PyQt6-WebEngine-6.5.0.ebuild | 4 +- dev-python/PyQt6/PyQt6-6.5.1.ebuild | 4 +- dev-python/django/django-3.2.19.ebuild | 1 - dev-python/django/django-4.1.9.ebuild | 1 - dev-python/django/django-4.2.1.ebuild | 1 - dev-python/django/django-4.2.2.ebuild | 1 - dev-python/google-api-python-client/Manifest | 1 + .../google-api-python-client-2.89.0.ebuild | 49 ++++++++++ dev-python/hypothesis/Manifest | 1 + dev-python/hypothesis/hypothesis-6.78.2.ebuild | 104 +++++++++++++++++++++ dev-python/jupyterlab-server/Manifest | 1 + .../jupyterlab-server-2.23.0.ebuild | 69 ++++++++++++++ dev-python/langdetect/Manifest | 2 - dev-python/langdetect/metadata.xml | 10 +- dev-python/lit/lit-16.0.5.ebuild | 2 +- dev-python/nbval/nbval-0.10.0-r1.ebuild | 2 +- dev-python/notebook/notebook-6.5.4.ebuild | 2 +- .../openapi-core/openapi-core-0.16.6-r1.ebuild | 69 ++++++++++++++ dev-python/openapi-core/openapi-core-0.16.6.ebuild | 68 -------------- dev-python/pygame/pygame-2.4.0.ebuild | 2 +- dev-python/python-rtmidi/Manifest | 1 + .../files/python-rtmidi-1.5.1-build_backend.patch | 33 +++++++ .../python-rtmidi-1.5.1-unbundle_rtmidi.patch | 55 +++++++++++ .../python-rtmidi/python-rtmidi-1.5.1.ebuild | 53 +++++++++++ 24 files changed, 448 insertions(+), 88 deletions(-) create mode 100644 dev-python/google-api-python-client/google-api-python-client-2.89.0.ebuild create mode 100644 dev-python/hypothesis/hypothesis-6.78.2.ebuild create mode 100644 dev-python/jupyterlab-server/jupyterlab-server-2.23.0.ebuild create mode 100644 dev-python/openapi-core/openapi-core-0.16.6-r1.ebuild delete mode 100644 dev-python/openapi-core/openapi-core-0.16.6.ebuild create 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.1-unbundle_rtmidi.patch create mode 100644 dev-python/python-rtmidi/python-rtmidi-1.5.1.ebuild (limited to 'dev-python') diff --git a/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.5.0.ebuild b/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.5.0.ebuild index 65ca780f6cad..28bcc63b79dd 100644 --- a/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.5.0.ebuild +++ b/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.5.0.ebuild @@ -49,8 +49,8 @@ python_configure_all() { DISTUTILS_ARGS=( --jobs=$(makeopts_jobs) - --qmake="$(type -P qmake6 || die)" - --qmake-setting="$(qt5_get_qmake_args)" + --qmake="$(qt6_get_bindir)"/qmake + --qmake-setting="$(qt6_get_qmake_args)" --verbose --enable=QtWebEngineCore diff --git a/dev-python/PyQt6/PyQt6-6.5.1.ebuild b/dev-python/PyQt6/PyQt6-6.5.1.ebuild index 2ea58de38ae2..4e9fd0b5fbec 100644 --- a/dev-python/PyQt6/PyQt6-6.5.1.ebuild +++ b/dev-python/PyQt6/PyQt6-6.5.1.ebuild @@ -91,8 +91,8 @@ python_configure_all() { DISTUTILS_ARGS=( --jobs=$(makeopts_jobs) - --qmake="$(type -P qmake6 || die)" - --qmake-setting="$(qt5_get_qmake_args)" + --qmake="$(qt6_get_bindir)"/qmake + --qmake-setting="$(qt6_get_qmake_args)" --verbose --confirm-license diff --git a/dev-python/django/django-3.2.19.ebuild b/dev-python/django/django-3.2.19.ebuild index cfd18329023b..9d07b1e5d2d4 100644 --- a/dev-python/django/django-3.2.19.ebuild +++ b/dev-python/django/django-3.2.19.ebuild @@ -104,5 +104,4 @@ pkg_postinst() { optfeature "Memcached support" dev-python/pylibmc dev-python/python-memcached optfeature "ImageField Support" dev-python/pillow optfeature "Password encryption" dev-python/bcrypt - optfeature "High-level abstractions for Django forms" dev-python/django-formtools } diff --git a/dev-python/django/django-4.1.9.ebuild b/dev-python/django/django-4.1.9.ebuild index d09aa3a84a77..5cfb8ea9a81f 100644 --- a/dev-python/django/django-4.1.9.ebuild +++ b/dev-python/django/django-4.1.9.ebuild @@ -97,5 +97,4 @@ pkg_postinst() { optfeature "Memcached support" dev-python/pylibmc dev-python/python-memcached optfeature "ImageField Support" dev-python/pillow optfeature "Password encryption" dev-python/bcrypt - optfeature "High-level abstractions for Django forms" dev-python/django-formtools } diff --git a/dev-python/django/django-4.2.1.ebuild b/dev-python/django/django-4.2.1.ebuild index 19bec0af7a74..654778c5af77 100644 --- a/dev-python/django/django-4.2.1.ebuild +++ b/dev-python/django/django-4.2.1.ebuild @@ -94,5 +94,4 @@ pkg_postinst() { optfeature "Memcached support" dev-python/pylibmc dev-python/python-memcached optfeature "ImageField Support" dev-python/pillow optfeature "Password encryption" dev-python/bcrypt - optfeature "High-level abstractions for Django forms" dev-python/django-formtools } diff --git a/dev-python/django/django-4.2.2.ebuild b/dev-python/django/django-4.2.2.ebuild index c0fdf24e07e8..3d362f3e6ff8 100644 --- a/dev-python/django/django-4.2.2.ebuild +++ b/dev-python/django/django-4.2.2.ebuild @@ -94,5 +94,4 @@ pkg_postinst() { optfeature "Memcached support" dev-python/pylibmc dev-python/python-memcached optfeature "ImageField Support" dev-python/pillow optfeature "Password encryption" dev-python/bcrypt - optfeature "High-level abstractions for Django forms" dev-python/django-formtools } diff --git a/dev-python/google-api-python-client/Manifest b/dev-python/google-api-python-client/Manifest index b82e219a0df9..c95b7fbe6776 100644 --- a/dev-python/google-api-python-client/Manifest +++ b/dev-python/google-api-python-client/Manifest @@ -1,3 +1,4 @@ DIST google-api-python-client-2.86.0.tar.gz 10767816 BLAKE2B 532b86d49dfec724237a07c6d6c4dccbdf7a4f9d8c6a1c7f96548708c55e5851bca3e1f0f28da65edbde68a6d760498af8936be177ce5c0dda3e6809db218188 SHA512 2d1aea4a6735aeffbc4aba05affaa3c4389e2f9f121185d5a5d47e818e33ae3506bebf2748d7a14b374310531c7c3a34325524c5c48df3c882c6b2a4ce579e8d DIST google-api-python-client-2.87.0.tar.gz 10933794 BLAKE2B 702eef338d1b976219587a24b70adc513edd47bc03e7e17dd865424542d8ca61979073ea9d474c60e765f0cd4cfdd67ae2aac7f915b2be46a8c4cfc1bd4bd975 SHA512 55c8f90e4dbd74de6570f078341cb26b90d1a0ff7f20fb5ac2b94f8100ffdc12e49a9beeea5432d0c5f5cf0d0cb7834f8c2cb398be83b1c98305e5a07e2c81f6 DIST google-api-python-client-2.88.0.tar.gz 10943608 BLAKE2B c82dd6af36d93d6fa4c0da31ec5a2d2371a9d960efb4f5a31dc63c268578234d12553f8604478e4bde5d43dcf51a738cd622f05aae0af9a405c9fc9bcde4b156 SHA512 059f49d16a6b55ca6106f779ac08aeb47a11af73022ecdac25817922207333540ea5cea4fe61dbbaea38ae0f07317144fbc0c9a5f05ba4eb8c03bbc661b94803 +DIST google-api-python-client-2.89.0.tar.gz 10965040 BLAKE2B 819c9f0837b86acc693158830c54e48778a1c8ef1fb549a4fbbe100827d0a269b435c4c29d8683c674981ef7817a0489e1cd6639adb7c9b09951c05b8fcf3aef SHA512 e3541f7e6b151ade5feb6e50f22c26b63b85304c4254929be5776c44c6cd80a4c2660d62fc052777033705d3c6a7e8dcd1a69f7f5d3dd5dc49549237a2ce6a5f diff --git a/dev-python/google-api-python-client/google-api-python-client-2.89.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.89.0.ebuild new file mode 100644 index 000000000000..0c85e8ca1676 --- /dev/null +++ b/dev-python/google-api-python-client/google-api-python-client-2.89.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Google API Client for Python" +HOMEPAGE=" + https://github.com/googleapis/google-api-python-client/ + https://pypi.org/project/google-api-python-client/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND=" + >=dev-python/httplib2-0.15[${PYTHON_USEDEP}] + =dev-python/google-api-core-2.3.1[${PYTHON_USEDEP}] + >=dev-python/google-auth-1.35.0[${PYTHON_USEDEP}] + >=dev-python/google-auth-httplib2-0.1.0[${PYTHON_USEDEP}] + >=dev-python/uritemplate-3.0.0[${PYTHON_USEDEP}] + - marcin.deranek@slonko.net - Marcin Deranek + cyber+gentoo@sysrq.in + Anna - - https://github.com/Mimino666/langdetect/issues - - slonko-overlay + + gentoo-guru-overlay \ No newline at end of file diff --git a/dev-python/lit/lit-16.0.5.ebuild b/dev-python/lit/lit-16.0.5.ebuild index 41e94fc739e0..e119e58ccafe 100644 --- a/dev-python/lit/lit-16.0.5.ebuild +++ b/dev-python/lit/lit-16.0.5.ebuild @@ -13,7 +13,7 @@ HOMEPAGE="https://llvm.org/" LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ppc64 ~riscv ~sparc ~x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/nbval/nbval-0.10.0-r1.ebuild b/dev-python/nbval/nbval-0.10.0-r1.ebuild index 3a6c5b1e12c9..5e5d734f6b31 100644 --- a/dev-python/nbval/nbval-0.10.0-r1.ebuild +++ b/dev-python/nbval/nbval-0.10.0-r1.ebuild @@ -12,7 +12,7 @@ HOMEPAGE="https://github.com/computationalmodelling/nbval" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" dev-python/coverage[${PYTHON_USEDEP}] diff --git a/dev-python/notebook/notebook-6.5.4.ebuild b/dev-python/notebook/notebook-6.5.4.ebuild index c62d6ca62d8c..86e9798c78e1 100644 --- a/dev-python/notebook/notebook-6.5.4.ebuild +++ b/dev-python/notebook/notebook-6.5.4.ebuild @@ -14,7 +14,7 @@ HOMEPAGE="https://jupyter.org" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" >=dev-libs/mathjax-2.7.4 diff --git a/dev-python/openapi-core/openapi-core-0.16.6-r1.ebuild b/dev-python/openapi-core/openapi-core-0.16.6-r1.ebuild new file mode 100644 index 000000000000..b2d7c4e75561 --- /dev/null +++ b/dev-python/openapi-core/openapi-core-0.16.6-r1.ebuild @@ -0,0 +1,69 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 + +DESCRIPTION="Client-side and server-side support for the OpenAPI Specification v3" +HOMEPAGE=" + https://github.com/python-openapi/openapi-core/ + https://pypi.org/project/openapi-core/ +" +SRC_URI=" + https://github.com/python-openapi/openapi-core/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/pathable-0.4.0[${PYTHON_USEDEP}] + dev-python/isodate[${PYTHON_USEDEP}] + =dev-python/jsonschema-spec-0.1.1[${PYTHON_USEDEP}] + dev-python/more-itertools[${PYTHON_USEDEP}] + dev-python/parse[${PYTHON_USEDEP}] + =dev-python/openapi-schema-validator-0.3[${PYTHON_USEDEP}] + =dev-python/openapi-spec-validator-0.5[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/asgiref[${PYTHON_USEDEP}] + dev-python/flask[${PYTHON_USEDEP}] + >=dev-python/httpx-0.23.0[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] + >=dev-python/starlette-0.21.0[${PYTHON_USEDEP}] + dev-python/strict-rfc3339[${PYTHON_USEDEP}] + dev-python/webob[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + # falcon is not packaged + tests/integration/contrib/falcon + + # TODO: these tests fail to collect + tests/integration/validation/test_security_override.py + tests/integration/validation/test_read_only_write_only.py + + # unhappy about modern django + tests/integration/contrib/django/test_django_project.py + tests/unit/contrib/django/test_django.py +) + +src_prepare() { + sed -i -e '/--cov/d' pyproject.toml || die + distutils-r1_src_prepare +} diff --git a/dev-python/openapi-core/openapi-core-0.16.6.ebuild b/dev-python/openapi-core/openapi-core-0.16.6.ebuild deleted file mode 100644 index b318285ad080..000000000000 --- a/dev-python/openapi-core/openapi-core-0.16.6.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - -inherit distutils-r1 - -DESCRIPTION="Client-side and server-side support for the OpenAPI Specification v3" -HOMEPAGE=" - https://github.com/python-openapi/openapi-core/ - https://pypi.org/project/openapi-core/ -" -SRC_URI=" - https://github.com/python-openapi/openapi-core/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - >=dev-python/pathable-0.4.0[${PYTHON_USEDEP}] - dev-python/isodate[${PYTHON_USEDEP}] - >=dev-python/jsonschema-spec-0.1.1[${PYTHON_USEDEP}] - dev-python/more-itertools[${PYTHON_USEDEP}] - dev-python/parse[${PYTHON_USEDEP}] - =dev-python/openapi-schema-validator-0.3[${PYTHON_USEDEP}] - =dev-python/openapi-spec-validator-0.5[${PYTHON_USEDEP}] - dev-python/werkzeug[${PYTHON_USEDEP}] -" - -BDEPEND=" - test? ( - dev-python/asgiref[${PYTHON_USEDEP}] - dev-python/flask[${PYTHON_USEDEP}] - >=dev-python/httpx-0.23.0[${PYTHON_USEDEP}] - dev-python/responses[${PYTHON_USEDEP}] - >=dev-python/starlette-0.21.0[${PYTHON_USEDEP}] - dev-python/strict-rfc3339[${PYTHON_USEDEP}] - dev-python/webob[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -EPYTEST_IGNORE=( - # falcon is not packaged - tests/integration/contrib/falcon - - # TODO: these tests fail to collect - tests/integration/validation/test_security_override.py - tests/integration/validation/test_read_only_write_only.py - - # unhappy about modern django - tests/integration/contrib/django/test_django_project.py - tests/unit/contrib/django/test_django.py -) - -src_prepare() { - sed -i -e '/--cov/d' pyproject.toml || die - distutils-r1_src_prepare -} diff --git a/dev-python/pygame/pygame-2.4.0.ebuild b/dev-python/pygame/pygame-2.4.0.ebuild index a9b0430c5282..16c2e1807beb 100644 --- a/dev-python/pygame/pygame-2.4.0.ebuild +++ b/dev-python/pygame/pygame-2.4.0.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv ~sparc x86" IUSE="examples opengl test X" RESTRICT="!test? ( test )" diff --git a/dev-python/python-rtmidi/Manifest b/dev-python/python-rtmidi/Manifest index 0cb23d6df4d8..e26c6e5a7dcb 100644 --- a/dev-python/python-rtmidi/Manifest +++ b/dev-python/python-rtmidi/Manifest @@ -1 +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 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" diff --git a/dev-python/python-rtmidi/files/python-rtmidi-1.5.1-unbundle_rtmidi.patch b/dev-python/python-rtmidi/files/python-rtmidi-1.5.1-unbundle_rtmidi.patch new file mode 100644 index 000000000000..1501a46738d4 --- /dev/null +++ b/dev-python/python-rtmidi/files/python-rtmidi-1.5.1-unbundle_rtmidi.patch @@ -0,0 +1,55 @@ +--- a/meson.build ++++ b/meson.build +@@ -11,6 +11,8 @@ + + cpp = meson.get_compiler('cpp') + ++rtmidi_dep = dependency('rtmidi') ++ + # Jack API (portable) + jack2_dep = dependency('jack', version: '>=1.9.11', required: false) + jack1_dep = dependency('jack', version: ['>=0.125.0', '<1.0'], required: false) +--- a/rtmidi/meson.build ++++ b/rtmidi/meson.build +@@ -1,7 +1,7 @@ + # https://mesonbuild.com/Python-module.html + + defines = [] +-dependencies = [python.dependency()] ++dependencies = [python.dependency(), rtmidi_dep] + link_args = [] + + if host_machine.system() == 'darwin' and coremidi_dep.found() and get_option('coremidi') +@@ -47,11 +47,10 @@ + # Build and install the extension module + module = python.extension_module( + '_rtmidi', +- [rtmidi_cython, rtmidi_sources], ++ [rtmidi_cython], + dependencies: dependencies, + cpp_args: defines, + link_args: link_args, +- include_directories: rtmidi_inc, + install: true, + subdir: 'rtmidi', + ) +--- a/src/meson.build ++++ b/src/meson.build +@@ -1,9 +1,5 @@ + fs = import('fs') + +-rtmidi_sources = files([ +- 'rtmidi/RtMidi.cpp', +-]) +-rtmidi_inc = include_directories('.', 'rtmidi') + rtmidi_mod_pyx = '_rtmidi.pyx' + rtmidi_mod_cpp = '_rtmidi.cpp' + +@@ -16,7 +12,6 @@ + 'rtmidi_cython', + output: rtmidi_mod_cpp, + input: rtmidi_mod_pyx, +- depend_files: [rtmidi_sources], + command: [cython, '-3', '--cplus', '-o', '@OUTPUT@', '@INPUT@'], + ) + else diff --git a/dev-python/python-rtmidi/python-rtmidi-1.5.1.ebuild b/dev-python/python-rtmidi/python-rtmidi-1.5.1.ebuild new file mode 100644 index 000000000000..1b60d97844f1 --- /dev/null +++ b/dev-python/python-rtmidi/python-rtmidi-1.5.1.ebuild @@ -0,0 +1,53 @@ +# 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_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="