From c7de950cc674c81d06538441106a69e1bdce00c2 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Sat, 7 Jun 2025 19:00:38 +0000 Subject: Adding metadata --- dev-python/aiohttp/Manifest | 6 +- dev-python/aiohttp/aiohttp-3.12.0.ebuild | 155 ------- dev-python/aiohttp/aiohttp-3.12.10.ebuild | 156 +++++++ dev-python/aiohttp/aiohttp-3.12.2.ebuild | 155 ------- dev-python/aiohttp/aiohttp-3.12.4.ebuild | 155 ------- dev-python/aiohttp/aiohttp-3.12.6.ebuild | 156 ------- dev-python/aiohttp/aiohttp-3.12.7.ebuild | 156 ------- dev-python/anyioutils/anyioutils-0.7.3.ebuild | 2 +- dev-python/asyncssh/asyncssh-2.21.0.ebuild | 2 +- dev-python/autopep8/autopep8-2.3.2.ebuild | 3 - dev-python/beartype/Manifest | 2 - dev-python/beartype/beartype-0.20.2.ebuild | 42 -- dev-python/beartype/beartype-0.21.0.ebuild | 2 +- dev-python/beartype/beartype-0.21.0_rc0.ebuild | 42 -- dev-python/bitarray/Manifest | 2 - dev-python/bitarray/bitarray-3.3.2.ebuild | 24 - dev-python/bitarray/bitarray-3.4.1.ebuild | 24 - dev-python/bitarray/bitarray-3.4.2.ebuild | 2 +- dev-python/blockbuster/blockbuster-1.5.24.ebuild | 2 +- dev-python/boto3/Manifest | 6 +- dev-python/boto3/boto3-1.38.18.ebuild | 53 --- dev-python/boto3/boto3-1.38.23.ebuild | 2 +- dev-python/boto3/boto3-1.38.28.ebuild | 53 --- dev-python/boto3/boto3-1.38.29.ebuild | 53 --- dev-python/boto3/boto3-1.38.30.ebuild | 53 --- dev-python/boto3/boto3-1.38.31.ebuild | 53 --- dev-python/boto3/boto3-1.38.32.ebuild | 53 +++ dev-python/botocore/Manifest | 6 +- dev-python/botocore/botocore-1.38.18.ebuild | 75 --- dev-python/botocore/botocore-1.38.23.ebuild | 2 +- dev-python/botocore/botocore-1.38.28.ebuild | 75 --- dev-python/botocore/botocore-1.38.29.ebuild | 75 --- dev-python/botocore/botocore-1.38.30.ebuild | 75 --- dev-python/botocore/botocore-1.38.31.ebuild | 75 --- dev-python/botocore/botocore-1.38.32.ebuild | 67 +++ dev-python/bottleneck/bottleneck-1.5.0.ebuild | 2 +- dev-python/cachetools/Manifest | 1 - dev-python/cachetools/cachetools-6.0.0.ebuild | 2 +- .../cachetools/cachetools-6.0.0_beta4.ebuild | 21 - dev-python/cfn-lint/Manifest | 1 - dev-python/cfn-lint/cfn-lint-1.35.1.ebuild | 61 --- dev-python/cfn-lint/cfn-lint-1.35.3.ebuild | 2 +- dev-python/click/Manifest | 2 - dev-python/click/click-8.1.8.ebuild | 38 -- dev-python/click/click-8.2.0.ebuild | 38 -- dev-python/click/click-8.2.1.ebuild | 2 +- dev-python/configargparse/Manifest | 1 - .../configargparse/configargparse-1.7.1.ebuild | 2 +- .../configargparse/configargparse-1.7.ebuild | 44 -- .../files/configargparse-1.7-py313.patch | 112 ----- dev-python/coverage/coverage-7.8.2.ebuild | 2 +- dev-python/cython/cython-3.1.1.ebuild | 2 +- dev-python/ensurepip-setuptools/Manifest | 1 - .../ensurepip-setuptools-80.4.0.ebuild | 20 - .../ensurepip-setuptools-80.8.0.ebuild | 2 +- dev-python/eradicate/Manifest | 1 - dev-python/eradicate/eradicate-2.3.0.ebuild | 25 - dev-python/eradicate/eradicate-3.0.0.ebuild | 2 +- dev-python/flask-cors/Manifest | 1 - dev-python/flask-cors/flask-cors-5.0.1.ebuild | 41 -- dev-python/flask-cors/flask-cors-6.0.0.ebuild | 2 +- dev-python/fonttools/Manifest | 1 + .../fonttools/files/fonttools-4.58.2-py313.patch | 42 ++ dev-python/fonttools/fonttools-4.58.2.ebuild | 74 +++ .../forbiddenfruit/forbiddenfruit-0.1.4.ebuild | 2 +- dev-python/fpylll/Manifest | 1 - dev-python/fpylll/fpylll-0.6.3.ebuild | 41 -- dev-python/fpylll/fpylll-0.6.4.ebuild | 2 +- dev-python/fsspec/Manifest | 1 - dev-python/fsspec/fsspec-2025.3.2.ebuild | 62 --- dev-python/fsspec/fsspec-2025.5.0.ebuild | 2 +- dev-python/google-api-python-client/Manifest | 1 - .../google-api-python-client-2.169.0.ebuild | 50 -- .../google-api-python-client-2.170.0.ebuild | 2 +- dev-python/h5py/Manifest | 1 + dev-python/h5py/h5py-3.14.0.ebuild | 63 +++ dev-python/hcloud/Manifest | 1 - dev-python/hcloud/hcloud-2.5.1.ebuild | 49 -- dev-python/hcloud/hcloud-2.5.2.ebuild | 2 +- dev-python/hiredis/hiredis-3.2.1.ebuild | 2 +- dev-python/hypothesis/Manifest | 2 - dev-python/hypothesis/hypothesis-6.131.18.ebuild | 126 ----- dev-python/hypothesis/hypothesis-6.131.24.ebuild | 2 +- dev-python/hypothesis/hypothesis-6.131.27.ebuild | 126 ----- dev-python/icalendar/Manifest | 1 - dev-python/icalendar/icalendar-6.2.0.ebuild | 38 -- dev-python/icalendar/icalendar-6.3.1.ebuild | 2 +- dev-python/isal/isal-1.7.2.ebuild | 2 +- dev-python/joblib/Manifest | 2 - dev-python/joblib/joblib-1.4.2.ebuild | 58 --- dev-python/joblib/joblib-1.5.0.ebuild | 56 --- dev-python/joblib/joblib-1.5.1.ebuild | 2 +- dev-python/jsonschema-path/Manifest | 1 + .../jsonschema-path-0.4.0_alpha1.ebuild | 46 ++ dev-python/libarchive-c/Manifest | 1 - dev-python/libarchive-c/libarchive-c-5.2.ebuild | 31 -- dev-python/libarchive-c/libarchive-c-5.3.ebuild | 2 +- dev-python/lmdb/Manifest | 1 - dev-python/lmdb/lmdb-1.5.1.ebuild | 40 -- dev-python/loky/Manifest | 1 - dev-python/loky/loky-3.5.3.ebuild | 59 --- dev-python/loky/loky-3.5.5.ebuild | 2 +- .../meson-python/meson-python-0.18.0-r1.ebuild | 2 +- dev-python/modern-colorthief/Manifest | 2 + dev-python/modern-colorthief/metadata.xml | 10 + .../modern-colorthief-0.1.7.ebuild | 38 ++ dev-python/mpmath/metadata.xml | 6 + dev-python/mpmath/mpmath-1.4.0_alpha5.ebuild | 7 +- dev-python/multidict/multidict-6.4.4.ebuild | 2 +- dev-python/narwhals/Manifest | 3 +- dev-python/narwhals/narwhals-1.39.1.ebuild | 36 -- dev-python/narwhals/narwhals-1.40.0.ebuild | 36 -- dev-python/narwhals/narwhals-1.41.1.ebuild | 36 ++ dev-python/osc-lib/Manifest | 1 - dev-python/osc-lib/osc-lib-4.0.0.ebuild | 50 -- dev-python/osc-lib/osc-lib-4.0.2.ebuild | 2 +- dev-python/oslo-context/Manifest | 1 - dev-python/oslo-context/oslo-context-5.7.1.ebuild | 37 -- dev-python/oslo-context/oslo-context-6.0.0.ebuild | 2 +- dev-python/oslotest/Manifest | 1 - dev-python/oslotest/oslotest-5.0.0.ebuild | 35 -- dev-python/oslotest/oslotest-5.0.1.ebuild | 2 +- dev-python/ovs/ovs-2.17.12.ebuild | 2 +- dev-python/pathable/Manifest | 3 +- dev-python/pathable/pathable-0.5.0_alpha2.ebuild | 35 -- dev-python/pathable/pathable-0.5.0_alpha3.ebuild | 35 -- dev-python/pathable/pathable-0.5.0_beta1.ebuild | 35 ++ dev-python/pbs-installer/Manifest | 2 +- .../pbs-installer/pbs-installer-2025.05.17.ebuild | 35 -- .../pbs-installer/pbs-installer-2025.06.06.ebuild | 35 ++ dev-python/pkgconfig/pkgconfig-1.5.5-r1.ebuild | 2 +- dev-python/primecountpy/Manifest | 1 - .../primecountpy/primecountpy-0.1.0-r1.ebuild | 23 - dev-python/primecountpy/primecountpy-0.1.1.ebuild | 2 +- dev-python/pycryptodome/pycryptodome-3.23.0.ebuild | 2 +- dev-python/pydantic/pydantic-2.11.5.ebuild | 2 +- dev-python/pynacl/files/pynacl-1.5.0-py314.patch | 58 +++ dev-python/pynacl/pynacl-1.5.0-r4.ebuild | 54 +++ dev-python/pyopenssl/pyopenssl-25.1.0.ebuild | 2 +- dev-python/pyproject-api/Manifest | 1 - .../pyproject-api/pyproject-api-1.9.0.ebuild | 33 -- .../pyproject-api/pyproject-api-1.9.1.ebuild | 2 +- .../pyproject-fmt/pyproject-fmt-2.6.0.ebuild | 2 +- dev-python/pyside/Manifest | 2 +- .../files/pyside-6.9.1-fix-tests-cmake4.patch | 53 +++ dev-python/pyside/pyside-6.9.0.ebuild | 508 -------------------- dev-python/pyside/pyside-6.9.1.ebuild | 509 +++++++++++++++++++++ dev-python/pytest-datadir/Manifest | 1 + .../pytest-datadir/pytest-datadir-1.7.2.ebuild | 28 ++ dev-python/pytest/pytest-8.3.5-r1.ebuild | 2 +- dev-python/pytest/pytest-8.3.5.ebuild | 127 ----- dev-python/python-dbusmock/Manifest | 1 - .../python-dbusmock/python-dbusmock-0.34.3.ebuild | 53 --- .../python-dbusmock/python-dbusmock-0.35.0.ebuild | 2 +- dev-python/python-stdnum/Manifest | 2 - dev-python/python-stdnum/python-stdnum-1.20.ebuild | 38 -- dev-python/python-stdnum/python-stdnum-2.0.ebuild | 34 -- dev-python/python-stdnum/python-stdnum-2.1.ebuild | 2 +- dev-python/python-swiftclient/Manifest | 1 - .../python-swiftclient-4.7.0.ebuild | 39 -- .../python-swiftclient-4.8.0.ebuild | 2 +- .../python-tests/python-tests-0.3.13.3_p2.ebuild | 71 +++ .../python-tests/python-tests-0.3.13.4.ebuild | 71 +++ .../python-tests/python-tests-0.3.13.9999.ebuild | 60 +++ .../python-tests-0.3.14.0_beta2_p1.ebuild | 73 +++ .../python-tests/python-tests-0.3.14.9999.ebuild | 60 +++ .../python-tests-3.13.3_p2-r100.ebuild | 70 --- .../python-tests/python-tests-3.13.4-r100.ebuild | 70 --- .../python-tests-3.13.9999-r100.ebuild | 60 --- .../python-tests-3.14.0_beta2_p1-r100.ebuild | 72 --- .../python-tests-3.14.9999-r100.ebuild | 60 --- dev-python/rpds-py/rpds-py-0.25.1.ebuild | 2 +- dev-python/ruamel-yaml/Manifest | 1 + dev-python/ruamel-yaml/ruamel-yaml-0.18.13.ebuild | 53 +++ dev-python/s3transfer/Manifest | 1 - .../s3transfer/files/s3transfer-0.13.0-py314.patch | 38 ++ dev-python/s3transfer/s3transfer-0.12.0.ebuild | 39 -- dev-python/s3transfer/s3transfer-0.13.0.ebuild | 12 +- dev-python/selenium/Manifest | 8 - dev-python/selenium/selenium-4.25.0.ebuild | 135 ------ dev-python/selenium/selenium-4.28.1.ebuild | 138 ------ dev-python/selenium/selenium-4.29.0.ebuild | 138 ------ dev-python/selenium/selenium-4.30.0.ebuild | 137 ------ dev-python/setuptools/Manifest | 1 - dev-python/setuptools/setuptools-80.4.0.ebuild | 130 ------ dev-python/setuptools/setuptools-80.8.0.ebuild | 2 +- dev-python/shapely/Manifest | 1 - dev-python/shapely/shapely-2.1.0.ebuild | 46 -- dev-python/shapely/shapely-2.1.1.ebuild | 2 +- dev-python/sigstore/Manifest | 1 + dev-python/sigstore/sigstore-3.6.3.ebuild | 62 +++ dev-python/simsimd/Manifest | 1 - dev-python/simsimd/simsimd-6.4.5.ebuild | 64 --- dev-python/snowballstemmer/Manifest | 1 - .../snowballstemmer-2.2.0-r1.ebuild | 19 - .../snowballstemmer/snowballstemmer-3.0.1.ebuild | 2 +- dev-python/testtools/testtools-2.7.2-r1.ebuild | 2 +- dev-python/testtools/testtools-2.7.2.ebuild | 48 -- dev-python/thrift/Manifest | 1 - dev-python/thrift/thrift-0.21.0.ebuild | 38 -- dev-python/thrift/thrift-0.22.0.ebuild | 2 +- dev-python/tokenize-rt/Manifest | 1 - dev-python/tokenize-rt/tokenize-rt-6.1.0.ebuild | 25 - dev-python/tokenize-rt/tokenize-rt-6.2.0.ebuild | 2 +- dev-python/tornado/tornado-6.5.1.ebuild | 2 +- dev-python/trimesh/Manifest | 1 - dev-python/trimesh/trimesh-4.6.10.ebuild | 2 +- dev-python/trimesh/trimesh-4.6.9.ebuild | 79 ---- dev-python/trio/Manifest | 1 - dev-python/trio/trio-0.29.0.ebuild | 77 ---- dev-python/trio/trio-0.30.0.ebuild | 2 +- dev-python/twisted/Manifest | 1 + .../twisted/files/twisted-25.5.0-rebuild.patch | 41 ++ dev-python/twisted/twisted-25.5.0.ebuild | 168 +++++++ dev-python/types-setuptools/Manifest | 1 - .../types-setuptools-80.4.0.20250511.ebuild | 16 - .../types-setuptools-80.8.0.20250521.ebuild | 2 +- .../typing-inspection-0.4.1.ebuild | 2 +- dev-python/uv-build/Manifest | 1 + dev-python/uv-build/uv-build-0.7.12.ebuild | 99 ++++ dev-python/uv/Manifest | 2 + dev-python/uv/uv-0.7.12.ebuild | 174 +++++++ dev-python/uv/uv-0.7.8.ebuild | 2 +- dev-python/xcffib/xcffib-1.9.0.ebuild | 2 +- dev-python/zlib-ng/zlib-ng-0.5.1.ebuild | 2 +- dev-python/zmq-anyio/zmq-anyio-0.3.9.ebuild | 2 +- 226 files changed, 2426 insertions(+), 5444 deletions(-) delete mode 100644 dev-python/aiohttp/aiohttp-3.12.0.ebuild create mode 100644 dev-python/aiohttp/aiohttp-3.12.10.ebuild delete mode 100644 dev-python/aiohttp/aiohttp-3.12.2.ebuild delete mode 100644 dev-python/aiohttp/aiohttp-3.12.4.ebuild delete mode 100644 dev-python/aiohttp/aiohttp-3.12.6.ebuild delete mode 100644 dev-python/aiohttp/aiohttp-3.12.7.ebuild delete mode 100644 dev-python/beartype/beartype-0.20.2.ebuild delete mode 100644 dev-python/beartype/beartype-0.21.0_rc0.ebuild delete mode 100644 dev-python/bitarray/bitarray-3.3.2.ebuild delete mode 100644 dev-python/bitarray/bitarray-3.4.1.ebuild delete mode 100644 dev-python/boto3/boto3-1.38.18.ebuild delete mode 100644 dev-python/boto3/boto3-1.38.28.ebuild delete mode 100644 dev-python/boto3/boto3-1.38.29.ebuild delete mode 100644 dev-python/boto3/boto3-1.38.30.ebuild delete mode 100644 dev-python/boto3/boto3-1.38.31.ebuild create mode 100644 dev-python/boto3/boto3-1.38.32.ebuild delete mode 100644 dev-python/botocore/botocore-1.38.18.ebuild delete mode 100644 dev-python/botocore/botocore-1.38.28.ebuild delete mode 100644 dev-python/botocore/botocore-1.38.29.ebuild delete mode 100644 dev-python/botocore/botocore-1.38.30.ebuild delete mode 100644 dev-python/botocore/botocore-1.38.31.ebuild create mode 100644 dev-python/botocore/botocore-1.38.32.ebuild delete mode 100644 dev-python/cachetools/cachetools-6.0.0_beta4.ebuild delete mode 100644 dev-python/cfn-lint/cfn-lint-1.35.1.ebuild delete mode 100644 dev-python/click/click-8.1.8.ebuild delete mode 100644 dev-python/click/click-8.2.0.ebuild delete mode 100644 dev-python/configargparse/configargparse-1.7.ebuild delete mode 100644 dev-python/configargparse/files/configargparse-1.7-py313.patch delete mode 100644 dev-python/ensurepip-setuptools/ensurepip-setuptools-80.4.0.ebuild delete mode 100644 dev-python/eradicate/eradicate-2.3.0.ebuild delete mode 100644 dev-python/flask-cors/flask-cors-5.0.1.ebuild create mode 100644 dev-python/fonttools/files/fonttools-4.58.2-py313.patch create mode 100644 dev-python/fonttools/fonttools-4.58.2.ebuild delete mode 100644 dev-python/fpylll/fpylll-0.6.3.ebuild delete mode 100644 dev-python/fsspec/fsspec-2025.3.2.ebuild delete mode 100644 dev-python/google-api-python-client/google-api-python-client-2.169.0.ebuild create mode 100644 dev-python/h5py/h5py-3.14.0.ebuild delete mode 100644 dev-python/hcloud/hcloud-2.5.1.ebuild delete mode 100644 dev-python/hypothesis/hypothesis-6.131.18.ebuild delete mode 100644 dev-python/hypothesis/hypothesis-6.131.27.ebuild delete mode 100644 dev-python/icalendar/icalendar-6.2.0.ebuild delete mode 100644 dev-python/joblib/joblib-1.4.2.ebuild delete mode 100644 dev-python/joblib/joblib-1.5.0.ebuild create mode 100644 dev-python/jsonschema-path/jsonschema-path-0.4.0_alpha1.ebuild delete mode 100644 dev-python/libarchive-c/libarchive-c-5.2.ebuild delete mode 100644 dev-python/lmdb/lmdb-1.5.1.ebuild delete mode 100644 dev-python/loky/loky-3.5.3.ebuild create mode 100644 dev-python/modern-colorthief/Manifest create mode 100644 dev-python/modern-colorthief/metadata.xml create mode 100644 dev-python/modern-colorthief/modern-colorthief-0.1.7.ebuild delete mode 100644 dev-python/narwhals/narwhals-1.39.1.ebuild delete mode 100644 dev-python/narwhals/narwhals-1.40.0.ebuild create mode 100644 dev-python/narwhals/narwhals-1.41.1.ebuild delete mode 100644 dev-python/osc-lib/osc-lib-4.0.0.ebuild delete mode 100644 dev-python/oslo-context/oslo-context-5.7.1.ebuild delete mode 100644 dev-python/oslotest/oslotest-5.0.0.ebuild delete mode 100644 dev-python/pathable/pathable-0.5.0_alpha2.ebuild delete mode 100644 dev-python/pathable/pathable-0.5.0_alpha3.ebuild create mode 100644 dev-python/pathable/pathable-0.5.0_beta1.ebuild delete mode 100644 dev-python/pbs-installer/pbs-installer-2025.05.17.ebuild create mode 100644 dev-python/pbs-installer/pbs-installer-2025.06.06.ebuild delete mode 100644 dev-python/primecountpy/primecountpy-0.1.0-r1.ebuild create mode 100644 dev-python/pynacl/files/pynacl-1.5.0-py314.patch create mode 100644 dev-python/pynacl/pynacl-1.5.0-r4.ebuild delete mode 100644 dev-python/pyproject-api/pyproject-api-1.9.0.ebuild create mode 100644 dev-python/pyside/files/pyside-6.9.1-fix-tests-cmake4.patch delete mode 100644 dev-python/pyside/pyside-6.9.0.ebuild create mode 100644 dev-python/pyside/pyside-6.9.1.ebuild create mode 100644 dev-python/pytest-datadir/pytest-datadir-1.7.2.ebuild delete mode 100644 dev-python/pytest/pytest-8.3.5.ebuild delete mode 100644 dev-python/python-dbusmock/python-dbusmock-0.34.3.ebuild delete mode 100644 dev-python/python-stdnum/python-stdnum-1.20.ebuild delete mode 100644 dev-python/python-stdnum/python-stdnum-2.0.ebuild delete mode 100644 dev-python/python-swiftclient/python-swiftclient-4.7.0.ebuild create mode 100644 dev-python/python-tests/python-tests-0.3.13.3_p2.ebuild create mode 100644 dev-python/python-tests/python-tests-0.3.13.4.ebuild create mode 100644 dev-python/python-tests/python-tests-0.3.13.9999.ebuild create mode 100644 dev-python/python-tests/python-tests-0.3.14.0_beta2_p1.ebuild create mode 100644 dev-python/python-tests/python-tests-0.3.14.9999.ebuild delete mode 100644 dev-python/python-tests/python-tests-3.13.3_p2-r100.ebuild delete mode 100644 dev-python/python-tests/python-tests-3.13.4-r100.ebuild delete mode 100644 dev-python/python-tests/python-tests-3.13.9999-r100.ebuild delete mode 100644 dev-python/python-tests/python-tests-3.14.0_beta2_p1-r100.ebuild delete mode 100644 dev-python/python-tests/python-tests-3.14.9999-r100.ebuild create mode 100644 dev-python/ruamel-yaml/ruamel-yaml-0.18.13.ebuild create mode 100644 dev-python/s3transfer/files/s3transfer-0.13.0-py314.patch delete mode 100644 dev-python/s3transfer/s3transfer-0.12.0.ebuild delete mode 100644 dev-python/selenium/selenium-4.25.0.ebuild delete mode 100644 dev-python/selenium/selenium-4.28.1.ebuild delete mode 100644 dev-python/selenium/selenium-4.29.0.ebuild delete mode 100644 dev-python/selenium/selenium-4.30.0.ebuild delete mode 100644 dev-python/setuptools/setuptools-80.4.0.ebuild delete mode 100644 dev-python/shapely/shapely-2.1.0.ebuild create mode 100644 dev-python/sigstore/sigstore-3.6.3.ebuild delete mode 100644 dev-python/simsimd/simsimd-6.4.5.ebuild delete mode 100644 dev-python/snowballstemmer/snowballstemmer-2.2.0-r1.ebuild delete mode 100644 dev-python/testtools/testtools-2.7.2.ebuild delete mode 100644 dev-python/thrift/thrift-0.21.0.ebuild delete mode 100644 dev-python/tokenize-rt/tokenize-rt-6.1.0.ebuild delete mode 100644 dev-python/trimesh/trimesh-4.6.9.ebuild delete mode 100644 dev-python/trio/trio-0.29.0.ebuild create mode 100644 dev-python/twisted/files/twisted-25.5.0-rebuild.patch create mode 100644 dev-python/twisted/twisted-25.5.0.ebuild delete mode 100644 dev-python/types-setuptools/types-setuptools-80.4.0.20250511.ebuild create mode 100644 dev-python/uv-build/uv-build-0.7.12.ebuild create mode 100644 dev-python/uv/uv-0.7.12.ebuild (limited to 'dev-python') diff --git a/dev-python/aiohttp/Manifest b/dev-python/aiohttp/Manifest index 4ed7a044d973..58d35a776e17 100644 --- a/dev-python/aiohttp/Manifest +++ b/dev-python/aiohttp/Manifest @@ -1,8 +1,4 @@ DIST aiohttp-3.11.14.tar.gz 7676994 BLAKE2B e8e048c01db9600df3bdc7bdc6e5066094b4575d08fef3ec7d0a78763a701cd3501dce435b80d3fbea28d2e7bf4110a5cc9e0ccec2bc3745835cadcb27528404 SHA512 38e51d3640b533d9bd639a59657bf7affbfc0b1a9dc40d77175d6528044e23b1e524589b9a10e0159eb8f9ba29e96b3e67529a9d11f1c53760a70800d813d13f DIST aiohttp-3.11.18.tar.gz 7678653 BLAKE2B 5886778fd0456ef40f1da5abd3d6a3864db03fad01d53755bb34afd77152da338480ba534c5dc1574bd5aa178943ec52814f1ceff736d668868803b19f6c102f SHA512 9b25ad5f9800cd84014c55f6a4f7ac217a788a43e301a83c18667b6f294388adf53c81360fd3219007b10b42ce165331dad1907582dc9d3081fd8585b5bcd042 -DIST aiohttp-3.12.0.tar.gz 7762804 BLAKE2B 2fa51165917038cc8442cc4dab74373b47862cc1eca54a33e2a4b0f46c0362ca984614fec8615b4d89f065af039de9576b00c1c5b566c1758d608ef1e43702dc SHA512 8b3ad37b9aa73eb8961a397cc62dadea8ff286e2de1d91d9cb94f9ac86ae0fbd0127a6fa2867710f2e9accae1093892da4b87c17d5e7c24f8031670a3585d41b -DIST aiohttp-3.12.2.tar.gz 7780423 BLAKE2B 47c7dccb2666c4641bbcfdba4f13f2f423e84d3043163dd9c2436aa32ccb2698b2a6ceb7c0ccf5defc98c1fb5799b39849a0a25f8aa37aaa4aab186b2b936c68 SHA512 8c6aed54ae385962fb1ad34f6f80f322612d7aec6c65845c56e8047b6b4e4102f9044964ac34ed765a09799bb6753e980ce51bf8194ce2e1ec7a9d8dd7c5cbd1 -DIST aiohttp-3.12.4.tar.gz 7781788 BLAKE2B ccaa2656ef0e68687bad17608557413d8139b516e9e56dde473147f2c449ff1066878934a3a77b796e304c8ce0d48bf81c13ca65468187fdd686e51426fe8f9c SHA512 86e88a3be0d6a4993dbcf5a28bebbe19ded15466d539c6933cf2c8990bb684d436673685e419662efe1655a315e31642a60805d348ead9eeda909522720b8434 -DIST aiohttp-3.12.6.tar.gz 7784449 BLAKE2B 1ebc5b2e991e8ccd9b37552d0b3ae80debfcc6d7000dc83e9ba308b25e9694ad1c1a9aff34469eef4bc2faa0b9d25d971ab854891fb1c63823266cb54693dddb SHA512 e73e57cf185bdf52e020856c9254be407663d75eeeb52e6ac3c0d57a77719d82539006347980319c7eed79ff8f3692355ade00d82929ed11a35ddb718b1cebca -DIST aiohttp-3.12.7.tar.gz 7806530 BLAKE2B 8d14e0c1e4d33e5c8c0e1899d26c15d35e545170f4b765a9168f8e741a703e3c4792ac99ce13fbba03ab33335a30cb230a8a588b53066a294d729eb0deb13d94 SHA512 1de4933912a3f5e599b6600785627f7ada49f511ace1265eacb303cdd5acd52c34f33c8d202e3f2949aa303fc25e73976f938600c3892f19d6b8e754275f1a98 +DIST aiohttp-3.12.10.tar.gz 7810445 BLAKE2B facab7e18040a9d2cdb8281426b54d2d7cbbc2ba0c7dc41c90d93ebf45566d5a305efe453ca6ce181c07a47b7f67b6f271922e8eb2926060228fc42ad62f3f24 SHA512 a58a52c992b3a1ae3e2d307b0113efe52a26a84b40196bc1ec9e2e167c38c5223371cd2a78a3077fb5e1d987e55b498e3af9dc6a64141ebfb9e338793fed3f4d DIST aiohttp-3.12.9.tar.gz 7810207 BLAKE2B 352fea5e4580781626e414118d24bc7817bb488d2dd83d0690e67f8308fa12c9d4dd4a9ab80e1222fa06b37047469a5c87c33b7b5aea84627ec7151151cd96f4 SHA512 afd7e25a3e762eecf96a7e335bfb42e5becc5df3eb4de73c0c40995508ec736a100375fdc70d51e04f2b4e0f154a20a10d5090f9c0b11aae662d3bf23f49b9a4 diff --git a/dev-python/aiohttp/aiohttp-3.12.0.ebuild b/dev-python/aiohttp/aiohttp-3.12.0.ebuild deleted file mode 100644 index edc60741fa0f..000000000000 --- a/dev-python/aiohttp/aiohttp-3.12.0.ebuild +++ /dev/null @@ -1,155 +0,0 @@ -# Copyright 1999-2025 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_{9,10,11,12,13} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="HTTP client/server for asyncio" -HOMEPAGE=" - https://github.com/aio-libs/aiohttp/ - https://pypi.org/project/aiohttp/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~riscv ~x86" -IUSE="+native-extensions test-rust" - -DEPEND=" - native-extensions? ( - $(python_gen_cond_dep ' - net-libs/llhttp:= - ' 'python3*') - ) -" -RDEPEND=" - ${DEPEND} - >=dev-python/aiodns-3.3.0[${PYTHON_USEDEP}] - >=dev-python/aiohappyeyeballs-2.5.0[${PYTHON_USEDEP}] - >=dev-python/aiosignal-1.1.2[${PYTHON_USEDEP}] - >=dev-python/attrs-17.3.0[${PYTHON_USEDEP}] - dev-python/brotlicffi[${PYTHON_USEDEP}] - >=dev-python/frozenlist-1.1.1[${PYTHON_USEDEP}] - >=dev-python/multidict-4.5.0[${PYTHON_USEDEP}] - >=dev-python/propcache-0.2.0[${PYTHON_USEDEP}] - >=dev-python/yarl-1.17.0[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/multidict-4.5.0[${PYTHON_USEDEP}] - native-extensions? ( - >=dev-python/cython-3.1.1[${PYTHON_USEDEP}] - dev-python/pkgconfig[${PYTHON_USEDEP}] - ) - test? ( - dev-python/blockbuster[${PYTHON_USEDEP}] - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/isal[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - dev-python/re-assert[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/time-machine[${PYTHON_USEDEP}] - ' 'python3*') - dev-python/zlib-ng[${PYTHON_USEDEP}] - www-servers/gunicorn[${PYTHON_USEDEP}] - test-rust? ( - dev-python/trustme[${PYTHON_USEDEP}] - ) - ) -" - -DOCS=( CHANGES.rst CONTRIBUTORS.txt README.rst ) - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - distutils-r1_src_prepare - - # increase the timeout a little - sed -e '/abs=/s/0.001/0.01/' -i tests/test_helpers.py || die - # xfail_strict fails on py3.10 - sed -i -e '/--cov/d' -e '/pytest_cov/d' -e '/xfail_strict/d' setup.cfg || die - sed -i -e 's:-Werror::' Makefile || die - # remove vendored llhttp - rm -r vendor || die -} - -python_configure() { - # check for .install-cython, so that we do this only once - if [[ ! -f .install-cython && ${EPYTHON} != pypy3 ]] && - use native-extensions - then - # force rehashing first - emake requirements/.hash/cython.txt.hash - > .update-pip || die - > .install-cython || die - emake cythonize - fi -} - -python_compile() { - local -x AIOHTTP_USE_SYSTEM_DEPS=1 - # implicitly disabled for pypy3 - if ! use native-extensions; then - local -x AIOHTTP_NO_EXTENSIONS=1 - fi - - distutils-r1_python_compile -} - -python_test() { - local EPYTEST_IGNORE=( - # proxy is not packaged - tests/test_proxy_functional.py - # python_on_whales is not packaged - tests/autobahn/test_autobahn.py - # benchmarks - tests/test_benchmarks_client.py - tests/test_benchmarks_client_request.py - tests/test_benchmarks_client_ws.py - tests/test_benchmarks_cookiejar.py - tests/test_benchmarks_http_websocket.py - tests/test_benchmarks_http_writer.py - tests/test_benchmarks_web_fileresponse.py - tests/test_benchmarks_web_middleware.py - tests/test_benchmarks_web_response.py - tests/test_benchmarks_web_urldispatcher.py - ) - - local EPYTEST_DESELECT=( - # Internet - tests/test_client_session.py::test_client_session_timeout_zero - # broken by irrelevant deprecation warnings - tests/test_circular_imports.py::test_no_warnings - ) - - case ${EPYTHON} in - python3.14) - EPYTEST_DESELECT+=( - # TODO - tests/test_cookiejar.py::test_pickle_format - # different exception message - tests/test_client_functional.py::test_aiohttp_request_coroutine - ) - ;; - esac - - # upstream unconditionally blocks building C extensions - # on PyPy3 but the test suite needs an explicit switch - if [[ ${EPYTHON} == pypy3* ]] || ! use native-extensions; then - local -x AIOHTTP_NO_EXTENSIONS=1 - fi - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=pytest_mock,xdist.plugin - rm -rf aiohttp || die - epytest -m "not internal and not dev_mode" \ - -p rerunfailures --reruns=5 -} diff --git a/dev-python/aiohttp/aiohttp-3.12.10.ebuild b/dev-python/aiohttp/aiohttp-3.12.10.ebuild new file mode 100644 index 000000000000..ecd1fee92d09 --- /dev/null +++ b/dev-python/aiohttp/aiohttp-3.12.10.ebuild @@ -0,0 +1,156 @@ +# Copyright 1999-2025 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_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="HTTP client/server for asyncio" +HOMEPAGE=" + https://github.com/aio-libs/aiohttp/ + https://pypi.org/project/aiohttp/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~riscv ~s390 ~x86" +IUSE="+native-extensions test-rust" + +DEPEND=" + native-extensions? ( + $(python_gen_cond_dep ' + net-libs/llhttp:= + ' 'python3*') + ) +" +RDEPEND=" + ${DEPEND} + >=dev-python/aiodns-3.3.0[${PYTHON_USEDEP}] + >=dev-python/aiohappyeyeballs-2.5.0[${PYTHON_USEDEP}] + >=dev-python/aiosignal-1.1.2[${PYTHON_USEDEP}] + >=dev-python/attrs-17.3.0[${PYTHON_USEDEP}] + dev-python/brotlicffi[${PYTHON_USEDEP}] + >=dev-python/frozenlist-1.1.1[${PYTHON_USEDEP}] + >=dev-python/multidict-4.5.0[${PYTHON_USEDEP}] + >=dev-python/propcache-0.2.0[${PYTHON_USEDEP}] + >=dev-python/yarl-1.17.0[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/multidict-4.5.0[${PYTHON_USEDEP}] + native-extensions? ( + >=dev-python/cython-3.1.1[${PYTHON_USEDEP}] + dev-python/pkgconfig[${PYTHON_USEDEP}] + ) + test? ( + dev-python/blockbuster[${PYTHON_USEDEP}] + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/isal[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + dev-python/re-assert[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/time-machine[${PYTHON_USEDEP}] + ' 'python3*') + dev-python/zlib-ng[${PYTHON_USEDEP}] + www-servers/gunicorn[${PYTHON_USEDEP}] + test-rust? ( + dev-python/trustme[${PYTHON_USEDEP}] + ) + ) +" + +DOCS=( CHANGES.rst CONTRIBUTORS.txt README.rst ) + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # increase the timeout a little + sed -e '/abs=/s/0.001/0.01/' -i tests/test_helpers.py || die + # xfail_strict fails on py3.10 + sed -i -e '/--cov/d' -e '/pytest_cov/d' -e '/xfail_strict/d' setup.cfg || die + sed -i -e 's:-Werror::' Makefile || die + # remove vendored llhttp + rm -r vendor || die +} + +python_configure() { + # check for .install-cython, so that we do this only once + if [[ ! -f .install-cython && ${EPYTHON} != pypy3 ]] && + use native-extensions + then + # force rehashing first + emake requirements/.hash/cython.txt.hash + > .update-pip || die + > .install-cython || die + emake cythonize + fi +} + +python_compile() { + local -x AIOHTTP_USE_SYSTEM_DEPS=1 + # implicitly disabled for pypy3 + if [[ ${EPYTHON} == pypy3* ]] || ! use native-extensions; then + local -x AIOHTTP_NO_EXTENSIONS=1 + fi + + distutils-r1_python_compile +} + +python_test() { + local EPYTEST_IGNORE=( + # proxy is not packaged + tests/test_proxy_functional.py + # python_on_whales is not packaged + tests/autobahn/test_autobahn.py + # benchmarks + tests/test_benchmarks_client.py + tests/test_benchmarks_client_request.py + tests/test_benchmarks_client_ws.py + tests/test_benchmarks_cookiejar.py + tests/test_benchmarks_http_websocket.py + tests/test_benchmarks_http_writer.py + tests/test_benchmarks_web_fileresponse.py + tests/test_benchmarks_web_middleware.py + tests/test_benchmarks_web_response.py + tests/test_benchmarks_web_urldispatcher.py + ) + + local EPYTEST_DESELECT=( + # Internet + tests/test_client_session.py::test_client_session_timeout_zero + tests/test_connector.py::test_tcp_connector_ssl_shutdown_timeout_passed_to_create_connection + # broken by irrelevant deprecation warnings + tests/test_circular_imports.py::test_no_warnings + ) + + case ${EPYTHON} in + python3.14) + EPYTEST_DESELECT+=( + # TODO + tests/test_cookiejar.py::test_pickle_format + # different exception message + tests/test_client_functional.py::test_aiohttp_request_coroutine + ) + ;; + esac + + # upstream unconditionally blocks building C extensions + # on PyPy3 but the test suite needs an explicit switch + if [[ ${EPYTHON} == pypy3* ]] || ! use native-extensions; then + local -x AIOHTTP_NO_EXTENSIONS=1 + fi + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=pytest_mock,xdist.plugin + rm -rf aiohttp || die + epytest -m "not internal and not dev_mode" \ + -p rerunfailures --reruns=5 +} diff --git a/dev-python/aiohttp/aiohttp-3.12.2.ebuild b/dev-python/aiohttp/aiohttp-3.12.2.ebuild deleted file mode 100644 index edc60741fa0f..000000000000 --- a/dev-python/aiohttp/aiohttp-3.12.2.ebuild +++ /dev/null @@ -1,155 +0,0 @@ -# Copyright 1999-2025 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_{9,10,11,12,13} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="HTTP client/server for asyncio" -HOMEPAGE=" - https://github.com/aio-libs/aiohttp/ - https://pypi.org/project/aiohttp/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~riscv ~x86" -IUSE="+native-extensions test-rust" - -DEPEND=" - native-extensions? ( - $(python_gen_cond_dep ' - net-libs/llhttp:= - ' 'python3*') - ) -" -RDEPEND=" - ${DEPEND} - >=dev-python/aiodns-3.3.0[${PYTHON_USEDEP}] - >=dev-python/aiohappyeyeballs-2.5.0[${PYTHON_USEDEP}] - >=dev-python/aiosignal-1.1.2[${PYTHON_USEDEP}] - >=dev-python/attrs-17.3.0[${PYTHON_USEDEP}] - dev-python/brotlicffi[${PYTHON_USEDEP}] - >=dev-python/frozenlist-1.1.1[${PYTHON_USEDEP}] - >=dev-python/multidict-4.5.0[${PYTHON_USEDEP}] - >=dev-python/propcache-0.2.0[${PYTHON_USEDEP}] - >=dev-python/yarl-1.17.0[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/multidict-4.5.0[${PYTHON_USEDEP}] - native-extensions? ( - >=dev-python/cython-3.1.1[${PYTHON_USEDEP}] - dev-python/pkgconfig[${PYTHON_USEDEP}] - ) - test? ( - dev-python/blockbuster[${PYTHON_USEDEP}] - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/isal[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - dev-python/re-assert[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/time-machine[${PYTHON_USEDEP}] - ' 'python3*') - dev-python/zlib-ng[${PYTHON_USEDEP}] - www-servers/gunicorn[${PYTHON_USEDEP}] - test-rust? ( - dev-python/trustme[${PYTHON_USEDEP}] - ) - ) -" - -DOCS=( CHANGES.rst CONTRIBUTORS.txt README.rst ) - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - distutils-r1_src_prepare - - # increase the timeout a little - sed -e '/abs=/s/0.001/0.01/' -i tests/test_helpers.py || die - # xfail_strict fails on py3.10 - sed -i -e '/--cov/d' -e '/pytest_cov/d' -e '/xfail_strict/d' setup.cfg || die - sed -i -e 's:-Werror::' Makefile || die - # remove vendored llhttp - rm -r vendor || die -} - -python_configure() { - # check for .install-cython, so that we do this only once - if [[ ! -f .install-cython && ${EPYTHON} != pypy3 ]] && - use native-extensions - then - # force rehashing first - emake requirements/.hash/cython.txt.hash - > .update-pip || die - > .install-cython || die - emake cythonize - fi -} - -python_compile() { - local -x AIOHTTP_USE_SYSTEM_DEPS=1 - # implicitly disabled for pypy3 - if ! use native-extensions; then - local -x AIOHTTP_NO_EXTENSIONS=1 - fi - - distutils-r1_python_compile -} - -python_test() { - local EPYTEST_IGNORE=( - # proxy is not packaged - tests/test_proxy_functional.py - # python_on_whales is not packaged - tests/autobahn/test_autobahn.py - # benchmarks - tests/test_benchmarks_client.py - tests/test_benchmarks_client_request.py - tests/test_benchmarks_client_ws.py - tests/test_benchmarks_cookiejar.py - tests/test_benchmarks_http_websocket.py - tests/test_benchmarks_http_writer.py - tests/test_benchmarks_web_fileresponse.py - tests/test_benchmarks_web_middleware.py - tests/test_benchmarks_web_response.py - tests/test_benchmarks_web_urldispatcher.py - ) - - local EPYTEST_DESELECT=( - # Internet - tests/test_client_session.py::test_client_session_timeout_zero - # broken by irrelevant deprecation warnings - tests/test_circular_imports.py::test_no_warnings - ) - - case ${EPYTHON} in - python3.14) - EPYTEST_DESELECT+=( - # TODO - tests/test_cookiejar.py::test_pickle_format - # different exception message - tests/test_client_functional.py::test_aiohttp_request_coroutine - ) - ;; - esac - - # upstream unconditionally blocks building C extensions - # on PyPy3 but the test suite needs an explicit switch - if [[ ${EPYTHON} == pypy3* ]] || ! use native-extensions; then - local -x AIOHTTP_NO_EXTENSIONS=1 - fi - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=pytest_mock,xdist.plugin - rm -rf aiohttp || die - epytest -m "not internal and not dev_mode" \ - -p rerunfailures --reruns=5 -} diff --git a/dev-python/aiohttp/aiohttp-3.12.4.ebuild b/dev-python/aiohttp/aiohttp-3.12.4.ebuild deleted file mode 100644 index edc60741fa0f..000000000000 --- a/dev-python/aiohttp/aiohttp-3.12.4.ebuild +++ /dev/null @@ -1,155 +0,0 @@ -# Copyright 1999-2025 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_{9,10,11,12,13} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="HTTP client/server for asyncio" -HOMEPAGE=" - https://github.com/aio-libs/aiohttp/ - https://pypi.org/project/aiohttp/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~riscv ~x86" -IUSE="+native-extensions test-rust" - -DEPEND=" - native-extensions? ( - $(python_gen_cond_dep ' - net-libs/llhttp:= - ' 'python3*') - ) -" -RDEPEND=" - ${DEPEND} - >=dev-python/aiodns-3.3.0[${PYTHON_USEDEP}] - >=dev-python/aiohappyeyeballs-2.5.0[${PYTHON_USEDEP}] - >=dev-python/aiosignal-1.1.2[${PYTHON_USEDEP}] - >=dev-python/attrs-17.3.0[${PYTHON_USEDEP}] - dev-python/brotlicffi[${PYTHON_USEDEP}] - >=dev-python/frozenlist-1.1.1[${PYTHON_USEDEP}] - >=dev-python/multidict-4.5.0[${PYTHON_USEDEP}] - >=dev-python/propcache-0.2.0[${PYTHON_USEDEP}] - >=dev-python/yarl-1.17.0[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/multidict-4.5.0[${PYTHON_USEDEP}] - native-extensions? ( - >=dev-python/cython-3.1.1[${PYTHON_USEDEP}] - dev-python/pkgconfig[${PYTHON_USEDEP}] - ) - test? ( - dev-python/blockbuster[${PYTHON_USEDEP}] - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/isal[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - dev-python/re-assert[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/time-machine[${PYTHON_USEDEP}] - ' 'python3*') - dev-python/zlib-ng[${PYTHON_USEDEP}] - www-servers/gunicorn[${PYTHON_USEDEP}] - test-rust? ( - dev-python/trustme[${PYTHON_USEDEP}] - ) - ) -" - -DOCS=( CHANGES.rst CONTRIBUTORS.txt README.rst ) - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - distutils-r1_src_prepare - - # increase the timeout a little - sed -e '/abs=/s/0.001/0.01/' -i tests/test_helpers.py || die - # xfail_strict fails on py3.10 - sed -i -e '/--cov/d' -e '/pytest_cov/d' -e '/xfail_strict/d' setup.cfg || die - sed -i -e 's:-Werror::' Makefile || die - # remove vendored llhttp - rm -r vendor || die -} - -python_configure() { - # check for .install-cython, so that we do this only once - if [[ ! -f .install-cython && ${EPYTHON} != pypy3 ]] && - use native-extensions - then - # force rehashing first - emake requirements/.hash/cython.txt.hash - > .update-pip || die - > .install-cython || die - emake cythonize - fi -} - -python_compile() { - local -x AIOHTTP_USE_SYSTEM_DEPS=1 - # implicitly disabled for pypy3 - if ! use native-extensions; then - local -x AIOHTTP_NO_EXTENSIONS=1 - fi - - distutils-r1_python_compile -} - -python_test() { - local EPYTEST_IGNORE=( - # proxy is not packaged - tests/test_proxy_functional.py - # python_on_whales is not packaged - tests/autobahn/test_autobahn.py - # benchmarks - tests/test_benchmarks_client.py - tests/test_benchmarks_client_request.py - tests/test_benchmarks_client_ws.py - tests/test_benchmarks_cookiejar.py - tests/test_benchmarks_http_websocket.py - tests/test_benchmarks_http_writer.py - tests/test_benchmarks_web_fileresponse.py - tests/test_benchmarks_web_middleware.py - tests/test_benchmarks_web_response.py - tests/test_benchmarks_web_urldispatcher.py - ) - - local EPYTEST_DESELECT=( - # Internet - tests/test_client_session.py::test_client_session_timeout_zero - # broken by irrelevant deprecation warnings - tests/test_circular_imports.py::test_no_warnings - ) - - case ${EPYTHON} in - python3.14) - EPYTEST_DESELECT+=( - # TODO - tests/test_cookiejar.py::test_pickle_format - # different exception message - tests/test_client_functional.py::test_aiohttp_request_coroutine - ) - ;; - esac - - # upstream unconditionally blocks building C extensions - # on PyPy3 but the test suite needs an explicit switch - if [[ ${EPYTHON} == pypy3* ]] || ! use native-extensions; then - local -x AIOHTTP_NO_EXTENSIONS=1 - fi - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=pytest_mock,xdist.plugin - rm -rf aiohttp || die - epytest -m "not internal and not dev_mode" \ - -p rerunfailures --reruns=5 -} diff --git a/dev-python/aiohttp/aiohttp-3.12.6.ebuild b/dev-python/aiohttp/aiohttp-3.12.6.ebuild deleted file mode 100644 index e78bfc2e4845..000000000000 --- a/dev-python/aiohttp/aiohttp-3.12.6.ebuild +++ /dev/null @@ -1,156 +0,0 @@ -# Copyright 1999-2025 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_{9,10,11,12,13} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="HTTP client/server for asyncio" -HOMEPAGE=" - https://github.com/aio-libs/aiohttp/ - https://pypi.org/project/aiohttp/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~riscv ~x86" -IUSE="+native-extensions test-rust" - -DEPEND=" - native-extensions? ( - $(python_gen_cond_dep ' - net-libs/llhttp:= - ' 'python3*') - ) -" -RDEPEND=" - ${DEPEND} - >=dev-python/aiodns-3.3.0[${PYTHON_USEDEP}] - >=dev-python/aiohappyeyeballs-2.5.0[${PYTHON_USEDEP}] - >=dev-python/aiosignal-1.1.2[${PYTHON_USEDEP}] - >=dev-python/attrs-17.3.0[${PYTHON_USEDEP}] - dev-python/brotlicffi[${PYTHON_USEDEP}] - >=dev-python/frozenlist-1.1.1[${PYTHON_USEDEP}] - >=dev-python/multidict-4.5.0[${PYTHON_USEDEP}] - >=dev-python/propcache-0.2.0[${PYTHON_USEDEP}] - >=dev-python/yarl-1.17.0[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/multidict-4.5.0[${PYTHON_USEDEP}] - native-extensions? ( - >=dev-python/cython-3.1.1[${PYTHON_USEDEP}] - dev-python/pkgconfig[${PYTHON_USEDEP}] - ) - test? ( - dev-python/blockbuster[${PYTHON_USEDEP}] - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/isal[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - dev-python/re-assert[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/time-machine[${PYTHON_USEDEP}] - ' 'python3*') - dev-python/zlib-ng[${PYTHON_USEDEP}] - www-servers/gunicorn[${PYTHON_USEDEP}] - test-rust? ( - dev-python/trustme[${PYTHON_USEDEP}] - ) - ) -" - -DOCS=( CHANGES.rst CONTRIBUTORS.txt README.rst ) - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - distutils-r1_src_prepare - - # increase the timeout a little - sed -e '/abs=/s/0.001/0.01/' -i tests/test_helpers.py || die - # xfail_strict fails on py3.10 - sed -i -e '/--cov/d' -e '/pytest_cov/d' -e '/xfail_strict/d' setup.cfg || die - sed -i -e 's:-Werror::' Makefile || die - # remove vendored llhttp - rm -r vendor || die -} - -python_configure() { - # check for .install-cython, so that we do this only once - if [[ ! -f .install-cython && ${EPYTHON} != pypy3 ]] && - use native-extensions - then - # force rehashing first - emake requirements/.hash/cython.txt.hash - > .update-pip || die - > .install-cython || die - emake cythonize - fi -} - -python_compile() { - local -x AIOHTTP_USE_SYSTEM_DEPS=1 - # implicitly disabled for pypy3 - if [[ ${EPYTHON} == pypy3* ]] || ! use native-extensions; then - local -x AIOHTTP_NO_EXTENSIONS=1 - fi - - distutils-r1_python_compile -} - -python_test() { - local EPYTEST_IGNORE=( - # proxy is not packaged - tests/test_proxy_functional.py - # python_on_whales is not packaged - tests/autobahn/test_autobahn.py - # benchmarks - tests/test_benchmarks_client.py - tests/test_benchmarks_client_request.py - tests/test_benchmarks_client_ws.py - tests/test_benchmarks_cookiejar.py - tests/test_benchmarks_http_websocket.py - tests/test_benchmarks_http_writer.py - tests/test_benchmarks_web_fileresponse.py - tests/test_benchmarks_web_middleware.py - tests/test_benchmarks_web_response.py - tests/test_benchmarks_web_urldispatcher.py - ) - - local EPYTEST_DESELECT=( - # Internet - tests/test_client_session.py::test_client_session_timeout_zero - tests/test_connector.py::test_tcp_connector_ssl_shutdown_timeout_passed_to_create_connection - # broken by irrelevant deprecation warnings - tests/test_circular_imports.py::test_no_warnings - ) - - case ${EPYTHON} in - python3.14) - EPYTEST_DESELECT+=( - # TODO - tests/test_cookiejar.py::test_pickle_format - # different exception message - tests/test_client_functional.py::test_aiohttp_request_coroutine - ) - ;; - esac - - # upstream unconditionally blocks building C extensions - # on PyPy3 but the test suite needs an explicit switch - if [[ ${EPYTHON} == pypy3* ]] || ! use native-extensions; then - local -x AIOHTTP_NO_EXTENSIONS=1 - fi - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=pytest_mock,xdist.plugin - rm -rf aiohttp || die - epytest -m "not internal and not dev_mode" \ - -p rerunfailures --reruns=5 -} diff --git a/dev-python/aiohttp/aiohttp-3.12.7.ebuild b/dev-python/aiohttp/aiohttp-3.12.7.ebuild deleted file mode 100644 index e78bfc2e4845..000000000000 --- a/dev-python/aiohttp/aiohttp-3.12.7.ebuild +++ /dev/null @@ -1,156 +0,0 @@ -# Copyright 1999-2025 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_{9,10,11,12,13} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="HTTP client/server for asyncio" -HOMEPAGE=" - https://github.com/aio-libs/aiohttp/ - https://pypi.org/project/aiohttp/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~riscv ~x86" -IUSE="+native-extensions test-rust" - -DEPEND=" - native-extensions? ( - $(python_gen_cond_dep ' - net-libs/llhttp:= - ' 'python3*') - ) -" -RDEPEND=" - ${DEPEND} - >=dev-python/aiodns-3.3.0[${PYTHON_USEDEP}] - >=dev-python/aiohappyeyeballs-2.5.0[${PYTHON_USEDEP}] - >=dev-python/aiosignal-1.1.2[${PYTHON_USEDEP}] - >=dev-python/attrs-17.3.0[${PYTHON_USEDEP}] - dev-python/brotlicffi[${PYTHON_USEDEP}] - >=dev-python/frozenlist-1.1.1[${PYTHON_USEDEP}] - >=dev-python/multidict-4.5.0[${PYTHON_USEDEP}] - >=dev-python/propcache-0.2.0[${PYTHON_USEDEP}] - >=dev-python/yarl-1.17.0[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/multidict-4.5.0[${PYTHON_USEDEP}] - native-extensions? ( - >=dev-python/cython-3.1.1[${PYTHON_USEDEP}] - dev-python/pkgconfig[${PYTHON_USEDEP}] - ) - test? ( - dev-python/blockbuster[${PYTHON_USEDEP}] - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/isal[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - dev-python/re-assert[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/time-machine[${PYTHON_USEDEP}] - ' 'python3*') - dev-python/zlib-ng[${PYTHON_USEDEP}] - www-servers/gunicorn[${PYTHON_USEDEP}] - test-rust? ( - dev-python/trustme[${PYTHON_USEDEP}] - ) - ) -" - -DOCS=( CHANGES.rst CONTRIBUTORS.txt README.rst ) - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - distutils-r1_src_prepare - - # increase the timeout a little - sed -e '/abs=/s/0.001/0.01/' -i tests/test_helpers.py || die - # xfail_strict fails on py3.10 - sed -i -e '/--cov/d' -e '/pytest_cov/d' -e '/xfail_strict/d' setup.cfg || die - sed -i -e 's:-Werror::' Makefile || die - # remove vendored llhttp - rm -r vendor || die -} - -python_configure() { - # check for .install-cython, so that we do this only once - if [[ ! -f .install-cython && ${EPYTHON} != pypy3 ]] && - use native-extensions - then - # force rehashing first - emake requirements/.hash/cython.txt.hash - > .update-pip || die - > .install-cython || die - emake cythonize - fi -} - -python_compile() { - local -x AIOHTTP_USE_SYSTEM_DEPS=1 - # implicitly disabled for pypy3 - if [[ ${EPYTHON} == pypy3* ]] || ! use native-extensions; then - local -x AIOHTTP_NO_EXTENSIONS=1 - fi - - distutils-r1_python_compile -} - -python_test() { - local EPYTEST_IGNORE=( - # proxy is not packaged - tests/test_proxy_functional.py - # python_on_whales is not packaged - tests/autobahn/test_autobahn.py - # benchmarks - tests/test_benchmarks_client.py - tests/test_benchmarks_client_request.py - tests/test_benchmarks_client_ws.py - tests/test_benchmarks_cookiejar.py - tests/test_benchmarks_http_websocket.py - tests/test_benchmarks_http_writer.py - tests/test_benchmarks_web_fileresponse.py - tests/test_benchmarks_web_middleware.py - tests/test_benchmarks_web_response.py - tests/test_benchmarks_web_urldispatcher.py - ) - - local EPYTEST_DESELECT=( - # Internet - tests/test_client_session.py::test_client_session_timeout_zero - tests/test_connector.py::test_tcp_connector_ssl_shutdown_timeout_passed_to_create_connection - # broken by irrelevant deprecation warnings - tests/test_circular_imports.py::test_no_warnings - ) - - case ${EPYTHON} in - python3.14) - EPYTEST_DESELECT+=( - # TODO - tests/test_cookiejar.py::test_pickle_format - # different exception message - tests/test_client_functional.py::test_aiohttp_request_coroutine - ) - ;; - esac - - # upstream unconditionally blocks building C extensions - # on PyPy3 but the test suite needs an explicit switch - if [[ ${EPYTHON} == pypy3* ]] || ! use native-extensions; then - local -x AIOHTTP_NO_EXTENSIONS=1 - fi - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=pytest_mock,xdist.plugin - rm -rf aiohttp || die - epytest -m "not internal and not dev_mode" \ - -p rerunfailures --reruns=5 -} diff --git a/dev-python/anyioutils/anyioutils-0.7.3.ebuild b/dev-python/anyioutils/anyioutils-0.7.3.ebuild index 093e80bb9d9e..e763681286e6 100644 --- a/dev-python/anyioutils/anyioutils-0.7.3.ebuild +++ b/dev-python/anyioutils/anyioutils-0.7.3.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" IUSE="test-rust" RDEPEND=" diff --git a/dev-python/asyncssh/asyncssh-2.21.0.ebuild b/dev-python/asyncssh/asyncssh-2.21.0.ebuild index d92a88e31aab..1da9fe4b3033 100644 --- a/dev-python/asyncssh/asyncssh-2.21.0.ebuild +++ b/dev-python/asyncssh/asyncssh-2.21.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) +PYTHON_COMPAT=( python3_{11..14} ) inherit distutils-r1 optfeature pypi diff --git a/dev-python/autopep8/autopep8-2.3.2.ebuild b/dev-python/autopep8/autopep8-2.3.2.ebuild index e96d9636fc73..5a21fd4f86a2 100644 --- a/dev-python/autopep8/autopep8-2.3.2.ebuild +++ b/dev-python/autopep8/autopep8-2.3.2.ebuild @@ -21,9 +21,6 @@ KEYWORDS="~alpha amd64 arm64 ~ppc ~ppc64 sparc x86 ~amd64-linux ~x86-linux" RDEPEND=" >=dev-python/pycodestyle-2.12.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/tomli[${PYTHON_USEDEP}] - ' 3.10) " distutils_enable_tests pytest diff --git a/dev-python/beartype/Manifest b/dev-python/beartype/Manifest index 5686f89f47bf..032e002c02bf 100644 --- a/dev-python/beartype/Manifest +++ b/dev-python/beartype/Manifest @@ -1,3 +1 @@ -DIST beartype-0.20.2.tar.gz 1410390 BLAKE2B fa1ca4000b7a32fe7fae4d3712060ba29f1bb690fe9c4c28dda91962f1a76aacdc906305de104e77c7bd34c9063e927c190c9f38c6f6aa8a4d790dd39401392c SHA512 72bb5f1a71e59f7f9debe6d10cb96de01c2f5a9f10f59d2d7002ef01320e17a9bf47d070c8e17d9cf82140b3917082f08a5eb442b825fd43b2cacf9c0fc65455 DIST beartype-0.21.0.tar.gz 1437066 BLAKE2B 10c08fc07a87257fc21a85c2ab8c1402044b383051e5ecc919812710f74d277cbe70653a02aeeafc1007da5716bcb78c2024b5debb66b84ab5cdf4c3901fabb4 SHA512 fd3026c15bc1e9fc3985f7c691ad9c4c55532e5148bd3f554f40b7b6a33189af07ce9174c197907b4cd57f41778a436644e6ad610eec942d94c01cabb295c19b -DIST beartype-0.21.0rc0.tar.gz 1437966 BLAKE2B 569eac36552c82e24218385478a48a471757e38f157be926b0a524d2c4366a84d1fd615d41b1d29b8b2dcff534e1a5a48a7b20ed894eecc62b2e31413aae9692 SHA512 e3a3ec779eee910741c2e1ac7514d516a05bf800255141a0cbac70c81a87b0bc25028f41e9b0a65396717631e6707164e0ab1cb39cb7d997f1faa3e85743bc73 diff --git a/dev-python/beartype/beartype-0.20.2.ebuild b/dev-python/beartype/beartype-0.20.2.ebuild deleted file mode 100644 index 06c07d7bc109..000000000000 --- a/dev-python/beartype/beartype-0.20.2.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 2022-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Unbearably fast runtime type checking in pure Python" -HOMEPAGE=" - https://pypi.org/project/beartype/ - https://github.com/beartype/beartype/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm64 ~riscv" - -BDEPEND=" - test? ( - dev-python/click[${PYTHON_USEDEP}] - dev-python/mypy[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/xarray[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # fragile performance test - beartype_test/a00_unit/a70_decor/test_decorwrapper.py::test_wrapper_fail_obj_large - # test for building docs, apparently broken too - beartype_test/a90_func/z90_lib/a00_sphinx - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} diff --git a/dev-python/beartype/beartype-0.21.0.ebuild b/dev-python/beartype/beartype-0.21.0.ebuild index 713b3c05d31f..c6244f7b9f03 100644 --- a/dev-python/beartype/beartype-0.21.0.ebuild +++ b/dev-python/beartype/beartype-0.21.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv" +KEYWORDS="amd64 arm64 ~riscv" BDEPEND=" test? ( diff --git a/dev-python/beartype/beartype-0.21.0_rc0.ebuild b/dev-python/beartype/beartype-0.21.0_rc0.ebuild deleted file mode 100644 index 756a408d7e81..000000000000 --- a/dev-python/beartype/beartype-0.21.0_rc0.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 2022-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Unbearably fast runtime type checking in pure Python" -HOMEPAGE=" - https://pypi.org/project/beartype/ - https://github.com/beartype/beartype/ -" - -LICENSE="MIT" -SLOT="0" - -BDEPEND=" - test? ( - dev-python/click[${PYTHON_USEDEP}] - dev-python/mypy[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/sqlalchemy[${PYTHON_USEDEP}] - dev-python/xarray[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # fragile performance test - beartype_test/a00_unit/a70_decor/test_decorwrapper.py::test_wrapper_fail_obj_large - # test for building docs, apparently broken too - beartype_test/a90_func/z90_lib/a00_sphinx - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} diff --git a/dev-python/bitarray/Manifest b/dev-python/bitarray/Manifest index 33e4b9d318f1..3b5235ae3643 100644 --- a/dev-python/bitarray/Manifest +++ b/dev-python/bitarray/Manifest @@ -1,3 +1 @@ -DIST bitarray-3.3.2.tar.gz 138926 BLAKE2B 35f068220f661bdb0fe2405d770e65bd39d78ae8ca0081aa5ccf58fb3666dec01e39c044901fdd5b3b65aab987768bd683033cd8aaf9d2f7728a8c43493e2101 SHA512 876c16e0a13db40e46ea643bfe82d85bcf33ad7154fb2d0d3c0065507758bdaa556b078e666fb7565402dbd168d591edef3577fa142bca1e53cc60d2aefc5ca0 -DIST bitarray-3.4.1.tar.gz 142769 BLAKE2B 6ca3c770cd672f6003f84e5e66a1fb1891ba1d67ee9411bf284efaf5c9e8983be52054c2b6ef82fcfc25c3930ee549f176c152b2fbd6f906b53d90595b4aa11d SHA512 0dff0142feda9d8203cd40b599d74e35d0dee50a07bcf5e7b6bc3bc7c85d0f16b84f8e6f784c4e909fb702d835d859be3aa28d6fdc90833afea506c9a86b916b DIST bitarray-3.4.2.tar.gz 143756 BLAKE2B a3b6f54d05b5bb9e77d1384202c6ecc869553064bdcbe18d8c135dfc2d5e7ba55abb2f075238ef85a3a2a11da6308eea2bce5d519a94a9de517bd809d4a8facc SHA512 28dc796f1a25833bfc54035bb9e33d923f8e6ea85b5977cbdf0febd5a189cbd561e3295e6dd06a3f2f5df7b55c5bc3a5b8197d8c47af27e6478cbe2f0d8bc876 diff --git a/dev-python/bitarray/bitarray-3.3.2.ebuild b/dev-python/bitarray/bitarray-3.3.2.ebuild deleted file mode 100644 index b30f7f7d65ad..000000000000 --- a/dev-python/bitarray/bitarray-3.3.2.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 1999-2025 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_{9,10,11,12,13} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Efficient arrays of booleans -- C extension" -HOMEPAGE=" - https://github.com/ilanschnell/bitarray/ - https://pypi.org/project/bitarray/ -" - -LICENSE="PSF-2" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 x86 ~amd64-linux ~x86-linux" - -python_test() { - "${EPYTHON}" bitarray/test_bitarray.py -v || die "Tests fail with ${EPYTHON}" -} diff --git a/dev-python/bitarray/bitarray-3.4.1.ebuild b/dev-python/bitarray/bitarray-3.4.1.ebuild deleted file mode 100644 index a510687dc8fd..000000000000 --- a/dev-python/bitarray/bitarray-3.4.1.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 1999-2025 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_{11..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Efficient arrays of booleans -- C extension" -HOMEPAGE=" - https://github.com/ilanschnell/bitarray/ - https://pypi.org/project/bitarray/ -" - -LICENSE="PSF-2" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" - -python_test() { - "${EPYTHON}" bitarray/test_bitarray.py -v || die "Tests fail with ${EPYTHON}" -} diff --git a/dev-python/bitarray/bitarray-3.4.2.ebuild b/dev-python/bitarray/bitarray-3.4.2.ebuild index a510687dc8fd..e988a6477fa3 100644 --- a/dev-python/bitarray/bitarray-3.4.2.ebuild +++ b/dev-python/bitarray/bitarray-3.4.2.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="PSF-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm arm64 x86 ~amd64-linux ~x86-linux" python_test() { "${EPYTHON}" bitarray/test_bitarray.py -v || die "Tests fail with ${EPYTHON}" diff --git a/dev-python/blockbuster/blockbuster-1.5.24.ebuild b/dev-python/blockbuster/blockbuster-1.5.24.ebuild index 3ea6ca173734..d3374594e9b8 100644 --- a/dev-python/blockbuster/blockbuster-1.5.24.ebuild +++ b/dev-python/blockbuster/blockbuster-1.5.24.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~mips ~riscv ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~mips ~riscv ~s390 ~x86" RDEPEND=" $(python_gen_cond_dep ' diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 0faf09e520e4..0d87ee0310da 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -1,7 +1,3 @@ -DIST boto3-1.38.18.gh.tar.gz 943830 BLAKE2B 2605415f7c48efd5322f6a514fb2cf7ede8724b71e8c2f0758c50bf3137a03557c17e12702f628de155e2289e42b912f645a75845921b7674140c8cb49a92d7d SHA512 af9dbf07a2a2dd378fbf5d346b9a4b43d74ccaaf2bc713f738e122ba402529aec6361ca7971101e88a1ed7e39623a69a4d84272505e39fedc5d7a89985cdaf98 DIST boto3-1.38.23.gh.tar.gz 946184 BLAKE2B cf405adb1f47bcaba2185f2c120b8642f8fe2f68a33bc807854ad32bcd7eec99282a800f13a5273225e7fda6e3415ad8ef7ffd173e5cad21539c0f2765836506 SHA512 fdd7c9ae335afa772b919ffa8989323f54a409e8f7e9483528a199e038aad3b341663ec3a72f78c695e2ef44601caf682e3f769c5a869ea2d0545c9dd7a035a8 DIST boto3-1.38.27.gh.tar.gz 948453 BLAKE2B 4f775c14a439b4ca204d6728a7b077ed901e9b92f395871b05e9de29e5ce82ac2ab179f4c1914b3d52627b77a5fae136ad003bbeb2d1460597f9fb7b4a1ab93d SHA512 27ab3c3453b16649d58d6ee11ef62abd6e302889b0dc46067e4370af1e9fb4d75292886471f7c7fb530707c226ae78c42d0268d8cd9730fd27ad72ef1fb69d45 -DIST boto3-1.38.28.gh.tar.gz 949891 BLAKE2B 5368b9f38df2f07aa27ee04a499e30ddf8ee45fdbcb0d4a2f24ea16ea55e7e6f30c35877521c5fd45fd9e17aed0d4c1998c470d64e68221ce18ea3b26818e367 SHA512 8929582df636c5a78d4ed84ad99d4b5803c4ca65842ec19aac59cb7400cc1c2f004e85a1cb422c2ebb44db2168632b7d1ed5c794be8b74207394ab929d64e49b -DIST boto3-1.38.29.gh.tar.gz 950266 BLAKE2B b75f999ab08f9619fda4e3365eecea5f2ef19f4ea6676c86126f71782be97472479bddf6c6ec1dffd15b0cbb22d727cc570917945d10d4e4a1b03ac516e419fe SHA512 cfa2cc23aa9f79e21311ee99fed8fc75dfbea94ffcb66bbd1f08e30b186758d9ef0f3a6448e746f767b7ef22bd25bd73f24dda0fc77c0ecc09135f4b98a82837 -DIST boto3-1.38.30.gh.tar.gz 951105 BLAKE2B 448432b4154d08d1773079a4539910be900c7712adebf72ebd7f4023a228466864037e9a4afbcd36d2d33b14fe85351048ddddd6f20c5b8d4f37c21394cd6f88 SHA512 5d1ee430bfa92367fbf3f9e40bb61f314c8be5210a08d8ef21de8e0195ca796e1b7fc8b9de0fd3ad581cb93ccbb6804f9365ddf181b3baf9dfbff01344e518db -DIST boto3-1.38.31.gh.tar.gz 951526 BLAKE2B 49ad57e422e9937aefab7c20dd6c2cb75b6b637e9cc252af9aef73a4fb29a2e743ce3555ed88ec497c4eb9f9cf4cf3dac72fdb6987ac2468631cb212ffae1696 SHA512 82bbdb103ad20ba5a650d5665bd94bc7bd5f812b2690057d4ce9a23cb0b75fc03cbbf2c2f9b27cd8c9cb9685324c4478559c221e1ee1f60ca875c629bb8d0f17 +DIST boto3-1.38.32.gh.tar.gz 952265 BLAKE2B a753ca5547a44cb8e163bb90b8446ebf535de5cdba95de5034aa6b196c3db8292afe6fe90e01fd1831fb3599b555779abddfd6ea7f07e406864dc70459dc9653 SHA512 6f81b22588e7de521c47b5621f85f69d50516c2b1f741f1dcc0641f3d57f2c7cf4cd40e833a911639b25ce08506eb1def013b0acd8ad50f5c196b894411e5dc0 diff --git a/dev-python/boto3/boto3-1.38.18.ebuild b/dev-python/boto3/boto3-1.38.18.ebuild deleted file mode 100644 index d9f2447325c1..000000000000 --- a/dev-python/boto3/boto3-1.38.18.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit distutils-r1 - -DESCRIPTION="The AWS SDK for Python" -HOMEPAGE=" - https://github.com/boto/boto3/ - https://pypi.org/project/boto3/ -" -SRC_URI=" - https://github.com/boto/boto3/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] - >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] - >=dev-python/s3transfer-0.12.0[${PYTHON_USEDEP}] -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_prepare_all() { - # don't lock versions to narrow ranges - sed -e '/botocore/ d' \ - -e '/jmespath/ d' \ - -e '/s3transfer/ d' \ - -i setup.py || die - - # do not rely on bundled deps in botocore (sic!) - find -name '*.py' -exec sed -i \ - -e 's:from botocore[.]vendored import:import:' \ - -e 's:from botocore[.]vendored[.]:from :' \ - {} + || die - - distutils-r1_python_prepare_all -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest tests/{functional,unit} -} diff --git a/dev-python/boto3/boto3-1.38.23.ebuild b/dev-python/boto3/boto3-1.38.23.ebuild index 2557a5f5330a..bcc890ce00a0 100644 --- a/dev-python/boto3/boto3-1.38.23.ebuild +++ b/dev-python/boto3/boto3-1.38.23.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" RDEPEND=" >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] diff --git a/dev-python/boto3/boto3-1.38.28.ebuild b/dev-python/boto3/boto3-1.38.28.ebuild deleted file mode 100644 index 2557a5f5330a..000000000000 --- a/dev-python/boto3/boto3-1.38.28.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit distutils-r1 - -DESCRIPTION="The AWS SDK for Python" -HOMEPAGE=" - https://github.com/boto/boto3/ - https://pypi.org/project/boto3/ -" -SRC_URI=" - https://github.com/boto/boto3/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] - >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] - >=dev-python/s3transfer-0.13.0[${PYTHON_USEDEP}] -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_prepare_all() { - # don't lock versions to narrow ranges - sed -e '/botocore/ d' \ - -e '/jmespath/ d' \ - -e '/s3transfer/ d' \ - -i setup.py || die - - # do not rely on bundled deps in botocore (sic!) - find -name '*.py' -exec sed -i \ - -e 's:from botocore[.]vendored import:import:' \ - -e 's:from botocore[.]vendored[.]:from :' \ - {} + || die - - distutils-r1_python_prepare_all -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest tests/{functional,unit} -} diff --git a/dev-python/boto3/boto3-1.38.29.ebuild b/dev-python/boto3/boto3-1.38.29.ebuild deleted file mode 100644 index 2557a5f5330a..000000000000 --- a/dev-python/boto3/boto3-1.38.29.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit distutils-r1 - -DESCRIPTION="The AWS SDK for Python" -HOMEPAGE=" - https://github.com/boto/boto3/ - https://pypi.org/project/boto3/ -" -SRC_URI=" - https://github.com/boto/boto3/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] - >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] - >=dev-python/s3transfer-0.13.0[${PYTHON_USEDEP}] -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_prepare_all() { - # don't lock versions to narrow ranges - sed -e '/botocore/ d' \ - -e '/jmespath/ d' \ - -e '/s3transfer/ d' \ - -i setup.py || die - - # do not rely on bundled deps in botocore (sic!) - find -name '*.py' -exec sed -i \ - -e 's:from botocore[.]vendored import:import:' \ - -e 's:from botocore[.]vendored[.]:from :' \ - {} + || die - - distutils-r1_python_prepare_all -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest tests/{functional,unit} -} diff --git a/dev-python/boto3/boto3-1.38.30.ebuild b/dev-python/boto3/boto3-1.38.30.ebuild deleted file mode 100644 index 2557a5f5330a..000000000000 --- a/dev-python/boto3/boto3-1.38.30.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit distutils-r1 - -DESCRIPTION="The AWS SDK for Python" -HOMEPAGE=" - https://github.com/boto/boto3/ - https://pypi.org/project/boto3/ -" -SRC_URI=" - https://github.com/boto/boto3/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] - >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] - >=dev-python/s3transfer-0.13.0[${PYTHON_USEDEP}] -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_prepare_all() { - # don't lock versions to narrow ranges - sed -e '/botocore/ d' \ - -e '/jmespath/ d' \ - -e '/s3transfer/ d' \ - -i setup.py || die - - # do not rely on bundled deps in botocore (sic!) - find -name '*.py' -exec sed -i \ - -e 's:from botocore[.]vendored import:import:' \ - -e 's:from botocore[.]vendored[.]:from :' \ - {} + || die - - distutils-r1_python_prepare_all -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest tests/{functional,unit} -} diff --git a/dev-python/boto3/boto3-1.38.31.ebuild b/dev-python/boto3/boto3-1.38.31.ebuild deleted file mode 100644 index 2557a5f5330a..000000000000 --- a/dev-python/boto3/boto3-1.38.31.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit distutils-r1 - -DESCRIPTION="The AWS SDK for Python" -HOMEPAGE=" - https://github.com/boto/boto3/ - https://pypi.org/project/boto3/ -" -SRC_URI=" - https://github.com/boto/boto3/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] - >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] - >=dev-python/s3transfer-0.13.0[${PYTHON_USEDEP}] -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_prepare_all() { - # don't lock versions to narrow ranges - sed -e '/botocore/ d' \ - -e '/jmespath/ d' \ - -e '/s3transfer/ d' \ - -i setup.py || die - - # do not rely on bundled deps in botocore (sic!) - find -name '*.py' -exec sed -i \ - -e 's:from botocore[.]vendored import:import:' \ - -e 's:from botocore[.]vendored[.]:from :' \ - {} + || die - - distutils-r1_python_prepare_all -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest tests/{functional,unit} -} diff --git a/dev-python/boto3/boto3-1.38.32.ebuild b/dev-python/boto3/boto3-1.38.32.ebuild new file mode 100644 index 000000000000..0e521ede0704 --- /dev/null +++ b/dev-python/boto3/boto3-1.38.32.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..14} ) + +inherit distutils-r1 + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE=" + https://github.com/boto/boto3/ + https://pypi.org/project/boto3/ +" +SRC_URI=" + https://github.com/boto/boto3/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.13.0[${PYTHON_USEDEP}] +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + # do not rely on bundled deps in botocore (sic!) + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_python_prepare_all +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 2506f46ad8f9..620e997f9d64 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -1,7 +1,3 @@ -DIST botocore-1.38.18.gh.tar.gz 14648125 BLAKE2B b77da532e815f8cc270b78c5bfab8a9e9532e0909bab901eee68dca266b457e63fb5b5a844ee9c0ffd6cdeae7df570da7dc59ca50f47c19516d4d2578f07cb1d SHA512 59a1235400068b9246273340af5b198c77cffe5d1da1d2856a3bebc0bb5799329a1986a19dad50e2e85f1063cab920039aa00062a2d2250db9dc7ecc6fa63241 DIST botocore-1.38.23.gh.tar.gz 14649388 BLAKE2B d60b5e5d7fb445f332eed57f3317d3add82dd2123ab4199dc934a9a4d68c2b91947a9e50e3847da4bed06aac402542f2bbe4ea92bd47d72de86be3f8f5571b2f SHA512 d602d19c9160d10aeb06aae911052da50dd66ef0f43e459d5911bed24acba5ac948781f1e8f6f43b377847670f2d074e044f454b043ba33859fc0ca0ba67976a DIST botocore-1.38.27.gh.tar.gz 14666017 BLAKE2B 7527044c1b9586ac39b7cdaf1c51e6e263d3021015023e370a2ef30c600f33efd8e37697982148a99d56ec2e817b564f8c66cb75c1e8bd807858aad38fd6dab5 SHA512 2bc66dc805c610f96f52a8fbd716767dc0084f3d35517cc6c54d45a85330cb74c77becef234b323a72b9a9273211febb2604975fc2dbfaff3a51449123e6ad64 -DIST botocore-1.38.28.gh.tar.gz 14672858 BLAKE2B a51891512f7df3ee1ceab3b9be2ad3a5e4bf8e976d58771268541b93df790c63523201f3c70caed22bd3baaff66980821811b9496620087c588385e14d089c04 SHA512 af48bfce6666c9a1f2175141b1efa7a17dd4dedfa8f1bd68bc3244035a62041eeefac95942ea142928c485912a2a1f25b2f093f1f5993171f9cc232234c5046e -DIST botocore-1.38.29.gh.tar.gz 14676693 BLAKE2B ef5e5c79505f76ad5f55a8bfdf4f9e714a6b028cb8b719ed00ee895923af0495c1b03cb4da0e742e0f4625a978bb235614e58c155f7f050e0ecda396bd7977c1 SHA512 62cb907747a6cdc237dcf86d6bc6e99ecca8ca6650bde2c0d32b83ad9c497bd3bd55913f63127d348ccf75f68ad0a2c5acf85d540a6c7b8ba3cf57751c7c8bbc -DIST botocore-1.38.30.gh.tar.gz 14692617 BLAKE2B de227cdf7c179de0607b4fc136d017d53ece2bf3e7d438707156b244a5168f3cfde8b6655732524e6bd4d1842b93b181515aee6c673c4ee3f02c0e2a3aa36a22 SHA512 106544c97f0da0d32584d0c30208b68061f0053ba17dd5ed99ec1e3146c58202196d3e67e10eceae031810562429e4b8573fc41e4375334aed9b7f317ec1dc3a -DIST botocore-1.38.31.gh.tar.gz 14696507 BLAKE2B fc20321e6c4fda3de21dffdd22147255ee436241891c40ddc35a194e1f01ef622a1155b9b9955e64f60bb1f5aee89fe5632d094e503d65be2e6ff861a4e1aaf5 SHA512 36874ae7463a8b2e4fe037718224baa108df4c80a3d140a955eb9c245c1d05cbe8176b6b25050928516d51f06d69592dcf5781fcae938c6dab24b5489e534a2e +DIST botocore-1.38.32.gh.tar.gz 14700669 BLAKE2B c88446a3fc16de58f0d52fa3ff6f345908951039d16e4616dcd3e918e7c2affd1aab48bc112acf1ad49f253eba4dcedaf01c336ed2eb5d2dcd0e7f35b67cd6a1 SHA512 2222c6b043274cfdae516f11bfe0f4281265a851f2cc187dbcaa7064bb6913bf44cdf3a782c5760af1187944a2f123ffc510e412ede6428e97cc2317e0829648 diff --git a/dev-python/botocore/botocore-1.38.18.ebuild b/dev-python/botocore/botocore-1.38.18.ebuild deleted file mode 100644 index 216398658b90..000000000000 --- a/dev-python/botocore/botocore-1.38.18.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{11..14} ) - -inherit distutils-r1 - -DESCRIPTION="Low-level, data-driven core of boto 3" -HOMEPAGE=" - https://github.com/boto/botocore/ - https://pypi.org/project/botocore/ -" -SRC_URI=" - https://github.com/boto/botocore/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - =dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] -" -# unbundled packages -RDEPEND+=" - dev-python/requests[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/jsonschema[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - # unpin deps - sed -i -e "s:>=.*':':" setup.py || die - - # unbundle deps - rm -r botocore/vendored || die - find -name '*.py' -exec sed -i \ - -e 's:from botocore[.]vendored import:import:' \ - -e 's:from botocore[.]vendored[.]:from :' \ - {} + || die - - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=( - # rely on bundled six - tests/functional/test_six_imports.py::test_no_bare_six_imports - tests/functional/test_six_threading.py::test_six_thread_safety - ) - - case ${EPYTHON} in - python3.14) - EPYTEST_DESELECT+=( - tests/unit/test_utils.py::test_lru_cache_weakref - ) - ;; - esac - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest tests/{functional,unit} -} diff --git a/dev-python/botocore/botocore-1.38.23.ebuild b/dev-python/botocore/botocore-1.38.23.ebuild index 535354aa3035..216398658b90 100644 --- a/dev-python/botocore/botocore-1.38.23.ebuild +++ b/dev-python/botocore/botocore-1.38.23.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" RDEPEND=" =.*':':" setup.py || die - - # unbundle deps - rm -r botocore/vendored || die - find -name '*.py' -exec sed -i \ - -e 's:from botocore[.]vendored import:import:' \ - -e 's:from botocore[.]vendored[.]:from :' \ - {} + || die - - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=( - # rely on bundled six - tests/functional/test_six_imports.py::test_no_bare_six_imports - tests/functional/test_six_threading.py::test_six_thread_safety - ) - - case ${EPYTHON} in - python3.14) - EPYTEST_DESELECT+=( - tests/unit/test_utils.py::test_lru_cache_weakref - ) - ;; - esac - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest tests/{functional,unit} -} diff --git a/dev-python/botocore/botocore-1.38.29.ebuild b/dev-python/botocore/botocore-1.38.29.ebuild deleted file mode 100644 index 535354aa3035..000000000000 --- a/dev-python/botocore/botocore-1.38.29.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{11..14} ) - -inherit distutils-r1 - -DESCRIPTION="Low-level, data-driven core of boto 3" -HOMEPAGE=" - https://github.com/boto/botocore/ - https://pypi.org/project/botocore/ -" -SRC_URI=" - https://github.com/boto/botocore/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - =dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] -" -# unbundled packages -RDEPEND+=" - dev-python/requests[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/jsonschema[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - # unpin deps - sed -i -e "s:>=.*':':" setup.py || die - - # unbundle deps - rm -r botocore/vendored || die - find -name '*.py' -exec sed -i \ - -e 's:from botocore[.]vendored import:import:' \ - -e 's:from botocore[.]vendored[.]:from :' \ - {} + || die - - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=( - # rely on bundled six - tests/functional/test_six_imports.py::test_no_bare_six_imports - tests/functional/test_six_threading.py::test_six_thread_safety - ) - - case ${EPYTHON} in - python3.14) - EPYTEST_DESELECT+=( - tests/unit/test_utils.py::test_lru_cache_weakref - ) - ;; - esac - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest tests/{functional,unit} -} diff --git a/dev-python/botocore/botocore-1.38.30.ebuild b/dev-python/botocore/botocore-1.38.30.ebuild deleted file mode 100644 index 535354aa3035..000000000000 --- a/dev-python/botocore/botocore-1.38.30.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{11..14} ) - -inherit distutils-r1 - -DESCRIPTION="Low-level, data-driven core of boto 3" -HOMEPAGE=" - https://github.com/boto/botocore/ - https://pypi.org/project/botocore/ -" -SRC_URI=" - https://github.com/boto/botocore/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - =dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] -" -# unbundled packages -RDEPEND+=" - dev-python/requests[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/jsonschema[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - # unpin deps - sed -i -e "s:>=.*':':" setup.py || die - - # unbundle deps - rm -r botocore/vendored || die - find -name '*.py' -exec sed -i \ - -e 's:from botocore[.]vendored import:import:' \ - -e 's:from botocore[.]vendored[.]:from :' \ - {} + || die - - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=( - # rely on bundled six - tests/functional/test_six_imports.py::test_no_bare_six_imports - tests/functional/test_six_threading.py::test_six_thread_safety - ) - - case ${EPYTHON} in - python3.14) - EPYTEST_DESELECT+=( - tests/unit/test_utils.py::test_lru_cache_weakref - ) - ;; - esac - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest tests/{functional,unit} -} diff --git a/dev-python/botocore/botocore-1.38.31.ebuild b/dev-python/botocore/botocore-1.38.31.ebuild deleted file mode 100644 index 535354aa3035..000000000000 --- a/dev-python/botocore/botocore-1.38.31.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{11..14} ) - -inherit distutils-r1 - -DESCRIPTION="Low-level, data-driven core of boto 3" -HOMEPAGE=" - https://github.com/boto/botocore/ - https://pypi.org/project/botocore/ -" -SRC_URI=" - https://github.com/boto/botocore/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - =dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] -" -# unbundled packages -RDEPEND+=" - dev-python/requests[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/jsonschema[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - # unpin deps - sed -i -e "s:>=.*':':" setup.py || die - - # unbundle deps - rm -r botocore/vendored || die - find -name '*.py' -exec sed -i \ - -e 's:from botocore[.]vendored import:import:' \ - -e 's:from botocore[.]vendored[.]:from :' \ - {} + || die - - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=( - # rely on bundled six - tests/functional/test_six_imports.py::test_no_bare_six_imports - tests/functional/test_six_threading.py::test_six_thread_safety - ) - - case ${EPYTHON} in - python3.14) - EPYTEST_DESELECT+=( - tests/unit/test_utils.py::test_lru_cache_weakref - ) - ;; - esac - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest tests/{functional,unit} -} diff --git a/dev-python/botocore/botocore-1.38.32.ebuild b/dev-python/botocore/botocore-1.38.32.ebuild new file mode 100644 index 000000000000..be6df9120cc8 --- /dev/null +++ b/dev-python/botocore/botocore-1.38.32.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..14} ) + +inherit distutils-r1 + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE=" + https://github.com/boto/botocore/ + https://pypi.org/project/botocore/ +" +SRC_URI=" + https://github.com/boto/botocore/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + =dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +# unbundled packages +RDEPEND+=" + dev-python/requests[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + # unpin deps + sed -i -e "s:>=.*':':" setup.py || die + + # unbundle deps + rm -r botocore/vendored || die + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # rely on bundled six + tests/functional/test_six_imports.py::test_no_bare_six_imports + tests/functional/test_six_threading.py::test_six_thread_safety + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +} diff --git a/dev-python/bottleneck/bottleneck-1.5.0.ebuild b/dev-python/bottleneck/bottleneck-1.5.0.ebuild index 98f628f95077..d5ec6ea5b908 100644 --- a/dev-python/bottleneck/bottleneck-1.5.0.ebuild +++ b/dev-python/bottleneck/bottleneck-1.5.0.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" +KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~loong ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" DEPEND=" >=dev-python/numpy-1.9.1:=[${PYTHON_USEDEP}] diff --git a/dev-python/cachetools/Manifest b/dev-python/cachetools/Manifest index 82734df3253a..608c243d4fd6 100644 --- a/dev-python/cachetools/Manifest +++ b/dev-python/cachetools/Manifest @@ -1,3 +1,2 @@ DIST cachetools-5.5.2.tar.gz 28380 BLAKE2B ff0f838bdcf3ff29a466829a34e80c83a0d15763039bc9d81e254daf150bbd39a42a04b4541be06d7beaa938561a1d35646a83eb22474baccd33479d5a56b53e SHA512 9969eb5ca092174975a79e664594842b4ae4f671bc17ae3e3d2d286b164eb408af254d6b40358dcbe5e4341fc6a0ef928e192eb1432696ed7654729062555a29 DIST cachetools-6.0.0.tar.gz 30160 BLAKE2B c0d5715f75ccb787463b7bf8ab02e0d8d10160f7e1b9aa9874f226d1ff0af95eb9f81bfcbd45b7568e8ce05d29c114529ae7c1bb61c2f3327c7e405870453041 SHA512 881bbfede550fe6366eb69274e50156cf6f0a6d3cce9bc7542a4ca36044d3a9b9520aa547fcc173d518f6007c7b4c48d492fecb9d6663233d3d0ee9473f8aa53 -DIST cachetools-6.0.0b4.tar.gz 30050 BLAKE2B a495ba3244f18a9b8fc7c9b1226c34ca4019660d41afee07963f114e5915faec36b31dc0ab74e2be9a87462641252a85f8629072c24f3df908bff805b1ef5e57 SHA512 89861cb48c922d7e61cd03fec3b0836029814bc4e90ae0047deaf8e8d878069a74e6f4cb69b0fb490564623cda0ce3fe8bf4c4f65939e1612e2ac9130ad46b8f diff --git a/dev-python/cachetools/cachetools-6.0.0.ebuild b/dev-python/cachetools/cachetools-6.0.0.ebuild index 6227509adae7..55a939a649bd 100644 --- a/dev-python/cachetools/cachetools-6.0.0.ebuild +++ b/dev-python/cachetools/cachetools-6.0.0.ebuild @@ -16,6 +16,6 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" distutils_enable_tests pytest diff --git a/dev-python/cachetools/cachetools-6.0.0_beta4.ebuild b/dev-python/cachetools/cachetools-6.0.0_beta4.ebuild deleted file mode 100644 index 6227509adae7..000000000000 --- a/dev-python/cachetools/cachetools-6.0.0_beta4.ebuild +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Extensible memoizing collections and decorators" -HOMEPAGE=" - https://github.com/tkem/cachetools/ - https://pypi.org/project/cachetools/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -distutils_enable_tests pytest diff --git a/dev-python/cfn-lint/Manifest b/dev-python/cfn-lint/Manifest index e365ac75c052..03f3c37f15f8 100644 --- a/dev-python/cfn-lint/Manifest +++ b/dev-python/cfn-lint/Manifest @@ -1,3 +1,2 @@ -DIST cfn_lint-1.35.1.tar.gz 3077415 BLAKE2B 8ef32c6a1b7e6d4db976e8b59b1933814647207a0d690ecadb82ac1dd660bc5ed55e66de2ef21e9936d0c97abcdaa1bdaf8e65a996622e949ddf07afa8588240 SHA512 90c6acec47e9d4fb7344dab7c3ce8170a0ee09875806fe1ea71da91a9ef9e852044a351227b279e9ae0ba42d8f2f1104c6f1460b0aba00aac63ce41d4e147b36 DIST cfn_lint-1.35.3.tar.gz 3105179 BLAKE2B a1bd9ea3dee0f4ee6ddf88a4572e0900ac099274bf75f37e54a56a6c5d102e9f1d91a14518be38b03a37257999ff3c9539c4a8f08a5042a1689e862259266d50 SHA512 bdd0188bcd7dd327e6a72c60dcc8535643750c3762632e09bb851c62f520b38518d76e0566686f8fe5766beff147abd5eccd94db34701bef5d149e84954a3a48 DIST cfn_lint-1.35.4.tar.gz 2981501 BLAKE2B 51fd51b194e19a0bebd72efadfd81c633f86c3017efaf08b262c83b36228548b53835aae0f17e2617ed7ec8a4cd87886f33d3ad01c935b26dde58273eee37dc4 SHA512 67442deda9d3ab8556cb35def0b3b26286d986f17f7fd07080b1752575790bda18ea65ac3ac66be3086cc1762d773fa499f31c26a9d4b75cde2c7c91471fbcd4 diff --git a/dev-python/cfn-lint/cfn-lint-1.35.1.ebuild b/dev-python/cfn-lint/cfn-lint-1.35.1.ebuild deleted file mode 100644 index 9921dc42a902..000000000000 --- a/dev-python/cfn-lint/cfn-lint-1.35.1.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit distutils-r1 pypi - -DESCRIPTION="CloudFormation Linter" -HOMEPAGE=" - https://github.com/aws-cloudformation/cfn-lint/ - https://pypi.org/project/cfn-lint/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm64 ~riscv x86" - -RDEPEND=" - >=dev-python/aws-sam-translator-1.97.0[${PYTHON_USEDEP}] - dev-python/jsonpatch[${PYTHON_USEDEP}] - >=dev-python/jschema-to-python-1.2.3[${PYTHON_USEDEP}] - =dev-python/jsonschema-3.0[${PYTHON_USEDEP}] - dev-python/junit-xml[${PYTHON_USEDEP}] - dev-python/pyyaml-5.4[${PYTHON_USEDEP}] - >=dev-python/regex-2021.7.1[${PYTHON_USEDEP}] - >=dev-python/sarif-om-1.0.4[${PYTHON_USEDEP}] - >=dev-python/sympy-1.0.0[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/setuptools-77.0.3[${PYTHON_USEDEP}] - test? ( - dev-python/defusedxml[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - # unpin the deps - sed -e 's:~=[0-9.]*::' -i pyproject.toml || die - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=( - # different line wrapping somehow - test/unit/module/template/test_template.py::TestTemplate::test_build_graph - # requires git repo - test/unit/module/maintenance/test_update_documentation.py::TestUpdateDocumentation::test_update_docs - ) - - # from tox.ini - local -x AWS_DEFAULT_REGION=us-east-1 - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} diff --git a/dev-python/cfn-lint/cfn-lint-1.35.3.ebuild b/dev-python/cfn-lint/cfn-lint-1.35.3.ebuild index 669286dc533a..9921dc42a902 100644 --- a/dev-python/cfn-lint/cfn-lint-1.35.3.ebuild +++ b/dev-python/cfn-lint/cfn-lint-1.35.3.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv ~x86" +KEYWORDS="amd64 arm64 ~riscv x86" RDEPEND=" >=dev-python/aws-sam-translator-1.97.0[${PYTHON_USEDEP}] diff --git a/dev-python/click/Manifest b/dev-python/click/Manifest index d4d24f296fd8..1b3823ab8ac3 100644 --- a/dev-python/click/Manifest +++ b/dev-python/click/Manifest @@ -1,3 +1 @@ -DIST click-8.1.8.gh.tar.gz 342860 BLAKE2B f55518e66473c43e78d5127d7a4467cce5a7e25c84dae2f740e9cfa1682213e5c243ff4da90768a25374921b5d2d482525b6975818f5383ebcde77f298c9694d SHA512 f9f501210d202026a8449df1eef570f5399887a3efda9499d4a4180bbe96bc232809929bf80f9a65037583e84dfa8af3f0c348353c41121c815a9ead2c58d3aa -DIST click-8.2.0.gh.tar.gz 349577 BLAKE2B 202b867151db653447f3ac26dcfe2871f3513b656851911aabb131d4ab35a50d3ab48ea7ec4e0db76fe0f39f153c3280cbd12a2b0f5bc9041596eeade826e1cb SHA512 0046970e99d2cce2ae40322ea6606cc8af241b5ee50f61830984b10a0ae20c107d0c56c049bf7d8c5bdebd98ef36c0d018e8a649551aabc8fb91554bd438101a DIST click-8.2.1.gh.tar.gz 399811 BLAKE2B 1d28aab3fc8c2e3f977aeb5aedeaddde591d6c6ecf3d3421c4107e954f4116a9f7f6ef8ea2a42a001f0b2995bda695bd34210232a11dc83af2192dbb0c0fe462 SHA512 420ba1989410af0949317f9651c6b292da68605b86b4cf0e2382eaba1defbc9eb4b9d97e0a71e5cdb51a61a1f578e81fd864e1abb0cdcd0a8ee26a899c802afe diff --git a/dev-python/click/click-8.1.8.ebuild b/dev-python/click/click-8.1.8.ebuild deleted file mode 100644 index b528d4fb35e4..000000000000 --- a/dev-python/click/click-8.1.8.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="A Python package for creating beautiful command line interfaces" -HOMEPAGE=" - https://palletsprojects.com/p/click/ - https://github.com/pallets/click/ - https://pypi.org/project/click/ -" -SRC_URI=" - https://github.com/pallets/${PN}/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" -IUSE="examples" - -distutils_enable_sphinx docs \ - '>=dev-python/docutils-0.14' \ - dev-python/pallets-sphinx-themes \ - dev-python/sphinxcontrib-log-cabinet \ - dev-python/sphinx-issues \ - dev-python/sphinx-tabs -distutils_enable_tests pytest - -python_install_all() { - use examples && dodoc -r examples - distutils-r1_python_install_all -} diff --git a/dev-python/click/click-8.2.0.ebuild b/dev-python/click/click-8.2.0.ebuild deleted file mode 100644 index 470a55a7b91c..000000000000 --- a/dev-python/click/click-8.2.0.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="A Python package for creating beautiful command line interfaces" -HOMEPAGE=" - https://palletsprojects.com/p/click/ - https://github.com/pallets/click/ - https://pypi.org/project/click/ -" -SRC_URI=" - https://github.com/pallets/${PN}/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" -IUSE="examples" - -distutils_enable_sphinx docs \ - '>=dev-python/docutils-0.14' \ - dev-python/myst-parser \ - dev-python/pallets-sphinx-themes \ - dev-python/sphinxcontrib-log-cabinet \ - dev-python/sphinx-tabs -distutils_enable_tests pytest - -python_install_all() { - use examples && dodoc -r examples - distutils-r1_python_install_all -} diff --git a/dev-python/click/click-8.2.1.ebuild b/dev-python/click/click-8.2.1.ebuild index 470a55a7b91c..5da021644f31 100644 --- a/dev-python/click/click-8.2.1.ebuild +++ b/dev-python/click/click-8.2.1.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" IUSE="examples" distutils_enable_sphinx docs \ diff --git a/dev-python/configargparse/Manifest b/dev-python/configargparse/Manifest index 1c45b4f90c51..76e9864857c3 100644 --- a/dev-python/configargparse/Manifest +++ b/dev-python/configargparse/Manifest @@ -1,2 +1 @@ DIST ConfigArgParse-1.7.1.gh.tar.gz 37528 BLAKE2B 0ff48bbb8b0569942b83bfcd3d1b72a8b5779cfe74b0b23b3f8a5b82c96068869917291c8e6c107ec3a6afc7cecfd53cd8d4faf573b7d88625aaa14838d63c9a SHA512 ca9741cf04a444b86c589a0097838cf9d6e1e752287587dda103cf59d9603890067b418ac26323aac4749787ac28c9764f1a41be839055756420e51363db10c7 -DIST ConfigArgParse-1.7.gh.tar.gz 37462 BLAKE2B a351830f79899910039cfee7a830af58afb2534368b53e8f821c161444d81e2eac61ebf7a10ce1c4a6586f05db5fb0277fdc5c0605c0e517f9592bb9a66e2f45 SHA512 4c388768dfda861a58a8c7b5a4de2a7c4070d445d9ea9aaeb5ce2e5af954ed6422b5af33967d086fd4c477156ef89e3dfd1406c02f0c49bafe6a9c980bf5840f diff --git a/dev-python/configargparse/configargparse-1.7.1.ebuild b/dev-python/configargparse/configargparse-1.7.1.ebuild index 00e2aa9ebc8f..60a6e0589fd3 100644 --- a/dev-python/configargparse/configargparse-1.7.1.ebuild +++ b/dev-python/configargparse/configargparse-1.7.1.ebuild @@ -21,7 +21,7 @@ S=${WORKDIR}/${MY_P} LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 arm arm64 ~ppc64 ~riscv x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/configargparse/configargparse-1.7.ebuild b/dev-python/configargparse/configargparse-1.7.ebuild deleted file mode 100644 index 42d0353bb0c9..000000000000 --- a/dev-python/configargparse/configargparse-1.7.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit distutils-r1 - -MY_P=ConfigArgParse-${PV} -DESCRIPTION="Drop-in replacement for argparse supporting config files and env variables" -HOMEPAGE=" - https://github.com/bw2/ConfigArgParse/ - https://pypi.org/project/ConfigArgParse/" -SRC_URI=" - https://github.com/bw2/ConfigArgParse/archive/${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~ppc64 ~riscv x86" -IUSE="test" -RESTRICT="!test? ( test )" - -BDEPEND=" - test? ( - dev-python/pyyaml[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests unittest - -PATCHES=( - # https://github.com/bw2/ConfigArgParse/pull/295 - "${FILESDIR}/${P}-py313.patch" -) - -src_test() { - local -x COLUMNS=80 - distutils-r1_src_test -} diff --git a/dev-python/configargparse/files/configargparse-1.7-py313.patch b/dev-python/configargparse/files/configargparse-1.7-py313.patch deleted file mode 100644 index a079f37a18e6..000000000000 --- a/dev-python/configargparse/files/configargparse-1.7-py313.patch +++ /dev/null @@ -1,112 +0,0 @@ -From c6a974211f1a13d492bb807ff6d07cefcc948a87 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= -Date: Fri, 12 Jul 2024 08:15:40 +0200 -Subject: [PATCH 1/2] update test expectations for Python 3.13 - -Python 3.13 no longer repeats the placeholder for options with multiple -aliases in the help message. For example, rather than: - - -c CONFIG_FILE, --config CONFIG_FILE - -it now outputs: - - -c, --config CONFIG_FILE - -Update the regular expressions to account for both possibilities. - -Fixes #294 ---- - tests/test_configargparse.py | 24 ++++++++++++------------ - 1 file changed, 12 insertions(+), 12 deletions(-) - -diff --git a/tests/test_configargparse.py b/tests/test_configargparse.py -index 288e082..e325afd 100644 ---- a/tests/test_configargparse.py -+++ b/tests/test_configargparse.py -@@ -271,9 +271,9 @@ def testBasicCase2(self, use_groups=False): - ' -h, --help \\s+ show this help message and exit\n' - ' --genome GENOME \\s+ Path to genome file\n' - ' -v\n' -- ' -g MY_CFG_FILE, --my-cfg-file MY_CFG_FILE\n' -- ' -d DBSNP, --dbsnp DBSNP\\s+\\[env var: DBSNP_PATH\\]\n' -- ' -f FRMT, --format FRMT\\s+\\[env var: OUTPUT_FORMAT\\]\n\n'%OPTIONAL_ARGS_STRING + -+ ' -g( MY_CFG_FILE)?, --my-cfg-file MY_CFG_FILE\n' -+ ' -d( DBSNP)?, --dbsnp DBSNP\\s+\\[env var: DBSNP_PATH\\]\n' -+ ' -f( FRMT)?, --format FRMT\\s+\\[env var: OUTPUT_FORMAT\\]\n\n'%OPTIONAL_ARGS_STRING + - 7*r'(.+\s*)') - else: - self.assertRegex(self.format_help(), -@@ -286,10 +286,10 @@ def testBasicCase2(self, use_groups=False): - 'g1:\n' - ' --genome GENOME \\s+ Path to genome file\n' - ' -v\n' -- ' -g MY_CFG_FILE, --my-cfg-file MY_CFG_FILE\n\n' -+ ' -g( MY_CFG_FILE)?, --my-cfg-file MY_CFG_FILE\n\n' - 'g2:\n' -- ' -d DBSNP, --dbsnp DBSNP\\s+\\[env var: DBSNP_PATH\\]\n' -- ' -f FRMT, --format FRMT\\s+\\[env var: OUTPUT_FORMAT\\]\n\n'%OPTIONAL_ARGS_STRING + -+ ' -d( DBSNP)?, --dbsnp DBSNP\\s+\\[env var: DBSNP_PATH\\]\n' -+ ' -f( FRMT)?, --format FRMT\\s+\\[env var: OUTPUT_FORMAT\\]\n\n'%OPTIONAL_ARGS_STRING + - 7*r'(.+\s*)') - - self.assertParseArgsRaises("invalid choice: 'ZZZ'", -@@ -387,9 +387,9 @@ def testMutuallyExclusiveArgs(self): - ' \\s*-f2 TYPE2_CFG_FILE\\)\\s+\\(-f FRMT \\| -b\\)\n\n' - '%s:\n' - ' -h, --help show this help message and exit\n' -- ' -f1 TYPE1_CFG_FILE, --type1-cfg-file TYPE1_CFG_FILE\n' -- ' -f2 TYPE2_CFG_FILE, --type2-cfg-file TYPE2_CFG_FILE\n' -- ' -f FRMT, --format FRMT\\s+\\[env var: OUTPUT_FORMAT\\]\n' -+ ' -f1( TYPE1_CFG_FILE)?, --type1-cfg-file TYPE1_CFG_FILE\n' -+ ' -f2( TYPE2_CFG_FILE)?, --type2-cfg-file TYPE2_CFG_FILE\n' -+ ' -f( FRMT)?, --format FRMT\\s+\\[env var: OUTPUT_FORMAT\\]\n' - ' -b, --bam\\s+\\[env var: BAM_FORMAT\\]\n\n' - 'group1:\n' - ' --genome GENOME Path to genome file\n' -@@ -875,7 +875,7 @@ def testConstructor_ConfigFileArgs(self): - 'usage: .* \\[-h\\] -c CONFIG_FILE --genome GENOME\n\n' - '%s:\n' - ' -h, --help\\s+ show this help message and exit\n' -- ' -c CONFIG_FILE, --config CONFIG_FILE\\s+ my config file\n' -+ ' -c( CONFIG_FILE)?, --config CONFIG_FILE\\s+ my config file\n' - ' --genome GENOME\\s+ Path to genome file\n\n'%OPTIONAL_ARGS_STRING + - 5*r'(.+\s*)') - -@@ -935,8 +935,8 @@ def test_FormatHelp(self): - r'\[-w CONFIG_OUTPUT_PATH\]\s* --arg1\s+ARG1\s*\[--flag\]\s*' - '%s:\\s*' - '-h, --help \\s* show this help message and exit ' -- r'-c CONFIG_FILE, --config CONFIG_FILE\s+my config file ' -- r'-w CONFIG_OUTPUT_PATH, --write-config CONFIG_OUTPUT_PATH takes ' -+ r'-c( CONFIG_FILE)?, --config CONFIG_FILE\s+my config file ' -+ r'-w( CONFIG_OUTPUT_PATH)?, --write-config CONFIG_OUTPUT_PATH takes ' - r'the current command line args and writes them ' - r'out to a config file at the given path, then exits ' - r'--arg1 ARG1 Arg1 help text ' - -From 5e9f442374bc6d9707a43df13aaff684dff6b535 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= -Date: Fri, 12 Jul 2024 08:25:30 +0200 -Subject: [PATCH 2/2] skip exit_on_error* tests to fix 3.13 test failures - -Skip `exit_on_error*` tests from `test.test_argparse` to avoid test -failures on Python 3.13. The `exit_on_error=False` semantics -is not supported by ConfigArgParse at the moment. ---- - tests/test_configargparse.py | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/tests/test_configargparse.py b/tests/test_configargparse.py -index e325afd..9718d86 100644 ---- a/tests/test_configargparse.py -+++ b/tests/test_configargparse.py -@@ -1533,7 +1533,8 @@ def testYAMLConfigFileParser_w_ArgumentParser_parsed_values(self): - test_argparse_source_code = test_argparse_source_code.replace( - 'argparse.ArgumentParser', 'configargparse.ArgumentParser').replace( - 'TestHelpFormattingMetaclass', '_TestHelpFormattingMetaclass').replace( -- 'test_main', '_test_main') -+ 'test_main', '_test_main').replace( -+ 'test_exit_on_error', '_test_exit_on_error') - - # pytest tries to collect tests from TestHelpFormattingMetaclass, and - # test_main, and raises a warning when it finds it's not a test class diff --git a/dev-python/coverage/coverage-7.8.2.ebuild b/dev-python/coverage/coverage-7.8.2.ebuild index 34b649a6eb90..fedcc6656acf 100644 --- a/dev-python/coverage/coverage-7.8.2.ebuild +++ b/dev-python/coverage/coverage-7.8.2.ebuild @@ -19,7 +19,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos" IUSE="+native-extensions" BDEPEND=" diff --git a/dev-python/cython/cython-3.1.1.ebuild b/dev-python/cython/cython-3.1.1.ebuild index 3405c2dd17bd..ba83e00c00bb 100644 --- a/dev-python/cython/cython-3.1.1.ebuild +++ b/dev-python/cython/cython-3.1.1.ebuild @@ -21,7 +21,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" IUSE="test test-full" RESTRICT="!test? ( test )" diff --git a/dev-python/ensurepip-setuptools/Manifest b/dev-python/ensurepip-setuptools/Manifest index 5ff77ed93737..2ff679ffd933 100644 --- a/dev-python/ensurepip-setuptools/Manifest +++ b/dev-python/ensurepip-setuptools/Manifest @@ -1,4 +1,3 @@ DIST setuptools-79.0.1-py3-none-any.whl 1256281 BLAKE2B 8ae51bdd1c0ccada116757c2bd765225fcf4bedc7ada18567ae12f09b6978cdbcddd4f635a39a5568b6d3ed4388e4f73af5c33a7060f2ac0d0907fc82d8fd74f SHA512 fef6cfc6f95a5bb7320f1680e1c665cb8d9a4e4227cde4d8aab8a50bed4bcf04320085b9d7d5343359f887008db5c5a861e57f3d08b7b0b2311a28adaeee6b4a -DIST setuptools-80.4.0-py3-none-any.whl 1200812 BLAKE2B a3487a12084fa8582f1201b6df8cdd23de5b5fc763c5df607a4ae9a688fbd8defe064865e7f03a860819cdff1bf8c8fb98e3f94408e6511709f52eb9538feaef SHA512 2348c2e181394016f23d8ab55d9bf1104f16154729dfa891c3f57cd76d4f2fa0b96cc09b61d2a2ba73ac862c79ae03a6c57850c02c0a46ec279a78dddb06c39d DIST setuptools-80.8.0-py3-none-any.whl 1201470 BLAKE2B 7e958fecd9c9597d307d89c31e93fed5d15e505ad882c594c51482368f7227e0944b6ac02298cfcd5d126fc6c2398389843567a5a944ada5bfcd3aead0376766 SHA512 229e18dbaddd34e3a982e0ef8c6dccfa9a513164f54ff141a4ff0a0a3be25ab069766bda9eec4eea82c908506c0aa5eae271450605401f48ed8c94e54476ee0f DIST setuptools-80.9.0-py3-none-any.whl 1201486 BLAKE2B 79895683ef4df387aee698984dfdf13adb14314f2d0267f41291c1c1ca68f4383a4273f004b6f3457463913eb19f8d386f32e2630ceaceaaf27ef32c4f61b7ed SHA512 2a0420f7faaa33d2132b82895a8282688030e939db0225ad8abb95a47bdb87b45318f10985fc3cee271a9121441c1526caa363d7f2e4a4b18b1a674068766e87 diff --git a/dev-python/ensurepip-setuptools/ensurepip-setuptools-80.4.0.ebuild b/dev-python/ensurepip-setuptools/ensurepip-setuptools-80.4.0.ebuild deleted file mode 100644 index 473fddfd3ccc..000000000000 --- a/dev-python/ensurepip-setuptools/ensurepip-setuptools-80.4.0.ebuild +++ /dev/null @@ -1,20 +0,0 @@ -# Copyright 2022-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit pypi - -DESCRIPTION="Shared setuptools wheel for ensurepip Python module" -HOMEPAGE="https://pypi.org/project/setuptools/" -SRC_URI="$(pypi_wheel_url "${PN#ensurepip-}")" -S=${DISTDIR} - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" - -src_install() { - insinto /usr/lib/python/ensurepip - doins "${A}" -} diff --git a/dev-python/ensurepip-setuptools/ensurepip-setuptools-80.8.0.ebuild b/dev-python/ensurepip-setuptools/ensurepip-setuptools-80.8.0.ebuild index b76c3f6972d8..473fddfd3ccc 100644 --- a/dev-python/ensurepip-setuptools/ensurepip-setuptools-80.8.0.ebuild +++ b/dev-python/ensurepip-setuptools/ensurepip-setuptools-80.8.0.ebuild @@ -12,7 +12,7 @@ S=${DISTDIR} LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" src_install() { insinto /usr/lib/python/ensurepip diff --git a/dev-python/eradicate/Manifest b/dev-python/eradicate/Manifest index ea95254178a2..61c4c8513266 100644 --- a/dev-python/eradicate/Manifest +++ b/dev-python/eradicate/Manifest @@ -1,2 +1 @@ -DIST eradicate-2.3.0.gh.tar.gz 8792 BLAKE2B 586989144ca69637ea769b90a72afa68eb4392e2b467d3a97f9adfc91d45d3f5be6ea6c8f00f0aa8307b52bca7243fd12e3eaad178ad3859918d137275d447c0 SHA512 b31f59b5785aa57fa55c329bfce430e8ade5de870bbe99585ff59e68fdd33bb312e49ecd72873780e47e09f713ebbaa929bd6981bf2800f858def80a9c03a8ec DIST eradicate-3.0.0.gh.tar.gz 9189 BLAKE2B 23baa742fc682f3ad0e1a57f09c45920191a9081992d69cc85b0d48477421199617ccc538beaabb6118efd34de8754cc89b766c8412a6d6ee4d38c5240270688 SHA512 1630003832ba2c2abddb595f6c4df25fd89a02f92f4b1a39d06d4e0c04ffaf61634a11ddb8137e1072877fe199f46783ea07fc7b7ecc11c49b79041dba76466c diff --git a/dev-python/eradicate/eradicate-2.3.0.ebuild b/dev-python/eradicate/eradicate-2.3.0.ebuild deleted file mode 100644 index 215de175cd16..000000000000 --- a/dev-python/eradicate/eradicate-2.3.0.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Removes commented-out code from Python files" -HOMEPAGE=" - https://github.com/PyCQA/eradicate/ - https://pypi.org/project/eradicate/ -" -SRC_URI=" - https://github.com/PyCQA/eradicate/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86" - -distutils_enable_tests unittest diff --git a/dev-python/eradicate/eradicate-3.0.0.ebuild b/dev-python/eradicate/eradicate-3.0.0.ebuild index 0a197f21d13b..215de175cd16 100644 --- a/dev-python/eradicate/eradicate-3.0.0.ebuild +++ b/dev-python/eradicate/eradicate-3.0.0.ebuild @@ -20,6 +20,6 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86" distutils_enable_tests unittest diff --git a/dev-python/flask-cors/Manifest b/dev-python/flask-cors/Manifest index 11bb7040550d..4dd0445e9348 100644 --- a/dev-python/flask-cors/Manifest +++ b/dev-python/flask-cors/Manifest @@ -1,2 +1 @@ -DIST flask-cors-5.0.1.gh.tar.gz 87364 BLAKE2B 6aecc64b8e2d9eac058ad052c1fa8eb5d23b2502c4ddaa0c1f49f1bbfac7fa072b81cc9697a48e716b68db3355f65fe6374a2a2653e5dc2ed3d1452a39cd548e SHA512 24e09787fded384f08de94c507ea199e77a5a2d1895ced77811b7ce421c2851d3315df4b4935ed8d0b2b2bf073fb4e8dabb9fa840ee5e9b4fac240075400b90f DIST flask-cors-6.0.0.gh.tar.gz 87922 BLAKE2B ff6b1bd780d4f12a4b1bec43713f9b7c0b9638f46ff901608a3ac102e1c8a5160bdb3dd4b51e0c689df468b8601e7832362c9c6247cb834d7a36f9698d3f6362 SHA512 8d8ad511a2ef0afff7781545e1d96aeae65a86e78be7ca258ca4f5b70ddd91cf68a9ffe380690db0fbe0ed0711bc1d2455399454004e7411bb41d026efff3a68 diff --git a/dev-python/flask-cors/flask-cors-5.0.1.ebuild b/dev-python/flask-cors/flask-cors-5.0.1.ebuild deleted file mode 100644 index 19e33381ec87..000000000000 --- a/dev-python/flask-cors/flask-cors-5.0.1.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{11..14} ) - -inherit distutils-r1 - -if [[ "${PV}" == "9999" ]]; then - EGIT_REPO_URI="https://github.com/corydolphin/flask-cors.git" - inherit git-r3 -else - SRC_URI=" - https://github.com/corydolphin/flask-cors/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - " - KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86" -fi - -DESCRIPTION="A Flask extension for Cross Origin Resource Sharing (CORS)" -HOMEPAGE=" - https://github.com/corydolphin/flask-cors/ - https://pypi.org/project/flask-cors/ -" - -LICENSE="MIT" -SLOT="0" - -RDEPEND=" - >=dev-python/flask-0.9[${PYTHON_USEDEP}] - >=dev-python/werkzeug-0.7[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/packaging[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest diff --git a/dev-python/flask-cors/flask-cors-6.0.0.ebuild b/dev-python/flask-cors/flask-cors-6.0.0.ebuild index 3a862fb3740f..19e33381ec87 100644 --- a/dev-python/flask-cors/flask-cors-6.0.0.ebuild +++ b/dev-python/flask-cors/flask-cors-6.0.0.ebuild @@ -16,7 +16,7 @@ else https://github.com/corydolphin/flask-cors/archive/${PV}.tar.gz -> ${P}.gh.tar.gz " - KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86" fi DESCRIPTION="A Flask extension for Cross Origin Resource Sharing (CORS)" diff --git a/dev-python/fonttools/Manifest b/dev-python/fonttools/Manifest index 9a83081ab985..2f26d10793ca 100644 --- a/dev-python/fonttools/Manifest +++ b/dev-python/fonttools/Manifest @@ -2,3 +2,4 @@ DIST fonttools-4.56.0.gh.tar.gz 3900744 BLAKE2B f75ad562092cadbf2a844fedf47e1b05 DIST fonttools-4.57.0.gh.tar.gz 3932468 BLAKE2B 7bfcf6aa3b5cffbba7cdabe14a580dc40677a1d80a2d69750925d7e06c1885df9cd586a228c0d06707acdc9870e92241cce373f0eb27f93a4f887ba14631470c SHA512 7e3ef7149b8e6af5953a827e0a078390e67b919ba9752a03672d876f6de3d0d395b2e061c0f87e5d9298c13c74a1f0162d99151c364dfab487eec2ab9adced75 DIST fonttools-4.58.0.gh.tar.gz 3955467 BLAKE2B 0094284f90685a4e8051c84374325413269ab0207f0ecc25d3129776a226de05a82adcbf1812cc3f18b8950b49f310f7a96295812a33c8e3fecd6aa48d768efb SHA512 8d32cffb2a83b0fb2eda89a8352b7e235595c8d159adb4075941da46c3715701c1d12d0f5e0fe663c587f5c888658ab1d7b2a54cb857355848627a1c25acd0ae DIST fonttools-4.58.1.gh.tar.gz 3959551 BLAKE2B bb3a958a359654bee709efe8d21c6e7f13c62c730aa33fdcbe2866318fe91f14ee7e6b63951f17b5ff1faa3e2b96ee934bd7e5b063242d88980d649653a682ce SHA512 f5b810668dca7ffca943fc362616784d1aecbd8f036925b2f8acb2d80997c26cf8c8127814f31f1a62bcf062d83c4a8b76ee022a146d5c2b8693cd1750732545 +DIST fonttools-4.58.2.gh.tar.gz 3964058 BLAKE2B 0e367e65cd19d109db11e81020814b3b07dd7fb82068fd162ad04a7a7ee64d641991908c946f09f853b6e797b09f87bafb8870ab84750cc3d3e525083946d5d5 SHA512 f78026457be3d75be89ec6788309fc5cab9d9987b5c438bffe7059a78b5d688b6fb9a94dca9636f4c28d44a60f36cdd24bbdf1d32197d63e79b99f3108ce32a5 diff --git a/dev-python/fonttools/files/fonttools-4.58.2-py313.patch b/dev-python/fonttools/files/fonttools-4.58.2-py313.patch new file mode 100644 index 000000000000..f4afa98b65ea --- /dev/null +++ b/dev-python/fonttools/files/fonttools-4.58.2-py313.patch @@ -0,0 +1,42 @@ +From c9d720cfeb4e5bdabbed68050154f7f9486eac37 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= +Date: Sat, 7 Jun 2025 07:51:13 +0200 +Subject: [PATCH] fix iterable check for Python 3.13.4 and newer + +Fix the `feaLib/ast.py` snippet used to check whether a type is iterable +to work correctly with Python 3.13.4. The snippet wrongly assumed +that a generator expression will raise immediately when the RHS of `in` +is not iterable. This is no longer the case with Python 3.13.4, +and such a generator only raises when you actually start iterating. +Use a plain `for` expression to start iterating and catch the problem +more reliably. + +Fixes #3854 +--- + Lib/fontTools/feaLib/ast.py | 6 ++++-- + 1 file changed, 4 insertions(+), 2 deletions(-) + +diff --git a/Lib/fontTools/feaLib/ast.py b/Lib/fontTools/feaLib/ast.py +index efcce8c68..18e5a891d 100644 +--- a/Lib/fontTools/feaLib/ast.py ++++ b/Lib/fontTools/feaLib/ast.py +@@ -719,7 +719,8 @@ class ChainContextPosStatement(Statement): + for i, lookup in enumerate(lookups): + if lookup: + try: +- (_ for _ in lookup) ++ for _ in lookup: ++ break + except TypeError: + self.lookups[i] = [lookup] + +@@ -777,7 +778,8 @@ class ChainContextSubstStatement(Statement): + for i, lookup in enumerate(lookups): + if lookup: + try: +- (_ for _ in lookup) ++ for _ in lookup: ++ break + except TypeError: + self.lookups[i] = [lookup] + diff --git a/dev-python/fonttools/fonttools-4.58.2.ebuild b/dev-python/fonttools/fonttools-4.58.2.ebuild new file mode 100644 index 000000000000..5a6e869d0ac4 --- /dev/null +++ b/dev-python/fonttools/fonttools-4.58.2.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2025 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_{9,10,11,12,13} pypy3 ) +PYTHON_REQ_USE="xml(+)" + +inherit distutils-r1 virtualx + +DESCRIPTION="Library for manipulating TrueType, OpenType, AFM and Type1 fonts" +HOMEPAGE=" + https://github.com/fonttools/fonttools/ + https://pypi.org/project/fonttools/ +" +SRC_URI=" + https://github.com/fonttools/fonttools/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="+native-extensions" + +RDEPEND=" + >=dev-python/fs-2.4.9[${PYTHON_USEDEP}] +" +BDEPEND=" + native-extensions? ( + $(python_gen_cond_dep ' + dev-python/cython[${PYTHON_USEDEP}] + ' 'python*') + ) + test? ( + dev-python/brotlicffi[${PYTHON_USEDEP}] + dev-python/munkres[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + app-arch/zopfli + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +PATCHES=( + # https://github.com/fonttools/fonttools/pull/3855 + "${FILESDIR}/${P}-py313.patch" +) + +python_compile() { + local -x FONTTOOLS_WITH_CYTHON=$(usex native-extensions) + [[ ${EPYTHON} == pypy3 ]] && FONTTOOLS_WITH_CYTHON=0 + distutils-r1_python_compile +} + +src_test() { + # virtualx used when matplotlib is installed causing plot module tests to run + virtx distutils-r1_src_test +} + +python_test() { + local EPYTEST_DESELECT=( + # flaky test + Tests/ttLib/woff2_test.py::WOFF2ReaderTest::test_get_normal_tables + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + nonfatal epytest \ + -p rerunfailures --reruns=5 \ + Tests fontTools || die -n "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/forbiddenfruit/forbiddenfruit-0.1.4.ebuild b/dev-python/forbiddenfruit/forbiddenfruit-0.1.4.ebuild index b1a1145650b0..006d0d6fca7c 100644 --- a/dev-python/forbiddenfruit/forbiddenfruit-0.1.4.ebuild +++ b/dev-python/forbiddenfruit/forbiddenfruit-0.1.4.ebuild @@ -19,7 +19,7 @@ HOMEPAGE=" LICENSE="|| ( GPL-3 MIT )" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~mips ~riscv ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~mips ~riscv ~s390 ~x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/fpylll/Manifest b/dev-python/fpylll/Manifest index 3ea47212000c..9cae89350c4b 100644 --- a/dev-python/fpylll/Manifest +++ b/dev-python/fpylll/Manifest @@ -1,2 +1 @@ -DIST fpylll-0.6.3.tar.gz 123868 BLAKE2B aa9e0ed169a39e1b17fb559c8d840fb6132b8d54b139ecfe1a154e5b2a6265d9e7ebfaa97b9a84278952a4c1629ad37ec9a12e3c0a3ff77f7be14c78e071f819 SHA512 c5a857e81347c53ad9b4ee93078dc384274737c72049ee7745245a7c0861ec7670ec338e4e7dc7d2fc72a9d7e59e6d918715224b2d0286a7b3f53993bdb47409 DIST fpylll-0.6.4.tar.gz 124097 BLAKE2B 39b0da895a5d66c274fb2260ab7d33e2a973395bfc5a2cb6b5ba03d235a0bb9650b257d7b3807d1fec10093e6fe24e7553bd63a04a2d975e9947737c2231de58 SHA512 3e9f6b0f9d7c2211ff2de629cfa4b1f61ec73207809e17165f9e0a948a9749b7dda2db9613ff676eca71348f781aa152dec8b30005df9b19209892ae55a552ac diff --git a/dev-python/fpylll/fpylll-0.6.3.ebuild b/dev-python/fpylll/fpylll-0.6.3.ebuild deleted file mode 100644 index 03417e9bb335..000000000000 --- a/dev-python/fpylll/fpylll-0.6.3.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) -DISTUTILS_USE_PEP517=setuptools -DISTUTILS_EXT=1 - -inherit distutils-r1 pypi - -DESCRIPTION="Python bindings for sci-libs/fplll" -HOMEPAGE=" - https://github.com/fplll/fpylll/ - https://pypi.org/project/fpylll/ -" - -# setup.py says "or later" -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="amd64 ~riscv" -IUSE="test" - -DEPEND=" - dev-python/cysignals[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - >=sci-libs/fplll-5.5.0 -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - >=dev-python/cython-3[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -python_test(){ - local -x PY_IGNORE_IMPORTMISMATCH=1 - epytest -} diff --git a/dev-python/fpylll/fpylll-0.6.4.ebuild b/dev-python/fpylll/fpylll-0.6.4.ebuild index a4f1730addce..03417e9bb335 100644 --- a/dev-python/fpylll/fpylll-0.6.4.ebuild +++ b/dev-python/fpylll/fpylll-0.6.4.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" # setup.py says "or later" LICENSE="GPL-2+" SLOT="0" -KEYWORDS="~amd64 ~riscv" +KEYWORDS="amd64 ~riscv" IUSE="test" DEPEND=" diff --git a/dev-python/fsspec/Manifest b/dev-python/fsspec/Manifest index 3bf6a4b6b281..82ad99128232 100644 --- a/dev-python/fsspec/Manifest +++ b/dev-python/fsspec/Manifest @@ -1,3 +1,2 @@ -DIST filesystem_spec-2025.3.2.gh.tar.gz 432022 BLAKE2B 7b18b80a1f024832a3a53545764299a2a40785809dc4d63fbe7cd0fff303ebd9382888153c012fe31425c93d67c56be1d117fd314fec149964ac7ee74a4b7464 SHA512 b446f7f09ef34e50cc22a3370b1a9312970b9585ff98ebb5ff02b066bc6a44786cf96cd0d1452753384861b7c61c3e927da009d215466588cf746d894dd430a0 DIST filesystem_spec-2025.5.0.gh.tar.gz 436234 BLAKE2B 11f562d765c814379fcb016d769473fb7bc1a0dc10f81b487a51b37757ad46d244b9945fd162e867402660ba7097931e649e9e44e32805146fa7dfc00bac4851 SHA512 fa9cf2c137cde874edb140ad9673f1bd709cfd46e68fc1e3abc5d4235b841568fac8fb8e41b4873deefa8d18d9d74b0e5d18c7a04e28c4dfd2687624076d3773 DIST filesystem_spec-2025.5.1.gh.tar.gz 438472 BLAKE2B 798cb0fdea82640e8c1de76ad6cea113cba0999ee907f2ca71602e6fab415f89ec070d3d1059e11858fe985f657092713b2db29382a2933cfbddeb1c1dea55a8 SHA512 fa645f313f0047531ceac77f74a7ba5f2ff4df363403749b629ac12f3ef2e3b42d7fe964c1f974539ed526515b027de4fde6c0366557bfae258e2fa93a8f1495 diff --git a/dev-python/fsspec/fsspec-2025.3.2.ebuild b/dev-python/fsspec/fsspec-2025.3.2.ebuild deleted file mode 100644 index 767edb2ff12e..000000000000 --- a/dev-python/fsspec/fsspec-2025.3.2.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 2020-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit distutils-r1 - -MY_P=filesystem_spec-${PV} -DESCRIPTION="A specification that python filesystems should adhere to" -HOMEPAGE=" - https://github.com/fsspec/filesystem_spec/ - https://pypi.org/project/fsspec/ -" -# upstream removed tests in 2024.6.0 -SRC_URI=" - https://github.com/fsspec/filesystem_spec/archive/${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86" - -BDEPEND=" - dev-python/hatch-vcs[${PYTHON_USEDEP}] - test? ( - dev-python/aiohttp[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/tqdm[${PYTHON_USEDEP}] - dev-vcs/git - ) -" - -# Note: this package is not xdist-friendly -distutils_enable_tests pytest - -export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} - -src_test() { - git config --global user.email "you@example.com" || die - git config --global user.name "Your Name" || die - distutils-r1_src_test -} - -python_test() { - local EPYTEST_DESELECT=( - # Internet - fsspec/implementations/tests/test_reference.py::test_async_cat_file_ranges - fsspec/implementations/tests/test_github.py - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p asyncio -p pytest_mock -o tmp_path_retention_policy=all -} diff --git a/dev-python/fsspec/fsspec-2025.5.0.ebuild b/dev-python/fsspec/fsspec-2025.5.0.ebuild index cfc8d11d6788..d8cc9467345a 100644 --- a/dev-python/fsspec/fsspec-2025.5.0.ebuild +++ b/dev-python/fsspec/fsspec-2025.5.0.ebuild @@ -23,7 +23,7 @@ S=${WORKDIR}/${MY_P} LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86" BDEPEND=" dev-python/hatch-vcs[${PYTHON_USEDEP}] diff --git a/dev-python/google-api-python-client/Manifest b/dev-python/google-api-python-client/Manifest index 87a8467a535c..b4c75ebfd5b4 100644 --- a/dev-python/google-api-python-client/Manifest +++ b/dev-python/google-api-python-client/Manifest @@ -1,3 +1,2 @@ -DIST google_api_python_client-2.169.0.tar.gz 12811341 BLAKE2B 31bf7b5aa53a05a7d196ea59f6a03b835628e4bcab312f4799386f1fc344c1774f06882fa502bd06a7d6feb244725a9c3f2396c1ef8ce999480ef9d211e10b44 SHA512 506bf5fc576a0db4d9db1e4abffdc5fa78009a070a7254821393599e3f56c55b6219b16200ea7f776a0ceca8673aa58cd379f952078deaafdc3f72e0591d726f DIST google_api_python_client-2.170.0.tar.gz 12971933 BLAKE2B 51382bb40c74018ec8267130b8ac50152a7b85cf09551c0c0826f0cce763834b2480127ac72a26ac600b5f847cd558651449f35997c335e1f54d51c275687cad SHA512 a2cb7dc10089ffe33c22e9c5ab2cff4836f6982ce708a6efc744ee218a6bb9d42a33afec1bd20213d1c234fe7176f5ffc59f1116c6f4cdc8a0f46e956073f302 DIST google_api_python_client-2.171.0.tar.gz 13028937 BLAKE2B 8fdb02566b59a6ee863613ec707666ddd959a1962fbd679d8e2ffb0dd2ed9e051390302ed54d3631a6518f4cf2157ff092f8dbb17eb95ff771155a3fe45242f0 SHA512 8237e79f3e6be18bcd2aa8e073c5842768861dbd90faabf25e01cda116afebea0e895a951c01f23f81cda26d70db387b622afa024378f5acb7a6d580d7279663 diff --git a/dev-python/google-api-python-client/google-api-python-client-2.169.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.169.0.ebuild deleted file mode 100644 index 75fc31e16901..000000000000 --- a/dev-python/google-api-python-client/google-api-python-client-2.169.0.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -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 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}] - =:' -e 's:<[0-9.]\+:*:' pyproject.toml || die + distutils-r1_src_prepare +} diff --git a/dev-python/libarchive-c/Manifest b/dev-python/libarchive-c/Manifest index c504550e87d6..63d0c1a3e8bc 100644 --- a/dev-python/libarchive-c/Manifest +++ b/dev-python/libarchive-c/Manifest @@ -1,2 +1 @@ -DIST python-libarchive-c-5.2.gh.tar.gz 48933 BLAKE2B b0654a2bed59f123714c93f84e7903fa13c4cb72a99066846766a998eb96c9dce19f2ffcb0e703ad833cbfc99ca3e3140f84156f3f1952999f6605639b222ba9 SHA512 c0e7f169e088f5ecd8de22109e8bef83e5669ca4d7fdbd069a9d23a62a0aee38d3d861199e593883f83ac0a9d00b656ba1b5cd2fe20311cddb75a6032b3cead7 DIST python-libarchive-c-5.3.gh.tar.gz 50485 BLAKE2B 771a9f4373c1ac94a283e20f50ee0437934ab3e6adf961802e20841176cc36e8a4151fcc6951559db78ad90ea8f0a005b03596b8fc55df4db522b05bdc1dfe14 SHA512 0cd1f95bf0045ce882012e4b217d3deacb921fb34fd3395afddacba6b1a291cc5a5383cadd1c2c0edae86b52beff535b801cb4ade714f510762835fc314c3d72 diff --git a/dev-python/libarchive-c/libarchive-c-5.2.ebuild b/dev-python/libarchive-c/libarchive-c-5.2.ebuild deleted file mode 100644 index 6db6ee05c0a4..000000000000 --- a/dev-python/libarchive-c/libarchive-c-5.2.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{11..14} ) - -inherit distutils-r1 - -MY_P=python-libarchive-c-${PV} -DESCRIPTION="A Python interface to libarchive" -HOMEPAGE=" - https://github.com/Changaco/python-libarchive-c/ - https://pypi.org/project/libarchive-c/ -" -SRC_URI=" - https://github.com/Changaco/python-libarchive-c/archive/${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="CC0-1.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc64 x86" - -RDEPEND=" - app-arch/libarchive -" - -distutils_enable_tests pytest diff --git a/dev-python/libarchive-c/libarchive-c-5.3.ebuild b/dev-python/libarchive-c/libarchive-c-5.3.ebuild index 930c9a5785e9..9eee5bb95d91 100644 --- a/dev-python/libarchive-c/libarchive-c-5.3.ebuild +++ b/dev-python/libarchive-c/libarchive-c-5.3.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P} LICENSE="CC0-1.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +KEYWORDS="amd64 ~arm arm64 ~ppc64 x86" RDEPEND=" app-arch/libarchive diff --git a/dev-python/lmdb/Manifest b/dev-python/lmdb/Manifest index 72f599784e84..b28d27e6378c 100644 --- a/dev-python/lmdb/Manifest +++ b/dev-python/lmdb/Manifest @@ -1,2 +1 @@ -DIST lmdb-1.5.1.tar.gz 881246 BLAKE2B 49fbb09a3205aa1d3ea82427a03493aa579e201e831a5d61774d130b2600673892fc1b37fc30e5a6614f98e4f9f3672d5351e2a77ba24abd3999c5d5f18a58e9 SHA512 3f5f7e91813fc2a621ea6ec40e4d85c42d996a8424d5181ce5dab4e414ef17e949c6297c41ccd03b8bb749d1038ed8b143ee5d4e93f38ffcde993beeeacd3aea DIST lmdb-1.6.2.tar.gz 881434 BLAKE2B 3128bf5a27b89935602d49fb8c8ae951835ae8657c21bc91821253d03ca35642323b6601ad9483599078185516d21bc3299b0281921c6c867f04cee1eb5e0c98 SHA512 60ef1954c44e0f5ce34cb5570402f402dcddbb0bffcd7d2004da489dbc1329705f8e1b2655449335d246dfb88ea58e325351d4b3ab21b62a4e167a6b93911a78 diff --git a/dev-python/lmdb/lmdb-1.5.1.ebuild b/dev-python/lmdb/lmdb-1.5.1.ebuild deleted file mode 100644 index 3f147036b2e9..000000000000 --- a/dev-python/lmdb/lmdb-1.5.1.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-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_{9,10,11,12,13} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Python bindings for the Lightning Database" -HOMEPAGE=" - https://github.com/jnwatson/py-lmdb/ - https://pypi.org/project/lmdb/ -" - -LICENSE="OPENLDAP" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~riscv x86 ~amd64-linux ~x86-linux" - -# cffi is used only on pypy, so no dep -DEPEND=" - >=dev-db/lmdb-0.9.28:= -" -RDEPEND=" - ${DEPEND} -" - -distutils_enable_tests pytest - -src_compile() { - local -x LMDB_FORCE_SYSTEM=1 - distutils-r1_src_compile -} - -python_test() { - rm -rf lmdb || die - epytest tests -} diff --git a/dev-python/loky/Manifest b/dev-python/loky/Manifest index 81a99cc338f6..abca56dcb337 100644 --- a/dev-python/loky/Manifest +++ b/dev-python/loky/Manifest @@ -1,2 +1 @@ -DIST loky-3.5.3.gh.tar.gz 145725 BLAKE2B 7971485a0895bad4b86312ec58e63141077d9e0708313a25ef3016eb34b05ac5509c754f49379503d244bda10ba8f28c142b3d91de0a58efc2b1d758725781cf SHA512 72924a95cd781cd338f3d9c7fa89bc2e3c1441e64eb4f0199ef8663aa23916920bec5504c9724bec7d128804209cd9c5de58beb756056fbf756d3e5477ef790c DIST loky-3.5.5.gh.tar.gz 145551 BLAKE2B 8a9134d563828731c0bab5e0f08adfc12f451561ac8a11e0b13ea31054c0862c03fb51a769e69fb9329032af5d2fe2620a892f571935376f104443d0d7277a2f SHA512 c7740fb8d01c67f99c2c3b98033c3df951b8e4a46216a4d018837efc5c7b7e99d99eeba8b675ed95d2003f86b4cb54d44d3946fa9cc6945cfba8626f33b4d756 diff --git a/dev-python/loky/loky-3.5.3.ebuild b/dev-python/loky/loky-3.5.3.ebuild deleted file mode 100644 index 5deeaedab5b5..000000000000 --- a/dev-python/loky/loky-3.5.3.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 2020-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit distutils-r1 - -DESCRIPTION="Robust and reusable Executor for joblib" -HOMEPAGE=" - https://github.com/joblib/loky/ - https://pypi.org/project/loky/ -" -SRC_URI=" - https://github.com/joblib/loky/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc ppc64 ~riscv x86 ~arm64-macos ~x64-macos" - -RDEPEND=" - dev-python/cloudpickle[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_test() { - EPYTEST_DESELECT=( - # docker, seriously? - tests/test_loky_module.py::test_cpu_count_cfs_limit - tests/test_loky_module.py::test_cpu_count_cgroup_limit - # hangs, and even pytest-timeout does not help - tests/test_reusable_executor.py::TestExecutorDeadLock::test_deadlock_kill - tests/test_reusable_executor.py::TestResizeExecutor::test_reusable_executor_resize - # Python 3.12 raises an additional warning due to the use of fork() - # in a multithreaded process, the additional warning breaks this test - # since the expected warning is no longer the first. - # This is harmless, skip test for now - tests/test_worker_timeout.py::TestTimeoutExecutor::test_worker_timeout_shutdown_no_deadlock - tests/test_reusable_executor.py::TestResizeExecutor::test_resize_after_timeout - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - # high memory test needs a lot of memory + is broken on 32-bit platforms - epytest --skip-high-memory -p rerunfailures --reruns=5 -} diff --git a/dev-python/loky/loky-3.5.5.ebuild b/dev-python/loky/loky-3.5.5.ebuild index d47214d70848..5deeaedab5b5 100644 --- a/dev-python/loky/loky-3.5.5.ebuild +++ b/dev-python/loky/loky-3.5.5.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~arm64-macos ~x64-macos" +KEYWORDS="amd64 ~arm arm64 ~ppc ppc64 ~riscv x86 ~arm64-macos ~x64-macos" RDEPEND=" dev-python/cloudpickle[${PYTHON_USEDEP}] diff --git a/dev-python/meson-python/meson-python-0.18.0-r1.ebuild b/dev-python/meson-python/meson-python-0.18.0-r1.ebuild index f078b98bb9a3..367756089f33 100644 --- a/dev-python/meson-python/meson-python-0.18.0-r1.ebuild +++ b/dev-python/meson-python/meson-python-0.18.0-r1.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" +KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos" RDEPEND=" >=dev-python/pyproject-metadata-0.7.1[${PYTHON_USEDEP}] diff --git a/dev-python/modern-colorthief/Manifest b/dev-python/modern-colorthief/Manifest new file mode 100644 index 000000000000..e1207849bf29 --- /dev/null +++ b/dev-python/modern-colorthief/Manifest @@ -0,0 +1,2 @@ +DIST modern-colorthief-0.1.7-crates.tar.xz 7660864 BLAKE2B e9c3970386e3d689d7def0582250e875f6fdd9601be9da2d479af7dea2c12e7879f35787092a8f38e3872961ff6391be9a2a59da86f2e9b394f92249282061af SHA512 9b2b4861e11c31a288fabdfc4c1d069b18fd5782fd19f65f09ff53ae2c7ad83a1f4cd034c3d241c78dbd14c50a2517ad4a6c932f6d5d887ebd9f4d3fd4a837ee +DIST modern_colorthief-0.1.7.tar.gz 472437 BLAKE2B f6e742ed18a09a1830170c8f41534172b18a70f26e52e3406132aa16d06dd2641a5a5d91818eaede094028231fcab794a8365d765cadae17733abcd47c83630d SHA512 6350edbf336632932afc3e054ce5041faa609814c76c3c692e85fed1cbcd551d54913eaec9252fd4ea8d4ab51b87fa3280ec7ae016b9e300dc857cdc1b343bbc diff --git a/dev-python/modern-colorthief/metadata.xml b/dev-python/modern-colorthief/metadata.xml new file mode 100644 index 000000000000..c0f74ac187e2 --- /dev/null +++ b/dev-python/modern-colorthief/metadata.xml @@ -0,0 +1,10 @@ + + + + + pastalian46@gmail.com + Takuya Wakazono + + + gentoo-guru-overlay + \ No newline at end of file diff --git a/dev-python/modern-colorthief/modern-colorthief-0.1.7.ebuild b/dev-python/modern-colorthief/modern-colorthief-0.1.7.ebuild new file mode 100644 index 000000000000..2a85127aabaf --- /dev/null +++ b/dev-python/modern-colorthief/modern-colorthief-0.1.7.ebuild @@ -0,0 +1,38 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=maturin +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit cargo distutils-r1 pypi + +DESCRIPTION="Colorthief but with modern codes" +HOMEPAGE=" + https://github.com/baseplate-admin/modern_colorthief + https://pypi.org/project/modern-colorthief/ +" +if [[ ${PKGBUMPING} != ${PVR} ]]; then + SRC_URI+=" + https://github.com/pastalian/distfiles/releases/download/${P}/${P}-crates.tar.xz + " +fi + +LICENSE="MIT" +# Dependent crate licenses +LICENSE+=" + Apache-2.0-with-LLVM-exceptions BSD-2 BSD MIT Unicode-DFS-2016 + || ( Apache-2.0 CC0-1.0 ) +" +SLOT="0" +KEYWORDS="~amd64" + +QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/modern_colorthief/modern_colorthief.*.so" + +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + examples/test_time.py +) diff --git a/dev-python/mpmath/metadata.xml b/dev-python/mpmath/metadata.xml index 64f01a943809..3adab61da70f 100644 --- a/dev-python/mpmath/metadata.xml +++ b/dev-python/mpmath/metadata.xml @@ -14,5 +14,11 @@ Python + + + Run test suite in full via additional (large) test + dependencies, like dev-python/matplotlib. + + gentoo-staging \ No newline at end of file diff --git a/dev-python/mpmath/mpmath-1.4.0_alpha5.ebuild b/dev-python/mpmath/mpmath-1.4.0_alpha5.ebuild index 441bd59c20cc..ee19dd1f6588 100644 --- a/dev-python/mpmath/mpmath-1.4.0_alpha5.ebuild +++ b/dev-python/mpmath/mpmath-1.4.0_alpha5.ebuild @@ -18,6 +18,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" KEYWORDS="amd64 ~arm arm64 ~hppa ~loong ~mips ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +IUSE="test-full" BDEPEND=" dev-python/setuptools-scm[${PYTHON_USEDEP}] @@ -31,10 +32,8 @@ BDEPEND=" $(python_gen_cond_dep ' dev-python/gmpy2[${PYTHON_USEDEP}] ' 'python3*') - !mips? ( - !hppa? ( - dev-python/matplotlib[${PYTHON_USEDEP}] - ) + test-full? ( + dev-python/matplotlib[${PYTHON_USEDEP}] ) ) " diff --git a/dev-python/multidict/multidict-6.4.4.ebuild b/dev-python/multidict/multidict-6.4.4.ebuild index ee818db03642..74c8613b0b64 100644 --- a/dev-python/multidict/multidict-6.4.4.ebuild +++ b/dev-python/multidict/multidict-6.4.4.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos" IUSE="+native-extensions" BDEPEND=" diff --git a/dev-python/narwhals/Manifest b/dev-python/narwhals/Manifest index 48459254d9b1..170d95eaaf93 100644 --- a/dev-python/narwhals/Manifest +++ b/dev-python/narwhals/Manifest @@ -1,3 +1,2 @@ -DIST narwhals-1.39.1.tar.gz 484444 BLAKE2B a3e1913a99fbe2602cdc9f6a1ae6c218e66f053365b68e682a2d32d60d600986bcdb1fddfa4b7fd7c2910bf2283f7f0add47a191594e0417f090160362651aa3 SHA512 8d4a6fc5220145db0b36901366dbeaa86956b773fb94dda3d4c84ab69abfbb26a2bf1da29b8d24a1cc2c8d11c3a3b124cb7c5a5cbafabb1813bec41a77093086 -DIST narwhals-1.40.0.tar.gz 487625 BLAKE2B c92c5447b2f7f782f93620b6772780e7d111795d190e593eef2820b3229165f4706b7f650d84bf55524053b884e6243cb6312df2b84d510e15fbd8d8602111c4 SHA512 820f8633a86283cd35cf4d672e1894fdbd7f7432de5b1fb03435790eaf73d714aad261c812bf8d329524f5ebabee07d8394b315de366186babe55ada18fbc18e DIST narwhals-1.41.0.tar.gz 488446 BLAKE2B dbf5144fd96e4a4a555c88b32bb9acbdbcb419b3c2ddb61a4283ac492c100d4eadcd76f6e286295f0575a1d0ca24247928c2b31085230b66a028bdf9c291a36d SHA512 41492fd945863b2e87440983892b81e237e7cfdab0996eba7721b69b648a1c9267b21499494630750424dabbf50b5a5d756ae25ed76ec96346038715da2aaf85 +DIST narwhals-1.41.1.tar.gz 489404 BLAKE2B 001529ab92af6cdaaf84b65621a371ff5290e5eb3285e4a1e09014e0a4e1d9c3c757b01136ea9b88a445283cf4aa48a3c07b76094923cce091bb0117aa28c503 SHA512 a9cce0aaea480d0514d71c881cd4396490111554e0b29228426fb30588884cb5e73e3f02831d4e957c7d5b02e8ff39be5ca7ea7065a576864b5ccd5aecaaadb0 diff --git a/dev-python/narwhals/narwhals-1.39.1.ebuild b/dev-python/narwhals/narwhals-1.39.1.ebuild deleted file mode 100644 index 8422b7e22466..000000000000 --- a/dev-python/narwhals/narwhals-1.39.1.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Extremely lightweight compatibility layer between dataframe libraries" -HOMEPAGE=" - https://github.com/narwhals-dev/narwhals/ - https://pypi.org/project/narwhals/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64" - -BDEPEND=" - test? ( - dev-python/hypothesis[${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] - dev-python/pyarrow[${PYTHON_USEDEP}] - dev-python/pytest-env[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest --runslow --constructors="pandas,pandas[nullable],pandas[pyarrow],pyarrow" -} diff --git a/dev-python/narwhals/narwhals-1.40.0.ebuild b/dev-python/narwhals/narwhals-1.40.0.ebuild deleted file mode 100644 index 8422b7e22466..000000000000 --- a/dev-python/narwhals/narwhals-1.40.0.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Extremely lightweight compatibility layer between dataframe libraries" -HOMEPAGE=" - https://github.com/narwhals-dev/narwhals/ - https://pypi.org/project/narwhals/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64" - -BDEPEND=" - test? ( - dev-python/hypothesis[${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] - dev-python/pyarrow[${PYTHON_USEDEP}] - dev-python/pytest-env[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest --runslow --constructors="pandas,pandas[nullable],pandas[pyarrow],pyarrow" -} diff --git a/dev-python/narwhals/narwhals-1.41.1.ebuild b/dev-python/narwhals/narwhals-1.41.1.ebuild new file mode 100644 index 000000000000..8422b7e22466 --- /dev/null +++ b/dev-python/narwhals/narwhals-1.41.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Extremely lightweight compatibility layer between dataframe libraries" +HOMEPAGE=" + https://github.com/narwhals-dev/narwhals/ + https://pypi.org/project/narwhals/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +BDEPEND=" + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/pyarrow[${PYTHON_USEDEP}] + dev-python/pytest-env[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest --runslow --constructors="pandas,pandas[nullable],pandas[pyarrow],pyarrow" +} diff --git a/dev-python/osc-lib/Manifest b/dev-python/osc-lib/Manifest index 8f1458f4ea21..884627bf40ef 100644 --- a/dev-python/osc-lib/Manifest +++ b/dev-python/osc-lib/Manifest @@ -1,2 +1 @@ -DIST osc_lib-4.0.0.tar.gz 101874 BLAKE2B a2ab33ca2b3cfe297664be940dff6a158c62de0d1c45203a1fd418fbf119d44bd52063c6d49e21cbd1afc43163d7d9bfa8d77e41b559b6e87cc0933d8da3c7b9 SHA512 bd6ccfcecb4d4a026a2900e9f472da89b3c3cbc9e0396f1f9403a8aeb4ff6756c80ba655fa7c6b0d88321ab31f05fb0db506916ab0edcc979370df76862b7c52 DIST osc_lib-4.0.2.tar.gz 101879 BLAKE2B e89d781089f1172e04739c5412baee727f5f680414cd2546aa37899b94f07eff338e9efc0872fee9dbcd773329ebfd8f0b5a780b2de1b4b65c77cb7efd85cd17 SHA512 a27c6553c51f28839147eee5f3e475cef726c529fc180f4e9055b48212a12b264dbe153d37fd2509dbdf60be697f9b47b2376dd88825d201ed15125160ad1f11 diff --git a/dev-python/osc-lib/osc-lib-4.0.0.ebuild b/dev-python/osc-lib/osc-lib-4.0.0.ebuild deleted file mode 100644 index 2e1db47c154d..000000000000 --- a/dev-python/osc-lib/osc-lib-4.0.0.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit distutils-r1 pypi - -DESCRIPTION="A package of common support modules for writing OSC plugins" -HOMEPAGE=" - https://opendev.org/openstack/osc-lib/ - https://github.com/openstack/osc-lib/ - https://pypi.org/project/osc-lib/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~riscv x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - >=dev-python/cliff-4.9.0[${PYTHON_USEDEP}] - >=dev-python/keystoneauth1-5.10.0[${PYTHON_USEDEP}] - >=dev-python/openstacksdk-0.15.0[${PYTHON_USEDEP}] - >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] - >=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}] - >=dev-python/requests-2.14.2[${PYTHON_USEDEP}] - >=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}] -" -BDEPEND=" - >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] - test? ( - >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] - >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] - >=dev-python/requests-mock-1.2.0[${PYTHON_USEDEP}] - >=dev-python/statsd-3.3.0[${PYTHON_USEDEP}] - >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] - >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests unittest - -src_prepare() { - # need to skip all tests under TestTagHelps class - # checks exact help message, based on another unittest runner - sed -e '179,$s/test_add_tag_/_&/' -i osc_lib/tests/utils/test_tags.py || die - distutils-r1_src_prepare -} diff --git a/dev-python/osc-lib/osc-lib-4.0.2.ebuild b/dev-python/osc-lib/osc-lib-4.0.2.ebuild index a1e4da06173f..2e1db47c154d 100644 --- a/dev-python/osc-lib/osc-lib-4.0.2.ebuild +++ b/dev-python/osc-lib/osc-lib-4.0.2.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm arm64 ~riscv x86 ~amd64-linux ~x86-linux" RDEPEND=" >=dev-python/cliff-4.9.0[${PYTHON_USEDEP}] diff --git a/dev-python/oslo-context/Manifest b/dev-python/oslo-context/Manifest index d4eab64ea069..915c458bf3c5 100644 --- a/dev-python/oslo-context/Manifest +++ b/dev-python/oslo-context/Manifest @@ -1,2 +1 @@ -DIST oslo_context-5.7.1.tar.gz 35109 BLAKE2B fbf7ec1a55e748e771265cb9808791e6c2b1136144c9fd010f531fff60bdb8d841b63888cf92c415ad9e8cb9ca49209ce9c878b368ce0bbcd2859bddc9f0cb47 SHA512 73c3f4208463f5f5b62bdfb7b09dd4dd2d92fbef238ec8e4245acbd5b847745b3b7a1f79c62174c4c23311a8079e731ed5c8cc9b191c3dee4a00806f7e67054a DIST oslo_context-6.0.0.tar.gz 34626 BLAKE2B 766ab3c65441d5bcc91788c46daa72d8a0bf8a854eb658ae6e51e2300ae6c876177ebb030474bf22502847ee394e22e38e13b99754801c73d66f12829e2cc273 SHA512 60b0a4738d67575bb50795c4653bbe2125e701c62043e95eae46786b0656fa7d77ad942a771289f05eb9930ad083f1bff8d80e88c080358e640c736354bc57a1 diff --git a/dev-python/oslo-context/oslo-context-5.7.1.ebuild b/dev-python/oslo-context/oslo-context-5.7.1.ebuild deleted file mode 100644 index 4f0ddb7fcc11..000000000000 --- a/dev-python/oslo-context/oslo-context-5.7.1.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2025 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_{9,10,11,12,13} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Helpers to maintain useful information about a request context" -HOMEPAGE=" - https://opendev.org/openstack/oslo.context/ - https://github.com/openstack/oslo.context/ - https://pypi.org/project/oslo.context/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~riscv x86" - -RDEPEND=" - >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] - >=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}] -" -BDEPEND=" - >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] - test? ( - >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] - >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests unittest -distutils_enable_sphinx doc/source \ - dev-python/openstackdocstheme diff --git a/dev-python/oslo-context/oslo-context-6.0.0.ebuild b/dev-python/oslo-context/oslo-context-6.0.0.ebuild index 741b18c007e4..57ce94dbf36a 100644 --- a/dev-python/oslo-context/oslo-context-6.0.0.ebuild +++ b/dev-python/oslo-context/oslo-context-6.0.0.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +KEYWORDS="amd64 ~arm arm64 ~riscv x86" RDEPEND=" >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] diff --git a/dev-python/oslotest/Manifest b/dev-python/oslotest/Manifest index 08e0611ccc7e..85a640464084 100644 --- a/dev-python/oslotest/Manifest +++ b/dev-python/oslotest/Manifest @@ -1,2 +1 @@ -DIST oslotest-5.0.0.tar.gz 37730 BLAKE2B 87f051841153ba860bfce1b4b7f69f2bf501020f51fbeffa11c4311b741e298ec95cd0beeb73b43fb5e0529765bf46b9f95bb609bca7e541bcccad3fd985104e SHA512 8b3e5a626734b8937d13555c66fbffbfbc5e0da418ab06865fc516151ae4df5d8477df5e343e913e3073b640e39b80ba32bb6015cab0c432770e8d19160d7107 DIST oslotest-5.0.1.tar.gz 37507 BLAKE2B 5674a209718db844c93447870890ad1cca60423e82f1db82b058a34ee90429cc9397ca1fbfbfa601a826db98fc3df522f36ec35fe4c1839cf66df667ea76e473 SHA512 08e11bc945a6e032a4262d566fa7903d0507b286c26257e63863558c32690be78d684942e90130fdabdfcfebca1ec0c3d491de310c7b05ac025cc9572cb5c7cc diff --git a/dev-python/oslotest/oslotest-5.0.0.ebuild b/dev-python/oslotest/oslotest-5.0.0.ebuild deleted file mode 100644 index 0194e4f7b3f6..000000000000 --- a/dev-python/oslotest/oslotest-5.0.0.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# 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_{9,10,11,12,13} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Oslo test framework" -HOMEPAGE=" - https://opendev.org/openstack/oslotest/ - https://github.com/openstack/oslotest/ - https://pypi.org/project/oslotest/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~riscv x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] - >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/pbr-1.8[${PYTHON_USEDEP}] -" - -distutils_enable_tests unittest - -src_prepare() { - sed -i -e '/subunit/d' requirements.txt || die - distutils-r1_src_prepare -} diff --git a/dev-python/oslotest/oslotest-5.0.1.ebuild b/dev-python/oslotest/oslotest-5.0.1.ebuild index 9d6bf2e83993..54ed1579478a 100644 --- a/dev-python/oslotest/oslotest-5.0.1.ebuild +++ b/dev-python/oslotest/oslotest-5.0.1.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm arm64 ~riscv x86 ~amd64-linux ~x86-linux" RDEPEND=" >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] diff --git a/dev-python/ovs/ovs-2.17.12.ebuild b/dev-python/ovs/ovs-2.17.12.ebuild index 9842b2f9b383..52e182559f80 100644 --- a/dev-python/ovs/ovs-2.17.12.ebuild +++ b/dev-python/ovs/ovs-2.17.12.ebuild @@ -12,6 +12,6 @@ HOMEPAGE="https://github.com/openvswitch/ovs/" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +KEYWORDS="amd64 ~arm64 ~ppc64 x86" RDEPEND="dev-python/sortedcontainers[${PYTHON_USEDEP}]" diff --git a/dev-python/pathable/Manifest b/dev-python/pathable/Manifest index e0038cd6d390..c5bbdb04b5c0 100644 --- a/dev-python/pathable/Manifest +++ b/dev-python/pathable/Manifest @@ -1,3 +1,2 @@ DIST pathable-0.4.4.gh.tar.gz 21381 BLAKE2B f0ba3579204a636948f96259bc67b3a6e923af1de7b6fcf4021152c9482f82fc362d5d50cb1bcd6b5393c49d2914c6d36e941647754ef7bc2554722ad02f38ad SHA512 4b1ec32f7e952749ec0384036e7becf5343e92cbec9160627c2a678e314d7387bd4ad56a3953171038a38102c715469e973218cb3995df414bd9dd750986e046 -DIST pathable-0.5.0a2.gh.tar.gz 32342 BLAKE2B 185e2fa76f4cd36053330b9627ee54742550a49736b5ee59e6c8fecccc22d97bdd89ba6725fb2b742fe6c1db5048f552651b9c89dc3c4bca1e6e73f92cf065e7 SHA512 08ffad0d5d0b476b4204d64708e3f4619d7d5753fecd026df774ff04c0b4d5282784ec04bc5e68e519b8f761ae39cd564dfa61434e0b2907a78cdc5590afeee8 -DIST pathable-0.5.0a3.gh.tar.gz 32555 BLAKE2B 8008ea804cfc4a2c27cd0e24128f2c4c2362f3ae30a467c9f6c6249b0efda1ef453951ae02bdc185e71ba72fd19a8ce7f1a8dcd821159ab232623ac44408c181 SHA512 84ff6263eb8ed0730d02e016e10e5c7e4bce9dd87221f23b64b584cd5eb928492bf74825150368f104964457fe23003eca35e9396a94d7184b35c1d640d9a963 +DIST pathable-0.5.0b1.gh.tar.gz 32636 BLAKE2B 6052ac15b68f0b0492667ffc805cfec3d433dae1d0d90a0baed7fff932459bd8ec8bf093b271225e5e0d6d9641aed6ee499a85c077c323c40ed2a413e7192c31 SHA512 bbad392866f9f1741eee53646f1f3c530d53644441d05f48bc9ed21299cc49ef7ae9036867bc5e4991f00a13897564eda7e4664d0c769290744d69d83b854ddf diff --git a/dev-python/pathable/pathable-0.5.0_alpha2.ebuild b/dev-python/pathable/pathable-0.5.0_alpha2.ebuild deleted file mode 100644 index 5433a4d95a5d..000000000000 --- a/dev-python/pathable/pathable-0.5.0_alpha2.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 2022-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) - -inherit distutils-r1 - -MY_P=${P/_alpha/a} -DESCRIPTION="Object-oriented paths" -HOMEPAGE=" - https://pypi.org/project/pathable/ - https://github.com/p1c2u/pathable -" -SRC_URI=" - https://github.com/p1c2u/pathable/archive/${PV/_alpha/a}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="Apache-2.0" -SLOT="0" - -RDEPEND=" - =dev-python/pyrsistent-0.20*[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -src_prepare() { - sed -e '/--cov/d' -i pyproject.toml || die - distutils-r1_src_prepare -} diff --git a/dev-python/pathable/pathable-0.5.0_alpha3.ebuild b/dev-python/pathable/pathable-0.5.0_alpha3.ebuild deleted file mode 100644 index 5433a4d95a5d..000000000000 --- a/dev-python/pathable/pathable-0.5.0_alpha3.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 2022-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) - -inherit distutils-r1 - -MY_P=${P/_alpha/a} -DESCRIPTION="Object-oriented paths" -HOMEPAGE=" - https://pypi.org/project/pathable/ - https://github.com/p1c2u/pathable -" -SRC_URI=" - https://github.com/p1c2u/pathable/archive/${PV/_alpha/a}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="Apache-2.0" -SLOT="0" - -RDEPEND=" - =dev-python/pyrsistent-0.20*[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -src_prepare() { - sed -e '/--cov/d' -i pyproject.toml || die - distutils-r1_src_prepare -} diff --git a/dev-python/pathable/pathable-0.5.0_beta1.ebuild b/dev-python/pathable/pathable-0.5.0_beta1.ebuild new file mode 100644 index 000000000000..17808b282246 --- /dev/null +++ b/dev-python/pathable/pathable-0.5.0_beta1.ebuild @@ -0,0 +1,35 @@ +# Copyright 2022-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 + +MY_P=${P/_beta/b} +DESCRIPTION="Object-oriented paths" +HOMEPAGE=" + https://pypi.org/project/pathable/ + https://github.com/p1c2u/pathable +" +SRC_URI=" + https://github.com/p1c2u/pathable/archive/${PV/_beta/b}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" + +RDEPEND=" + =dev-python/pyrsistent-0.20*[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +src_prepare() { + sed -e '/--cov/d' -i pyproject.toml || die + distutils-r1_src_prepare +} diff --git a/dev-python/pbs-installer/Manifest b/dev-python/pbs-installer/Manifest index e5504dd1d964..56ced7167d5a 100644 --- a/dev-python/pbs-installer/Manifest +++ b/dev-python/pbs-installer/Manifest @@ -1,2 +1,2 @@ -DIST pbs-installer-2025.05.17.gh.tar.gz 88009 BLAKE2B 8bc50bbfede74827f1a0dac03c9aa13c4af4a1f0ba7bb4dc4b513701cf2f5c41223439c6961c59a5d2c7aaa9807c11f5cf0dfdfe5bd93520bacc3376f91f0fa5 SHA512 472d7e8119ac0660c0b840c3eeb0175dae225341143790b0cc9f1b378f6faa67e9a03b84b84d4c93eb6d42c443e1f19a5d5b7abffb358becd1761a9e2e643b33 DIST pbs-installer-2025.06.04.gh.tar.gz 91286 BLAKE2B 7385e60a8f0f6b183fb46d015c48925bb81de66f65af322828a87245f53b53d191b5546a314ae91bc82d6baae527e6a2994f3aec861a586328b93b83297df189 SHA512 72e14cce3c689cbb5a961021b3eca1bf2d340c27e61faada9954b98b482dc9a4a2337230c2cd1a7a487c16f10725e454edec5a7dd75febae06f1b69cccddffb1 +DIST pbs-installer-2025.06.06.gh.tar.gz 89918 BLAKE2B a0c5d07aef5313c2303068672cd7134296ff5b7775041bf3d624d5b28db087fcef88e232ec0755f09a0318a188e2eb4e5d2506e6461ff5c8193cdb95b7982023 SHA512 10b2661cb78487b2437e276a923629df8384a96d7c19ac6cfd9fff555543ba3b0a1e7ac11afce20c4e51cc74209472356af9d7dc1f9c668536574e09fe931237 diff --git a/dev-python/pbs-installer/pbs-installer-2025.05.17.ebuild b/dev-python/pbs-installer/pbs-installer-2025.05.17.ebuild deleted file mode 100644 index f50e7c78c738..000000000000 --- a/dev-python/pbs-installer/pbs-installer-2025.05.17.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 2024-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=pdm-backend -PYTHON_COMPAT=( python3_{11..14} ) - -inherit distutils-r1 - -DESCRIPTION="Installer for Python Build Standalone" -HOMEPAGE=" - https://pypi.org/project/pbs-installer/ - https://github.com/frostming/pbs-installer/ - -" -SRC_URI=" - https://github.com/frostming/pbs-installer/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64" - -BDEPEND=" - dev-python/zstandard[${PYTHON_USEDEP}] -" - -# upstream does not provide any tests -RESTRICT=test - -python_configure_all() { - export PDM_BUILD_SCM_VERSION=${PV} -} diff --git a/dev-python/pbs-installer/pbs-installer-2025.06.06.ebuild b/dev-python/pbs-installer/pbs-installer-2025.06.06.ebuild new file mode 100644 index 000000000000..f50e7c78c738 --- /dev/null +++ b/dev-python/pbs-installer/pbs-installer-2025.06.06.ebuild @@ -0,0 +1,35 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=pdm-backend +PYTHON_COMPAT=( python3_{11..14} ) + +inherit distutils-r1 + +DESCRIPTION="Installer for Python Build Standalone" +HOMEPAGE=" + https://pypi.org/project/pbs-installer/ + https://github.com/frostming/pbs-installer/ + +" +SRC_URI=" + https://github.com/frostming/pbs-installer/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +BDEPEND=" + dev-python/zstandard[${PYTHON_USEDEP}] +" + +# upstream does not provide any tests +RESTRICT=test + +python_configure_all() { + export PDM_BUILD_SCM_VERSION=${PV} +} diff --git a/dev-python/pkgconfig/pkgconfig-1.5.5-r1.ebuild b/dev-python/pkgconfig/pkgconfig-1.5.5-r1.ebuild index 35c59abba271..b79542e03058 100644 --- a/dev-python/pkgconfig/pkgconfig-1.5.5-r1.ebuild +++ b/dev-python/pkgconfig/pkgconfig-1.5.5-r1.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~loong ~mips ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 ~loong ~mips ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" RDEPEND=" virtual/pkgconfig diff --git a/dev-python/primecountpy/Manifest b/dev-python/primecountpy/Manifest index b0bd71c1ae00..0e8d3e0cc574 100644 --- a/dev-python/primecountpy/Manifest +++ b/dev-python/primecountpy/Manifest @@ -1,2 +1 @@ -DIST primecountpy-0.1.0.tar.gz 16070 BLAKE2B e14b0d4bdd27cf4757e796853ec8d260c40a5f01740dc60e2e16f1251434533c5aa0bbd66a9c6de6ad3f69a5010dd77703305b3d1d9262207489e25c552e6225 SHA512 c279fb2bec9d2108960510a25cf645c605618359649dd0a4b6b707aee01047937cbd02fe89c249693dc152e44b85cb960803e378a05e6a52b50c6cba6124c3d5 DIST primecountpy-0.1.1.gh.tar.gz 14681 BLAKE2B 9c8e7180ab7969d1f617c05e8b49fe1cd2666cc0aa7510071ba9f8b59725c46774813fed07642ffa21fd93e80231719a4226cabc7f133b65d09f91ce68ec87d7 SHA512 c30fc5c786b39a1b000e4234002a4fb46ae5638240e6923ed25f4f2211a10b82ccae33982424a514ea8e61d8418f365217620bba8f64d1676d54db149e457942 diff --git a/dev-python/primecountpy/primecountpy-0.1.0-r1.ebuild b/dev-python/primecountpy/primecountpy-0.1.0-r1.ebuild deleted file mode 100644 index d3a7d86bcb89..000000000000 --- a/dev-python/primecountpy/primecountpy-0.1.0-r1.ebuild +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright 2020-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) -DISTUTILS_USE_PEP517=setuptools -DISTUTILS_EXT=1 -inherit distutils-r1 pypi - -DESCRIPTION="Cython interface to sci-mathematics/primecount" -HOMEPAGE="https://pypi.org/project/primecountpy/ - https://github.com/dimpase/primecountpy" - -# LICENSE clarification in README.md -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="amd64 ~riscv" - -DEPEND="sci-mathematics/primecount - dev-python/cysignals[${PYTHON_USEDEP}]" -RDEPEND="${DEPEND}" -BDEPEND="dev-python/cython[${PYTHON_USEDEP}]" diff --git a/dev-python/primecountpy/primecountpy-0.1.1.ebuild b/dev-python/primecountpy/primecountpy-0.1.1.ebuild index 93bf6987adc3..506ae4df080b 100644 --- a/dev-python/primecountpy/primecountpy-0.1.1.ebuild +++ b/dev-python/primecountpy/primecountpy-0.1.1.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://github.com/dimpase/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P # LICENSE clarification in README.md LICENSE="GPL-2+" SLOT="0" -KEYWORDS="~amd64 ~riscv" +KEYWORDS="amd64 ~riscv" DEPEND="sci-mathematics/primecount dev-python/cysignals[${PYTHON_USEDEP}]" diff --git a/dev-python/pycryptodome/pycryptodome-3.23.0.ebuild b/dev-python/pycryptodome/pycryptodome-3.23.0.ebuild index e05be52e0ef0..4454123e7ac3 100644 --- a/dev-python/pycryptodome/pycryptodome-3.23.0.ebuild +++ b/dev-python/pycryptodome/pycryptodome-3.23.0.ebuild @@ -23,7 +23,7 @@ SRC_URI=" LICENSE="BSD-2 Unlicense" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" DEPEND=" dev-libs/gmp:= diff --git a/dev-python/pydantic/pydantic-2.11.5.ebuild b/dev-python/pydantic/pydantic-2.11.5.ebuild index 36e73652f9af..d7322ea41a41 100644 --- a/dev-python/pydantic/pydantic-2.11.5.ebuild +++ b/dev-python/pydantic/pydantic-2.11.5.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ppc64 ~riscv ~s390 ~sparc x86" RDEPEND=" >=dev-python/annotated-types-0.6.0[${PYTHON_USEDEP}] diff --git a/dev-python/pynacl/files/pynacl-1.5.0-py314.patch b/dev-python/pynacl/files/pynacl-1.5.0-py314.patch new file mode 100644 index 000000000000..210728b2ea76 --- /dev/null +++ b/dev-python/pynacl/files/pynacl-1.5.0-py314.patch @@ -0,0 +1,58 @@ +https://github.com/pyca/pynacl/commit/d33028e43b814615a33e231925eaddb0f679fa2b + +From d33028e43b814615a33e231925eaddb0f679fa2b Mon Sep 17 00:00:00 2001 +From: Karolina Surma <33810531+befeleme@users.noreply.github.com> +Date: Fri, 15 Nov 2024 04:53:12 +0100 +Subject: [PATCH] Fix compatibility with Python 3.14.0a1 (#848) + +typing.ByteString has been removed from Python 3.14. +Ported the suggested way from the documentation: +https://docs.python.org/3.13/library/typing.html#typing.ByteString +--- + src/nacl/bindings/crypto_secretstream.py | 3 ++- + tests/test_secretstream.py | 3 ++- + 2 files changed, 4 insertions(+), 2 deletions(-) + +diff --git a/src/nacl/bindings/crypto_secretstream.py b/src/nacl/bindings/crypto_secretstream.py +index d7c6725e..59b074c5 100644 +--- a/src/nacl/bindings/crypto_secretstream.py ++++ b/src/nacl/bindings/crypto_secretstream.py +@@ -11,7 +11,7 @@ + # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + # See the License for the specific language governing permissions and + # limitations under the License. +-from typing import ByteString, Optional, Tuple, cast ++from typing import Optional, Tuple, Union, cast + + from nacl import exceptions as exc + from nacl._sodium import ffi, lib +@@ -73,6 +73,7 @@ class crypto_secretstream_xchacha20poly1305_state: + + def __init__(self) -> None: + """Initialize a clean state object.""" ++ ByteString = Union[bytes, bytearray, memoryview] + self.statebuf: ByteString = ffi.new( + "unsigned char[]", + crypto_secretstream_xchacha20poly1305_STATEBYTES, +diff --git a/tests/test_secretstream.py b/tests/test_secretstream.py +index d1b72739..9a847bb4 100644 +--- a/tests/test_secretstream.py ++++ b/tests/test_secretstream.py +@@ -16,7 +16,7 @@ + import json + import os + import random +-from typing import ByteString, List, Optional, Tuple ++from typing import List, Optional, Tuple, Union + + from _pytest._code import ExceptionInfo + from _pytest.monkeypatch import MonkeyPatch +@@ -219,6 +219,7 @@ def test_it_like_libsodium(): + + header = crypto_secretstream_xchacha20poly1305_init_push(state, k) + ++ ByteString = Union[bytes, bytearray, memoryview] + state_save: ByteString = ffi.buffer(state.statebuf)[:] + + c1 = crypto_secretstream_xchacha20poly1305_push( + diff --git a/dev-python/pynacl/pynacl-1.5.0-r4.ebuild b/dev-python/pynacl/pynacl-1.5.0-r4.ebuild new file mode 100644 index 000000000000..24da0ec28de0 --- /dev/null +++ b/dev-python/pynacl/pynacl-1.5.0-r4.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2025 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_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Python binding to the Networking and Cryptography (NaCl) library" +HOMEPAGE=" + https://github.com/pyca/pynacl/ + https://pypi.org/project/PyNaCl/ +" +SRC_URI=" + https://github.com/pyca/pynacl/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +DEPEND=" + dev-libs/libsodium:= +" +RDEPEND=" + ${DEPEND} + $(python_gen_cond_dep ' + >=dev-python/cffi-1.4.1[${PYTHON_USEDEP}] + ' 'python*') +" +BDEPEND=" + $(python_gen_cond_dep ' + >=dev-python/cffi-1.4.1[${PYTHON_USEDEP}] + ' 'python*') + test? ( + >=dev-python/hypothesis-3.27.0[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-1.5.0-py314.patch +) + +distutils_enable_tests pytest + +src_compile() { + # For not using the bundled libsodium + local -x SODIUM_INSTALL=system + distutils-r1_src_compile +} diff --git a/dev-python/pyopenssl/pyopenssl-25.1.0.ebuild b/dev-python/pyopenssl/pyopenssl-25.1.0.ebuild index a9ead9decf3c..11e89d49062f 100644 --- a/dev-python/pyopenssl/pyopenssl-25.1.0.ebuild +++ b/dev-python/pyopenssl/pyopenssl-25.1.0.ebuild @@ -19,7 +19,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 ~arm arm64 ~loong ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86" RDEPEND=" +--- a/testing/runner.py ++++ b/testing/runner.py +@@ -20,7 +20,7 @@ + build_scripts_dir = os.path.abspath(os.path.join(this_dir, "..")) + + sys.path.append(build_scripts_dir) +-from build_scripts.utils import detect_clang ++from build_scripts.utils import detect_clang # noqa: E402 + + + class TestRunner: +@@ -78,11 +78,12 @@ def _find_ctest_in_file(self, file_name): + Helper for _find_ctest() that finds the ctest binary in a build + system file (ninja, Makefile). + """ +- look_for = "--force-new-ctest-process" ++ # Looking for a command ending this way: ++ look_for = "\\ctest.exe" if "win32" in sys.platform else "/ctest" + line = None + with open(file_name) as makefile: + for line in makefile: +- if look_for in line: ++ if look_for in line and line.lstrip().startswith("COMMAND"): + break + else: + # We have probably forgotten to build the tests. +@@ -98,7 +99,8 @@ def _find_ctest_in_file(self, file_name): + raise RuntimeError(msg) + # the ctest program is on the left to look_for + assert line, f"Did not find {look_for}" +- ctest = re.search(r'(\S+|"([^"]+)")\s+' + look_for, line).groups() ++ look = re.escape(look_for) ++ ctest = re.search(fr'(\S+{look}|"([^"]+{look})")', line).groups() + return ctest[1] or ctest[0] + + def _find_ctest(self): diff --git a/dev-python/pyside/pyside-6.9.0.ebuild b/dev-python/pyside/pyside-6.9.0.ebuild deleted file mode 100644 index 6d4844edaf7b..000000000000 --- a/dev-python/pyside/pyside-6.9.0.ebuild +++ /dev/null @@ -1,508 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# NOTE: We combine here several PyPI packages, we do this because -# pyside can and does break if it is compiled with a different -# toolchain then was used to build shiboken. This bundling ensures -# that we always use the same toolchain for all components. - -EAPI=8 - -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) -LLVM_COMPAT=( {16..20} ) -DISTUTILS_USE_PEP517=setuptools -DISTUTILS_EXT=1 - -inherit distutils-r1 llvm-r1 multiprocessing qmake-utils virtualx - -MY_PN=${PN}-setup-everywhere-src -MY_P=${MY_PN}-${PV} - -DESCRIPTION="Python bindings for the Qt framework" -HOMEPAGE="https://wiki.qt.io/PySide6" - -if [[ ${PV} == *.9999 ]]; then - inherit git-r3 - EGIT_REPO_URI=( - "https://code.qt.io/${PN}/${PN}-setup.git" - "https://github.com/qtproject/${PN}-${PN}-setup.git" - ) - EGIT_BRANCH=dev - [[ ${PV} == 6.*.9999 ]] && EGIT_BRANCH=${PV%.9999} -else - SRC_URI="https://download.qt.io/official_releases/QtForPython/${PN}6/PySide6-${PV}-src/${MY_P}.tar.xz" - S="${WORKDIR}/${MY_P}" - KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" -fi - -LICENSE="|| ( GPL-2 GPL-3 LGPL-3 )" -SLOT="6/${PV}" - -# If a flag enables multiple Qt modules, they should be ordered -# according to their dependencies, e.g. for 3d, 3DCore must be first. -# Widgets for various modules are handled as a special case later -declare -A QT_MODULES=( - ["3d"]="3DCore 3DRender 3DLogic 3DInput 3DAnimation 3DExtras" - ["bluetooth"]="Bluetooth" - ["charts"]="Charts" - ["+concurrent"]="Concurrent" - ["+core"]="Core" - ["+dbus"]="DBus" - ["designer"]="Designer" - ["+gui"]="Gui" - ["help"]="Help" - ["httpserver"]="HttpServer" - ["location"]="Location" - ["multimedia"]="Multimedia" # plus widgets - ["network-auth"]="NetworkAuth" - ["+network"]="Network" - ["nfc"]="Nfc" - ["+opengl"]="OpenGL" # plus widgets - ["pdfium"]="Pdf" # plus widgets - ["positioning"]="Positioning" - ["+printsupport"]="PrintSupport" - ["qml"]="Qml" - ["quick3d"]="Quick3D" - ["quick"]="Quick" # plus widgets - ["remoteobjects"]="RemoteObjects" - ["scxml"]="Scxml" - ["sensors"]="Sensors" - ["serialbus"]="SerialBus" - ["serialport"]="SerialPort" - ["spatialaudio"]="SpatialAudio" - ["+sql"]="Sql" - ["svg"]="Svg" # plus widgets - ["speech"]="TextToSpeech" - ["+testlib"]="Test" - ["uitools"]="UiTools" - ["webchannel"]="WebChannel" - ["webengine"]="WebEngineCore" # plus widgets and quick - ["websockets"]="WebSockets" - ["webview"]="WebView" - ["+widgets"]="Widgets" - ["+xml"]="Xml" -) - -# Manually reextract these requirements on version bumps by running the -# following one-liner from within "${S}": -# $ grep 'set.*_deps' PySide6/Qt*/CMakeLists.txt -declare -A QT_REQUIREMENTS=( - ["3d"]="gui network opengl" - ["bluetooth"]="core" - ["charts"]="core gui widgets" - ["concurrent"]="core" - ["dbus"]="core" - ["designer"]="widgets" - ["gles2-only"]="gui" - ["gui"]="core" - ["help"]="widgets" - ["httpserver"]="core concurrent network websockets" - ["location"]="core positioning" - ["multimedia"]="core gui network" - ["network-auth"]="network" - ["network"]="core" - ["nfc"]="core" - ["opengl"]="gui" - ["pdfium"]="core gui network" - ["positioning"]="core" - ["printsupport"]="widgets" - ["qml"]="network" - ["quick"]="gui network qml opengl" - ["quick3d"]="gui network qml quick" - ["remoteobjects"]="core network" - ["scxml"]="core" - ["sensors"]="core" - ["serialbus"]="core network serialport" - ["serialport"]="core" - ["spatialaudio"]="core gui network multimedia" - ["speech"]="core multimedia" - ["sql"]="widgets" - ["svg"]="gui" - ["testlib"]="widgets" - ["uitools"]="widgets" - ["webchannel"]="core" - ["webengine"]="core gui network printsupport quick webchannel" - ["websockets"]="network" - ["webview"]="gui quick webengine" - ["widgets"]="gui" - ["xml"]="core" -) - -IUSE="${!QT_MODULES[@]} debug doc gles2-only numpy test tools" -RESTRICT="!test? ( test )" - -# majority of QtQml tests require QtQuick support -REQUIRED_USE=" - test? ( - qml? ( quick ) - ) -" -for requirement in ${!QT_REQUIREMENTS[@]}; do - REQUIRED_USE+=" ${requirement}? ( ${QT_REQUIREMENTS[${requirement}]} ) " -done - -# Minimal supported version of Qt. -QT_PV="$(ver_cut 1-3)*:6" - -# WebEngine needs sound support, so enable either pulseaudio or alsa -RDEPEND=" - =dev-qt/qtbase-${QT_PV}[concurrent?,dbus?,gles2-only=,network?,opengl?,sql?,widgets?,xml?] - 3d? ( =dev-qt/qt3d-${QT_PV}[qml?,gles2-only=] ) - bluetooth? ( =dev-qt/qtconnectivity-${QT_PV}[bluetooth] ) - charts? ( =dev-qt/qtcharts-${QT_PV} ) - designer? ( =dev-qt/qttools-${QT_PV}[designer,widgets,gles2-only=] ) - gui? ( - =dev-qt/qtbase-${QT_PV}[gui,jpeg(+)] - x11-libs/libxkbcommon - ) - help? ( =dev-qt/qttools-${QT_PV}[assistant,gles2-only=] ) - httpserver? ( =dev-qt/qthttpserver-${QT_PV} ) - location? ( =dev-qt/qtlocation-${QT_PV} ) - multimedia? ( =dev-qt/qtmultimedia-${QT_PV}[widgets(+)?] ) - network? ( =dev-qt/qtbase-${QT_PV}[ssl] ) - network-auth? ( =dev-qt/qtnetworkauth-${QT_PV} ) - nfc? ( =dev-qt/qtconnectivity-${QT_PV}[nfc] ) - numpy? ( >=dev-python/numpy-2.1.3[${PYTHON_USEDEP}] ) - pdfium? ( =dev-qt/qtwebengine-${QT_PV}[pdfium(-),widgets?] ) - positioning? ( =dev-qt/qtpositioning-${QT_PV} ) - printsupport? ( =dev-qt/qtbase-${QT_PV}[gui,widgets] ) - qml? ( =dev-qt/qtdeclarative-${QT_PV}[opengl?,widgets?] ) - quick3d? ( =dev-qt/qtquick3d-${QT_PV}[opengl?] ) - remoteobjects? ( =dev-qt/qtremoteobjects-${QT_PV} ) - scxml? ( =dev-qt/qtscxml-${QT_PV} ) - sensors? ( =dev-qt/qtsensors-${QT_PV}[qml?] ) - speech? ( =dev-qt/qtspeech-${QT_PV} ) - serialbus? ( =dev-qt/qtserialbus-${QT_PV} ) - serialport? ( =dev-qt/qtserialport-${QT_PV} ) - svg? ( =dev-qt/qtsvg-${QT_PV} ) - testlib? ( =dev-qt/qtbase-${QT_PV}[gui] ) - tools? ( - =dev-qt/qtbase-${QT_PV} - =dev-qt/qtdeclarative-${QT_PV}[qmlls] - =dev-qt/qttools-${QT_PV}[assistant,designer,linguist] - dev-python/pkginfo[${PYTHON_USEDEP}] - ) - uitools? ( =dev-qt/qttools-${QT_PV}[gles2-only=,widgets] ) - webchannel? ( =dev-qt/qtwebchannel-${QT_PV} ) - webengine? ( || ( - =dev-qt/qtwebengine-${QT_PV}[alsa,widgets?] - =dev-qt/qtwebengine-${QT_PV}[pulseaudio,widgets?] - ) - ) - websockets? ( =dev-qt/qtwebsockets-${QT_PV} ) - webview? ( =dev-qt/qtwebview-${QT_PV} ) - !dev-python/pyside:0 - !dev-python/shiboken6 - !dev-python/pyside6-tools -" - -DEPEND="${RDEPEND} - $(llvm_gen_dep ' - llvm-core/clang:${LLVM_SLOT} - llvm-core/llvm:${LLVM_SLOT} - ') - dev-util/vulkan-headers - test? ( =dev-qt/qtbase-${QT_PV}[gui] ) -" # testlib is toggled by the gui flag on qtbase - -BDEPEND=" - dev-build/cmake - dev-python/distro[${PYTHON_USEDEP}] - =dev-libs/libxml2-2.6.32 - >=dev-libs/libxslt-1.1.19 - media-gfx/graphviz - dev-python/sphinx[${PYTHON_USEDEP}] - dev-python/myst-parser[${PYTHON_USEDEP}] - ) - numpy? ( dev-python/numpy[${PYTHON_USEDEP}] ) -" - -PATCHES=( - # Needs porting to newer wheel and setuptools - "${FILESDIR}/${PN}-6.8.2-quick-fix-build-wheel.patch" -) - -# Build system duplicates system libraries. TODO: fix -QA_PREBUILT=( - "/usr/lib/python*/site-packages/PySide6/*" -) - -python_prepare_all() { - distutils-r1_python_prepare_all - - # Shiboken6 assumes Vulkan headers live under either "$VULKAN_SDK/include" - # or "$VK_SDK_PATH/include" rather than "${EPREFIX}/usr/include/vulkan". - sed -i -e "s~\bdetectVulkan(&headerPaths);~headerPaths.append(HeaderPath{QByteArrayLiteral(\"${EPREFIX}/usr/include/vulkan\"), HeaderType::System});~" \ - sources/shiboken6/ApiExtractor/clangparser/compilersupport.cpp || die - - # Shiboken6 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. - # PySide6 does *NOT* care whether the end user has done so or not, as - # PySide6 unconditionally requires Clang in either case. See also: - # https://bugs.gentoo.org/619490 - sed -e \ - 's~(findClangBuiltInIncludesDir())~(QStringLiteral("'"${EPREFIX}"'/usr/lib/clang/'"${LLVM_SLOT}"'/include"))~' \ - -i sources/shiboken6/ApiExtractor/clangparser/compilersupport.cpp || die - - # blacklist.txt works like XFAIL - cat <<- EOF >> build_history/blacklist.txt || die - # segfaults with QOpenGLContext::create - [pysidetest::qapp_like_a_macro_test] - linux - # Tries to execute pip install - [pyside6-deploy::test_pyside6_deploy] - linux - [pyside6-android-deploy::test_pyside6_android_deploy] - linux - EOF - - if ! use numpy; then - cat <<- EOF >> build_history/blacklist.txt || die - # Requires numpy support to pass - [sample::array_numpy] - linux - [sample::nontypetemplate] - linux - [QtGui::qpainter_test] - linux - EOF - fi -} - -python_configure_all() { - ENABLED_QT_MODULES=() - - # The order matters, dependencies must come first so process - # REQUIRED_USE and recursively enable modules - enable_qt_mod() { - local flag=${1} - local modules=${QT_MODULES[${flag}]} - if [[ -z ${modules} ]]; then - die "incorrect flag=${flag}, not registered" - fi - local dependencies=${QT_REQUIREMENTS[${flag//+}]} - if [[ -n ${dependencies} ]]; then - local depflag - for depflag in ${dependencies}; do - if use ${depflag}; then - if [[ -z ${QT_MODULES[${depflag}]} ]]; then - depflag=+${depflag} - fi - enable_qt_mod ${depflag} - else - die "${depflag} is required but not enabled" - fi - done - fi - if [[ "${ENABLED_QT_MODULES[*]}" != *${modules}* ]]; then - ENABLED_QT_MODULES+=( ${modules} ) - fi - } - # Enable specified qt modules - local flag - for flag in ${!QT_MODULES[@]}; do - if use ${flag//+}; then - enable_qt_mod ${flag} - fi - done - - # Special cases - if use widgets; then - use multimedia && ENABLED_QT_MODULES+=( MultimediaWidgets ) - use opengl && ENABLED_QT_MODULES+=( OpenGLWidgets ) - use pdfium && ENABLED_QT_MODULES+=( PdfWidgets ) - use quick && ENABLED_QT_MODULES+=( QuickWidgets ) - use svg && ENABLED_QT_MODULES+=( SvgWidgets ) - use webengine && ENABLED_QT_MODULES+=( WebEngineWidgets ) - fi - if use quick; then - use webengine && ENABLED_QT_MODULES+=( WebEngineQuick ) - use testlib && ENABLED_QT_MODULES+=( QuickTest ) - fi - - # Arguments listed in options.py - MAIN_DISTUTILS_ARGS=( - --cmake="${EPREFIX}/usr/bin/cmake" - --ignore-git - --limited-api=no - --module-subset="$(printf '%s,' "${ENABLED_QT_MODULES[@]}")" - --no-strip - --no-size-optimization - --openssl="${EPREFIX}/usr/bin/openssl" - --qt=$(ver_cut 1-3) - --qtpaths=$(qt6_get_bindir)/qtpaths - --verbose-build - --parallel=$(makeopts_jobs) - $(usex debug "--debug" "--relwithdebinfo") - $(usex doc "--build-docs" "--skip-docs") - $(usex numpy "--enable-numpy-support" "--disable-numpy-support") - $(usex test "--build-tests --use-xvfb" "") - $(usex tools "" "--no-qt-tools") - ) -} - -python_compile() { - DISTUTILS_ARGS=( - "${MAIN_DISTUTILS_ARGS[@]}" - --build-type=shiboken6 - ) - distutils-r1_python_compile - - # The build system uses its own build dir, find the name of this dir. - local pyside_build_dir=$(find "${BUILD_DIR}/build$((${#DISTUTILS_WHEELS[@]}-1))" -maxdepth 1 -type d -name 'qfp*-py*-qt*-*' -printf "%f\n") - export pyside_build_id=${pyside_build_dir#qfp$(usev debug d)-py${EPYTHON#python}-qt$(ver_cut 1-3)-} - - DISTUTILS_ARGS=( - "${MAIN_DISTUTILS_ARGS[@]}" - --reuse-build - --shiboken-target-path="${BUILD_DIR}/build$((${#DISTUTILS_WHEELS[@]}-1))/${pyside_build_dir}/install" - --build-type=shiboken6-generator - ) - distutils-r1_python_compile - # If no pyside modules enabled, build just shiboken - if [[ ${#ENABLED_QT_MODULES[@]} -gt 0 ]]; then - DISTUTILS_ARGS=( - "${MAIN_DISTUTILS_ARGS[@]}" - --reuse-build - --shiboken-target-path="${BUILD_DIR}/build$((${#DISTUTILS_WHEELS[@]}-1))/${pyside_build_dir}/install" - --build-type=pyside6 - ) - distutils-r1_python_compile - fi - - # Link libraries to the usual location for backwards compatibility - pushd "${BUILD_DIR}/install/$(python_get_sitedir)" >/dev/null || - die - mkdir -p "${BUILD_DIR}/install/usr/$(get_libdir)" || die - local lib - for lib in */*.cpython-*.so - do - local base=${lib##*/} - ln -s "${base}" "${lib%/*}/${base%%.*}-${EPYTHON}.so" || - die - done - for lib in */*.cpython-*.so.$(ver_cut 1-2) - do - local base=${lib##*/} - ln -s "${base}" "${lib%/*}/${base%%.*}-${EPYTHON}.so.$(ver_cut 1-2)" || - die - done - for lib in */*.so*; do - ln -s "../../$(python_get_sitedir)/${lib}" \ - "${BUILD_DIR}/install/usr/$(get_libdir)/${lib#*/}" || die - done - popd >/dev/null || die - - # Symlinks for compatibility with pypi wheels - local dir - if [[ -d ${BUILD_DIR}/install/$(python_get_sitedir)/PySide6 ]] - then - pushd "${BUILD_DIR}/install/$(python_get_sitedir)/PySide6" \ - >/dev/null || die - mkdir -p "${BUILD_DIR}/install/usr/share/PySide6" || die - for dir in doc glue typesystems; do - ln -s "../../../$(python_get_sitedir)/PySide6/${dir}" \ - "${BUILD_DIR}/install/usr/share/PySide6/${dir}" || - die - done - popd >/dev/null || die - fi - mkdir -p "${BUILD_DIR}/install/usr/include" - for dir in PySide6 shiboken6_generator; do - if [[ -d ${BUILD_DIR}/install/$(python_get_sitedir)/${dir}/include ]] - then - ln -s "../../$(python_get_sitedir)/${dir}/include" \ - "${BUILD_DIR}/install/usr/include/${dir//_generator}" || - die - fi - done - - # Install misc files from inner install dir - find "${BUILD_DIR}"/build*/${pyside_build_dir}/install -type f \ - -name libPySidePlugin.so -exec \ - mkdir -p "${BUILD_DIR}/install/$(qt6_get_plugindir)/designer/" \; \ - -exec \ - cp "{}" "${BUILD_DIR}/install/$(qt6_get_plugindir)/designer/" \; \ - || die - - for dir in cmake pkgconfig; do - find "${BUILD_DIR}"/build*/${pyside_build_dir}/install -type d -name ${dir} \ - -exec cp -r "{}" "${BUILD_DIR}/install/usr/lib/" \; \ - || die - done - - # Uniquify the pkgconfigs file for the current Python target, - # preserving an unversioned "shiboken6.pc" file arbitrarily - # associated with the last Python target. - if [[ -f ${BUILD_DIR}/install/usr/lib/pkgconfig/shiboken6.pc ]] - then - sed -e 's~prefix=.*~prefix=/usr~g' \ - -e 's~exec_prefix=.*~exec_prefix=${prefix}~g' \ - -e "s~libdir=.*~libdir=$(python_get_sitedir)/shiboken6~g" \ - -e "s~includedir=.*~includedir=$(python_get_sitedir)/shiboken6_generator/include~g" \ - -i "${BUILD_DIR}/install/usr/lib/pkgconfig/shiboken6.pc" || die - cp "${BUILD_DIR}/install/usr/lib/pkgconfig/"shiboken6{,-${EPYTHON}}.pc || die - fi - if [[ -f ${BUILD_DIR}/install/usr/lib/pkgconfig/pyside6.pc ]] - then - sed -e 's~^Requires: shiboken6$~&-'${EPYTHON}'~' \ - -e 's~prefix=.*~prefix=/usr~g' \ - -e 's~exec_prefix=.*~exec_prefix=${prefix}~g' \ - -e "s~libdir=.*~libdir=$(python_get_sitedir)/PySide6~g" \ - -e "s~includedir=.*~includedir=$(python_get_sitedir)/PySide6/include~g" \ - -e "s~typesystemdir=.*~typesystemdir=$(python_get_sitedir)/PySide6/typesystems~g" \ - -e "s~gluedir=.*~gluedir=$(python_get_sitedir)/PySide6/glue~g" \ - -e "s~pythonpath=.*~pythonpath=$(python_get_sitedir)~g" \ - -i "${BUILD_DIR}/install/usr/lib/pkgconfig/pyside6.pc" || die - cp "${BUILD_DIR}/install/usr/lib/pkgconfig/"pyside6{,-${EPYTHON}}.pc || die - fi - - sed \ - -e "s~/lib/libshiboken6\.cpython~/$(get_libdir)/libshiboken6\.cpython~g" \ - -e "s~/lib/libpyside6\.cpython~/$(get_libdir)/libpyside6\.cpython~g" \ - -e "s~/lib/libpyside6qml\.cpython~/$(get_libdir)/libpyside6qml\.cpython~g" \ - -e "s~libshiboken6\.cpython.*\.so\.$(ver_cut 1-3)~libshiboken6\${PYTHON_CONFIG_SUFFIX}\.so\.$(ver_cut 1-2)~g" \ - -e "s~libpyside6\.cpython.*\.so\.$(ver_cut 1-3)~libpyside6\${PYTHON_CONFIG_SUFFIX}\.so\.$(ver_cut 1-2)~g" \ - -e "s~libpyside6qml\.cpython.*\.so\.$(ver_cut 1-3)~libpyside6qml\${PYTHON_CONFIG_SUFFIX}\.so\.$(ver_cut 1-2)~g" \ - -e "s~libshiboken6\.cpython.*\.so\.$(ver_cut 1-2)~libshiboken6\${PYTHON_CONFIG_SUFFIX}\.so\.$(ver_cut 1-2)~g" \ - -e "s~libpyside6\.cpython.*\.so\.$(ver_cut 1-2)~libpyside6\${PYTHON_CONFIG_SUFFIX}\.so\.$(ver_cut 1-2)~g" \ - -e "s~libpyside6qml\.cpython.*\.so\.$(ver_cut 1-2)~libpyside6qml\${PYTHON_CONFIG_SUFFIX}\.so\.$(ver_cut 1-2)~g" \ - -i "${BUILD_DIR}/install/usr/lib/cmake/"*/*.cmake || die - local file - for file in "${BUILD_DIR}/install/usr/lib/cmake/"*/*.cpython-*.cmake - do - local base=${file##*/} - ln -s "${base}" "${file%/*}/${base%%.*}-${EPYTHON}.cmake" || - die - done -} - -python_test() { - # Otherwise it picks the last built directory breaking assumption for multi target builds - mkdir -p build_history/9999-99-99_999999/ || die - local pyside_build_dir=qfp$(usev debug d)-py${EPYTHON#python}-qt$(ver_cut 1-3)-${pyside_build_id} - echo "$(ls -d "${BUILD_DIR}"/build*/${pyside_build_dir}/build | sort -V | tail -n 1)" > build_history/9999-99-99_999999/build_dir.txt || die - echo "${pyside_build_dir}" >> build_history/9999-99-99_999999/build_dir.txt || die - - virtx ${EPYTHON} testrunner.py test --projects=shiboken6 $(usev core '--projects=pyside6') || - die "Tests failed with ${EPYTHON}" -} - -pkg_preinst() { - # Avoid symlinks being blocked by directories - rm -rf "${EROOT}/usr/include/"{PySide6,shiboken6} || die - rm -rf "${EROOT}/usr/share/PySide6" || die -} diff --git a/dev-python/pyside/pyside-6.9.1.ebuild b/dev-python/pyside/pyside-6.9.1.ebuild new file mode 100644 index 000000000000..2d2946e83181 --- /dev/null +++ b/dev-python/pyside/pyside-6.9.1.ebuild @@ -0,0 +1,509 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# NOTE: We combine here several PyPI packages, we do this because +# pyside can and does break if it is compiled with a different +# toolchain then was used to build shiboken. This bundling ensures +# that we always use the same toolchain for all components. + +EAPI=8 + +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) +LLVM_COMPAT=( {16..20} ) +DISTUTILS_USE_PEP517=setuptools +DISTUTILS_EXT=1 + +inherit distutils-r1 llvm-r1 multiprocessing qmake-utils virtualx + +MY_PN=${PN}-setup-everywhere-src +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Python bindings for the Qt framework" +HOMEPAGE="https://wiki.qt.io/PySide6" + +if [[ ${PV} == *.9999 ]]; then + inherit git-r3 + EGIT_REPO_URI=( + "https://code.qt.io/${PN}/${PN}-setup.git" + "https://github.com/qtproject/${PN}-${PN}-setup.git" + ) + EGIT_BRANCH=dev + [[ ${PV} == 6.*.9999 ]] && EGIT_BRANCH=${PV%.9999} +else + SRC_URI="https://download.qt.io/official_releases/QtForPython/${PN}6/PySide6-${PV}-src/${MY_P}.tar.xz" + S="${WORKDIR}/${MY_P}" + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" +fi + +LICENSE="|| ( GPL-2 GPL-3 LGPL-3 )" +SLOT="6/${PV}" + +# If a flag enables multiple Qt modules, they should be ordered +# according to their dependencies, e.g. for 3d, 3DCore must be first. +# Widgets for various modules are handled as a special case later +declare -A QT_MODULES=( + ["3d"]="3DCore 3DRender 3DLogic 3DInput 3DAnimation 3DExtras" + ["bluetooth"]="Bluetooth" + ["charts"]="Charts" + ["+concurrent"]="Concurrent" + ["+core"]="Core" + ["+dbus"]="DBus" + ["designer"]="Designer" + ["+gui"]="Gui" + ["help"]="Help" + ["httpserver"]="HttpServer" + ["location"]="Location" + ["multimedia"]="Multimedia" # plus widgets + ["network-auth"]="NetworkAuth" + ["+network"]="Network" + ["nfc"]="Nfc" + ["+opengl"]="OpenGL" # plus widgets + ["pdfium"]="Pdf" # plus widgets + ["positioning"]="Positioning" + ["+printsupport"]="PrintSupport" + ["qml"]="Qml" + ["quick3d"]="Quick3D" + ["quick"]="Quick" # plus widgets + ["remoteobjects"]="RemoteObjects" + ["scxml"]="Scxml" + ["sensors"]="Sensors" + ["serialbus"]="SerialBus" + ["serialport"]="SerialPort" + ["spatialaudio"]="SpatialAudio" + ["+sql"]="Sql" + ["svg"]="Svg" # plus widgets + ["speech"]="TextToSpeech" + ["+testlib"]="Test" + ["uitools"]="UiTools" + ["webchannel"]="WebChannel" + ["webengine"]="WebEngineCore" # plus widgets and quick + ["websockets"]="WebSockets" + ["webview"]="WebView" + ["+widgets"]="Widgets" + ["+xml"]="Xml" +) + +# Manually reextract these requirements on version bumps by running the +# following one-liner from within "${S}": +# $ grep 'set.*_deps' PySide6/Qt*/CMakeLists.txt +declare -A QT_REQUIREMENTS=( + ["3d"]="gui network opengl" + ["bluetooth"]="core" + ["charts"]="core gui widgets" + ["concurrent"]="core" + ["dbus"]="core" + ["designer"]="widgets" + ["gles2-only"]="gui" + ["gui"]="core" + ["help"]="widgets" + ["httpserver"]="core concurrent network websockets" + ["location"]="core positioning" + ["multimedia"]="core gui network" + ["network-auth"]="network" + ["network"]="core" + ["nfc"]="core" + ["opengl"]="gui" + ["pdfium"]="core gui network" + ["positioning"]="core" + ["printsupport"]="widgets" + ["qml"]="network" + ["quick"]="gui network qml opengl" + ["quick3d"]="gui network qml quick" + ["remoteobjects"]="core network" + ["scxml"]="core" + ["sensors"]="core" + ["serialbus"]="core network serialport" + ["serialport"]="core" + ["spatialaudio"]="core gui network multimedia" + ["speech"]="core multimedia" + ["sql"]="widgets" + ["svg"]="gui" + ["testlib"]="widgets" + ["uitools"]="widgets" + ["webchannel"]="core" + ["webengine"]="core gui network printsupport quick webchannel" + ["websockets"]="network" + ["webview"]="gui quick webengine" + ["widgets"]="gui" + ["xml"]="core" +) + +IUSE="${!QT_MODULES[@]} debug doc gles2-only numpy test tools" +RESTRICT="!test? ( test )" + +# majority of QtQml tests require QtQuick support +REQUIRED_USE=" + test? ( + qml? ( quick ) + ) +" +for requirement in ${!QT_REQUIREMENTS[@]}; do + REQUIRED_USE+=" ${requirement}? ( ${QT_REQUIREMENTS[${requirement}]} ) " +done + +# Minimal supported version of Qt. +QT_PV="$(ver_cut 1-3)*:6" + +# WebEngine needs sound support, so enable either pulseaudio or alsa +RDEPEND=" + =dev-qt/qtbase-${QT_PV}[concurrent?,dbus?,gles2-only=,network?,opengl?,sql?,widgets?,xml?] + 3d? ( =dev-qt/qt3d-${QT_PV}[qml?,gles2-only=] ) + bluetooth? ( =dev-qt/qtconnectivity-${QT_PV}[bluetooth] ) + charts? ( =dev-qt/qtcharts-${QT_PV} ) + designer? ( =dev-qt/qttools-${QT_PV}[designer,widgets,gles2-only=] ) + gui? ( + =dev-qt/qtbase-${QT_PV}[gui,jpeg(+)] + x11-libs/libxkbcommon + ) + help? ( =dev-qt/qttools-${QT_PV}[assistant,gles2-only=] ) + httpserver? ( =dev-qt/qthttpserver-${QT_PV} ) + location? ( =dev-qt/qtlocation-${QT_PV} ) + multimedia? ( =dev-qt/qtmultimedia-${QT_PV}[widgets(+)?] ) + network? ( =dev-qt/qtbase-${QT_PV}[ssl] ) + network-auth? ( =dev-qt/qtnetworkauth-${QT_PV} ) + nfc? ( =dev-qt/qtconnectivity-${QT_PV}[nfc] ) + numpy? ( >=dev-python/numpy-2.1.3[${PYTHON_USEDEP}] ) + pdfium? ( =dev-qt/qtwebengine-${QT_PV}[pdfium(-),widgets?] ) + positioning? ( =dev-qt/qtpositioning-${QT_PV} ) + printsupport? ( =dev-qt/qtbase-${QT_PV}[gui,widgets] ) + qml? ( =dev-qt/qtdeclarative-${QT_PV}[opengl?,widgets?] ) + quick3d? ( =dev-qt/qtquick3d-${QT_PV}[opengl?] ) + remoteobjects? ( =dev-qt/qtremoteobjects-${QT_PV} ) + scxml? ( =dev-qt/qtscxml-${QT_PV} ) + sensors? ( =dev-qt/qtsensors-${QT_PV}[qml?] ) + speech? ( =dev-qt/qtspeech-${QT_PV} ) + serialbus? ( =dev-qt/qtserialbus-${QT_PV} ) + serialport? ( =dev-qt/qtserialport-${QT_PV} ) + svg? ( =dev-qt/qtsvg-${QT_PV} ) + testlib? ( =dev-qt/qtbase-${QT_PV}[gui] ) + tools? ( + =dev-qt/qtbase-${QT_PV} + =dev-qt/qtdeclarative-${QT_PV}[qmlls] + =dev-qt/qttools-${QT_PV}[assistant,designer,linguist] + dev-python/pkginfo[${PYTHON_USEDEP}] + ) + uitools? ( =dev-qt/qttools-${QT_PV}[gles2-only=,widgets] ) + webchannel? ( =dev-qt/qtwebchannel-${QT_PV} ) + webengine? ( || ( + =dev-qt/qtwebengine-${QT_PV}[alsa,widgets?] + =dev-qt/qtwebengine-${QT_PV}[pulseaudio,widgets?] + ) + ) + websockets? ( =dev-qt/qtwebsockets-${QT_PV} ) + webview? ( =dev-qt/qtwebview-${QT_PV} ) + !dev-python/pyside:0 + !dev-python/shiboken6 + !dev-python/pyside6-tools +" + +DEPEND="${RDEPEND} + $(llvm_gen_dep ' + llvm-core/clang:${LLVM_SLOT} + llvm-core/llvm:${LLVM_SLOT} + ') + dev-util/vulkan-headers + test? ( =dev-qt/qtbase-${QT_PV}[gui] ) +" # testlib is toggled by the gui flag on qtbase + +BDEPEND=" + dev-build/cmake + dev-python/distro[${PYTHON_USEDEP}] + =dev-libs/libxml2-2.6.32 + >=dev-libs/libxslt-1.1.19 + media-gfx/graphviz + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/myst-parser[${PYTHON_USEDEP}] + ) + numpy? ( dev-python/numpy[${PYTHON_USEDEP}] ) +" + +PATCHES=( + # Needs porting to newer wheel and setuptools + "${FILESDIR}/${PN}-6.8.2-quick-fix-build-wheel.patch" + "${FILESDIR}/${PN}-6.9.1-fix-tests-cmake4.patch" +) + +# Build system duplicates system libraries. TODO: fix +QA_PREBUILT=( + "/usr/lib/python*/site-packages/PySide6/*" +) + +python_prepare_all() { + distutils-r1_python_prepare_all + + # Shiboken6 assumes Vulkan headers live under either "$VULKAN_SDK/include" + # or "$VK_SDK_PATH/include" rather than "${EPREFIX}/usr/include/vulkan". + sed -i -e "s~\bdetectVulkan(&headerPaths);~headerPaths.append(HeaderPath{QByteArrayLiteral(\"${EPREFIX}/usr/include/vulkan\"), HeaderType::System});~" \ + sources/shiboken6/ApiExtractor/clangparser/compilersupport.cpp || die + + # Shiboken6 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. + # PySide6 does *NOT* care whether the end user has done so or not, as + # PySide6 unconditionally requires Clang in either case. See also: + # https://bugs.gentoo.org/619490 + sed -e \ + 's~(findClangBuiltInIncludesDir())~(QStringLiteral("'"${EPREFIX}"'/usr/lib/clang/'"${LLVM_SLOT}"'/include"))~' \ + -i sources/shiboken6/ApiExtractor/clangparser/compilersupport.cpp || die + + # blacklist.txt works like XFAIL + cat <<- EOF >> build_history/blacklist.txt || die + # segfaults with QOpenGLContext::create + [pysidetest::qapp_like_a_macro_test] + linux + # Tries to execute pip install + [pyside6-deploy::test_pyside6_deploy] + linux + [pyside6-android-deploy::test_pyside6_android_deploy] + linux + EOF + + if ! use numpy; then + cat <<- EOF >> build_history/blacklist.txt || die + # Requires numpy support to pass + [sample::array_numpy] + linux + [sample::nontypetemplate] + linux + [QtGui::qpainter_test] + linux + EOF + fi +} + +python_configure_all() { + ENABLED_QT_MODULES=() + + # The order matters, dependencies must come first so process + # REQUIRED_USE and recursively enable modules + enable_qt_mod() { + local flag=${1} + local modules=${QT_MODULES[${flag}]} + if [[ -z ${modules} ]]; then + die "incorrect flag=${flag}, not registered" + fi + local dependencies=${QT_REQUIREMENTS[${flag//+}]} + if [[ -n ${dependencies} ]]; then + local depflag + for depflag in ${dependencies}; do + if use ${depflag}; then + if [[ -z ${QT_MODULES[${depflag}]} ]]; then + depflag=+${depflag} + fi + enable_qt_mod ${depflag} + else + die "${depflag} is required but not enabled" + fi + done + fi + if [[ "${ENABLED_QT_MODULES[*]}" != *${modules}* ]]; then + ENABLED_QT_MODULES+=( ${modules} ) + fi + } + # Enable specified qt modules + local flag + for flag in ${!QT_MODULES[@]}; do + if use ${flag//+}; then + enable_qt_mod ${flag} + fi + done + + # Special cases + if use widgets; then + use multimedia && ENABLED_QT_MODULES+=( MultimediaWidgets ) + use opengl && ENABLED_QT_MODULES+=( OpenGLWidgets ) + use pdfium && ENABLED_QT_MODULES+=( PdfWidgets ) + use quick && ENABLED_QT_MODULES+=( QuickWidgets ) + use svg && ENABLED_QT_MODULES+=( SvgWidgets ) + use webengine && ENABLED_QT_MODULES+=( WebEngineWidgets ) + fi + if use quick; then + use webengine && ENABLED_QT_MODULES+=( WebEngineQuick ) + use testlib && ENABLED_QT_MODULES+=( QuickTest ) + fi + + # Arguments listed in options.py + MAIN_DISTUTILS_ARGS=( + --cmake="${EPREFIX}/usr/bin/cmake" + --ignore-git + --limited-api=no + --module-subset="$(printf '%s,' "${ENABLED_QT_MODULES[@]}")" + --no-strip + --no-size-optimization + --openssl="${EPREFIX}/usr/bin/openssl" + --qt=$(ver_cut 1-3) + --qtpaths=$(qt6_get_bindir)/qtpaths + --verbose-build + --parallel=$(makeopts_jobs) + $(usex debug "--debug" "--relwithdebinfo") + $(usex doc "--build-docs" "--skip-docs") + $(usex numpy "--enable-numpy-support" "--disable-numpy-support") + $(usex test "--build-tests --use-xvfb" "") + $(usex tools "" "--no-qt-tools") + ) +} + +python_compile() { + DISTUTILS_ARGS=( + "${MAIN_DISTUTILS_ARGS[@]}" + --build-type=shiboken6 + ) + distutils-r1_python_compile + + # The build system uses its own build dir, find the name of this dir. + local pyside_build_dir=$(find "${BUILD_DIR}/build$((${#DISTUTILS_WHEELS[@]}-1))" -maxdepth 1 -type d -name 'qfp*-py*-qt*-*' -printf "%f\n") + export pyside_build_id=${pyside_build_dir#qfp$(usev debug d)-py${EPYTHON#python}-qt$(ver_cut 1-3)-} + + DISTUTILS_ARGS=( + "${MAIN_DISTUTILS_ARGS[@]}" + --reuse-build + --shiboken-target-path="${BUILD_DIR}/build$((${#DISTUTILS_WHEELS[@]}-1))/${pyside_build_dir}/install" + --build-type=shiboken6-generator + ) + distutils-r1_python_compile + # If no pyside modules enabled, build just shiboken + if [[ ${#ENABLED_QT_MODULES[@]} -gt 0 ]]; then + DISTUTILS_ARGS=( + "${MAIN_DISTUTILS_ARGS[@]}" + --reuse-build + --shiboken-target-path="${BUILD_DIR}/build$((${#DISTUTILS_WHEELS[@]}-1))/${pyside_build_dir}/install" + --build-type=pyside6 + ) + distutils-r1_python_compile + fi + + # Link libraries to the usual location for backwards compatibility + pushd "${BUILD_DIR}/install/$(python_get_sitedir)" >/dev/null || + die + mkdir -p "${BUILD_DIR}/install/usr/$(get_libdir)" || die + local lib + for lib in */*.cpython-*.so + do + local base=${lib##*/} + ln -s "${base}" "${lib%/*}/${base%%.*}-${EPYTHON}.so" || + die + done + for lib in */*.cpython-*.so.$(ver_cut 1-2) + do + local base=${lib##*/} + ln -s "${base}" "${lib%/*}/${base%%.*}-${EPYTHON}.so.$(ver_cut 1-2)" || + die + done + for lib in */*.so*; do + ln -s "../../$(python_get_sitedir)/${lib}" \ + "${BUILD_DIR}/install/usr/$(get_libdir)/${lib#*/}" || die + done + popd >/dev/null || die + + # Symlinks for compatibility with pypi wheels + local dir + if [[ -d ${BUILD_DIR}/install/$(python_get_sitedir)/PySide6 ]] + then + pushd "${BUILD_DIR}/install/$(python_get_sitedir)/PySide6" \ + >/dev/null || die + mkdir -p "${BUILD_DIR}/install/usr/share/PySide6" || die + for dir in doc glue typesystems; do + ln -s "../../../$(python_get_sitedir)/PySide6/${dir}" \ + "${BUILD_DIR}/install/usr/share/PySide6/${dir}" || + die + done + popd >/dev/null || die + fi + mkdir -p "${BUILD_DIR}/install/usr/include" + for dir in PySide6 shiboken6_generator; do + if [[ -d ${BUILD_DIR}/install/$(python_get_sitedir)/${dir}/include ]] + then + ln -s "../../$(python_get_sitedir)/${dir}/include" \ + "${BUILD_DIR}/install/usr/include/${dir//_generator}" || + die + fi + done + + # Install misc files from inner install dir + find "${BUILD_DIR}"/build*/${pyside_build_dir}/install -type f \ + -name libPySidePlugin.so -exec \ + mkdir -p "${BUILD_DIR}/install/$(qt6_get_plugindir)/designer/" \; \ + -exec \ + cp "{}" "${BUILD_DIR}/install/$(qt6_get_plugindir)/designer/" \; \ + || die + + for dir in cmake pkgconfig; do + find "${BUILD_DIR}"/build*/${pyside_build_dir}/install -type d -name ${dir} \ + -exec cp -r "{}" "${BUILD_DIR}/install/usr/lib/" \; \ + || die + done + + # Uniquify the pkgconfigs file for the current Python target, + # preserving an unversioned "shiboken6.pc" file arbitrarily + # associated with the last Python target. + if [[ -f ${BUILD_DIR}/install/usr/lib/pkgconfig/shiboken6.pc ]] + then + sed -e 's~prefix=.*~prefix=/usr~g' \ + -e 's~exec_prefix=.*~exec_prefix=${prefix}~g' \ + -e "s~libdir=.*~libdir=$(python_get_sitedir)/shiboken6~g" \ + -e "s~includedir=.*~includedir=$(python_get_sitedir)/shiboken6_generator/include~g" \ + -i "${BUILD_DIR}/install/usr/lib/pkgconfig/shiboken6.pc" || die + cp "${BUILD_DIR}/install/usr/lib/pkgconfig/"shiboken6{,-${EPYTHON}}.pc || die + fi + if [[ -f ${BUILD_DIR}/install/usr/lib/pkgconfig/pyside6.pc ]] + then + sed -e 's~^Requires: shiboken6$~&-'${EPYTHON}'~' \ + -e 's~prefix=.*~prefix=/usr~g' \ + -e 's~exec_prefix=.*~exec_prefix=${prefix}~g' \ + -e "s~libdir=.*~libdir=$(python_get_sitedir)/PySide6~g" \ + -e "s~includedir=.*~includedir=$(python_get_sitedir)/PySide6/include~g" \ + -e "s~typesystemdir=.*~typesystemdir=$(python_get_sitedir)/PySide6/typesystems~g" \ + -e "s~gluedir=.*~gluedir=$(python_get_sitedir)/PySide6/glue~g" \ + -e "s~pythonpath=.*~pythonpath=$(python_get_sitedir)~g" \ + -i "${BUILD_DIR}/install/usr/lib/pkgconfig/pyside6.pc" || die + cp "${BUILD_DIR}/install/usr/lib/pkgconfig/"pyside6{,-${EPYTHON}}.pc || die + fi + + sed \ + -e "s~/lib/libshiboken6\.cpython~/$(get_libdir)/libshiboken6\.cpython~g" \ + -e "s~/lib/libpyside6\.cpython~/$(get_libdir)/libpyside6\.cpython~g" \ + -e "s~/lib/libpyside6qml\.cpython~/$(get_libdir)/libpyside6qml\.cpython~g" \ + -e "s~libshiboken6\.cpython.*\.so\.$(ver_cut 1-3)~libshiboken6\${PYTHON_CONFIG_SUFFIX}\.so\.$(ver_cut 1-2)~g" \ + -e "s~libpyside6\.cpython.*\.so\.$(ver_cut 1-3)~libpyside6\${PYTHON_CONFIG_SUFFIX}\.so\.$(ver_cut 1-2)~g" \ + -e "s~libpyside6qml\.cpython.*\.so\.$(ver_cut 1-3)~libpyside6qml\${PYTHON_CONFIG_SUFFIX}\.so\.$(ver_cut 1-2)~g" \ + -e "s~libshiboken6\.cpython.*\.so\.$(ver_cut 1-2)~libshiboken6\${PYTHON_CONFIG_SUFFIX}\.so\.$(ver_cut 1-2)~g" \ + -e "s~libpyside6\.cpython.*\.so\.$(ver_cut 1-2)~libpyside6\${PYTHON_CONFIG_SUFFIX}\.so\.$(ver_cut 1-2)~g" \ + -e "s~libpyside6qml\.cpython.*\.so\.$(ver_cut 1-2)~libpyside6qml\${PYTHON_CONFIG_SUFFIX}\.so\.$(ver_cut 1-2)~g" \ + -i "${BUILD_DIR}/install/usr/lib/cmake/"*/*.cmake || die + local file + for file in "${BUILD_DIR}/install/usr/lib/cmake/"*/*.cpython-*.cmake + do + local base=${file##*/} + ln -s "${base}" "${file%/*}/${base%%.*}-${EPYTHON}.cmake" || + die + done +} + +python_test() { + # Otherwise it picks the last built directory breaking assumption for multi target builds + mkdir -p build_history/9999-99-99_999999/ || die + local pyside_build_dir=qfp$(usev debug d)-py${EPYTHON#python}-qt$(ver_cut 1-3)-${pyside_build_id} + echo "$(ls -d "${BUILD_DIR}"/build*/${pyside_build_dir}/build | sort -V | tail -n 1)" > build_history/9999-99-99_999999/build_dir.txt || die + echo "${pyside_build_dir}" >> build_history/9999-99-99_999999/build_dir.txt || die + + virtx ${EPYTHON} testrunner.py test --projects=shiboken6 $(usev core '--projects=pyside6') || + die "Tests failed with ${EPYTHON}" +} + +pkg_preinst() { + # Avoid symlinks being blocked by directories + rm -rf "${EROOT}/usr/include/"{PySide6,shiboken6} || die + rm -rf "${EROOT}/usr/share/PySide6" || die +} diff --git a/dev-python/pytest-datadir/Manifest b/dev-python/pytest-datadir/Manifest index 9f4d50db6a39..969f7a1be8c3 100644 --- a/dev-python/pytest-datadir/Manifest +++ b/dev-python/pytest-datadir/Manifest @@ -1,3 +1,4 @@ DIST pytest_datadir-1.6.1.tar.gz 9391 BLAKE2B ce5d0a87e610c6828e2b342bf8d41534e729dff5728238d1ea6a5a78fa1e46d70d4e00d197797f712c1cb4cb3988890a2b1de12f84f867b4538aa57566cb439d SHA512 e7de5aa5196d9c6be519c77b8139bdb416d91540739671d1ae838c4292007819fd6a0b1e0c9aa9380db8ebdeed927c4cfec3e6d4b0f1b2b2b42ec2cce0f97e44 DIST pytest_datadir-1.7.0.tar.gz 10795 BLAKE2B 85910bf65bf7f163c787c9b4ef75767b65e69197808c4aeeb07ee706d4cd6fefa60fc89788fdeff886cbd8e6ef9bbf3ae7e2934309156fabb910ea8e56a6547b SHA512 6be7ff6a4d615941aa3e99739df79c19eba1eb0bd7edca1cacc80b5ad3a48e3045c4b75e3de965eb4ad720ea0c18f3733a8fc652ef0086432bd1485e2f86fd53 DIST pytest_datadir-1.7.1.tar.gz 10962 BLAKE2B 3e86642c1a57c651627d0047e889dba6b7f6f7abf1fa991917800628d084a1de6f55249b3522d96b07a8dca3de72d942b4a1f99606dd95a62d78906cbf436c2a SHA512 9310cbb1b8ce5143d45689b52fbdbc3f0930f2caa24d015cee57f296f31a7b4bea60f7f23392babc3a61ccbb492fe5b84c58a79fa0902cbeb6754319d001d55c +DIST pytest_datadir-1.7.2.tar.gz 11265 BLAKE2B 34f28f8d3f28a3b55534526dd6ce022d50f76b3ee24321415177c95e68aeb223d630d7f9c8b84e9bba630557adb8bccb8ef15f2482320a61893fda6eb3825d25 SHA512 737c7825b4c587a3df43b363bb07f80c770c11fd48e6adaf93f32bf3101a75e77988752ef187607d6090bf60e605964788bd65b16379877ccc633e196c78b934 diff --git a/dev-python/pytest-datadir/pytest-datadir-1.7.2.ebuild b/dev-python/pytest-datadir/pytest-datadir-1.7.2.ebuild new file mode 100644 index 000000000000..1c3dc1901c2f --- /dev/null +++ b/dev-python/pytest-datadir/pytest-datadir-1.7.2.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Pytest plugin for manipulating test data directories and files" +HOMEPAGE=" + https://github.com/gabrielcnr/pytest-datadir/ + https://pypi.org/project/pytest-datadir/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/pytest-7.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/pytest/pytest-8.3.5-r1.ebuild b/dev-python/pytest/pytest-8.3.5-r1.ebuild index 77d99c08c753..c2e0895b6f18 100644 --- a/dev-python/pytest/pytest-8.3.5-r1.ebuild +++ b/dev-python/pytest/pytest-8.3.5-r1.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/pytest/pytest-8.3.5.ebuild b/dev-python/pytest/pytest-8.3.5.ebuild deleted file mode 100644 index 6089665e890f..000000000000 --- a/dev-python/pytest/pytest-8.3.5.ebuild +++ /dev/null @@ -1,127 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_TESTED=( python3_{9,10,11,12,13} pypy3 ) -PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) - -inherit distutils-r1 pypi - -DESCRIPTION="Simple powerful testing with Python" -HOMEPAGE=" - https://pytest.org/ - https://github.com/pytest-dev/pytest/ - https://pypi.org/project/pytest/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-python/iniconfig[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - =dev-python/pluggy-1.5.0[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/setuptools-scm-6.2.3[${PYTHON_USEDEP}] - test? ( - ${RDEPEND} - $(python_gen_cond_dep ' - dev-python/argcomplete[${PYTHON_USEDEP}] - >=dev-python/attrs-19.2[${PYTHON_USEDEP}] - >=dev-python/hypothesis-3.56[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - >=dev-python/pygments-2.7.2[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/xmlschema[${PYTHON_USEDEP}] - ' "${PYTHON_TESTED[@]}") - ) -" - -PATCHES=( - # https://github.com/pytest-dev/pytest/pull/13291 - "${FILESDIR}/${P}-test.patch" -) - -src_test() { - # workaround new readline defaults - echo "set enable-bracketed-paste off" > "${T}"/inputrc || die - local -x INPUTRC="${T}"/inputrc - distutils-r1_src_test -} - -python_test() { - if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then - einfo "Skipping tests on ${EPYTHON}" - return - fi - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x COLUMNS=80 - - local EPYTEST_DESELECT=( - # broken by epytest args - testing/test_warnings.py::test_works_with_filterwarnings - - # does not like verbosity - testing/test_assertrewrite.py::TestAssertionRewrite::test_len - - # tend to be broken by random pytest plugins - # (these tests patch PYTEST_DISABLE_PLUGIN_AUTOLOAD out) - testing/test_helpconfig.py::test_version_less_verbose - testing/test_helpconfig.py::test_version_verbose - testing/test_junitxml.py::test_random_report_log_xdist - testing/test_junitxml.py::test_runs_twice_xdist - testing/test_terminal.py::TestProgressOutputStyle::test_xdist_normal - testing/test_terminal.py::TestProgressOutputStyle::test_xdist_normal_count - testing/test_terminal.py::TestProgressOutputStyle::test_xdist_verbose - testing/test_terminal.py::TestProgressWithTeardown::test_xdist_normal - testing/test_terminal.py::TestTerminalFunctional::test_header_trailer_info - testing/test_terminal.py::TestTerminalFunctional::test_no_header_trailer_info - - # unstable with xdist - testing/test_terminal.py::TestTerminalFunctional::test_verbose_reporting_xdist - - # TODO (XPASS) - testing/test_debugging.py::TestDebuggingBreakpoints::test_pdb_not_altered - testing/test_debugging.py::TestPDB::test_pdb_interaction_capturing_simple - testing/test_debugging.py::TestPDB::test_pdb_interaction_capturing_twice - testing/test_debugging.py::TestPDB::test_pdb_with_injected_do_debug - testing/test_debugging.py::test_pdb_suspends_fixture_capturing - - # setuptools warnings - testing/acceptance_test.py::TestInvocationVariants::test_cmdline_python_namespace_package - - # PDB tests seem quite flaky (they time out often) - testing/test_debugging.py::TestPDB - ) - - case ${EPYTHON} in - pypy3*) - EPYTEST_DESELECT+=( - # regressions on pypy3.9 - # https://github.com/pytest-dev/pytest/issues/9787 - testing/test_skipping.py::test_errors_in_xfail_skip_expressions - ) - ;; - python3.14*) - EPYTEST_DESELECT+=( - # still broken on main, as of 2025-05-14 - testing/test_unraisableexception.py::test_unraisable - testing/test_unraisableexception.py::test_unraisable_in_setup - testing/test_unraisableexception.py::test_unraisable_in_teardown - testing/test_debugging.py::test_raises_bdbquit_with_eoferror - ) - ;; - esac - - local EPYTEST_XDIST=1 - epytest -} diff --git a/dev-python/python-dbusmock/Manifest b/dev-python/python-dbusmock/Manifest index de01948966c0..4a563c068e5e 100644 --- a/dev-python/python-dbusmock/Manifest +++ b/dev-python/python-dbusmock/Manifest @@ -1,2 +1 @@ -DIST python_dbusmock-0.34.3.tar.gz 111656 BLAKE2B 5ec1ed245f5ac3bb68464a18b6bdbb45781c17ea500068d5dc26132cd30712731ef9a33a8ab9e6c17af1d21dc879f5913b9251a9d3ca6fe2a737af7c2f6752f2 SHA512 96b5ef9b0c41afaa703b608bbc1ec27704359a61b83d633bd10718a314f84b91208961e9e4b5d96718a2ac70b5b96b0e00039b7d6bfd4436470dafd34d28f0e4 DIST python_dbusmock-0.35.0.tar.gz 111723 BLAKE2B 3ee9e8763c4093e4f912b1dfe1ff77728348473937c0846a183a137068485c7dfd0adaa1fdeb13a3f1be1f5c671f2a89c7ee2a9607a15504eccba141825656d8 SHA512 ac1a55355127ce68f4c849ef410ed4bbfd7ade49c4f0452e284c1eedc08e5eeb3042e37ac8bd6703bde9740accd03b5817094bc9bcaf4f3f3724fc149958de63 diff --git a/dev-python/python-dbusmock/python-dbusmock-0.34.3.ebuild b/dev-python/python-dbusmock/python-dbusmock-0.34.3.ebuild deleted file mode 100644 index 69a7470204d0..000000000000 --- a/dev-python/python-dbusmock/python-dbusmock-0.34.3.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) -PYTHON_REQ_USE="xml(+)" - -inherit distutils-r1 pypi - -DESCRIPTION="Easily create mock objects on D-Bus for software testing" -HOMEPAGE=" - https://github.com/martinpitt/python-dbusmock/ - https://pypi.org/project/python-dbusmock/ -" - -LICENSE="LGPL-3+" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - dev-python/dbus-python[${PYTHON_USEDEP}] - dev-python/pygobject:3[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - sys-power/upower - ) -" - -distutils_enable_tests pytest - -EPYTEST_IGNORE=( - # linter tests, fragile to newer linter versions - tests/test_code.py -) - -src_prepare() { - # dev-python/dbus-python uses autotools, so no .dist-info there - sed -i '/dbus-python/d' pyproject.toml setup.cfg || die - - distutils-r1_src_prepare -} - -python_test() { - # tests are fragile to long socket paths - local -x TMPDIR=/tmp - # Tests break if XDG_DATA_DIRS is modified by flatpak install - unset XDG_DATA_DIRS - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} diff --git a/dev-python/python-dbusmock/python-dbusmock-0.35.0.ebuild b/dev-python/python-dbusmock/python-dbusmock-0.35.0.ebuild index 089fa6b88444..69a7470204d0 100644 --- a/dev-python/python-dbusmock/python-dbusmock-0.35.0.ebuild +++ b/dev-python/python-dbusmock/python-dbusmock-0.35.0.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="LGPL-3+" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" dev-python/dbus-python[${PYTHON_USEDEP}] diff --git a/dev-python/python-stdnum/Manifest b/dev-python/python-stdnum/Manifest index c3aa170d8e04..c7b210f17f08 100644 --- a/dev-python/python-stdnum/Manifest +++ b/dev-python/python-stdnum/Manifest @@ -1,3 +1 @@ -DIST python-stdnum-1.20.tar.gz 1191978 BLAKE2B 8395106d155c1f4642a74691d219230b42e81b521db41c57d5e978eb8e1769ca51598a1ad061356a1997fac5a60ca21796d1e8f79fa7d737e70fbbfe78dbfcc6 SHA512 92ec9fcb3bf71405569e93668ab1d089225da74a33095e63ee8f0116c868a4b937d093ba98e29085889d1745cc55eab13936d6ed9ceb24beecbc193c722a515e -DIST python_stdnum-2.0.tar.gz 1237342 BLAKE2B d1a0f163b5ef97827aab579bbb12d669923b466a29a4e6799dc950126fcc823e91ea9f1426b8239085355893cd588cd7504424a57e7fc783972b3087a94078af SHA512 583379fec66dd507429b1740edd5c9c66fc1a7bcefc3af608535f86265c375dea2b7e004ac9aae6b4757c3e085c501b64d4e8a7a6c55bed7c452f49d873c2f08 DIST python_stdnum-2.1.tar.gz 1238596 BLAKE2B 91c7189a05c88c4c5db20585ac5290ca9b98b4040be8cd9cfba852800f2a368e5f1763a2220becba05bf99c3375a74f65d305f000bbab00cea46fafcf6804093 SHA512 d29989fd7a13fbc07763bd61ffd56914f1fdb66d89ad9538f64cf26c00550dda2d4725f24cc7e038a7164115ed68ab9877b4f2485ffd1682500aaca38853d4c0 diff --git a/dev-python/python-stdnum/python-stdnum-1.20.ebuild b/dev-python/python-stdnum/python-stdnum-1.20.ebuild deleted file mode 100644 index 8e815d7f18ab..000000000000 --- a/dev-python/python-stdnum/python-stdnum-1.20.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2024 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_{9,10,11,12,13} ) - -inherit distutils-r1 pypi - -DESCRIPTION="A module to handle standardized numbers and codes" -HOMEPAGE=" - https://arthurdejong.org/python-stdnum/ - https://github.com/arthurdejong/python-stdnum/ - https://pypi.org/project/python-stdnum/ -" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="amd64 arm64 x86" -IUSE="vies" - -RDEPEND=" - vies? ( - || ( - dev-python/zeep[${PYTHON_USEDEP}] - dev-python/suds-community[${PYTHON_USEDEP}] - ) - ) -" - -distutils_enable_tests pytest - -src_prepare() { - sed -i -e 's:--cov.*::' setup.cfg || die - distutils-r1_src_prepare -} diff --git a/dev-python/python-stdnum/python-stdnum-2.0.ebuild b/dev-python/python-stdnum/python-stdnum-2.0.ebuild deleted file mode 100644 index 6fc13f1927e0..000000000000 --- a/dev-python/python-stdnum/python-stdnum-2.0.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit distutils-r1 pypi - -DESCRIPTION="A module to handle standardized numbers and codes" -HOMEPAGE=" - https://arthurdejong.org/python-stdnum/ - https://github.com/arthurdejong/python-stdnum/ - https://pypi.org/project/python-stdnum/ -" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" -IUSE="vies" - -RDEPEND=" - vies? ( - dev-python/zeep[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - sed -i -e 's:--cov.*::' setup.cfg || die - distutils-r1_src_prepare -} diff --git a/dev-python/python-stdnum/python-stdnum-2.1.ebuild b/dev-python/python-stdnum/python-stdnum-2.1.ebuild index 6fc13f1927e0..86bfb6a89ae1 100644 --- a/dev-python/python-stdnum/python-stdnum-2.1.ebuild +++ b/dev-python/python-stdnum/python-stdnum-2.1.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 arm64 x86" IUSE="vies" RDEPEND=" diff --git a/dev-python/python-swiftclient/Manifest b/dev-python/python-swiftclient/Manifest index 4266b37cf2cd..2fde81b80858 100644 --- a/dev-python/python-swiftclient/Manifest +++ b/dev-python/python-swiftclient/Manifest @@ -1,2 +1 @@ -DIST python_swiftclient-4.7.0.tar.gz 209719 BLAKE2B aa4155b1299fbd740e94509b13ba4c295375dbe45bf50c727ddc31e464fb1d25925fc6aa6c2aea8dffc97ecd435dfcf24ef36cfaecaa661555c34088c353626d SHA512 07ab49421260f4537d5a3093557e76cce05db1f4caa99cb54fd5f7fdd8129b73473566005d9f28e7b4fc86348f642f207b3f28cbab10da36f3c656001e86a61a DIST python_swiftclient-4.8.0.tar.gz 210041 BLAKE2B 3f1d58509dc13219092d01f9063cdeb854406072810bc1fee7a6e0ce3a4e4507feac04f4c9b9c36b1b2f7c64c90a06e8a58a630b1d1373670f5e3a11c47adf60 SHA512 2cf457184b37d1f3236b9d2b5cc86caef9578dd984a75150980c8b046d84ece1f4688aad49f5f1bdb36cd36fc69bdb8565dfdba49387d8eb667aff520af4d14e diff --git a/dev-python/python-swiftclient/python-swiftclient-4.7.0.ebuild b/dev-python/python-swiftclient/python-swiftclient-4.7.0.ebuild deleted file mode 100644 index 11d02ad526a3..000000000000 --- a/dev-python/python-swiftclient/python-swiftclient-4.7.0.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Python bindings to the OpenStack Object Storage API" -HOMEPAGE=" - https://opendev.org/openstack/python-swiftclient/ - https://github.com/openstack/python-swiftclient/ - https://pypi.org/project/python-swiftclient/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 arm64 x86" - -RDEPEND=" - >=dev-python/requests-2.4.0[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/pbr[${PYTHON_USEDEP}] - test? ( - >=dev-python/keystoneauth1-3.4.0[${PYTHON_USEDEP}] - >=dev-python/openstacksdk-0.11.0[${PYTHON_USEDEP}] - >=dev-python/python-keystoneclient-0.7.0[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests unittest - -python_prepare_all() { - sed -e 's/test_password_prompt/_&/' -i test/unit/test_shell.py || die - distutils-r1_python_prepare_all -} diff --git a/dev-python/python-swiftclient/python-swiftclient-4.8.0.ebuild b/dev-python/python-swiftclient/python-swiftclient-4.8.0.ebuild index 0044b014e3ea..11d02ad526a3 100644 --- a/dev-python/python-swiftclient/python-swiftclient-4.8.0.ebuild +++ b/dev-python/python-swiftclient/python-swiftclient-4.8.0.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 arm64 x86" RDEPEND=" >=dev-python/requests-2.4.0[${PYTHON_USEDEP}] diff --git a/dev-python/python-tests/python-tests-0.3.13.3_p2.ebuild b/dev-python/python-tests/python-tests-0.3.13.3_p2.ebuild new file mode 100644 index 000000000000..926f8d2cdfe2 --- /dev/null +++ b/dev-python/python-tests/python-tests-0.3.13.3_p2.ebuild @@ -0,0 +1,71 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit python-r1 verify-sig + +REAL_PV=${PV#0.} +MY_PV=${REAL_PV} +MY_P="Python-${MY_PV%_p*}" +PYVER=$(ver_cut 2-3)t +PATCHSET="python-gentoo-patches-${MY_PV}" + +DESCRIPTION="Test modules from dev-lang/python" +HOMEPAGE=" + https://www.python.org/ + https://github.com/python/cpython/ +" +SRC_URI=" + https://www.python.org/ftp/python/${REAL_PV%%_*}/${MY_P}.tar.xz + https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz + verify-sig? ( + https://www.python.org/ftp/python/${REAL_PV%%_*}/${MY_P}.tar.xz.asc + ) +" +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" +# enable by default to help CI handle it (we have no additional deps) +IUSE="+python_targets_${PYTHON_COMPAT[0]}" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + ~dev-lang/python-${PV}:${PYVER} +" +BDEPEND=" + ${PYTHON_DEPS} + verify-sig? ( >=sec-keys/openpgp-keys-python-20221025 ) +" + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/python.org.asc + +src_unpack() { + if use verify-sig; then + verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.xz{,.asc} + fi + default +} + +src_prepare() { + local PATCHES=( + "${WORKDIR}/${PATCHSET}" + ) + + cd .. || die + default +} + +src_install() { + python_setup + # keep in sync with TESTSUBDIRS in Makefile.pre.in + python_moduleinto "/usr/lib/python${PYVER}" + python_domodule test + python_moduleinto "/usr/lib/python${PYVER}/idlelib" + python_domodule idlelib/idle_test +} diff --git a/dev-python/python-tests/python-tests-0.3.13.4.ebuild b/dev-python/python-tests/python-tests-0.3.13.4.ebuild new file mode 100644 index 000000000000..926f8d2cdfe2 --- /dev/null +++ b/dev-python/python-tests/python-tests-0.3.13.4.ebuild @@ -0,0 +1,71 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit python-r1 verify-sig + +REAL_PV=${PV#0.} +MY_PV=${REAL_PV} +MY_P="Python-${MY_PV%_p*}" +PYVER=$(ver_cut 2-3)t +PATCHSET="python-gentoo-patches-${MY_PV}" + +DESCRIPTION="Test modules from dev-lang/python" +HOMEPAGE=" + https://www.python.org/ + https://github.com/python/cpython/ +" +SRC_URI=" + https://www.python.org/ftp/python/${REAL_PV%%_*}/${MY_P}.tar.xz + https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz + verify-sig? ( + https://www.python.org/ftp/python/${REAL_PV%%_*}/${MY_P}.tar.xz.asc + ) +" +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" +# enable by default to help CI handle it (we have no additional deps) +IUSE="+python_targets_${PYTHON_COMPAT[0]}" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + ~dev-lang/python-${PV}:${PYVER} +" +BDEPEND=" + ${PYTHON_DEPS} + verify-sig? ( >=sec-keys/openpgp-keys-python-20221025 ) +" + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/python.org.asc + +src_unpack() { + if use verify-sig; then + verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.xz{,.asc} + fi + default +} + +src_prepare() { + local PATCHES=( + "${WORKDIR}/${PATCHSET}" + ) + + cd .. || die + default +} + +src_install() { + python_setup + # keep in sync with TESTSUBDIRS in Makefile.pre.in + python_moduleinto "/usr/lib/python${PYVER}" + python_domodule test + python_moduleinto "/usr/lib/python${PYVER}/idlelib" + python_domodule idlelib/idle_test +} diff --git a/dev-python/python-tests/python-tests-0.3.13.9999.ebuild b/dev-python/python-tests/python-tests-0.3.13.9999.ebuild new file mode 100644 index 000000000000..70779173fdd1 --- /dev/null +++ b/dev-python/python-tests/python-tests-0.3.13.9999.ebuild @@ -0,0 +1,60 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit git-r3 python-r1 + +PYVER="$(ver_cut 2-3)t" +PATCHSET="python-gentoo-patches-3.13.3" + +DESCRIPTION="Test modules from dev-lang/python" +HOMEPAGE=" + https://www.python.org/ + https://github.com/python/cpython/ +" +SRC_URI=" + https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz +" +EGIT_REPO_URI="https://github.com/python/cpython.git" +EGIT_BRANCH=${PYVER%t} +S="${WORKDIR}/${P}/Lib" + +LICENSE="PSF-2" +SLOT="${PYVER}" +# enable by default to help CI handle it (we have no additional deps) +IUSE="+python_targets_${PYTHON_COMPAT[0]}" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + ~dev-lang/python-${PV}:${PYVER} +" +BDEPEND=" + ${PYTHON_DEPS} +" + +src_unpack() { + git-r3_src_unpack + default +} + +src_prepare() { + local PATCHES=( + "${WORKDIR}/${PATCHSET}" + ) + + cd .. || die + default +} + +src_install() { + python_setup + # keep in sync with TESTSUBDIRS in Makefile.pre.in + python_moduleinto "/usr/lib/python${PYVER}" + python_domodule test + python_moduleinto "/usr/lib/python${PYVER}/idlelib" + python_domodule idlelib/idle_test +} diff --git a/dev-python/python-tests/python-tests-0.3.14.0_beta2_p1.ebuild b/dev-python/python-tests/python-tests-0.3.14.0_beta2_p1.ebuild new file mode 100644 index 000000000000..737704af00c0 --- /dev/null +++ b/dev-python/python-tests/python-tests-0.3.14.0_beta2_p1.ebuild @@ -0,0 +1,73 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) +VERIFY_SIG_METHOD=sigstore + +inherit python-r1 verify-sig + +REAL_PV=${PV#0.} +MY_PV=${REAL_PV/_beta/b} +MY_P="Python-${MY_PV%_p*}" +PYVER=$(ver_cut 2-3)t +PATCHSET="python-gentoo-patches-${MY_PV}" + +DESCRIPTION="Test modules from dev-lang/python" +HOMEPAGE=" + https://www.python.org/ + https://github.com/python/cpython/ +" +SRC_URI=" + https://www.python.org/ftp/python/${REAL_PV%%_*}/${MY_P}.tar.xz + https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz + verify-sig? ( + https://www.python.org/ftp/python/${REAL_PV%%_*}/${MY_P}.tar.xz.sigstore + ) +" +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" +# enable by default to help CI handle it (we have no additional deps) +IUSE="+python_targets_${PYTHON_COMPAT[0]}" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + ~dev-lang/python-${PV}:${PYVER} +" +BDEPEND=" + ${PYTHON_DEPS} +" + +# https://www.python.org/downloads/metadata/sigstore/ +VERIFY_SIG_CERT_IDENTITY=hugo@python.org +VERIFY_SIG_CERT_OIDC_ISSUER=https://github.com/login/oauth + +src_unpack() { + if use verify-sig; then + verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.xz{,.sigstore} + fi + default +} + +src_prepare() { + local PATCHES=( + "${WORKDIR}/${PATCHSET}" + ) + + cd .. || die + default +} + +src_install() { + python_setup + # keep in sync with TESTSUBDIRS in Makefile.pre.in + python_moduleinto "/usr/lib/python${PYVER}" + python_domodule test + python_moduleinto "/usr/lib/python${PYVER}/idlelib" + python_domodule idlelib/idle_test +} diff --git a/dev-python/python-tests/python-tests-0.3.14.9999.ebuild b/dev-python/python-tests/python-tests-0.3.14.9999.ebuild new file mode 100644 index 000000000000..60606189c538 --- /dev/null +++ b/dev-python/python-tests/python-tests-0.3.14.9999.ebuild @@ -0,0 +1,60 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit git-r3 python-r1 + +PYVER="$(ver_cut 2-3)t" +PATCHSET="python-gentoo-patches-3.14.0b1" + +DESCRIPTION="Test modules from dev-lang/python" +HOMEPAGE=" + https://www.python.org/ + https://github.com/python/cpython/ +" +SRC_URI=" + https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz +" +EGIT_REPO_URI="https://github.com/python/cpython.git" +EGIT_BRANCH=${PYVER%t} +S="${WORKDIR}/${P}/Lib" + +LICENSE="PSF-2" +SLOT="${PYVER}" +# enable by default to help CI handle it (we have no additional deps) +IUSE="+python_targets_${PYTHON_COMPAT[0]}" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + ~dev-lang/python-${PV}:${PYVER} +" +BDEPEND=" + ${PYTHON_DEPS} +" + +src_unpack() { + git-r3_src_unpack + default +} + +src_prepare() { + local PATCHES=( + "${WORKDIR}/${PATCHSET}" + ) + + cd .. || die + default +} + +src_install() { + python_setup + # keep in sync with TESTSUBDIRS in Makefile.pre.in + python_moduleinto "/usr/lib/python${PYVER}" + python_domodule test + python_moduleinto "/usr/lib/python${PYVER}/idlelib" + python_domodule idlelib/idle_test +} diff --git a/dev-python/python-tests/python-tests-3.13.3_p2-r100.ebuild b/dev-python/python-tests/python-tests-3.13.3_p2-r100.ebuild deleted file mode 100644 index 25edd5462511..000000000000 --- a/dev-python/python-tests/python-tests-3.13.3_p2-r100.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 2024-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit python-r1 verify-sig - -MY_PV=${PV} -MY_P="Python-${MY_PV%_p*}" -PYVER=$(ver_cut 1-2)t -PATCHSET="python-gentoo-patches-${MY_PV}" - -DESCRIPTION="Test modules from dev-lang/python" -HOMEPAGE=" - https://www.python.org/ - https://github.com/python/cpython/ -" -SRC_URI=" - https://www.python.org/ftp/python/${PV%%_*}/${MY_P}.tar.xz - https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz - verify-sig? ( - https://www.python.org/ftp/python/${PV%%_*}/${MY_P}.tar.xz.asc - ) -" -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" -# enable by default to help CI handle it (we have no additional deps) -IUSE="+python_targets_${PYTHON_COMPAT[0]}" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND=" - ${PYTHON_DEPS} - ~dev-lang/python-${PV}:${PYVER} -" -BDEPEND=" - ${PYTHON_DEPS} - verify-sig? ( >=sec-keys/openpgp-keys-python-20221025 ) -" - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/python.org.asc - -src_unpack() { - if use verify-sig; then - verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.xz{,.asc} - fi - default -} - -src_prepare() { - local PATCHES=( - "${WORKDIR}/${PATCHSET}" - ) - - cd .. || die - default -} - -src_install() { - python_setup - # keep in sync with TESTSUBDIRS in Makefile.pre.in - python_moduleinto "/usr/lib/python${PYVER}" - python_domodule test - python_moduleinto "/usr/lib/python${PYVER}/idlelib" - python_domodule idlelib/idle_test -} diff --git a/dev-python/python-tests/python-tests-3.13.4-r100.ebuild b/dev-python/python-tests/python-tests-3.13.4-r100.ebuild deleted file mode 100644 index 25edd5462511..000000000000 --- a/dev-python/python-tests/python-tests-3.13.4-r100.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 2024-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit python-r1 verify-sig - -MY_PV=${PV} -MY_P="Python-${MY_PV%_p*}" -PYVER=$(ver_cut 1-2)t -PATCHSET="python-gentoo-patches-${MY_PV}" - -DESCRIPTION="Test modules from dev-lang/python" -HOMEPAGE=" - https://www.python.org/ - https://github.com/python/cpython/ -" -SRC_URI=" - https://www.python.org/ftp/python/${PV%%_*}/${MY_P}.tar.xz - https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz - verify-sig? ( - https://www.python.org/ftp/python/${PV%%_*}/${MY_P}.tar.xz.asc - ) -" -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" -# enable by default to help CI handle it (we have no additional deps) -IUSE="+python_targets_${PYTHON_COMPAT[0]}" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND=" - ${PYTHON_DEPS} - ~dev-lang/python-${PV}:${PYVER} -" -BDEPEND=" - ${PYTHON_DEPS} - verify-sig? ( >=sec-keys/openpgp-keys-python-20221025 ) -" - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/python.org.asc - -src_unpack() { - if use verify-sig; then - verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.xz{,.asc} - fi - default -} - -src_prepare() { - local PATCHES=( - "${WORKDIR}/${PATCHSET}" - ) - - cd .. || die - default -} - -src_install() { - python_setup - # keep in sync with TESTSUBDIRS in Makefile.pre.in - python_moduleinto "/usr/lib/python${PYVER}" - python_domodule test - python_moduleinto "/usr/lib/python${PYVER}/idlelib" - python_domodule idlelib/idle_test -} diff --git a/dev-python/python-tests/python-tests-3.13.9999-r100.ebuild b/dev-python/python-tests/python-tests-3.13.9999-r100.ebuild deleted file mode 100644 index 798c076a07ff..000000000000 --- a/dev-python/python-tests/python-tests-3.13.9999-r100.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 2024-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit git-r3 python-r1 - -PYVER=$(ver_cut 1-2)t -PATCHSET="python-gentoo-patches-3.13.3" - -DESCRIPTION="Test modules from dev-lang/python" -HOMEPAGE=" - https://www.python.org/ - https://github.com/python/cpython/ -" -SRC_URI=" - https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz -" -EGIT_REPO_URI="https://github.com/python/cpython.git" -EGIT_BRANCH=${PYVER%t} -S="${WORKDIR}/${P}/Lib" - -LICENSE="PSF-2" -SLOT="${PYVER}" -# enable by default to help CI handle it (we have no additional deps) -IUSE="+python_targets_${PYTHON_COMPAT[0]}" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND=" - ${PYTHON_DEPS} - ~dev-lang/python-${PV}:${PYVER} -" -BDEPEND=" - ${PYTHON_DEPS} -" - -src_unpack() { - git-r3_src_unpack - default -} - -src_prepare() { - local PATCHES=( - "${WORKDIR}/${PATCHSET}" - ) - - cd .. || die - default -} - -src_install() { - python_setup - # keep in sync with TESTSUBDIRS in Makefile.pre.in - python_moduleinto "/usr/lib/python${PYVER}" - python_domodule test - python_moduleinto "/usr/lib/python${PYVER}/idlelib" - python_domodule idlelib/idle_test -} diff --git a/dev-python/python-tests/python-tests-3.14.0_beta2_p1-r100.ebuild b/dev-python/python-tests/python-tests-3.14.0_beta2_p1-r100.ebuild deleted file mode 100644 index a9d84cc6f11e..000000000000 --- a/dev-python/python-tests/python-tests-3.14.0_beta2_p1-r100.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 2024-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) -VERIFY_SIG_METHOD=sigstore - -inherit python-r1 verify-sig - -MY_PV=${PV/_beta/b} -MY_P="Python-${MY_PV%_p*}" -PYVER=$(ver_cut 1-2)t -PATCHSET="python-gentoo-patches-${MY_PV}" - -DESCRIPTION="Test modules from dev-lang/python" -HOMEPAGE=" - https://www.python.org/ - https://github.com/python/cpython/ -" -SRC_URI=" - https://www.python.org/ftp/python/${PV%%_*}/${MY_P}.tar.xz - https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz - verify-sig? ( - https://www.python.org/ftp/python/${PV%%_*}/${MY_P}.tar.xz.sigstore - ) -" -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" -# enable by default to help CI handle it (we have no additional deps) -IUSE="+python_targets_${PYTHON_COMPAT[0]}" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND=" - ${PYTHON_DEPS} - ~dev-lang/python-${PV}:${PYVER} -" -BDEPEND=" - ${PYTHON_DEPS} -" - -# https://www.python.org/downloads/metadata/sigstore/ -VERIFY_SIG_CERT_IDENTITY=hugo@python.org -VERIFY_SIG_CERT_OIDC_ISSUER=https://github.com/login/oauth - -src_unpack() { - if use verify-sig; then - verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.xz{,.sigstore} - fi - default -} - -src_prepare() { - local PATCHES=( - "${WORKDIR}/${PATCHSET}" - ) - - cd .. || die - default -} - -src_install() { - python_setup - # keep in sync with TESTSUBDIRS in Makefile.pre.in - python_moduleinto "/usr/lib/python${PYVER}" - python_domodule test - python_moduleinto "/usr/lib/python${PYVER}/idlelib" - python_domodule idlelib/idle_test -} diff --git a/dev-python/python-tests/python-tests-3.14.9999-r100.ebuild b/dev-python/python-tests/python-tests-3.14.9999-r100.ebuild deleted file mode 100644 index 49abfdcaaf5b..000000000000 --- a/dev-python/python-tests/python-tests-3.14.9999-r100.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 2024-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit git-r3 python-r1 - -PYVER=$(ver_cut 1-2)t -PATCHSET="python-gentoo-patches-3.14.0b1" - -DESCRIPTION="Test modules from dev-lang/python" -HOMEPAGE=" - https://www.python.org/ - https://github.com/python/cpython/ -" -SRC_URI=" - https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz -" -EGIT_REPO_URI="https://github.com/python/cpython.git" -EGIT_BRANCH=${PYVER%t} -S="${WORKDIR}/${P}/Lib" - -LICENSE="PSF-2" -SLOT="${PYVER}" -# enable by default to help CI handle it (we have no additional deps) -IUSE="+python_targets_${PYTHON_COMPAT[0]}" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND=" - ${PYTHON_DEPS} - ~dev-lang/python-${PV}:${PYVER} -" -BDEPEND=" - ${PYTHON_DEPS} -" - -src_unpack() { - git-r3_src_unpack - default -} - -src_prepare() { - local PATCHES=( - "${WORKDIR}/${PATCHSET}" - ) - - cd .. || die - default -} - -src_install() { - python_setup - # keep in sync with TESTSUBDIRS in Makefile.pre.in - python_moduleinto "/usr/lib/python${PYVER}" - python_domodule test - python_moduleinto "/usr/lib/python${PYVER}/idlelib" - python_domodule idlelib/idle_test -} diff --git a/dev-python/rpds-py/rpds-py-0.25.1.ebuild b/dev-python/rpds-py/rpds-py-0.25.1.ebuild index ecd3ccce46f4..1b0802135fc3 100644 --- a/dev-python/rpds-py/rpds-py-0.25.1.ebuild +++ b/dev-python/rpds-py/rpds-py-0.25.1.ebuild @@ -51,7 +51,7 @@ LICENSE="MIT" # Dependent crate licenses LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT MPL-2.0 Unicode-3.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 ~arm arm64 ~loong ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86" QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/rpds/rpds.*.so" diff --git a/dev-python/ruamel-yaml/Manifest b/dev-python/ruamel-yaml/Manifest index 9ca9f1ef619e..a003fbe43683 100644 --- a/dev-python/ruamel-yaml/Manifest +++ b/dev-python/ruamel-yaml/Manifest @@ -1,3 +1,4 @@ DIST ruamel.yaml-0.18.10.tar.xz 198860 BLAKE2B 02b6a1791002e5bd31c321c6307b7239be6f248e9b9186fcf9bdc440b966f15f5e947976a3295a279071a3b1f2853a2eb196851363ad3ed87f943850e40f0909 SHA512 089977ba0ac7b2f9cf761b4d94aa647ec431abe88fe21f167011899be3d13b5072b330a4c3f09cd14406692377235ec433db3f15e15df1a56697443cce4027fa DIST ruamel.yaml-0.18.11.tar.xz 199288 BLAKE2B 61570938ce90a7143241d903a6ccb83137aedda3d726b9cce337217f3fc0cf27aadfb7d80510ef19574dd25c71451643bb8fda4d392a8b0c6f8f63595bb65af4 SHA512 3858ea80024c94e3e0f685fc93c4a94ffbf967269b3c8c0422590507d7639dbb2b70b86fc5ad536e9d5491d3082e5aeef85f7660837f786bf20acb04f7822c37 DIST ruamel.yaml-0.18.12.tar.xz 199740 BLAKE2B 3eb891258980395f66428993c66b13ef79b1d26b91d1f60b7b461d3eb15c5de7afe4bf149dd077d12681fdae78544a919fca8826ba4f0705b6d4873d1850127c SHA512 982d640576a26d72ed1eb66bde9954c2e083c973eecc96a1e006fc904d4681a9a82574ba26a24dd697f503a77f8ab2f936f991e63a61b5e5d89894072404a41c +DIST ruamel.yaml-0.18.13.tar.xz 200268 BLAKE2B 4663153bb8593bd8d41efd3c5bf301893364b3c5b211b129e25ee82a807da80574322911ebc0c490c7bec696474dc2b7c5e51ed9f503019940f6988a38c272e1 SHA512 a0b7fc7beeab4590e76f468442f97da8ac16078d5aae2ecece1b6b6d7cd34ed575aab6e1021be74332158cdf316eeb8a2690af22f72e2fb1192f30f23a517b09 diff --git a/dev-python/ruamel-yaml/ruamel-yaml-0.18.13.ebuild b/dev-python/ruamel-yaml/ruamel-yaml-0.18.13.ebuild new file mode 100644 index 000000000000..2bccc5e4d8cb --- /dev/null +++ b/dev-python/ruamel-yaml/ruamel-yaml-0.18.13.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 + +MY_P="${P/-/.}" +DESCRIPTION="YAML parser/emitter that supports roundtrip comment preservation" +HOMEPAGE=" + https://pypi.org/project/ruamel.yaml/ + https://sourceforge.net/projects/ruamel-yaml/ +" +# PyPI tarballs do not include tests +SRC_URI="https://downloads.sourceforge.net/ruamel-dl-tagged-releases/${MY_P}.tar.xz" +S="${WORKDIR}"/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/ruamel-yaml-clib[${PYTHON_USEDEP}] + !dev-python/namespace-ruamel +" + +distutils_enable_tests pytest + +python_compile() { + distutils-r1_python_compile + find "${BUILD_DIR}" -name '*.pth' -delete || die +} + +python_test() { + local EPYTEST_DESELECT=() + [[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=( + _test/test_deprecation.py::test_collections_deprecation + ) + local EPYTEST_IGNORE=( + # Old PyYAML tests from lib/ require special set-up and are + # invoked indirectly via test_z_olddata, tell pytest itself + # to leave the subdir alone. + _test/lib/ + ) + + # this is needed to keep the tests working while + # dev-python/namespace-ruamel is still installed + distutils_write_namespace ruamel + epytest +} diff --git a/dev-python/s3transfer/Manifest b/dev-python/s3transfer/Manifest index 373f609a4acb..3a2413a5f248 100644 --- a/dev-python/s3transfer/Manifest +++ b/dev-python/s3transfer/Manifest @@ -1,2 +1 @@ -DIST s3transfer-0.12.0.tar.gz 149178 BLAKE2B ab9f293e04864190b7128bf1cb46f1fd13b240c5b4f419fbd937529e36c954c5595d2575b039e041a0555e6b0d609d7d4922a638b25f7487fdb4bf62b610c134 SHA512 06bd5bcab95c8b0f06e69e5cc78fc5f9e1dd1dba30a88b4fb2206e4e64ba4addd0679cf5e2384cd7ba674577c6a075dc0cc6dc5880e584a7fe5e4dc6df758ea0 DIST s3transfer-0.13.0.tar.gz 150232 BLAKE2B b2acba8ceb4e6e218b9e43c21ed148a1bd7b63c4bb28d4b68c69e28c6af33cba72fc7fc492496fba2c9e4760d450264555142e6f47a3467eabfb2268a60b6032 SHA512 cb017501738f8aaf708cfc693514e084c49712bf72d1bd4f761470a93cadd8e12e7c19e5f168c180a695d7bb2423145a6836afc58728371e793d9f6cf926b090 diff --git a/dev-python/s3transfer/files/s3transfer-0.13.0-py314.patch b/dev-python/s3transfer/files/s3transfer-0.13.0-py314.patch new file mode 100644 index 000000000000..cbd1dac52a1d --- /dev/null +++ b/dev-python/s3transfer/files/s3transfer-0.13.0-py314.patch @@ -0,0 +1,38 @@ +From fed6e9872094908fae4fe6a441430fdb2d6b9b77 Mon Sep 17 00:00:00 2001 +From: Karolina Surma +Date: Fri, 30 May 2025 13:46:29 +0200 +Subject: [PATCH] Avoid the multiprocessing forkserver method + +--- + tests/unit/test_compat.py | 11 ++++++++++- + 1 file changed, 10 insertions(+), 1 deletion(-) + +diff --git a/tests/unit/test_compat.py b/tests/unit/test_compat.py +index 20f07c74..a50ad10a 100644 +--- a/tests/unit/test_compat.py ++++ b/tests/unit/test_compat.py +@@ -10,6 +10,7 @@ + # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF + # ANY KIND, either express or implied. See the License for the specific + # language governing permissions and limitations under the License. ++import multiprocessing + import os + import shutil + import signal +@@ -80,7 +81,15 @@ def test_non_file_like_obj(self): + class TestBaseManager(unittest.TestCase): + def create_pid_manager(self): + class PIDManager(BaseManager): +- pass ++ def __init__(self): ++ # Python 3.14 changed the non-macOS POSIX default to forkserver ++ # but the code in this module does not work with it ++ # See https://github.com/python/cpython/issues/125714 ++ if multiprocessing.get_start_method() == 'forkserver': ++ ctx = multiprocessing.get_context(method='fork') ++ else: ++ ctx = multiprocessing.get_context() ++ super().__init__(ctx=ctx) + + PIDManager.register('getpid', os.getpid) + return PIDManager() diff --git a/dev-python/s3transfer/s3transfer-0.12.0.ebuild b/dev-python/s3transfer/s3transfer-0.12.0.ebuild deleted file mode 100644 index 2712c3fe9d0c..000000000000 --- a/dev-python/s3transfer/s3transfer-0.12.0.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit distutils-r1 pypi - -DESCRIPTION="An Amazon S3 Transfer Manager" -HOMEPAGE=" - https://github.com/boto/s3transfer/ - https://pypi.org/project/s3transfer/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - =dev-python/botocore-1.37.4[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -src_prepare() { - # do not rely on bundled deps in botocore (sic!) - find -name '*.py' -exec sed -i \ - -e 's:from botocore[.]vendored import:import:' \ - -e 's:from botocore[.]vendored[.]:from :' \ - {} + || die - distutils-r1_src_prepare -} - -python_test() { - epytest tests/{unit,functional} -} diff --git a/dev-python/s3transfer/s3transfer-0.13.0.ebuild b/dev-python/s3transfer/s3transfer-0.13.0.ebuild index b961e21eb65c..e69de071767b 100644 --- a/dev-python/s3transfer/s3transfer-0.13.0.ebuild +++ b/dev-python/s3transfer/s3transfer-0.13.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) +PYTHON_COMPAT=( python3_{11..14} ) inherit distutils-r1 pypi @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" RDEPEND=" =:' -e 's:, ?< ?[0-9.]*::' pyproject.toml || die +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest test/unit --skip-online +} diff --git a/dev-python/simsimd/Manifest b/dev-python/simsimd/Manifest index 8e5b26756ad1..e2e30cdf5ba8 100644 --- a/dev-python/simsimd/Manifest +++ b/dev-python/simsimd/Manifest @@ -1,2 +1 @@ -DIST SimSIMD-6.4.5.gh.tar.gz 219987 BLAKE2B 35ba9c1913727b55c9ced73c7940343c1653bc059c5e289683011c236581362ee3d6ce29626ec29f6eb6d0c2bc0fd85dc2989ed84e4362a81506b7ac7b4c71e3 SHA512 734700ec6b8dc5d6a73999f2b53365740ffc3c24787a02680e9b329a1c63fff61b429591cf168adbb002b85599a84801a28530cf929f7ade40d5ce1770ce334c DIST SimSIMD-6.4.7.gh.tar.gz 221008 BLAKE2B 074c6d466a3b091fdba61d5896dc88adda516e90218940106a139249c70a27f51538a44fafe68159aba81e0c2b4662741d596e3258ad6a0147b69eef4e160b90 SHA512 73caaf4aa4b9de338d3f7205c60c6c2476ebf692d58ba9ae29797ab70c556fbf4e2acc111e5c48abc948addec3911e526bc77fe89a0624f7c02487d61da20f6b diff --git a/dev-python/simsimd/simsimd-6.4.5.ebuild b/dev-python/simsimd/simsimd-6.4.5.ebuild deleted file mode 100644 index da7be6bc1b94..000000000000 --- a/dev-python/simsimd/simsimd-6.4.5.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 2024-2025 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_{9,10,11,12,13} pypy3 ) - -inherit distutils-r1 toolchain-funcs - -MY_P=SimSIMD-${PV} -DESCRIPTION="Fastest SIMD-Accelerated Vector Similarity Functions for x86 and Arm" -HOMEPAGE=" - https://github.com/ashvardanian/SimSIMD/ - https://pypi.org/project/simsimd/ -" -# no sdist, as of 4.3.1 -# https://github.com/ashvardanian/SimSIMD/issues/113 -SRC_URI=" - https://github.com/ashvardanian/SimSIMD/archive/v${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64" -IUSE="openmp" - -BDEPEND=" - test? ( - dev-python/pytest-repeat[${PYTHON_USEDEP}] - dev-python/tabulate[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -pkg_pretend() { - if [[ ${MERGE_TYPE} != binary ]] && use openmp; then - tc-check-openmp - fi -} - -pkg_setup() { - if [[ ${MERGE_TYPE} != binary ]] && use openmp; then - tc-check-openmp - fi -} - -src_prepare() { - sed -i -e '/-O3/d' setup.py || die - if ! use openmp; then - sed -i -e '/-fopenmp/d' setup.py || die - fi - - distutils-r1_src_prepare -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p repeat scripts/test.py -} diff --git a/dev-python/snowballstemmer/Manifest b/dev-python/snowballstemmer/Manifest index b0080b048251..bbe2c6a53930 100644 --- a/dev-python/snowballstemmer/Manifest +++ b/dev-python/snowballstemmer/Manifest @@ -1,2 +1 @@ -DIST snowballstemmer-2.2.0.tar.gz 86699 BLAKE2B b106fac1587143c9e88f54cc982c573b227f9e2d0125d36391a95050b41e9c97e47c7c8dff890ebfcf4bdf7c97559908d3bd380c6659b0d1fef4bed111fbae4b SHA512 f1dee83e06fc79ffb250892fe62c75e3393b9af07fbf7cde413e6391870aa74934302771239dea5c9bc89806684f95059b00c9ffbcf7340375c9dd8f1216cd37 DIST snowballstemmer-3.0.1.tar.gz 105575 BLAKE2B 68515d35b8aa8ad9f80e2fb37c483f6fe15951796413553e543b7cd4dfc2da37107766e8c96662498b63f019b5dfc62288f026d5465613d740421e41d00f2b99 SHA512 a9590da2b0be4b93a7500b337a63cf2039ff01a6da309ddb9462961c309b4763d4dfc925965a62376a9f3b41a05bb634d6472f1e2ee07e53b38f8542e7eada82 diff --git a/dev-python/snowballstemmer/snowballstemmer-2.2.0-r1.ebuild b/dev-python/snowballstemmer/snowballstemmer-2.2.0-r1.ebuild deleted file mode 100644 index 4be6477b437b..000000000000 --- a/dev-python/snowballstemmer/snowballstemmer-2.2.0-r1.ebuild +++ /dev/null @@ -1,19 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) -inherit distutils-r1 pypi - -DESCRIPTION="Stemmer algorithms generated from Snowball algorithms" -HOMEPAGE=" - https://snowballstem.org/ - https://github.com/snowballstem/snowball - https://pypi.org/project/snowballstemmer/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos ~x64-solaris" diff --git a/dev-python/snowballstemmer/snowballstemmer-3.0.1.ebuild b/dev-python/snowballstemmer/snowballstemmer-3.0.1.ebuild index fe382b3fb048..4be6477b437b 100644 --- a/dev-python/snowballstemmer/snowballstemmer-3.0.1.ebuild +++ b/dev-python/snowballstemmer/snowballstemmer-3.0.1.ebuild @@ -16,4 +16,4 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos ~x64-solaris" diff --git a/dev-python/testtools/testtools-2.7.2-r1.ebuild b/dev-python/testtools/testtools-2.7.2-r1.ebuild index 33a47bf0abd7..472a3408bccf 100644 --- a/dev-python/testtools/testtools-2.7.2-r1.ebuild +++ b/dev-python/testtools/testtools-2.7.2-r1.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/testtools/testtools-2.7.2.ebuild b/dev-python/testtools/testtools-2.7.2.ebuild deleted file mode 100644 index 6e81e94ddf28..000000000000 --- a/dev-python/testtools/testtools-2.7.2.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 pypi - -DESCRIPTION="Extensions to the Python standard library unit testing framework" -HOMEPAGE=" - https://github.com/testing-cabal/testtools/ - https://pypi.org/project/testtools/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" -IUSE="test" -RESTRICT="!test? ( test )" - -BDEPEND=" - dev-python/hatch-vcs[${PYTHON_USEDEP}] - test? ( - >=dev-python/fixtures-2.0.0[${PYTHON_USEDEP}] - dev-python/testscenarios[${PYTHON_USEDEP}] - dev-python/testresources[${PYTHON_USEDEP}] - dev-python/twisted[${PYTHON_USEDEP}] - ) -" - -PATCHES=( - "${FILESDIR}/${PN}-2.7.2-twisted-fix.patch" -) - -distutils_enable_sphinx doc - -python_test() { - cp testtools/tests/__init__.py test_suite.py || die - if ! has_version "dev-python/twisted[${PYTHON_USEDEP}]"; then - sed -i -e '/twistedsupport/d' test_suite.py || die - fi - - "${EPYTHON}" -m testtools.run test_suite.test_suite || - die "tests failed under ${EPYTHON}" -} diff --git a/dev-python/thrift/Manifest b/dev-python/thrift/Manifest index 66eba4ce5fdb..840a578b3e87 100644 --- a/dev-python/thrift/Manifest +++ b/dev-python/thrift/Manifest @@ -1,2 +1 @@ -DIST thrift-0.21.0.tar.gz 4398072 BLAKE2B 1cbbecd0a4ecfe1a14b657d2a87286ad821e821894efde226aa96b23c62250c6bb032e703e0031990328b263593d92024f28b907e8dc27c217d475f6f3b90932 SHA512 0ffca1232305c07f803adb7239b5d22ee5c766a2809703c127b45a80b820c677e05a2d5b82852af5e1e923abe07ff1d9eb2f3fa4f2aa8732c9a81d8b0daa1f35 DIST thrift-0.22.0.tar.gz 4422267 BLAKE2B b91b3379dcce0222e0cc29cd783710ef183694d96e4794535d72a7a49764e994e70a6560841bc93668d4997a68f405eaa5a5f2d0c5a1c6238c6bd9b3556d9400 SHA512 beb37ee2a295fae7df12cce6449c92799076771bae515fafcc790a62ac6e76ac5584f102315d466b8f5f98e236c9dc4a244695bdcd9f1392d6e9a13d365ddadc diff --git a/dev-python/thrift/thrift-0.21.0.ebuild b/dev-python/thrift/thrift-0.21.0.ebuild deleted file mode 100644 index dfe321114674..000000000000 --- a/dev-python/thrift/thrift-0.21.0.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -DISTUTILS_EXT=1 -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) -inherit distutils-r1 - -DESCRIPTION="Python implementation of Thrift" -HOMEPAGE=" - https://pypi.org/project/thrift/ - https://thrift.apache.org/ - https://github.com/apache/thrift -" -SRC_URI=" - https://downloads.apache.org/${PN}/${PV}/${P}.tar.gz - https://archive.apache.org/dist/${PN}/${PV}/${P}.tar.gz -" -S="${WORKDIR}/${P}/lib/py" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~riscv x86 ~amd64-linux ~x86-linux" - -distutils_enable_tests unittest - -python_test() { - eunittest test -} - -src_install() { - distutils-r1_src_install - # avoid file collision with dev-libs/thrift (bug #933272) - mv "${D}"/usr/share/doc/${P}/README.md \ - "${D}"/usr/share/doc/${P}/ReadMe.md || die -} diff --git a/dev-python/thrift/thrift-0.22.0.ebuild b/dev-python/thrift/thrift-0.22.0.ebuild index f60fe1e540df..c605e0e00e1a 100644 --- a/dev-python/thrift/thrift-0.22.0.ebuild +++ b/dev-python/thrift/thrift-0.22.0.ebuild @@ -23,7 +23,7 @@ S="${WORKDIR}/${P}/lib/py" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~riscv ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~riscv x86 ~amd64-linux ~x86-linux" distutils_enable_tests unittest diff --git a/dev-python/tokenize-rt/Manifest b/dev-python/tokenize-rt/Manifest index e0f6a79b3a9c..6642eec04bb3 100644 --- a/dev-python/tokenize-rt/Manifest +++ b/dev-python/tokenize-rt/Manifest @@ -1,2 +1 @@ -DIST tokenize-rt-6.1.0.gh.tar.gz 7780 BLAKE2B c83a669abf7291981f3f240483ecad50852c375bb232bb530d58a527af92f7f984b5f0860068a2852b3fdd8c748c43531d450cd2f9da9345548bf76c351f31e6 SHA512 7cc6b4e37598269c265bcff6cc182f022369cbf0d9f7cb9606dbd251dd6557912d0427a7feb1c98f021dea4c528e1df8cc5459149a0d152fc7150e174636dad4 DIST tokenize-rt-6.2.0.gh.tar.gz 7871 BLAKE2B 19a4c93a069b8bdccc7391c62fa57fc2112b2eb29fd9f16ecd3c937817a3712b4b86f403f0a61b9e7818b0b30a04706d7136adbf12dca5fe8157de8e664d9111 SHA512 f6d9d3ce5aa72e11d22b6a2d8c6fe20ecde199a18335f9180637ba9a5d835d5a277a5ebb98fcac008ebf30bcf2693c6e43401310a24e27c042fb6778f0419a86 diff --git a/dev-python/tokenize-rt/tokenize-rt-6.1.0.ebuild b/dev-python/tokenize-rt/tokenize-rt-6.1.0.ebuild deleted file mode 100644 index 5b6bf3143f36..000000000000 --- a/dev-python/tokenize-rt/tokenize-rt-6.1.0.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 2022-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{11..14} ) - -inherit distutils-r1 - -DESCRIPTION="A wrapper around the stdlib 'tokenize' which roundtrips" -HOMEPAGE=" - https://github.com/asottile/tokenize-rt/ - https://pypi.org/project/tokenize-rt/ -" -SRC_URI=" - https://github.com/asottile/tokenize-rt/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm64 x86" - -distutils_enable_tests pytest diff --git a/dev-python/tokenize-rt/tokenize-rt-6.2.0.ebuild b/dev-python/tokenize-rt/tokenize-rt-6.2.0.ebuild index 8e75a557ed4f..5b6bf3143f36 100644 --- a/dev-python/tokenize-rt/tokenize-rt-6.2.0.ebuild +++ b/dev-python/tokenize-rt/tokenize-rt-6.2.0.ebuild @@ -20,6 +20,6 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 arm64 x86" distutils_enable_tests pytest diff --git a/dev-python/tornado/tornado-6.5.1.ebuild b/dev-python/tornado/tornado-6.5.1.ebuild index 1c88b4ca5917..8c7a3f774c9f 100644 --- a/dev-python/tornado/tornado-6.5.1.ebuild +++ b/dev-python/tornado/tornado-6.5.1.ebuild @@ -19,7 +19,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" +KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/trimesh/Manifest b/dev-python/trimesh/Manifest index 9a2a1bff5e7d..2a177c057c45 100644 --- a/dev-python/trimesh/Manifest +++ b/dev-python/trimesh/Manifest @@ -1,3 +1,2 @@ DIST trimesh-4.6.10.gh.tar.gz 13636665 BLAKE2B 1362e7db082cd107d801314ece352f61beb704f3b53f0a33daf2b3ebb86cf670209769504e4dcc5f258d80fb7da3a6b20509589e2d7a8ff83b9f892c9ddc0193 SHA512 27e3bdc32a5ff9fe2c9a0b989487815817811db196d1be6d6356a25a23ae39cf13a069318146dfb2c722ac175beeb68b69a12dfcea3689b70f6e376f5ecfd608 DIST trimesh-4.6.11.gh.tar.gz 13637301 BLAKE2B fc672641ec363794ff90aa1daaa4711838917395771de55376981af1a2bab1dcb58e8240fd23d9c6d17187ed952994927b4896792a0cf1d632eaf88d0ca3808c SHA512 7c1039a845a461b450d5dda54da287a7f35e8ffbe544ee4e920dcb7053a30791796f239d00337f1cb443c3df610bdc2faa6a93e7240c2c494ab6c6ef9d563b96 -DIST trimesh-4.6.9.gh.tar.gz 13628313 BLAKE2B 18c98803e0945192dea781cf0a2b19e3a8cf8002e6f5aa96b8c59aaaeceef10e90efb436ba038fbbacd56dcc37e93e0a280c5cd359344ed6b30480c4e12d2349 SHA512 c647fe403caaaba95a0f85b9eef64c5957eb31e68ba564527ff9b076a0c86f7891671ea4c9e80729add28e2b83da9699b551ab047ae89ec5562b7daed43b05e4 diff --git a/dev-python/trimesh/trimesh-4.6.10.ebuild b/dev-python/trimesh/trimesh-4.6.10.ebuild index 9a55e3b051f5..71f4a8bbad96 100644 --- a/dev-python/trimesh/trimesh-4.6.10.ebuild +++ b/dev-python/trimesh/trimesh-4.6.10.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 arm64 ~x86" RDEPEND=" dev-python/charset-normalizer[${PYTHON_USEDEP}] diff --git a/dev-python/trimesh/trimesh-4.6.9.ebuild b/dev-python/trimesh/trimesh-4.6.9.ebuild deleted file mode 100644 index 71f4a8bbad96..000000000000 --- a/dev-python/trimesh/trimesh-4.6.9.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit distutils-r1 optfeature - -DESCRIPTION="Python library for loading and using triangular meshes" -HOMEPAGE=" - https://trimesh.org/ - https://github.com/mikedh/trimesh/ - https://pypi.org/project/trimesh/ -" -SRC_URI=" - https://github.com/mikedh/${PN}/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm64 ~x86" - -RDEPEND=" - dev-python/charset-normalizer[${PYTHON_USEDEP}] - dev-python/colorlog[${PYTHON_USEDEP}] - dev-python/httpx[${PYTHON_USEDEP}] - dev-python/jsonschema[${PYTHON_USEDEP}] - dev-python/lxml[${PYTHON_USEDEP}] - dev-python/networkx[${PYTHON_USEDEP}] - >=dev-python/numpy-1.20[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP}] - dev-python/pycollada[${PYTHON_USEDEP}] - dev-python/pyglet[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - >=dev-python/shapely-1.8.2[${PYTHON_USEDEP}] - dev-python/svg-path[${PYTHON_USEDEP}] - dev-python/sympy[${PYTHON_USEDEP}] - dev-python/xxhash[${PYTHON_USEDEP}] - dev-python/rtree[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/mapbox-earcut[${PYTHON_USEDEP}] - dev-python/pillow[webp,${PYTHON_USEDEP}] - ) -" - -EPYTEST_TIMEOUT=1800 -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # requires manifold3d - tests/test_boolean.py::test_multiple_difference - # timing nonsense - tests/test_bounds.py::BoundsTest::test_obb_mesh_large - ) - local EPYTEST_IGNORE=( - # require pyinstrument - tests/test_sweep.py - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} - -pkg_postinst() { - optfeature_header "${PN} functionality can be extended by installing the following packages:" - optfeature "making GUI applications with 3D stuff" dev-python/glooey - optfeature "2D triangulations of polygons" dev-python/mapbox-earcut - optfeature "loading a number of additional mesh formats" dev-python/meshio - optfeature "figuring out how much memory we have" dev-python/psutil - optfeature "marching cubes and other nice stuff" dev-python/scikit-image -} diff --git a/dev-python/trio/Manifest b/dev-python/trio/Manifest index 4836b927b938..bf02330e970d 100644 --- a/dev-python/trio/Manifest +++ b/dev-python/trio/Manifest @@ -1,2 +1 @@ -DIST trio-0.29.0.gh.tar.gz 599433 BLAKE2B 35a162f01cca02134ffcd1c0cd3c072c1a20c07cc67038f3257fcb4732c696174ab3ee6e37706ffbb878b6a647d9e26489a55cdccb051b33c43517b660d227cd SHA512 88b6845c26f5bb02b749db7f64843e1858c3d52aad4332101022d61ec183f96304f1ce05a8ece5f97d04edf9aef668d791831439ae49fe1a7b904cf76061629e DIST trio-0.30.0.gh.tar.gz 605667 BLAKE2B 1df453c8a3747bfacb39029a3146bd323deb3cd22b5ba2119e01795f18b9340595ac7b850095b272be575cd508059f5b13993ddfe904e1e4a0cd70ef127c80f8 SHA512 5e76808fd9c79c3eab686b80d201654cdb9023b35c0aa8eb6415d079e810be9e60f13149da63ba1eb78c879f68392b6957aac16402413cd329f440399ffb65b7 diff --git a/dev-python/trio/trio-0.29.0.ebuild b/dev-python/trio/trio-0.29.0.ebuild deleted file mode 100644 index 21f0046c8293..000000000000 --- a/dev-python/trio/trio-0.29.0.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Python library for async concurrency and I/O" -HOMEPAGE=" - https://github.com/python-trio/trio/ - https://pypi.org/project/trio/ -" -SRC_URI=" - https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="|| ( Apache-2.0 MIT )" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - >=dev-python/attrs-23.2.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/exceptiongroup-1.2.1[${PYTHON_USEDEP}] - ' 3.10) - dev-python/idna[${PYTHON_USEDEP}] - dev-python/outcome[${PYTHON_USEDEP}] - >=dev-python/sniffio-1.3.0[${PYTHON_USEDEP}] - dev-python/sortedcontainers[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - >=dev-python/astor-0.8.0[${PYTHON_USEDEP}] - >=dev-python/immutables-0.6[${PYTHON_USEDEP}] - dev-python/pyopenssl[${PYTHON_USEDEP}] - dev-python/trustme[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest -# Bug https://bugs.gentoo.org/916756 -# distutils_enable_sphinx docs/source \ -# dev-python/immutables \ -# dev-python/sphinxcontrib-trio \ -# dev-python/sphinx-rtd-theme \ -# dev-python/towncrier - -python_test() { - local EPYTEST_DESELECT=( - # Times out on slower arches (ia64 in this case) - # https://github.com/python-trio/trio/issues/1753 - tests/test_unix_pipes.py::test_close_at_bad_time_for_send_all - # requires ruff - _tests/tools/test_gen_exports.py - ) - - case ${EPYTHON} in - python3.14) - EPYTEST_DESELECT+=( - # xfail-ed upstream with ref to - # https://github.com/python/cpython/issues/125603 - _core/_tests/test_run.py::test_ki_protection_doesnt_leave_cyclic_garbage - ) - ;; - esac - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - rm -rf trio || die - epytest -p trio._tests.pytest_plugin \ - -m "not redistributors_should_skip" \ - --pyargs trio \ - --skip-optional-imports -} diff --git a/dev-python/trio/trio-0.30.0.ebuild b/dev-python/trio/trio-0.30.0.ebuild index 2047a31a9e50..692eb39e699d 100644 --- a/dev-python/trio/trio-0.30.0.ebuild +++ b/dev-python/trio/trio-0.30.0.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="|| ( Apache-2.0 MIT )" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" >=dev-python/attrs-23.2.0[${PYTHON_USEDEP}] diff --git a/dev-python/twisted/Manifest b/dev-python/twisted/Manifest index 623b687189b4..5030fbdf8058 100644 --- a/dev-python/twisted/Manifest +++ b/dev-python/twisted/Manifest @@ -1,4 +1,5 @@ DIST twisted-24.10.0.tar.gz 3525999 BLAKE2B 4d274a4b5989597c2789e05774bad3595ac5284f5da25fb488d46b87a4bb0e0ab311fcab228eaf070530451a28098bbefc326f6d4806378b2fe076adf5b07199 SHA512 dad7c1301c3b31f096db8c4796e064e864c2c28107c46c202b4f4b123c99a0e69f9b43afbf582997dd2c15a08e95b41213e4bc67ea1fe9fd8137c76656a20162 DIST twisted-24.11.0.tar.gz 3526722 BLAKE2B cd874da038e3cbc369283de5d598b99680e3122ed9bdd0bbb8e541793b739b88281708c618c8f0cf9b4bf13684188b0b893ec5f744ae510c1af446822652a866 SHA512 cfd17cad9573b47b43761625ab529a1a0b27ce75545d9bc277622a7ce138b5dccf554d3c8764de1baafc07192e1172e50f4c6d19dc65590b5318a603a808efb9 +DIST twisted-25.5.0.tar.gz 3545725 BLAKE2B 01f24c3c90c3db349efe779a8262abab3004782aedd8534a8c53e5336d77862a3615c83093137074b19af415cdb5572e07c39a74846a128544e8405d9c69864b SHA512 3d023777854fdf54e06f4bbaf3159359767aac9ba33e90d2b2e8abe29815d088e00eebd06944c12610a28c517d9cb397a5104ff153160edabfb91dd16a15f597 DIST twisted-25.5.0rc1.tar.gz 3546085 BLAKE2B adf18b8755d431ea47fa07ec6cbf32e6400ae928e3246782035785856b843e0e31bca448441ad2b280cbc874708ae521c39d0194b32fd6aa45ce3ce5fe977c64 SHA512 e67e1a1c19a49cfcd9179e2b981539dac87e19b46b630de41542fc3d34efa508ee624b6640b5a3186450251ee1a610dced5ab093b025607c0e61bfa843eb4b68 DIST twisted-regen-cache.gz 911 BLAKE2B ffd3fcda6c67ffe6fd3ef581c8d507548396b66ed0708e9a5c790095e579c0d5f0f71596acf05712989da2ddef2b8d437eca973bc4d80ef8a9fa852915f38305 SHA512 95a9b931c73017d16d1b5e6b41345dddffe62b6af1a8e93b5e40d06d3d15be17b0dd0181c767ffeeb791534d463764ef9e066fa6c2ee2ac4b53c86d1da8fce03 diff --git a/dev-python/twisted/files/twisted-25.5.0-rebuild.patch b/dev-python/twisted/files/twisted-25.5.0-rebuild.patch new file mode 100644 index 000000000000..e92595c7649e --- /dev/null +++ b/dev-python/twisted/files/twisted-25.5.0-rebuild.patch @@ -0,0 +1,41 @@ +From bd88d363bc9aa985131a9c2bb06ab37497e33173 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= +Date: Sun, 25 May 2025 18:53:56 +0200 +Subject: [PATCH] Fix `rebuild()` to handle changing `sys.modules` gracefully + +Copy keys from `sys.modules` before starting to iterate over it +in the `rebuild()` function, and handle missing modules gracefully, +in order to fix possible "directionary changed size during iteration" +errors. In particular, this can happen when iterating over the `py` +module. + +Fixes #12458 +--- + src/twisted/newsfragments/12458.bugfix | 1 + + src/twisted/python/rebuild.py | 5 ++++- + 2 files changed, 5 insertions(+), 1 deletion(-) + create mode 100644 src/twisted/newsfragments/12458.bugfix + +diff --git a/src/twisted/newsfragments/12458.bugfix b/src/twisted/newsfragments/12458.bugfix +new file mode 100644 +index 00000000000..df61eb384af +--- /dev/null ++++ b/src/twisted/newsfragments/12458.bugfix +@@ -0,0 +1 @@ ++twisted.python.rebuild.rebuild() now handles changes to ``sys.modules`` gracefully. Prior to the change, it could possibly raise a "dictionary changed size during iteration" error if the module list changed. +diff --git a/src/twisted/python/rebuild.py b/src/twisted/python/rebuild.py +index e82beec1b6a..4ab7e0533d0 100644 +--- a/src/twisted/python/rebuild.py ++++ b/src/twisted/python/rebuild.py +@@ -210,7 +210,10 @@ def rebuild(module, doLog=1): + log.msg("") + log.msg(f" (fixing {str(module.__name__)}): ") + modcount = 0 +- for mk, mod in sys.modules.items(): ++ # note: sys.modules can change throughout iteration ++ # https://github.com/twisted/twisted/issues/12458 ++ for mk in list(sys.modules): ++ mod = sys.modules.get(mk) + modcount = modcount + 1 + if mod == module or mod is None: + continue diff --git a/dev-python/twisted/twisted-25.5.0.ebuild b/dev-python/twisted/twisted-25.5.0.ebuild new file mode 100644 index 000000000000..1879217ce30a --- /dev/null +++ b/dev-python/twisted/twisted-25.5.0.ebuild @@ -0,0 +1,168 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_TESTED=( python3_{9,10,11,12,13} pypy3 ) +PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 multiprocessing pypi virtualx + +DESCRIPTION="An asynchronous networking framework written in Python" +HOMEPAGE=" + https://twisted.org/ + https://github.com/twisted/twisted/ + https://pypi.org/project/Twisted/ +" +SRC_URI+=" + https://dev.gentoo.org/~mgorny/dist/twisted-regen-cache.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" +IUSE="conch http2 serial ssl test websockets" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] + >=dev-python/automat-24.8.0[${PYTHON_USEDEP}] + >=dev-python/constantly-15.1[${PYTHON_USEDEP}] + >=dev-python/hyperlink-17.1.1[${PYTHON_USEDEP}] + >=dev-python/incremental-22.10.0[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.2.0[${PYTHON_USEDEP}] + >=dev-python/zope-interface-5[${PYTHON_USEDEP}] + conch? ( + >=dev-python/appdirs-1.4.0[${PYTHON_USEDEP}] + >=dev-python/bcrypt-3.0.0[${PYTHON_USEDEP}] + >=dev-python/cryptography-3.3[${PYTHON_USEDEP}] + dev-python/pyasn1[${PYTHON_USEDEP}] + ) + http2? ( + >=dev-python/h2-3.2[${PYTHON_USEDEP}] + >=dev-python/priority-1.1.0[${PYTHON_USEDEP}] + ) + serial? ( + >=dev-python/pyserial-3.0[${PYTHON_USEDEP}] + ) + ssl? ( + >=dev-python/pyopenssl-21.0.0[${PYTHON_USEDEP}] + >=dev-python/service-identity-18.1.0[${PYTHON_USEDEP}] + >=dev-python/idna-2.4[${PYTHON_USEDEP}] + ) + websockets? ( + dev-python/wsproto[${PYTHON_USEDEP}] + ) +" +IDEPEND=" + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + >=dev-python/constantly-15.1[${PYTHON_USEDEP}] + >=dev-python/zope-interface-5[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/hatch-fancy-pypi-readme-22.5.0[${PYTHON_USEDEP}] + >=dev-python/incremental-22.10.0[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + $(python_gen_cond_dep ' + >=dev-python/appdirs-1.4.0[${PYTHON_USEDEP}] + >=dev-python/bcrypt-3.0.0[${PYTHON_USEDEP}] + >=dev-python/constantly-15.1.0[${PYTHON_USEDEP}] + =dev-python/cython-test-exception-raiser-1.0.2[${PYTHON_USEDEP}] + >=dev-python/idna-2.4[${PYTHON_USEDEP}] + >=dev-python/httpx-0.27[${PYTHON_USEDEP}] + >=dev-python/hypothesis-6.56[${PYTHON_USEDEP}] + dev-python/pyasn1[${PYTHON_USEDEP}] + >=dev-python/pyhamcrest-2[${PYTHON_USEDEP}] + >=dev-python/pyserial-3.0[${PYTHON_USEDEP}] + dev-python/wsproto[${PYTHON_USEDEP}] + virtual/openssh + ssl? ( + >=dev-python/pyopenssl-21.0.0[${PYTHON_USEDEP}] + >=dev-python/service-identity-18.1.0[${PYTHON_USEDEP}] + ) + ' "${PYTHON_TESTED[@]}") + ) +" + +python_prepare_all() { + local PATCHES=( + # https://github.com/twisted/twisted/pull/12460 + "${FILESDIR}/${P}-rebuild.patch" + ) + + distutils-r1_python_prepare_all + + # upstream test for making releases; not very useful and requires + # sphinx (including on py2) + rm src/twisted/python/test/test_release.py || die + + # multicast tests fail within network-sandbox + sed -e 's:test_joinLeave:_&:' \ + -e 's:test_loopback:_&:' \ + -e 's:test_multiListen:_&:' \ + -e 's:test_multicast:_&:' \ + -i src/twisted/test/test_udp.py || die +} + +src_test() { + # the test suite handles missing file & failing ioctl()s gracefully + # but not permission errors from sandbox + addwrite /dev/net/tun + virtx distutils-r1_src_test +} + +python_test() { + if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then + einfo "Skipping tests on ${EPYTHON} (xfail)" + return + fi + + # breaks some tests by overriding empty environment + local -x SANDBOX_ON=0 + # for py3.13, see + # https://github.com/twisted/twisted/pull/12092#issuecomment-2194326096 + local -x LINES=25 COLUMNS=80 + "${EPYTHON}" -m twisted.trial -j "$(makeopts_jobs)" twisted || + die "Tests failed with ${EPYTHON}" +} + +python_install() { + distutils-r1_python_install + + # own the dropin.cache so we don't leave orphans + > "${D}$(python_get_sitedir)"/twisted/plugins/dropin.cache || die + + python_doscript "${WORKDIR}"/twisted-regen-cache +} + +python_install_all() { + distutils-r1_python_install_all + + newconfd "${FILESDIR}/twistd.conf" twistd + newinitd "${FILESDIR}/twistd.init" twistd +} + +python_postinst() { + twisted-regen-cache || die +} + +pkg_postinst() { + if [[ -z ${ROOT} ]]; then + python_foreach_impl python_postinst + fi +} + +python_postrm() { + rm -f "${ROOT}$(python_get_sitedir)/twisted/plugins/dropin.cache" || die +} + +pkg_postrm() { + # if we're removing the last version, remove the cache file + if [[ ! ${REPLACING_VERSIONS} ]]; then + python_foreach_impl python_postrm + fi +} diff --git a/dev-python/types-setuptools/Manifest b/dev-python/types-setuptools/Manifest index 7fbb83bcfba2..fa243cbfa2ce 100644 --- a/dev-python/types-setuptools/Manifest +++ b/dev-python/types-setuptools/Manifest @@ -1,3 +1,2 @@ -DIST types_setuptools-80.4.0.20250511.tar.gz 41205 BLAKE2B 54ec7947f50ffa1507e3bc53098a3079edef8044739e307afd47675638d2930d9cbe1a8535858e1a538bed65d00616b489ca5e7ed4cf795ddcd2f7987bdf793a SHA512 ec2d12032367cdc956df2e3cff082b5e15f0a76a28c1a85bc9cabe1dc81c704fcaea64637c477ec5440f83eea3ba0125f2bad62721f1528c14e07f89e5819b49 DIST types_setuptools-80.8.0.20250521.tar.gz 41323 BLAKE2B 0c32056488b029f8c4af6568863f13f6ac158d9d6f64d17501ced2fd2d84be9efe9fae76e6335990d35b5dc8346579559799e66dba837fe233560f8be58ccd59 SHA512 67982efd53a98a0be4cfe3c388de0246e36a1c20398deac5d0d4e4cc41f8aa11c87254ad035b9c6e9b30924857138a1c6cca21ddf2f64731678f2c7218fc8de7 DIST types_setuptools-80.9.0.20250529.tar.gz 41337 BLAKE2B c6251c9380efd198b96cd9c30c953c28e1729ece3f5120fe299e9f8bfbf1e6e68e0047a3c19d9c82d49c96031e7fec5b7d819895890155a04e5027c4ec71d5dd SHA512 449bfc4ccede10e2c1c44a318245a10d6398b550c97dec5a44f4b22107f97504355a2f77d2ca4db58641b2fdf777c4b0cc942b4e0105038642f3f5c894af29c0 diff --git a/dev-python/types-setuptools/types-setuptools-80.4.0.20250511.ebuild b/dev-python/types-setuptools/types-setuptools-80.4.0.20250511.ebuild deleted file mode 100644 index fadb3d040bae..000000000000 --- a/dev-python/types-setuptools/types-setuptools-80.4.0.20250511.ebuild +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright 2023-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) - -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/types-setuptools/types-setuptools-80.8.0.20250521.ebuild b/dev-python/types-setuptools/types-setuptools-80.8.0.20250521.ebuild index 078677754317..fadb3d040bae 100644 --- a/dev-python/types-setuptools/types-setuptools-80.8.0.20250521.ebuild +++ b/dev-python/types-setuptools/types-setuptools-80.8.0.20250521.ebuild @@ -13,4 +13,4 @@ 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" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" diff --git a/dev-python/typing-inspection/typing-inspection-0.4.1.ebuild b/dev-python/typing-inspection/typing-inspection-0.4.1.ebuild index 0e91f4a46301..995b353f76ce 100644 --- a/dev-python/typing-inspection/typing-inspection-0.4.1.ebuild +++ b/dev-python/typing-inspection/typing-inspection-0.4.1.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv ~s390 ~sparc x86" RDEPEND=" >=dev-python/typing-extensions-4.12.0[${PYTHON_USEDEP}] diff --git a/dev-python/uv-build/Manifest b/dev-python/uv-build/Manifest index 674b07ee04fd..cd1523b8f0b7 100644 --- a/dev-python/uv-build/Manifest +++ b/dev-python/uv-build/Manifest @@ -1,4 +1,5 @@ DIST uv_build-0.6.17.tar.gz 300696 BLAKE2B 3f15068232e20b4b70ef319f90a258efc0d38be668bc438c91354b5ede4cb03235abc912292e2747249eab5c54c1fbc3cfa91ab1335881b975fce9677340c54e SHA512 2827629a11a9775661554f3eae4f3c6018637203c18f739ce728973ee0e7f905bef7c9fcc200f95393e2e13c167e31fdf0ab8dced59c028c3c600d47ba373752 DIST uv_build-0.7.10.tar.gz 308530 BLAKE2B 01ec0cc519966665129c29e7cfe5522cf070d3377b4172265f7a8dbea441979022875eb091371e868ca6c9ab80c497c85b789b5c81b93c8e004fd8b6e0e05240 SHA512 744e4ac1e5be3579a7a89cdd2b6f0e40a1d681fd51c7dc44bcfbce8c51a61cffa8cdb8006c02526a7bb27ad7cf2b02cf33be7107b36487a89835e81e079ffa54 +DIST uv_build-0.7.12.tar.gz 309677 BLAKE2B 8d238e0be4d67e2c38310d47634b60912423bad7106ef11f057f572298b280b0d515dbb9c2fb4205bd9c20c6184d6c9ec14600c8314afdc870dbb6812df35dad SHA512 8dd406e7369d7b8f9a318bbe7c1827588dc302862ae452b5233602fd0461eef52fe8a217b7f92075c19d55277ccb66b76f915ce7c2d58aefe062703e92a27932 DIST uv_build-0.7.8.tar.gz 305609 BLAKE2B 89d2e7ff95f4375d4fff758463c1cf918c3ec475a1e0de04fcc51b4bd0fefe1aca50ea223b3cc456c5944f0673702ab971374829fb568e4521129acb0a770506 SHA512 bde37f82ae781531e50425ff247219e4e2908c7e46200a65a74e8e2b8b48a0d5cd60476138c160bd1d07aa8c9a581f5da01e79fd7883d018f10617ddba8b8349 DIST uv_build-0.7.9.tar.gz 308177 BLAKE2B 38bd8d4640a239dac740503929c7b31ba591e101e0778cbd5e3c9db6513082f0382bc982affc7cf3a5af3998647ae58ebf870388dc0d67e2ed7fda5764cc9176 SHA512 f316aae21cbf15dc281d79eaa10af1b56efd70d484ae37b831d7216c268e03c6a46c50a212e617e932a6cf0805f2cb114e91caf92afe1c1d994ba06209255e90 diff --git a/dev-python/uv-build/uv-build-0.7.12.ebuild b/dev-python/uv-build/uv-build-0.7.12.ebuild new file mode 100644 index 000000000000..6156796bc3d2 --- /dev/null +++ b/dev-python/uv-build/uv-build-0.7.12.ebuild @@ -0,0 +1,99 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Maturin compiles uv-build executable for every impl, we do not want +# that, so we use another backend. And since we use another backend, +# why not dogfood it in the first place? +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="PEP517 uv build backend" +HOMEPAGE=" + https://github.com/astral-sh/uv/ + https://pypi.org/project/uv-build/ +" + +LICENSE="|| ( Apache-2.0 MIT )" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/uv-${PV} +" +BDEPEND=" + test? ( + app-arch/unzip + dev-python/build[${PYTHON_USEDEP}] + ) +" + +src_prepare() { + distutils-r1_src_prepare + + # use the executable from dev-python/uv instead of building + # a largely overlapping uv-build executable (at least for now) + sed -i -e '/USE_UV_EXECUTABLE/s:False:True:' python/uv_build/__init__.py || die + + # replace the build-system section + sed -i -e '/\[build-system\]/,$d' pyproject.toml || die + cat >> pyproject.toml <<-EOF || die + [build-system] + requires = ["uv_build<9999"] + build-backend = "uv_build" + backend-path = ["src"] + EOF + + # rename to make uv-build find it + mv python src || die +} + +python_test() { + "${EPYTHON}" -m build -n || die "Self-build failed with ${EPYTHON}" + + local zip_result=$( + unzip -t "dist/uv_build-${PV}-py3-none-any.whl" || die + ) + local zip_expected="\ +Archive: dist/uv_build-${PV}-py3-none-any.whl + testing: uv_build/ OK + testing: uv_build/__init__.py OK + testing: uv_build/__main__.py OK + testing: uv_build/py.typed OK + testing: uv_build-${PV}.dist-info/ OK + testing: uv_build-${PV}.dist-info/WHEEL OK + testing: uv_build-${PV}.dist-info/METADATA OK + testing: uv_build-${PV}.dist-info/RECORD OK +No errors detected in compressed data of dist/uv_build-${PV}-py3-none-any.whl.\ +" + if [[ ${zip_result} != ${zip_expected} ]]; then + eerror ".zip result:\n${zip_result}" + eerror ".zip expected:\n${zip_expected}" + die ".whl result mismatch" + fi + + local tar_result=$( + tar -tf "dist/uv_build-${PV}.tar.gz" || die + ) + local tar_expected="\ +uv_build-${PV}/PKG-INFO +uv_build-${PV}/ +uv_build-${PV}/README.md +uv_build-${PV}/pyproject.toml +uv_build-${PV}/src +uv_build-${PV}/src/uv_build +uv_build-${PV}/src/uv_build/__init__.py +uv_build-${PV}/src/uv_build/__main__.py +uv_build-${PV}/src/uv_build/py.typed\ +" + if [[ ${tar_result} != ${tar_expected} ]]; then + eerror ".tar.gz result:\n${tar_result}" + eerror ".tar.gz expected:\n${tar_expected}" + die ".tar.gz result mismatch" + fi +} diff --git a/dev-python/uv/Manifest b/dev-python/uv/Manifest index d00587b0f6df..3501fb1950f9 100644 --- a/dev-python/uv/Manifest +++ b/dev-python/uv/Manifest @@ -6,6 +6,8 @@ DIST uv-0.6.17-crates.tar.xz 58061436 BLAKE2B d86afdb51411ceabb529f7b23dfc10b85e DIST uv-0.6.17.gh.tar.gz 3995730 BLAKE2B 368a877294dc9e1e1f29599b5589242899f9a6cf5767b6fa10d5987d18a1cb6704aad34ad136522ac3256cc0802bad4442bebde94ff4e3dd6d7763b73fa8cca1 SHA512 aae465ef02a29a856f4de69230f77d31149c95ed5a88e489b46c34aa61020f29dcf406168abea77626e7d5297b2e004a89445f343e3ee763c297981b0d50233a DIST uv-0.7.10-crates.tar.xz 52013636 BLAKE2B f5063aba01bbb91219d2852be9563f2b48be7c534a1ed69e88bd3b702de12df418484e2c7593a7e5237c4f0d71282cc849e1b2f473275355496a9e2977eeb6ad SHA512 6cb80a362a9abef725e2e062d864fc54a81a83431a15012321f7b561fc4b0a5d30301f52c2f2c50cadfbc821bf3f8a3397a0c55d422649c1c940d43d45e65d03 DIST uv-0.7.10.gh.tar.gz 4020442 BLAKE2B a7f23494671706b439a14148241066454489fd9df9817ccce0a15bc464c6c07f727932ef973a227bcb4d76bb035be4fe59c1fe00030f8a2121a73dc0f993ad0e SHA512 a92521fcbc03abb07ed5bcda653aa218e7082777b517747224619c7bad6c9b05fad837088198aeb419fd3fac164be8d248cb699ca7a39a77298e83e86398594c +DIST uv-0.7.12-crates.tar.xz 51866804 BLAKE2B b9e8f122d3ded3bf63d165b8be9066f18a881aff99ae860d2cbb82b9248453047b497416a93fb00009e947d5d6a89d23999cf22644dc6413a03087b8756f623f SHA512 73f5d6b1d3452ae2580fbf2e172c4ee2cc24dfcc16f13f723699104b253fe12c8d1362f93eddafb2cb09caa51ab0985528d744b526a36a673eae3dff86818bca +DIST uv-0.7.12.gh.tar.gz 4041301 BLAKE2B ce4aa6dbb70c1779662d3ec5898f8e06986b4731ff5789adf6e84a6a9335b6ae5b4568bcf4ff8103cad45cd99da0a3a79af80141923d5c3178e9fe60ea37a7e7 SHA512 949281a0c4c5478abb94b53e41bcaab9ea1a9728a2d6ae97c25159fbed32e35a7967d78c923eab5a58ae3b360e780950800e287de15752a87a3765c1cd081216 DIST uv-0.7.8-crates.tar.xz 45495772 BLAKE2B f8b9587302dfd96ba15b540f0897b9720ea06434d2d2e93e795793df874179ef79e544a07b9e158e890d119fa2d3beee9d0a884a3c78540ec6c8abe2cc902bba SHA512 78586fd9fbe4cd9e0b737609a8b8c438ac422be1dbcde7a8553234981ee4be8136efe50b2c14b6863b6256a337cab977948641bb196e5f718188a66b25f1f5f5 DIST uv-0.7.8.gh.tar.gz 3993156 BLAKE2B a11245cb77ceab214ee021d973515c164048938afb67d878bf282e26f8c1f190187ef7a52af966247298d6a758baa97e36fce0a556c9ac145b3f01c8aea18d56 SHA512 109821612a9a07bf0fdadcc942893a8e024ef828f22f25b5d3f2a10088882892cb84a8b1e37874e7346c9a0815dcd15cb736a2a768ff525c6198482fe7aba3ff DIST uv-0.7.9-crates.tar.xz 45526908 BLAKE2B 66951afc70feb4719c5af415c0503c6e8daff850227d9773406f6e4c0c9bb960a56573675327b04297437481852cc9236bdf240476cf1c151e52ff4caf170c72 SHA512 6ea0d4e02e28edc47d420c095b426136aeb1e4af2c3181e104f67405b180d6ce51f1db122cc6d49ac876a68711d43aa2fdae5fd710523c03d6d302d41da47e02 diff --git a/dev-python/uv/uv-0.7.12.ebuild b/dev-python/uv/uv-0.7.12.ebuild new file mode 100644 index 000000000000..35bf62952594 --- /dev/null +++ b/dev-python/uv/uv-0.7.12.ebuild @@ -0,0 +1,174 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" +" + +declare -A GIT_CRATES=( + [async_zip]='https://github.com/charliermarsh/rs-async-zip;c909fda63fcafe4af496a07bfda28a5aae97e58d;rs-async-zip-%commit%' + [pubgrub]='https://github.com/astral-sh/pubgrub;06ec5a5f59ffaeb6cf5079c6cb184467da06c9db;pubgrub-%commit%' + [tl]='https://github.com/astral-sh/tl;6e25b2ee2513d75385101a8ff9f591ef51f314ec;tl-%commit%' + [version-ranges]='https://github.com/astral-sh/pubgrub;06ec5a5f59ffaeb6cf5079c6cb184467da06c9db;pubgrub-%commit%/version-ranges' +) + +RUST_MIN_VER="1.85.0" + +inherit cargo check-reqs + +CRATE_PV=${PV} +DESCRIPTION="A Python package installer and resolver, written in Rust" +HOMEPAGE=" + https://github.com/astral-sh/uv/ + https://pypi.org/project/uv/ +" +# pypi sdist misses scripts/, needed for tests +SRC_URI=" + https://github.com/astral-sh/uv/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + ${CARGO_CRATE_URIS} +" +if [[ ${PKGBUMPING} != ${PVR} ]]; then + SRC_URI+=" + https://github.com/gentoo-crate-dist/uv/releases/download/${CRATE_PV}/uv-${CRATE_PV}-crates.tar.xz + " +fi + +# most of the code +LICENSE="|| ( Apache-2.0 MIT )" +# crates/pep508-rs is || ( Apache-2.0 BSD-2 ) which is covered below +# Dependent crate licenses +LICENSE+=" + 0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD Boost-1.0 + ISC MIT MPL-2.0 Unicode-3.0 Unicode-DFS-2016 ZLIB +" +# ring crate +LICENSE+=" openssl" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +IUSE="test" +RESTRICT="test" +PROPERTIES="test_network" + +DEPEND=" + app-arch/bzip2:= + app-arch/xz-utils:= + app-arch/zstd:= +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + test? ( + dev-lang/python:3.9 + dev-lang/python:3.10 + dev-lang/python:3.11 + dev-lang/python:3.12 + dev-lang/python:3.13 + !!~dev-python/uv-0.5.0 + ) +" + +QA_FLAGS_IGNORED="usr/bin/.*" + +check_space() { + local CHECKREQS_DISK_BUILD=3G + use debug && CHECKREQS_DISK_BUILD=9G + check-reqs_pkg_setup +} + +pkg_pretend() { + check_space +} + +pkg_setup() { + check_space + rust_pkg_setup +} + +src_prepare() { + default + + # force thin lto, makes build much faster and less memory hungry + # (i.e. makes it possible to actually build uv on 32-bit PPC) + sed -i -e '/lto/s:fat:thin:' Cargo.toml || die + + # enable system libraries where supported + export ZSTD_SYS_USE_PKG_CONFIG=1 + # TODO: unbundle libz-ng-sys, tikv-jemalloc-sys? + + # remove unbundled sources, just in case + find "${ECARGO_VENDOR}"/{bzip2,lzma,zstd}-sys-*/ -name '*.c' -delete || die + + # bzip2-sys requires a pkg-config file + # https://github.com/alexcrichton/bzip2-rs/issues/104 + mkdir "${T}/pkg-config" || die + export PKG_CONFIG_PATH=${T}/pkg-config${PKG_CONFIG_PATH+:${PKG_CONFIG_PATH}} + cat >> "${T}/pkg-config/bzip2.pc" <<-EOF || die + Name: bzip2 + Version: 9999 + Description: + Libs: -lbz2 + EOF +} + +src_configure() { + local myfeatures=( + git + pypi + python + ) + + cargo_src_configure --no-default-features +} + +src_compile() { + cd crates/uv || die + cargo_src_compile +} + +src_test() { + # work around https://github.com/astral-sh/uv/issues/4376 + local -x PATH=${BROOT}/usr/lib/python-exec/python3.12:${PATH} + local -x COLUMNS=100 + local -x PYTHONDONTWRITEBYTECODE= + # fix tests failing because of our config + local -x XDG_CONFIG_DIRS=${T} + + cd crates/uv || die + cargo_src_test --no-fail-fast +} + +src_install() { + cd crates/uv || die + cargo_src_install + + insinto /etc/xdg/uv + newins - uv.toml <<-EOF || die + # These defaults match Fedora, see: + # https://src.fedoraproject.org/rpms/uv/pull-request/18 + + # By default ("automatic"), uv downloads missing Python versions + # automatically and keeps them in the user's home directory. + # Disable that to make downloading opt-in, and especially + # to avoid unnecessarily fetching custom Python when the distro + # package would be preferable. Python builds can still be + # downloaded manually via "uv python install". + # + # https://docs.astral.sh/uv/reference/settings/#python-downloads + python-downloads = "manual" + + # By default ("managed"), uv always prefers self-installed + # Python versions over the system Python, independently + # of versions. Since we generally expect users to use that + # to install old Python versions not in ::gentoo anymore, + # this effectively means that uv would end up preferring very + # old Python versions over the newer ones that are provided + # by the system. Default to using the system versions to avoid + # this counter-intuitive behavior. + # + # https://docs.astral.sh/uv/reference/settings/#python-preference + python-preference = "system" + EOF +} diff --git a/dev-python/uv/uv-0.7.8.ebuild b/dev-python/uv/uv-0.7.8.ebuild index 20dc1ec8530b..4b2ec216d8bf 100644 --- a/dev-python/uv/uv-0.7.8.ebuild +++ b/dev-python/uv/uv-0.7.8.ebuild @@ -46,7 +46,7 @@ LICENSE+=" # ring crate LICENSE+=" openssl" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ppc64 ~riscv ~x86" IUSE="test" RESTRICT="test" PROPERTIES="test_network" diff --git a/dev-python/xcffib/xcffib-1.9.0.ebuild b/dev-python/xcffib/xcffib-1.9.0.ebuild index fecaa3c64bd5..ebc6daf9a1bc 100644 --- a/dev-python/xcffib/xcffib-1.9.0.ebuild +++ b/dev-python/xcffib/xcffib-1.9.0.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~ppc ppc64 ~riscv ~s390 ~sparc x86" DEPEND=" x11-libs/libxcb diff --git a/dev-python/zlib-ng/zlib-ng-0.5.1.ebuild b/dev-python/zlib-ng/zlib-ng-0.5.1.ebuild index b3e48e75fb9a..d4a089d9f075 100644 --- a/dev-python/zlib-ng/zlib-ng-0.5.1.ebuild +++ b/dev-python/zlib-ng/zlib-ng-0.5.1.ebuild @@ -26,7 +26,7 @@ S=${WORKDIR}/${MY_P} LICENSE="PSF-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~riscv ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~riscv ~s390 ~x86" DEPEND=" sys-libs/zlib-ng:= diff --git a/dev-python/zmq-anyio/zmq-anyio-0.3.9.ebuild b/dev-python/zmq-anyio/zmq-anyio-0.3.9.ebuild index 920c7fe983a1..641afb2f2cdc 100644 --- a/dev-python/zmq-anyio/zmq-anyio-0.3.9.ebuild +++ b/dev-python/zmq-anyio/zmq-anyio-0.3.9.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" IUSE="test-rust" RDEPEND=" -- cgit v1.3