diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-06-14 01:25:52 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-06-14 01:25:52 +0000 |
| commit | 26cb790d5c3144747fa0bf0ee13fc2c41728f304 (patch) | |
| tree | d2852118fef97393d499d0b23b3448859fccf405 /dev-python | |
| parent | 99052befc5d63ca8e995e3069081daa6fc256abe (diff) | |
| download | baldeagleos-repo-26cb790d5c3144747fa0bf0ee13fc2c41728f304.tar.gz baldeagleos-repo-26cb790d5c3144747fa0bf0ee13fc2c41728f304.tar.xz baldeagleos-repo-26cb790d5c3144747fa0bf0ee13fc2c41728f304.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
23 files changed, 380 insertions, 20 deletions
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/httplib2-1[${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}] + <dev-python/uritemplate-5[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/parameterized[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # require Internet access (and credentials) + tests/test_discovery.py::DiscoveryErrors::test_credentials_and_credentials_file_mutually_exclusive + tests/test_discovery.py::DiscoveryFromDocument::test_api_endpoint_override_from_client_options_mapping_object + ) + + epytest tests +} diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index 299a164153a0..5a67d92dd0a4 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -6,3 +6,4 @@ DIST hypothesis-6.75.9.gh.tar.gz 9372102 BLAKE2B 9588536fade56f4f87f54a0dfd7c911 DIST hypothesis-6.76.0.gh.tar.gz 9373576 BLAKE2B ed580296f163f9808597aa3a7b2ceaf1ea43431a9049ffdba229dc0f7886c8ee42829c45c98cc8ec0aae7d1f41f455f7ffd818beb1a956498ac4d676cd72b678 SHA512 2e46762a3bcc595c92eb57e65b2c7ef07062df1c393033efd2cb6b3c774ecbbe41f672e7b6c63ca0e8afb732c0f5308dddd6908bc2f43eab5c0713a6d688d5f4 DIST hypothesis-6.77.0.gh.tar.gz 9376438 BLAKE2B 2c80427a43481fbc837042c8481e56f1186fa9026c15902f489b1d26cda216f33df6da2025e37d8b37676047d7a8be1f0aea686ec0d2d18178d14e5e8f08f24c SHA512 17c1a0d1b00c0bd9a4373c5cafa7f58f4f6c85a85a107f4afff7064b52280a21210502c555291a580c81c1085f7c5fdd9db91391b29b2af6e476c83f4838fe1a DIST hypothesis-6.78.1.gh.tar.gz 9376599 BLAKE2B c0998212067e947af71f17aa5f76609ed71cf57cf4d71418329ec92ca663b202bc3c8d09936e147304744d81d01f9ba0ae5f5cf369fe04cbcb95c351a3a6cd06 SHA512 5491dfce1a8a25288aca345a6a6f8b88557b3dc2a08773ee2aa10d133d9b44b9bddb4d7584ac99046a006f3d9fb85713b6b38f5cc635ddc437c8fb4bbe58a866 +DIST hypothesis-6.78.2.gh.tar.gz 9376858 BLAKE2B 8bbc6e373a9dd67b47922c4ba9f938f90d154a945f7142d07304db11b5b4e4d53b21605e4f7be24fb413153a2edf9c54bec01409a72abfb8fb31b43c87836ede SHA512 65ea4396365a3f4f1740d61cbcdf0eb380f99c133d582b56ee3e557bcc4da0d329ac832b38dad64c5e5fb7afcace55a17cc22fbb15ea1751508488983a1d7cef diff --git a/dev-python/hypothesis/hypothesis-6.78.2.ebuild b/dev-python/hypothesis/hypothesis-6.78.2.ebuild new file mode 100644 index 000000000000..5adfa14c0a19 --- /dev/null +++ b/dev-python/hypothesis/hypothesis-6.78.2.ebuild @@ -0,0 +1,104 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +CLI_COMPAT=( python3_{10..11} ) +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) +PYTHON_REQ_USE="threads(+),sqlite" + +inherit distutils-r1 multiprocessing optfeature + +TAG=hypothesis-python-${PV} +MY_P=hypothesis-${TAG} +DESCRIPTION="A library for property based testing" +HOMEPAGE=" + https://github.com/HypothesisWorks/hypothesis/ + https://pypi.org/project/hypothesis/ +" +SRC_URI=" + https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/${MY_P}/hypothesis-python" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="cli" + +RDEPEND=" + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}] + ' 3.9 3.10) + cli? ( + $(python_gen_cond_dep ' + dev-python/black[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + ' "${CLI_COMPAT[@]}") + ) +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pexpect[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + !!<dev-python/requests-toolbelt-0.10.1 + ) +" + +distutils_enable_tests pytest + +python_test() { + # subtests are broken by warnings from random plugins + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=xdist.plugin,pytest_forked,_hypothesis_pytestplugin + + # NB: paths need to be relative to pytest.ini, + # i.e. start with hypothesis-python/ + local EPYTEST_IGNORE=() + local EPYTEST_DESELECT=( + # these tests can randomly fail with RecursionError when run + # in parallel + # https://github.com/HypothesisWorks/hypothesis/issues/3671 + hypothesis-python/tests/cover/test_lookup.py::test_resolving_mutually_recursive_types + hypothesis-python/tests/cover/test_lookup.py::test_resolving_mutually_recursive_types_with_defaults + ) + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + # failing due to warnings from numpy/cython + hypothesis-python/tests/pytest/test_fixtures.py::test_given_plus_overridden_fixture + ) + ;; + python3.12) + EPYTEST_DESELECT+=( + hypothesis-python/tests/cover/test_lookup.py + hypothesis-python/tests/cover/test_type_lookup.py + hypothesis-python/tests/cover/test_type_lookup_forward_ref.py + ) + ;; + esac + + epytest -o filterwarnings= -n "$(makeopts_jobs)" \ + tests/cover tests/pytest tests/quality +} + +python_install() { + distutils-r1_python_install + if ! use cli || ! has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then + rm -r "${ED}/usr/bin" "${D}$(python_get_scriptdir)" || die + fi +} + +pkg_postinst() { + optfeature "datetime support" dev-python/pytz + optfeature "dateutil support" dev-python/python-dateutil + optfeature "numpy support" dev-python/numpy + optfeature "django support" dev-python/django dev-python/pytz + optfeature "pandas support" dev-python/pandas + optfeature "pytest support" dev-python/pytest +} diff --git a/dev-python/jupyterlab-server/Manifest b/dev-python/jupyterlab-server/Manifest index 8710c881f514..9762d7cd5325 100644 --- a/dev-python/jupyterlab-server/Manifest +++ b/dev-python/jupyterlab-server/Manifest @@ -1,2 +1,3 @@ DIST jupyterlab_server-2.22.0.tar.gz 71374 BLAKE2B da27d6fb6d22db4aacd4c6c7a96ca748c5ba95d6b357fb45aa3383642b23bff7b61298eb01b8a80073080248e06fae35e04b1a7e4144018e84a6b548937ad0e6 SHA512 96484afe03a23f4aa6492b15e64b3f874b144af371d65c94693b708f9152e2762f98f0dea2b7464f8240740f4be56b2cd61a8869ef001521bbb4748dd0fc7005 DIST jupyterlab_server-2.22.1.tar.gz 71443 BLAKE2B 37273cb3251f358607936bb723e4c9b7d15aa9c6c0193d9cc14b5cf2ed07a5a50d8588b42c243193e3efb30cf0e000c6ea19f725e0f2c943eaf56d3b161dcbd9 SHA512 01d223b59ac906b4bfd5cc46db375abe67ffd518422625cae06e08266bee908dcf34b4544ff8f12aa45c9ac00a6473e164735423a9c55290f922a0e2d930eaa9 +DIST jupyterlab_server-2.23.0.tar.gz 71812 BLAKE2B 4d1cd379e9864f16a463f630b2b30aa18b88c9e71ea591d396b15834b08d567b3dbd0e6de637f975d230e17987f49eac3917ce2cf951dfd493ee75e612b3b46e SHA512 cb5ae1125487c79fa9d54201e0512fac9ff3f95022eafacd0bf46cb853bbeafe74eff767137ecb5559713cd8baf721f7fbc41869dde9ef28c480197a4158967a diff --git a/dev-python/jupyterlab-server/jupyterlab-server-2.23.0.ebuild b/dev-python/jupyterlab-server/jupyterlab-server-2.23.0.ebuild new file mode 100644 index 000000000000..bc3ecf75c93c --- /dev/null +++ b/dev-python/jupyterlab-server/jupyterlab-server-2.23.0.ebuild @@ -0,0 +1,69 @@ +# 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=hatchling + +inherit distutils-r1 pypi + +DESCRIPTION="Server components for JupyterLab and JupyterLab like applications" +HOMEPAGE=" + https://jupyter.org/ + https://github.com/jupyterlab/jupyterlab_server/ + https://pypi.org/project/jupyterlab-server/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/Babel-2.10[${PYTHON_USEDEP}] + >=dev-python/jinja-3.0.3[${PYTHON_USEDEP}] + >=dev-python/json5-0.9.0[${PYTHON_USEDEP}] + >=dev-python/jsonschema-3.0.1[${PYTHON_USEDEP}] + >=dev-python/packaging-21.3[${PYTHON_USEDEP}] + >=dev-python/requests-2.28[${PYTHON_USEDEP}] + >=dev-python/jupyter-server-1.21[${PYTHON_USEDEP}] + <dev-python/jupyter-server-3[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/importlib-metadata-4.8.3[${PYTHON_USEDEP}] + ' 3.9) +" + +BDEPEND=" + test? ( + dev-python/ipykernel[${PYTHON_USEDEP}] + dev-python/jupyter-server[${PYTHON_USEDEP}] + <dev-python/openapi-core-0.17[${PYTHON_USEDEP}] + >=dev-python/openapi-core-0.16.1[${PYTHON_USEDEP}] + <dev-python/openapi-spec-validator-0.6[${PYTHON_USEDEP}] + >=dev-python/openapi-spec-validator-0.5.1[${PYTHON_USEDEP}] + dev-python/pytest-jupyter[${PYTHON_USEDEP}] + dev-python/pytest-tornasync[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/ruamel-yaml[${PYTHON_USEDEP}] + dev-python/strict-rfc3339[${PYTHON_USEDEP}] + dev-python/requests-mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +# TODO: package autodoc_traits +#distutils_enable_sphinx docs/source dev-python/pydata-sphinx-theme dev-python/myst-parser + +python_test() { + local EPYTEST_IGNORE=( + tests/test_translation_api.py + ) + + EPYTEST_DESELECT=( + # Fails if terminal not available + tests/test_labapp.py::test_page_config + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p pytest_tornasync.plugin +} diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index e9da2ac43cac..a11d7c268c91 100644 --- a/dev-python/langdetect/Manifest +++ b/dev-python/langdetect/Manifest @@ -1,3 +1 @@ DIST langdetect-1.0.9.tar.gz 981474 BLAKE2B ea8a9c3f16a2987c080742473bff4f2c1503f53fb3c2b40b0b1d6212bb6133ea22dce7864ffcfb8968c3a46b157d45cb3e2cf6f84bdbed0266cc716a853b032c SHA512 7558d674c47b080c79e43a00a25d2c7f77188cf60bea2cecb3bebb803d75e1aa42b43c74bd26ea1b541f4cb927421908882cbec01a91f0913984217e71ccc8db -EBUILD langdetect-1.0.9.ebuild 493 BLAKE2B 0df8bce19bc80f79f8e76bcef5a4c2caf333365fe0cb9a3c076b7858bceded5a3e58921474f866a2709dd657b7ed330c1ec4a7f9d7bab0fcf1bc92d77cabc32d SHA512 ea2a1adcb133ac5fc951ba1aa90ef1ce3dfcc424e59727591763d4875aa044a74188be2d15fd89c6b2e83ed6ea04ec3d9851ed584ae79d2c2c127bde7d994b48 -MISC metadata.xml 457 BLAKE2B 630128a3e982b6d60cc7b9f74c79fcb5ee47a71a02c73a50af9da8cedb6fad8e20a7f74b881e5b25c6483b92c9edbd56552cd38b2d9cbfa8b3eb4530facea969 SHA512 674f4f5cd809c6c77bc14e0f5687fa972bef14bdfa0b3343c5d66b7163eef1906eb87d060c8288732f825de71dce291ad0b841a5f2f0dd230f957b5687e45d45 diff --git a/dev-python/langdetect/metadata.xml b/dev-python/langdetect/metadata.xml index 020e07f2a3dd..ddb5b0f1787e 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -2,11 +2,9 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>marcin.deranek@slonko.net</email> - <name>Marcin Deranek</name> + <email>cyber+gentoo@sysrq.in</email> + <name>Anna</name> </maintainer> - <upstream> - <bugs-to>https://github.com/Mimino666/langdetect/issues</bugs-to> - </upstream> - <origin>slonko-overlay</origin> + + <origin>gentoo-guru-overlay</origin> </pkgmetadata>
\ 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.ebuild b/dev-python/openapi-core/openapi-core-0.16.6-r1.ebuild index b318285ad080..b2d7c4e75561 100644 --- a/dev-python/openapi-core/openapi-core-0.16.6.ebuild +++ b/dev-python/openapi-core/openapi-core-0.16.6-r1.ebuild @@ -25,6 +25,7 @@ KEYWORDS="~amd64 ~x86" RDEPEND=" >=dev-python/pathable-0.4.0[${PYTHON_USEDEP}] dev-python/isodate[${PYTHON_USEDEP}] + <dev-python/jsonschema-spec-0.2[${PYTHON_USEDEP}] >=dev-python/jsonschema-spec-0.1.1[${PYTHON_USEDEP}] dev-python/more-itertools[${PYTHON_USEDEP}] dev-python/parse[${PYTHON_USEDEP}] 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="<dev-python/cython-2.99[${PYTHON_USEDEP}] + virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${PN}-1.5.1-build_backend.patch + "${FILESDIR}"/${PN}-1.5.1-unbundle_rtmidi.patch +) + +distutils_enable_sphinx docs +distutils_enable_tests unittest + +src_prepare() { + distutils-r1_src_prepare + + # Just in case + rm -r src/rtmidi || die + rm src/_rtmidi.cpp || die +} + +python_test() { + cd "${T}" || die + eunittest "${S}"/tests +} |
