summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/Manifest.gzbin274133 -> 273805 bytes
-rw-r--r--dev-python/datastructclass/Manifest3
-rw-r--r--dev-python/datastructclass/datastructclass-0.1.1.ebuild26
-rw-r--r--dev-python/datastructclass/metadata.xml12
-rw-r--r--dev-python/hidapi/Manifest2
-rw-r--r--dev-python/hidapi/hidapi-0.14.0_p3.ebuild43
-rw-r--r--dev-python/hypothesis/Manifest2
-rw-r--r--dev-python/hypothesis/hypothesis-6.122.7.ebuild104
-rw-r--r--dev-python/jaraco-path/Manifest2
-rw-r--r--dev-python/jaraco-path/jaraco-path-3.7.2.ebuild31
-rw-r--r--dev-python/mcbootflash/Manifest2
-rw-r--r--dev-python/mcbootflash/mcbootflash-10.0.0-r1.ebuild37
-rw-r--r--dev-python/numpy/Manifest2
-rw-r--r--dev-python/numpy/numpy-2.1.3.ebuild2
-rw-r--r--dev-python/pyside2-tools/Manifest4
-rw-r--r--dev-python/pyside2-tools/files/pyside2-tools-5.15.11-no-copy-uic.patch43
-rw-r--r--dev-python/pyside2-tools/metadata.xml12
-rw-r--r--dev-python/pyside2-tools/pyside2-tools-5.15.14.ebuild84
-rw-r--r--dev-python/pyside2/Manifest3
-rw-r--r--dev-python/pyside2/metadata.xml45
-rw-r--r--dev-python/pyside2/pyside2-5.15.14.ebuild229
-rw-r--r--dev-python/python-tests/Manifest4
-rw-r--r--dev-python/python-tests/python-tests-3.11.11_p1.ebuild2
-rw-r--r--dev-python/python-tests/python-tests-3.12.8.ebuild2
-rw-r--r--dev-python/shiboken2/Manifest3
-rw-r--r--dev-python/shiboken2/metadata.xml20
-rw-r--r--dev-python/shiboken2/shiboken2-5.15.14.ebuild173
-rw-r--r--dev-python/sphobjinv/Manifest2
-rw-r--r--dev-python/sphobjinv/sphobjinv-2.3.1.2.ebuild59
-rw-r--r--dev-python/types-setuptools/Manifest2
-rw-r--r--dev-python/types-setuptools/types-setuptools-75.6.0.20241223.ebuild16
-rw-r--r--dev-python/zenlib/Manifest2
-rw-r--r--dev-python/zenlib/zenlib-3.0.2.ebuild26
33 files changed, 332 insertions, 667 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz
index 556f82491282..b3e7d73d62b7 100644
--- a/dev-python/Manifest.gz
+++ b/dev-python/Manifest.gz
Binary files differ
diff --git a/dev-python/datastructclass/Manifest b/dev-python/datastructclass/Manifest
new file mode 100644
index 000000000000..04e5fa3ae13f
--- /dev/null
+++ b/dev-python/datastructclass/Manifest
@@ -0,0 +1,3 @@
+DIST datastructclass-0.1.1.tar.gz 6459 BLAKE2B c0bb77e5999f759647a2c885852cfe8e9dbc2c2f95d945a327feb91b32f072ba8aa87a29c61d7753287ad9c6a1d59288027ec5cd85cb00fcb7634ebf405d7299 SHA512 6d80dcfe17e792a421b538adbd356a5d5ce5e8d5bc854f9892494e9c13b3a7cd860536c701479a08471c7d49bb0926de4b75268e7d276eb49681713b4b6f79ac
+EBUILD datastructclass-0.1.1.ebuild 501 BLAKE2B 1c5ec5647f97d93d71ec8a8617744d0f8f699241c645eda1d673b9788bd66479128cb8ffbd45441f13044ce23d5183d952d001ef039d5124ebba33dd1f51cf88 SHA512 e1ba634f903993cde5c1e2627bf291cd3b8b8420c3e40f70b18da72604774a189efe1b4f40f7605585c51a1f425d9df09e6fd560c34460b24c660193301f61ed
+MISC metadata.xml 384 BLAKE2B 78b1c5cd7ec4507a33d52f0d5cdd1b72b9da5726b4964436816c0af937cfa538ae3d2f80c966f38d1711ec8b36b14edfd63acf681a66969134e81389ce70e6a4 SHA512 d82c229307d9e79b258042c0f8b640d735185a030f9edfb225b2d2195ebc45570e4c8d347c584fca743c66304e97c48d4aceb3fb5be39bb676bbdebebf559a76
diff --git a/dev-python/datastructclass/datastructclass-0.1.1.ebuild b/dev-python/datastructclass/datastructclass-0.1.1.ebuild
new file mode 100644
index 000000000000..7ff88f3b8e3b
--- /dev/null
+++ b/dev-python/datastructclass/datastructclass-0.1.1.ebuild
@@ -0,0 +1,26 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=flit
+PYTHON_COMPAT=( pypy3 python3_{10..13} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="A dataclass with struct-like semantics"
+HOMEPAGE="
+ https://github.com/bessman/datastructclass/
+ https://pypi.org/project/datastructclass/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+distutils_enable_tests pytest
+
+python_test() {
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest
+}
diff --git a/dev-python/datastructclass/metadata.xml b/dev-python/datastructclass/metadata.xml
new file mode 100644
index 000000000000..6d8c67a57421
--- /dev/null
+++ b/dev-python/datastructclass/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ </maintainer>
+ <stabilize-allarches/>
+ <upstream>
+ <remote-id type="github">bessman/datastructclass</remote-id>
+ <remote-id type="pypi">datastructclass</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/hidapi/Manifest b/dev-python/hidapi/Manifest
index 72a015131fa2..e778606a4e4a 100644
--- a/dev-python/hidapi/Manifest
+++ b/dev-python/hidapi/Manifest
@@ -1,5 +1,3 @@
-DIST hidapi-0.14.0.post3.tar.gz 172567 BLAKE2B 6bd08502bf8524e4050ef4cd113703b8cde8b414cbaace959f26189345521e06ef8bb2c0492a5582db97be25dca0e1ca2d93369aaa2db149b4f94cb4a990c426 SHA512 5e3a3c15fd58d9afc4b40d06c82e0aebf40a083e4331c68ee809ae26ee08710507e85f1e95311210ce4c0ba04e7f15cabd40a0a72b74b2b8000fabdf93e2883f
DIST hidapi-0.14.0.post4.tar.gz 174388 BLAKE2B 94032019f19d1d7f67a6fb2bde518694de5b3a3c94fad1e5dd090dbd98d630fba94a55ef55b1f28591f13eada6ce023b3b11648f0d7ec3e79e4e94cac4f05a3d SHA512 16e567a7390c3a7abd4e271ced41a4e01041d03c4e14168db92a62afa39e8992b078577c1b836b6728e683ac5a9621553bedf426fe15aa8ca3ccae06ce55d79d
-EBUILD hidapi-0.14.0_p3.ebuild 713 BLAKE2B 9824dea0aebecd617d699cb28e4f937cb64dceeb9850d800af45353a6693e4990893fd5cdf2876eb34fad27a75e0503da4e79724b5de5c13135c3f81f0b4e9a5 SHA512 7327f7c532fea8822540f74290b6ab974704cf7f0e94b489c2b42bdd9b09e540e0c10cf07343127cb15be1acef9589fad779eaca4378e897489d40f1a15348c4
EBUILD hidapi-0.14.0_p4.ebuild 713 BLAKE2B 9824dea0aebecd617d699cb28e4f937cb64dceeb9850d800af45353a6693e4990893fd5cdf2876eb34fad27a75e0503da4e79724b5de5c13135c3f81f0b4e9a5 SHA512 7327f7c532fea8822540f74290b6ab974704cf7f0e94b489c2b42bdd9b09e540e0c10cf07343127cb15be1acef9589fad779eaca4378e897489d40f1a15348c4
MISC metadata.xml 304 BLAKE2B 69f2abf7c43eda718abb98bdee59b648ca8562d77c2d8381ee7dc83e4b7d1d0f017dce9a291a783ba3891b54df905a49da3f74916158b9b72f6b6f12674b0b53 SHA512 d06b9d8c5b35cda24fb8fc01206e610d0fc78e723833817207c9c18e4b2d02df82cac832580ccd917c68be399d7115024f0b573acd8705d89306f88790cfdbc3
diff --git a/dev-python/hidapi/hidapi-0.14.0_p3.ebuild b/dev-python/hidapi/hidapi-0.14.0_p3.ebuild
deleted file mode 100644
index 5b71e5edf404..000000000000
--- a/dev-python/hidapi/hidapi-0.14.0_p3.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 2022-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_EXT=1
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..13} )
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="A Cython interface to HIDAPI library"
-HOMEPAGE="
- https://github.com/trezor/cython-hidapi/
- https://pypi.org/project/hidapi/
-"
-
-LICENSE="|| ( BSD GPL-3 )"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
-
-DEPEND="
- >=dev-libs/hidapi-$(ver_cut 1-3)
-"
-RDEPEND="
- ${DEPEND}
-"
-BDEPEND="
- dev-python/cython[${PYTHON_USEDEP}]
- virtual/pkgconfig
-"
-
-distutils_enable_tests pytest
-
-python_configure_all() {
- DISTUTILS_ARGS=(
- --with-system-hidapi
- )
-}
-
-python_test() {
- epytest tests.py
-}
diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest
index 7cff83f1db2c..ed420dac7408 100644
--- a/dev-python/hypothesis/Manifest
+++ b/dev-python/hypothesis/Manifest
@@ -4,10 +4,12 @@ DIST hypothesis-6.122.3.gh.tar.gz 9495681 BLAKE2B af743d0486d31590639216e60901eb
DIST hypothesis-6.122.4.gh.tar.gz 9495842 BLAKE2B 4a17e7096a1c86a13851af3d905839c53e0b8b15685a84bad9fbde5d74679e1153bcfe8dae6780bdaabcb3242990f4cd29d4eaf29f564eda4c09c01b4fdd5f98 SHA512 4828b35ca3c9a601303eb671e322d1c81afe079d0eb04d5518397310e5ee15a1e0bdc5c3fb252c34de8a5ad931992974a9bbe136ebebd10c26a52096febdda31
DIST hypothesis-6.122.5.gh.tar.gz 9499110 BLAKE2B 57de8290600ceadc408804d4ec5df7bc96977757dfb9039d894e39bef6c0a53fd3453ac86320353079c4835218557e5331a45894e5f61a60191c562c334827dc SHA512 67df638efaca6fccafba2305042a785c32ea532ac52336f55e38fe085351052386408399e0097572a9be546891212286228a12b48839892883284a4cee01ff33
DIST hypothesis-6.122.6.gh.tar.gz 9499547 BLAKE2B 2d111698688050f3ce0d9cfdc1bc5b900b4d347b3733edac483e8e1b0b915b158903d055955893041c80064a0878d6a2a7aaafcf3b9b00c4c232567b9709aeae SHA512 3aa0d6a8ac033b6145b6ba831663074002bd67a793e8fe157e76d2768b2048d9864b82179667f7cb732444f09a5b178490b6eecb34d4c0460a164968b33c9f88
+DIST hypothesis-6.122.7.gh.tar.gz 9503262 BLAKE2B d7b98f0df159c8e234d8d46d94f2803f9db21d9b36e029ae1e7ddd8403193a3bf0ddaf46087b7dd0cf003c3cf55cbecbac8431f140462b60d5eebe00d7b65a79 SHA512 c8625ba7252c750ee26f2db28f899e63b1bcfb7e5cecb8eb722fe75bb26cbed69e7e1e3616b27bae5336b68cd823ac658058e9fdb55a9df777c99b9f9c95354d
EBUILD hypothesis-6.119.4.ebuild 2538 BLAKE2B 3034e0f2da145057186985efade07d9aba4e5daff531b81bce6286e83d1cd24264757fb3edebf42e647c6c79e0862bc935a429227576b2e1e42f11174392d71f SHA512 570c570ce5eb99107969be3d0a9900ceb5d43168b33e47b9e9ef6c249b895a5006b220c356c28b41cc20632b2c7d74affd26303b5df40589875bbb1452b69bcd
EBUILD hypothesis-6.122.1.ebuild 2630 BLAKE2B 6f0903d9f3a4a67f16c4c492ab7dbbefa22675185c9236e889018360c9eea618e3705d3a44cf760d74f7aa17d50197788f4895e17c8d8bed56d1559eb05fb974 SHA512 1c52efd3ab43e01b4943d5f9b35960e224cb69091922e0df9a058f1b12dfb1199e67e261e489a6e7c90bc254e92bb38a55abca7fb73ae48e800e5206d45ec32d
EBUILD hypothesis-6.122.3.ebuild 2630 BLAKE2B 6f0903d9f3a4a67f16c4c492ab7dbbefa22675185c9236e889018360c9eea618e3705d3a44cf760d74f7aa17d50197788f4895e17c8d8bed56d1559eb05fb974 SHA512 1c52efd3ab43e01b4943d5f9b35960e224cb69091922e0df9a058f1b12dfb1199e67e261e489a6e7c90bc254e92bb38a55abca7fb73ae48e800e5206d45ec32d
EBUILD hypothesis-6.122.4.ebuild 2630 BLAKE2B 6f0903d9f3a4a67f16c4c492ab7dbbefa22675185c9236e889018360c9eea618e3705d3a44cf760d74f7aa17d50197788f4895e17c8d8bed56d1559eb05fb974 SHA512 1c52efd3ab43e01b4943d5f9b35960e224cb69091922e0df9a058f1b12dfb1199e67e261e489a6e7c90bc254e92bb38a55abca7fb73ae48e800e5206d45ec32d
EBUILD hypothesis-6.122.5.ebuild 2630 BLAKE2B 6f0903d9f3a4a67f16c4c492ab7dbbefa22675185c9236e889018360c9eea618e3705d3a44cf760d74f7aa17d50197788f4895e17c8d8bed56d1559eb05fb974 SHA512 1c52efd3ab43e01b4943d5f9b35960e224cb69091922e0df9a058f1b12dfb1199e67e261e489a6e7c90bc254e92bb38a55abca7fb73ae48e800e5206d45ec32d
EBUILD hypothesis-6.122.6.ebuild 2630 BLAKE2B 6f0903d9f3a4a67f16c4c492ab7dbbefa22675185c9236e889018360c9eea618e3705d3a44cf760d74f7aa17d50197788f4895e17c8d8bed56d1559eb05fb974 SHA512 1c52efd3ab43e01b4943d5f9b35960e224cb69091922e0df9a058f1b12dfb1199e67e261e489a6e7c90bc254e92bb38a55abca7fb73ae48e800e5206d45ec32d
+EBUILD hypothesis-6.122.7.ebuild 2630 BLAKE2B 6f0903d9f3a4a67f16c4c492ab7dbbefa22675185c9236e889018360c9eea618e3705d3a44cf760d74f7aa17d50197788f4895e17c8d8bed56d1559eb05fb974 SHA512 1c52efd3ab43e01b4943d5f9b35960e224cb69091922e0df9a058f1b12dfb1199e67e261e489a6e7c90bc254e92bb38a55abca7fb73ae48e800e5206d45ec32d
MISC metadata.xml 492 BLAKE2B c9e9bbd59af55d1f47e5b7a86933c02b47f832122d03eaca56bd3ec9476cf260d91d4fd2da5068845d4525b7cc9f702b515e8d6a0dffa7923f5898cfd44e12a1 SHA512 166b33d6ac887f52d54fb9d556102038c00650a597d2de1c3aad3f8b5e136e9b6b7db31f05f3379435e4c5f943156d5839d78fc95461af411037a3162ea6705e
diff --git a/dev-python/hypothesis/hypothesis-6.122.7.ebuild b/dev-python/hypothesis/hypothesis-6.122.7.ebuild
new file mode 100644
index 000000000000..dde5562c67da
--- /dev/null
+++ b/dev-python/hypothesis/hypothesis-6.122.7.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+CLI_COMPAT=( pypy3 python3_{10..13} )
+PYTHON_COMPAT=( "${CLI_COMPAT[@]}" )
+PYTHON_REQ_USE="threads(+),sqlite"
+
+inherit distutils-r1 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 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+IUSE="cli"
+
+RDEPEND="
+ >=dev-python/attrs-22.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/pexpect[${PYTHON_USEDEP}]
+ >=dev-python/pytest-8[${PYTHON_USEDEP}]
+ dev-python/pytest-rerunfailures[${PYTHON_USEDEP}]
+ dev-python/pytest-xdist[${PYTHON_USEDEP}]
+ )
+"
+
+EPYTEST_XDIST=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,_hypothesis_pytestplugin
+ local -x HYPOTHESIS_NO_PLUGINS=1
+
+ # NB: paths need to be relative to pytest.ini,
+ # i.e. start with hypothesis-python/
+ local EPYTEST_DESELECT=()
+ 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
+ )
+ ;;
+ esac
+
+ epytest -o filterwarnings= -p rerunfailures --reruns=5 \
+ tests/cover tests/pytest tests/quality
+}
+
+src_install() {
+ local HAD_CLI=
+
+ distutils-r1_src_install
+
+ if [[ ! ${HAD_CLI} ]]; then
+ rm -r "${ED}/usr/bin" || die
+ fi
+}
+
+python_install() {
+ distutils-r1_python_install
+ if use cli && has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then
+ HAD_CLI=1
+ else
+ rm -r "${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/jaraco-path/Manifest b/dev-python/jaraco-path/Manifest
index a89d440979f0..23eda978185d 100644
--- a/dev-python/jaraco-path/Manifest
+++ b/dev-python/jaraco-path/Manifest
@@ -1,3 +1,5 @@
DIST jaraco_path-3.7.1.tar.gz 11771 BLAKE2B 25ba1ff90514984be0885c0507ebe554372f4fa32aadda1a1bda8bde1781d60e81726fa899e863bf0d34ec49a79c57052b2b5b4035cd2655cdbb513df54da626 SHA512 aa002c649b4d0d4dbfc7bd3fe25b4ef71ca3c92d200029c282453002c75d3c642630b4ba4bfd0355a6311c72407fc874b3a092daa94ed99824f129119dd464d0
+DIST jaraco_path-3.7.2.tar.gz 12360 BLAKE2B 0e0a70e0af49db7e4ce9b54825beb057214277dd57e62c48f0ff2388ff2d489fe82d8773f7544464a64f0e83a9b95c8f794a91de2e6000360f0ebfee2693b03d SHA512 7869308504601368ef94c414e4d0c19d6115dccbb0d50b5287a15d3d31948c93ccfd01db71c95d534f670fdf61b2e2c00deb873ee1e81b7f6bc1bdf0d3a1f9a9
EBUILD jaraco-path-3.7.1.ebuild 616 BLAKE2B db353c5e9cb29d1fed78b1159e27d8ed8ae1948d5019f2ae00d13863e588d219f66c6e71b584a4e28945bc3dfa057a32c9b0a8cc8cda9afe4cebfcfb683683dd SHA512 50dd4db750156a5fa47a877394d05b40fe91b637ffbb31cb378db1bf67a4d1cb1829605783f521e5bb2795faaeb314372a7953c3067763df945128947bd9c381
+EBUILD jaraco-path-3.7.2.ebuild 667 BLAKE2B 46e5fe6ed06593bfbbbad63f60a444aa9398971675ecf1eb2180856a5895035cd9b3de27f75d40c94431c263f4486efd43dd368de1f8e9ca72662939d4900e35 SHA512 a49655a003ef9ade8de36a8750d315e843880233b2e60113ffd8ece5f1dc1b8902215bab16e128c4d396871a0816c335bc7c95b375c07e7c2633a3417866db1d
MISC metadata.xml 397 BLAKE2B 899056eaa6d393d9c624e20ff93a644bd93f39505f701a085f22d4216154a3c1b19bb879bcbe45f077fba7d91ad5e34617283b10f535305b322c580712df10fc SHA512 104c1a8d8a2613ed4355b6537ce0733b36e915d98ad69204d2a7763dd6e7bbdf74c2cc2e66f34000426e04e79f19a84ca1d8a57e504c62adaa4386f372d34dda
diff --git a/dev-python/jaraco-path/jaraco-path-3.7.2.ebuild b/dev-python/jaraco-path/jaraco-path-3.7.2.ebuild
new file mode 100644
index 000000000000..97281217d16a
--- /dev/null
+++ b/dev-python/jaraco-path/jaraco-path-3.7.2.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_PN=${PN/-/.}
+PYTHON_COMPAT=( python3_{10..13} pypy3 )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Miscellaneous path functions"
+HOMEPAGE="
+ https://github.com/jaraco/jaraco.path/
+ https://pypi.org/project/jaraco.path/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
+
+BDEPEND="
+ dev-python/setuptools-scm[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest tests
+}
diff --git a/dev-python/mcbootflash/Manifest b/dev-python/mcbootflash/Manifest
index ee72b55208fa..214d2c627b6c 100644
--- a/dev-python/mcbootflash/Manifest
+++ b/dev-python/mcbootflash/Manifest
@@ -1,4 +1,6 @@
+DIST mcbootflash-10.0.0.tar.gz 43202 BLAKE2B 78ddf1a0711a5147ecc55abbbeb2a220d41981ef547e609b0360ac2966f21826d7e0a11d324f82476af97501412dcfd7a72f4c593810f94c83d43d993588dc89 SHA512 5dd765af0dfb106e009f06d677cc892a53cd66611194cf4a990358d7060f3e13919132fdba8d91c5ed7523b0e25eb62553576e875e8976fc0890a148a7abe9b7
DIST mcbootflash-9.0.1.tar.gz 26858 BLAKE2B d8d8486a8713d46f7b93443dcfd9cbd9a93452fa7c8e76aeba1f4bfbf52765fbe3807fe8206b994015c094f9fba1626d5a3bb2fa93bd6b6400a9cbaaee7c19a9 SHA512 0c001a0a2c10e9d4bf111136d08ec89c4bc62568934ef9d8b75d7c58d59f451f5459ccc387c72424e8d16c5e49e7bba903efce403f41923ca33d87c2290a84e9
DIST test_mcbootflash.jsonl 9259 BLAKE2B d05287760b3dc82ccf720a140390e027758a4e1e79d72364aed741937298d872127f11db8d5a4c07a93cb72f091ab89bd606062446f9108359205ec75c92321f SHA512 b9f5ea649a8cff9ea576b96e22bb352c61f8cd1f3e7ca0a7a0ae84a2c03fa07b1ecc7a3d8a83de868e4f946ef9fb22a5fc757038be4c5ba2398c483c67bbd9ca
+EBUILD mcbootflash-10.0.0-r1.ebuild 754 BLAKE2B 9b7b5e2948180f2292aef9c5f4453c5eccba397b3170b598c2780512b4aac7a26f4c62db83961c4fc7a3424bd0c7ffb8c8e189b5017f27f8caf5497e75446b0e SHA512 a19a12908c0e9083a5b5675616664d81f898b39222aaf93f359aa87a385bec59e279ae3a98f10aed05cc7031404c0ace211a298c363a40d5f6b579f464cd8cb1
EBUILD mcbootflash-9.0.1.ebuild 972 BLAKE2B 4be21d99401cf8b66b6569aff14d24491bbfce5cfaa91827f8e17fd58683a3dc10fbe41de92e6a88a57557296b6a53e986dd0b3007677069c6fb1450c1a90273 SHA512 7b93eee7e0cf0f698feaaa5bc842c77a62d058e82c2e50a411ecd2fe88971ad9a23dfa144a7bb606923593a8e063be5e150d11f27398c61b4f98764a352ebc6a
MISC metadata.xml 398 BLAKE2B 610e64de53c1a75cff329c03b0d68737fb1fd66e23459e387b828abd9b29b6704af5c5f9bf3f8139fd72300396f1ba542653ae3d21d19f040956a882c0e07986 SHA512 43208f223ea653d7603275c7ac43c8b60c140df9906c8ebb8d404b557e0496dcb51dad6c84d7af8c18cc5cc298caf834231ff0aada3591305be154f8a1cc2d88
diff --git a/dev-python/mcbootflash/mcbootflash-10.0.0-r1.ebuild b/dev-python/mcbootflash/mcbootflash-10.0.0-r1.ebuild
new file mode 100644
index 000000000000..18cf8d46b0dc
--- /dev/null
+++ b/dev-python/mcbootflash/mcbootflash-10.0.0-r1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=flit
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Flash firmware to devices running Microchip's 16-bit bootloader"
+HOMEPAGE="
+ https://pypi.org/project/mcbootflash/
+ https://github.com/bessman/mcbootflash/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ >=dev-python/bincopy-20.0.0[${PYTHON_USEDEP}]
+ dev-python/datastructclass[${PYTHON_USEDEP}]
+ dev-python/pyserial[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/pytest-reserial[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest -p reserial --replay
+}
diff --git a/dev-python/numpy/Manifest b/dev-python/numpy/Manifest
index aa18ab70139f..893a7bddd70d 100644
--- a/dev-python/numpy/Manifest
+++ b/dev-python/numpy/Manifest
@@ -6,7 +6,7 @@ DIST numpy-2.2.0.tar.gz 20225497 BLAKE2B 87450bbe52085edd55cd99303bbb7d71b44bf14
DIST numpy-2.2.1.tar.gz 20227662 BLAKE2B 2b963af971b0fff6ea5802aa6e4b7ed33fcb885aec40b529cd97de9b5887697cd3cd857ffdedcce7f9b9d077ed388947683bc0b3f8fa7ef724acf382378da2c5 SHA512 15876635bd2b26a0f511472c447ff95102f3016eea02e5117d7f5a1ae4782cd656c10706e8b2e00adee0920a7673f216056fb842700d634fbb5630b672f26ddf
EBUILD numpy-1.26.4.ebuild 5160 BLAKE2B 52a7676802baa6c09d2c61445253434394b20cd7c12e7c2d17ceab3f391e15c9e40ee3e1c0e37ee7fc300840910d79f070104aa99169040eb21cec6678ce5ac7 SHA512 daa4452207419e0fa283844a6c7fffb58b508db0be25a09087ea36dd8de476ca0c0b3b2dee16f47738a7e00e17a5efb288b64e558d649da71d3a47dbca7d8443
EBUILD numpy-2.0.2-r1.ebuild 5981 BLAKE2B 5adc5fa3b06c8e00cd79304b874d659ad00effcbff7062531ce4d4a6779b37ad2d7bf5b6eb6d7730d5ab6fa607cf79adac8ea9467a131aaad2ba210bd76d0e11 SHA512 088cd7cd334601dd1f8a0fc3c08d40c4a0ec1a539e00c7d8c99a9f0a6aa24b44f721499af3052ace1bd46d2c62b0d0238b5046a9a769bec9317b6d8e20d347d5
-EBUILD numpy-2.1.3.ebuild 6247 BLAKE2B 45708bdd07aa8ce0794a99e553b02a80e174d56a1f472081ec98cf44f4dc5b6c5db4da0c37f3b9a5c7180ce1d851ae3b407a9b894bec144053b77bd8c65bb7da SHA512 4b849c19f62b0305f76a7409ff8510052afe91c07afc5a709303d7758ff3fe8afeb16b006d1b6b4a5c3c38a5b04b60db0b06efdc6e02f62b0799738cf5da2744
+EBUILD numpy-2.1.3.ebuild 6246 BLAKE2B 0d1a013f45e3d444df736b81f3869a174f30752005e97cebfaadd9a8fd5f968d5fb76b107f884d2492114ddd46a3ed28c6329ccaef6100ba0eea8779e4c97fba SHA512 254d3bc757cd6811ba75f84f02258361af6e11f341a3ecb445cb943f39d04caf5ccc1054a44afa69e48fa9174749e2245594fe411bcf196a5b84dca6e61a7459
EBUILD numpy-2.2.0.ebuild 5875 BLAKE2B 1731e1caeda8c15012e9f31dd4c05a5094d6917c04e48f9eec7b6050857f14876461ff12e283b9329466a6578cc294bf063e00e8c86f070f7732d96d2717ec30 SHA512 a7dc285d05435b4a59ac6475065c589c3b9a98bee3dc9708a497988250eecaa7a5744bbec8a3566054483d467739f7e0ff188fbdfedf904444d6dd3ab5da31a0
EBUILD numpy-2.2.1.ebuild 5806 BLAKE2B 30de54c69d88fcb273264b2ec26580590d48aa2b82348c6eaba8ba287ab6c620058ef4d91b48456433df85eabc9976a03950f6cb3264e4fedf6f1bfdcef30864 SHA512 abce938004672826d7b5f8cbf3c737e36454cfcd7abd9de66cda053dd742060a2c3fce88689363a6c918e72e6abf8f64e4f3c6633d6b3520aa1e992b6696f942
MISC metadata.xml 932 BLAKE2B 7a4af31f613bab05ff542da48bf6ff1484d9df2459f559516e71329451dd739d3df0fead507c8033d94ab9ed516b68efe7f21819a8cd6ca303643d8c8bc34e86 SHA512 32cb8c1ab61521a02cbec38f6ea383f074e50d46aa3462ddcb85710f9d348e8e628cf2a5725e3cd921cc32f02885a1b5f02125639f0ec885384eeeff7f468a06
diff --git a/dev-python/numpy/numpy-2.1.3.ebuild b/dev-python/numpy/numpy-2.1.3.ebuild
index 990b9115dc00..5b1a2bc50373 100644
--- a/dev-python/numpy/numpy-2.1.3.ebuild
+++ b/dev-python/numpy/numpy-2.1.3.ebuild
@@ -20,7 +20,7 @@ HOMEPAGE="
LICENSE="BSD"
SLOT="0/2"
-KEYWORDS="~alpha amd64 ~arm arm64 hppa ~loong ~m68k ~mips ppc ~ppc64 ~riscv ~s390 sparc x86"
+KEYWORDS="~alpha amd64 ~arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
# +lapack because the internal fallbacks are pretty slow. Building without blas
# is barely supported anyway, see bug #914358.
IUSE="big-endian +lapack"
diff --git a/dev-python/pyside2-tools/Manifest b/dev-python/pyside2-tools/Manifest
deleted file mode 100644
index e4a01b227854..000000000000
--- a/dev-python/pyside2-tools/Manifest
+++ /dev/null
@@ -1,4 +0,0 @@
-AUX pyside2-tools-5.15.11-no-copy-uic.patch 1343 BLAKE2B dbabe4c0a46b0f3ccb160df34626258154efaa69554507b87e0cebe638c93b9abc6d3cf6d72f0c90833d21646e9b44a2ea0bbebeb2f11f92a748adf4f9663277 SHA512 4dbc2bbca3c16aafeeba8d2384d15dd28d7f8611027850293f165af37f9cf0ba17b1617cee06125c2e37edb011ecdeb00feb84edb8cf6c901b9e32b6d9cba639
-DIST pyside-setup-opensource-src-5.15.14.tar.xz 3586520 BLAKE2B ef103cf3116af2c1378018d44abf3766fed6ba545d0e5f3ea6f720047a884edc1eac2dbfce4ddd806472f2ac6355166fd0cef5427f1f85e73306544306adf003 SHA512 c6ca15cc3a3051c00519d9ccb64d48977f8e5587938f97205fe96511ec7bca1a67308325bc1d61712475514c2a1b351fbac2c84f5cee923f55eb91869f49acd5
-EBUILD pyside2-tools-5.15.14.ebuild 1897 BLAKE2B e8d24cd8f53c896f563ac51c34e41c4d1806cb6ceca15cdc6c165952d7edaeb265993400d3c46d81bf576e0befa5077bd3a7044438b9d7ac1e4e7a2bf7226fc0 SHA512 5db39e9aa2346296785980bad60c35d9663a6691bd65dc52b1632bed86a628bc756bf320ce3c3be6e5aa15ebc7e04a4fe4e81b4885919ff42b8579fa422350a2
-MISC metadata.xml 389 BLAKE2B ba279cd85bfca166a132951e6bd74445261767f136c83d80815b88081eb193b0a85992b5d96e2ca1e7aa84a92492ed52dd4596b91a1c38d2bcdfb4e5ed307b02 SHA512 310d8a0c7234b57129f95111bf9835852f28f195f04543cac10f1674d66b741a9928ab286b9d1c78eec4fe161bae476ae65dc4dbfff0a5f8ef0de478ca2d59cf
diff --git a/dev-python/pyside2-tools/files/pyside2-tools-5.15.11-no-copy-uic.patch b/dev-python/pyside2-tools/files/pyside2-tools-5.15.11-no-copy-uic.patch
deleted file mode 100644
index 90bc53c90d89..000000000000
--- a/dev-python/pyside2-tools/files/pyside2-tools-5.15.11-no-copy-uic.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 20a5e19..575c1df 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -55,38 +55,6 @@ else()
- set(DESIGNER_PATH "${TOOLS_PATH}/designer${EXE_EXT}")
- endif()
-
--install(FILES "${UIC_PATH}"
-- DESTINATION bin
-- PERMISSIONS
-- OWNER_EXECUTE OWNER_WRITE OWNER_READ
-- GROUP_EXECUTE GROUP_READ
-- WORLD_EXECUTE WORLD_READ)
--
--install(FILES "${RCC_PATH}"
-- DESTINATION bin
-- PERMISSIONS
-- OWNER_EXECUTE OWNER_WRITE OWNER_READ
-- GROUP_EXECUTE GROUP_READ
-- WORLD_EXECUTE WORLD_READ)
--
--if (EXISTS ${DESIGNER_PATH})
-- if (APPLE)
-- install(DIRECTORY "${DESIGNER_PATH}"
-- DESTINATION bin
-- FILE_PERMISSIONS
-- OWNER_EXECUTE OWNER_WRITE OWNER_READ
-- GROUP_EXECUTE GROUP_READ
-- WORLD_EXECUTE WORLD_READ)
-- else()
-- install(FILES "${DESIGNER_PATH}"
-- DESTINATION bin
-- PERMISSIONS
-- OWNER_EXECUTE OWNER_WRITE OWNER_READ
-- GROUP_EXECUTE GROUP_READ
-- WORLD_EXECUTE WORLD_READ)
-- endif()
--endif()
--
- configure_file("${CMAKE_CURRENT_SOURCE_DIR}/cmake_uninstall.cmake"
- "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
- IMMEDIATE @ONLY)
diff --git a/dev-python/pyside2-tools/metadata.xml b/dev-python/pyside2-tools/metadata.xml
deleted file mode 100644
index 6e768b04a3f8..000000000000
--- a/dev-python/pyside2-tools/metadata.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person" proxied="proxy">
- <email>nowa@gentoo.org</email>
- <name>Nowa Ammerlaan</name>
- </maintainer>
- <maintainer type="person" proxied="yes">
- <email>waebbl-gentoo@posteo.net</email>
- <name>Bernd Waibel</name>
- </maintainer>
-</pkgmetadata>
diff --git a/dev-python/pyside2-tools/pyside2-tools-5.15.14.ebuild b/dev-python/pyside2-tools/pyside2-tools-5.15.14.ebuild
deleted file mode 100644
index cdfa9ad5c841..000000000000
--- a/dev-python/pyside2-tools/pyside2-tools-5.15.14.ebuild
+++ /dev/null
@@ -1,84 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# TODO: Add PyPy once officially supported. See also:
-# https://bugreports.qt.io/browse/PYSIDE-535
-PYTHON_COMPAT=( python3_{10..11} )
-
-LLVM_COMPAT=( 15 )
-
-inherit cmake llvm-r1 python-r1
-
-MY_P=pyside-setup-opensource-src-${PV}
-
-DESCRIPTION="PySide development tools (pyside2-lupdate with support for Python)"
-HOMEPAGE="https://wiki.qt.io/PySide2"
-SRC_URI="https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-${PV}-src/${MY_P}.tar.xz"
-S="${WORKDIR}/${MY_P}/sources/${PN}"
-
-LICENSE="GPL-2"
-SLOT="5/${PV}"
-KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-# Minimal supported version of Qt.
-QT_PV="$(ver_cut 1-3)*:5"
-
-RDEPEND="${PYTHON_DEPS}
- =dev-python/shiboken2-${QT_PV}[${PYTHON_USEDEP},${LLVM_USEDEP}]
- =dev-python/pyside2-${QT_PV}[${PYTHON_USEDEP},${LLVM_USEDEP}]
- !dev-python/pyside2-tools:0
-"
-DEPEND="${RDEPEND}
- $(llvm_gen_dep '
- llvm-core/clang:${LLVM_SLOT}
- llvm-core/llvm:${LLVM_SLOT}
- ')
-"
-
-# the tools conflict with tools from QT
-PATCHES=(
- "${FILESDIR}/${PN}-5.15.11-no-copy-uic.patch"
-)
-
-src_prepare() {
- cmake_src_prepare
-
- python_copy_sources
-}
-
-src_configure() {
- pyside-tools_configure() {
- local mycmakeargs=(
- -DBUILD_TESTS=OFF
- -DPYTHON_CONFIG_SUFFIX="-${EPYTHON}"
- )
- cmake_src_configure
- }
-
- python_foreach_impl pyside-tools_configure
-}
-
-src_compile() {
- pyside-tools_compile() {
- cmake_src_compile
- }
-
- python_foreach_impl pyside-tools_compile
-}
-
-src_install() {
- pyside-tools_install() {
- # This replicates the contents of the PySide6 pypi wheel
- DESTDIR="${BUILD_DIR}" cmake_build install
- dobin "${BUILD_DIR}/usr/bin/pyside2-lupdate"
- python_moduleinto PySide2/scripts
- python_domodule "${BUILD_DIR}/usr/bin/pyside_tool.py"
- }
-
- python_foreach_impl pyside-tools_install
-
- einstalldocs
-}
diff --git a/dev-python/pyside2/Manifest b/dev-python/pyside2/Manifest
deleted file mode 100644
index c2da736e024d..000000000000
--- a/dev-python/pyside2/Manifest
+++ /dev/null
@@ -1,3 +0,0 @@
-DIST pyside-setup-opensource-src-5.15.14.tar.xz 3586520 BLAKE2B ef103cf3116af2c1378018d44abf3766fed6ba545d0e5f3ea6f720047a884edc1eac2dbfce4ddd806472f2ac6355166fd0cef5427f1f85e73306544306adf003 SHA512 c6ca15cc3a3051c00519d9ccb64d48977f8e5587938f97205fe96511ec7bca1a67308325bc1d61712475514c2a1b351fbac2c84f5cee923f55eb91869f49acd5
-EBUILD pyside2-5.15.14.ebuild 9214 BLAKE2B f77eb625c7cbb6d989b60810638964ec79d6a1948f89e0a47d714b4a723ed3d8dcf23e266416156a982a5f4b1013c49ade8ca1b79735bfc49e8d0438c428b9bd SHA512 ea6104beb4fc8445a9d14620f987824423622df061c9cd1755c20ce579385e626c19c2e69055917475b3482dca3cba0c3def9411a0abe71373bcb7aa094aaf45
-MISC metadata.xml 2130 BLAKE2B cda16d812a73738bec3bfd71f57ada390045b8e1c9990877cf6cfacaceeb0203bb2680e4dbd2cb18ead63f42dc026179e72feb9e9c07e8e84c71d45e96439f46 SHA512 0c1cb822cc9df0bf04a88deefe4f8e9ee45edc6410fde09f9f846d6e3c138ca69a99605c7beece64cc02fbfe9fa99c00f7a4343e456d05ef4dd1c0451d614a54
diff --git a/dev-python/pyside2/metadata.xml b/dev-python/pyside2/metadata.xml
deleted file mode 100644
index 28d45a151723..000000000000
--- a/dev-python/pyside2/metadata.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person" proxied="proxy">
- <email>nowa@gentoo.org</email>
- <name>Nowa Ammerlaan</name>
- </maintainer>
- <maintainer type="person" proxied="yes">
- <email>waebbl-gentoo@posteo.net</email>
- <name>Bernd Waibel</name>
- </maintainer>
- <use>
- <flag name="3d">Build Qt3DCore, Qt3DAnimation, Qt3DExtras, Qt3DInput, Qt3DLogic, and Qt3DRender modules</flag>
- <flag name="charts">Build QtCharts module</flag>
- <flag name="concurrent">Build QtConcurrent module</flag>
- <flag name="datavis">Build QtDataVisualization module</flag>
- <flag name="designer">Build QtDesigner and QtUiTools modules</flag>
- <flag name="gles2-only">Build QtGui "QOpenGL*" classes</flag>
- <flag name="gui">Build QtGui module</flag>
- <flag name="help">Build QtHelp module</flag>
- <flag name="location">Build QtLocation module</flag>
- <flag name="multimedia">Build QtMultimedia and QtMultimediaWidgets modules</flag>
- <flag name="network">Build QtNetwork module</flag>
- <flag name="positioning">Build QtPositioning module</flag>
- <flag name="printsupport">Build QtPrintSupport module</flag>
- <flag name="qml">Build QtQml module</flag>
- <flag name="quick">Build QtQuick and QtQuickWidgets modules</flag>
- <flag name="scxml">Build QtScxml module</flag>
- <flag name="sensors">Build QtSensors module</flag>
- <flag name="speech">Build QtTextToSpeech module</flag>
- <flag name="sql">Build QtSql module</flag>
- <flag name="svg">Build QtSvg module</flag>
- <flag name="testlib">Build QtTest module</flag>
- <flag name="webchannel">Build QtWebChannel module</flag>
- <flag name="webengine">Build QtWebEngine and QtWebEngineWidgets modules</flag>
- <flag name="websockets">Build QtWebSockets module</flag>
- <flag name="widgets">Build QtWidgets module</flag>
- <flag name="x11extras">Build QtX11Extras module</flag>
- <flag name="xml">Build QtXml module</flag>
- <flag name="xmlpatterns">Build QtXmlPatterns module</flag>
- </use>
- <upstream>
- <remote-id type="pypi">PySide2</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/dev-python/pyside2/pyside2-5.15.14.ebuild b/dev-python/pyside2/pyside2-5.15.14.ebuild
deleted file mode 100644
index 03b2396d611b..000000000000
--- a/dev-python/pyside2/pyside2-5.15.14.ebuild
+++ /dev/null
@@ -1,229 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# TODO: Add PyPy once officially supported. See also:
-# https://bugreports.qt.io/browse/PYSIDE-535
-PYTHON_COMPAT=( python3_{10..11} )
-
-LLVM_COMPAT=( 15 )
-
-inherit cmake llvm-r1 python-r1 virtualx
-
-# TODO: Add conditional support for "QtRemoteObjects" via a new "remoteobjects"
-# USE flag after an external "dev-qt/qtremoteobjects" package has been created.
-# TODO: Add conditional support for apidoc generation via a new "doc" USE flag.
-# Note that doing so requires the Qt source tree, sphinx, and graphviz. Once
-# ready, pass the ${QT_SRC_DIR} variable to cmake to enable this support.
-# TODO: Disable GLES support if the "gles2-only" USE flag is disabled. Note
-# that the "PySide2/QtGui/CMakeLists.txt" and
-# "PySide2/QtOpenGLFunctions/CMakeLists.txt" files test for GLES support by
-# testing whether the "Qt5::Gui" list property defined by
-# "/usr/lib64/cmake/Qt5Gui/Qt5GuiConfig.cmake" at "dev-qt/qtgui" installation
-# time contains the substring "opengles2". Since cmake does not permit
-# properties to be overridden from the command line, these files must instead
-# be conditionally patched to avoid these tests. An issue should be filed with
-# upstream requesting a CLI-settable variable to control this.
-
-MY_P=pyside-setup-opensource-src-${PV}
-
-DESCRIPTION="Python bindings for the Qt framework"
-HOMEPAGE="https://wiki.qt.io/PySide2"
-SRC_URI="https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-${PV}-src/${MY_P}.tar.xz"
-S="${WORKDIR}/${MY_P}/sources/pyside2"
-
-# See "sources/pyside2/PySide2/licensecomment.txt" for licensing details.
-# Shall we allow essential modules to be disabled? They are:
-# (core), gui, widgets, printsupport, sql, network, testlib, concurrent,
-# x11extras (for X)
-LICENSE="|| ( GPL-2 GPL-3+ LGPL-3 )"
-SLOT="5/${PV}"
-KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86"
-IUSE="
- 3d charts +concurrent datavis designer gles2-only +gui help location
- multimedia +network positioning +printsupport qml quick
- scxml sensors speech +sql svg test +testlib webchannel webengine websockets
- +widgets +x11extras xml xmlpatterns
-"
-
-# Manually reextract these requirements on version bumps by running the
-# following one-liners from within "${S}":
-# $ grep 'set.*_deps' PySide2/Qt*/CMakeLists.txt
-# $ cat /lib64/cmake/Qt5*/Qt5*.cmake | grep -i DEPENDENCIES
-# Note that the "designer" USE flag corresponds to the "Qt5UiTools" module.
-REQUIRED_USE="${PYTHON_REQUIRED_USE}
- 3d? ( gui network )
- charts? ( gui widgets )
- datavis? ( gui )
- designer? ( gui widgets xml )
- gles2-only? ( gui )
- help? ( gui sql widgets )
- location? ( gui network positioning quick )
- multimedia? ( gui network widgets )
- printsupport? ( gui widgets )
- qml? ( gui network )
- quick? ( gui network qml widgets network )
- speech? ( multimedia )
- sql? ( widgets )
- svg? ( widgets )
- testlib? ( widgets )
- webchannel? ( qml )
- webengine? (
- gui network positioning quick qml
- widgets? ( printsupport network webchannel )
- )
- websockets? ( network )
- widgets? ( gui )
- x11extras? ( gui )
-"
-
-# Tests fail pretty bad and I'm not fixing them right now
-RESTRICT="test"
-
-# Minimal supported version of Qt.
-QT_PV="$(ver_cut 1-3)*:5"
-
-RDEPEND="${PYTHON_DEPS}
- =dev-python/shiboken2-${QT_PV}[${PYTHON_USEDEP},${LLVM_USEDEP}]
- =dev-qt/qtcore-${QT_PV}
- =dev-qt/qtopengl-${QT_PV}[gles2-only=]
- =dev-qt/qtserialport-${QT_PV}
- 3d? ( =dev-qt/qt3d-${QT_PV}[qml?,gles2-only=] )
- charts? ( =dev-qt/qtcharts-${QT_PV}[qml?] )
- concurrent? ( =dev-qt/qtconcurrent-${QT_PV} )
- datavis? ( =dev-qt/qtdatavis3d-${QT_PV}[qml?,gles2-only=] )
- designer? ( =dev-qt/designer-${QT_PV} )
- gui? ( =dev-qt/qtgui-${QT_PV}[jpeg,gles2-only=] )
- help? ( =dev-qt/qthelp-${QT_PV} )
- location? ( =dev-qt/qtlocation-${QT_PV} )
- multimedia? ( =dev-qt/qtmultimedia-${QT_PV}[qml?,gles2-only=,widgets?] )
- network? ( =dev-qt/qtnetwork-${QT_PV} )
- positioning? ( =dev-qt/qtpositioning-${QT_PV}[qml?] )
- printsupport? ( =dev-qt/qtprintsupport-${QT_PV}[gles2-only=] )
- qml? ( =dev-qt/qtdeclarative-${QT_PV}[widgets?] )
- quick? (
- =dev-qt/qtdeclarative-${QT_PV}[widgets?]
- =dev-qt/qtquickcontrols2-${QT_PV}[widgets?]
- )
- scxml? ( =dev-qt/qtscxml-${QT_PV} )
- sensors? ( =dev-qt/qtsensors-${QT_PV}[qml?] )
- speech? ( =dev-qt/qtspeech-${QT_PV} )
- sql? ( =dev-qt/qtsql-${QT_PV} )
- svg? ( =dev-qt/qtsvg-${QT_PV} )
- testlib? ( =dev-qt/qttest-${QT_PV} )
- webchannel? ( =dev-qt/qtwebchannel-${QT_PV}[qml] )
- webengine? ( || (
- =dev-qt/qtwebengine-${QT_PV}[alsa,widgets?]
- =dev-qt/qtwebengine-${QT_PV}[pulseaudio,widgets?]
- )
- )
- websockets? ( =dev-qt/qtwebsockets-${QT_PV}[qml?] )
- widgets? ( =dev-qt/qtwidgets-${QT_PV}[gles2-only=] )
- x11extras? ( =dev-qt/qtx11extras-${QT_PV} )
- xml? ( =dev-qt/qtxml-${QT_PV} )
- xmlpatterns? ( =dev-qt/qtxmlpatterns-${QT_PV}[qml?] )
- !dev-python/pyside2:0
-"
-DEPEND="${RDEPEND}
- $(llvm_gen_dep '
- llvm-core/clang:${LLVM_SLOT}
- llvm-core/llvm:${LLVM_SLOT}
- ')
- test? ( x11-misc/xvfb-run )
-"
-
-src_configure() {
- # See COLLECT_MODULE_IF_FOUND macros in CMakeLists.txt
- local mycmakeargs=(
- -DBUILD_TESTS=$(usex test)
- -DCMAKE_DISABLE_FIND_PACKAGE_Qt53DAnimation=$(usex !3d)
- -DCMAKE_DISABLE_FIND_PACKAGE_Qt53DCore=$(usex !3d)
- -DCMAKE_DISABLE_FIND_PACKAGE_Qt53DExtras=$(usex !3d)
- -DCMAKE_DISABLE_FIND_PACKAGE_Qt53DInput=$(usex !3d)
- -DCMAKE_DISABLE_FIND_PACKAGE_Qt53DLogic=$(usex !3d)
- -DCMAKE_DISABLE_FIND_PACKAGE_Qt53DRender=$(usex !3d)
- -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Charts=$(usex !charts)
- -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Concurrent=$(usex !concurrent)
- -DCMAKE_DISABLE_FIND_PACKAGE_Qt5DataVisualization=$(usex !datavis)
- -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Designer=$(usex !designer)
- -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Gui=$(usex !gui)
- -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Help=$(usex !help)
- -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Location=$(usex !location)
- -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Multimedia=$(usex !multimedia)
- -DCMAKE_DISABLE_FIND_PACKAGE_Qt5MultimediaWidgets=$(usex !multimedia yes $(usex !widgets))
- -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Network=$(usex !network)
- -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Positioning=$(usex !positioning)
- -DCMAKE_DISABLE_FIND_PACKAGE_Qt5PrintSupport=$(usex !printsupport)
- -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Qml=$(usex !qml)
- -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Quick=$(usex !quick)
- -DCMAKE_DISABLE_FIND_PACKAGE_Qt5QuickControls2=$(usex !quick)
- -DCMAKE_DISABLE_FIND_PACKAGE_Qt5QuickWidgets=$(usex !quick yes $(usex !widgets))
- -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Script=yes
- -DCMAKE_DISABLE_FIND_PACKAGE_Qt5ScriptTools=yes
- -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Scxml=$(usex !scxml)
- -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Sensors=$(usex !sensors)
- -DCMAKE_DISABLE_FIND_PACKAGE_Qt5TextToSpeech=$(usex !speech)
- -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Sql=$(usex !sql)
- -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Svg=$(usex !svg)
- -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Test=$(usex !testlib)
- -DCMAKE_DISABLE_FIND_PACKAGE_Qt5UiTools=$(usex !designer)
- -DCMAKE_DISABLE_FIND_PACKAGE_Qt5WebChannel=$(usex !webchannel)
- -DCMAKE_DISABLE_FIND_PACKAGE_Qt5WebEngine=$(usex !webengine)
- -DCMAKE_DISABLE_FIND_PACKAGE_Qt5WebEngineCore=$(usex !webengine)
- -DCMAKE_DISABLE_FIND_PACKAGE_Qt5WebEngineWidgets=$(usex !webengine yes $(usex !widgets))
- -DCMAKE_DISABLE_FIND_PACKAGE_Qt5WebSockets=$(usex !websockets)
- -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Widgets=$(usex !widgets)
- -DCMAKE_DISABLE_FIND_PACKAGE_Qt5X11Extras=$(usex !x11extras)
- -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Xml=$(usex !xml)
- -DCMAKE_DISABLE_FIND_PACKAGE_Qt5XmlPatterns=$(usex !xmlpatterns)
- )
-
- pyside2_configure() {
- local mycmakeargs=(
- "${mycmakeargs[@]}"
- -DPYTHON_CONFIG_SUFFIX="-${EPYTHON}"
- -DPYTHON_EXECUTABLE="${PYTHON}"
- -DPYTHON_SITE_PACKAGES="$(python_get_sitedir)"
- -DSHIBOKEN_PYTHON_SHARED_LIBRARY_SUFFIX="-${EPYTHON}"
- )
- cmake_src_configure
- }
- python_foreach_impl pyside2_configure
-}
-
-src_compile() {
- python_foreach_impl cmake_src_compile
-}
-
-src_test() {
- local -x PYTHONDONTWRITEBYTECODE
- python_foreach_impl virtx cmake_src_test
-}
-
-src_install() {
- pyside2_install() {
- cmake_src_install
- python_optimize
-
- # Uniquify the shiboken2 pkgconfig dependency in the PySide2 pkgconfig
- # file for the current Python target. See also:
- # https://github.com/leycec/raiagent/issues/73
- sed -i -e 's~^Requires: shiboken2$~&-'${EPYTHON}'~' \
- "${ED}/usr/$(get_libdir)"/pkgconfig/${PN}.pc || die
-
- # Uniquify the PySide2 pkgconfig file for the current Python target,
- # preserving an unversioned "pyside2.pc" file arbitrarily associated
- # with the last Python target. (See the previously linked issue.)
- cp "${ED}/usr/$(get_libdir)"/pkgconfig/${PN}{,-${EPYTHON}}.pc || die
- }
- python_foreach_impl pyside2_install
-
- # CMakeLists.txt installs a "PySide2Targets-gentoo.cmake" file forcing
- # downstream consumers (e.g., pyside2-tools) to target one
- # "libpyside2-*.so" library linked to one Python interpreter. See also:
- # https://bugreports.qt.io/browse/PYSIDE-1053
- # https://github.com/leycec/raiagent/issues/74
- sed -i -e 's~pyside2-python[[:digit:]]\+\.[[:digit:]]\+~pyside2${PYTHON_CONFIG_SUFFIX}~g' \
- "${ED}/usr/$(get_libdir)"/cmake/PySide2*/PySide2Targets-${CMAKE_BUILD_TYPE,,}.cmake || die
-}
diff --git a/dev-python/python-tests/Manifest b/dev-python/python-tests/Manifest
index ec9338c0b623..51a5d8258e7a 100644
--- a/dev-python/python-tests/Manifest
+++ b/dev-python/python-tests/Manifest
@@ -31,11 +31,11 @@ EBUILD python-tests-3.10.15_p1.ebuild 1605 BLAKE2B db4c562031e602638107c76bfafcc
EBUILD python-tests-3.10.15_p2.ebuild 1605 BLAKE2B db4c562031e602638107c76bfafcc97771ffa56b54a3d65028d06562e73fe8c1b037bdf0697da465cf07417fcecd179501121d95dce054e1fd75442273014f53 SHA512 e00999be4c1fe1dcf54868a60f9143766809738be5171ef82a525be7f41214cfcf8a1906df347975fdb05b49c7023bac5075b8eed838b110b69b29ef7c56b956
EBUILD python-tests-3.10.16_p1.ebuild 1607 BLAKE2B d5ac322bad70ae7df45029025046ed764831b8e1fac2ea964c7748ba8bab8dcbcbdab96c5700255e8dffe9f45bfbc9a39b38a1798e1dcbc6eadb4172ebfc2c87 SHA512 b81aa0c3f40dbef105f776ed1c9d9bb16e39b44d49772ee90ff6cde29570db0c1d3076f1087783b0d49cc8d2653fd87a90585424fd63fbec7dc3be947b373aca
EBUILD python-tests-3.11.10_p1.ebuild 1591 BLAKE2B 41988aa6074078cd26dc08004cd74c78becc96894847b2e873529bcf1f1742bbf2547aad0da1ebc53f79fe422d60c46fb075da9824413c0f38353f0c5cb4f0dd SHA512 41580e92e1d167eeb0896bf271ddfc3b06d5979cc620e66f7f36a5102481a94a92efab6b40ea1dafdb29a35c031a3a2f3680f52a699484815962f0e7b364f964
-EBUILD python-tests-3.11.11_p1.ebuild 1595 BLAKE2B ad9d72f61bc535ff72513f6d2ba242b6ef88694b52c68d4430faf5e4ec8a627eff26e43db92dc2cd0867c886d68bcfda146f11797408650356f7e33d0fc0562c SHA512 a1526ec1ff9d9762209c3713087701495afa0fefd98890b351a577560d3abd7d8d05c566e0afbecbcd9f3371cd4beb16a100bd00bde84eef113920caa726f706
+EBUILD python-tests-3.11.11_p1.ebuild 1594 BLAKE2B 1e90e25bc1fcfe5265cb9f5cd5c62ff31bfcfae9ef88e053b5b084d5e4fab803781ebadba266c50b8c9d78cbf4368669709bb80a91baedb0116f25f70be181ac SHA512 8cdc6d722aff085d4b1490135bd99ac6a57ee1a2d7ef44eba7ecdd49ab0dfc8df8602bba9b0e446f029b4bd4062a044a72a3da779bc9cea03fa6194aee527e3f
EBUILD python-tests-3.12.6_p2.ebuild 1502 BLAKE2B bce969e4a5147fdfe4cfd0f8c5f6bebc9ed452bb53e658dd6c71c2bd75d01ad1962bf4365e9e36b44726a17d08b767f24e240048be4234f5a8c5d2ea66cdcec4 SHA512 882090e5cdf1cd7eb43a363b000b11a45e4f3ca4f5c94130c238ec7961037b29d30477b267ec5230be60cd1dceb240247b24fe43f789cde326829ff25c06db7c
EBUILD python-tests-3.12.6_p4.ebuild 1504 BLAKE2B 711a2ab62015c8113dfca9a02a57301add78b0fabefc09b629096f2fc0e1bd68157e517ceeb807fc04cabb81910eed3e5546e5f3adcd9a12b59c49718fafd6bc SHA512 69677a1276b7b746b10e268cc573a8ac62aa108288d810a18ceae4aa0f797ffe228903cd2d1e53aab4e45b42872fd15432f93226b19f2d9bf726cbec5d480ee4
EBUILD python-tests-3.12.7_p1.ebuild 1503 BLAKE2B acbbcbe09375110153acb3a27d766eb16b28b82af67d304dbb8da707cb7844c6a5c81b85f7ed24b4b119064eb34cccc34e13cac1ffbd912d4603b6b5c66cbc93 SHA512 8c6a1521fb18c6b82dc176642d39c9f67326eca75349e0980aedecabcf9ae1c15bbd36608e000f76cdda13b8a58128514a6bee94180286345d3d0c4d2b03d1d9
-EBUILD python-tests-3.12.8.ebuild 1508 BLAKE2B b0c4c579c06a7a61083b632a419c236e1cf11ab1b9f0b8d0ba8384a07360017eb9498f396388a620c9d6767b369a3a86b74e92e0b330334601ac53e92e555ebe SHA512 57c8ae0ebb7619aab5d587b4261fa86bdcd64a478c527aec62fd038f1655a62336f2d7c1625e69d69d7ce5bf180d9920b5d21a073d6b5590d5d941766ec86df0
+EBUILD python-tests-3.12.8.ebuild 1507 BLAKE2B 17eec7e77f5afca9935925c5d0f428a15cdddd37d27edc9169278019fdf50171d0403f2b4da80ca83e6376208a6b37c81f77c8f5d35848f6dc7ef513fdd45b71 SHA512 eef961e80f6a3784d383ea7c9d90b0ebc88fd514d5b6c027331dd010bada169deaece82ccbd9e6a3d8ba48e04c8d29e37caf5ef75e0c6d0a54666ace4d5fc26d
EBUILD python-tests-3.13.0.ebuild 1508 BLAKE2B ef602d53cc64bca83113707f71e66ba676c0e8fd21608da23554f6e130ccbdee6a480abd385c896e5eaaa2b34d62ff17f8d255c5a6cd92fcf234703dee6028ba SHA512 e089e2577e78b9393322e071531b263a6c4a9a0bcdca2e181647158256b4c5470a4071641a41c383305a20013ce423fdc2ff06db133d1ac06d60c6292b612ae3
EBUILD python-tests-3.13.1.ebuild 1511 BLAKE2B 11c5c028e5d7538a72863931bb8138489fe1fafeb5392100f2c9ab746f4591def43b154ec44e7ef5b93df64b22b46d734e341c912779c9cc3aca96939ca754cf SHA512 1d7f898925d1f311dc6cc7fa38bbb8f59b1beff8fd4763d1cc71c7a6468238f340757f0d003ef1a32ab7ffc4218e23938c672c6528273f60c2837b877c02c8a1
MISC metadata.xml 320 BLAKE2B 4a0e2e1a1885c485f99da97298accb9b35bf3bfa9b5e442ad0a92ed13e9e5b5d754bd10fff44e90862e7277aa11ebff8e41354cff1d63307258ed25ba9336d2f SHA512 5c78ec7965ba88dc488b4fa2a39f19f27e34c1ed770d03d13bb9f8b5b39257288957ede00ec85b46fff42f24e052960f0cfe94b48e2269465e0afe44adcdac99
diff --git a/dev-python/python-tests/python-tests-3.11.11_p1.ebuild b/dev-python/python-tests/python-tests-3.11.11_p1.ebuild
index 2c9309372fd3..bb4e1d4b8623 100644
--- a/dev-python/python-tests/python-tests-3.11.11_p1.ebuild
+++ b/dev-python/python-tests/python-tests-3.11.11_p1.ebuild
@@ -28,7 +28,7 @@ S="${WORKDIR}/${MY_P}/Lib"
LICENSE="PSF-2"
SLOT="${PYVER}"
-KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~loong ~m68k ~mips ppc ~ppc64 ~riscv ~s390 sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc ~x86"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="
diff --git a/dev-python/python-tests/python-tests-3.12.8.ebuild b/dev-python/python-tests/python-tests-3.12.8.ebuild
index 1108bcfc5aeb..69294e562d04 100644
--- a/dev-python/python-tests/python-tests-3.12.8.ebuild
+++ b/dev-python/python-tests/python-tests-3.12.8.ebuild
@@ -28,7 +28,7 @@ S="${WORKDIR}/${MY_P}/Lib"
LICENSE="PSF-2"
SLOT="${PYVER}"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="
diff --git a/dev-python/shiboken2/Manifest b/dev-python/shiboken2/Manifest
deleted file mode 100644
index 7f6e3c15d626..000000000000
--- a/dev-python/shiboken2/Manifest
+++ /dev/null
@@ -1,3 +0,0 @@
-DIST pyside-setup-opensource-src-5.15.14.tar.xz 3586520 BLAKE2B ef103cf3116af2c1378018d44abf3766fed6ba545d0e5f3ea6f720047a884edc1eac2dbfce4ddd806472f2ac6355166fd0cef5427f1f85e73306544306adf003 SHA512 c6ca15cc3a3051c00519d9ccb64d48977f8e5587938f97205fe96511ec7bca1a67308325bc1d61712475514c2a1b351fbac2c84f5cee923f55eb91869f49acd5
-EBUILD shiboken2-5.15.14.ebuild 6551 BLAKE2B 4762577a0ecd58087c4631844477e7d52c7064bf0a248dd2fa3ec79bf822197dc8b6c8ff67224d354477aa31a0b5394dfc2b5ec88d395830f95673c4b8fa57fa SHA512 0da73f88a11e35498ea3fefc9c23d3f1df0205200adbc7fb5d665f2c200d90b28ef37960a5d21e695681fc0d205b7e75ad6686ac3d290324c11eaef8ec8a3429
-MISC metadata.xml 717 BLAKE2B 478c41f7cf168210124da5d0cbe60841fa8e4ad16b667a72a32a6b02880e926e33eb037d96c6259add9707ca412979d859136c3a328770964cd60aaf936616bd SHA512 fc6af23d84673266d41c7200c70f1a4d712686b5a3f7464992001fba7f6e96dbd84fca6e4f25f479fd0d52edae00e0b804487d4186c8be07e9fd3f7d89c05da5
diff --git a/dev-python/shiboken2/metadata.xml b/dev-python/shiboken2/metadata.xml
deleted file mode 100644
index 994d9d924352..000000000000
--- a/dev-python/shiboken2/metadata.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person" proxied="proxy">
- <email>nowa@gentoo.org</email>
- <name>Nowa Ammerlaan</name>
- </maintainer>
- <maintainer type="person" proxied="yes">
- <email>waebbl-gentoo@posteo.net</email>
- <name>Bernd Waibel</name>
- </maintainer>
- <use>
- <flag name="docstrings">Expose documentation as Python docstrings (recommended)</flag>
- <flag name="numpy">Implicitly convert passed NumPy arrays to Qt lists</flag>
- <flag name="vulkan">Generate "QSurface::VulkanSurface" bindings</flag>
- </use>
- <upstream>
- <remote-id type="pypi">shiboken2</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/dev-python/shiboken2/shiboken2-5.15.14.ebuild b/dev-python/shiboken2/shiboken2-5.15.14.ebuild
deleted file mode 100644
index b4a22951333a..000000000000
--- a/dev-python/shiboken2/shiboken2-5.15.14.ebuild
+++ /dev/null
@@ -1,173 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# TODO: Split the "/usr/bin/shiboken2" binding generator from the
-# "/usr/lib64/libshiboken2-*.so" family of shared libraries. The former
-# requires everything (including Clang) at runtime; the latter only requires
-# Qt and Python at runtime. Note that "pip" separates these two as well. See:
-# https://doc.qt.io/qtforpython/shiboken2/faq.html#is-there-any-runtime-dependency-on-the-generated-binding
-# Once split, the PySide2 ebuild should be revised to require
-# "/usr/bin/shiboken2" at build time and "libshiboken2-*.so" at runtime.
-# TODO: Add PyPy once officially supported. See also:
-# https://bugreports.qt.io/browse/PYSIDE-535
-PYTHON_COMPAT=( python3_{10..11} )
-
-LLVM_COMPAT=( 15 )
-
-inherit cmake llvm-r1 python-r1 toolchain-funcs
-
-MY_P=pyside-setup-opensource-src-${PV}
-
-DESCRIPTION="Python binding generator for C++ libraries"
-HOMEPAGE="https://wiki.qt.io/PySide2"
-SRC_URI="https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-${PV}-src/${MY_P}.tar.xz"
-S="${WORKDIR}/${MY_P}/sources/shiboken2"
-
-# The "sources/shiboken2/libshiboken" directory is triple-licensed under the
-# GPL v2, v3+, and LGPL v3. All remaining files are licensed under the GPL v3
-# with version 1.0 of a Qt-specific exception enabling shiboken2 output to be
-# arbitrarily relicensed. (TODO)
-LICENSE="|| ( GPL-2 GPL-3+ LGPL-3 ) GPL-3"
-SLOT="5/${PV}"
-KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86"
-IUSE="+docstrings numpy test vulkan"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-# Tests fail pretty bad and I'm not fixing them right now
-RESTRICT="test"
-
-# Minimal supported version of Qt.
-QT_PV="$(ver_cut 1-3)*:5"
-
-# Since Clang is required at both build- and runtime, BDEPEND is omitted here.
-RDEPEND="${PYTHON_DEPS}
- =dev-qt/qtcore-${QT_PV}
- $(llvm_gen_dep '
- llvm-core/clang:${LLVM_SLOT}
- llvm-core/llvm:${LLVM_SLOT}
- ')
- docstrings? (
- >=dev-libs/libxml2-2.6.32
- >=dev-libs/libxslt-1.1.19
- =dev-qt/qtxml-${QT_PV}
- =dev-qt/qtxmlpatterns-${QT_PV}
- )
- numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )
- vulkan? ( dev-util/vulkan-headers )
- !dev-python/shiboken2:0
-"
-DEPEND="${RDEPEND}
- test? ( =dev-qt/qttest-${QT_PV} )
-"
-
-DOCS=( AUTHORS )
-
-src_prepare() {
- # TODO: File upstream issue requesting a sane way to disable NumPy support.
- if ! use numpy; then
- sed -i -e '/\bprint(os\.path\.realpath(numpy))/d' \
- libshiboken/CMakeLists.txt || die
- fi
-
- # Shiboken2 assumes Vulkan headers live under either "$VULKAN_SDK/include"
- # or "$VK_SDK_PATH/include" rather than "${EPREFIX}/usr/include/vulkan".
- if use vulkan; then
- sed -i -e "s~\bdetectVulkan(&headerPaths);~headerPaths.append(HeaderPath{QByteArrayLiteral(\"${EPREFIX}/usr/include/vulkan\"), HeaderType::System});~" \
- ApiExtractor/clangparser/compilersupport.cpp || die
- fi
-
- local clangver="$(CPP=clang clang-major-version)"
-
- # Clang 15 and older used the full version as a directory name.
- if [[ ${clangver} -lt 16 ]]; then
- clangver="$(CPP=clang clang-fullversion)"
- fi
-
- # Shiboken2 assumes the "/usr/lib/clang/${CLANG_NEWEST_VERSION}/include/"
- # subdirectory provides Clang builtin includes (e.g., "stddef.h") for the
- # currently installed version of Clang, where ${CLANG_NEWEST_VERSION} is
- # the largest version specifier that exists under the "/usr/lib/clang/"
- # subdirectory. This assumption is false in edge cases, including when
- # users downgrade from newer Clang versions but fail to remove those
- # versions with "emerge --depclean". See also:
- # https://github.com/leycec/raiagent/issues/85
- #
- # Sadly, the clang-* family of functions exported by the "toolchain-funcs"
- # eclass are defective, returning nonsensical placeholder strings if the
- # end user has *NOT* explicitly configured their C++ compiler to be Clang.
- # PySide2 does *NOT* care whether the end user has done so or not, as
- # PySide2 unconditionally requires Clang in either case. See also:
- # https://bugs.gentoo.org/619490
- sed -i -e 's~(findClangBuiltInIncludesDir())~(QStringLiteral("'"${EPREFIX}"'/usr/lib/clang/'"${clangver}"'/include"))~' \
- ApiExtractor/clangparser/compilersupport.cpp || die
-
- cmake_src_prepare
-}
-
-src_configure() {
- # Minimal tests for now, 2 failing with the extended version
- # FIXME Subscripted generics cannot be used with class and instance checks
- local mycmakeargs=(
- -DBUILD_TESTS=$(usex test)
- -DDISABLE_DOCSTRINGS=$(usex !docstrings)
- )
-
- shiboken2_configure() {
- local mycmakeargs=(
- "${mycmakeargs[@]}"
- -DPYTHON_CONFIG_SUFFIX="-${EPYTHON}"
- -DPYTHON_EXECUTABLE="${PYTHON}"
- -DUSE_PYTHON_VERSION="${EPYTHON#python}"
- -DFORCE_LIMITED_API=OFF
- )
- # CMakeLists.txt expects LLVM_INSTALL_DIR as an environment variable.
- local -x LLVM_INSTALL_DIR="$(get_llvm_prefix)"
- cmake_src_configure
- }
- python_foreach_impl shiboken2_configure
-}
-
-src_compile() {
- python_foreach_impl cmake_src_compile
-}
-
-src_test() {
- python_foreach_impl cmake_src_test
-}
-
-src_install() {
- shiboken2_install() {
- cmake_src_install
- python_optimize
-
- # Uniquify the "shiboken2" executable for the current Python target,
- # preserving an unversioned "shiboken2" file arbitrarily associated
- # with the last Python target.
- cp "${ED}"/usr/bin/${PN}{,-${EPYTHON}} || die
-
- # Uniquify the Shiboken2 pkgconfig file for the current Python target,
- # preserving an unversioned "shiboken2.pc" file arbitrarily associated
- # with the last Python target. See also:
- # https://github.com/leycec/raiagent/issues/73
- cp "${ED}/usr/$(get_libdir)"/pkgconfig/${PN}{,-${EPYTHON}}.pc || die
- }
- python_foreach_impl shiboken2_install
-
- # CMakeLists.txt installs a "Shiboken2Targets-gentoo.cmake" file forcing
- # downstream consumers (e.g., PySide2) to target one "libshiboken2-*.so"
- # library and one "shiboken2" executable linked to one Python interpreter.
- # See also:
- # https://bugreports.qt.io/browse/PYSIDE-1053
- # https://github.com/leycec/raiagent/issues/74
- sed -i \
- -e 's~shiboken2-python[[:digit:]]\+\.[[:digit:]]\+~shiboken2${PYTHON_CONFIG_SUFFIX}~g' \
- -e 's~/bin/shiboken2~/bin/shiboken2${PYTHON_CONFIG_SUFFIX}~g' \
- "${ED}/usr/$(get_libdir)"/cmake/Shiboken2*/Shiboken2Targets-${CMAKE_BUILD_TYPE,,}.cmake || die
-
- # Remove the broken "shiboken_tool.py" script. By inspection, this script
- # reduces to a noop. Moreover, this script raises the following exception:
- # FileNotFoundError: [Errno 2] No such file or directory: '/usr/bin/../shiboken_tool.py': '/usr/bin/../shiboken_tool.py'
- rm "${ED}"/usr/bin/shiboken_tool.py || die
-}
diff --git a/dev-python/sphobjinv/Manifest b/dev-python/sphobjinv/Manifest
index 57ddde5591dd..8da23ae59f89 100644
--- a/dev-python/sphobjinv/Manifest
+++ b/dev-python/sphobjinv/Manifest
@@ -1,3 +1,5 @@
DIST sphobjinv-2.3.1.1.gh.tar.gz 1345537 BLAKE2B 8cbe5a6066ed611cb3b7579a34f75021e26262069aad2bd77bf3fefb1dd69b8a9977692424b296f9444968e1decb54ac8246896e678b64a7bd526d45e160f307 SHA512 c5260bbccff8531469ec67c44dfb33e46f55c4a07d25ed4a1332ebde3be09721877cf4af31feff8ff0aa81d6af68905607bf47a62cfda7893e449fd90b10bdbf
+DIST sphobjinv-2.3.1.2.gh.tar.gz 1346638 BLAKE2B c7f25caa055557ab4fa31335132b56f40237404925617f6d2f6495e1b10ef06517f3019ea10ef3b77d13e9f5270ce0669126146bfff0725bb9ff65ee3850edee SHA512 de26ba688238d0e26506bd4bc2662ab01f82bf2aa878c8fec98c4b2efdaabe80780a2bf83a9ed528f9c33fa81b1d105a7c4bc1350dd0514ddb81d0ea023b74b1
EBUILD sphobjinv-2.3.1.1.ebuild 1420 BLAKE2B 960ce7f3a8f9bc8c6f8360f561155838153de46a738da1d577c696719f529cf21b8c2a95e35e0419d803cf4fa7b0b7b46fdd679b5f51d8e5978ba35cf77084ba SHA512 6d2b0be907f22432675fd99d2f88303f59f2390758c9a05cc8ccaf591e9a7f06a6971c681934904c92803ce7de1e870cd93b5f32709db2f6e8f3a19e1c6d9574
+EBUILD sphobjinv-2.3.1.2.ebuild 1427 BLAKE2B e5072e0ef8133886d1d50f606532baa51b5f827c92a46f7fb0c3c67399cba46ceeeca588333f45ccd14497b9a8fc07022178ebe7890784ae8b47e67c3009021d SHA512 6801d574e3247604e5dfdd808d21c29f27bdf501e1b13ca5a353433b2364cac9f4f5393716ab6c03acdca4329ede4d716ee8a66ea72b1af1151f78b5e95f037e
MISC metadata.xml 876 BLAKE2B 2f3e0b8f207c9c872e7352b3b7fe34b569ef19ccfcd1060e99e71ac871185bffd079d93a2284380658faaa3542440433b40797c86a8b942cfef32eafdcdfa8aa SHA512 7906dda0e70f9d2e92b7e616ea7c79a9cb378cf3bfb58f7c1b7a261feebf587edf0ac76d3c7d18865f9d0e2ea6458667296847d3a9ecad4ae863441c2ee42028
diff --git a/dev-python/sphobjinv/sphobjinv-2.3.1.2.ebuild b/dev-python/sphobjinv/sphobjinv-2.3.1.2.ebuild
new file mode 100644
index 000000000000..59d7b3fc8cd9
--- /dev/null
+++ b/dev-python/sphobjinv/sphobjinv-2.3.1.2.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit distutils-r1
+
+DESCRIPTION="Sphinx objects.inv Inspection/Manipulation Tool"
+HOMEPAGE="
+ https://github.com/bskinn/sphobjinv/
+ https://pypi.org/project/sphobjinv/
+"
+SRC_URI="
+ https://github.com/bskinn/${PN}/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+ >=dev-python/attrs-19.2[${PYTHON_USEDEP}]
+ dev-python/certifi[${PYTHON_USEDEP}]
+ dev-python/fuzzywuzzy[${PYTHON_USEDEP}]
+ >=dev-python/jsonschema-3.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/dictdiffer[${PYTHON_USEDEP}]
+ dev-python/pytest-check[${PYTHON_USEDEP}]
+ dev-python/pytest-ordering[${PYTHON_USEDEP}]
+ dev-python/pytest-timeout[${PYTHON_USEDEP}]
+ >=dev-python/stdio-mgr-1.0.1[${PYTHON_USEDEP}]
+ dev-python/sphinx[${PYTHON_USEDEP}]
+ dev-python/timeout-decorator[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+ # Internet
+ README.rst::README.rst
+ tests/test_readme.py::test_readme_shell_cmds
+)
+
+src_prepare() {
+ sed -e '/CLI_TEST_TIMEOUT/s/2/20/' -i tests/test_cli.py || die
+
+ # remove bundled deps
+ rm -r src/sphobjinv/_vendored || die
+ sed -i -e 's:sphobjinv[.]_vendored[.]::' src/sphobjinv/*.py || die
+
+ distutils-r1_src_prepare
+}
diff --git a/dev-python/types-setuptools/Manifest b/dev-python/types-setuptools/Manifest
index 1cf0e824fa7c..469d4d3c22e0 100644
--- a/dev-python/types-setuptools/Manifest
+++ b/dev-python/types-setuptools/Manifest
@@ -1,3 +1,5 @@
DIST types_setuptools-75.6.0.20241126.tar.gz 48569 BLAKE2B 0e896fa128c5799b14dcca2fdc7385c09223652f775bc0928b21ee7992e0f34c0e057a63ccc99065b48dd19cecccdf57423cad682060014a0e0c62d396d55f3d SHA512 89d2705fd69e117345d04f5f735c00d7365bae1ced78cfab3a210a69847df8be134fb25092db563b5d83621f5e8524e8abeab368c531186282f70dc9d7ac40ab
+DIST types_setuptools-75.6.0.20241223.tar.gz 48063 BLAKE2B ecd24e67fe4df358a88c3de2f7cbbc003febbba4216cab3913d5672112d15d88767bd695ee918eff5790918ce749bd2359b8b159ef2e182cbf387b4e0f11dd51 SHA512 5251c28cd36c5e0ed3353ecf76c15bef567488286ebf839a60410a100456a85edd56a4c5d72fd15ac718a8abe57d71958252a9811d6c1a2eeab50c2591ae5510
EBUILD types-setuptools-75.6.0.20241126.ebuild 420 BLAKE2B 525de4c8fd4677364d93d97342d06721b68f08f170cb25fa049bff5679ea718e7bf934c3c525967842fa81fcba396b68815333acb030edeb14460f45d8247b91 SHA512 c8cfa70358f8da9fc83f3d9a061ecc34ae4ba72be7cc76c77ca853d47cccbc1feb3f1f5807c94522c6153f9f25fd5c8d7fc4948374b8c8ef415b75350b8250a2
+EBUILD types-setuptools-75.6.0.20241223.ebuild 428 BLAKE2B 567856a8eb57b822113fdf380d85a5f31ea3f0215c1c02a4826f449e57f999988fb37c8d31ed60893676bf8fee0775f3609d5708e365241844cc30d6fa3d8601 SHA512 91a87d6546c8e735c3af73aebdbb466d2eda1877c4836e7045f29d5af962800d68de1b4a8484480cb8e1e03444a0e0a9a6ebee757c8fbd69131239c9a5292cc3
MISC metadata.xml 399 BLAKE2B 6e130dc38e0e0e0e6e02567d750d37c6f28ea40c4742a9247f347f29e1700fc420015e7ff951f4a11c156c2df88d7e3b7f03be7759d05872a7783a2d25e35b1e SHA512 bbc9cb552e652e7644d4d635cfd74fdfffcf6426160025411843d53d37b02fdd65f7e1fb435fee7b628033cef517e3f5a902466b5786b842592ccfad068edc15
diff --git a/dev-python/types-setuptools/types-setuptools-75.6.0.20241223.ebuild b/dev-python/types-setuptools/types-setuptools-75.6.0.20241223.ebuild
new file mode 100644
index 000000000000..c03ab94d7227
--- /dev/null
+++ b/dev-python/types-setuptools/types-setuptools-75.6.0.20241223.ebuild
@@ -0,0 +1,16 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Typing stubs for setuptools"
+HOMEPAGE="https://pypi.org/project/types-setuptools/"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
diff --git a/dev-python/zenlib/Manifest b/dev-python/zenlib/Manifest
index 76b9cb13b77c..58251214032d 100644
--- a/dev-python/zenlib/Manifest
+++ b/dev-python/zenlib/Manifest
@@ -1,6 +1,8 @@
DIST zenlib-2.4.1.gh.tar.gz 21281 BLAKE2B e6a4005d7e5db95ccc18ecb87c10180e148bcf0a860923ac71177c90d448186247e08eee9f2c5dcb7e0803536dc07bfa3137b363a410ea2e03f875c4096fdadc SHA512 a8ceadbda243583ebe45fb56a4a72d2693505d9123346b3a140ccb16ed7de85d60caafffac0274e3f6289b0b82a82643feba039d85ea4f159fb259c7bdd46725
DIST zenlib-3.0.1.gh.tar.gz 20583 BLAKE2B 9f6e1e349488bd97c9f85b21fb629067b6f207077604e93f8692e98773f2637149f69a4b97328c32fc198660f4fee880110bcef428717218bde5a83c451e4eae SHA512 759684f376bd7f297dd4539289159c2b163b397d80a99a1cda2882ebb125cabdcbf18884299d67af2cb8c50c3fb36af06c48fa29d62121a40406f8c3857732fd
+DIST zenlib-3.0.2.gh.tar.gz 21046 BLAKE2B 1416246d7f030e938a28e6ec8ad7981ca52186df75bf4e48e171b6e41d85bddbb60646642d238b7b3269a204be5f625c15dc9bf0008bb7002db8ae772c7c4c80 SHA512 09574b62dd0e06d1cca67e16a9dd4b75d4b2d3884f483dd17c1bb82debb4bc3c89f8b7f0e8d743c5eb6e2269be7741e3ac9941812f3baed5e1d297a41194c294
EBUILD zenlib-2.4.1.ebuild 512 BLAKE2B c75b40f64204cf962fa5b87d9963bf082fa9073e7f01f3fcc81740f463e1878d8a59057b61c210ae45ed991443379b294e68ca63b068aa7ce7817acedb860d28 SHA512 1ce07aec15b742f2fc7e9e8cd6ed87b9189dfdbffced9e4325742843fabcc366216d208165ccb1ec737081bf76a5e519cdc117fb5e9609e0f876c7acfa1af44d
EBUILD zenlib-3.0.1.ebuild 514 BLAKE2B 189a1cb2aa09285e839015e805428e90c4e7a6760c91b63da3d5c624f1ee25f08fd61b269c22499ea9d4f17378f537b94a7fc1b3b4f3b30beb936aeed5bab08f SHA512 325cf7b7ff7a1616c441d0f9ca1dceffbe28776262885f9c076246f1bed02c8ec10f2a90b209d61b48839db430ca92a272790b81a9fb73e1e970fd8d17f52bb3
+EBUILD zenlib-3.0.2.ebuild 514 BLAKE2B 189a1cb2aa09285e839015e805428e90c4e7a6760c91b63da3d5c624f1ee25f08fd61b269c22499ea9d4f17378f537b94a7fc1b3b4f3b30beb936aeed5bab08f SHA512 325cf7b7ff7a1616c441d0f9ca1dceffbe28776262885f9c076246f1bed02c8ec10f2a90b209d61b48839db430ca92a272790b81a9fb73e1e970fd8d17f52bb3
EBUILD zenlib-9999.ebuild 462 BLAKE2B 1dfc0a6ab795730ab017df1031643b4e50f73b180e2f50dcd2bca49ed9750fcbbe90d5c5ea207c987d36ff7fb1d5891eaad35936278cea5a96d13de89bd43176 SHA512 6c0952430cfa5a02b7bd0c4de824145866b4abc5b6c707452ef205c2b132796c6e9fde846a922f81cd6c9606c91c7faa351cb22fcab69878b558fb45b267f8df
MISC metadata.xml 472 BLAKE2B 032f0c3e944db5091f98e10eb5c5d5d1385291951d6ebd1d6a8c9a59e42bb59e2c566297fff3dadce420fb23f697ed8ee462378b7def0f862f82b04df7d67f48 SHA512 8c456bc68afee6391230defabf7928b8715a642f0cee3830c25b53326a7b90bd4ebbcdfbb05c0d0afd7f09406c94a339b3568fae822e2770e64d0e45b132d730
diff --git a/dev-python/zenlib/zenlib-3.0.2.ebuild b/dev-python/zenlib/zenlib-3.0.2.ebuild
new file mode 100644
index 000000000000..cd63c6cb8120
--- /dev/null
+++ b/dev-python/zenlib/zenlib-3.0.2.ebuild
@@ -0,0 +1,26 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{11..13} )
+
+inherit distutils-r1
+
+DESCRIPTION="Useful python decorators and utilities"
+HOMEPAGE="https://github.com/desultory/zenlib/"
+SRC_URI="
+ https://github.com/desultory/zenlib/archive/${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+
+distutils_enable_tests unittest
+
+python_test() {
+ eunittest tests
+}