From d7f7e5749b1e48edd697ff6a9303c305f346d8b2 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Sat, 9 Nov 2024 18:52:06 +0000 Subject: Adding metadata --- dev-python/a2wsgi/a2wsgi-1.10.7-r1.ebuild | 2 +- dev-python/adblock/adblock-0.6.0-r1.ebuild | 121 ++++++++ dev-python/adblock/adblock-0.6.0.ebuild | 121 -------- dev-python/anyio/anyio-4.6.2_p1.ebuild | 2 +- dev-python/aws-sam-translator/Manifest | 1 + .../aws-sam-translator-1.92.0.ebuild | 62 ++++ dev-python/bcrypt/bcrypt-4.2.0-r2.ebuild | 97 ------- dev-python/bcrypt/bcrypt-4.2.0-r3.ebuild | 97 +++++++ dev-python/blake3/blake3-0.4.1-r1.ebuild | 144 ++++++++++ dev-python/blake3/blake3-0.4.1.ebuild | 139 --------- dev-python/boto3/Manifest | 4 +- dev-python/boto3/boto3-1.35.44.ebuild | 53 ---- dev-python/boto3/boto3-1.35.49.ebuild | 2 +- dev-python/boto3/boto3-1.35.55.ebuild | 53 ---- dev-python/boto3/boto3-1.35.56.ebuild | 53 ---- dev-python/boto3/boto3-1.35.57.ebuild | 53 ++++ dev-python/botocore/Manifest | 4 +- dev-python/botocore/botocore-1.35.44.ebuild | 67 ----- dev-python/botocore/botocore-1.35.49.ebuild | 2 +- dev-python/botocore/botocore-1.35.55.ebuild | 67 ----- dev-python/botocore/botocore-1.35.56.ebuild | 67 ----- dev-python/botocore/botocore-1.35.57.ebuild | 67 +++++ dev-python/cftime/cftime-1.6.4_p1.ebuild | 2 +- dev-python/coverage/coverage-7.6.4.ebuild | 2 +- dev-python/cramjam/cramjam-2.8.3-r1.ebuild | 209 ++++++++++++++ dev-python/cramjam/cramjam-2.8.3.ebuild | 209 -------------- dev-python/cramjam/cramjam-2.8.4-r1.ebuild | 215 ++++++++++++++ dev-python/cramjam/cramjam-2.8.4.ebuild | 215 -------------- dev-python/cramjam/cramjam-2.9.0-r1.ebuild | 225 +++++++++++++++ dev-python/cramjam/cramjam-2.9.0.ebuild | 225 --------------- dev-python/croniter/Manifest | 1 - dev-python/croniter/croniter-3.0.3.ebuild | 31 -- dev-python/croniter/croniter-3.0.4.ebuild | 2 +- dev-python/diff-match-patch/Manifest | 1 - .../diff-match-patch-20230430.ebuild | 22 -- .../diff-match-patch-20241021.ebuild | 2 +- dev-python/dj-database-url/Manifest | 1 - .../dj-database-url/dj-database-url-2.2.0.ebuild | 30 -- .../dj-database-url/dj-database-url-2.3.0.ebuild | 2 +- dev-python/django/Manifest | 2 + dev-python/django/django-5.1.3.ebuild | 99 +++++++ dev-python/dulwich/dulwich-0.22.4-r1.ebuild | 116 ++++++++ dev-python/dulwich/dulwich-0.22.4.ebuild | 116 -------- dev-python/ensurepip-pip/Manifest | 1 + .../ensurepip-pip/ensurepip-pip-24.3.1.ebuild | 24 ++ dev-python/ensurepip-wheel/Manifest | 1 + .../ensurepip-wheel/ensurepip-wheel-0.45.0.ebuild | 20 ++ dev-python/et-xmlfile/Manifest | 1 - dev-python/et-xmlfile/et-xmlfile-1.1.0-r1.ebuild | 33 --- dev-python/et-xmlfile/et-xmlfile-2.0.0.ebuild | 2 +- dev-python/frozenlist/frozenlist-1.5.0.ebuild | 2 +- dev-python/fsspec/Manifest | 1 - .../fsspec/files/fsspec-2024.9.0-backports.patch | 128 --------- dev-python/fsspec/fsspec-2024.10.0.ebuild | 2 +- dev-python/fsspec/fsspec-2024.9.0.ebuild | 63 ----- .../google-api-core/google-api-core-2.22.0.ebuild | 2 +- .../grpcio-status/grpcio-status-1.67.0.ebuild | 2 +- dev-python/ipython/Manifest | 1 - dev-python/ipython/ipython-8.28.0.ebuild | 161 ----------- dev-python/ipython/ipython-8.29.0.ebuild | 2 +- dev-python/jellyfish/jellyfish-1.1.0-r1.ebuild | 84 ++++++ dev-python/jellyfish/jellyfish-1.1.0.ebuild | 79 ------ dev-python/langdetect/Manifest | 2 - .../files/langdetect-1.0.9-explicit-config.patch | 13 + dev-python/langdetect/langdetect-1.0.9.ebuild | 4 +- dev-python/langdetect/metadata.xml | 10 +- dev-python/libcst/libcst-1.5.0-r1.ebuild | 200 +++++++++++++ dev-python/libcst/libcst-1.5.0.ebuild | 195 ------------- dev-python/license-expression/Manifest | 1 - .../license-expression-30.3.1.ebuild | 34 --- .../license-expression-30.4.0.ebuild | 2 +- dev-python/mako/Manifest | 1 - dev-python/mako/mako-1.3.5.ebuild | 55 ---- dev-python/mako/mako-1.3.6.ebuild | 2 +- dev-python/mando/mando-0.8.2.ebuild | 2 +- dev-python/meson-python/meson-python-0.17.1.ebuild | 2 +- .../mitmproxy_wireguard-0.1.20-r1.ebuild | 232 +++++++++++++++ .../mitmproxy_wireguard-0.1.20.ebuild | 232 --------------- .../Manifest | 1 - ...git-revision-date-localized-plugin-1.2.9.ebuild | 64 ----- ...git-revision-date-localized-plugin-1.3.0.ebuild | 2 +- dev-python/mkdocs-material/Manifest | 1 - .../mkdocs-material/mkdocs-material-9.5.41.ebuild | 67 ----- .../mkdocs-material/mkdocs-material-9.5.42.ebuild | 2 +- dev-python/moto/moto-5.0.18.ebuild | 2 +- dev-python/mypy/mypy-1.13.0.ebuild | 2 +- dev-python/netcdf4/netcdf4-1.7.2.ebuild | 2 +- dev-python/networkx/Manifest | 1 - dev-python/networkx/networkx-3.3.ebuild | 66 ----- dev-python/networkx/networkx-3.4.2.ebuild | 2 +- dev-python/nh3/nh3-0.2.18-r1.ebuild | 113 ++++++++ dev-python/nh3/nh3-0.2.18.ebuild | 113 -------- dev-python/openstackdocstheme/Manifest | 1 - .../openstackdocstheme-3.3.0.ebuild | 29 -- .../openstackdocstheme-3.4.0.ebuild | 2 +- dev-python/orjson/orjson-3.10.10-r1.ebuild | 89 ++++++ dev-python/orjson/orjson-3.10.10.ebuild | 88 ------ dev-python/orjson/orjson-3.10.11-r1.ebuild | 89 ++++++ dev-python/orjson/orjson-3.10.11.ebuild | 88 ------ dev-python/orjson/orjson-3.10.7-r1.ebuild | 93 ++++++ dev-python/orjson/orjson-3.10.7.ebuild | 92 ------ dev-python/orjson/orjson-3.10.9-r1.ebuild | 89 ++++++ dev-python/orjson/orjson-3.10.9.ebuild | 88 ------ dev-python/pallets-sphinx-themes/Manifest | 1 - .../pallets-sphinx-themes-2.2.0.ebuild | 27 -- .../pallets-sphinx-themes-2.3.0.ebuild | 2 +- dev-python/patch-ng/Manifest | 1 - dev-python/patch-ng/patch-ng-1.18.0.ebuild | 24 -- dev-python/patch-ng/patch-ng-1.18.1.ebuild | 2 +- dev-python/pdm-backend/Manifest | 1 - dev-python/pdm-backend/pdm-backend-2.3.3.ebuild | 75 ----- dev-python/pdm-backend/pdm-backend-2.4.3.ebuild | 2 +- dev-python/pip/Manifest | 1 + dev-python/pip/files/pip-23.1-no-coverage.patch | 6 +- dev-python/pip/files/pip-24.3.1-rich-13.8.patch | 47 ++++ dev-python/pip/pip-24.2-r1.ebuild | 1 + dev-python/pip/pip-24.3.1-r1.ebuild | 173 ++++++++++++ dev-python/proto-plus/proto-plus-1.25.0.ebuild | 2 +- .../pydantic-core/pydantic-core-2.23.4-r1.ebuild | 166 +++++++++++ .../pydantic-core/pydantic-core-2.23.4.ebuild | 167 ----------- .../pydantic-core/pydantic-core-2.25.0-r1.ebuild | 166 +++++++++++ .../pydantic-core/pydantic-core-2.25.0.ebuild | 167 ----------- .../pydantic-core/pydantic-core-2.25.1-r1.ebuild | 166 +++++++++++ .../pydantic-core/pydantic-core-2.25.1.ebuild | 167 ----------- .../pydantic-core/pydantic-core-2.26.0-r1.ebuild | 175 ++++++++++++ .../pydantic-core/pydantic-core-2.26.0.ebuild | 176 ------------ dev-python/pyftpdlib/Manifest | 1 - dev-python/pyftpdlib/pyftpdlib-2.0.0.ebuild | 65 ----- dev-python/pyftpdlib/pyftpdlib-2.0.1.ebuild | 2 +- .../pyproject-fmt-rust-1.1.3-r1.ebuild | 159 +++++++++++ .../pyproject-fmt-rust-1.1.3.ebuild | 159 ----------- .../pyproject-fmt-rust-1.1.6-r1.ebuild | 159 +++++++++++ .../pyproject-fmt-rust-1.1.6.ebuild | 159 ----------- .../pyproject-fmt-rust-1.2.1-r1.ebuild | 160 +++++++++++ .../pyproject-fmt-rust-1.2.1.ebuild | 160 ----------- .../pyproject-fmt/pyproject-fmt-2.4.2-r1.ebuild | 165 +++++++++++ .../pyproject-fmt/pyproject-fmt-2.4.2.ebuild | 165 ----------- .../pyproject-fmt/pyproject-fmt-2.4.3-r1.ebuild | 165 +++++++++++ .../pyproject-fmt/pyproject-fmt-2.4.3.ebuild | 165 ----------- .../pyproject-fmt/pyproject-fmt-2.5.0-r1.ebuild | 162 +++++++++++ .../pyproject-fmt/pyproject-fmt-2.5.0.ebuild | 162 ----------- .../pyproject-metadata-0.9.0.ebuild | 2 +- dev-python/pyscard/pyscard-2.2.0.ebuild | 2 +- dev-python/pytest-shell-utilities/Manifest | 1 - .../pytest-shell-utilities-1.9.6.ebuild | 41 --- .../pytest-shell-utilities-1.9.7.ebuild | 2 +- dev-python/python-daemon/Manifest | 1 - .../python-daemon/python-daemon-2.3.2.ebuild | 35 --- .../python-daemon/python-daemon-3.1.0.ebuild | 2 +- dev-python/python-multipart/Manifest | 2 - .../files/python-multipart-0.0.12-rename.patch | 54 ---- .../python-multipart-0.0.12-r100.ebuild | 47 ---- .../python-multipart-0.0.14.ebuild | 44 --- .../python-multipart-0.0.16.ebuild | 44 --- dev-python/qiskit/qiskit-1.2.4-r1.ebuild | 312 +++++++++++++++++++++ dev-python/qiskit/qiskit-1.2.4.ebuild | 312 --------------------- dev-python/qiskit/qiskit-1.3.0_rc1-r1.ebuild | 309 ++++++++++++++++++++ dev-python/qiskit/qiskit-1.3.0_rc1.ebuild | 309 -------------------- dev-python/rapidfuzz/rapidfuzz-3.10.1.ebuild | 2 +- dev-python/redis/Manifest | 1 - dev-python/redis/redis-5.1.1.ebuild | 107 ------- dev-python/redis/redis-5.2.0.ebuild | 2 +- dev-python/regress/regress-2024.11.1-r1.ebuild | 62 ++++ dev-python/regress/regress-2024.11.1.ebuild | 62 ---- dev-python/regress/regress-2024.8.1-r1.ebuild | 62 ++++ dev-python/regress/regress-2024.8.1.ebuild | 62 ---- dev-python/rich/Manifest | 2 +- dev-python/rich/rich-13.7.1.ebuild | 74 +++++ dev-python/rich/rich-13.9.2.ebuild | 77 ----- dev-python/rich/rich-13.9.3.ebuild | 2 +- dev-python/rpds-py/rpds-py-0.19.1-r1.ebuild | 61 ++++ dev-python/rpds-py/rpds-py-0.19.1.ebuild | 63 ----- dev-python/rpds-py/rpds-py-0.20.1-r1.ebuild | 60 ++++ dev-python/rpds-py/rpds-py-0.20.1.ebuild | 62 ---- dev-python/rpds-py/rpds-py-0.21.0-r1.ebuild | 60 ++++ dev-python/rpds-py/rpds-py-0.21.0.ebuild | 62 ---- .../ruamel-yaml-clib-0.2.12.ebuild | 2 +- dev-python/rustworkx/rustworkx-0.14.2-r1.ebuild | 159 ----------- dev-python/rustworkx/rustworkx-0.14.2-r2.ebuild | 159 +++++++++++ dev-python/rustworkx/rustworkx-0.15.0-r1.ebuild | 154 ++++++++++ dev-python/rustworkx/rustworkx-0.15.0.ebuild | 154 ---------- dev-python/rustworkx/rustworkx-0.15.1-r1.ebuild | 155 ++++++++++ dev-python/rustworkx/rustworkx-0.15.1.ebuild | 155 ---------- .../scikit-build-core-0.10.7.ebuild | 2 +- .../setuptools-rust-1.10.2-r1.ebuild | 176 ++++++++++++ .../setuptools-rust/setuptools-rust-1.10.2.ebuild | 176 ------------ dev-python/sphinx-autoapi/Manifest | 1 - .../sphinx-autoapi/sphinx-autoapi-3.3.2.ebuild | 50 ---- .../sphinx-autoapi/sphinx-autoapi-3.3.3.ebuild | 2 +- dev-python/sqlglot/sqlglot-25.28.0-r1.ebuild | 133 +++++++++ dev-python/sqlglot/sqlglot-25.28.0.ebuild | 129 --------- dev-python/sqlglot/sqlglot-25.29.0-r1.ebuild | 133 +++++++++ dev-python/sqlglot/sqlglot-25.29.0.ebuild | 129 --------- dev-python/starlette/Manifest | 2 - dev-python/starlette/starlette-0.41.0-r1.ebuild | 56 ---- dev-python/starlette/starlette-0.41.0-r2.ebuild | 65 ----- dev-python/starlette/starlette-0.41.1.ebuild | 56 ---- dev-python/tinycss2/Manifest | 1 - dev-python/tinycss2/tinycss2-1.3.0.ebuild | 42 --- dev-python/tinycss2/tinycss2-1.4.0.ebuild | 2 +- dev-python/tokenize-rt/Manifest | 1 - dev-python/tokenize-rt/tokenize-rt-6.0.0.ebuild | 25 -- dev-python/tokenize-rt/tokenize-rt-6.1.0.ebuild | 2 +- dev-python/tox/Manifest | 1 - dev-python/tox/tox-4.22.0.ebuild | 98 ------- dev-python/tox/tox-4.23.2.ebuild | 2 +- dev-python/trove-classifiers/Manifest | 1 - .../trove-classifiers-2024.10.16.ebuild | 42 --- .../trove-classifiers-2024.10.21.16.ebuild | 2 +- dev-python/truststore/Manifest | 1 - dev-python/truststore/truststore-0.10.0.ebuild | 2 +- dev-python/truststore/truststore-0.9.2.ebuild | 47 ---- dev-python/types-psutil/Manifest | 2 - .../types-psutil-6.0.0.20241011.ebuild | 17 -- .../types-psutil-6.1.0.20241022.ebuild | 17 -- .../types-psutil-6.1.0.20241102.ebuild | 2 +- dev-python/uv/Manifest | 2 +- dev-python/uv/uv-0.4.30-r1.ebuild | 147 ++++++++++ dev-python/uv/uv-0.4.30.ebuild | 145 ---------- dev-python/uv/uv-0.5.0.ebuild | 166 ----------- dev-python/uv/uv-0.5.1.ebuild | 171 +++++++++++ dev-python/watchfiles/watchfiles-0.23.0-r1.ebuild | 127 +++++++++ dev-python/watchfiles/watchfiles-0.23.0.ebuild | 127 --------- dev-python/watchfiles/watchfiles-0.24.0-r1.ebuild | 134 +++++++++ dev-python/watchfiles/watchfiles-0.24.0.ebuild | 134 --------- dev-python/webob/Manifest | 1 - dev-python/webob/webob-1.8.8.ebuild | 36 --- dev-python/webob/webob-1.8.9.ebuild | 2 +- dev-python/wheel/Manifest | 1 + dev-python/wheel/wheel-0.45.0.ebuild | 51 ++++ dev-python/wtforms/Manifest | 2 - dev-python/wtforms/wtforms-3.1.2.ebuild | 36 --- dev-python/wtforms/wtforms-3.2.0.ebuild | 36 --- dev-python/wtforms/wtforms-3.2.1.ebuild | 2 +- dev-python/xarray/xarray-2024.10.0.ebuild | 2 +- dev-python/yarl/yarl-1.16.0.ebuild | 2 +- dev-python/zeroconf/zeroconf-0.136.0.ebuild | 2 +- .../zope-interface/zope-interface-7.1.1.ebuild | 2 +- 238 files changed, 6930 insertions(+), 8665 deletions(-) create mode 100644 dev-python/adblock/adblock-0.6.0-r1.ebuild delete mode 100644 dev-python/adblock/adblock-0.6.0.ebuild create mode 100644 dev-python/aws-sam-translator/aws-sam-translator-1.92.0.ebuild delete mode 100644 dev-python/bcrypt/bcrypt-4.2.0-r2.ebuild create mode 100644 dev-python/bcrypt/bcrypt-4.2.0-r3.ebuild create mode 100644 dev-python/blake3/blake3-0.4.1-r1.ebuild delete mode 100644 dev-python/blake3/blake3-0.4.1.ebuild delete mode 100644 dev-python/boto3/boto3-1.35.44.ebuild delete mode 100644 dev-python/boto3/boto3-1.35.55.ebuild delete mode 100644 dev-python/boto3/boto3-1.35.56.ebuild create mode 100644 dev-python/boto3/boto3-1.35.57.ebuild delete mode 100644 dev-python/botocore/botocore-1.35.44.ebuild delete mode 100644 dev-python/botocore/botocore-1.35.55.ebuild delete mode 100644 dev-python/botocore/botocore-1.35.56.ebuild create mode 100644 dev-python/botocore/botocore-1.35.57.ebuild create mode 100644 dev-python/cramjam/cramjam-2.8.3-r1.ebuild delete mode 100644 dev-python/cramjam/cramjam-2.8.3.ebuild create mode 100644 dev-python/cramjam/cramjam-2.8.4-r1.ebuild delete mode 100644 dev-python/cramjam/cramjam-2.8.4.ebuild create mode 100644 dev-python/cramjam/cramjam-2.9.0-r1.ebuild delete mode 100644 dev-python/cramjam/cramjam-2.9.0.ebuild delete mode 100644 dev-python/croniter/croniter-3.0.3.ebuild delete mode 100644 dev-python/diff-match-patch/diff-match-patch-20230430.ebuild delete mode 100644 dev-python/dj-database-url/dj-database-url-2.2.0.ebuild create mode 100644 dev-python/django/django-5.1.3.ebuild create mode 100644 dev-python/dulwich/dulwich-0.22.4-r1.ebuild delete mode 100644 dev-python/dulwich/dulwich-0.22.4.ebuild create mode 100644 dev-python/ensurepip-pip/ensurepip-pip-24.3.1.ebuild create mode 100644 dev-python/ensurepip-wheel/ensurepip-wheel-0.45.0.ebuild delete mode 100644 dev-python/et-xmlfile/et-xmlfile-1.1.0-r1.ebuild delete mode 100644 dev-python/fsspec/files/fsspec-2024.9.0-backports.patch delete mode 100644 dev-python/fsspec/fsspec-2024.9.0.ebuild delete mode 100644 dev-python/ipython/ipython-8.28.0.ebuild create mode 100644 dev-python/jellyfish/jellyfish-1.1.0-r1.ebuild delete mode 100644 dev-python/jellyfish/jellyfish-1.1.0.ebuild create mode 100644 dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch create mode 100644 dev-python/libcst/libcst-1.5.0-r1.ebuild delete mode 100644 dev-python/libcst/libcst-1.5.0.ebuild delete mode 100644 dev-python/license-expression/license-expression-30.3.1.ebuild delete mode 100644 dev-python/mako/mako-1.3.5.ebuild create mode 100644 dev-python/mitmproxy_wireguard/mitmproxy_wireguard-0.1.20-r1.ebuild delete mode 100644 dev-python/mitmproxy_wireguard/mitmproxy_wireguard-0.1.20.ebuild delete mode 100644 dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.2.9.ebuild delete mode 100644 dev-python/mkdocs-material/mkdocs-material-9.5.41.ebuild delete mode 100644 dev-python/networkx/networkx-3.3.ebuild create mode 100644 dev-python/nh3/nh3-0.2.18-r1.ebuild delete mode 100644 dev-python/nh3/nh3-0.2.18.ebuild delete mode 100644 dev-python/openstackdocstheme/openstackdocstheme-3.3.0.ebuild create mode 100644 dev-python/orjson/orjson-3.10.10-r1.ebuild delete mode 100644 dev-python/orjson/orjson-3.10.10.ebuild create mode 100644 dev-python/orjson/orjson-3.10.11-r1.ebuild delete mode 100644 dev-python/orjson/orjson-3.10.11.ebuild create mode 100644 dev-python/orjson/orjson-3.10.7-r1.ebuild delete mode 100644 dev-python/orjson/orjson-3.10.7.ebuild create mode 100644 dev-python/orjson/orjson-3.10.9-r1.ebuild delete mode 100644 dev-python/orjson/orjson-3.10.9.ebuild delete mode 100644 dev-python/pallets-sphinx-themes/pallets-sphinx-themes-2.2.0.ebuild delete mode 100644 dev-python/patch-ng/patch-ng-1.18.0.ebuild delete mode 100644 dev-python/pdm-backend/pdm-backend-2.3.3.ebuild create mode 100644 dev-python/pip/files/pip-24.3.1-rich-13.8.patch create mode 100644 dev-python/pip/pip-24.3.1-r1.ebuild create mode 100644 dev-python/pydantic-core/pydantic-core-2.23.4-r1.ebuild delete mode 100644 dev-python/pydantic-core/pydantic-core-2.23.4.ebuild create mode 100644 dev-python/pydantic-core/pydantic-core-2.25.0-r1.ebuild delete mode 100644 dev-python/pydantic-core/pydantic-core-2.25.0.ebuild create mode 100644 dev-python/pydantic-core/pydantic-core-2.25.1-r1.ebuild delete mode 100644 dev-python/pydantic-core/pydantic-core-2.25.1.ebuild create mode 100644 dev-python/pydantic-core/pydantic-core-2.26.0-r1.ebuild delete mode 100644 dev-python/pydantic-core/pydantic-core-2.26.0.ebuild delete mode 100644 dev-python/pyftpdlib/pyftpdlib-2.0.0.ebuild create mode 100644 dev-python/pyproject-fmt-rust/pyproject-fmt-rust-1.1.3-r1.ebuild delete mode 100644 dev-python/pyproject-fmt-rust/pyproject-fmt-rust-1.1.3.ebuild create mode 100644 dev-python/pyproject-fmt-rust/pyproject-fmt-rust-1.1.6-r1.ebuild delete mode 100644 dev-python/pyproject-fmt-rust/pyproject-fmt-rust-1.1.6.ebuild create mode 100644 dev-python/pyproject-fmt-rust/pyproject-fmt-rust-1.2.1-r1.ebuild delete mode 100644 dev-python/pyproject-fmt-rust/pyproject-fmt-rust-1.2.1.ebuild create mode 100644 dev-python/pyproject-fmt/pyproject-fmt-2.4.2-r1.ebuild delete mode 100644 dev-python/pyproject-fmt/pyproject-fmt-2.4.2.ebuild create mode 100644 dev-python/pyproject-fmt/pyproject-fmt-2.4.3-r1.ebuild delete mode 100644 dev-python/pyproject-fmt/pyproject-fmt-2.4.3.ebuild create mode 100644 dev-python/pyproject-fmt/pyproject-fmt-2.5.0-r1.ebuild delete mode 100644 dev-python/pyproject-fmt/pyproject-fmt-2.5.0.ebuild delete mode 100644 dev-python/pytest-shell-utilities/pytest-shell-utilities-1.9.6.ebuild delete mode 100644 dev-python/python-daemon/python-daemon-2.3.2.ebuild delete mode 100644 dev-python/python-multipart/files/python-multipart-0.0.12-rename.patch delete mode 100644 dev-python/python-multipart/python-multipart-0.0.12-r100.ebuild delete mode 100644 dev-python/python-multipart/python-multipart-0.0.14.ebuild delete mode 100644 dev-python/python-multipart/python-multipart-0.0.16.ebuild create mode 100644 dev-python/qiskit/qiskit-1.2.4-r1.ebuild delete mode 100644 dev-python/qiskit/qiskit-1.2.4.ebuild create mode 100644 dev-python/qiskit/qiskit-1.3.0_rc1-r1.ebuild delete mode 100644 dev-python/qiskit/qiskit-1.3.0_rc1.ebuild delete mode 100644 dev-python/redis/redis-5.1.1.ebuild create mode 100644 dev-python/regress/regress-2024.11.1-r1.ebuild delete mode 100644 dev-python/regress/regress-2024.11.1.ebuild create mode 100644 dev-python/regress/regress-2024.8.1-r1.ebuild delete mode 100644 dev-python/regress/regress-2024.8.1.ebuild create mode 100644 dev-python/rich/rich-13.7.1.ebuild delete mode 100644 dev-python/rich/rich-13.9.2.ebuild create mode 100644 dev-python/rpds-py/rpds-py-0.19.1-r1.ebuild delete mode 100644 dev-python/rpds-py/rpds-py-0.19.1.ebuild create mode 100644 dev-python/rpds-py/rpds-py-0.20.1-r1.ebuild delete mode 100644 dev-python/rpds-py/rpds-py-0.20.1.ebuild create mode 100644 dev-python/rpds-py/rpds-py-0.21.0-r1.ebuild delete mode 100644 dev-python/rpds-py/rpds-py-0.21.0.ebuild delete mode 100644 dev-python/rustworkx/rustworkx-0.14.2-r1.ebuild create mode 100644 dev-python/rustworkx/rustworkx-0.14.2-r2.ebuild create mode 100644 dev-python/rustworkx/rustworkx-0.15.0-r1.ebuild delete mode 100644 dev-python/rustworkx/rustworkx-0.15.0.ebuild create mode 100644 dev-python/rustworkx/rustworkx-0.15.1-r1.ebuild delete mode 100644 dev-python/rustworkx/rustworkx-0.15.1.ebuild create mode 100644 dev-python/setuptools-rust/setuptools-rust-1.10.2-r1.ebuild delete mode 100644 dev-python/setuptools-rust/setuptools-rust-1.10.2.ebuild delete mode 100644 dev-python/sphinx-autoapi/sphinx-autoapi-3.3.2.ebuild create mode 100644 dev-python/sqlglot/sqlglot-25.28.0-r1.ebuild delete mode 100644 dev-python/sqlglot/sqlglot-25.28.0.ebuild create mode 100644 dev-python/sqlglot/sqlglot-25.29.0-r1.ebuild delete mode 100644 dev-python/sqlglot/sqlglot-25.29.0.ebuild delete mode 100644 dev-python/starlette/starlette-0.41.0-r1.ebuild delete mode 100644 dev-python/starlette/starlette-0.41.0-r2.ebuild delete mode 100644 dev-python/starlette/starlette-0.41.1.ebuild delete mode 100644 dev-python/tinycss2/tinycss2-1.3.0.ebuild delete mode 100644 dev-python/tokenize-rt/tokenize-rt-6.0.0.ebuild delete mode 100644 dev-python/tox/tox-4.22.0.ebuild delete mode 100644 dev-python/trove-classifiers/trove-classifiers-2024.10.16.ebuild delete mode 100644 dev-python/truststore/truststore-0.9.2.ebuild delete mode 100644 dev-python/types-psutil/types-psutil-6.0.0.20241011.ebuild delete mode 100644 dev-python/types-psutil/types-psutil-6.1.0.20241022.ebuild create mode 100644 dev-python/uv/uv-0.4.30-r1.ebuild delete mode 100644 dev-python/uv/uv-0.4.30.ebuild delete mode 100644 dev-python/uv/uv-0.5.0.ebuild create mode 100644 dev-python/uv/uv-0.5.1.ebuild create mode 100644 dev-python/watchfiles/watchfiles-0.23.0-r1.ebuild delete mode 100644 dev-python/watchfiles/watchfiles-0.23.0.ebuild create mode 100644 dev-python/watchfiles/watchfiles-0.24.0-r1.ebuild delete mode 100644 dev-python/watchfiles/watchfiles-0.24.0.ebuild delete mode 100644 dev-python/webob/webob-1.8.8.ebuild create mode 100644 dev-python/wheel/wheel-0.45.0.ebuild delete mode 100644 dev-python/wtforms/wtforms-3.1.2.ebuild delete mode 100644 dev-python/wtforms/wtforms-3.2.0.ebuild (limited to 'dev-python') diff --git a/dev-python/a2wsgi/a2wsgi-1.10.7-r1.ebuild b/dev-python/a2wsgi/a2wsgi-1.10.7-r1.ebuild index 876b70365a8b..71d93799ad21 100644 --- a/dev-python/a2wsgi/a2wsgi-1.10.7-r1.ebuild +++ b/dev-python/a2wsgi/a2wsgi-1.10.7-r1.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 arm arm64 hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" $(python_gen_cond_dep ' diff --git a/dev-python/adblock/adblock-0.6.0-r1.ebuild b/dev-python/adblock/adblock-0.6.0-r1.ebuild new file mode 100644 index 000000000000..e14bf9f83ead --- /dev/null +++ b/dev-python/adblock/adblock-0.6.0-r1.ebuild @@ -0,0 +1,121 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" + adblock@0.5.6 + addr@0.14.0 + adler@1.0.2 + aho-corasick@0.7.18 + autocfg@1.1.0 + base64@0.13.0 + bitflags@1.3.2 + byteorder@1.4.3 + cfg-if@1.0.0 + crc32fast@1.3.2 + either@1.7.0 + flate2@1.0.24 + form_urlencoded@1.0.1 + idna@0.2.3 + indoc@1.0.6 + itertools@0.10.3 + libc@0.2.126 + lock_api@0.4.7 + matches@0.1.9 + memchr@2.5.0 + miniz_oxide@0.5.3 + num-traits@0.2.15 + once_cell@1.13.0 + parking_lot@0.12.1 + parking_lot_core@0.9.3 + paste@1.0.7 + percent-encoding@2.1.0 + proc-macro2@1.0.40 + psl-types@2.0.10 + psl@2.0.90 + pyo3-build-config@0.16.5 + pyo3-ffi@0.16.5 + pyo3-macros-backend@0.16.5 + pyo3-macros@0.16.5 + pyo3@0.16.5 + quote@1.0.20 + redox_syscall@0.2.13 + regex-syntax@0.6.27 + regex@1.6.0 + rmp-serde@0.13.7 + rmp-serde@0.15.5 + rmp@0.8.11 + scopeguard@1.1.0 + seahash@3.0.7 + serde@1.0.139 + serde_derive@1.0.139 + smallvec@1.9.0 + syn@1.0.98 + target-lexicon@0.12.4 + tinyvec@1.6.0 + tinyvec_macros@0.1.0 + twoway@0.2.2 + unchecked-index@0.2.2 + unicode-bidi@0.3.8 + unicode-ident@1.0.2 + unicode-normalization@0.1.21 + unindent@0.1.9 + url@2.2.2 + windows-sys@0.36.1 + windows_aarch64_msvc@0.36.1 + windows_i686_gnu@0.36.1 + windows_i686_msvc@0.36.1 + windows_x86_64_gnu@0.36.1 + windows_x86_64_msvc@0.36.1 +" +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=maturin +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) +inherit cargo distutils-r1 + +DESCRIPTION="Python wrapper for Brave's adblocking library, which is written in Rust" +HOMEPAGE="https://github.com/ArniDagur/python-adblock" +SRC_URI=" + https://github.com/ArniDagur/python-adblock/archive/refs/tags/${PV}.tar.gz + -> ${P}.gh.tar.gz + ${CARGO_CRATE_URIS} +" +S="${WORKDIR}/python-${P}" + +LICENSE="|| ( MIT Apache-2.0 )" +LICENSE+=" + Apache-2.0 Apache-2.0-with-LLVM-exceptions MIT MPL-2.0 + Unicode-DFS-2016 +" # crates +SLOT="0" +KEYWORDS="amd64 ~arm64 ~x86" + +distutils_enable_tests pytest + +QA_FLAGS_IGNORED=".*/adblock.*.so" + +DOCS=( CHANGELOG.md README.md ) + +PATCHES=( + "${FILESDIR}"/${P}-maturin-0.14.13.patch +) + +python_test() { + local EPYTEST_DESELECT=( + # unimportant (for us) test that uses the dir that we delete below + # so pytest does not try to load it while lacking extensions + tests/test_typestubs.py::test_functions_and_methods_exist_in_rust + # FileNotFound exception test that triggers a new assertion in + # python:3.13[debug], not an issue for normal usage (bug #931898) + tests/test_engine.py::test_serde_file + ) + local EPYTEST_IGNORE=( + # not very meaningful here (e.g. validates changelog), + # and needs the deprecated dev-python/toml + tests/test_metadata.py + ) + + rm -rf adblock || die + epytest +} diff --git a/dev-python/adblock/adblock-0.6.0.ebuild b/dev-python/adblock/adblock-0.6.0.ebuild deleted file mode 100644 index e14bf9f83ead..000000000000 --- a/dev-python/adblock/adblock-0.6.0.ebuild +++ /dev/null @@ -1,121 +0,0 @@ -# Copyright 2021-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CRATES=" - adblock@0.5.6 - addr@0.14.0 - adler@1.0.2 - aho-corasick@0.7.18 - autocfg@1.1.0 - base64@0.13.0 - bitflags@1.3.2 - byteorder@1.4.3 - cfg-if@1.0.0 - crc32fast@1.3.2 - either@1.7.0 - flate2@1.0.24 - form_urlencoded@1.0.1 - idna@0.2.3 - indoc@1.0.6 - itertools@0.10.3 - libc@0.2.126 - lock_api@0.4.7 - matches@0.1.9 - memchr@2.5.0 - miniz_oxide@0.5.3 - num-traits@0.2.15 - once_cell@1.13.0 - parking_lot@0.12.1 - parking_lot_core@0.9.3 - paste@1.0.7 - percent-encoding@2.1.0 - proc-macro2@1.0.40 - psl-types@2.0.10 - psl@2.0.90 - pyo3-build-config@0.16.5 - pyo3-ffi@0.16.5 - pyo3-macros-backend@0.16.5 - pyo3-macros@0.16.5 - pyo3@0.16.5 - quote@1.0.20 - redox_syscall@0.2.13 - regex-syntax@0.6.27 - regex@1.6.0 - rmp-serde@0.13.7 - rmp-serde@0.15.5 - rmp@0.8.11 - scopeguard@1.1.0 - seahash@3.0.7 - serde@1.0.139 - serde_derive@1.0.139 - smallvec@1.9.0 - syn@1.0.98 - target-lexicon@0.12.4 - tinyvec@1.6.0 - tinyvec_macros@0.1.0 - twoway@0.2.2 - unchecked-index@0.2.2 - unicode-bidi@0.3.8 - unicode-ident@1.0.2 - unicode-normalization@0.1.21 - unindent@0.1.9 - url@2.2.2 - windows-sys@0.36.1 - windows_aarch64_msvc@0.36.1 - windows_i686_gnu@0.36.1 - windows_i686_msvc@0.36.1 - windows_x86_64_gnu@0.36.1 - windows_x86_64_msvc@0.36.1 -" -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=maturin -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) -inherit cargo distutils-r1 - -DESCRIPTION="Python wrapper for Brave's adblocking library, which is written in Rust" -HOMEPAGE="https://github.com/ArniDagur/python-adblock" -SRC_URI=" - https://github.com/ArniDagur/python-adblock/archive/refs/tags/${PV}.tar.gz - -> ${P}.gh.tar.gz - ${CARGO_CRATE_URIS} -" -S="${WORKDIR}/python-${P}" - -LICENSE="|| ( MIT Apache-2.0 )" -LICENSE+=" - Apache-2.0 Apache-2.0-with-LLVM-exceptions MIT MPL-2.0 - Unicode-DFS-2016 -" # crates -SLOT="0" -KEYWORDS="amd64 ~arm64 ~x86" - -distutils_enable_tests pytest - -QA_FLAGS_IGNORED=".*/adblock.*.so" - -DOCS=( CHANGELOG.md README.md ) - -PATCHES=( - "${FILESDIR}"/${P}-maturin-0.14.13.patch -) - -python_test() { - local EPYTEST_DESELECT=( - # unimportant (for us) test that uses the dir that we delete below - # so pytest does not try to load it while lacking extensions - tests/test_typestubs.py::test_functions_and_methods_exist_in_rust - # FileNotFound exception test that triggers a new assertion in - # python:3.13[debug], not an issue for normal usage (bug #931898) - tests/test_engine.py::test_serde_file - ) - local EPYTEST_IGNORE=( - # not very meaningful here (e.g. validates changelog), - # and needs the deprecated dev-python/toml - tests/test_metadata.py - ) - - rm -rf adblock || die - epytest -} diff --git a/dev-python/anyio/anyio-4.6.2_p1.ebuild b/dev-python/anyio/anyio-4.6.2_p1.ebuild index 03237917ba8b..4bd00ffd2975 100644 --- a/dev-python/anyio/anyio-4.6.2_p1.ebuild +++ b/dev-python/anyio/anyio-4.6.2_p1.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~s390 ~sparc ~x86" RDEPEND=" >=dev-python/idna-2.8[${PYTHON_USEDEP}] diff --git a/dev-python/aws-sam-translator/Manifest b/dev-python/aws-sam-translator/Manifest index f9877e17e0bd..f52d10ce2f1b 100644 --- a/dev-python/aws-sam-translator/Manifest +++ b/dev-python/aws-sam-translator/Manifest @@ -1 +1,2 @@ DIST serverless-application-model-1.91.0.gh.tar.gz 5710886 BLAKE2B 29d5825610e8e3253cd9d5659a65659f39c3a423061eb0e6ac754fcf3a943aa87799653e26dd901ae94b71c7290f791f6a8b16d089fa43c9f0cd3f3bbf973a34 SHA512 04cb4f61673005928b2361a8c9d304c5d29719a32dd962da0c34d3685d8bc4c8282d7fb61f6d228e3de6a5a037405a8ecacdc020bc9ace229fcbdb22ad99902e +DIST serverless-application-model-1.92.0.gh.tar.gz 5761362 BLAKE2B 57546b2996795a8a53ef678b790bdd7fe313c5d012ba40be22529e133d15687b095d95ad905db66ca663d885a0d28b9be4d660f6227fc2fede13baf3a5951035 SHA512 a5ac0e4489f75ca0554d9a0d0a7a4f2439fd14224a2bcd1bb6e21717684a4c5e5e204c7b3eb67f9264aceaa30d47474affba7357e4006a2250a870392e67411c diff --git a/dev-python/aws-sam-translator/aws-sam-translator-1.92.0.ebuild b/dev-python/aws-sam-translator/aws-sam-translator-1.92.0.ebuild new file mode 100644 index 000000000000..4419fad76380 --- /dev/null +++ b/dev-python/aws-sam-translator/aws-sam-translator-1.92.0.ebuild @@ -0,0 +1,62 @@ +# 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 multiprocessing + +MY_P=serverless-application-model-${PV} +DESCRIPTION="A library that transform SAM templates into AWS CloudFormation templates" +HOMEPAGE=" + https://github.com/aws/serverless-application-model/ + https://pypi.org/project/aws-sam-translator/ +" +SRC_URI=" + https://github.com/aws/serverless-application-model/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + =dev-python/boto3-1.19.5[${PYTHON_USEDEP}] + >=dev-python/jsonschema-3.2[${PYTHON_USEDEP}] + =dev-python/pydantic-1.8[${PYTHON_USEDEP}] + =dev-python/typing-extensions-4.4[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/parameterized[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + # so much noise... + sed -i -e '/log_cli/d' pytest.ini || die + + # deps are installed by ebuild, don't try to reinstall them via pip + truncate --size=0 requirements/*.txt || die + + distutils-r1_python_prepare_all +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x AWS_DEFAULT_REGION=us-east-1 + epytest -o addopts= -o filterwarnings= \ + -p xdist -n "$(makeopts_jobs)" --dist=worksteal +} diff --git a/dev-python/bcrypt/bcrypt-4.2.0-r2.ebuild b/dev-python/bcrypt/bcrypt-4.2.0-r2.ebuild deleted file mode 100644 index a34864692558..000000000000 --- a/dev-python/bcrypt/bcrypt-4.2.0-r2.ebuild +++ /dev/null @@ -1,97 +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 ) - -CRATES=" - autocfg@1.3.0 - base64@0.22.1 - bcrypt-pbkdf@0.10.0 - bcrypt@0.15.1 - block-buffer@0.10.4 - blowfish@0.9.1 - byteorder@1.5.0 - cfg-if@1.0.0 - cipher@0.4.4 - cpufeatures@0.2.12 - crypto-common@0.1.6 - digest@0.10.7 - generic-array@0.14.7 - getrandom@0.2.15 - heck@0.5.0 - indoc@2.0.5 - inout@0.1.3 - libc@0.2.155 - memoffset@0.9.1 - once_cell@1.19.0 - pbkdf2@0.12.2 - portable-atomic@1.7.0 - proc-macro2@1.0.86 - pyo3-build-config@0.22.2 - pyo3-ffi@0.22.2 - pyo3-macros-backend@0.22.2 - pyo3-macros@0.22.2 - pyo3@0.22.2 - quote@1.0.36 - sha2@0.10.8 - subtle@2.6.1 - syn@2.0.72 - target-lexicon@0.12.15 - typenum@1.17.0 - unicode-ident@1.0.12 - unindent@0.2.3 - version_check@0.9.4 - wasi@0.11.0+wasi-snapshot-preview1 - zeroize@1.8.1 -" - -inherit cargo distutils-r1 pypi - -DESCRIPTION="Modern password hashing for software and servers" -HOMEPAGE=" - https://github.com/pyca/bcrypt/ - https://pypi.org/project/bcrypt/ -" -SRC_URI+=" - ${CARGO_CRATE_URIS} -" - -LICENSE="Apache-2.0" -# Dependent crate licenses -LICENSE+=" Apache-2.0-with-LLVM-exceptions BSD MIT Unicode-DFS-2016" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -BDEPEND=" - >=dev-python/setuptools-rust-1.7.0[${PYTHON_USEDEP}] -" - -# Rust -QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/bcrypt/_bcrypt.*.so" - -distutils_enable_tests pytest - -export UNSAFE_PYO3_SKIP_VERSION_CHECK=1 - -src_prepare() { - distutils-r1_src_prepare - - cd "${ECARGO_VENDOR}"/pyo3-0*/ || die - eapply "${FILESDIR}/bcrypt-4.2.0-patch-pyo3-subinterp.patch" -} - -python_configure_all() { - # Workaround for sys-cluster/ceph (bug #920906) - # https://github.com/pyca/bcrypt/issues/694 - # https://github.com/PyO3/pyo3/issues/3451 - export RUSTFLAGS="${RUSTFLAGS} --cfg pyo3_unsafe_allow_subinterpreters" -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest tests -} diff --git a/dev-python/bcrypt/bcrypt-4.2.0-r3.ebuild b/dev-python/bcrypt/bcrypt-4.2.0-r3.ebuild new file mode 100644 index 000000000000..a34864692558 --- /dev/null +++ b/dev-python/bcrypt/bcrypt-4.2.0-r3.ebuild @@ -0,0 +1,97 @@ +# 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 ) + +CRATES=" + autocfg@1.3.0 + base64@0.22.1 + bcrypt-pbkdf@0.10.0 + bcrypt@0.15.1 + block-buffer@0.10.4 + blowfish@0.9.1 + byteorder@1.5.0 + cfg-if@1.0.0 + cipher@0.4.4 + cpufeatures@0.2.12 + crypto-common@0.1.6 + digest@0.10.7 + generic-array@0.14.7 + getrandom@0.2.15 + heck@0.5.0 + indoc@2.0.5 + inout@0.1.3 + libc@0.2.155 + memoffset@0.9.1 + once_cell@1.19.0 + pbkdf2@0.12.2 + portable-atomic@1.7.0 + proc-macro2@1.0.86 + pyo3-build-config@0.22.2 + pyo3-ffi@0.22.2 + pyo3-macros-backend@0.22.2 + pyo3-macros@0.22.2 + pyo3@0.22.2 + quote@1.0.36 + sha2@0.10.8 + subtle@2.6.1 + syn@2.0.72 + target-lexicon@0.12.15 + typenum@1.17.0 + unicode-ident@1.0.12 + unindent@0.2.3 + version_check@0.9.4 + wasi@0.11.0+wasi-snapshot-preview1 + zeroize@1.8.1 +" + +inherit cargo distutils-r1 pypi + +DESCRIPTION="Modern password hashing for software and servers" +HOMEPAGE=" + https://github.com/pyca/bcrypt/ + https://pypi.org/project/bcrypt/ +" +SRC_URI+=" + ${CARGO_CRATE_URIS} +" + +LICENSE="Apache-2.0" +# Dependent crate licenses +LICENSE+=" Apache-2.0-with-LLVM-exceptions BSD MIT Unicode-DFS-2016" +SLOT="0" +KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" + +BDEPEND=" + >=dev-python/setuptools-rust-1.7.0[${PYTHON_USEDEP}] +" + +# Rust +QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/bcrypt/_bcrypt.*.so" + +distutils_enable_tests pytest + +export UNSAFE_PYO3_SKIP_VERSION_CHECK=1 + +src_prepare() { + distutils-r1_src_prepare + + cd "${ECARGO_VENDOR}"/pyo3-0*/ || die + eapply "${FILESDIR}/bcrypt-4.2.0-patch-pyo3-subinterp.patch" +} + +python_configure_all() { + # Workaround for sys-cluster/ceph (bug #920906) + # https://github.com/pyca/bcrypt/issues/694 + # https://github.com/PyO3/pyo3/issues/3451 + export RUSTFLAGS="${RUSTFLAGS} --cfg pyo3_unsafe_allow_subinterpreters" +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests +} diff --git a/dev-python/blake3/blake3-0.4.1-r1.ebuild b/dev-python/blake3/blake3-0.4.1-r1.ebuild new file mode 100644 index 000000000000..71c77e0b4d8a --- /dev/null +++ b/dev-python/blake3/blake3-0.4.1-r1.ebuild @@ -0,0 +1,144 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CARGO_OPTIONAL=1 +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +CRATES=" + arrayref@0.3.7 + arrayvec@0.7.4 + autocfg@1.1.0 + bitflags@1.3.2 + blake3@1.5.0 + cc@1.0.83 + cfg-if@1.0.0 + constant_time_eq@0.3.0 + crossbeam-deque@0.8.5 + crossbeam-epoch@0.9.18 + crossbeam-utils@0.8.19 + either@1.9.0 + heck@0.4.1 + hex@0.4.3 + indoc@2.0.4 + libc@0.2.153 + lock_api@0.4.11 + memmap2@0.7.1 + memoffset@0.9.0 + once_cell@1.19.0 + parking_lot@0.12.1 + parking_lot_core@0.9.9 + proc-macro2@1.0.78 + pyo3-build-config@0.20.2 + pyo3-ffi@0.20.2 + pyo3-macros-backend@0.20.2 + pyo3-macros@0.20.2 + pyo3@0.20.2 + quote@1.0.35 + rayon-core@1.12.1 + rayon@1.8.1 + redox_syscall@0.4.1 + scopeguard@1.2.0 + smallvec@1.13.1 + syn@2.0.48 + target-lexicon@0.12.13 + unicode-ident@1.0.12 + unindent@0.2.3 + windows-targets@0.48.5 + windows_aarch64_gnullvm@0.48.5 + windows_aarch64_msvc@0.48.5 + windows_i686_gnu@0.48.5 + windows_i686_msvc@0.48.5 + windows_x86_64_gnu@0.48.5 + windows_x86_64_gnullvm@0.48.5 + windows_x86_64_msvc@0.48.5 +" + +inherit cargo distutils-r1 + +MY_P=blake3-py-${PV} +DESCRIPTION="Python bindings for the BLAKE3 cryptographic hash function" +HOMEPAGE=" + https://github.com/oconnor663/blake3-py/ + https://pypi.org/project/blake3/ +" +SRC_URI=" + https://github.com/oconnor663/blake3-py/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz + rust? ( + ${CARGO_CRATE_URIS} + ) +" +S=${WORKDIR}/${MY_P} + +LICENSE=" + || ( CC0-1.0 Apache-2.0 ) + rust? ( +" +# Dependent crate licenses +LICENSE+=" + Apache-2.0-with-LLVM-exceptions BSD-2 MIT Unicode-DFS-2016 + || ( Apache-2.0 CC0-1.0 ) +" +LICENSE+=" + ) +" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+rust" + +BDEPEND=" + rust? ( + ${RUST_DEPEND} + dev-util/maturin[${PYTHON_USEDEP}] + ) + !rust? ( + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] + ) + test? ( + dev-python/numpy[${PYTHON_USEDEP}] + ) +" + +QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/blake3/blake3.*.so" + +distutils_enable_tests pytest + +pkg_setup() { + distutils-r1_pkg_setup + use rust && cargo_pkg_setup +} + +src_unpack() { + use rust && cargo_src_unpack +} + +src_prepare() { + local PATCHES=( + # https://github.com/oconnor663/blake3-py/pull/44 + "${FILESDIR}/${P}-gcc14.patch" + ) + + # sed the package name and version to improve compatibility + sed -e 's:blake3_experimental_c:blake3:' \ + -e "s:0[.]0[.]1:${PV}:" \ + -i c_impl/setup.py || die + + distutils-r1_src_prepare +} + +python_compile() { + local DISTUTILS_USE_PEP517=$(usex rust maturin setuptools) + + if ! use rust; then + cd c_impl || die + fi + distutils-r1_python_compile + if ! use rust; then + cd - >/dev/null || die + fi +} diff --git a/dev-python/blake3/blake3-0.4.1.ebuild b/dev-python/blake3/blake3-0.4.1.ebuild deleted file mode 100644 index 9d6b34fcd0c6..000000000000 --- a/dev-python/blake3/blake3-0.4.1.ebuild +++ /dev/null @@ -1,139 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CARGO_OPTIONAL=1 -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -CRATES=" - arrayref@0.3.7 - arrayvec@0.7.4 - autocfg@1.1.0 - bitflags@1.3.2 - blake3@1.5.0 - cc@1.0.83 - cfg-if@1.0.0 - constant_time_eq@0.3.0 - crossbeam-deque@0.8.5 - crossbeam-epoch@0.9.18 - crossbeam-utils@0.8.19 - either@1.9.0 - heck@0.4.1 - hex@0.4.3 - indoc@2.0.4 - libc@0.2.153 - lock_api@0.4.11 - memmap2@0.7.1 - memoffset@0.9.0 - once_cell@1.19.0 - parking_lot@0.12.1 - parking_lot_core@0.9.9 - proc-macro2@1.0.78 - pyo3-build-config@0.20.2 - pyo3-ffi@0.20.2 - pyo3-macros-backend@0.20.2 - pyo3-macros@0.20.2 - pyo3@0.20.2 - quote@1.0.35 - rayon-core@1.12.1 - rayon@1.8.1 - redox_syscall@0.4.1 - scopeguard@1.2.0 - smallvec@1.13.1 - syn@2.0.48 - target-lexicon@0.12.13 - unicode-ident@1.0.12 - unindent@0.2.3 - windows-targets@0.48.5 - windows_aarch64_gnullvm@0.48.5 - windows_aarch64_msvc@0.48.5 - windows_i686_gnu@0.48.5 - windows_i686_msvc@0.48.5 - windows_x86_64_gnu@0.48.5 - windows_x86_64_gnullvm@0.48.5 - windows_x86_64_msvc@0.48.5 -" - -inherit cargo distutils-r1 - -MY_P=blake3-py-${PV} -DESCRIPTION="Python bindings for the BLAKE3 cryptographic hash function" -HOMEPAGE=" - https://github.com/oconnor663/blake3-py/ - https://pypi.org/project/blake3/ -" -SRC_URI=" - https://github.com/oconnor663/blake3-py/archive/${PV}.tar.gz - -> ${MY_P}.gh.tar.gz - rust? ( - ${CARGO_CRATE_URIS} - ) -" -S=${WORKDIR}/${MY_P} - -LICENSE=" - || ( CC0-1.0 Apache-2.0 ) - rust? ( -" -# Dependent crate licenses -LICENSE+=" - Apache-2.0-with-LLVM-exceptions BSD-2 MIT Unicode-DFS-2016 - || ( Apache-2.0 CC0-1.0 ) -" -LICENSE+=" - ) -" -SLOT="0" -KEYWORDS="~amd64" -IUSE="+rust" - -BDEPEND=" - rust? ( - ${RUST_DEPEND} - dev-util/maturin[${PYTHON_USEDEP}] - ) - !rust? ( - dev-python/setuptools[${PYTHON_USEDEP}] - dev-python/wheel[${PYTHON_USEDEP}] - ) - test? ( - dev-python/numpy[${PYTHON_USEDEP}] - ) -" - -QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/blake3/blake3.*.so" - -distutils_enable_tests pytest - -src_unpack() { - cargo_src_unpack -} - -src_prepare() { - local PATCHES=( - # https://github.com/oconnor663/blake3-py/pull/44 - "${FILESDIR}/${P}-gcc14.patch" - ) - - # sed the package name and version to improve compatibility - sed -e 's:blake3_experimental_c:blake3:' \ - -e "s:0[.]0[.]1:${PV}:" \ - -i c_impl/setup.py || die - - distutils-r1_src_prepare -} - -python_compile() { - local DISTUTILS_USE_PEP517=$(usex rust maturin setuptools) - - if ! use rust; then - cd c_impl || die - fi - distutils-r1_python_compile - if ! use rust; then - cd - >/dev/null || die - fi -} diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 9fbe0b27f9db..80d51826f084 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -1,5 +1,3 @@ -DIST boto3-1.35.44.gh.tar.gz 875230 BLAKE2B 68c4fa6739a5d9cb720670a1bc14079ffac4b23101bd27367ec81675a34d717341c87257864a658c60d8a0c5fdea298f73db979b6aa64f65e9ea54479005d33b SHA512 6ff24f42088ae9f77b5e1ff033fab34c6a0c0f7fc46cf9cbe172b3151cf259e48c3804981afbc8de893dc2541105a04bc00d6becd3220c18243bda7ed206740b DIST boto3-1.35.49.gh.tar.gz 878577 BLAKE2B 8f9ddf29eaad2f91a9ba670b268ac987f7f813dea52427a559b245111042f84b8593158bf1f3dbec353b9fb92116be39e739326dbdd70366589ee507a994da4d SHA512 3a1aa9bb8c8aa384abdc2a139273364c49f608921ff9c4ce9e96b4b93d11bb145a45ac65df6245912ba3be6d4e8f0df86e407d74610837b149f81712529b3152 DIST boto3-1.35.54.gh.tar.gz 882727 BLAKE2B 398e7743d30700856b15440c217d40e88aec4e58669009f68392e108373f2e57ff3c384be9bdc3873b102686df7f0e05f53d4518b149e982e0893473919db3cb SHA512 bfddb7c4b3816edc2b572bd6f412c0d085296df17b552930dfc9bb108c7100190da1f58f5f701d3ec3c36e6deb88c93e5af5bfc68963b76fc7c950d456815ec5 -DIST boto3-1.35.55.gh.tar.gz 883345 BLAKE2B 149ad97b6ac52dcc291aeb3300152c247bbbcaa2abb7f73819b11e93f8f55c6866bbd1212fdfd636e862ec48efc27a38787d705820e2dede70ed46568b73fe99 SHA512 3eaff2982947f5b946faf2dfd1d02eba66cf1e93b447baf0d82d72159578efa4c141a841c2eff33cfb6766917cac2c399ba9485c7988f108ab93087459764492 -DIST boto3-1.35.56.gh.tar.gz 884221 BLAKE2B 14b6cd1c01cf8ff87691668e7af2d49a7e956c980dd34212a0ba46daf564aae1497f99483da5dcd4d634e0da51d16f0c9f9491b8259ce6720051d2a3d8033e5c SHA512 852722ab8370e8a750fe43c3161b39ebbf399dcaad5967d8bd74f3d452f2be29808d79ef273332bc7288cb647c5559b3bc317e8ff78a2826496c704cdf52012d +DIST boto3-1.35.57.gh.tar.gz 885077 BLAKE2B 4f3a29db5e76c706fbfd0afb3ec05d5518e69f3fd26d15e79024fb898d874818fa21031187d66078a4ebd107cce9461000e37506886f337049bd821e20933563 SHA512 19f951c04452203c070243bd8c944183221b51d9853efc19d33002af57c7d59c1967e8a7b606e56f772f35576ec6e1b52e2037138ba01a28f13685a49458c7d4 diff --git a/dev-python/boto3/boto3-1.35.44.ebuild b/dev-python/boto3/boto3-1.35.44.ebuild deleted file mode 100644 index 3a10a36056b1..000000000000 --- a/dev-python/boto3/boto3-1.35.44.ebuild +++ /dev/null @@ -1,53 +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 - -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 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.10.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.35.49.ebuild b/dev-python/boto3/boto3-1.35.49.ebuild index d91ce27598cf..3a10a36056b1 100644 --- a/dev-python/boto3/boto3-1.35.49.ebuild +++ b/dev-python/boto3/boto3-1.35.49.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" RDEPEND=" >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] diff --git a/dev-python/boto3/boto3-1.35.55.ebuild b/dev-python/boto3/boto3-1.35.55.ebuild deleted file mode 100644 index d91ce27598cf..000000000000 --- a/dev-python/boto3/boto3-1.35.55.ebuild +++ /dev/null @@ -1,53 +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 - -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 ~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.10.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.35.56.ebuild b/dev-python/boto3/boto3-1.35.56.ebuild deleted file mode 100644 index d91ce27598cf..000000000000 --- a/dev-python/boto3/boto3-1.35.56.ebuild +++ /dev/null @@ -1,53 +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 - -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 ~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.10.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.35.57.ebuild b/dev-python/boto3/boto3-1.35.57.ebuild new file mode 100644 index 000000000000..d91ce27598cf --- /dev/null +++ b/dev-python/boto3/boto3-1.35.57.ebuild @@ -0,0 +1,53 @@ +# 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 + +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 ~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.10.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 2d9419559fab..126f6edb234a 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -1,5 +1,3 @@ -DIST botocore-1.35.44.gh.tar.gz 13472693 BLAKE2B a38fd45888ee1e77d7dec3fbd5aeb9f94cd825d1d54bd11a467ef9938753724958fc28eae4316d1802c729f02874113b028a929afb3de64400723c144d5d0eef SHA512 52f6c507efe175deef4e824c038f2db620f35f53f62a1372815b9c75a3638e371d89a8aa19f481f4ee29e58e5c30e5f9083fe14eb08048f80cd0f9aa1730841c DIST botocore-1.35.49.gh.tar.gz 13473579 BLAKE2B 0b1a0e8ec76ad0d4ec677532626c4f34383828415ae6a6dc318a8e7864f2756c5618e0086a02f29726844e585895492b0e80d5e944e67fa5c233122a35a75eab SHA512 abcbcd3e8c5c4704755f83290aa8c65ee703c5f75cecab45d58451e2960f341e73042b61c28fd42a671562b25795255392d13db60c6c9d2f944f04ede6d3e78d DIST botocore-1.35.54.gh.tar.gz 13569174 BLAKE2B 1f4cb326d27ef028e16b20838fe1f7bc32cc5c782694d4d47dc2d0cd1384a7fdfe584f6225f41004c8e4c9028c1ac2b2b157daa073adab515d99a2cf1d42b19f SHA512 cab2956d9b7597295d761f232b9981085bb4daec182514fb514b6aed7bdb82ddca41b7b85900987f624828ae389f4ac282b0950692d965ccb9b67d6ce3d40362 -DIST botocore-1.35.55.gh.tar.gz 13573450 BLAKE2B e1066fd6739932086d39ab889f020f50b32d06dd634fce7f3d357a5cbfdbba441f7a2a6863239a73fbd5a9e2e376b6a96af82ac9cbbf9ebfb8b894c85288ad8a SHA512 5744bc972ce3d6be738d2e5dff524607606759803124f335fc3b55c20158c2a34c3fbfc39fe47b8b539ace2c0e352bc8f1abc121c6d9c1ac7977f9a5de5a4b6b -DIST botocore-1.35.56.gh.tar.gz 13597124 BLAKE2B d459df3e5b35cf58dc8d975483b6ff7b1000e33fe89af255055b5f28a8b09daa5f73019acf154f19d272a6a1cce7b8815d51cb1c118da14c78afd888cd930aec SHA512 a8125ae8bc5d5846063496b3472e22ac831117c909128bfe4a3a48f509b62266f63db2a435e322193d2036edc84d7bdcbfd7ae56709ed0455b913c012d4a4dfd +DIST botocore-1.35.57.gh.tar.gz 13603794 BLAKE2B 23a4dc82e1d9667e75494c2fb651b883c7fbaf689679a1b40c3f277c33760fbaacd6843e6630876fe75597c6e6dc892726c609a97efcff0d46533460c379c43f SHA512 f20eccdcd0c027e3c1d6c631988c8913f3150b1b6da679fc18ea75824d0ef61b999ee9cad4f0d74edbb639cf52daf188fd7e256664e57fc89be09f33ed78d65e diff --git a/dev-python/botocore/botocore-1.35.44.ebuild b/dev-python/botocore/botocore-1.35.44.ebuild deleted file mode 100644 index c81d932a2d78..000000000000 --- a/dev-python/botocore/botocore-1.35.44.ebuild +++ /dev/null @@ -1,67 +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 - -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 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/botocore/botocore-1.35.49.ebuild b/dev-python/botocore/botocore-1.35.49.ebuild index 7816e9efeb52..c81d932a2d78 100644 --- a/dev-python/botocore/botocore-1.35.49.ebuild +++ b/dev-python/botocore/botocore-1.35.49.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 arm arm64 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 - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest tests/{functional,unit} -} diff --git a/dev-python/botocore/botocore-1.35.56.ebuild b/dev-python/botocore/botocore-1.35.56.ebuild deleted file mode 100644 index 7816e9efeb52..000000000000 --- a/dev-python/botocore/botocore-1.35.56.ebuild +++ /dev/null @@ -1,67 +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 - -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 ~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/botocore/botocore-1.35.57.ebuild b/dev-python/botocore/botocore-1.35.57.ebuild new file mode 100644 index 000000000000..7816e9efeb52 --- /dev/null +++ b/dev-python/botocore/botocore-1.35.57.ebuild @@ -0,0 +1,67 @@ +# 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 + +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 ~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/cftime/cftime-1.6.4_p1.ebuild b/dev-python/cftime/cftime-1.6.4_p1.ebuild index 6dc00bf10e42..fd8738a521f9 100644 --- a/dev-python/cftime/cftime-1.6.4_p1.ebuild +++ b/dev-python/cftime/cftime-1.6.4_p1.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~s390 ~x86" +KEYWORDS="~amd64 arm64 ~loong ~riscv ~s390 ~x86" DEPEND=" >=dev-python/numpy-1.26.0[${PYTHON_USEDEP}] diff --git a/dev-python/coverage/coverage-7.6.4.ebuild b/dev-python/coverage/coverage-7.6.4.ebuild index 5f3cb4e3c7fe..3d315c77e270 100644 --- a/dev-python/coverage/coverage-7.6.4.ebuild +++ b/dev-python/coverage/coverage-7.6.4.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" RDEPEND=" $(python_gen_cond_dep ' diff --git a/dev-python/cramjam/cramjam-2.8.3-r1.ebuild b/dev-python/cramjam/cramjam-2.8.3-r1.ebuild new file mode 100644 index 000000000000..ce0bf20aef18 --- /dev/null +++ b/dev-python/cramjam/cramjam-2.8.3-r1.ebuild @@ -0,0 +1,209 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Note: you need to use top-level Cargo.lock to generate the crate list. +CRATES=" + adler@1.0.2 + aho-corasick@1.1.2 + alloc-no-stdlib@2.0.4 + alloc-stdlib@0.2.2 + anstream@0.6.13 + anstyle-parse@0.2.3 + anstyle-query@1.0.2 + anstyle-wincon@3.0.2 + anstyle@1.0.6 + assert_cmd@1.0.8 + atty@0.2.14 + autocfg@1.1.0 + bitflags@1.3.2 + bitflags@2.4.2 + brotli-decompressor@2.5.1 + brotli@3.4.0 + bstr@0.2.17 + bytesize@1.3.0 + bzip2-sys@0.1.11+1.0.8 + bzip2@0.4.4 + cbindgen@0.24.5 + cc@1.0.90 + cfg-if@1.0.0 + clap@3.2.25 + clap@4.5.2 + clap_builder@4.5.2 + clap_derive@4.5.0 + clap_lex@0.2.4 + clap_lex@0.7.0 + colorchoice@1.0.0 + crc32fast@1.4.0 + difflib@0.4.0 + doc-comment@0.3.3 + either@1.10.0 + errno@0.3.8 + fastrand@2.0.1 + flate2@1.0.28 + float-cmp@0.9.0 + hashbrown@0.12.3 + heck@0.4.1 + hermit-abi@0.1.19 + indexmap@1.9.3 + indoc@2.0.4 + inline-c-macro@0.1.5 + inline-c@0.1.7 + itertools@0.10.5 + itoa@1.0.10 + jobserver@0.1.28 + lazy_static@1.4.0 + libc@0.2.153 + libcramjam@0.2.0 + libcramjam@0.3.0 + libdeflate-sys@1.19.3 + libdeflater@1.19.3 + linux-raw-sys@0.4.13 + lock_api@0.4.11 + log@0.4.21 + lz4-sys@1.9.4 + lz4@1.24.0 + lzma-sys@0.1.20 + memchr@2.7.1 + memoffset@0.9.0 + miniz_oxide@0.7.2 + normalize-line-endings@0.3.0 + num-traits@0.2.18 + once_cell@1.19.0 + os_str_bytes@6.6.1 + parking_lot@0.12.1 + parking_lot_core@0.9.9 + pest@2.7.8 + pkg-config@0.3.30 + portable-atomic@1.6.0 + predicates-core@1.0.6 + predicates-tree@1.0.9 + predicates@2.1.5 + proc-macro2@1.0.78 + pyo3-build-config@0.20.3 + pyo3-ffi@0.20.3 + pyo3-macros-backend@0.20.3 + pyo3-macros@0.20.3 + pyo3@0.20.3 + python3-dll-a@0.2.9 + quote@1.0.35 + redox_syscall@0.4.1 + regex-automata@0.1.10 + regex-automata@0.4.6 + regex-syntax@0.8.2 + regex@1.10.3 + rustc_version@0.3.3 + rustix@0.38.31 + ryu@1.0.17 + scopeguard@1.2.0 + semver-parser@0.10.2 + semver@0.11.0 + serde@1.0.197 + serde_derive@1.0.197 + serde_json@1.0.114 + smallvec@1.13.1 + snap@1.1.1 + strsim@0.10.0 + strsim@0.11.0 + syn@1.0.109 + syn@2.0.52 + target-lexicon@0.11.2 + target-lexicon@0.12.14 + tempfile@3.10.1 + termcolor@1.4.1 + termtree@0.4.1 + textwrap@0.16.1 + thiserror-impl@1.0.57 + thiserror@1.0.57 + toml@0.5.11 + ucd-trie@0.1.6 + unicode-ident@1.0.12 + unindent@0.2.3 + utf8parse@0.2.1 + wait-timeout@0.2.0 + winapi-i686-pc-windows-gnu@0.4.0 + winapi-util@0.1.6 + winapi-x86_64-pc-windows-gnu@0.4.0 + winapi@0.3.9 + windows-sys@0.52.0 + windows-targets@0.48.5 + windows-targets@0.52.4 + windows_aarch64_gnullvm@0.48.5 + windows_aarch64_gnullvm@0.52.4 + windows_aarch64_msvc@0.48.5 + windows_aarch64_msvc@0.52.4 + windows_i686_gnu@0.48.5 + windows_i686_gnu@0.52.4 + windows_i686_msvc@0.48.5 + windows_i686_msvc@0.52.4 + windows_x86_64_gnu@0.48.5 + windows_x86_64_gnu@0.52.4 + windows_x86_64_gnullvm@0.48.5 + windows_x86_64_gnullvm@0.52.4 + windows_x86_64_msvc@0.48.5 + windows_x86_64_msvc@0.52.4 + xz2@0.1.7 + zstd-safe@7.0.0 + zstd-sys@2.0.9+zstd.1.5.5 + zstd@0.13.0 +" + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=maturin +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit cargo distutils-r1 + +DESCRIPTION="Thin Python bindings to de/compression algorithms in Rust" +HOMEPAGE=" + https://github.com/milesgranger/cramjam/ + https://pypi.org/project/cramjam/ +" +# pypi sdist is missing libcramjam/Cargo.lock +SRC_URI=" + https://github.com/milesgranger/cramjam/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz + ${CARGO_CRATE_URIS} +" +S=${WORKDIR}/${P}/cramjam-python + +LICENSE="MIT" +# Dependent crate licenses +LICENSE+=" + Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD MIT MPL-2.0 + Unicode-DFS-2016 +" +SLOT="0" +KEYWORDS="amd64 arm arm64 ~riscv ~sparc x86" + +BDEPEND=" + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +QA_FLAGS_IGNORED="usr/lib/py.*/site-packages/cramjam/cramjam.*.so" + +src_prepare() { + sed -i -e '/strip/d' pyproject.toml || die + distutils-r1_src_prepare + export UNSAFE_PYO3_SKIP_VERSION_CHECK=1 +} + +src_test() { + pushd ../libcramjam >/dev/null || die + cargo_src_test + popd >/dev/null || die + + distutils-r1_src_test +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests +} diff --git a/dev-python/cramjam/cramjam-2.8.3.ebuild b/dev-python/cramjam/cramjam-2.8.3.ebuild deleted file mode 100644 index ce0bf20aef18..000000000000 --- a/dev-python/cramjam/cramjam-2.8.3.ebuild +++ /dev/null @@ -1,209 +0,0 @@ -# Copyright 2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Note: you need to use top-level Cargo.lock to generate the crate list. -CRATES=" - adler@1.0.2 - aho-corasick@1.1.2 - alloc-no-stdlib@2.0.4 - alloc-stdlib@0.2.2 - anstream@0.6.13 - anstyle-parse@0.2.3 - anstyle-query@1.0.2 - anstyle-wincon@3.0.2 - anstyle@1.0.6 - assert_cmd@1.0.8 - atty@0.2.14 - autocfg@1.1.0 - bitflags@1.3.2 - bitflags@2.4.2 - brotli-decompressor@2.5.1 - brotli@3.4.0 - bstr@0.2.17 - bytesize@1.3.0 - bzip2-sys@0.1.11+1.0.8 - bzip2@0.4.4 - cbindgen@0.24.5 - cc@1.0.90 - cfg-if@1.0.0 - clap@3.2.25 - clap@4.5.2 - clap_builder@4.5.2 - clap_derive@4.5.0 - clap_lex@0.2.4 - clap_lex@0.7.0 - colorchoice@1.0.0 - crc32fast@1.4.0 - difflib@0.4.0 - doc-comment@0.3.3 - either@1.10.0 - errno@0.3.8 - fastrand@2.0.1 - flate2@1.0.28 - float-cmp@0.9.0 - hashbrown@0.12.3 - heck@0.4.1 - hermit-abi@0.1.19 - indexmap@1.9.3 - indoc@2.0.4 - inline-c-macro@0.1.5 - inline-c@0.1.7 - itertools@0.10.5 - itoa@1.0.10 - jobserver@0.1.28 - lazy_static@1.4.0 - libc@0.2.153 - libcramjam@0.2.0 - libcramjam@0.3.0 - libdeflate-sys@1.19.3 - libdeflater@1.19.3 - linux-raw-sys@0.4.13 - lock_api@0.4.11 - log@0.4.21 - lz4-sys@1.9.4 - lz4@1.24.0 - lzma-sys@0.1.20 - memchr@2.7.1 - memoffset@0.9.0 - miniz_oxide@0.7.2 - normalize-line-endings@0.3.0 - num-traits@0.2.18 - once_cell@1.19.0 - os_str_bytes@6.6.1 - parking_lot@0.12.1 - parking_lot_core@0.9.9 - pest@2.7.8 - pkg-config@0.3.30 - portable-atomic@1.6.0 - predicates-core@1.0.6 - predicates-tree@1.0.9 - predicates@2.1.5 - proc-macro2@1.0.78 - pyo3-build-config@0.20.3 - pyo3-ffi@0.20.3 - pyo3-macros-backend@0.20.3 - pyo3-macros@0.20.3 - pyo3@0.20.3 - python3-dll-a@0.2.9 - quote@1.0.35 - redox_syscall@0.4.1 - regex-automata@0.1.10 - regex-automata@0.4.6 - regex-syntax@0.8.2 - regex@1.10.3 - rustc_version@0.3.3 - rustix@0.38.31 - ryu@1.0.17 - scopeguard@1.2.0 - semver-parser@0.10.2 - semver@0.11.0 - serde@1.0.197 - serde_derive@1.0.197 - serde_json@1.0.114 - smallvec@1.13.1 - snap@1.1.1 - strsim@0.10.0 - strsim@0.11.0 - syn@1.0.109 - syn@2.0.52 - target-lexicon@0.11.2 - target-lexicon@0.12.14 - tempfile@3.10.1 - termcolor@1.4.1 - termtree@0.4.1 - textwrap@0.16.1 - thiserror-impl@1.0.57 - thiserror@1.0.57 - toml@0.5.11 - ucd-trie@0.1.6 - unicode-ident@1.0.12 - unindent@0.2.3 - utf8parse@0.2.1 - wait-timeout@0.2.0 - winapi-i686-pc-windows-gnu@0.4.0 - winapi-util@0.1.6 - winapi-x86_64-pc-windows-gnu@0.4.0 - winapi@0.3.9 - windows-sys@0.52.0 - windows-targets@0.48.5 - windows-targets@0.52.4 - windows_aarch64_gnullvm@0.48.5 - windows_aarch64_gnullvm@0.52.4 - windows_aarch64_msvc@0.48.5 - windows_aarch64_msvc@0.52.4 - windows_i686_gnu@0.48.5 - windows_i686_gnu@0.52.4 - windows_i686_msvc@0.48.5 - windows_i686_msvc@0.52.4 - windows_x86_64_gnu@0.48.5 - windows_x86_64_gnu@0.52.4 - windows_x86_64_gnullvm@0.48.5 - windows_x86_64_gnullvm@0.52.4 - windows_x86_64_msvc@0.48.5 - windows_x86_64_msvc@0.52.4 - xz2@0.1.7 - zstd-safe@7.0.0 - zstd-sys@2.0.9+zstd.1.5.5 - zstd@0.13.0 -" - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=maturin -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) - -inherit cargo distutils-r1 - -DESCRIPTION="Thin Python bindings to de/compression algorithms in Rust" -HOMEPAGE=" - https://github.com/milesgranger/cramjam/ - https://pypi.org/project/cramjam/ -" -# pypi sdist is missing libcramjam/Cargo.lock -SRC_URI=" - https://github.com/milesgranger/cramjam/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz - ${CARGO_CRATE_URIS} -" -S=${WORKDIR}/${P}/cramjam-python - -LICENSE="MIT" -# Dependent crate licenses -LICENSE+=" - Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD MIT MPL-2.0 - Unicode-DFS-2016 -" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~riscv ~sparc x86" - -BDEPEND=" - test? ( - dev-python/hypothesis[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -QA_FLAGS_IGNORED="usr/lib/py.*/site-packages/cramjam/cramjam.*.so" - -src_prepare() { - sed -i -e '/strip/d' pyproject.toml || die - distutils-r1_src_prepare - export UNSAFE_PYO3_SKIP_VERSION_CHECK=1 -} - -src_test() { - pushd ../libcramjam >/dev/null || die - cargo_src_test - popd >/dev/null || die - - distutils-r1_src_test -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest tests -} diff --git a/dev-python/cramjam/cramjam-2.8.4-r1.ebuild b/dev-python/cramjam/cramjam-2.8.4-r1.ebuild new file mode 100644 index 000000000000..5b86ec922c46 --- /dev/null +++ b/dev-python/cramjam/cramjam-2.8.4-r1.ebuild @@ -0,0 +1,215 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Note: you need to use top-level Cargo.lock to generate the crate list. +CRATES=" + adler2@2.0.0 + alloc-no-stdlib@2.0.4 + alloc-stdlib@0.2.2 + atty@0.2.14 + autocfg@1.3.0 + bitflags@1.3.2 + bitflags@2.6.0 + blosc2-rs@0.3.1+2.15.1 + blosc2-sys@0.3.1+2.15.1 + brotli-decompressor@2.5.1 + brotli@3.5.0 + bzip2-sys@0.1.11+1.0.8 + bzip2@0.4.4 + cbindgen@0.24.5 + cc@1.1.21 + cfg-if@1.0.0 + clap@3.2.25 + clap_lex@0.2.4 + cmake@0.1.51 + copy_dir@0.1.3 + crc32fast@1.4.2 + errno@0.3.9 + fastrand@2.1.1 + flate2@1.0.33 + hashbrown@0.12.3 + heck@0.4.1 + heck@0.5.0 + hermit-abi@0.1.19 + indexmap@1.9.3 + indoc@2.0.5 + isal-rs@0.3.1+496255c + isal-sys@0.3.1+496255c + itoa@1.0.11 + jobserver@0.1.32 + libc@0.2.158 + libcramjam@0.5.1 + libdeflate-sys@1.19.3 + libdeflater@1.19.3 + linux-raw-sys@0.4.14 + lock_api@0.4.12 + log@0.4.22 + lz4-sys@1.11.0 + lz4@1.27.0 + lzma-sys@0.1.20 + memchr@2.7.4 + memoffset@0.9.1 + miniz_oxide@0.8.0 + once_cell@1.19.0 + os_str_bytes@6.6.1 + parking_lot@0.12.3 + parking_lot_core@0.9.10 + pkg-config@0.3.31 + portable-atomic@1.8.0 + proc-macro2@1.0.86 + pyo3-build-config@0.22.3 + pyo3-ffi@0.22.3 + pyo3-macros-backend@0.22.3 + pyo3-macros@0.22.3 + pyo3@0.22.3 + python3-dll-a@0.2.10 + quote@1.0.37 + redox_syscall@0.5.4 + rustix@0.38.37 + ryu@1.0.18 + same-file@1.0.6 + scopeguard@1.2.0 + serde@1.0.210 + serde_derive@1.0.210 + serde_json@1.0.128 + shlex@1.3.0 + smallvec@1.13.2 + snap@1.1.1 + strsim@0.10.0 + syn@1.0.109 + syn@2.0.77 + target-lexicon@0.12.16 + tempfile@3.12.0 + termcolor@1.4.1 + textwrap@0.16.1 + toml@0.5.11 + unicode-ident@1.0.13 + unindent@0.2.3 + walkdir@2.5.0 + winapi-i686-pc-windows-gnu@0.4.0 + winapi-util@0.1.9 + winapi-x86_64-pc-windows-gnu@0.4.0 + winapi@0.3.9 + windows-sys@0.52.0 + windows-sys@0.59.0 + windows-targets@0.52.6 + windows_aarch64_gnullvm@0.52.6 + windows_aarch64_msvc@0.52.6 + windows_i686_gnu@0.52.6 + windows_i686_gnullvm@0.52.6 + windows_i686_msvc@0.52.6 + windows_x86_64_gnu@0.52.6 + windows_x86_64_gnullvm@0.52.6 + windows_x86_64_msvc@0.52.6 + xz2@0.1.7 + zstd-safe@7.2.1 + zstd-sys@2.0.13+zstd.1.5.6 + zstd@0.13.2 +" + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=maturin +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit cargo distutils-r1 pypi + +DESCRIPTION="Thin Python bindings to de/compression algorithms in Rust" +HOMEPAGE=" + https://github.com/milesgranger/cramjam/ + https://pypi.org/project/cramjam/ +" +SRC_URI+=" + ${CARGO_CRATE_URIS} +" + +LICENSE="MIT" +# Dependent crate licenses +LICENSE+=" + Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD MIT MPL-2.0 + Unicode-DFS-2016 +" +SLOT="0" +KEYWORDS="amd64 ~arm arm64 ~riscv ~sparc ~x86" + +DEPEND=" + app-arch/bzip2:= + app-arch/libdeflate:= + app-arch/lz4:= + app-arch/xz-utils:= + app-arch/zstd:= + dev-libs/c-blosc2:= +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + ) +" +# bundled isal deps +BDEPEND+=" + amd64? ( + || ( + >=dev-lang/nasm-2.13 + >=dev-lang/yasm-1.2.0 + ) + ) + x86? ( + || ( + >=dev-lang/nasm-2.13 + >=dev-lang/yasm-1.2.0 + ) + ) +" + +distutils_enable_tests pytest + +QA_FLAGS_IGNORED="usr/lib/py.*/site-packages/cramjam/cramjam.*.so" + +src_prepare() { + sed -i -e '/strip/d' pyproject.toml || die + distutils-r1_src_prepare + export UNSAFE_PYO3_SKIP_VERSION_CHECK=1 + + # strip all the bundled C libraries + find "${ECARGO_VENDOR}"/{blosc2,bzip2,libdeflate,lz4,lzma,zstd}-sys-* \ + -name '*.c' -delete || die + + # https://github.com/10XGenomics/lz4-rs/pull/39 + pushd "${ECARGO_VENDOR}"/lz4-sys* >/dev/null || Die + eapply -p2 "${FILESDIR}/lz4-sys-unbundle-lz4.patch" + popd >/dev/null || die + + # enable system libraries where supported + export ZSTD_SYS_USE_PKG_CONFIG=1 + + # unpin C library versions + sed -i -e '/exactly_version/d' \ + "${ECARGO_VENDOR}"/libdeflate-sys-*/build.rs || 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 + + DISTUTILS_ARGS=( + --no-default-features + # TODO: system isal + --features=extension-module,snappy,lz4,bzip2,brotli,zstd,xz-shared,igzip-shared,gzip-shared,gzip-shared,deflate-shared,blosc2-shared,use-system-blosc2-shared + ) +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests +} diff --git a/dev-python/cramjam/cramjam-2.8.4.ebuild b/dev-python/cramjam/cramjam-2.8.4.ebuild deleted file mode 100644 index 5b86ec922c46..000000000000 --- a/dev-python/cramjam/cramjam-2.8.4.ebuild +++ /dev/null @@ -1,215 +0,0 @@ -# Copyright 2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Note: you need to use top-level Cargo.lock to generate the crate list. -CRATES=" - adler2@2.0.0 - alloc-no-stdlib@2.0.4 - alloc-stdlib@0.2.2 - atty@0.2.14 - autocfg@1.3.0 - bitflags@1.3.2 - bitflags@2.6.0 - blosc2-rs@0.3.1+2.15.1 - blosc2-sys@0.3.1+2.15.1 - brotli-decompressor@2.5.1 - brotli@3.5.0 - bzip2-sys@0.1.11+1.0.8 - bzip2@0.4.4 - cbindgen@0.24.5 - cc@1.1.21 - cfg-if@1.0.0 - clap@3.2.25 - clap_lex@0.2.4 - cmake@0.1.51 - copy_dir@0.1.3 - crc32fast@1.4.2 - errno@0.3.9 - fastrand@2.1.1 - flate2@1.0.33 - hashbrown@0.12.3 - heck@0.4.1 - heck@0.5.0 - hermit-abi@0.1.19 - indexmap@1.9.3 - indoc@2.0.5 - isal-rs@0.3.1+496255c - isal-sys@0.3.1+496255c - itoa@1.0.11 - jobserver@0.1.32 - libc@0.2.158 - libcramjam@0.5.1 - libdeflate-sys@1.19.3 - libdeflater@1.19.3 - linux-raw-sys@0.4.14 - lock_api@0.4.12 - log@0.4.22 - lz4-sys@1.11.0 - lz4@1.27.0 - lzma-sys@0.1.20 - memchr@2.7.4 - memoffset@0.9.1 - miniz_oxide@0.8.0 - once_cell@1.19.0 - os_str_bytes@6.6.1 - parking_lot@0.12.3 - parking_lot_core@0.9.10 - pkg-config@0.3.31 - portable-atomic@1.8.0 - proc-macro2@1.0.86 - pyo3-build-config@0.22.3 - pyo3-ffi@0.22.3 - pyo3-macros-backend@0.22.3 - pyo3-macros@0.22.3 - pyo3@0.22.3 - python3-dll-a@0.2.10 - quote@1.0.37 - redox_syscall@0.5.4 - rustix@0.38.37 - ryu@1.0.18 - same-file@1.0.6 - scopeguard@1.2.0 - serde@1.0.210 - serde_derive@1.0.210 - serde_json@1.0.128 - shlex@1.3.0 - smallvec@1.13.2 - snap@1.1.1 - strsim@0.10.0 - syn@1.0.109 - syn@2.0.77 - target-lexicon@0.12.16 - tempfile@3.12.0 - termcolor@1.4.1 - textwrap@0.16.1 - toml@0.5.11 - unicode-ident@1.0.13 - unindent@0.2.3 - walkdir@2.5.0 - winapi-i686-pc-windows-gnu@0.4.0 - winapi-util@0.1.9 - winapi-x86_64-pc-windows-gnu@0.4.0 - winapi@0.3.9 - windows-sys@0.52.0 - windows-sys@0.59.0 - windows-targets@0.52.6 - windows_aarch64_gnullvm@0.52.6 - windows_aarch64_msvc@0.52.6 - windows_i686_gnu@0.52.6 - windows_i686_gnullvm@0.52.6 - windows_i686_msvc@0.52.6 - windows_x86_64_gnu@0.52.6 - windows_x86_64_gnullvm@0.52.6 - windows_x86_64_msvc@0.52.6 - xz2@0.1.7 - zstd-safe@7.2.1 - zstd-sys@2.0.13+zstd.1.5.6 - zstd@0.13.2 -" - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=maturin -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) - -inherit cargo distutils-r1 pypi - -DESCRIPTION="Thin Python bindings to de/compression algorithms in Rust" -HOMEPAGE=" - https://github.com/milesgranger/cramjam/ - https://pypi.org/project/cramjam/ -" -SRC_URI+=" - ${CARGO_CRATE_URIS} -" - -LICENSE="MIT" -# Dependent crate licenses -LICENSE+=" - Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD MIT MPL-2.0 - Unicode-DFS-2016 -" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~riscv ~sparc ~x86" - -DEPEND=" - app-arch/bzip2:= - app-arch/libdeflate:= - app-arch/lz4:= - app-arch/xz-utils:= - app-arch/zstd:= - dev-libs/c-blosc2:= -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - test? ( - dev-python/hypothesis[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - ) -" -# bundled isal deps -BDEPEND+=" - amd64? ( - || ( - >=dev-lang/nasm-2.13 - >=dev-lang/yasm-1.2.0 - ) - ) - x86? ( - || ( - >=dev-lang/nasm-2.13 - >=dev-lang/yasm-1.2.0 - ) - ) -" - -distutils_enable_tests pytest - -QA_FLAGS_IGNORED="usr/lib/py.*/site-packages/cramjam/cramjam.*.so" - -src_prepare() { - sed -i -e '/strip/d' pyproject.toml || die - distutils-r1_src_prepare - export UNSAFE_PYO3_SKIP_VERSION_CHECK=1 - - # strip all the bundled C libraries - find "${ECARGO_VENDOR}"/{blosc2,bzip2,libdeflate,lz4,lzma,zstd}-sys-* \ - -name '*.c' -delete || die - - # https://github.com/10XGenomics/lz4-rs/pull/39 - pushd "${ECARGO_VENDOR}"/lz4-sys* >/dev/null || Die - eapply -p2 "${FILESDIR}/lz4-sys-unbundle-lz4.patch" - popd >/dev/null || die - - # enable system libraries where supported - export ZSTD_SYS_USE_PKG_CONFIG=1 - - # unpin C library versions - sed -i -e '/exactly_version/d' \ - "${ECARGO_VENDOR}"/libdeflate-sys-*/build.rs || 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 - - DISTUTILS_ARGS=( - --no-default-features - # TODO: system isal - --features=extension-module,snappy,lz4,bzip2,brotli,zstd,xz-shared,igzip-shared,gzip-shared,gzip-shared,deflate-shared,blosc2-shared,use-system-blosc2-shared - ) -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest tests -} diff --git a/dev-python/cramjam/cramjam-2.9.0-r1.ebuild b/dev-python/cramjam/cramjam-2.9.0-r1.ebuild new file mode 100644 index 000000000000..cd3d9eb7cb86 --- /dev/null +++ b/dev-python/cramjam/cramjam-2.9.0-r1.ebuild @@ -0,0 +1,225 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Note: you need to use top-level Cargo.lock to generate the crate list. +CRATES=" + adler2@2.0.0 + alloc-no-stdlib@2.0.4 + alloc-stdlib@0.2.2 + atty@0.2.14 + autocfg@1.4.0 + bitflags@1.3.2 + bitflags@2.6.0 + blosc2-rs@0.3.1+2.15.1 + blosc2-sys@0.3.1+2.15.1 + brotli-decompressor@4.0.1 + brotli@7.0.0 + bzip2-sys@0.1.11+1.0.8 + bzip2@0.4.4 + cbindgen@0.24.5 + cc@1.1.30 + cfg-if@1.0.0 + clap@3.2.25 + clap_lex@0.2.4 + cmake@0.1.51 + copy_dir@0.1.3 + crc32fast@1.4.2 + errno@0.3.9 + fastrand@2.1.1 + flate2@1.0.34 + hashbrown@0.12.3 + heck@0.4.1 + heck@0.5.0 + hermit-abi@0.1.19 + indexmap@1.9.3 + indoc@2.0.5 + isal-rs@0.5.3+496255c + isal-sys@0.5.3+496255c + itoa@1.0.11 + jobserver@0.1.32 + libc@0.2.159 + libcramjam@0.6.0 + libdeflate-sys@1.19.3 + libdeflater@1.19.3 + linux-raw-sys@0.4.14 + lock_api@0.4.12 + log@0.4.22 + lz4-sys@1.11.1+lz4-1.10.0 + lz4@1.28.0 + lzma-sys@0.1.20 + memchr@2.7.4 + memoffset@0.9.1 + miniz_oxide@0.8.0 + once_cell@1.20.2 + os_str_bytes@6.6.1 + parking_lot@0.12.3 + parking_lot_core@0.9.10 + pkg-config@0.3.31 + portable-atomic@1.9.0 + proc-macro2@1.0.87 + pyo3-build-config@0.22.5 + pyo3-ffi@0.22.5 + pyo3-macros-backend@0.22.5 + pyo3-macros@0.22.5 + pyo3@0.22.5 + python3-dll-a@0.2.10 + quote@1.0.37 + redox_syscall@0.5.7 + rustix@0.38.37 + ryu@1.0.18 + same-file@1.0.6 + scopeguard@1.2.0 + serde@1.0.210 + serde_derive@1.0.210 + serde_json@1.0.128 + shlex@1.3.0 + smallvec@1.13.2 + snap@1.1.1 + strsim@0.10.0 + syn@1.0.109 + syn@2.0.79 + target-lexicon@0.12.16 + tempfile@3.13.0 + termcolor@1.4.1 + textwrap@0.16.1 + toml@0.5.11 + unicode-ident@1.0.13 + unindent@0.2.3 + walkdir@2.5.0 + winapi-i686-pc-windows-gnu@0.4.0 + winapi-util@0.1.9 + winapi-x86_64-pc-windows-gnu@0.4.0 + winapi@0.3.9 + windows-sys@0.52.0 + windows-sys@0.59.0 + windows-targets@0.52.6 + windows_aarch64_gnullvm@0.52.6 + windows_aarch64_msvc@0.52.6 + windows_i686_gnu@0.52.6 + windows_i686_gnullvm@0.52.6 + windows_i686_msvc@0.52.6 + windows_x86_64_gnu@0.52.6 + windows_x86_64_gnullvm@0.52.6 + windows_x86_64_msvc@0.52.6 + xz2@0.1.7 + zstd-safe@7.2.1 + zstd-sys@2.0.13+zstd.1.5.6 + zstd@0.13.2 +" + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=maturin +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit cargo distutils-r1 pypi + +DESCRIPTION="Thin Python bindings to de/compression algorithms in Rust" +HOMEPAGE=" + https://github.com/milesgranger/cramjam/ + https://pypi.org/project/cramjam/ +" +SRC_URI+=" + ${CARGO_CRATE_URIS} +" + +LICENSE="MIT" +# Dependent crate licenses +LICENSE+=" + Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD MIT MPL-2.0 + Unicode-DFS-2016 +" +SLOT="0" +KEYWORDS="amd64 ~arm arm64 ~riscv ~sparc ~x86" + +DEPEND=" + app-arch/bzip2:= + app-arch/libdeflate:= + app-arch/lz4:= + app-arch/xz-utils:= + app-arch/zstd:= + dev-libs/c-blosc2:= + dev-libs/isa-l:= +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +QA_FLAGS_IGNORED="usr/lib/py.*/site-packages/cramjam/cramjam.*.so" + +src_prepare() { + sed -i -e '/strip/d' pyproject.toml || die + distutils-r1_src_prepare + export UNSAFE_PYO3_SKIP_VERSION_CHECK=1 + + # strip all the bundled C libraries + find "${ECARGO_VENDOR}"/*-sys-* \ + -name '*.c' -delete || die + + # https://github.com/10XGenomics/lz4-rs/pull/39 + pushd "${ECARGO_VENDOR}"/lz4-sys* >/dev/null || Die + eapply -p2 "${FILESDIR}/lz4-sys-unbundle-lz4.patch" + popd >/dev/null || die + + # https://github.com/milesgranger/isal-rs/pull/25 (cheap workaround) + sed -i -e '/default/d' "${ECARGO_VENDOR}"/isal-sys*/Cargo.toml || die + + # enable system libraries where supported + export ZSTD_SYS_USE_PKG_CONFIG=1 + + # unpin C library versions + sed -i -e '/exactly_version/d' \ + "${ECARGO_VENDOR}"/libdeflate-sys-*/build.rs || 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 + + local features=( + extension-module + + snappy + lz4 + bzip2 + brotli + zstd + + xz-shared + igzip-shared + ideflate-shared + izlib-shared + use-system-isal-shared + gzip-shared + zlib-shared + deflate-shared + blosc2-shared + use-system-blosc2-shared + ) + local features_s=${features[*]} + + DISTUTILS_ARGS=( + --no-default-features + --features="${features_s// /,}" + ) +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests +} diff --git a/dev-python/cramjam/cramjam-2.9.0.ebuild b/dev-python/cramjam/cramjam-2.9.0.ebuild deleted file mode 100644 index cd3d9eb7cb86..000000000000 --- a/dev-python/cramjam/cramjam-2.9.0.ebuild +++ /dev/null @@ -1,225 +0,0 @@ -# Copyright 2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Note: you need to use top-level Cargo.lock to generate the crate list. -CRATES=" - adler2@2.0.0 - alloc-no-stdlib@2.0.4 - alloc-stdlib@0.2.2 - atty@0.2.14 - autocfg@1.4.0 - bitflags@1.3.2 - bitflags@2.6.0 - blosc2-rs@0.3.1+2.15.1 - blosc2-sys@0.3.1+2.15.1 - brotli-decompressor@4.0.1 - brotli@7.0.0 - bzip2-sys@0.1.11+1.0.8 - bzip2@0.4.4 - cbindgen@0.24.5 - cc@1.1.30 - cfg-if@1.0.0 - clap@3.2.25 - clap_lex@0.2.4 - cmake@0.1.51 - copy_dir@0.1.3 - crc32fast@1.4.2 - errno@0.3.9 - fastrand@2.1.1 - flate2@1.0.34 - hashbrown@0.12.3 - heck@0.4.1 - heck@0.5.0 - hermit-abi@0.1.19 - indexmap@1.9.3 - indoc@2.0.5 - isal-rs@0.5.3+496255c - isal-sys@0.5.3+496255c - itoa@1.0.11 - jobserver@0.1.32 - libc@0.2.159 - libcramjam@0.6.0 - libdeflate-sys@1.19.3 - libdeflater@1.19.3 - linux-raw-sys@0.4.14 - lock_api@0.4.12 - log@0.4.22 - lz4-sys@1.11.1+lz4-1.10.0 - lz4@1.28.0 - lzma-sys@0.1.20 - memchr@2.7.4 - memoffset@0.9.1 - miniz_oxide@0.8.0 - once_cell@1.20.2 - os_str_bytes@6.6.1 - parking_lot@0.12.3 - parking_lot_core@0.9.10 - pkg-config@0.3.31 - portable-atomic@1.9.0 - proc-macro2@1.0.87 - pyo3-build-config@0.22.5 - pyo3-ffi@0.22.5 - pyo3-macros-backend@0.22.5 - pyo3-macros@0.22.5 - pyo3@0.22.5 - python3-dll-a@0.2.10 - quote@1.0.37 - redox_syscall@0.5.7 - rustix@0.38.37 - ryu@1.0.18 - same-file@1.0.6 - scopeguard@1.2.0 - serde@1.0.210 - serde_derive@1.0.210 - serde_json@1.0.128 - shlex@1.3.0 - smallvec@1.13.2 - snap@1.1.1 - strsim@0.10.0 - syn@1.0.109 - syn@2.0.79 - target-lexicon@0.12.16 - tempfile@3.13.0 - termcolor@1.4.1 - textwrap@0.16.1 - toml@0.5.11 - unicode-ident@1.0.13 - unindent@0.2.3 - walkdir@2.5.0 - winapi-i686-pc-windows-gnu@0.4.0 - winapi-util@0.1.9 - winapi-x86_64-pc-windows-gnu@0.4.0 - winapi@0.3.9 - windows-sys@0.52.0 - windows-sys@0.59.0 - windows-targets@0.52.6 - windows_aarch64_gnullvm@0.52.6 - windows_aarch64_msvc@0.52.6 - windows_i686_gnu@0.52.6 - windows_i686_gnullvm@0.52.6 - windows_i686_msvc@0.52.6 - windows_x86_64_gnu@0.52.6 - windows_x86_64_gnullvm@0.52.6 - windows_x86_64_msvc@0.52.6 - xz2@0.1.7 - zstd-safe@7.2.1 - zstd-sys@2.0.13+zstd.1.5.6 - zstd@0.13.2 -" - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=maturin -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) - -inherit cargo distutils-r1 pypi - -DESCRIPTION="Thin Python bindings to de/compression algorithms in Rust" -HOMEPAGE=" - https://github.com/milesgranger/cramjam/ - https://pypi.org/project/cramjam/ -" -SRC_URI+=" - ${CARGO_CRATE_URIS} -" - -LICENSE="MIT" -# Dependent crate licenses -LICENSE+=" - Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD MIT MPL-2.0 - Unicode-DFS-2016 -" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~riscv ~sparc ~x86" - -DEPEND=" - app-arch/bzip2:= - app-arch/libdeflate:= - app-arch/lz4:= - app-arch/xz-utils:= - app-arch/zstd:= - dev-libs/c-blosc2:= - dev-libs/isa-l:= -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - test? ( - dev-python/hypothesis[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -QA_FLAGS_IGNORED="usr/lib/py.*/site-packages/cramjam/cramjam.*.so" - -src_prepare() { - sed -i -e '/strip/d' pyproject.toml || die - distutils-r1_src_prepare - export UNSAFE_PYO3_SKIP_VERSION_CHECK=1 - - # strip all the bundled C libraries - find "${ECARGO_VENDOR}"/*-sys-* \ - -name '*.c' -delete || die - - # https://github.com/10XGenomics/lz4-rs/pull/39 - pushd "${ECARGO_VENDOR}"/lz4-sys* >/dev/null || Die - eapply -p2 "${FILESDIR}/lz4-sys-unbundle-lz4.patch" - popd >/dev/null || die - - # https://github.com/milesgranger/isal-rs/pull/25 (cheap workaround) - sed -i -e '/default/d' "${ECARGO_VENDOR}"/isal-sys*/Cargo.toml || die - - # enable system libraries where supported - export ZSTD_SYS_USE_PKG_CONFIG=1 - - # unpin C library versions - sed -i -e '/exactly_version/d' \ - "${ECARGO_VENDOR}"/libdeflate-sys-*/build.rs || 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 - - local features=( - extension-module - - snappy - lz4 - bzip2 - brotli - zstd - - xz-shared - igzip-shared - ideflate-shared - izlib-shared - use-system-isal-shared - gzip-shared - zlib-shared - deflate-shared - blosc2-shared - use-system-blosc2-shared - ) - local features_s=${features[*]} - - DISTUTILS_ARGS=( - --no-default-features - --features="${features_s// /,}" - ) -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest tests -} diff --git a/dev-python/croniter/Manifest b/dev-python/croniter/Manifest index 03e837689e73..e6abc2397347 100644 --- a/dev-python/croniter/Manifest +++ b/dev-python/croniter/Manifest @@ -1,4 +1,3 @@ -DIST croniter-3.0.3.tar.gz 53088 BLAKE2B 258eff623e0017dcc1fd1d1b3a0ac8e1e67c387afba15fbb04a077dad9e5c72d4d2d68541e06ac85897857ce2bdb36fe0ddb59812368b9e89e58f6322fe61034 SHA512 4fe703544fd899c80766e6a867d96e655b5269b8798562ad4396b9819072acfd22c69fe72d52e911807acfbabe65b131ca4b6f1311b62e5b99f7d1cd1de39068 DIST croniter-3.0.4.tar.gz 54500 BLAKE2B caba8dd5efda4d56787130d43416ce79d2183e481ae5b4524542a353d40b765112c54961d1aeb0f9c99e0f3d319c31812a866dbaa5c2ee597fbc139eb079963a SHA512 e46e0ac27ed2dd30c5239565b7d9a926b2451febf047f96573699b50baf83157bf30e22f5f7f9be4fc66bb1a6b2eb0b5245a810542dbe808294eefba31af1d8a DIST croniter-4.0.0.tar.gz 55312 BLAKE2B 7733eb55b53e0921a37b4084bf815f3f2032041154083681a6d69a7be23ad48fc84e581af948acb8d7a1505f2a25240cd0cf09eaea14418da8f1a14466604575 SHA512 086cb137589514daf7e996c824c7e2d2e46615ae3150ea9060a21cb6577fa5c2a0132c7d169d38f500642325005be19ea2e9604a76906b0d7d62757e0f88ded9 DIST croniter-5.0.1.tar.gz 57084 BLAKE2B 5417d548c103dca87e9dff2ad521e82d5cb468332f3dc11bdff74f331ea23f49753cc9135b22ab1c269e8aa96a05dc04e9b92269b5bbb7334688143daad4664b SHA512 410a3b0ada979259bcd9b82d1b83f3384714645bae642ffaf9e118d65417b716b0efaa3a8c592cc3cc8a9a2694d6f70aa8d36af83aab0c8461493ce96f457bbb diff --git a/dev-python/croniter/croniter-3.0.3.ebuild b/dev-python/croniter/croniter-3.0.3.ebuild deleted file mode 100644 index a41378f7360e..000000000000 --- a/dev-python/croniter/croniter-3.0.3.ebuild +++ /dev/null @@ -1,31 +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="Python module to provide iteration for datetime object" -HOMEPAGE=" - https://github.com/kiorky/croniter/ - https://pypi.org/project/croniter/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm64 ~riscv x86" - -RDEPEND=" - dev-python/python-dateutil[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/tzlocal[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest diff --git a/dev-python/croniter/croniter-3.0.4.ebuild b/dev-python/croniter/croniter-3.0.4.ebuild index f8bda937f684..a41378f7360e 100644 --- a/dev-python/croniter/croniter-3.0.4.ebuild +++ b/dev-python/croniter/croniter-3.0.4.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv ~x86" +KEYWORDS="amd64 arm64 ~riscv x86" RDEPEND=" dev-python/python-dateutil[${PYTHON_USEDEP}] diff --git a/dev-python/diff-match-patch/Manifest b/dev-python/diff-match-patch/Manifest index 5dc24c788c2e..dd9eee540fd2 100644 --- a/dev-python/diff-match-patch/Manifest +++ b/dev-python/diff-match-patch/Manifest @@ -1,2 +1 @@ -DIST diff-match-patch-20230430.tar.gz 43324 BLAKE2B c13beb380d68cf96af41c124eb23f890c71664624de20780ea586f71b4c52a55ee06ac3427c61c233ebead309fcca02cb75f3447f17b7306c2728ebc5b06f6f8 SHA512 a62d15327de659999e3381215249fb088a9e40368008b91201de3db3d02f22892bbf6d2ac40dc4ea4986d24470dd396eaf69583fabbe9078a5cb1f97bae94000 DIST diff_match_patch-20241021.tar.gz 39962 BLAKE2B 798eb10166ec05226a017ca3718cf721dc48ee6bf16915779245bc7b29a000c6605f332834a7da45ffd6de9344853e1e5d3a95054c3aa73c7c995a9ea7ffa9be SHA512 23bdf81a159358f668e4adb1771780bef6cf14fc1bc90c76700d3339e35a2c00b61a72ef7cdabd0abc079c3aa8606ea91cef4d936c47b95b4fd94483c927daf5 diff --git a/dev-python/diff-match-patch/diff-match-patch-20230430.ebuild b/dev-python/diff-match-patch/diff-match-patch-20230430.ebuild deleted file mode 100644 index 48467d192f41..000000000000 --- a/dev-python/diff-match-patch/diff-match-patch-20230430.ebuild +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Diff, match and patch algorithms for plain text" -HOMEPAGE=" - https://github.com/diff-match-patch-python/diff-match-patch/ - https://pypi.org/project/diff-match-patch/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 arm64 x86" - -distutils_enable_tests pytest diff --git a/dev-python/diff-match-patch/diff-match-patch-20241021.ebuild b/dev-python/diff-match-patch/diff-match-patch-20241021.ebuild index 94d02d3fe117..7f5866d6e186 100644 --- a/dev-python/diff-match-patch/diff-match-patch-20241021.ebuild +++ b/dev-python/diff-match-patch/diff-match-patch-20241021.ebuild @@ -16,6 +16,6 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 arm64 x86" distutils_enable_tests pytest diff --git a/dev-python/dj-database-url/Manifest b/dev-python/dj-database-url/Manifest index 1e6f4d862740..e6301d1ea547 100644 --- a/dev-python/dj-database-url/Manifest +++ b/dev-python/dj-database-url/Manifest @@ -1,2 +1 @@ -DIST dj_database_url-2.2.0.tar.gz 10874 BLAKE2B 71bf484ba339edf9dc304085d433ae29b1efae6fe856152173989411cfffdb52297f7613b6f9337972cc8563494be4a94919055a0b7a84a0b066d64d5fe60d59 SHA512 17c26dc07e309ba448976fafdbd3bdc74cc2f5f7022fb1f041494f2555b8a77b9fc602c1f11602da5b8574487ca997e7b71d7859dd08875b2295ae08262c39bc DIST dj_database_url-2.3.0.tar.gz 10980 BLAKE2B fba212a3795fa735646d35b4d228d5581ef2310b9bb496cbc0305774e96074d5e7734f9970f1808ce7a7d39836937b4b33a509190c4194c2fbb494b598b9b57a SHA512 ad1c05fe7ec1340044c8f47702b5d6962127621f33dfffd9236799bdf6119c6fbe34ec0521777704e3f465a3587b04aaebc9f68170a583007ac21d6dfba06a12 diff --git a/dev-python/dj-database-url/dj-database-url-2.2.0.ebuild b/dev-python/dj-database-url/dj-database-url-2.2.0.ebuild deleted file mode 100644 index fdd5d1657edb..000000000000 --- a/dev-python/dj-database-url/dj-database-url-2.2.0.ebuild +++ /dev/null @@ -1,30 +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} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Use Database URLs in your Django Application" -HOMEPAGE=" - https://github.com/jazzband/dj-database-url/ - https://pypi.org/project/dj-database-url/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~loong ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - dev-python/django[${PYTHON_USEDEP}] - >=dev-python/typing-extensions-3.10.0.0[${PYTHON_USEDEP}] -" - -distutils_enable_tests unittest - -python_test() { - eunittest -s tests -} diff --git a/dev-python/dj-database-url/dj-database-url-2.3.0.ebuild b/dev-python/dj-database-url/dj-database-url-2.3.0.ebuild index 19e0570dd503..e1cdae73c173 100644 --- a/dev-python/dj-database-url/dj-database-url-2.3.0.ebuild +++ b/dev-python/dj-database-url/dj-database-url-2.3.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 ~loong ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" RDEPEND=" >=dev-python/django-4.2[${PYTHON_USEDEP}] diff --git a/dev-python/django/Manifest b/dev-python/django/Manifest index 70898df5d6cb..2910d7f1f7b8 100644 --- a/dev-python/django/Manifest +++ b/dev-python/django/Manifest @@ -4,5 +4,7 @@ DIST Django-5.0.9.checksum.txt 2574 BLAKE2B e3bef5a7fdfa8a383cc1d185dff3e8818dee DIST Django-5.0.9.tar.gz 10646283 BLAKE2B 898e7af1cde9c48589019c095a554f07ee3b92b2d26ff9d960a5cec05347664de608d8c12831f187fc8172e7f5dce947164419e937b26754691da4fec602ee2e SHA512 7d27bfdc07a79abe2a82a5579f27241384e507649006951a8e7d59d8ea627f6b240a13671ed4e61be58402a07d7b3359ca6df1ad69cc00876135810a543b249a DIST Django-5.1.2.checksum.txt 2572 BLAKE2B 7c74394e81e443b97ce3029b11f5a84d9b4b555e05d71046e7760650c62aa40eb72fd779b11be05d8683e07925aff6aec736bcd38c5e5380b4dd05edd220ebbd SHA512 2f5d7e5e35f964cf78f70dbaee42a24511f04848f082406f9404b75bbaaf6e460c3c1de44da3a6e48c602d3273a898361639b26c7f10328eade491cf2060d4a4 DIST Django-5.1.2.tar.gz 10711674 BLAKE2B f2020899c59a65aac74800db0f96bf93a10d01a404880857ee9bae95c35e9b0828c65ed888662503e2f9d85c1a54e3f1d5cb4827e8c2ce238845f70fb6571204 SHA512 7c7199fe5884f184ce6460df2186c6638110d77b06a37a5fc5cdfe359561b67d3ee8bb80d405c67fbbe16f10c50bfd0270a8e382d18c4366cb0da46d3ef7b4d2 +DIST Django-5.1.3.checksum.txt 2553 BLAKE2B dd8f2e988f51210594b0d16d55c9ec7dbe9db7327a56894d6f8f0c0ac7ead103ba78e34d9279af7a2bd1f662e5441aad9b74c35726b05211516798eda658ed94 SHA512 6f30aa4646455c3b1da4f8536b7b0e906f0ca3dd6cc0403f3f5d47268df0c3b4a922be12ebbe8b0025e46aa9e5d598d261582a7e6fedf4b7f2990a02a4895fb2 +DIST Django-5.1.3.tar.gz 10698518 BLAKE2B 409702f8e80d3a60dafce5c92c24a723c7ca3b0121d32f8a4a1e2a22fed7fe8e66aeef5c5c5eab9773020c98f601723f940bbd782245de4d1489f2421dc203e3 SHA512 43c7c196c8d34c2354d2c0c3a1e1d4a816841dcdf60ec6277567acce23aae125c502f1afa354838fc4722fd3e665587878e2c57caa056ad5a6130bb5643991be DIST django-4.2.8-pypy3.patch.xz 5900 BLAKE2B b7dc5c5fc162817a218ee6d025ed8a65559b80e4506e49ac393428c26e2621f9e7c5010b36f2412dea8194a9f1086ab21f97286eabd696c6a786285eb07393cf SHA512 f953b5adbd1364f1d84dde55087ccb493256b1327701275fd2fe99f3cd41751d18e002b6e21afc96892e1671428a6b8f3c2e4b88252c3c278f1a79e286bb73e3 DIST django-5.0-pypy3.patch.xz 6124 BLAKE2B 7eba7cc70b30743cf4e186a2c5b0f27c13f49114a7a80bcaa2b25fdd7a959583c115a302c9bc6da97c32f6401cf8f3616818ba759190d317c5b033a0f0088766 SHA512 c550e2b2c1243d13cd1f4908f4b6df606355d1491e3bf72042e4b4777a4474306ff0f67b1c2eb4ab4d137cc85bde52dcdbd54bec245d2ba2e092545be8a2993b diff --git a/dev-python/django/django-5.1.3.ebuild b/dev-python/django/django-5.1.3.ebuild new file mode 100644 index 000000000000..60766d7371f6 --- /dev/null +++ b/dev-python/django/django-5.1.3.ebuild @@ -0,0 +1,99 @@ +# 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} pypy3 ) +PYTHON_REQ_USE='sqlite?,threads(+)' + +inherit bash-completion-r1 distutils-r1 multiprocessing optfeature verify-sig + +DESCRIPTION="High-level Python web framework" +HOMEPAGE=" + https://www.djangoproject.com/ + https://github.com/django/django/ + https://pypi.org/project/Django/ +" +SRC_URI=" + https://media.djangoproject.com/releases/$(ver_cut 1-2)/${P^}.tar.gz + verify-sig? ( https://media.djangoproject.com/pgp/${P^}.checksum.txt ) +" +S="${WORKDIR}/${P^}" + +LICENSE="BSD" +# admin fonts: Roboto (media-fonts/roboto) +LICENSE+=" Apache-2.0" +# admin icons, jquery, xregexp.js +LICENSE+=" MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" +IUSE="doc sqlite test" +RESTRICT="!test? ( test )" + +RDEPEND=" + =dev-python/asgiref-3.8.1[${PYTHON_USEDEP}] + >=dev-python/sqlparse-0.3.1[${PYTHON_USEDEP}] + sys-libs/timezone-data +" +BDEPEND=" + test? ( + $(python_gen_impl_dep sqlite) + ${RDEPEND} + >=dev-python/docutils-0.19[${PYTHON_USEDEP}] + >=dev-python/jinja-2.11.0[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pillow[webp,${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + >=dev-python/selenium-4.8.0[${PYTHON_USEDEP}] + >=dev-python/tblib-1.5.0[${PYTHON_USEDEP}] + sys-devel/gettext + ) + verify-sig? ( >=sec-keys/openpgp-keys-django-20240807 ) +" + +PATCHES=( + "${FILESDIR}"/django-4.0-bashcomp.patch +) + +distutils_enable_sphinx docs --no-autodoc + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/django.asc + +src_unpack() { + if use verify-sig; then + cd "${DISTDIR}" || die + verify-sig_verify_signed_checksums \ + "${P^}.checksum.txt" sha256 "${P^}.tar.gz" + cd "${WORKDIR}" || die + fi + + default +} + +python_test() { + # Tests have non-standard assumptions about PYTHONPATH, + # and don't work with ${BUILD_DIR}/lib. + PYTHONPATH=. "${EPYTHON}" tests/runtests.py --settings=test_sqlite \ + -v2 --parallel="${EPYTEST_JOBS:-$(makeopts_jobs)}" || + die "Tests fail with ${EPYTHON}" +} + +python_install_all() { + newbashcomp extras/django_bash_completion ${PN}-admin + bashcomp_alias ${PN}-admin django-admin.py + + distutils-r1_python_install_all +} + +pkg_postinst() { + optfeature_header "Additional Backend support can be enabled via:" + optfeature "MySQL backend support" dev-python/mysqlclient + optfeature "PostgreSQL backend support" dev-python/psycopg:0 + optfeature_header + optfeature "GEO Django" "sci-libs/gdal[geos]" + optfeature "Memcached support" dev-python/pylibmc dev-python/python-memcached + optfeature "ImageField Support" dev-python/pillow + optfeature "Password encryption" dev-python/bcrypt +} diff --git a/dev-python/dulwich/dulwich-0.22.4-r1.ebuild b/dev-python/dulwich/dulwich-0.22.4-r1.ebuild new file mode 100644 index 000000000000..be352a0472dc --- /dev/null +++ b/dev-python/dulwich/dulwich-0.22.4-r1.ebuild @@ -0,0 +1,116 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CARGO_OPTIONAL=1 +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +CRATES=" + autocfg@1.4.0 + cfg-if@1.0.0 + heck@0.5.0 + indoc@2.0.5 + libc@0.2.159 + memchr@2.7.4 + memoffset@0.9.1 + once_cell@1.20.2 + portable-atomic@1.9.0 + proc-macro2@1.0.88 + pyo3-build-config@0.22.5 + pyo3-ffi@0.22.5 + pyo3-macros-backend@0.22.5 + pyo3-macros@0.22.5 + pyo3@0.22.5 + quote@1.0.37 + syn@2.0.79 + target-lexicon@0.12.16 + unicode-ident@1.0.13 + unindent@0.2.3 +" + +inherit cargo distutils-r1 pypi + +DESCRIPTION="Pure-Python implementation of the Git file formats and protocols" +HOMEPAGE=" + https://github.com/jelmer/dulwich/ + https://pypi.org/project/dulwich/ +" +SRC_URI+=" + native-extensions? ( + ${CARGO_CRATE_URIS} + ) +" + +LICENSE="GPL-2+ Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="doc examples +native-extensions test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/urllib3-1.25[${PYTHON_USEDEP}] +" +BDEPEND=" + native-extensions? ( + ${RUST_DEPEND} + dev-python/setuptools-rust[${PYTHON_USEDEP}] + ) + test? ( + ${RDEPEND} + app-crypt/gpgme[python,${PYTHON_USEDEP}] + dev-python/fastimport[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs + +QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/dulwich/_.*.so" + +src_unpack() { + cargo_src_unpack +} + +src_prepare() { + default + + if use !native-extensions; then + # avoid hard dep on rust via setuptools_rust + # https://github.com/jelmer/dulwich/issues/1405 + sed -i \ + -e '/from setuptools_rust/d' \ + -e '/^rust_extensions = \[/,/^\]/d' \ + setup.py || die + fi +} + +python_compile() { + unset PURE + # TODO: enable Rust extensions + if ! use native-extensions; then + local -x PURE=1 + fi + + distutils-r1_python_compile +} + +python_test() { + # remove interference from the tests that do stuff like user.name + unset GIT_AUTHOR_NAME GIT_AUTHOR_EMAIL GIT_AUTHOR_DATE + unset GIT_COMMITTER_NAME GIT_COMMITTER_EMAIL GIT_COMMITTER_DATE + unset EMAIL + # Do not use make check which rebuilds the extension and uses -Werror, + # causing unexpected failures. + "${EPYTHON}" -m unittest -v tests.test_suite || + die "tests failed with ${EPYTHON}" +} + +python_install_all() { + if use examples; then + docompress -x "/usr/share/doc/${PF}/examples" + dodoc -r examples + fi + distutils-r1_python_install_all +} diff --git a/dev-python/dulwich/dulwich-0.22.4.ebuild b/dev-python/dulwich/dulwich-0.22.4.ebuild deleted file mode 100644 index be352a0472dc..000000000000 --- a/dev-python/dulwich/dulwich-0.22.4.ebuild +++ /dev/null @@ -1,116 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CARGO_OPTIONAL=1 -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -CRATES=" - autocfg@1.4.0 - cfg-if@1.0.0 - heck@0.5.0 - indoc@2.0.5 - libc@0.2.159 - memchr@2.7.4 - memoffset@0.9.1 - once_cell@1.20.2 - portable-atomic@1.9.0 - proc-macro2@1.0.88 - pyo3-build-config@0.22.5 - pyo3-ffi@0.22.5 - pyo3-macros-backend@0.22.5 - pyo3-macros@0.22.5 - pyo3@0.22.5 - quote@1.0.37 - syn@2.0.79 - target-lexicon@0.12.16 - unicode-ident@1.0.13 - unindent@0.2.3 -" - -inherit cargo distutils-r1 pypi - -DESCRIPTION="Pure-Python implementation of the Git file formats and protocols" -HOMEPAGE=" - https://github.com/jelmer/dulwich/ - https://pypi.org/project/dulwich/ -" -SRC_URI+=" - native-extensions? ( - ${CARGO_CRATE_URIS} - ) -" - -LICENSE="GPL-2+ Apache-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="doc examples +native-extensions test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/urllib3-1.25[${PYTHON_USEDEP}] -" -BDEPEND=" - native-extensions? ( - ${RUST_DEPEND} - dev-python/setuptools-rust[${PYTHON_USEDEP}] - ) - test? ( - ${RDEPEND} - app-crypt/gpgme[python,${PYTHON_USEDEP}] - dev-python/fastimport[${PYTHON_USEDEP}] - ) -" - -distutils_enable_sphinx docs - -QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/dulwich/_.*.so" - -src_unpack() { - cargo_src_unpack -} - -src_prepare() { - default - - if use !native-extensions; then - # avoid hard dep on rust via setuptools_rust - # https://github.com/jelmer/dulwich/issues/1405 - sed -i \ - -e '/from setuptools_rust/d' \ - -e '/^rust_extensions = \[/,/^\]/d' \ - setup.py || die - fi -} - -python_compile() { - unset PURE - # TODO: enable Rust extensions - if ! use native-extensions; then - local -x PURE=1 - fi - - distutils-r1_python_compile -} - -python_test() { - # remove interference from the tests that do stuff like user.name - unset GIT_AUTHOR_NAME GIT_AUTHOR_EMAIL GIT_AUTHOR_DATE - unset GIT_COMMITTER_NAME GIT_COMMITTER_EMAIL GIT_COMMITTER_DATE - unset EMAIL - # Do not use make check which rebuilds the extension and uses -Werror, - # causing unexpected failures. - "${EPYTHON}" -m unittest -v tests.test_suite || - die "tests failed with ${EPYTHON}" -} - -python_install_all() { - if use examples; then - docompress -x "/usr/share/doc/${PF}/examples" - dodoc -r examples - fi - distutils-r1_python_install_all -} diff --git a/dev-python/ensurepip-pip/Manifest b/dev-python/ensurepip-pip/Manifest index 7fe03ded49b4..79bab95ea4fd 100644 --- a/dev-python/ensurepip-pip/Manifest +++ b/dev-python/ensurepip-pip/Manifest @@ -3,3 +3,4 @@ DIST pip-24.1-py3-none-any.whl 1823006 BLAKE2B ca5282b1100243cc4e391ce30d5ae7d49 DIST pip-24.1.1-py3-none-any.whl 1824282 BLAKE2B dc8b4938002bc8ededf5f3fb5f47492b529cb846f145308d5392c04778417f7e85527064e791c4dec4bfe6fc407bcc4d7ad26ff84e0f4c436dce5db8d9ec1f25 SHA512 591c0862ca7469a00a4a0220ca9acbd4834394abb0abcd44bd071a1b392b46029d618c2219e327cd43bacdd5d62f0f47d88454d60d4028f0ba7cd02ce3e648bf DIST pip-24.1.2-py3-none-any.whl 1824406 BLAKE2B b3e951f444bc93cf64a35acbef5363f7e44607f567f73eff886f5a14bd97fe5b18aa5a8de01b899601847bccee24318843b41c35cd484e758ffb4c11460b458f SHA512 bc8ed36bc9e618b7e299d412d07472b46968ba6485dd1d7eee4e8583996aa29cb268ff5d3114a6e5efeae9f6407c9f9066a0e4f5c2a0be76e6cd234b85cc2bec DIST pip-24.2-py3-none-any.whl 1815170 BLAKE2B 8d93bdfb2f3ae4fafd5433df1f9871ca549029457dd4395cf7c53fff93d235768f042cb2f7b6d5b5af068df1867add1a0aca83d329a6d66ecd64fa51e01f0939 SHA512 5c8c6531a477aa4deb9e880f079c6971318b3b0eae007a45c7d73aff1da050824bb6c44e8b71487c9b937732bca93c29b07ed2272fff118cc11fd27bad3022f5 +DIST pip-24.3.1-py3-none-any.whl 1822182 BLAKE2B 8ec4f45dcc84094426db053dea43d86d14d24f6f23ca8b1b094a989f08b5653a2290df24e907c3ed283a668fa6da305620b4f74a3054d67f6e048327c5f06c66 SHA512 21cb4a844b7c9216a4878639a876acdce17ffda9e7228e85e344169d548a3f4316e5ec5183a950848c7391e2a650152e4a1e1f0f020de57f895c458de5ee7b82 diff --git a/dev-python/ensurepip-pip/ensurepip-pip-24.3.1.ebuild b/dev-python/ensurepip-pip/ensurepip-pip-24.3.1.ebuild new file mode 100644 index 000000000000..917cc77faea1 --- /dev/null +++ b/dev-python/ensurepip-pip/ensurepip-pip-24.3.1.ebuild @@ -0,0 +1,24 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit pypi + +DESCRIPTION="Shared pip wheel for ensurepip Python module" +HOMEPAGE="https://pypi.org/project/pip/" +SRC_URI="$(pypi_wheel_url "${PN#ensurepip-}")" +S=${DISTDIR} + +LICENSE="Apache-2.0 BSD BSD-2 ISC LGPL-2.1+ MIT MPL-2.0 PSF-2" +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" + +RDEPEND=" + ! -Date: Mon, 23 Sep 2024 09:42:21 -0400 -Subject: [PATCH] Don't require absolute offsets in zip tests (#1691) - ---- - fsspec/implementations/tests/test_zip.py | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/fsspec/implementations/tests/test_zip.py b/fsspec/implementations/tests/test_zip.py -index ecd082f3f..8bf8155d9 100644 ---- a/fsspec/implementations/tests/test_zip.py -+++ b/fsspec/implementations/tests/test_zip.py -@@ -169,12 +169,16 @@ def _assert_all_except_context_dependent_variables(result, expected_result): - result_without_date_time.pop("_raw_time") - result_without_date_time.pop("external_attr") - result_without_date_time.pop("create_system") -+ result_without_date_time.pop("_end_offset", None) -+ result_without_date_time.pop("header_offset", None) - - expected_result_without_date_time = expected_result[path].copy() - expected_result_without_date_time.pop("date_time") - expected_result_without_date_time.pop("_raw_time") - expected_result_without_date_time.pop("external_attr") - expected_result_without_date_time.pop("create_system") -+ expected_result_without_date_time.pop("_end_offset", None) -+ expected_result_without_date_time.pop("header_offset", None) - assert result_without_date_time == expected_result_without_date_time - - -From 0021859ff78bbf62e86c330e2dad00c5dd205108 Mon Sep 17 00:00:00 2001 -From: Martin Durant -Date: Wed, 2 Oct 2024 11:37:14 -0400 -Subject: [PATCH] Limit fields checked in ZIP tests - ---- - fsspec/asyn.py | 4 +++ - fsspec/implementations/tests/test_zip.py | 34 +++++++++++++----------- - 2 files changed, 23 insertions(+), 15 deletions(-) - -diff --git a/fsspec/asyn.py b/fsspec/asyn.py -index f203fa0a4..de41839ea 100644 ---- a/fsspec/asyn.py -+++ b/fsspec/asyn.py -@@ -344,6 +344,10 @@ async def _rm(self, path, recursive=False, batch_size=None, **kwargs): - async def _cp_file(self, path1, path2, **kwargs): - raise NotImplementedError - -+ async def _mv_file(self, path1, path2): -+ await self._cp_file(path1, path2) -+ await self._rm_file(path1) -+ - async def _copy( - self, - path1, -diff --git a/fsspec/implementations/tests/test_zip.py b/fsspec/implementations/tests/test_zip.py -index 8bf8155d9..14d00086e 100644 ---- a/fsspec/implementations/tests/test_zip.py -+++ b/fsspec/implementations/tests/test_zip.py -@@ -164,21 +164,25 @@ def zip_file_fixture(tmp_path): - def _assert_all_except_context_dependent_variables(result, expected_result): - for path in expected_result.keys(): - assert result[path] -- result_without_date_time = result[path].copy() -- result_without_date_time.pop("date_time") -- result_without_date_time.pop("_raw_time") -- result_without_date_time.pop("external_attr") -- result_without_date_time.pop("create_system") -- result_without_date_time.pop("_end_offset", None) -- result_without_date_time.pop("header_offset", None) -- -- expected_result_without_date_time = expected_result[path].copy() -- expected_result_without_date_time.pop("date_time") -- expected_result_without_date_time.pop("_raw_time") -- expected_result_without_date_time.pop("external_attr") -- expected_result_without_date_time.pop("create_system") -- expected_result_without_date_time.pop("_end_offset", None) -- expected_result_without_date_time.pop("header_offset", None) -+ fields = [ -+ "orig_filename", -+ "filename", -+ "compress_type", -+ "comment", -+ "extra", -+ "CRC", -+ "compress_size", -+ "file_size", -+ "name", -+ "size", -+ "type", -+ ] -+ -+ result_without_date_time = {k: result[path][k] for k in fields} -+ -+ expected_result_without_date_time = { -+ k: expected_result[path][k] for k in fields -+ } - assert result_without_date_time == expected_result_without_date_time - - diff --git a/dev-python/fsspec/fsspec-2024.10.0.ebuild b/dev-python/fsspec/fsspec-2024.10.0.ebuild index abf68b2617bf..39df854949c1 100644 --- a/dev-python/fsspec/fsspec-2024.10.0.ebuild +++ b/dev-python/fsspec/fsspec-2024.10.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/fsspec/fsspec-2024.9.0.ebuild b/dev-python/fsspec/fsspec-2024.9.0.ebuild deleted file mode 100644 index 396d185111cc..000000000000 --- a/dev-python/fsspec/fsspec-2024.9.0.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 2020-2024 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} - -PATCHES=( - # https://github.com/fsspec/filesystem_spec/pull/1689 - # https://github.com/fsspec/filesystem_spec/pull/1691 - # https://github.com/fsspec/filesystem_spec/pull/1700 - "${FILESDIR}/${P}-backports.patch" -) - -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 -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p asyncio -p pytest_mock -o tmp_path_retention_policy=all -} diff --git a/dev-python/google-api-core/google-api-core-2.22.0.ebuild b/dev-python/google-api-core/google-api-core-2.22.0.ebuild index b50f69f9e652..5989aa80ded7 100644 --- a/dev-python/google-api-core/google-api-core-2.22.0.ebuild +++ b/dev-python/google-api-core/google-api-core-2.22.0.ebuild @@ -23,7 +23,7 @@ S=${WORKDIR}/${MY_P} LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 arm64 ~x86" IUSE="grpc" RDEPEND=" diff --git a/dev-python/grpcio-status/grpcio-status-1.67.0.ebuild b/dev-python/grpcio-status/grpcio-status-1.67.0.ebuild index b955cbe08e19..a2c909140715 100644 --- a/dev-python/grpcio-status/grpcio-status-1.67.0.ebuild +++ b/dev-python/grpcio-status/grpcio-status-1.67.0.ebuild @@ -23,7 +23,7 @@ S=${WORKDIR}/${MY_P}/src/python/grpcio_status LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 arm64 ~x86" RDEPEND=" >=dev-python/grpcio-${PV}[${PYTHON_USEDEP}] diff --git a/dev-python/ipython/Manifest b/dev-python/ipython/Manifest index 1905e0d774f9..5349cc452829 100644 --- a/dev-python/ipython/Manifest +++ b/dev-python/ipython/Manifest @@ -1,2 +1 @@ -DIST ipython-8.28.0.tar.gz 5495762 BLAKE2B cd80970486b5c8128fc5f20382cd087ecbe6a1f4566db52030e9825fbd24acbef8b1857dc74592f5fe1f278aabf0b34913e7be53d8851bf6f9cefccc9360662e SHA512 5634b9faf55eec9cf2775587e994b4298ae9ddd6420fbdcc6a9c32c0f9bbe39f5137e6b39a2f5a5c40efa1deba668d81fe39867151480eb4b88f3850d8670719 DIST ipython-8.29.0.tar.gz 5497513 BLAKE2B 49e68bfae3a1f29e9def5f1140fa0abcad163e75ebb597dd2aff4fb97bcc1c692a82b194378e071fa4f8d31d5960bc6a68cdc973ab8974752f5820c997b9fd12 SHA512 684c6f541c407ace48f6f889ad2fe776e3e32092c2af1d5863a07708c84469695165ae2765c98341d5098a362d47ee7f62e9ebd014494321b1928e44e64064f3 diff --git a/dev-python/ipython/ipython-8.28.0.ebuild b/dev-python/ipython/ipython-8.28.0.ebuild deleted file mode 100644 index 265742e39f2a..000000000000 --- a/dev-python/ipython/ipython-8.28.0.ebuild +++ /dev/null @@ -1,161 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) -PYTHON_REQ_USE='readline(+),sqlite,threads(+)' - -inherit distutils-r1 optfeature pypi virtualx - -DESCRIPTION="Advanced interactive shell for Python" -HOMEPAGE=" - https://ipython.org/ - https://github.com/ipython/ipython/ - https://pypi.org/project/ipython/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" -IUSE="examples notebook nbconvert qt5 +smp test" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-python/decorator[${PYTHON_USEDEP}] - >=dev-python/jedi-0.16[${PYTHON_USEDEP}] - dev-python/matplotlib-inline[${PYTHON_USEDEP}] - >=dev-python/pexpect-4.3[${PYTHON_USEDEP}] - >=dev-python/prompt-toolkit-3.0.41[${PYTHON_USEDEP}] - =dev-python/pygments-2.4.0[${PYTHON_USEDEP}] - dev-python/stack-data[${PYTHON_USEDEP}] - >=dev-python/traitlets-5.13.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/exceptiongroup[${PYTHON_USEDEP}] - ' 3.10) - $(python_gen_cond_dep ' - dev-python/typing-extensions[${PYTHON_USEDEP}] - ' 3.10 3.11) -" - -BDEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - app-text/dvipng[truetype] - >=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}] - >=dev-python/matplotlib-3.9[${PYTHON_USEDEP}] - dev-python/nbformat[${PYTHON_USEDEP}] - >=dev-python/numpy-1.23[${PYTHON_USEDEP}] - dev-python/matplotlib-inline[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - dev-python/pickleshare[${PYTHON_USEDEP}] - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/testpath[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -RDEPEND+=" - nbconvert? ( - dev-python/nbconvert[${PYTHON_USEDEP}] - ) -" -PDEPEND=" - $(python_gen_cond_dep ' - qt5? ( dev-python/qtconsole[${PYTHON_USEDEP}] ) - ' 'python*') - $(python_gen_cond_dep ' - notebook? ( - dev-python/notebook[${PYTHON_USEDEP}] - dev-python/ipywidgets[${PYTHON_USEDEP}] - dev-python/widgetsnbextension[${PYTHON_USEDEP}] - ) - ' 3.{10..12}) - smp? ( - >=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}] - >=dev-python/ipyparallel-6.2.3[${PYTHON_USEDEP}] - ) -" - -python_prepare_all() { - # Rename the test directory to reduce sys.path pollution - # https://github.com/ipython/ipython/issues/12892 - mv IPython/extensions/{,ipython_}tests || die - - distutils-r1_python_prepare_all -} - -src_test() { - virtx distutils-r1_src_test -} - -python_test() { - local -x IPYTHON_TESTING_TIMEOUT_SCALE=20 - local EPYTEST_DESELECT=( - # TODO: looks to be a regression due to a newer dep - IPython/core/tests/test_oinspect.py::test_class_signature - IPython/core/tests/test_oinspect.py::test_render_signature_long - IPython/terminal/tests/test_shortcuts.py::test_modify_shortcut_with_filters - ) - - case ${EPYTHON} in - pypy3) - EPYTEST_DESELECT+=( - # https://github.com/ipython/ipython/issues/14244 - IPython/lib/tests/test_display.py::TestAudioDataWithoutNumpy - ) - ;; - python3.13) - EPYTEST_DESELECT+=( - # docstring mismatch? - IPython/core/tests/test_debugger.py::IPython.core.tests.test_debugger.test_ipdb_magics - ) - ;; - esac - - # nonfatal implied by virtx - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - nonfatal epytest -p asyncio --asyncio-mode=auto || - die "Tests failed on ${EPYTHON}" -} - -python_install() { - distutils-r1_python_install - - # Create ipythonX.Y symlinks. - # TODO: - # 1. do we want them for pypy? No. pypy has no numpy - # 2. handle it in the eclass instead (use _python_ln_rel). - # With pypy not an option the dosym becomes unconditional - dosym ../lib/python-exec/${EPYTHON}/ipython \ - /usr/bin/ipython${EPYTHON#python} -} - -python_install_all() { - distutils-r1_python_install_all - - if use examples; then - dodoc -r examples - docompress -x /usr/share/doc/${PF}/examples - fi -} - -pkg_postinst() { - optfeature "code formatting" dev-python/black - optfeature "sympyprinting" dev-python/sympy - optfeature "cythonmagic" dev-python/cython - optfeature "%lprun magic command" dev-python/line-profiler - optfeature "%matplotlib magic command" dev-python/matplotlib-inline - - if use nbconvert; then - if ! has_version virtual/pandoc ; then - einfo "Node.js will be used to convert notebooks to other formats" - einfo "like HTML. Support for that is still experimental. If you" - einfo "encounter any problems, please use app-text/pandoc instead." - fi - fi -} diff --git a/dev-python/ipython/ipython-8.29.0.ebuild b/dev-python/ipython/ipython-8.29.0.ebuild index 3141060317f2..265742e39f2a 100644 --- a/dev-python/ipython/ipython-8.29.0.ebuild +++ b/dev-python/ipython/ipython-8.29.0.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" IUSE="examples notebook nbconvert qt5 +smp test" RESTRICT="!test? ( test )" diff --git a/dev-python/jellyfish/jellyfish-1.1.0-r1.ebuild b/dev-python/jellyfish/jellyfish-1.1.0-r1.ebuild new file mode 100644 index 000000000000..f40f9af5ea86 --- /dev/null +++ b/dev-python/jellyfish/jellyfish-1.1.0-r1.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2024 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} pypy3 ) + +CRATES=" + ahash@0.8.11 + autocfg@1.3.0 + cfg-if@1.0.0 + csv-core@0.1.11 + csv@1.3.0 + getrandom@0.2.15 + heck@0.5.0 + indoc@2.0.5 + itoa@1.0.11 + libc@0.2.155 + memchr@2.7.4 + memoffset@0.9.1 + num-traits@0.2.19 + once_cell@1.19.0 + portable-atomic@1.7.0 + proc-macro2@1.0.86 + pyo3-build-config@0.22.2 + pyo3-ffi@0.22.2 + pyo3-macros-backend@0.22.2 + pyo3-macros@0.22.2 + pyo3@0.22.2 + quote@1.0.36 + ryu@1.0.18 + serde@1.0.204 + serde_derive@1.0.204 + smallvec@1.13.2 + syn@2.0.72 + target-lexicon@0.12.15 + tinyvec@1.8.0 + tinyvec_macros@0.1.1 + unicode-ident@1.0.12 + unicode-normalization@0.1.23 + unicode-segmentation@1.11.0 + unindent@0.2.3 + version_check@0.9.5 + wasi@0.11.0+wasi-snapshot-preview1 + zerocopy-derive@0.7.35 + zerocopy@0.7.35 +" + +inherit cargo distutils-r1 pypi + +DESCRIPTION="Python module for doing approximate and phonetic matching of strings" +HOMEPAGE=" + https://github.com/jamesturk/jellyfish/ + https://pypi.org/project/jellyfish/ +" +SRC_URI+=" + ${CARGO_CRATE_URIS} +" + +LICENSE="MIT" +# Dependent crate licenses +LICENSE+=" + Apache-2.0-with-LLVM-exceptions MIT Unicode-DFS-2016 + || ( Apache-2.0 Boost-1.0 ) +" +SLOT="0" +KEYWORDS="amd64 arm64 ~ppc64 ~riscv x86" + +QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/jellyfish/_rustyfish.*.so" + +distutils_enable_tests pytest + +export UNSAFE_PYO3_SKIP_VERSION_CHECK=1 + +pkg_setup() { + distutils-r1_pkg_setup + cargo_src_prepare +} + +python_test_all() { + cargo_src_test +} diff --git a/dev-python/jellyfish/jellyfish-1.1.0.ebuild b/dev-python/jellyfish/jellyfish-1.1.0.ebuild deleted file mode 100644 index 9caf2a22007c..000000000000 --- a/dev-python/jellyfish/jellyfish-1.1.0.ebuild +++ /dev/null @@ -1,79 +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=maturin -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) - -CRATES=" - ahash@0.8.11 - autocfg@1.3.0 - cfg-if@1.0.0 - csv-core@0.1.11 - csv@1.3.0 - getrandom@0.2.15 - heck@0.5.0 - indoc@2.0.5 - itoa@1.0.11 - libc@0.2.155 - memchr@2.7.4 - memoffset@0.9.1 - num-traits@0.2.19 - once_cell@1.19.0 - portable-atomic@1.7.0 - proc-macro2@1.0.86 - pyo3-build-config@0.22.2 - pyo3-ffi@0.22.2 - pyo3-macros-backend@0.22.2 - pyo3-macros@0.22.2 - pyo3@0.22.2 - quote@1.0.36 - ryu@1.0.18 - serde@1.0.204 - serde_derive@1.0.204 - smallvec@1.13.2 - syn@2.0.72 - target-lexicon@0.12.15 - tinyvec@1.8.0 - tinyvec_macros@0.1.1 - unicode-ident@1.0.12 - unicode-normalization@0.1.23 - unicode-segmentation@1.11.0 - unindent@0.2.3 - version_check@0.9.5 - wasi@0.11.0+wasi-snapshot-preview1 - zerocopy-derive@0.7.35 - zerocopy@0.7.35 -" - -inherit cargo distutils-r1 pypi - -DESCRIPTION="Python module for doing approximate and phonetic matching of strings" -HOMEPAGE=" - https://github.com/jamesturk/jellyfish/ - https://pypi.org/project/jellyfish/ -" -SRC_URI+=" - ${CARGO_CRATE_URIS} -" - -LICENSE="MIT" -# Dependent crate licenses -LICENSE+=" - Apache-2.0-with-LLVM-exceptions MIT Unicode-DFS-2016 - || ( Apache-2.0 Boost-1.0 ) -" -SLOT="0" -KEYWORDS="amd64 arm64 ~ppc64 ~riscv x86" - -QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/jellyfish/_rustyfish.*.so" - -distutils_enable_tests pytest - -export UNSAFE_PYO3_SKIP_VERSION_CHECK=1 - -python_test_all() { - cargo_src_test -} diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index 37a64204a00a..a11d7c268c91 100644 --- a/dev-python/langdetect/Manifest +++ b/dev-python/langdetect/Manifest @@ -1,3 +1 @@ DIST langdetect-1.0.9.tar.gz 981474 BLAKE2B ea8a9c3f16a2987c080742473bff4f2c1503f53fb3c2b40b0b1d6212bb6133ea22dce7864ffcfb8968c3a46b157d45cb3e2cf6f84bdbed0266cc716a853b032c SHA512 7558d674c47b080c79e43a00a25d2c7f77188cf60bea2cecb3bebb803d75e1aa42b43c74bd26ea1b541f4cb927421908882cbec01a91f0913984217e71ccc8db -EBUILD langdetect-1.0.9.ebuild 494 BLAKE2B 9b3521c5721afa49a58e0c35267f7d82bb56bd7e1d6d3152be0d36cd220180a526cb20b90b1113fbf0fff4a512137570f0b3bcf864498b7b7cc00403cb61ca27 SHA512 16d311400bf84a5f04e15f3da4b68b2810e4b005009f4d03dc8a487176dfc294403c976c412c83dcfa8084a49ef7b7d5389b43fb2ba446ce107ce4595e3558c6 -MISC metadata.xml 457 BLAKE2B 630128a3e982b6d60cc7b9f74c79fcb5ee47a71a02c73a50af9da8cedb6fad8e20a7f74b881e5b25c6483b92c9edbd56552cd38b2d9cbfa8b3eb4530facea969 SHA512 674f4f5cd809c6c77bc14e0f5687fa972bef14bdfa0b3343c5d66b7163eef1906eb87d060c8288732f825de71dce291ad0b841a5f2f0dd230f957b5687e45d45 diff --git a/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch new file mode 100644 index 000000000000..637368d2f237 --- /dev/null +++ b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch @@ -0,0 +1,13 @@ +Fix "Package 'langdetect.profiles' is absent from the `packages` configuration." + +--- a/setup.py ++++ b/setup.py +@@ -18,7 +18,7 @@ setup( + author_email='michal.danilak@gmail.com', + url='https://github.com/Mimino666/langdetect', + keywords='language detection library', +- packages=['langdetect', 'langdetect.utils', 'langdetect.tests'], ++ packages=['langdetect', 'langdetect.utils', 'langdetect.tests', 'langdetect.profiles'], + include_package_data=True, + install_requires=['six'], + license='MIT', diff --git a/dev-python/langdetect/langdetect-1.0.9.ebuild b/dev-python/langdetect/langdetect-1.0.9.ebuild index 56733bbffc48..eb2586280d80 100644 --- a/dev-python/langdetect/langdetect-1.0.9.ebuild +++ b/dev-python/langdetect/langdetect-1.0.9.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,4 +19,6 @@ KEYWORDS="~amd64" RDEPEND="dev-python/six[${PYTHON_USEDEP}]" +PATCHES=( "${FILESDIR}/${P}-explicit-config.patch" ) + distutils_enable_tests unittest diff --git a/dev-python/langdetect/metadata.xml b/dev-python/langdetect/metadata.xml index 020e07f2a3dd..c0f74ac187e2 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -2,11 +2,9 @@ - marcin.deranek@slonko.net - Marcin Deranek + pastalian46@gmail.com + Takuya Wakazono - - https://github.com/Mimino666/langdetect/issues - - slonko-overlay + + gentoo-guru-overlay \ No newline at end of file diff --git a/dev-python/libcst/libcst-1.5.0-r1.ebuild b/dev-python/libcst/libcst-1.5.0-r1.ebuild new file mode 100644 index 000000000000..c70cba373eaa --- /dev/null +++ b/dev-python/libcst/libcst-1.5.0-r1.ebuild @@ -0,0 +1,200 @@ +# Copyright 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 ) + +CRATES=" + aho-corasick@1.0.4 + anes@0.1.6 + annotate-snippets@0.6.1 + anstyle@1.0.2 + autocfg@1.1.0 + bitflags@1.3.2 + bitflags@2.4.0 + bumpalo@3.12.0 + cast@0.3.0 + cc@1.0.83 + cfg-if@1.0.0 + chic@1.2.2 + ciborium-io@0.2.0 + ciborium-ll@0.2.0 + ciborium@0.2.0 + clap@4.4.0 + clap_builder@4.4.0 + clap_lex@0.5.1 + criterion-plot@0.5.0 + criterion@0.5.1 + crossbeam-deque@0.8.1 + crossbeam-epoch@0.9.9 + crossbeam-utils@0.8.10 + difference@2.0.0 + either@1.6.1 + equivalent@1.0.1 + errno-dragonfly@0.1.2 + errno@0.3.2 + glob@0.3.0 + half@1.8.2 + hashbrown@0.14.5 + heck@0.4.1 + hermit-abi@0.3.2 + indexmap@2.4.0 + indoc@2.0.4 + instant@0.1.12 + is-terminal@0.4.9 + itertools@0.10.5 + itertools@0.13.0 + itoa@1.0.2 + js-sys@0.3.58 + lazy_static@1.4.0 + libc@0.2.149 + linux-raw-sys@0.4.10 + lock_api@0.4.7 + log@0.4.17 + memchr@2.7.4 + memoffset@0.6.5 + memoffset@0.9.0 + num-traits@0.2.15 + once_cell@1.16.0 + oorandom@11.1.3 + parking_lot@0.11.2 + parking_lot_core@0.8.5 + paste@1.0.15 + peg-macros@0.8.4 + peg-runtime@0.8.3 + peg@0.8.4 + plotters-backend@0.3.2 + plotters-svg@0.3.1 + plotters@0.3.1 + proc-macro2@1.0.86 + pyo3-build-config@0.20.2 + pyo3-ffi@0.20.2 + pyo3-macros-backend@0.20.2 + pyo3-macros@0.20.2 + pyo3@0.20.2 + quote@1.0.37 + rayon-core@1.12.1 + rayon@1.10.0 + redox_syscall@0.2.13 + regex-automata@0.4.7 + regex-syntax@0.8.4 + regex@1.10.6 + rustix@0.38.19 + ryu@1.0.10 + same-file@1.0.6 + scopeguard@1.1.0 + serde@1.0.208 + serde_derive@1.0.208 + serde_json@1.0.125 + serde_spanned@0.6.7 + smallvec@1.8.1 + syn@1.0.109 + syn@2.0.75 + target-lexicon@0.12.4 + termcolor@1.1.3 + thiserror-impl@1.0.63 + thiserror@1.0.63 + tinytemplate@1.2.1 + toml@0.8.19 + toml_datetime@0.6.8 + toml_edit@0.22.20 + trybuild@1.0.99 + unicode-ident@1.0.1 + unindent@0.2.3 + walkdir@2.3.2 + wasm-bindgen-backend@0.2.81 + wasm-bindgen-macro-support@0.2.81 + wasm-bindgen-macro@0.2.81 + wasm-bindgen-shared@0.2.81 + wasm-bindgen@0.2.81 + web-sys@0.3.58 + winapi-i686-pc-windows-gnu@0.4.0 + winapi-util@0.1.5 + winapi-x86_64-pc-windows-gnu@0.4.0 + winapi@0.3.9 + windows-sys@0.48.0 + windows-targets@0.48.5 + windows_aarch64_gnullvm@0.48.5 + windows_aarch64_msvc@0.48.5 + windows_i686_gnu@0.48.5 + windows_i686_msvc@0.48.5 + windows_x86_64_gnu@0.48.5 + windows_x86_64_gnullvm@0.48.5 + windows_x86_64_msvc@0.48.5 + winnow@0.6.18 +" + +inherit cargo distutils-r1 pypi + +DESCRIPTION="A concrete syntax tree with AST-like properties for Python" +HOMEPAGE=" + https://github.com/Instagram/LibCST/ + https://pypi.org/project/libcst/ +" +SRC_URI+=" + ${CARGO_CRATE_URIS} +" + +LICENSE="MIT Apache-2.0 PSF-2" +# Dependent crate licenses +LICENSE+=" Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD MIT" +SLOT="0" +KEYWORDS="amd64 ~riscv" + +RDEPEND=" + >=dev-python/pyyaml-5.2[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-rust[${PYTHON_USEDEP}] + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/black[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +QA_FLAGS_IGNORED="usr/lib/py.*/site-packages/libcst/native.*" + +pkg_setup() { + distutils_r1_pkg_setup + rust_pkg_setup +} + +python_test() { + local EPYTEST_DESELECT=( + # TODO + libcst/codemod/tests/test_codemod_cli.py::TestCodemodCLI::test_codemod_formatter_error_input + ) + local EPYTEST_IGNORE=( + # fuzzing, require hypothesmith + libcst/tests/test_fuzz.py + # require pyre-check + libcst/metadata/tests/test_type_inference_provider.py + # requires `python -m libcst.codegen.generate` which has extra + # deps and needs patching to work in our venv + # TODO: figure out if we don't need that for revdeps anyway + libcst/codegen/tests/test_codegen_clean.py + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + # fixtures + ln -s "${S}/native" . || die + + nonfatal epytest + local ret=${?} + + rm native || die + + [[ ${ret} -ne 0 ]] && die "Tests failed on ${EPYTHON}" +} + +python_test_all() { + cd native || die + cargo_src_test +} diff --git a/dev-python/libcst/libcst-1.5.0.ebuild b/dev-python/libcst/libcst-1.5.0.ebuild deleted file mode 100644 index 650dd6cef899..000000000000 --- a/dev-python/libcst/libcst-1.5.0.ebuild +++ /dev/null @@ -1,195 +0,0 @@ -# Copyright 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 ) - -CRATES=" - aho-corasick@1.0.4 - anes@0.1.6 - annotate-snippets@0.6.1 - anstyle@1.0.2 - autocfg@1.1.0 - bitflags@1.3.2 - bitflags@2.4.0 - bumpalo@3.12.0 - cast@0.3.0 - cc@1.0.83 - cfg-if@1.0.0 - chic@1.2.2 - ciborium-io@0.2.0 - ciborium-ll@0.2.0 - ciborium@0.2.0 - clap@4.4.0 - clap_builder@4.4.0 - clap_lex@0.5.1 - criterion-plot@0.5.0 - criterion@0.5.1 - crossbeam-deque@0.8.1 - crossbeam-epoch@0.9.9 - crossbeam-utils@0.8.10 - difference@2.0.0 - either@1.6.1 - equivalent@1.0.1 - errno-dragonfly@0.1.2 - errno@0.3.2 - glob@0.3.0 - half@1.8.2 - hashbrown@0.14.5 - heck@0.4.1 - hermit-abi@0.3.2 - indexmap@2.4.0 - indoc@2.0.4 - instant@0.1.12 - is-terminal@0.4.9 - itertools@0.10.5 - itertools@0.13.0 - itoa@1.0.2 - js-sys@0.3.58 - lazy_static@1.4.0 - libc@0.2.149 - linux-raw-sys@0.4.10 - lock_api@0.4.7 - log@0.4.17 - memchr@2.7.4 - memoffset@0.6.5 - memoffset@0.9.0 - num-traits@0.2.15 - once_cell@1.16.0 - oorandom@11.1.3 - parking_lot@0.11.2 - parking_lot_core@0.8.5 - paste@1.0.15 - peg-macros@0.8.4 - peg-runtime@0.8.3 - peg@0.8.4 - plotters-backend@0.3.2 - plotters-svg@0.3.1 - plotters@0.3.1 - proc-macro2@1.0.86 - pyo3-build-config@0.20.2 - pyo3-ffi@0.20.2 - pyo3-macros-backend@0.20.2 - pyo3-macros@0.20.2 - pyo3@0.20.2 - quote@1.0.37 - rayon-core@1.12.1 - rayon@1.10.0 - redox_syscall@0.2.13 - regex-automata@0.4.7 - regex-syntax@0.8.4 - regex@1.10.6 - rustix@0.38.19 - ryu@1.0.10 - same-file@1.0.6 - scopeguard@1.1.0 - serde@1.0.208 - serde_derive@1.0.208 - serde_json@1.0.125 - serde_spanned@0.6.7 - smallvec@1.8.1 - syn@1.0.109 - syn@2.0.75 - target-lexicon@0.12.4 - termcolor@1.1.3 - thiserror-impl@1.0.63 - thiserror@1.0.63 - tinytemplate@1.2.1 - toml@0.8.19 - toml_datetime@0.6.8 - toml_edit@0.22.20 - trybuild@1.0.99 - unicode-ident@1.0.1 - unindent@0.2.3 - walkdir@2.3.2 - wasm-bindgen-backend@0.2.81 - wasm-bindgen-macro-support@0.2.81 - wasm-bindgen-macro@0.2.81 - wasm-bindgen-shared@0.2.81 - wasm-bindgen@0.2.81 - web-sys@0.3.58 - winapi-i686-pc-windows-gnu@0.4.0 - winapi-util@0.1.5 - winapi-x86_64-pc-windows-gnu@0.4.0 - winapi@0.3.9 - windows-sys@0.48.0 - windows-targets@0.48.5 - windows_aarch64_gnullvm@0.48.5 - windows_aarch64_msvc@0.48.5 - windows_i686_gnu@0.48.5 - windows_i686_msvc@0.48.5 - windows_x86_64_gnu@0.48.5 - windows_x86_64_gnullvm@0.48.5 - windows_x86_64_msvc@0.48.5 - winnow@0.6.18 -" - -inherit cargo distutils-r1 pypi - -DESCRIPTION="A concrete syntax tree with AST-like properties for Python" -HOMEPAGE=" - https://github.com/Instagram/LibCST/ - https://pypi.org/project/libcst/ -" -SRC_URI+=" - ${CARGO_CRATE_URIS} -" - -LICENSE="MIT Apache-2.0 PSF-2" -# Dependent crate licenses -LICENSE+=" Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD MIT" -SLOT="0" -KEYWORDS="amd64 ~riscv" - -RDEPEND=" - >=dev-python/pyyaml-5.2[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/setuptools-rust[${PYTHON_USEDEP}] - dev-python/setuptools-scm[${PYTHON_USEDEP}] - test? ( - dev-python/black[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -QA_FLAGS_IGNORED="usr/lib/py.*/site-packages/libcst/native.*" - -python_test() { - local EPYTEST_DESELECT=( - # TODO - libcst/codemod/tests/test_codemod_cli.py::TestCodemodCLI::test_codemod_formatter_error_input - ) - local EPYTEST_IGNORE=( - # fuzzing, require hypothesmith - libcst/tests/test_fuzz.py - # require pyre-check - libcst/metadata/tests/test_type_inference_provider.py - # requires `python -m libcst.codegen.generate` which has extra - # deps and needs patching to work in our venv - # TODO: figure out if we don't need that for revdeps anyway - libcst/codegen/tests/test_codegen_clean.py - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - cd "${BUILD_DIR}/install$(python_get_sitedir)" || die - # fixtures - ln -s "${S}/native" . || die - - nonfatal epytest - local ret=${?} - - rm native || die - - [[ ${ret} -ne 0 ]] && die "Tests failed on ${EPYTHON}" -} - -python_test_all() { - cd native || die - cargo_src_test -} diff --git a/dev-python/license-expression/Manifest b/dev-python/license-expression/Manifest index 7fd08fe65690..56bd4072ea62 100644 --- a/dev-python/license-expression/Manifest +++ b/dev-python/license-expression/Manifest @@ -1,2 +1 @@ -DIST license-expression-30.3.1.gh.tar.gz 170363 BLAKE2B a40882d006c92f6327b710529bfa8225d8565d17aeb977ba7b05970f620dd7f801c855c4198928be92109ef7727d92578b18add0afc44a08625f9a989693be5e SHA512 c5093cfd5dac3ba202610d9794368c5c93380927d7bc8bf57c93bd14bb91b62d1dcff56157a8994a94ca2d66e7a2cf3956cb931a7fa86cb46a04844db3ed7c65 DIST license-expression-30.4.0.gh.tar.gz 172061 BLAKE2B aaa96d1d39feb34bbce92945a61369717d31652794f667406010397f9194f48075406c7bcea1681771ab25c6fb2bd01da9228480a40092925d748f662101538f SHA512 8ea6d9c3be9237a405fef010512ca5bbf7cab4088ae6ac9bc3d4152e92dbfe4fdc5c8c82f9df994524d4622f6be7d58cfeeddfb4ca4c63c527fa94bb5a0a8074 diff --git a/dev-python/license-expression/license-expression-30.3.1.ebuild b/dev-python/license-expression/license-expression-30.3.1.ebuild deleted file mode 100644 index f56c99a984c5..000000000000 --- a/dev-python/license-expression/license-expression-30.3.1.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 2022-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} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Parse, compare, simplify and normalize license expressions" -HOMEPAGE=" - https://pypi.org/project/license-expression/ - https://github.com/aboutcode-org/license-expression/ -" -SRC_URI=" - https://github.com/aboutcode-org/license-expression/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - >=dev-python/boolean-py-4.0[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/setuptools-scm-4[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} diff --git a/dev-python/license-expression/license-expression-30.4.0.ebuild b/dev-python/license-expression/license-expression-30.4.0.ebuild index 69d83439155d..f56c99a984c5 100644 --- a/dev-python/license-expression/license-expression-30.4.0.ebuild +++ b/dev-python/license-expression/license-expression-30.4.0.ebuild @@ -20,7 +20,7 @@ SRC_URI=" 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" RDEPEND=" >=dev-python/boolean-py-4.0[${PYTHON_USEDEP}] diff --git a/dev-python/mako/Manifest b/dev-python/mako/Manifest index f79525896049..c0388276e6ba 100644 --- a/dev-python/mako/Manifest +++ b/dev-python/mako/Manifest @@ -1,2 +1 @@ -DIST Mako-1.3.5.tar.gz 392738 BLAKE2B 566d4126a1c2ece5b2b3f2bec8470d97cc44e512987103f7027d6433418e50bff1cfad7ba510b88f38537c92d3a69d9a85e5b28cd759dbaa29ec19702461e359 SHA512 9a2f96bcb650f40cc2a9daa05904e54efca1fa30022ab641c850f6e32b84a38368d4c5d328f94ac4495ed97778d6ab0b661bc93a14740ed7e5d518f03bc9a59f DIST mako-1.3.6.tar.gz 390206 BLAKE2B 9ead8381e738033d06950a537ecd04b8f83909027430f5d246a0dac13f3e7ad874353d3945d2d1f5ff188d5379db051a1092c68b84e0f6f4d93a7fc8ed715b4d SHA512 ad7a05b7cb4a330495ba5842d578565356d19912fee20e2d894a6e5a7812197944943d947eb15a539ef4a11d2bafde29fc7b007767228bd8e40f154d53631073 diff --git a/dev-python/mako/mako-1.3.5.ebuild b/dev-python/mako/mako-1.3.5.ebuild deleted file mode 100644 index a326ab2a40b6..000000000000 --- a/dev-python/mako/mako-1.3.5.ebuild +++ /dev/null @@ -1,55 +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 -PYPI_PN=${PN^} -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="A Python templating language" -HOMEPAGE=" - https://www.makotemplates.org/ - https://github.com/sqlalchemy/mako/ - https://pypi.org/project/Mako/ -" - -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="doc" - -RDEPEND=" - >=dev-python/markupsafe-0.9.2[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/Babel[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=() - case ${EPYTHON} in - pypy3) - EPYTEST_DESELECT+=( - test/test_exceptions.py::ExceptionsTest::test_alternating_file_names - ) - ;; - esac - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} - -python_install_all() { - rm -r doc/build || die - - use doc && local HTML_DOCS=( doc/. ) - distutils-r1_python_install_all -} diff --git a/dev-python/mako/mako-1.3.6.ebuild b/dev-python/mako/mako-1.3.6.ebuild index 960fe3c49387..236114304b43 100644 --- a/dev-python/mako/mako-1.3.6.ebuild +++ b/dev-python/mako/mako-1.3.6.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 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" IUSE="doc" RDEPEND=" diff --git a/dev-python/mando/mando-0.8.2.ebuild b/dev-python/mando/mando-0.8.2.ebuild index 81469ed80d18..fd1f7910487c 100644 --- a/dev-python/mando/mando-0.8.2.ebuild +++ b/dev-python/mando/mando-0.8.2.ebuild @@ -21,7 +21,7 @@ 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" IUSE="examples" distutils_enable_sphinx docs diff --git a/dev-python/meson-python/meson-python-0.17.1.ebuild b/dev-python/meson-python/meson-python-0.17.1.ebuild index 491d1f1ba944..d6d41ad5bcbe 100644 --- a/dev-python/meson-python/meson-python-0.17.1.ebuild +++ b/dev-python/meson-python/meson-python-0.17.1.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/mitmproxy_wireguard/mitmproxy_wireguard-0.1.20-r1.ebuild b/dev-python/mitmproxy_wireguard/mitmproxy_wireguard-0.1.20-r1.ebuild new file mode 100644 index 000000000000..ce3524b2bf30 --- /dev/null +++ b/dev-python/mitmproxy_wireguard/mitmproxy_wireguard-0.1.20-r1.ebuild @@ -0,0 +1,232 @@ +# Copyright 2022-2024 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} ) + +CRATES=" + adler@1.0.2 + aead@0.5.1 + aho-corasick@0.7.20 + anyhow@1.0.68 + arc-swap@1.6.0 + async-stream-impl@0.3.3 + async-stream@0.3.3 + async-trait@0.1.61 + atty@0.2.14 + autocfg@1.1.0 + axum-core@0.3.1 + axum@0.6.2 + base64@0.13.1 + bitflags@1.3.2 + blake2@0.10.6 + block-buffer@0.10.3 + boringtun@0.5.2 + bumpalo@3.11.1 + byteorder@1.4.3 + bytes@1.3.0 + cc@1.0.78 + cfg-if@1.0.0 + chacha20@0.9.0 + chacha20poly1305@0.10.1 + cipher@0.4.3 + console-api@0.4.0 + console-subscriber@0.1.8 + cpufeatures@0.2.5 + crc32fast@1.3.2 + crossbeam-channel@0.5.6 + crossbeam-utils@0.8.14 + crypto-common@0.1.6 + curve25519-dalek@3.2.0 + digest@0.10.6 + digest@0.9.0 + either@1.8.0 + env_logger@0.9.3 + flate2@1.0.25 + fnv@1.0.7 + futures-channel@0.3.25 + futures-core@0.3.25 + futures-executor@0.3.25 + futures-io@0.3.25 + futures-macro@0.3.25 + futures-sink@0.3.25 + futures-task@0.3.25 + futures-util@0.3.25 + futures@0.3.25 + generic-array@0.14.6 + getrandom@0.1.16 + getrandom@0.2.8 + h2@0.3.15 + hashbrown@0.12.3 + hdrhistogram@7.5.2 + hermit-abi@0.1.19 + hermit-abi@0.2.6 + hex@0.4.3 + hmac@0.12.1 + http-body@0.4.5 + http-range-header@0.3.0 + http@0.2.8 + httparse@1.8.0 + httpdate@1.0.2 + humantime@2.1.0 + hyper-timeout@0.4.1 + hyper@0.14.23 + indexmap@1.9.2 + indoc@1.0.8 + inout@0.1.3 + ip_network@0.4.1 + ip_network_table-deps-treebitmap@0.5.0 + ip_network_table@0.2.0 + itertools@0.10.5 + itoa@1.0.5 + js-sys@0.3.60 + lazy_static@1.4.0 + libc@0.2.139 + lock_api@0.4.9 + log@0.4.17 + managed@0.8.0 + matchers@0.1.0 + matchit@0.7.0 + memchr@2.5.0 + memoffset@0.6.5 + mime@0.3.16 + minimal-lexical@0.2.1 + miniz_oxide@0.6.2 + mio@0.8.5 + nix@0.24.3 + nom@7.1.2 + num-traits@0.2.15 + num_cpus@1.15.0 + once_cell@1.17.0 + opaque-debug@0.3.0 + parking_lot@0.12.1 + parking_lot_core@0.9.6 + percent-encoding@2.2.0 + pin-project-internal@1.0.12 + pin-project-lite@0.2.9 + pin-project@1.0.12 + pin-utils@0.1.0 + poly1305@0.8.0 + ppv-lite86@0.2.17 + pretty-hex@0.3.0 + proc-macro2@1.0.49 + prost-derive@0.11.6 + prost-types@0.11.6 + prost@0.11.6 + pyo3-asyncio@0.17.0 + pyo3-build-config@0.17.3 + pyo3-ffi@0.17.3 + pyo3-log@0.7.0 + pyo3-macros-backend@0.17.3 + pyo3-macros@0.17.3 + pyo3@0.17.3 + quote@1.0.23 + rand@0.8.5 + rand_chacha@0.3.1 + rand_core@0.5.1 + rand_core@0.6.4 + redox_syscall@0.2.16 + regex-automata@0.1.10 + regex-syntax@0.6.28 + regex@1.7.1 + ring@0.16.20 + rustversion@1.0.11 + ryu@1.0.12 + scopeguard@1.1.0 + serde@1.0.152 + serde_derive@1.0.152 + serde_json@1.0.91 + sharded-slab@0.1.4 + signal-hook-registry@1.4.0 + slab@0.4.7 + smallvec@1.10.0 + smoltcp@0.8.2 + socket2@0.4.7 + spin@0.5.2 + subtle@2.4.1 + syn@1.0.107 + sync_wrapper@0.1.1 + synstructure@0.12.6 + target-lexicon@0.12.5 + termcolor@1.1.3 + thread_local@1.1.4 + tokio-io-timeout@1.2.0 + tokio-macros@1.8.2 + tokio-stream@0.1.11 + tokio-util@0.7.4 + tokio@1.24.1 + tonic@0.8.3 + tower-http@0.3.5 + tower-layer@0.3.2 + tower-service@0.3.2 + tower@0.4.13 + tracing-attributes@0.1.23 + tracing-core@0.1.30 + tracing-futures@0.2.5 + tracing-subscriber@0.3.16 + tracing@0.1.37 + try-lock@0.2.4 + typenum@1.16.0 + unicode-ident@1.0.6 + unicode-xid@0.2.4 + unindent@0.1.11 + universal-hash@0.5.0 + untrusted@0.7.1 + untrusted@0.9.0 + valuable@0.1.0 + version_check@0.9.4 + want@0.3.0 + wasi@0.11.0+wasi-snapshot-preview1 + wasi@0.9.0+wasi-snapshot-preview1 + wasm-bindgen-backend@0.2.83 + wasm-bindgen-macro-support@0.2.83 + wasm-bindgen-macro@0.2.83 + wasm-bindgen-shared@0.2.83 + wasm-bindgen@0.2.83 + web-sys@0.3.60 + winapi-i686-pc-windows-gnu@0.4.0 + winapi-util@0.1.5 + winapi-x86_64-pc-windows-gnu@0.4.0 + winapi@0.3.9 + windows-sys@0.42.0 + windows_aarch64_gnullvm@0.42.0 + windows_aarch64_msvc@0.42.0 + windows_i686_gnu@0.42.0 + windows_i686_msvc@0.42.0 + windows_x86_64_gnu@0.42.0 + windows_x86_64_gnullvm@0.42.0 + windows_x86_64_msvc@0.42.0 + x25519-dalek@2.0.0-pre.1 + zeroize@1.5.7 + zeroize_derive@1.3.3 +" + +inherit cargo distutils-r1 + +DESCRIPTION="WireGuard frontend for mitmproxy" +HOMEPAGE="https://github.com/decathorpe/mitmproxy_wireguard" +SRC_URI=" + https://github.com/decathorpe/mitmproxy_wireguard/archive/${PV}.tar.gz -> ${P}.gh.tar.gz + ${CARGO_CRATE_URIS} +" + +LICENSE="MIT" +# Dependent crate licenses +LICENSE+=" + 0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD ISC MIT + Unicode-DFS-2016 +" +SLOT="0" +KEYWORDS="amd64 ~arm64 ~x86" + +RDEPEND="" +BDEPEND="dev-python/setuptools-rust[${PYTHON_USEDEP}]" + +QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/${PN}/${PN}.*.so" + +src_test() { + cargo_src_test +} diff --git a/dev-python/mitmproxy_wireguard/mitmproxy_wireguard-0.1.20.ebuild b/dev-python/mitmproxy_wireguard/mitmproxy_wireguard-0.1.20.ebuild deleted file mode 100644 index ce3524b2bf30..000000000000 --- a/dev-python/mitmproxy_wireguard/mitmproxy_wireguard-0.1.20.ebuild +++ /dev/null @@ -1,232 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=maturin -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -CRATES=" - adler@1.0.2 - aead@0.5.1 - aho-corasick@0.7.20 - anyhow@1.0.68 - arc-swap@1.6.0 - async-stream-impl@0.3.3 - async-stream@0.3.3 - async-trait@0.1.61 - atty@0.2.14 - autocfg@1.1.0 - axum-core@0.3.1 - axum@0.6.2 - base64@0.13.1 - bitflags@1.3.2 - blake2@0.10.6 - block-buffer@0.10.3 - boringtun@0.5.2 - bumpalo@3.11.1 - byteorder@1.4.3 - bytes@1.3.0 - cc@1.0.78 - cfg-if@1.0.0 - chacha20@0.9.0 - chacha20poly1305@0.10.1 - cipher@0.4.3 - console-api@0.4.0 - console-subscriber@0.1.8 - cpufeatures@0.2.5 - crc32fast@1.3.2 - crossbeam-channel@0.5.6 - crossbeam-utils@0.8.14 - crypto-common@0.1.6 - curve25519-dalek@3.2.0 - digest@0.10.6 - digest@0.9.0 - either@1.8.0 - env_logger@0.9.3 - flate2@1.0.25 - fnv@1.0.7 - futures-channel@0.3.25 - futures-core@0.3.25 - futures-executor@0.3.25 - futures-io@0.3.25 - futures-macro@0.3.25 - futures-sink@0.3.25 - futures-task@0.3.25 - futures-util@0.3.25 - futures@0.3.25 - generic-array@0.14.6 - getrandom@0.1.16 - getrandom@0.2.8 - h2@0.3.15 - hashbrown@0.12.3 - hdrhistogram@7.5.2 - hermit-abi@0.1.19 - hermit-abi@0.2.6 - hex@0.4.3 - hmac@0.12.1 - http-body@0.4.5 - http-range-header@0.3.0 - http@0.2.8 - httparse@1.8.0 - httpdate@1.0.2 - humantime@2.1.0 - hyper-timeout@0.4.1 - hyper@0.14.23 - indexmap@1.9.2 - indoc@1.0.8 - inout@0.1.3 - ip_network@0.4.1 - ip_network_table-deps-treebitmap@0.5.0 - ip_network_table@0.2.0 - itertools@0.10.5 - itoa@1.0.5 - js-sys@0.3.60 - lazy_static@1.4.0 - libc@0.2.139 - lock_api@0.4.9 - log@0.4.17 - managed@0.8.0 - matchers@0.1.0 - matchit@0.7.0 - memchr@2.5.0 - memoffset@0.6.5 - mime@0.3.16 - minimal-lexical@0.2.1 - miniz_oxide@0.6.2 - mio@0.8.5 - nix@0.24.3 - nom@7.1.2 - num-traits@0.2.15 - num_cpus@1.15.0 - once_cell@1.17.0 - opaque-debug@0.3.0 - parking_lot@0.12.1 - parking_lot_core@0.9.6 - percent-encoding@2.2.0 - pin-project-internal@1.0.12 - pin-project-lite@0.2.9 - pin-project@1.0.12 - pin-utils@0.1.0 - poly1305@0.8.0 - ppv-lite86@0.2.17 - pretty-hex@0.3.0 - proc-macro2@1.0.49 - prost-derive@0.11.6 - prost-types@0.11.6 - prost@0.11.6 - pyo3-asyncio@0.17.0 - pyo3-build-config@0.17.3 - pyo3-ffi@0.17.3 - pyo3-log@0.7.0 - pyo3-macros-backend@0.17.3 - pyo3-macros@0.17.3 - pyo3@0.17.3 - quote@1.0.23 - rand@0.8.5 - rand_chacha@0.3.1 - rand_core@0.5.1 - rand_core@0.6.4 - redox_syscall@0.2.16 - regex-automata@0.1.10 - regex-syntax@0.6.28 - regex@1.7.1 - ring@0.16.20 - rustversion@1.0.11 - ryu@1.0.12 - scopeguard@1.1.0 - serde@1.0.152 - serde_derive@1.0.152 - serde_json@1.0.91 - sharded-slab@0.1.4 - signal-hook-registry@1.4.0 - slab@0.4.7 - smallvec@1.10.0 - smoltcp@0.8.2 - socket2@0.4.7 - spin@0.5.2 - subtle@2.4.1 - syn@1.0.107 - sync_wrapper@0.1.1 - synstructure@0.12.6 - target-lexicon@0.12.5 - termcolor@1.1.3 - thread_local@1.1.4 - tokio-io-timeout@1.2.0 - tokio-macros@1.8.2 - tokio-stream@0.1.11 - tokio-util@0.7.4 - tokio@1.24.1 - tonic@0.8.3 - tower-http@0.3.5 - tower-layer@0.3.2 - tower-service@0.3.2 - tower@0.4.13 - tracing-attributes@0.1.23 - tracing-core@0.1.30 - tracing-futures@0.2.5 - tracing-subscriber@0.3.16 - tracing@0.1.37 - try-lock@0.2.4 - typenum@1.16.0 - unicode-ident@1.0.6 - unicode-xid@0.2.4 - unindent@0.1.11 - universal-hash@0.5.0 - untrusted@0.7.1 - untrusted@0.9.0 - valuable@0.1.0 - version_check@0.9.4 - want@0.3.0 - wasi@0.11.0+wasi-snapshot-preview1 - wasi@0.9.0+wasi-snapshot-preview1 - wasm-bindgen-backend@0.2.83 - wasm-bindgen-macro-support@0.2.83 - wasm-bindgen-macro@0.2.83 - wasm-bindgen-shared@0.2.83 - wasm-bindgen@0.2.83 - web-sys@0.3.60 - winapi-i686-pc-windows-gnu@0.4.0 - winapi-util@0.1.5 - winapi-x86_64-pc-windows-gnu@0.4.0 - winapi@0.3.9 - windows-sys@0.42.0 - windows_aarch64_gnullvm@0.42.0 - windows_aarch64_msvc@0.42.0 - windows_i686_gnu@0.42.0 - windows_i686_msvc@0.42.0 - windows_x86_64_gnu@0.42.0 - windows_x86_64_gnullvm@0.42.0 - windows_x86_64_msvc@0.42.0 - x25519-dalek@2.0.0-pre.1 - zeroize@1.5.7 - zeroize_derive@1.3.3 -" - -inherit cargo distutils-r1 - -DESCRIPTION="WireGuard frontend for mitmproxy" -HOMEPAGE="https://github.com/decathorpe/mitmproxy_wireguard" -SRC_URI=" - https://github.com/decathorpe/mitmproxy_wireguard/archive/${PV}.tar.gz -> ${P}.gh.tar.gz - ${CARGO_CRATE_URIS} -" - -LICENSE="MIT" -# Dependent crate licenses -LICENSE+=" - 0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD ISC MIT - Unicode-DFS-2016 -" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~x86" - -RDEPEND="" -BDEPEND="dev-python/setuptools-rust[${PYTHON_USEDEP}]" - -QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/${PN}/${PN}.*.so" - -src_test() { - cargo_src_test -} diff --git a/dev-python/mkdocs-git-revision-date-localized-plugin/Manifest b/dev-python/mkdocs-git-revision-date-localized-plugin/Manifest index 9e6029e82c4b..715f0932dd4b 100644 --- a/dev-python/mkdocs-git-revision-date-localized-plugin/Manifest +++ b/dev-python/mkdocs-git-revision-date-localized-plugin/Manifest @@ -1,2 +1 @@ -DIST mkdocs-git-revision-date-localized-plugin-1.2.9.gh.tar.gz 378207 BLAKE2B a6f57eceeb2ff2c0e489848bb5c85717472dc39a5b49c464c497ae8ff78b1f0e1830b3a1fa5043aa0f2653460d6f783e9c92cf063552bc184c6c38fb47aa1fe4 SHA512 b3a88accd335ba7b4f8e85c59d5e51ad26e895ecbd8f52948da8d54bfc972e6383457c10dfbda8ef4c3adca323dd6a85d6eec483b2d2ef8e612bebf5bb77f36f DIST mkdocs-git-revision-date-localized-plugin-1.3.0.gh.tar.gz 378511 BLAKE2B e922d0ce5dd37f92c11a37d7c02a59fc776a1a4245823a2275c600c6348cc7f97a2a8b43919a5cdbe03e8b23623f0c7d22cf92eb728d6f11d7472db5b78e98a1 SHA512 6e6c085ae861382a932817264c00de55f94b8b09349c18206c1644487a7476d4494f0b451b31510de4ba3a5d4934514923521c8c4c5aca84a8183f5cd574177d diff --git a/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.2.9.ebuild b/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.2.9.ebuild deleted file mode 100644 index 6cacb1ef2b76..000000000000 --- a/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.2.9.ebuild +++ /dev/null @@ -1,64 +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} ) - -DOCS_BUILDER="mkdocs" -DOCS_DEPEND=" - dev-python/regex - dev-python/mkdocs-static-i18n - dev-python/mkdocs-material - dev-python/mkdocs-git-authors-plugin - dev-python/mkdocs-git-revision-date-localized-plugin -" - -inherit distutils-r1 docs - -DESCRIPTION="Display the localized date of the last git modification of a markdown file" -HOMEPAGE=" - https://github.com/timvink/mkdocs-git-revision-date-localized-plugin/ - https://pypi.org/project/mkdocs-git-revision-date-localized-plugin/ -" -SRC_URI=" - https://github.com/timvink/${PN}/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~riscv x86" - -RDEPEND=" - >=dev-python/Babel-2.7.0[${PYTHON_USEDEP}] - dev-python/GitPython[${PYTHON_USEDEP}] - >=dev-python/mkdocs-1.0[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/setuptools-scm[${PYTHON_USEDEP}] - test? ( - dev-python/click[${PYTHON_USEDEP}] - dev-python/mkdocs-material[${PYTHON_USEDEP}] - dev-python/mkdocs-static-i18n[${PYTHON_USEDEP}] - dev-vcs/git - ) - doc? ( dev-vcs/git ) -" - -distutils_enable_tests pytest - -python_prepare_all() { - # mkdocs-git-revision-date-localized-plugin's tests need git repo - if use test || use doc; then - git init -q || die - git config --global user.email "larry@gentoo.org" || die - git config --global user.name "Larry the Cow" || die - git add . || die - git commit -qm 'init' || die - fi - - distutils-r1_python_prepare_all -} diff --git a/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.3.0.ebuild b/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.3.0.ebuild index 27111ebf4201..6cacb1ef2b76 100644 --- a/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.3.0.ebuild +++ b/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.3.0.ebuild @@ -29,7 +29,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~riscv x86" RDEPEND=" >=dev-python/Babel-2.7.0[${PYTHON_USEDEP}] diff --git a/dev-python/mkdocs-material/Manifest b/dev-python/mkdocs-material/Manifest index 6a749f0cfa03..62f86ce5f633 100644 --- a/dev-python/mkdocs-material/Manifest +++ b/dev-python/mkdocs-material/Manifest @@ -1,4 +1,3 @@ -DIST mkdocs-material-9.5.41.gh.tar.gz 14762837 BLAKE2B 6519d6f426ad4f53e83255c5a41cd06d4c4892c40457a1bda878f25134bc2942baaa38c90dbbde26a301b4958b149bc0050c3a0a434811f9b7462a6e315555c0 SHA512 4588b4b9ff0debbbb0ed3bc27504c43f7a60a7a0e0690766285dddf50714de2ae048cbdaf44f1bae3607e4ba4aff00f779926cd48e0de59b02a08f3b13291e4f DIST mkdocs-material-9.5.42.gh.tar.gz 14763147 BLAKE2B 3f45a3d40e77ef822c0a661ca3b8234d7098029f5a259cde631484aa92311c417b628a2b532e8df88d08d116dec7520b2c49219e5e6f6c0db7491bf260cc46c5 SHA512 96e5c8db3dcb047a9eb0df1c686f38238807f44c22554311eb86ac17dca5c6243996b2b8d5bc2745a611a6ca21da0657b5010889fbcc3a038311c816eaf846f5 DIST mkdocs-material-9.5.43.gh.tar.gz 14762388 BLAKE2B 49e5591aa3669c7bc8a8cd1969d3a54c7575958303742d5169023dd0e8c42ea6beabaa730b388e144d06dd402be7edac92a51d26ee40c2e90c2d19b8779afb6a SHA512 f7930ebcecb2cb37ec9a462f7a1a68351e73f745db36a85bac4c07797582e0a64a28936ccb85f0125ff5d3940768627f5b51c425b2d3b886663e904c607ae629 DIST mkdocs-material-9.5.44.gh.tar.gz 14764147 BLAKE2B e0aaed852abd060eee0b9049798a327a4ddc5969a84289b8aa983b0dfbe926b2e0dfd13525593c2783106bca882adfcfad7961c2eb0363a1f4a4131c364c42c8 SHA512 9a0c8d4a52c8b44b9c8e84b57839d5ddc3080eaa136cb6effc3da8eb9d08a2ef0c0898ff875afabc1783ea548653a9b00f00db67ceb48d52f323a93795529465 diff --git a/dev-python/mkdocs-material/mkdocs-material-9.5.41.ebuild b/dev-python/mkdocs-material/mkdocs-material-9.5.41.ebuild deleted file mode 100644 index b29d9c6ec471..000000000000 --- a/dev-python/mkdocs-material/mkdocs-material-9.5.41.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2024 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} ) - -DOCS_BUILDER="mkdocs" -DOCS_DEPEND=" - dev-python/mkdocs-material-extensions - dev-python/mkdocs-minify-plugin - dev-python/mkdocs-redirects -" - -inherit distutils-r1 docs - -DESCRIPTION="A Material Design theme for MkDocs" -HOMEPAGE=" - https://github.com/squidfunk/mkdocs-material/ - https://pypi.org/project/mkdocs-material/ -" -SRC_URI=" - https://github.com/squidfunk/${PN}/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~riscv x86" -IUSE="social" - -RDEPEND=" - >=dev-python/Babel-2.10.3[${PYTHON_USEDEP}] - >=dev-python/colorama-0.4[${PYTHON_USEDEP}] - >=dev-python/jinja-3.0.2[${PYTHON_USEDEP}] - >=dev-python/lxml-4.6[${PYTHON_USEDEP}] - >=dev-python/markdown-3.2[${PYTHON_USEDEP}] - >=dev-python/mkdocs-1.5.3[${PYTHON_USEDEP}] - >=dev-python/paginate-0.5.6[${PYTHON_USEDEP}] - >=dev-python/pygments-2.16[${PYTHON_USEDEP}] - >=dev-python/pymdown-extensions-10.2[${PYTHON_USEDEP}] - >=dev-python/readtime-2.0[${PYTHON_USEDEP}] - >=dev-python/regex-2022.4.24[${PYTHON_USEDEP}] - >=dev-python/requests-2.26[${PYTHON_USEDEP}] - social? ( - >=dev-python/pillow-10.2[${PYTHON_USEDEP}] - >=media-gfx/cairosvg-2.5[${PYTHON_USEDEP}] - ) -" -BDEPEND=" - >=dev-python/trove-classifiers-2023.10.18[${PYTHON_USEDEP}] -" -# mkdocs-material-extensions depends on mkdocs-material creating a circular dep -PDEPEND=" - >=dev-python/mkdocs-material-extensions-1.2[${PYTHON_USEDEP}] -" - -PATCHES=( - # simplify pyproject to remove extra deps for metadata - "${FILESDIR}/${PN}-8.5.7-simplify-build.patch" -) - -src_prepare() { - echo "__version__ = '${PV}'" > gentoo_version.py || die - distutils-r1_src_prepare -} diff --git a/dev-python/mkdocs-material/mkdocs-material-9.5.42.ebuild b/dev-python/mkdocs-material/mkdocs-material-9.5.42.ebuild index 30ab9a0405c7..b29d9c6ec471 100644 --- a/dev-python/mkdocs-material/mkdocs-material-9.5.42.ebuild +++ b/dev-python/mkdocs-material/mkdocs-material-9.5.42.ebuild @@ -27,7 +27,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~riscv x86" IUSE="social" RDEPEND=" diff --git a/dev-python/moto/moto-5.0.18.ebuild b/dev-python/moto/moto-5.0.18.ebuild index 0d43814f23b8..eaaa025bdf0e 100644 --- a/dev-python/moto/moto-5.0.18.ebuild +++ b/dev-python/moto/moto-5.0.18.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv ~x86" +KEYWORDS="~amd64 arm64 ~riscv ~x86" RDEPEND=" >=dev-python/aws-xray-sdk-0.93[${PYTHON_USEDEP}] diff --git a/dev-python/mypy/mypy-1.13.0.ebuild b/dev-python/mypy/mypy-1.13.0.ebuild index bf7e0820660d..37a938336b25 100644 --- a/dev-python/mypy/mypy-1.13.0.ebuild +++ b/dev-python/mypy/mypy-1.13.0.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86" +KEYWORDS="~amd64 arm64 ~loong ppc64 ~riscv ~x86" IUSE="+native-extensions" # stubgen collides with this package: https://bugs.gentoo.org/585594 diff --git a/dev-python/netcdf4/netcdf4-1.7.2.ebuild b/dev-python/netcdf4/netcdf4-1.7.2.ebuild index 9d95dbccd063..f1637bf7aaa3 100644 --- a/dev-python/netcdf4/netcdf4-1.7.2.ebuild +++ b/dev-python/netcdf4/netcdf4-1.7.2.ebuild @@ -19,7 +19,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~amd64 arm64 ~x86 ~amd64-linux ~x86-linux" IUSE="blosc bzip2 mpi test szip zstd" RESTRICT="!test? ( test )" diff --git a/dev-python/networkx/Manifest b/dev-python/networkx/Manifest index 137e4784a392..9c60dff11ac4 100644 --- a/dev-python/networkx/Manifest +++ b/dev-python/networkx/Manifest @@ -1,2 +1 @@ -DIST networkx-3.3.tar.gz 2126579 BLAKE2B 37d5d536e2564f9a219df70bb7f1b7c0717b99e9cdb7a4050aa321609a0ef34caecfda5a6ed8cb17f4d3b305b667adf8e40b58568dde8eb942d4a00b1ebdb255 SHA512 86306cabd7e15aa79cae4d84a42e8804b1e904fc2127725067a80e3ddf31f0fa72ebb9d21284018e72bdfc662c766a5be55564572aadaf7392dada7ea93d1ea4 DIST networkx-3.4.2.tar.gz 2151368 BLAKE2B 10b18d7d5b80dd60342f65729688dd2a175c925c72f6e3d0aa4555f008acd347940d6f118a870ba02543d2dc451c4b91986fa834431cc8752b467c5b8622aa82 SHA512 910e1400ad18711761c715896c3238b9c7d8914c571ab4db3aaf18a772b5fef90e5378ca435fbfce55b5821f1ddd3863a3cd65030086e80a971df91d9203c637 diff --git a/dev-python/networkx/networkx-3.3.ebuild b/dev-python/networkx/networkx-3.3.ebuild deleted file mode 100644 index e02eb4555bec..000000000000 --- a/dev-python/networkx/networkx-3.3.ebuild +++ /dev/null @@ -1,66 +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_FULLY_TESTED=( python3_{10..13} ) -PYTHON_COMPAT=( "${PYTHON_FULLY_TESTED[@]}" ) - -inherit distutils-r1 multiprocessing optfeature pypi virtualx - -DESCRIPTION="Python tools to manipulate graphs and complex networks" -HOMEPAGE=" - https://networkx.org/ - https://github.com/networkx/networkx/ - https://pypi.org/project/networkx/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" - -BDEPEND=" - test? ( - >=dev-python/lxml-4.6[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/matplotlib-3.6[${PYTHON_USEDEP}] - >=dev-python/numpy-1.23[${PYTHON_USEDEP}] - >=dev-python/scipy-1.11.2[${PYTHON_USEDEP}] - ' "${PYTHON_FULLY_TESTED[@]}") - ) -" - -distutils_enable_tests pytest - -src_test() { - virtx distutils-r1_src_test -} - -python_test() { - if use x86 ; then - EPYTEST_DESELECT+=( - # https://github.com/networkx/networkx/issues/5913 (bug #921958) - networkx/algorithms/approximation/tests/test_traveling_salesman.py::test_asadpour_tsp - ) - fi - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - # virtx implies nonfatal - nonfatal epytest -p xdist -n "$(makeopts_jobs)" --dist=worksteal || die -} - -src_install() { - distutils-r1_src_install - # those examples use various assets and pre-compressed files - docompress -x /usr/share/doc/${PF}/examples -} - -pkg_postinst() { - optfeature "recommended dependencies" "dev-python/matplotlib dev-python/numpy dev-python/pandas dev-python/scipy" - optfeature "graph drawing and graph layout algorithms" "dev-python/pygraphviz dev-python/pydot" - optfeature "YAML format reading and writing" "dev-python/pyyaml" - optfeature "shapefile format reading and writing" "sci-libs/gdal[python]" - optfeature "GraphML XML format" "dev-python/lxml" -} diff --git a/dev-python/networkx/networkx-3.4.2.ebuild b/dev-python/networkx/networkx-3.4.2.ebuild index b386d30100dd..8eceda68d0d0 100644 --- a/dev-python/networkx/networkx-3.4.2.ebuild +++ b/dev-python/networkx/networkx-3.4.2.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +KEYWORDS="amd64 arm arm64 ~loong ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" BDEPEND=" test? ( diff --git a/dev-python/nh3/nh3-0.2.18-r1.ebuild b/dev-python/nh3/nh3-0.2.18-r1.ebuild new file mode 100644 index 000000000000..801947753e1c --- /dev/null +++ b/dev-python/nh3/nh3-0.2.18-r1.ebuild @@ -0,0 +1,113 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" + ammonia@4.0.0 + autocfg@1.3.0 + bitflags@2.6.0 + cfg-if@1.0.0 + form_urlencoded@1.2.1 + futf@0.1.5 + getrandom@0.2.15 + heck@0.5.0 + html5ever@0.27.0 + idna@0.5.0 + indoc@2.0.5 + libc@0.2.155 + lock_api@0.4.12 + log@0.4.22 + mac@0.1.1 + maplit@1.0.2 + markup5ever@0.12.1 + memoffset@0.9.1 + new_debug_unreachable@1.0.6 + once_cell@1.19.0 + parking_lot@0.12.3 + parking_lot_core@0.9.10 + percent-encoding@2.3.1 + phf@0.11.2 + phf_codegen@0.11.2 + phf_generator@0.10.0 + phf_generator@0.11.2 + phf_shared@0.10.0 + phf_shared@0.11.2 + portable-atomic@1.6.0 + ppv-lite86@0.2.17 + precomputed-hash@0.1.1 + proc-macro2@1.0.86 + pyo3-build-config@0.22.0 + pyo3-ffi@0.22.0 + pyo3-macros-backend@0.22.0 + pyo3-macros@0.22.0 + pyo3@0.22.0 + quote@1.0.36 + rand@0.8.5 + rand_chacha@0.3.1 + rand_core@0.6.4 + redox_syscall@0.5.2 + scopeguard@1.2.0 + serde@1.0.204 + serde_derive@1.0.204 + siphasher@0.3.11 + smallvec@1.13.2 + string_cache@0.8.7 + string_cache_codegen@0.5.2 + syn@2.0.69 + target-lexicon@0.12.14 + tendril@0.4.3 + tinyvec@1.7.0 + tinyvec_macros@0.1.1 + unicode-bidi@0.3.15 + unicode-ident@1.0.12 + unicode-normalization@0.1.23 + unindent@0.2.3 + url@2.5.2 + utf-8@0.7.6 + wasi@0.11.0+wasi-snapshot-preview1 + windows-targets@0.52.6 + windows_aarch64_gnullvm@0.52.6 + windows_aarch64_msvc@0.52.6 + windows_i686_gnu@0.52.6 + windows_i686_gnullvm@0.52.6 + windows_i686_msvc@0.52.6 + windows_x86_64_gnu@0.52.6 + windows_x86_64_gnullvm@0.52.6 + windows_x86_64_msvc@0.52.6 +" + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=maturin +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit cargo distutils-r1 pypi + +DESCRIPTION="Ammonia HTML sanitizer Python binding" +HOMEPAGE=" + https://github.com/messense/nh3/ + https://pypi.org/project/nh3/ +" +SRC_URI+=" + ${CARGO_CRATE_URIS} +" + +LICENSE="MIT" +# Dependent crate licenses +LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT Unicode-DFS-2016" +SLOT="0" +KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" + +distutils_enable_tests pytest + +# Rust +QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/nh3/nh3.*.so" + +src_prepare() { + distutils-r1_src_prepare + + # force unstable ABI to workaround stable ABI crash in py3.13 + # https://github.com/PyO3/pyo3/issues/4311 + sed -i -e 's:"abi3-py37",::' Cargo.toml || die + export UNSAFE_PYO3_SKIP_VERSION_CHECK=1 +} diff --git a/dev-python/nh3/nh3-0.2.18.ebuild b/dev-python/nh3/nh3-0.2.18.ebuild deleted file mode 100644 index 801947753e1c..000000000000 --- a/dev-python/nh3/nh3-0.2.18.ebuild +++ /dev/null @@ -1,113 +0,0 @@ -# Copyright 2023-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CRATES=" - ammonia@4.0.0 - autocfg@1.3.0 - bitflags@2.6.0 - cfg-if@1.0.0 - form_urlencoded@1.2.1 - futf@0.1.5 - getrandom@0.2.15 - heck@0.5.0 - html5ever@0.27.0 - idna@0.5.0 - indoc@2.0.5 - libc@0.2.155 - lock_api@0.4.12 - log@0.4.22 - mac@0.1.1 - maplit@1.0.2 - markup5ever@0.12.1 - memoffset@0.9.1 - new_debug_unreachable@1.0.6 - once_cell@1.19.0 - parking_lot@0.12.3 - parking_lot_core@0.9.10 - percent-encoding@2.3.1 - phf@0.11.2 - phf_codegen@0.11.2 - phf_generator@0.10.0 - phf_generator@0.11.2 - phf_shared@0.10.0 - phf_shared@0.11.2 - portable-atomic@1.6.0 - ppv-lite86@0.2.17 - precomputed-hash@0.1.1 - proc-macro2@1.0.86 - pyo3-build-config@0.22.0 - pyo3-ffi@0.22.0 - pyo3-macros-backend@0.22.0 - pyo3-macros@0.22.0 - pyo3@0.22.0 - quote@1.0.36 - rand@0.8.5 - rand_chacha@0.3.1 - rand_core@0.6.4 - redox_syscall@0.5.2 - scopeguard@1.2.0 - serde@1.0.204 - serde_derive@1.0.204 - siphasher@0.3.11 - smallvec@1.13.2 - string_cache@0.8.7 - string_cache_codegen@0.5.2 - syn@2.0.69 - target-lexicon@0.12.14 - tendril@0.4.3 - tinyvec@1.7.0 - tinyvec_macros@0.1.1 - unicode-bidi@0.3.15 - unicode-ident@1.0.12 - unicode-normalization@0.1.23 - unindent@0.2.3 - url@2.5.2 - utf-8@0.7.6 - wasi@0.11.0+wasi-snapshot-preview1 - windows-targets@0.52.6 - windows_aarch64_gnullvm@0.52.6 - windows_aarch64_msvc@0.52.6 - windows_i686_gnu@0.52.6 - windows_i686_gnullvm@0.52.6 - windows_i686_msvc@0.52.6 - windows_x86_64_gnu@0.52.6 - windows_x86_64_gnullvm@0.52.6 - windows_x86_64_msvc@0.52.6 -" - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=maturin -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) - -inherit cargo distutils-r1 pypi - -DESCRIPTION="Ammonia HTML sanitizer Python binding" -HOMEPAGE=" - https://github.com/messense/nh3/ - https://pypi.org/project/nh3/ -" -SRC_URI+=" - ${CARGO_CRATE_URIS} -" - -LICENSE="MIT" -# Dependent crate licenses -LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT Unicode-DFS-2016" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" - -distutils_enable_tests pytest - -# Rust -QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/nh3/nh3.*.so" - -src_prepare() { - distutils-r1_src_prepare - - # force unstable ABI to workaround stable ABI crash in py3.13 - # https://github.com/PyO3/pyo3/issues/4311 - sed -i -e 's:"abi3-py37",::' Cargo.toml || die - export UNSAFE_PYO3_SKIP_VERSION_CHECK=1 -} diff --git a/dev-python/openstackdocstheme/Manifest b/dev-python/openstackdocstheme/Manifest index 5ba3efb3401d..826f6c5c2428 100644 --- a/dev-python/openstackdocstheme/Manifest +++ b/dev-python/openstackdocstheme/Manifest @@ -1,2 +1 @@ -DIST openstackdocstheme-3.3.0.tar.gz 1256566 BLAKE2B d69f9edae656de888cb06b9a4c42ece7c615976d8e454b5b391772a19958366ed14c57b55a3e8514052a845eaf5f9774e5415e71c0d16e44dab1c7285c66be45 SHA512 b49be9d4b7deccbdf6f9c398ddd1e763572dadfecdc228fe6956aab5fdb5588a4d20aaa1e445b2de66e99fe0953f753c2734bb6bc2211836f5bf4b0567ba7deb DIST openstackdocstheme-3.4.0.tar.gz 1256314 BLAKE2B 595f1a8b1729cd79e998d4de9817daf23365b4e1b9d8361afbddbd20ecd8ead3c07662a5ff0de70986547ed3cad32785c5182cdf1fadfea455d6824036b5f59b SHA512 34cc9a2f4d1f6cda86e4f4b411edaf3d3fc229c2384ce160cb9b65068054793867b14c40beaf9f4b46948da8f22f70a68d5a3868c4b8605ade0aa2b0d8750828 diff --git a/dev-python/openstackdocstheme/openstackdocstheme-3.3.0.ebuild b/dev-python/openstackdocstheme/openstackdocstheme-3.3.0.ebuild deleted file mode 100644 index 942fedbd55d6..000000000000 --- a/dev-python/openstackdocstheme/openstackdocstheme-3.3.0.ebuild +++ /dev/null @@ -1,29 +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="Theme and extension support for Sphinx documentation" -HOMEPAGE=" - https://docs.openstack.org/openstackdocstheme/latest/ - https://opendev.org/openstack/openstackdocstheme/ - https://github.com/openstack/openstackdocstheme/ - https://pypi.org/project/openstackdocstheme/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 ~ppc64 ~riscv ~s390 x86" - -BDEPEND=" - >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] -" -RDEPEND=" - ${BDEPEND} - >=dev-python/dulwich-0.15.0[${PYTHON_USEDEP}] -" diff --git a/dev-python/openstackdocstheme/openstackdocstheme-3.4.0.ebuild b/dev-python/openstackdocstheme/openstackdocstheme-3.4.0.ebuild index fd220e699932..942fedbd55d6 100644 --- a/dev-python/openstackdocstheme/openstackdocstheme-3.4.0.ebuild +++ b/dev-python/openstackdocstheme/openstackdocstheme-3.4.0.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc64 ~riscv ~s390 ~x86" +KEYWORDS="~alpha amd64 ~arm arm64 ~ppc64 ~riscv ~s390 x86" BDEPEND=" >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] diff --git a/dev-python/orjson/orjson-3.10.10-r1.ebuild b/dev-python/orjson/orjson-3.10.10-r1.ebuild new file mode 100644 index 000000000000..3536288b2be7 --- /dev/null +++ b/dev-python/orjson/orjson-3.10.10-r1.ebuild @@ -0,0 +1,89 @@ +# Copyright 2023-2024 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} ) + +CRATES=" + arrayvec@0.7.6 + associative-cache@2.0.0 + bytecount@0.6.8 + castaway@0.2.3 + cc@1.1.31 + cfg-if@1.0.0 + compact_str@0.8.0 + crunchy@0.2.2 + encoding_rs@0.8.34 + gimli@0.30.0 + half@2.4.1 + itoa@1.0.11 + itoap@1.0.1 + jiff@0.1.13 + libc@0.2.161 + memchr@2.7.4 + no-panic@0.1.30 + once_cell@1.20.2 + proc-macro2@1.0.88 + quote@1.0.37 + rustversion@1.0.18 + ryu@1.0.18 + serde@1.0.211 + serde_derive@1.0.211 + serde_json@1.0.132 + shlex@1.3.0 + simdutf8@0.1.5 + smallvec@1.13.2 + static_assertions@1.1.0 + syn@2.0.82 + target-lexicon@0.12.16 + unicode-ident@1.0.13 + unwinding@0.2.2 + version_check@0.9.5 + xxhash-rust@0.8.12 +" + +RUST_MIN_VER="1.74.1" + +inherit cargo distutils-r1 pypi + +DESCRIPTION="Fast, correct Python JSON library supporting dataclasses, datetimes, and numpy" +HOMEPAGE=" + https://github.com/ijl/orjson/ + https://pypi.org/project/orjson/ +" +SRC_URI+=" + ${CARGO_CRATE_URIS} +" + +LICENSE="|| ( Apache-2.0 MIT )" +# Dependent crate licenses +LICENSE+=" + Apache-2.0-with-LLVM-exceptions BSD Boost-1.0 MIT Unicode-DFS-2016 +" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +BDEPEND=" + test? ( + dev-python/arrow[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/numpy[${PYTHON_USEDEP}] + ' 'python3*') + ) +" + +QA_FLAGS_IGNORED=".*" + +distutils_enable_tests pytest + +export UNSAFE_PYO3_SKIP_VERSION_CHECK=1 + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/orjson/orjson-3.10.10.ebuild b/dev-python/orjson/orjson-3.10.10.ebuild deleted file mode 100644 index c3fd36eef73e..000000000000 --- a/dev-python/orjson/orjson-3.10.10.ebuild +++ /dev/null @@ -1,88 +0,0 @@ -# Copyright 2023-2024 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} ) - -CRATES=" - arrayvec@0.7.6 - associative-cache@2.0.0 - bytecount@0.6.8 - castaway@0.2.3 - cc@1.1.31 - cfg-if@1.0.0 - compact_str@0.8.0 - crunchy@0.2.2 - encoding_rs@0.8.34 - gimli@0.30.0 - half@2.4.1 - itoa@1.0.11 - itoap@1.0.1 - jiff@0.1.13 - libc@0.2.161 - memchr@2.7.4 - no-panic@0.1.30 - once_cell@1.20.2 - proc-macro2@1.0.88 - quote@1.0.37 - rustversion@1.0.18 - ryu@1.0.18 - serde@1.0.211 - serde_derive@1.0.211 - serde_json@1.0.132 - shlex@1.3.0 - simdutf8@0.1.5 - smallvec@1.13.2 - static_assertions@1.1.0 - syn@2.0.82 - target-lexicon@0.12.16 - unicode-ident@1.0.13 - unwinding@0.2.2 - version_check@0.9.5 - xxhash-rust@0.8.12 -" - -inherit cargo distutils-r1 pypi - -DESCRIPTION="Fast, correct Python JSON library supporting dataclasses, datetimes, and numpy" -HOMEPAGE=" - https://github.com/ijl/orjson/ - https://pypi.org/project/orjson/ -" -SRC_URI+=" - ${CARGO_CRATE_URIS} -" - -LICENSE="|| ( Apache-2.0 MIT )" -# Dependent crate licenses -LICENSE+=" - Apache-2.0-with-LLVM-exceptions BSD Boost-1.0 MIT Unicode-DFS-2016 -" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -BDEPEND=" - >=virtual/rust-1.72 - test? ( - dev-python/arrow[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/numpy[${PYTHON_USEDEP}] - ' 'python3*') - ) -" - -QA_FLAGS_IGNORED=".*" - -distutils_enable_tests pytest - -export UNSAFE_PYO3_SKIP_VERSION_CHECK=1 - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} diff --git a/dev-python/orjson/orjson-3.10.11-r1.ebuild b/dev-python/orjson/orjson-3.10.11-r1.ebuild new file mode 100644 index 000000000000..56f7a83096a2 --- /dev/null +++ b/dev-python/orjson/orjson-3.10.11-r1.ebuild @@ -0,0 +1,89 @@ +# Copyright 2023-2024 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} ) + +CRATES=" + associative-cache@2.0.0 + bytecount@0.6.8 + castaway@0.2.3 + cc@1.1.31 + cfg-if@1.0.0 + compact_str@0.8.0 + crunchy@0.2.2 + encoding_rs@0.8.35 + gimli@0.30.0 + half@2.4.1 + itoa@1.0.11 + itoap@1.0.1 + jiff@0.1.14 + libc@0.2.161 + memchr@2.7.4 + no-panic@0.1.30 + once_cell@1.20.2 + proc-macro2@1.0.89 + quote@1.0.37 + rustversion@1.0.18 + ryu@1.0.18 + serde@1.0.214 + serde_derive@1.0.214 + serde_json@1.0.132 + shlex@1.3.0 + simdutf8@0.1.5 + smallvec@1.13.2 + static_assertions@1.1.0 + syn@2.0.86 + target-lexicon@0.12.16 + unicode-ident@1.0.13 + unwinding@0.2.2 + uuid@1.11.0 + version_check@0.9.5 + xxhash-rust@0.8.12 +" + +RUST_MIN_VER="1.74.1" + +inherit cargo distutils-r1 pypi + +DESCRIPTION="Fast, correct Python JSON library supporting dataclasses, datetimes, and numpy" +HOMEPAGE=" + https://github.com/ijl/orjson/ + https://pypi.org/project/orjson/ +" +SRC_URI+=" + ${CARGO_CRATE_URIS} +" + +LICENSE="|| ( Apache-2.0 MIT )" +# Dependent crate licenses +LICENSE+=" + Apache-2.0-with-LLVM-exceptions BSD Boost-1.0 MIT Unicode-DFS-2016 +" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +BDEPEND=" + test? ( + dev-python/arrow[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/numpy[${PYTHON_USEDEP}] + ' 'python3*') + ) +" + +QA_FLAGS_IGNORED=".*" + +distutils_enable_tests pytest + +export UNSAFE_PYO3_SKIP_VERSION_CHECK=1 + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/orjson/orjson-3.10.11.ebuild b/dev-python/orjson/orjson-3.10.11.ebuild deleted file mode 100644 index fc6e8e4712f2..000000000000 --- a/dev-python/orjson/orjson-3.10.11.ebuild +++ /dev/null @@ -1,88 +0,0 @@ -# Copyright 2023-2024 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} ) - -CRATES=" - associative-cache@2.0.0 - bytecount@0.6.8 - castaway@0.2.3 - cc@1.1.31 - cfg-if@1.0.0 - compact_str@0.8.0 - crunchy@0.2.2 - encoding_rs@0.8.35 - gimli@0.30.0 - half@2.4.1 - itoa@1.0.11 - itoap@1.0.1 - jiff@0.1.14 - libc@0.2.161 - memchr@2.7.4 - no-panic@0.1.30 - once_cell@1.20.2 - proc-macro2@1.0.89 - quote@1.0.37 - rustversion@1.0.18 - ryu@1.0.18 - serde@1.0.214 - serde_derive@1.0.214 - serde_json@1.0.132 - shlex@1.3.0 - simdutf8@0.1.5 - smallvec@1.13.2 - static_assertions@1.1.0 - syn@2.0.86 - target-lexicon@0.12.16 - unicode-ident@1.0.13 - unwinding@0.2.2 - uuid@1.11.0 - version_check@0.9.5 - xxhash-rust@0.8.12 -" - -inherit cargo distutils-r1 pypi - -DESCRIPTION="Fast, correct Python JSON library supporting dataclasses, datetimes, and numpy" -HOMEPAGE=" - https://github.com/ijl/orjson/ - https://pypi.org/project/orjson/ -" -SRC_URI+=" - ${CARGO_CRATE_URIS} -" - -LICENSE="|| ( Apache-2.0 MIT )" -# Dependent crate licenses -LICENSE+=" - Apache-2.0-with-LLVM-exceptions BSD Boost-1.0 MIT Unicode-DFS-2016 -" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -BDEPEND=" - >=virtual/rust-1.72 - test? ( - dev-python/arrow[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/numpy[${PYTHON_USEDEP}] - ' 'python3*') - ) -" - -QA_FLAGS_IGNORED=".*" - -distutils_enable_tests pytest - -export UNSAFE_PYO3_SKIP_VERSION_CHECK=1 - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} diff --git a/dev-python/orjson/orjson-3.10.7-r1.ebuild b/dev-python/orjson/orjson-3.10.7-r1.ebuild new file mode 100644 index 000000000000..0aff70ceba24 --- /dev/null +++ b/dev-python/orjson/orjson-3.10.7-r1.ebuild @@ -0,0 +1,93 @@ +# Copyright 2023-2024 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} ) + +CRATES=" + arrayvec@0.7.4 + associative-cache@2.0.0 + autocfg@1.3.0 + beef@0.5.2 + bytecount@0.6.8 + castaway@0.2.3 + cc@1.1.8 + cfg-if@1.0.0 + chrono@0.4.34 + compact_str@0.8.0 + crunchy@0.2.2 + encoding_rs@0.8.34 + gimli@0.30.0 + half@2.4.1 + itoa@1.0.11 + itoap@1.0.1 + libc@0.2.155 + memchr@2.7.4 + no-panic@0.1.30 + num-traits@0.2.19 + once_cell@1.19.0 + proc-macro2@1.0.86 + pyo3-build-config@0.22.2 + pyo3-ffi@0.22.2 + quote@1.0.36 + rustversion@1.0.17 + ryu@1.0.18 + serde@1.0.205 + serde_derive@1.0.205 + serde_json@1.0.122 + simdutf8@0.1.4 + smallvec@1.13.2 + static_assertions@1.1.0 + syn@2.0.72 + target-lexicon@0.12.16 + unicode-ident@1.0.12 + unwinding@0.2.2 + version_check@0.9.5 + xxhash-rust@0.8.12 +" + +RUST_MIN_VER="1.74.1" + +inherit cargo distutils-r1 pypi + +DESCRIPTION="Fast, correct Python JSON library supporting dataclasses, datetimes, and numpy" +HOMEPAGE=" + https://github.com/ijl/orjson/ + https://pypi.org/project/orjson/ +" +SRC_URI+=" + ${CARGO_CRATE_URIS} +" + +LICENSE="|| ( Apache-2.0 MIT )" +# Dependent crate licenses +LICENSE+=" + Apache-2.0-with-LLVM-exceptions BSD Boost-1.0 MIT Unicode-DFS-2016 +" +SLOT="0" +KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" + +BDEPEND=" + test? ( + dev-python/arrow[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/numpy[${PYTHON_USEDEP}] + ' 'python3*') + ) +" + +QA_FLAGS_IGNORED=".*" + +distutils_enable_tests pytest + +export UNSAFE_PYO3_SKIP_VERSION_CHECK=1 + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/orjson/orjson-3.10.7.ebuild b/dev-python/orjson/orjson-3.10.7.ebuild deleted file mode 100644 index 950f7a83a680..000000000000 --- a/dev-python/orjson/orjson-3.10.7.ebuild +++ /dev/null @@ -1,92 +0,0 @@ -# Copyright 2023-2024 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} ) - -CRATES=" - arrayvec@0.7.4 - associative-cache@2.0.0 - autocfg@1.3.0 - beef@0.5.2 - bytecount@0.6.8 - castaway@0.2.3 - cc@1.1.8 - cfg-if@1.0.0 - chrono@0.4.34 - compact_str@0.8.0 - crunchy@0.2.2 - encoding_rs@0.8.34 - gimli@0.30.0 - half@2.4.1 - itoa@1.0.11 - itoap@1.0.1 - libc@0.2.155 - memchr@2.7.4 - no-panic@0.1.30 - num-traits@0.2.19 - once_cell@1.19.0 - proc-macro2@1.0.86 - pyo3-build-config@0.22.2 - pyo3-ffi@0.22.2 - quote@1.0.36 - rustversion@1.0.17 - ryu@1.0.18 - serde@1.0.205 - serde_derive@1.0.205 - serde_json@1.0.122 - simdutf8@0.1.4 - smallvec@1.13.2 - static_assertions@1.1.0 - syn@2.0.72 - target-lexicon@0.12.16 - unicode-ident@1.0.12 - unwinding@0.2.2 - version_check@0.9.5 - xxhash-rust@0.8.12 -" - -inherit cargo distutils-r1 pypi - -DESCRIPTION="Fast, correct Python JSON library supporting dataclasses, datetimes, and numpy" -HOMEPAGE=" - https://github.com/ijl/orjson/ - https://pypi.org/project/orjson/ -" -SRC_URI+=" - ${CARGO_CRATE_URIS} -" - -LICENSE="|| ( Apache-2.0 MIT )" -# Dependent crate licenses -LICENSE+=" - Apache-2.0-with-LLVM-exceptions BSD Boost-1.0 MIT Unicode-DFS-2016 -" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -BDEPEND=" - >=virtual/rust-1.72 - test? ( - dev-python/arrow[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/numpy[${PYTHON_USEDEP}] - ' 'python3*') - ) -" - -QA_FLAGS_IGNORED=".*" - -distutils_enable_tests pytest - -export UNSAFE_PYO3_SKIP_VERSION_CHECK=1 - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} diff --git a/dev-python/orjson/orjson-3.10.9-r1.ebuild b/dev-python/orjson/orjson-3.10.9-r1.ebuild new file mode 100644 index 000000000000..8b1bbb6d005e --- /dev/null +++ b/dev-python/orjson/orjson-3.10.9-r1.ebuild @@ -0,0 +1,89 @@ +# Copyright 2023-2024 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} ) + +CRATES=" + arrayvec@0.7.6 + associative-cache@2.0.0 + bytecount@0.6.8 + castaway@0.2.3 + cc@1.1.31 + cfg-if@1.0.0 + compact_str@0.8.0 + crunchy@0.2.2 + encoding_rs@0.8.34 + gimli@0.30.0 + half@2.4.1 + itoa@1.0.11 + itoap@1.0.1 + jiff@0.1.13 + libc@0.2.161 + memchr@2.7.4 + no-panic@0.1.30 + once_cell@1.20.2 + proc-macro2@1.0.88 + quote@1.0.37 + rustversion@1.0.18 + ryu@1.0.18 + serde@1.0.210 + serde_derive@1.0.210 + serde_json@1.0.131 + shlex@1.3.0 + simdutf8@0.1.5 + smallvec@1.13.2 + static_assertions@1.1.0 + syn@2.0.79 + target-lexicon@0.12.16 + unicode-ident@1.0.13 + unwinding@0.2.2 + version_check@0.9.5 + xxhash-rust@0.8.12 +" + +RUST_MIN_VER="1.74.1" + +inherit cargo distutils-r1 pypi + +DESCRIPTION="Fast, correct Python JSON library supporting dataclasses, datetimes, and numpy" +HOMEPAGE=" + https://github.com/ijl/orjson/ + https://pypi.org/project/orjson/ +" +SRC_URI+=" + ${CARGO_CRATE_URIS} +" + +LICENSE="|| ( Apache-2.0 MIT )" +# Dependent crate licenses +LICENSE+=" + Apache-2.0-with-LLVM-exceptions BSD Boost-1.0 MIT Unicode-DFS-2016 +" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +BDEPEND=" + test? ( + dev-python/arrow[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/numpy[${PYTHON_USEDEP}] + ' 'python3*') + ) +" + +QA_FLAGS_IGNORED=".*" + +distutils_enable_tests pytest + +export UNSAFE_PYO3_SKIP_VERSION_CHECK=1 + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/orjson/orjson-3.10.9.ebuild b/dev-python/orjson/orjson-3.10.9.ebuild deleted file mode 100644 index 62cd44eb652d..000000000000 --- a/dev-python/orjson/orjson-3.10.9.ebuild +++ /dev/null @@ -1,88 +0,0 @@ -# Copyright 2023-2024 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} ) - -CRATES=" - arrayvec@0.7.6 - associative-cache@2.0.0 - bytecount@0.6.8 - castaway@0.2.3 - cc@1.1.31 - cfg-if@1.0.0 - compact_str@0.8.0 - crunchy@0.2.2 - encoding_rs@0.8.34 - gimli@0.30.0 - half@2.4.1 - itoa@1.0.11 - itoap@1.0.1 - jiff@0.1.13 - libc@0.2.161 - memchr@2.7.4 - no-panic@0.1.30 - once_cell@1.20.2 - proc-macro2@1.0.88 - quote@1.0.37 - rustversion@1.0.18 - ryu@1.0.18 - serde@1.0.210 - serde_derive@1.0.210 - serde_json@1.0.131 - shlex@1.3.0 - simdutf8@0.1.5 - smallvec@1.13.2 - static_assertions@1.1.0 - syn@2.0.79 - target-lexicon@0.12.16 - unicode-ident@1.0.13 - unwinding@0.2.2 - version_check@0.9.5 - xxhash-rust@0.8.12 -" - -inherit cargo distutils-r1 pypi - -DESCRIPTION="Fast, correct Python JSON library supporting dataclasses, datetimes, and numpy" -HOMEPAGE=" - https://github.com/ijl/orjson/ - https://pypi.org/project/orjson/ -" -SRC_URI+=" - ${CARGO_CRATE_URIS} -" - -LICENSE="|| ( Apache-2.0 MIT )" -# Dependent crate licenses -LICENSE+=" - Apache-2.0-with-LLVM-exceptions BSD Boost-1.0 MIT Unicode-DFS-2016 -" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -BDEPEND=" - >=virtual/rust-1.72 - test? ( - dev-python/arrow[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/numpy[${PYTHON_USEDEP}] - ' 'python3*') - ) -" - -QA_FLAGS_IGNORED=".*" - -distutils_enable_tests pytest - -export UNSAFE_PYO3_SKIP_VERSION_CHECK=1 - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} diff --git a/dev-python/pallets-sphinx-themes/Manifest b/dev-python/pallets-sphinx-themes/Manifest index e81830b99727..80b537a6134e 100644 --- a/dev-python/pallets-sphinx-themes/Manifest +++ b/dev-python/pallets-sphinx-themes/Manifest @@ -1,3 +1,2 @@ DIST pallets_sphinx_themes-2.1.3.tar.gz 20124 BLAKE2B c66fac3aa625812c48aceee75a8296d272a1c5819463b41c2892aeefef4633da1d74c781b1669dbe87aa7af302169469fb04b7cc0492970156efcc53271e8c0f SHA512 2b11d05af4023b54b6bb3f1edda509648458542b9ff255b709cc01797551755d80851612259f460e3d17e4a3b5da0833e12c15bf5df11b38641c4d34007dc12e -DIST pallets_sphinx_themes-2.2.0.tar.gz 20659 BLAKE2B 4aecdfa83241371a8e6082663462f3b7bd0357ab452e478629728978ae8809e54d81480bf9b177104e3facd77a0deb4d228dcecd5c283e914c0af0165145302e SHA512 c7daea2e79f0a2c6b2bd1959cd36de65a8b094bf637703b51a7e6f9d0b7da5827c45b7d4504f3e8cc895046e3ca7e66e1411e0cecc51c0f6424dc0a9e7a95988 DIST pallets_sphinx_themes-2.3.0.tar.gz 21029 BLAKE2B 0f0abb334beb70ddb6f6d85164914e6eac3b4e938d085c81a62c8f33a7e6eb8b599dc0b2ff7d164124797cd781e2eb23b0a9ae502a28bf8720c2d5464213cf78 SHA512 9c76ab7e8e2cecaaecab7ccc621bac685b28394d16e4d35d79b8dc7745ceff88cba23b04efeb1faf0b6a987cf173c9fc77364a7306bfe5029e5129fed791b5a8 diff --git a/dev-python/pallets-sphinx-themes/pallets-sphinx-themes-2.2.0.ebuild b/dev-python/pallets-sphinx-themes/pallets-sphinx-themes-2.2.0.ebuild deleted file mode 100644 index c20e51f9bf09..000000000000 --- a/dev-python/pallets-sphinx-themes/pallets-sphinx-themes-2.2.0.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYPI_PN=Pallets-Sphinx-Themes -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Sphinx themes for Pallets and related projects" -HOMEPAGE=" - https://github.com/pallets/pallets-sphinx-themes/ - https://pypi.org/project/Pallets-Sphinx-Themes/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -RDEPEND=" - dev-python/jinja[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - >=dev-python/sphinx-3[${PYTHON_USEDEP}] - dev-python/sphinx-notfound-page[${PYTHON_USEDEP}] -" diff --git a/dev-python/pallets-sphinx-themes/pallets-sphinx-themes-2.3.0.ebuild b/dev-python/pallets-sphinx-themes/pallets-sphinx-themes-2.3.0.ebuild index c20e51f9bf09..0e96c83ec2ce 100644 --- a/dev-python/pallets-sphinx-themes/pallets-sphinx-themes-2.3.0.ebuild +++ b/dev-python/pallets-sphinx-themes/pallets-sphinx-themes-2.3.0.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 arm arm64 hppa ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" dev-python/jinja[${PYTHON_USEDEP}] diff --git a/dev-python/patch-ng/Manifest b/dev-python/patch-ng/Manifest index a4d8af96fdea..30da748109d7 100644 --- a/dev-python/patch-ng/Manifest +++ b/dev-python/patch-ng/Manifest @@ -1,2 +1 @@ -DIST patch-ng-1.18.0.gh.tar.gz 166380 BLAKE2B b3a53f2586763000c9a38d2acf25b4b1d236f34da8f0d0105a78d07bee46f30b5fb27ad0223cf274e83def6e66a1ec752f672d0a7e7df2f08280116ed26add30 SHA512 e4c271d5b8bfdcc756a8bb4f678de29f573190a4c1b3e9eb4b6c2564b008c38eb022c644c1bbee2412e7ee2e0ba08c161408303a3fbd223decd85bb6e63f24a9 DIST python-patch-ng-1.18.1.gh.tar.gz 166492 BLAKE2B c9285805cc0efe8ce033df5a2eedc01fe9fdf8986cc614f5b2b656d94462b538062f033930a4810eba95de9880a6536a9dfa901b62faf3aef5e272b1fa43f712 SHA512 e744711d652447bbf0881fd097ed35bddeccec8dd3b45a898e27f8846b664d23cd5313f09a7d92e431cce5c069acb7fa50dd8875fe2324146b2bd0ea6fd44cf5 diff --git a/dev-python/patch-ng/patch-ng-1.18.0.ebuild b/dev-python/patch-ng/patch-ng-1.18.0.ebuild deleted file mode 100644 index bfbefbf1b522..000000000000 --- a/dev-python/patch-ng/patch-ng-1.18.0.ebuild +++ /dev/null @@ -1,24 +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 - -DESCRIPTION="Library to parse and apply unified diffs, fork of dev-python/patch" -HOMEPAGE="https://github.com/conan-io/python-patch-ng https://pypi.org/project/patch-ng/" -SRC_URI="https://github.com/conan-io/python-patch-ng/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" -S="${WORKDIR}/python-${P}" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm64 ~x86 ~amd64-linux ~x86-linux" - -distutils_enable_tests unittest - -python_test() { - "${EPYTHON}" -m unittest -v tests/run_tests.py || die "Tests failed under ${EPYTHON}" -} diff --git a/dev-python/patch-ng/patch-ng-1.18.1.ebuild b/dev-python/patch-ng/patch-ng-1.18.1.ebuild index 7b3f0cc15b94..cec58da9191d 100644 --- a/dev-python/patch-ng/patch-ng-1.18.1.ebuild +++ b/dev-python/patch-ng/patch-ng-1.18.1.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P} LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 arm64 ~x86 ~amd64-linux ~x86-linux" distutils_enable_tests unittest diff --git a/dev-python/pdm-backend/Manifest b/dev-python/pdm-backend/Manifest index 5e04d0009739..a4bdb8da6c95 100644 --- a/dev-python/pdm-backend/Manifest +++ b/dev-python/pdm-backend/Manifest @@ -1,2 +1 @@ -DIST pdm-backend-2.3.3.gh.tar.gz 136942 BLAKE2B 14f2584f22f1c4e08f687c77621269ae1e5acfe4babb1ab427c10d65ff07841b8175479f867870b9a5745db76444ca140a7da497a94c831ca6d0ea1e67b4e88f SHA512 382ad95e2811f1142fee66065f96ede1a646c3e2b9fbfafc6afb17442d3aeccfbf1ff6260952986a025791d3d56a2c4b730decb3cb65e893c25a710e16cbcfc8 DIST pdm-backend-2.4.3.gh.tar.gz 146089 BLAKE2B 36f65db90de5b507348a2a8407ae0eec8e1939c6b0fea1181548de910fad2497594e17aee7d478572a32e28260ef15660bddfaec4d921b2975b5a51da031dc1e SHA512 378bc4360140f18dd7f66701da77f4b98ef4bad39c86055f11f4e508b16ebbbbce2188f47dedc05cd43525baf7873fc4565ee98d00d9e65efd9d8fc1820ddc15 diff --git a/dev-python/pdm-backend/pdm-backend-2.3.3.ebuild b/dev-python/pdm-backend/pdm-backend-2.3.3.ebuild deleted file mode 100644 index 72c8db4f86b2..000000000000 --- a/dev-python/pdm-backend/pdm-backend-2.3.3.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="A PEP 517 backend for PDM that supports PEP 621 metadata" -HOMEPAGE=" - https://pypi.org/project/pdm-backend/ - https://github.com/pdm-project/pdm-backend/ -" -SRC_URI=" - https://github.com/pdm-project/pdm-backend/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -# see src/pdm/backend/_vendor/vendor.txt -RDEPEND=" - >=dev-python/editables-0.5[${PYTHON_USEDEP}] - >=dev-python/packaging-24.0[${PYTHON_USEDEP}] - >=dev-python/pyproject-metadata-0.8.0[${PYTHON_USEDEP}] - >=dev-python/tomli-w-1.0.0[${PYTHON_USEDEP}] - - $(python_gen_cond_dep ' - >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] - ' 3.10) -" -BDEPEND=" - ${RDEPEND} - test? ( - dev-python/setuptools[${PYTHON_USEDEP}] - dev-vcs/git - ) -" -# setuptools are used to build C extensions -RDEPEND+=" - dev-python/setuptools[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -src_prepare() { - rm -r src/pdm/backend/_vendor || die - find -name '*.py' -exec sed \ - -e 's:from pdm\.backend\._vendor\.:from :' \ - -e 's:from pdm\.backend\._vendor ::' \ - -e 's:import pdm\.backend\._vendor\.:import :' \ - -i {} + || die - distutils-r1_src_prepare -} - -src_compile() { - # this must not be set during src_test() - local -x PDM_BUILD_SCM_VERSION=${PV} - distutils-r1_src_compile -} - -src_test() { - git config --global user.email "test@example.com" || die - git config --global user.name "Test User" || die - distutils-r1_src_test -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -k "not [hg" -} diff --git a/dev-python/pdm-backend/pdm-backend-2.4.3.ebuild b/dev-python/pdm-backend/pdm-backend-2.4.3.ebuild index 5927754aaf13..06c7d3d6fc07 100644 --- a/dev-python/pdm-backend/pdm-backend-2.4.3.ebuild +++ b/dev-python/pdm-backend/pdm-backend-2.4.3.ebuild @@ -20,7 +20,7 @@ SRC_URI=" 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" # see src/pdm/backend/_vendor/vendor.txt RDEPEND=" diff --git a/dev-python/pip/Manifest b/dev-python/pip/Manifest index 610338e1e90d..a29e6221bd42 100644 --- a/dev-python/pip/Manifest +++ b/dev-python/pip/Manifest @@ -3,3 +3,4 @@ DIST pip-24.1.1.gh.tar.gz 9190972 BLAKE2B 1ce876d2767c1c36bac3237c17a3aced9dd5a3 DIST pip-24.1.2.gh.tar.gz 9192691 BLAKE2B 9b5a07e9f10b5787d668766423d8b3a9dfcc62564673155b80c7bc95ffe79daafa8788d8141f67c76d4098c21922e62fcb2164f72bf580bbeec136786c48d512 SHA512 222a957030e9c51defa6f741f8e176f2a19bd54f0ef664d2e218d3d2c2b5a335c9b7ce4bd1c804133d6116b3fbf37648453cd85f7a2bcf86a5aeb43e22db4b0f DIST pip-24.1.gh.tar.gz 9188658 BLAKE2B 4a43ff0199d811dd30461e376f655a447f3f706a48dd97fe1d0ccf630f558e72209ccd06d98949a1541cd6b2942a816db23ce8aaa7fbbf9aef429502fb91ab92 SHA512 c60ab329fe91202ff64b5f0f90209085fbf8db0f0a05f0703f952ad69e39e2e3edb5dadc006a3f317cdd4ba4fb5abe56dfbd22792249a2d139702eec272186d1 DIST pip-24.2.gh.tar.gz 9189637 BLAKE2B 6bc7bf69cd3e1edc1898a4476d36b749c037ac10a1614ef3a6bacc0c7debd38de94e0cf6d8a2931b1a7afb2f6f853922fcd62b65d17ac805f22741b7ff6423c6 SHA512 2c44881f62f7b89cedeb0b739409ad67c6144bfdffc347efeb7bcf85aed77bcd7ddd10868d24577fbba0ef84dd752473d6b6dff329b42841939fae2ff2f63d28 +DIST pip-24.3.1.gh.tar.gz 9198711 BLAKE2B c70524bfedf46776d5ab8da24754e8177caac6d87cc90aa86b144c0fe9718860fe3d08823f655495c059dbece6e0ecbb2ac8e655cff3124693f64a35deac512e SHA512 9cf5f18eefd559cf27bc026e5206b0028ea77fd904a61fea9a6682b519305c962dd19170b841581bd05ff72192a9c458ec0eba173fa66db0438b046111ff5856 diff --git a/dev-python/pip/files/pip-23.1-no-coverage.patch b/dev-python/pip/files/pip-23.1-no-coverage.patch index 943cc281cdfb..963bd4e7d43b 100644 --- a/dev-python/pip/files/pip-23.1-no-coverage.patch +++ b/dev-python/pip/files/pip-23.1-no-coverage.patch @@ -25,14 +25,10 @@ index 57dd7e68a..af2af9ffa 100644 def install_pth_link( venv: VirtualEnvironment, project_name: str, lib_dir: Path ) -> None: -@@ -430,7 +423,6 @@ def virtualenv_template( - pip_src: Path, +@@ -431,3 +424,2 @@ def virtualenv_template( setuptools_install: Path, wheel_install: Path, - coverage_install: Path, - ) -> Iterator[VirtualEnvironment]: - venv_type: VirtualEnvironmentType - if request.config.getoption("--use-venv"): @@ -457,13 +449,6 @@ def virtualenv_template( [os.fspath(venv.bin / "python"), "setup.py", "-q", "develop"], cwd=pip_editable ) diff --git a/dev-python/pip/files/pip-24.3.1-rich-13.8.patch b/dev-python/pip/files/pip-24.3.1-rich-13.8.patch new file mode 100644 index 000000000000..d17ccf5b2fe3 --- /dev/null +++ b/dev-python/pip/files/pip-24.3.1-rich-13.8.patch @@ -0,0 +1,47 @@ +From 8cfd050f615a4bad699ec55d4cb19b1f1dc4137e Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= +Date: Sat, 9 Nov 2024 16:41:40 +0100 +Subject: [PATCH] Override rich.console pipe handler for rich 13.8.0+ + +Explicitly override `rich.console.Console.on_broken_pipe()` to reraise +the original exception, to bring the behavior of rich 13.8.0+ in line +with older versions. The new versions instead close output fds and exit +with error instead, which prevents pip's pipe handler from firing. +This is the minimal change needed to make pip's test suite pass after +upgrading vendored rich. + +Bug #13006 +Bug #13072 +--- + src/pip/_internal/utils/logging.py | 9 ++++++++- + 2 files changed, 8 insertions(+), 1 deletion(-) + create mode 100644 news/13072.trivial.rst + +diff --git a/src/pip/_internal/utils/logging.py b/src/pip/_internal/utils/logging.py +index 41f6eb51a..be17add5d 100644 +--- a/src/pip/_internal/utils/logging.py ++++ b/src/pip/_internal/utils/logging.py +@@ -137,12 +137,19 @@ class IndentedRenderable: + yield Segment("\n") + + ++class PipConsole(Console): ++ def on_broken_pipe(self) -> None: ++ # Reraise the original exception, rich 13.8.0+ exits by default ++ # instead, preventing our handler from firing. ++ raise BrokenPipeError() from None ++ ++ + class RichPipStreamHandler(RichHandler): + KEYWORDS: ClassVar[Optional[List[str]]] = [] + + def __init__(self, stream: Optional[TextIO], no_color: bool) -> None: + super().__init__( +- console=Console(file=stream, no_color=no_color, soft_wrap=True), ++ console=PipConsole(file=stream, no_color=no_color, soft_wrap=True), + show_time=False, + show_level=False, + show_path=False, +-- +2.47.0 + diff --git a/dev-python/pip/pip-24.2-r1.ebuild b/dev-python/pip/pip-24.2-r1.ebuild index c6ea27d41143..50adf823c02e 100644 --- a/dev-python/pip/pip-24.2-r1.ebuild +++ b/dev-python/pip/pip-24.2-r1.ebuild @@ -58,6 +58,7 @@ BDEPEND=" dev-python/pretend[${PYTHON_USEDEP}] dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] dev-python/pytest-xdist[${PYTHON_USEDEP}] + completion.bash || die + "${EPYTHON}" -c "${pipcmd}" completion --zsh > completion.zsh || die +} + +python_test() { + if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then + einfo "Skipping tests on ${EPYTHON}" + return 0 + fi + + local EPYTEST_DESELECT=( + tests/functional/test_inspect.py::test_inspect_basic + # Internet + tests/functional/test_config_settings.py::test_backend_sees_config_via_sdist + tests/functional/test_install.py::test_double_install_fail + tests/functional/test_install.py::test_install_sdist_links + tests/functional/test_install_config.py::test_prompt_for_keyring_if_needed + # broken by system site-packages use + tests/functional/test_check.py::test_basic_check_clean + tests/functional/test_check.py::test_check_skip_work_dir_pkg + tests/functional/test_check.py::test_check_complicated_name_clean + tests/functional/test_check.py::test_check_development_versions_are_also_considered + tests/functional/test_freeze.py::test_freeze_with_setuptools + tests/functional/test_pip_runner_script.py::test_runner_work_in_environments_with_no_pip + tests/functional/test_uninstall.py::test_basic_uninstall_distutils + tests/unit/test_base_command.py::test_base_command_global_tempdir_cleanup + tests/unit/test_base_command.py::test_base_command_local_tempdir_cleanup + tests/unit/test_base_command.py::test_base_command_provides_tempdir_helpers + # broken by unbundling + "tests/functional/test_debug.py::test_debug[vendored library versions:]" + tests/functional/test_debug.py::test_debug__library_versions + tests/functional/test_python_option.py::test_python_interpreter + tests/functional/test_uninstall.py::test_uninstall_non_local_distutils + ) + local EPYTEST_IGNORE=( + # requires proxy.py + tests/functional/test_proxy.py + ) + + if ! has_version "dev-python/cryptography[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + tests/functional/test_install.py::test_install_sends_client_cert + tests/functional/test_install_config.py::test_do_not_prompt_for_authentication + tests/functional/test_install_config.py::test_prompt_for_authentication + tests/functional/test_install_config.py::test_prompt_for_keyring_if_needed + ) + fi + + local -x PIP_DISABLE_PIP_VERSION_CHECK=1 + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local EPYTEST_XDIST=1 + # rerunfailures because test suite breaks if packages are installed + # in parallel + epytest -m "not network" -o tmp_path_retention_policy=all \ + -p rerunfailures --reruns=5 +} + +python_install_all() { + local DOCS=( AUTHORS.txt docs/html/**/*.rst ) + distutils-r1_python_install_all + + newbashcomp completion.bash pip + + insinto /usr/share/zsh/site-functions + newins completion.zsh _pip +} diff --git a/dev-python/proto-plus/proto-plus-1.25.0.ebuild b/dev-python/proto-plus/proto-plus-1.25.0.ebuild index 8060e8a390e7..2297c2467c1e 100644 --- a/dev-python/proto-plus/proto-plus-1.25.0.ebuild +++ b/dev-python/proto-plus/proto-plus-1.25.0.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P} LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="~amd64 arm64 ~x86" RDEPEND=" =dev-db/redis-7"; then - local extra_conf=" - enable-debug-command yes - enable-module-command yes - " - fi - - # Spawn Redis itself for testing purposes - einfo "Spawning Redis" - einfo "NOTE: Port ${redis_port} must be free" - "${EPREFIX}"/usr/sbin/redis-server - <<- EOF || die "Unable to start redis server" - daemonize yes - pidfile ${redis_pid} - port ${redis_port} - bind 127.0.0.1 ::1 - ${extra_conf} - EOF - - # Run the tests - distutils-r1_src_test - - # Clean up afterwards - kill "$(<"${redis_pid}")" || die -} diff --git a/dev-python/redis/redis-5.2.0.ebuild b/dev-python/redis/redis-5.2.0.ebuild index 666599dc2f14..a61d1a428330 100644 --- a/dev-python/redis/redis-5.2.0.ebuild +++ b/dev-python/redis/redis-5.2.0.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P} LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~riscv ~sparc x86" RDEPEND=" $(python_gen_cond_dep ' diff --git a/dev-python/regress/regress-2024.11.1-r1.ebuild b/dev-python/regress/regress-2024.11.1-r1.ebuild new file mode 100644 index 000000000000..88183a291842 --- /dev/null +++ b/dev-python/regress/regress-2024.11.1-r1.ebuild @@ -0,0 +1,62 @@ +# Copyright 2024 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} pypy3 ) + +CRATES=" + ahash@0.8.11 + allocator-api2@0.2.18 + autocfg@1.1.0 + cc@1.1.7 + cfg-if@1.0.0 + hashbrown@0.14.5 + heck@0.5.0 + indoc@2.0.4 + libc@0.2.140 + memchr@2.5.0 + memoffset@0.9.0 + once_cell@1.19.0 + portable-atomic@1.6.0 + proc-macro2@1.0.86 + pyo3-build-config@0.22.5 + pyo3-ffi@0.22.5 + pyo3-macros-backend@0.22.5 + pyo3-macros@0.22.5 + pyo3@0.22.5 + python3-dll-a@0.2.10 + quote@1.0.36 + regress@0.10.1 + syn@2.0.72 + target-lexicon@0.12.16 + unicode-ident@1.0.8 + unindent@0.2.3 + version_check@0.9.4 + zerocopy-derive@0.7.35 + zerocopy@0.7.35 +" + +inherit cargo distutils-r1 + +DESCRIPTION="Python bindings to the Rust regress crate" +HOMEPAGE=" + https://pypi.org/project/regress/ + https://github.com/crate-py/regress +" +SRC_URI=" + https://github.com/crate-py/regress/releases/download/v${PV}/${P}.tar.gz + ${CARGO_CRATE_URIS} +" + +LICENSE="MIT" +# Dependent crate licenses +LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT Unicode-DFS-2016" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv" + +distutils_enable_tests pytest + +QA_FLAGS_IGNORED="usr/lib/py.*/site-packages/regress/regress.*.so" diff --git a/dev-python/regress/regress-2024.11.1.ebuild b/dev-python/regress/regress-2024.11.1.ebuild deleted file mode 100644 index 88183a291842..000000000000 --- a/dev-python/regress/regress-2024.11.1.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 2024 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} pypy3 ) - -CRATES=" - ahash@0.8.11 - allocator-api2@0.2.18 - autocfg@1.1.0 - cc@1.1.7 - cfg-if@1.0.0 - hashbrown@0.14.5 - heck@0.5.0 - indoc@2.0.4 - libc@0.2.140 - memchr@2.5.0 - memoffset@0.9.0 - once_cell@1.19.0 - portable-atomic@1.6.0 - proc-macro2@1.0.86 - pyo3-build-config@0.22.5 - pyo3-ffi@0.22.5 - pyo3-macros-backend@0.22.5 - pyo3-macros@0.22.5 - pyo3@0.22.5 - python3-dll-a@0.2.10 - quote@1.0.36 - regress@0.10.1 - syn@2.0.72 - target-lexicon@0.12.16 - unicode-ident@1.0.8 - unindent@0.2.3 - version_check@0.9.4 - zerocopy-derive@0.7.35 - zerocopy@0.7.35 -" - -inherit cargo distutils-r1 - -DESCRIPTION="Python bindings to the Rust regress crate" -HOMEPAGE=" - https://pypi.org/project/regress/ - https://github.com/crate-py/regress -" -SRC_URI=" - https://github.com/crate-py/regress/releases/download/v${PV}/${P}.tar.gz - ${CARGO_CRATE_URIS} -" - -LICENSE="MIT" -# Dependent crate licenses -LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT Unicode-DFS-2016" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv" - -distutils_enable_tests pytest - -QA_FLAGS_IGNORED="usr/lib/py.*/site-packages/regress/regress.*.so" diff --git a/dev-python/regress/regress-2024.8.1-r1.ebuild b/dev-python/regress/regress-2024.8.1-r1.ebuild new file mode 100644 index 000000000000..889b069c3c3b --- /dev/null +++ b/dev-python/regress/regress-2024.8.1-r1.ebuild @@ -0,0 +1,62 @@ +# Copyright 2024 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} pypy3 ) + +CRATES=" + ahash@0.8.11 + allocator-api2@0.2.18 + autocfg@1.1.0 + cc@1.1.7 + cfg-if@1.0.0 + hashbrown@0.14.5 + heck@0.5.0 + indoc@2.0.4 + libc@0.2.140 + memchr@2.5.0 + memoffset@0.9.0 + once_cell@1.19.0 + portable-atomic@1.6.0 + proc-macro2@1.0.86 + pyo3-build-config@0.22.2 + pyo3-ffi@0.22.2 + pyo3-macros-backend@0.22.2 + pyo3-macros@0.22.2 + pyo3@0.22.2 + python3-dll-a@0.2.10 + quote@1.0.36 + regress@0.10.0 + syn@2.0.72 + target-lexicon@0.12.16 + unicode-ident@1.0.8 + unindent@0.2.3 + version_check@0.9.4 + zerocopy-derive@0.7.35 + zerocopy@0.7.35 +" + +inherit cargo distutils-r1 + +DESCRIPTION="Python bindings to the Rust regress crate" +HOMEPAGE=" + https://pypi.org/project/regress/ + https://github.com/crate-py/regress +" +SRC_URI=" + https://github.com/crate-py/regress/releases/download/v${PV}/${P}.tar.gz + ${CARGO_CRATE_URIS} +" + +LICENSE="MIT" +# Dependent crate licenses +LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT Unicode-DFS-2016" +SLOT="0" +KEYWORDS="amd64 ~arm64 ~riscv" + +distutils_enable_tests pytest + +QA_FLAGS_IGNORED="usr/lib/py.*/site-packages/regress/regress.*.so" diff --git a/dev-python/regress/regress-2024.8.1.ebuild b/dev-python/regress/regress-2024.8.1.ebuild deleted file mode 100644 index 889b069c3c3b..000000000000 --- a/dev-python/regress/regress-2024.8.1.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 2024 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} pypy3 ) - -CRATES=" - ahash@0.8.11 - allocator-api2@0.2.18 - autocfg@1.1.0 - cc@1.1.7 - cfg-if@1.0.0 - hashbrown@0.14.5 - heck@0.5.0 - indoc@2.0.4 - libc@0.2.140 - memchr@2.5.0 - memoffset@0.9.0 - once_cell@1.19.0 - portable-atomic@1.6.0 - proc-macro2@1.0.86 - pyo3-build-config@0.22.2 - pyo3-ffi@0.22.2 - pyo3-macros-backend@0.22.2 - pyo3-macros@0.22.2 - pyo3@0.22.2 - python3-dll-a@0.2.10 - quote@1.0.36 - regress@0.10.0 - syn@2.0.72 - target-lexicon@0.12.16 - unicode-ident@1.0.8 - unindent@0.2.3 - version_check@0.9.4 - zerocopy-derive@0.7.35 - zerocopy@0.7.35 -" - -inherit cargo distutils-r1 - -DESCRIPTION="Python bindings to the Rust regress crate" -HOMEPAGE=" - https://pypi.org/project/regress/ - https://github.com/crate-py/regress -" -SRC_URI=" - https://github.com/crate-py/regress/releases/download/v${PV}/${P}.tar.gz - ${CARGO_CRATE_URIS} -" - -LICENSE="MIT" -# Dependent crate licenses -LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT Unicode-DFS-2016" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~riscv" - -distutils_enable_tests pytest - -QA_FLAGS_IGNORED="usr/lib/py.*/site-packages/regress/regress.*.so" diff --git a/dev-python/rich/Manifest b/dev-python/rich/Manifest index 4009b1862fa2..9871c75a901f 100644 --- a/dev-python/rich/Manifest +++ b/dev-python/rich/Manifest @@ -1,2 +1,2 @@ -DIST rich-13.9.2.gh.tar.gz 15063908 BLAKE2B c83f736630a7bfbccda7d790476e7a9f518f2fa4e6bb3d4f5190bdeae784571875066c94bd8f4e01117b45a7eee83e9072bb7bb64ab5d5d8675aac5a63d5b0b5 SHA512 468e8f758c374264a77be154dde8908e04502cf8dfdc442dacfaebaaf9f1fbf634ae8dcbcefe42f7562183532a372aebebcdcb03c90031f619a8c5f2cd78f653 +DIST rich-13.7.1.gh.tar.gz 15058064 BLAKE2B 6fad18bf0a4e4f72e530c78db7a498f27dd8c9a7b9b17ca5ef12a94bbe513857f3c42d4903f8ebbfe8907727cddaf290f08862c27efb29db8aaf70c7bcb13ace SHA512 0c69101bc6c2a238a4c516812cda08299115b903b8282ee348b45b212a88fcbfbf69d11a3705a97bdb6192988ee3047804bb5b52b7950d860542cde8ce2d4bd2 DIST rich-13.9.3.gh.tar.gz 15064090 BLAKE2B 4ef76583ed13692b9f4a9714a68186fd06262e76d691f79cd256b4ab153052efd5fdf2320df797683ea1765cf063215a6b2d2614cd8040ebed0b89178cdcf2e0 SHA512 ca74d59e5df0476b482f60fac8d1f2e0810ffa61a10d410ff188c82548df3307405119f3b18992d96b01458b921ebcd61c99bf68dd808358395e9b04cf78579b diff --git a/dev-python/rich/rich-13.7.1.ebuild b/dev-python/rich/rich-13.7.1.ebuild new file mode 100644 index 000000000000..a786c0768469 --- /dev/null +++ b/dev-python/rich/rich-13.7.1.ebuild @@ -0,0 +1,74 @@ +# Copyright 2022-2024 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 optfeature + +DESCRIPTION="Python library for rendering rich text, tables, etc. to the terminal" +HOMEPAGE=" + https://github.com/Textualize/rich/ + https://pypi.org/project/rich/ +" +SRC_URI=" + https://github.com/Textualize/rich/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" + +RDEPEND=" + dev-python/colorama[${PYTHON_USEDEP}] + >=dev-python/markdown-it-py-2.2.0[${PYTHON_USEDEP}] + >=dev-python/pygments-2.13.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/attrs-21.4.0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # TODO + tests/test_console.py::test_size_can_fall_back_to_std_descriptors + # TODO: segfault in recursion (PyQt6 interfering?) + tests/test_traceback.py::test_recursive + ) + # version-specific output -- the usual deal + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + # pypy3.10, to be more precise + tests/test_inspect.py::test_inspect_integer_with_methods_python310only + ) + ;; + python3.13) + EPYTEST_DESELECT+=( + tests/test_inspect.py::test_inspect_builtin_function_except_python311 + tests/test_inspect.py::test_inspect_integer_with_methods_python38_and_python39 + tests/test_inspect.py::test_inspect_integer_with_methods_python310only + tests/test_inspect.py::test_inspect_integer_with_methods_python311 + tests/test_pretty.py::test_pretty_dataclass + tests/test_pretty.py::test_reference_cycle_dataclass + tests/test_pretty.py::test_max_depth_dataclass + tests/test_pretty.py::test_attrs_broken + ) + ;; + esac + + local -x COLUMNS=80 + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} + +pkg_postinst() { + optfeature "integration with HTML widgets for Jupyter" dev-python/ipywidgets +} diff --git a/dev-python/rich/rich-13.9.2.ebuild b/dev-python/rich/rich-13.9.2.ebuild deleted file mode 100644 index 1331940a83d8..000000000000 --- a/dev-python/rich/rich-13.9.2.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 2022-2024 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 optfeature - -DESCRIPTION="Python library for rendering rich text, tables, etc. to the terminal" -HOMEPAGE=" - https://github.com/Textualize/rich/ - https://pypi.org/project/rich/ -" -SRC_URI=" - https://github.com/Textualize/rich/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - dev-python/colorama[${PYTHON_USEDEP}] - >=dev-python/markdown-it-py-2.2.0[${PYTHON_USEDEP}] - >=dev-python/pygments-2.13.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/typing-extensions-4.0.0[${PYTHON_USEDEP}] - ' 3.10) -" -BDEPEND=" - test? ( - >=dev-python/attrs-21.4.0[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # TODO - tests/test_console.py::test_size_can_fall_back_to_std_descriptors - # TODO: segfault in recursion (PyQt6 interfering?) - tests/test_traceback.py::test_recursive - ) - # version-specific output -- the usual deal - case ${EPYTHON} in - pypy3) - EPYTEST_DESELECT+=( - # pypy3.10, to be more precise - tests/test_inspect.py::test_inspect_integer_with_methods_python310only - ) - ;; - python3.13) - EPYTEST_DESELECT+=( - tests/test_inspect.py::test_inspect_builtin_function_except_python311 - tests/test_inspect.py::test_inspect_integer_with_methods_python38_and_python39 - tests/test_inspect.py::test_inspect_integer_with_methods_python310only - tests/test_inspect.py::test_inspect_integer_with_methods_python311 - tests/test_pretty.py::test_pretty_dataclass - tests/test_pretty.py::test_reference_cycle_dataclass - tests/test_pretty.py::test_max_depth_dataclass - tests/test_pretty.py::test_attrs_broken - ) - ;; - esac - - local -x COLUMNS=80 - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} - -pkg_postinst() { - optfeature "integration with HTML widgets for Jupyter" dev-python/ipywidgets -} diff --git a/dev-python/rich/rich-13.9.3.ebuild b/dev-python/rich/rich-13.9.3.ebuild index 394f7a04fbcf..1331940a83d8 100644 --- a/dev-python/rich/rich-13.9.3.ebuild +++ b/dev-python/rich/rich-13.9.3.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" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" dev-python/colorama[${PYTHON_USEDEP}] diff --git a/dev-python/rpds-py/rpds-py-0.19.1-r1.ebuild b/dev-python/rpds-py/rpds-py-0.19.1-r1.ebuild new file mode 100644 index 000000000000..c22dd8993a8d --- /dev/null +++ b/dev-python/rpds-py/rpds-py-0.19.1-r1.ebuild @@ -0,0 +1,61 @@ +# Copyright 2023-2024 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} pypy3 ) + +CRATES=" + archery@1.2.0 + autocfg@1.3.0 + cc@1.0.90 + cfg-if@1.0.0 + heck@0.5.0 + indoc@2.0.5 + libc@0.2.155 + memoffset@0.9.1 + once_cell@1.19.0 + portable-atomic@1.6.0 + proc-macro2@1.0.86 + pyo3-build-config@0.22.2 + pyo3-ffi@0.22.2 + pyo3-macros-backend@0.22.2 + pyo3-macros@0.22.2 + pyo3@0.22.2 + python3-dll-a@0.2.10 + quote@1.0.36 + rpds@1.1.0 + static_assertions@1.1.0 + syn@2.0.69 + target-lexicon@0.12.14 + triomphe@0.1.13 + unicode-ident@1.0.12 + unindent@0.2.3 +" + +RUST_MIN_VER="1.77.1" + +inherit cargo distutils-r1 pypi + +DESCRIPTION="Python bindings to Rust's persistent data structures (rpds)" +HOMEPAGE=" + https://github.com/crate-py/rpds/ + https://pypi.org/project/rpds-py/ +" +SRC_URI+=" + ${CARGO_CRATE_URIS} +" + +LICENSE="MIT" +# Dependent crate licenses +LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT MPL-2.0 Unicode-DFS-2016" +SLOT="0" +KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" + +QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/rpds/rpds.*.so" + +distutils_enable_tests pytest + +export UNSAFE_PYO3_SKIP_VERSION_CHECK=1 diff --git a/dev-python/rpds-py/rpds-py-0.19.1.ebuild b/dev-python/rpds-py/rpds-py-0.19.1.ebuild deleted file mode 100644 index 3b3b881dcbb8..000000000000 --- a/dev-python/rpds-py/rpds-py-0.19.1.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 2023-2024 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} pypy3 ) - -CRATES=" - archery@1.2.0 - autocfg@1.3.0 - cc@1.0.90 - cfg-if@1.0.0 - heck@0.5.0 - indoc@2.0.5 - libc@0.2.155 - memoffset@0.9.1 - once_cell@1.19.0 - portable-atomic@1.6.0 - proc-macro2@1.0.86 - pyo3-build-config@0.22.2 - pyo3-ffi@0.22.2 - pyo3-macros-backend@0.22.2 - pyo3-macros@0.22.2 - pyo3@0.22.2 - python3-dll-a@0.2.10 - quote@1.0.36 - rpds@1.1.0 - static_assertions@1.1.0 - syn@2.0.69 - target-lexicon@0.12.14 - triomphe@0.1.13 - unicode-ident@1.0.12 - unindent@0.2.3 -" - -inherit cargo distutils-r1 pypi - -DESCRIPTION="Python bindings to Rust's persistent data structures (rpds)" -HOMEPAGE=" - https://github.com/crate-py/rpds/ - https://pypi.org/project/rpds-py/ -" -SRC_URI+=" - ${CARGO_CRATE_URIS} -" - -LICENSE="MIT" -# Dependent crate licenses -LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT MPL-2.0 Unicode-DFS-2016" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -BDEPEND=" - >=virtual/rust-1.76.0 -" - -QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/rpds/rpds.*.so" - -distutils_enable_tests pytest - -export UNSAFE_PYO3_SKIP_VERSION_CHECK=1 diff --git a/dev-python/rpds-py/rpds-py-0.20.1-r1.ebuild b/dev-python/rpds-py/rpds-py-0.20.1-r1.ebuild new file mode 100644 index 000000000000..ad6865495f97 --- /dev/null +++ b/dev-python/rpds-py/rpds-py-0.20.1-r1.ebuild @@ -0,0 +1,60 @@ +# Copyright 2023-2024 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} pypy3 ) + +CRATES=" + archery@1.2.1 + autocfg@1.3.0 + cc@1.0.90 + cfg-if@1.0.0 + heck@0.5.0 + indoc@2.0.5 + libc@0.2.155 + memoffset@0.9.1 + once_cell@1.19.0 + portable-atomic@1.6.0 + proc-macro2@1.0.86 + pyo3-build-config@0.22.5 + pyo3-ffi@0.22.5 + pyo3-macros-backend@0.22.5 + pyo3-macros@0.22.5 + pyo3@0.22.5 + python3-dll-a@0.2.10 + quote@1.0.36 + rpds@1.1.0 + syn@2.0.69 + target-lexicon@0.12.14 + triomphe@0.1.13 + unicode-ident@1.0.12 + unindent@0.2.3 +" + +RUST_MIN_VER="1.77.1" + +inherit cargo distutils-r1 pypi + +DESCRIPTION="Python bindings to Rust's persistent data structures (rpds)" +HOMEPAGE=" + https://github.com/crate-py/rpds/ + https://pypi.org/project/rpds-py/ +" +SRC_URI+=" + ${CARGO_CRATE_URIS} +" + +LICENSE="MIT" +# Dependent crate licenses +LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT MPL-2.0 Unicode-DFS-2016" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/rpds/rpds.*.so" + +distutils_enable_tests pytest + +export UNSAFE_PYO3_SKIP_VERSION_CHECK=1 diff --git a/dev-python/rpds-py/rpds-py-0.20.1.ebuild b/dev-python/rpds-py/rpds-py-0.20.1.ebuild deleted file mode 100644 index 70a6e5bcdf63..000000000000 --- a/dev-python/rpds-py/rpds-py-0.20.1.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 2023-2024 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} pypy3 ) - -CRATES=" - archery@1.2.1 - autocfg@1.3.0 - cc@1.0.90 - cfg-if@1.0.0 - heck@0.5.0 - indoc@2.0.5 - libc@0.2.155 - memoffset@0.9.1 - once_cell@1.19.0 - portable-atomic@1.6.0 - proc-macro2@1.0.86 - pyo3-build-config@0.22.5 - pyo3-ffi@0.22.5 - pyo3-macros-backend@0.22.5 - pyo3-macros@0.22.5 - pyo3@0.22.5 - python3-dll-a@0.2.10 - quote@1.0.36 - rpds@1.1.0 - syn@2.0.69 - target-lexicon@0.12.14 - triomphe@0.1.13 - unicode-ident@1.0.12 - unindent@0.2.3 -" - -inherit cargo distutils-r1 pypi - -DESCRIPTION="Python bindings to Rust's persistent data structures (rpds)" -HOMEPAGE=" - https://github.com/crate-py/rpds/ - https://pypi.org/project/rpds-py/ -" -SRC_URI+=" - ${CARGO_CRATE_URIS} -" - -LICENSE="MIT" -# Dependent crate licenses -LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT MPL-2.0 Unicode-DFS-2016" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -BDEPEND=" - >=virtual/rust-1.76.0 -" - -QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/rpds/rpds.*.so" - -distutils_enable_tests pytest - -export UNSAFE_PYO3_SKIP_VERSION_CHECK=1 diff --git a/dev-python/rpds-py/rpds-py-0.21.0-r1.ebuild b/dev-python/rpds-py/rpds-py-0.21.0-r1.ebuild new file mode 100644 index 000000000000..8eae4938a60c --- /dev/null +++ b/dev-python/rpds-py/rpds-py-0.21.0-r1.ebuild @@ -0,0 +1,60 @@ +# Copyright 2023-2024 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} pypy3 ) + +CRATES=" + archery@1.2.1 + autocfg@1.3.0 + cc@1.0.90 + cfg-if@1.0.0 + heck@0.5.0 + indoc@2.0.5 + libc@0.2.155 + memoffset@0.9.1 + once_cell@1.19.0 + portable-atomic@1.6.0 + proc-macro2@1.0.86 + pyo3-build-config@0.22.6 + pyo3-ffi@0.22.6 + pyo3-macros-backend@0.22.6 + pyo3-macros@0.22.6 + pyo3@0.22.6 + python3-dll-a@0.2.10 + quote@1.0.36 + rpds@1.1.0 + syn@2.0.69 + target-lexicon@0.12.14 + triomphe@0.1.13 + unicode-ident@1.0.12 + unindent@0.2.3 +" + +RUST_MIN_VER="1.77.1" + +inherit cargo distutils-r1 pypi + +DESCRIPTION="Python bindings to Rust's persistent data structures (rpds)" +HOMEPAGE=" + https://github.com/crate-py/rpds/ + https://pypi.org/project/rpds-py/ +" +SRC_URI+=" + ${CARGO_CRATE_URIS} +" + +LICENSE="MIT" +# Dependent crate licenses +LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT MPL-2.0 Unicode-DFS-2016" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/rpds/rpds.*.so" + +distutils_enable_tests pytest + +export UNSAFE_PYO3_SKIP_VERSION_CHECK=1 diff --git a/dev-python/rpds-py/rpds-py-0.21.0.ebuild b/dev-python/rpds-py/rpds-py-0.21.0.ebuild deleted file mode 100644 index 7e7395d68943..000000000000 --- a/dev-python/rpds-py/rpds-py-0.21.0.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 2023-2024 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} pypy3 ) - -CRATES=" - archery@1.2.1 - autocfg@1.3.0 - cc@1.0.90 - cfg-if@1.0.0 - heck@0.5.0 - indoc@2.0.5 - libc@0.2.155 - memoffset@0.9.1 - once_cell@1.19.0 - portable-atomic@1.6.0 - proc-macro2@1.0.86 - pyo3-build-config@0.22.6 - pyo3-ffi@0.22.6 - pyo3-macros-backend@0.22.6 - pyo3-macros@0.22.6 - pyo3@0.22.6 - python3-dll-a@0.2.10 - quote@1.0.36 - rpds@1.1.0 - syn@2.0.69 - target-lexicon@0.12.14 - triomphe@0.1.13 - unicode-ident@1.0.12 - unindent@0.2.3 -" - -inherit cargo distutils-r1 pypi - -DESCRIPTION="Python bindings to Rust's persistent data structures (rpds)" -HOMEPAGE=" - https://github.com/crate-py/rpds/ - https://pypi.org/project/rpds-py/ -" -SRC_URI+=" - ${CARGO_CRATE_URIS} -" - -LICENSE="MIT" -# Dependent crate licenses -LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT MPL-2.0 Unicode-DFS-2016" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -BDEPEND=" - >=virtual/rust-1.76.0 -" - -QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/rpds/rpds.*.so" - -distutils_enable_tests pytest - -export UNSAFE_PYO3_SKIP_VERSION_CHECK=1 diff --git a/dev-python/ruamel-yaml-clib/ruamel-yaml-clib-0.2.12.ebuild b/dev-python/ruamel-yaml-clib/ruamel-yaml-clib-0.2.12.ebuild index 2602f1b1a5b4..405ff4175de4 100644 --- a/dev-python/ruamel-yaml-clib/ruamel-yaml-clib-0.2.12.ebuild +++ b/dev-python/ruamel-yaml-clib/ruamel-yaml-clib-0.2.12.ebuild @@ -21,7 +21,7 @@ S=${WORKDIR}/ruamel_yaml_clib LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc ~x86" BDEPEND=" dev-python/cython[${PYTHON_USEDEP}] diff --git a/dev-python/rustworkx/rustworkx-0.14.2-r1.ebuild b/dev-python/rustworkx/rustworkx-0.14.2-r1.ebuild deleted file mode 100644 index a1afe69431be..000000000000 --- a/dev-python/rustworkx/rustworkx-0.14.2-r1.ebuild +++ /dev/null @@ -1,159 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -CRATES=" - ahash@0.8.6 - alga@0.9.3 - allocator-api2@0.2.16 - approx@0.3.2 - autocfg@1.1.0 - bitflags@1.3.2 - cfg-if@1.0.0 - crossbeam-deque@0.8.5 - crossbeam-epoch@0.9.18 - crossbeam-utils@0.8.19 - either@1.9.0 - equivalent@1.0.1 - fixedbitset@0.4.2 - getrandom@0.2.12 - hashbrown@0.12.3 - hashbrown@0.14.3 - heck@0.4.1 - hermit-abi@0.3.4 - indexmap@1.9.3 - indexmap@2.1.0 - indoc@2.0.4 - itertools@0.10.5 - itertools@0.11.0 - itoa@1.0.10 - libc@0.2.152 - libm@0.2.8 - lock_api@0.4.11 - matrixmultiply@0.3.8 - memchr@2.7.1 - memoffset@0.9.0 - ndarray-stats@0.5.1 - ndarray@0.15.6 - noisy_float@0.2.0 - num-bigint@0.4.4 - num-complex@0.2.4 - num-complex@0.4.4 - num-integer@0.1.45 - num-traits@0.2.17 - num_cpus@1.16.0 - numpy@0.20.0 - once_cell@1.19.0 - parking_lot@0.12.1 - parking_lot_core@0.9.9 - petgraph@0.6.4 - ppv-lite86@0.2.17 - priority-queue@1.3.2 - proc-macro2@1.0.78 - pyo3-build-config@0.20.2 - pyo3-ffi@0.20.2 - pyo3-macros-backend@0.20.2 - pyo3-macros@0.20.2 - pyo3@0.20.2 - quick-xml@0.31.0 - quote@1.0.35 - rand@0.8.5 - rand_chacha@0.3.1 - rand_core@0.6.4 - rand_pcg@0.3.1 - rawpointer@0.2.1 - rayon-cond@0.3.0 - rayon-core@1.12.1 - rayon@1.8.1 - redox_syscall@0.4.1 - rustc-hash@1.1.0 - ryu@1.0.16 - scopeguard@1.2.0 - serde@1.0.195 - serde_derive@1.0.195 - serde_json@1.0.111 - smallvec@1.13.1 - sprs@0.11.1 - syn@2.0.48 - target-lexicon@0.12.13 - unicode-ident@1.0.12 - unindent@0.2.3 - version_check@0.9.4 - wasi@0.11.0+wasi-snapshot-preview1 - windows-targets@0.48.5 - windows_aarch64_gnullvm@0.48.5 - windows_aarch64_msvc@0.48.5 - windows_i686_gnu@0.48.5 - windows_i686_msvc@0.48.5 - windows_x86_64_gnu@0.48.5 - windows_x86_64_gnullvm@0.48.5 - windows_x86_64_msvc@0.48.5 - zerocopy-derive@0.7.32 - zerocopy@0.7.32 -" - -inherit cargo distutils-r1 - -DESCRIPTION="A high performance Python graph library implemented in Rust" -HOMEPAGE=" - https://github.com/Qiskit/rustworkx/ - https://pypi.org/project/rustworkx/ -" -SRC_URI=" - https://github.com/Qiskit/rustworkx/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - ${CARGO_CRATE_URIS} -" - -LICENSE="Apache-2.0" -# Dependent crate licenses -LICENSE+=" - Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 MIT - Unicode-DFS-2016 - || ( LGPL-3 MPL-2.0 ) -" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - >=dev-python/numpy-1.16.0[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/setuptools-rust[${PYTHON_USEDEP}] - test? ( - dev-python/fixtures[${PYTHON_USEDEP}] - dev-python/graphviz[${PYTHON_USEDEP}] - >=dev-python/networkx-2.5[${PYTHON_USEDEP}] - dev-python/stestr[${PYTHON_USEDEP}] - >=dev-python/testtools-2.5.0[${PYTHON_USEDEP}] - media-gfx/graphviz[gts] - ) -" - -# Libraries built with rust do not use CFLAGS and LDFLAGS. -QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/rustworkx/rustworkx.*\\.so" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -PATCHES=( - # https://github.com/Qiskit/rustworkx/pull/1156 - # part of https://github.com/Qiskit/rustworkx/pull/1172 - "${FILESDIR}/${P}-numpy-2.patch" -) - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local EPYTEST_DESELECT=( - # TODO: hangs - tests/retworkx_backwards_compat/visualization/test_mpl.py - tests/rustworkx_tests/visualization/test_mpl.py - ) - rm -rf rustworkx || die - epytest -} diff --git a/dev-python/rustworkx/rustworkx-0.14.2-r2.ebuild b/dev-python/rustworkx/rustworkx-0.14.2-r2.ebuild new file mode 100644 index 000000000000..a1afe69431be --- /dev/null +++ b/dev-python/rustworkx/rustworkx-0.14.2-r2.ebuild @@ -0,0 +1,159 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +CRATES=" + ahash@0.8.6 + alga@0.9.3 + allocator-api2@0.2.16 + approx@0.3.2 + autocfg@1.1.0 + bitflags@1.3.2 + cfg-if@1.0.0 + crossbeam-deque@0.8.5 + crossbeam-epoch@0.9.18 + crossbeam-utils@0.8.19 + either@1.9.0 + equivalent@1.0.1 + fixedbitset@0.4.2 + getrandom@0.2.12 + hashbrown@0.12.3 + hashbrown@0.14.3 + heck@0.4.1 + hermit-abi@0.3.4 + indexmap@1.9.3 + indexmap@2.1.0 + indoc@2.0.4 + itertools@0.10.5 + itertools@0.11.0 + itoa@1.0.10 + libc@0.2.152 + libm@0.2.8 + lock_api@0.4.11 + matrixmultiply@0.3.8 + memchr@2.7.1 + memoffset@0.9.0 + ndarray-stats@0.5.1 + ndarray@0.15.6 + noisy_float@0.2.0 + num-bigint@0.4.4 + num-complex@0.2.4 + num-complex@0.4.4 + num-integer@0.1.45 + num-traits@0.2.17 + num_cpus@1.16.0 + numpy@0.20.0 + once_cell@1.19.0 + parking_lot@0.12.1 + parking_lot_core@0.9.9 + petgraph@0.6.4 + ppv-lite86@0.2.17 + priority-queue@1.3.2 + proc-macro2@1.0.78 + pyo3-build-config@0.20.2 + pyo3-ffi@0.20.2 + pyo3-macros-backend@0.20.2 + pyo3-macros@0.20.2 + pyo3@0.20.2 + quick-xml@0.31.0 + quote@1.0.35 + rand@0.8.5 + rand_chacha@0.3.1 + rand_core@0.6.4 + rand_pcg@0.3.1 + rawpointer@0.2.1 + rayon-cond@0.3.0 + rayon-core@1.12.1 + rayon@1.8.1 + redox_syscall@0.4.1 + rustc-hash@1.1.0 + ryu@1.0.16 + scopeguard@1.2.0 + serde@1.0.195 + serde_derive@1.0.195 + serde_json@1.0.111 + smallvec@1.13.1 + sprs@0.11.1 + syn@2.0.48 + target-lexicon@0.12.13 + unicode-ident@1.0.12 + unindent@0.2.3 + version_check@0.9.4 + wasi@0.11.0+wasi-snapshot-preview1 + windows-targets@0.48.5 + windows_aarch64_gnullvm@0.48.5 + windows_aarch64_msvc@0.48.5 + windows_i686_gnu@0.48.5 + windows_i686_msvc@0.48.5 + windows_x86_64_gnu@0.48.5 + windows_x86_64_gnullvm@0.48.5 + windows_x86_64_msvc@0.48.5 + zerocopy-derive@0.7.32 + zerocopy@0.7.32 +" + +inherit cargo distutils-r1 + +DESCRIPTION="A high performance Python graph library implemented in Rust" +HOMEPAGE=" + https://github.com/Qiskit/rustworkx/ + https://pypi.org/project/rustworkx/ +" +SRC_URI=" + https://github.com/Qiskit/rustworkx/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + ${CARGO_CRATE_URIS} +" + +LICENSE="Apache-2.0" +# Dependent crate licenses +LICENSE+=" + Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 MIT + Unicode-DFS-2016 + || ( LGPL-3 MPL-2.0 ) +" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/numpy-1.16.0[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-rust[${PYTHON_USEDEP}] + test? ( + dev-python/fixtures[${PYTHON_USEDEP}] + dev-python/graphviz[${PYTHON_USEDEP}] + >=dev-python/networkx-2.5[${PYTHON_USEDEP}] + dev-python/stestr[${PYTHON_USEDEP}] + >=dev-python/testtools-2.5.0[${PYTHON_USEDEP}] + media-gfx/graphviz[gts] + ) +" + +# Libraries built with rust do not use CFLAGS and LDFLAGS. +QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/rustworkx/rustworkx.*\\.so" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +PATCHES=( + # https://github.com/Qiskit/rustworkx/pull/1156 + # part of https://github.com/Qiskit/rustworkx/pull/1172 + "${FILESDIR}/${P}-numpy-2.patch" +) + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local EPYTEST_DESELECT=( + # TODO: hangs + tests/retworkx_backwards_compat/visualization/test_mpl.py + tests/rustworkx_tests/visualization/test_mpl.py + ) + rm -rf rustworkx || die + epytest +} diff --git a/dev-python/rustworkx/rustworkx-0.15.0-r1.ebuild b/dev-python/rustworkx/rustworkx-0.15.0-r1.ebuild new file mode 100644 index 000000000000..2a8f193d4649 --- /dev/null +++ b/dev-python/rustworkx/rustworkx-0.15.0-r1.ebuild @@ -0,0 +1,154 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +CRATES=" + ahash@0.8.11 + alga@0.9.3 + allocator-api2@0.2.16 + approx@0.3.2 + autocfg@1.2.0 + bitflags@1.3.2 + cfg-if@1.0.0 + crossbeam-deque@0.8.5 + crossbeam-epoch@0.9.18 + crossbeam-utils@0.8.19 + either@1.10.0 + equivalent@1.0.1 + fixedbitset@0.4.2 + getrandom@0.2.12 + hashbrown@0.12.3 + hashbrown@0.14.5 + heck@0.4.1 + hermit-abi@0.3.9 + indexmap@1.9.3 + indexmap@2.2.6 + indoc@2.0.5 + itertools@0.10.5 + itertools@0.11.0 + itoa@1.0.11 + libc@0.2.153 + libm@0.2.8 + lock_api@0.4.11 + matrixmultiply@0.3.8 + memchr@2.7.2 + memoffset@0.9.1 + ndarray-stats@0.5.1 + ndarray@0.15.6 + noisy_float@0.2.0 + num-bigint@0.4.5 + num-complex@0.2.4 + num-complex@0.4.6 + num-integer@0.1.46 + num-traits@0.2.19 + num_cpus@1.16.0 + numpy@0.21.0 + once_cell@1.19.0 + parking_lot@0.12.1 + parking_lot_core@0.9.9 + petgraph@0.6.5 + portable-atomic@1.6.0 + ppv-lite86@0.2.17 + priority-queue@2.0.3 + proc-macro2@1.0.79 + pyo3-build-config@0.21.2 + pyo3-ffi@0.21.2 + pyo3-macros-backend@0.21.2 + pyo3-macros@0.21.2 + pyo3@0.21.2 + quick-xml@0.34.0 + quote@1.0.35 + rand@0.8.5 + rand_chacha@0.3.1 + rand_core@0.6.4 + rand_pcg@0.3.1 + rawpointer@0.2.1 + rayon-cond@0.3.0 + rayon-core@1.12.1 + rayon@1.10.0 + redox_syscall@0.4.1 + rustc-hash@1.1.0 + ryu@1.0.17 + scopeguard@1.2.0 + serde@1.0.203 + serde_derive@1.0.203 + serde_json@1.0.118 + smallvec@1.13.2 + sprs@0.11.1 + syn@2.0.57 + target-lexicon@0.12.14 + unicode-ident@1.0.12 + unindent@0.2.3 + version_check@0.9.4 + wasi@0.11.0+wasi-snapshot-preview1 + windows-targets@0.48.5 + windows_aarch64_gnullvm@0.48.5 + windows_aarch64_msvc@0.48.5 + windows_i686_gnu@0.48.5 + windows_i686_msvc@0.48.5 + windows_x86_64_gnu@0.48.5 + windows_x86_64_gnullvm@0.48.5 + windows_x86_64_msvc@0.48.5 + zerocopy-derive@0.7.32 + zerocopy@0.7.32 +" + +inherit cargo distutils-r1 + +DESCRIPTION="A high performance Python graph library implemented in Rust" +HOMEPAGE=" + https://github.com/Qiskit/rustworkx/ + https://pypi.org/project/rustworkx/ +" +SRC_URI=" + https://github.com/Qiskit/rustworkx/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + ${CARGO_CRATE_URIS} +" + +LICENSE="Apache-2.0" +# Dependent crate licenses +LICENSE+=" + Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 MIT + Unicode-DFS-2016 + || ( LGPL-3+ MPL-2.0 ) +" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/numpy-1.16.0[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-rust[${PYTHON_USEDEP}] + test? ( + dev-python/fixtures[${PYTHON_USEDEP}] + dev-python/graphviz[${PYTHON_USEDEP}] + >=dev-python/networkx-2.5[${PYTHON_USEDEP}] + dev-python/stestr[${PYTHON_USEDEP}] + >=dev-python/testtools-2.5.0[${PYTHON_USEDEP}] + media-gfx/graphviz[gts] + ) +" + +# Libraries built with rust do not use CFLAGS and LDFLAGS. +QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/rustworkx/rustworkx.*\\.so" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local EPYTEST_DESELECT=( + # TODO: hangs + tests/retworkx_backwards_compat/visualization/test_mpl.py + tests/rustworkx_tests/visualization/test_mpl.py + ) + rm -rf rustworkx || die + epytest +} diff --git a/dev-python/rustworkx/rustworkx-0.15.0.ebuild b/dev-python/rustworkx/rustworkx-0.15.0.ebuild deleted file mode 100644 index 2a8f193d4649..000000000000 --- a/dev-python/rustworkx/rustworkx-0.15.0.ebuild +++ /dev/null @@ -1,154 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -CRATES=" - ahash@0.8.11 - alga@0.9.3 - allocator-api2@0.2.16 - approx@0.3.2 - autocfg@1.2.0 - bitflags@1.3.2 - cfg-if@1.0.0 - crossbeam-deque@0.8.5 - crossbeam-epoch@0.9.18 - crossbeam-utils@0.8.19 - either@1.10.0 - equivalent@1.0.1 - fixedbitset@0.4.2 - getrandom@0.2.12 - hashbrown@0.12.3 - hashbrown@0.14.5 - heck@0.4.1 - hermit-abi@0.3.9 - indexmap@1.9.3 - indexmap@2.2.6 - indoc@2.0.5 - itertools@0.10.5 - itertools@0.11.0 - itoa@1.0.11 - libc@0.2.153 - libm@0.2.8 - lock_api@0.4.11 - matrixmultiply@0.3.8 - memchr@2.7.2 - memoffset@0.9.1 - ndarray-stats@0.5.1 - ndarray@0.15.6 - noisy_float@0.2.0 - num-bigint@0.4.5 - num-complex@0.2.4 - num-complex@0.4.6 - num-integer@0.1.46 - num-traits@0.2.19 - num_cpus@1.16.0 - numpy@0.21.0 - once_cell@1.19.0 - parking_lot@0.12.1 - parking_lot_core@0.9.9 - petgraph@0.6.5 - portable-atomic@1.6.0 - ppv-lite86@0.2.17 - priority-queue@2.0.3 - proc-macro2@1.0.79 - pyo3-build-config@0.21.2 - pyo3-ffi@0.21.2 - pyo3-macros-backend@0.21.2 - pyo3-macros@0.21.2 - pyo3@0.21.2 - quick-xml@0.34.0 - quote@1.0.35 - rand@0.8.5 - rand_chacha@0.3.1 - rand_core@0.6.4 - rand_pcg@0.3.1 - rawpointer@0.2.1 - rayon-cond@0.3.0 - rayon-core@1.12.1 - rayon@1.10.0 - redox_syscall@0.4.1 - rustc-hash@1.1.0 - ryu@1.0.17 - scopeguard@1.2.0 - serde@1.0.203 - serde_derive@1.0.203 - serde_json@1.0.118 - smallvec@1.13.2 - sprs@0.11.1 - syn@2.0.57 - target-lexicon@0.12.14 - unicode-ident@1.0.12 - unindent@0.2.3 - version_check@0.9.4 - wasi@0.11.0+wasi-snapshot-preview1 - windows-targets@0.48.5 - windows_aarch64_gnullvm@0.48.5 - windows_aarch64_msvc@0.48.5 - windows_i686_gnu@0.48.5 - windows_i686_msvc@0.48.5 - windows_x86_64_gnu@0.48.5 - windows_x86_64_gnullvm@0.48.5 - windows_x86_64_msvc@0.48.5 - zerocopy-derive@0.7.32 - zerocopy@0.7.32 -" - -inherit cargo distutils-r1 - -DESCRIPTION="A high performance Python graph library implemented in Rust" -HOMEPAGE=" - https://github.com/Qiskit/rustworkx/ - https://pypi.org/project/rustworkx/ -" -SRC_URI=" - https://github.com/Qiskit/rustworkx/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - ${CARGO_CRATE_URIS} -" - -LICENSE="Apache-2.0" -# Dependent crate licenses -LICENSE+=" - Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 MIT - Unicode-DFS-2016 - || ( LGPL-3+ MPL-2.0 ) -" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - >=dev-python/numpy-1.16.0[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/setuptools-rust[${PYTHON_USEDEP}] - test? ( - dev-python/fixtures[${PYTHON_USEDEP}] - dev-python/graphviz[${PYTHON_USEDEP}] - >=dev-python/networkx-2.5[${PYTHON_USEDEP}] - dev-python/stestr[${PYTHON_USEDEP}] - >=dev-python/testtools-2.5.0[${PYTHON_USEDEP}] - media-gfx/graphviz[gts] - ) -" - -# Libraries built with rust do not use CFLAGS and LDFLAGS. -QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/rustworkx/rustworkx.*\\.so" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local EPYTEST_DESELECT=( - # TODO: hangs - tests/retworkx_backwards_compat/visualization/test_mpl.py - tests/rustworkx_tests/visualization/test_mpl.py - ) - rm -rf rustworkx || die - epytest -} diff --git a/dev-python/rustworkx/rustworkx-0.15.1-r1.ebuild b/dev-python/rustworkx/rustworkx-0.15.1-r1.ebuild new file mode 100644 index 000000000000..16398a7888c3 --- /dev/null +++ b/dev-python/rustworkx/rustworkx-0.15.1-r1.ebuild @@ -0,0 +1,155 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +CRATES=" + ahash@0.8.11 + alga@0.9.3 + allocator-api2@0.2.18 + approx@0.3.2 + autocfg@1.3.0 + bitflags@2.6.0 + cfg-if@1.0.0 + crossbeam-deque@0.8.5 + crossbeam-epoch@0.9.18 + crossbeam-utils@0.8.20 + either@1.13.0 + equivalent@1.0.1 + fixedbitset@0.4.2 + getrandom@0.2.15 + hashbrown@0.12.3 + hashbrown@0.14.5 + heck@0.4.1 + hermit-abi@0.3.9 + indexmap@1.9.3 + indexmap@2.2.6 + indoc@2.0.5 + itertools@0.10.5 + itertools@0.11.0 + itoa@1.0.11 + libc@0.2.155 + libm@0.2.8 + lock_api@0.4.12 + matrixmultiply@0.3.8 + memchr@2.7.4 + memoffset@0.9.1 + ndarray-stats@0.5.1 + ndarray@0.15.6 + noisy_float@0.2.0 + num-bigint@0.4.6 + num-complex@0.2.4 + num-complex@0.4.6 + num-integer@0.1.46 + num-traits@0.2.19 + num_cpus@1.16.0 + numpy@0.21.0 + once_cell@1.19.0 + parking_lot@0.12.3 + parking_lot_core@0.9.10 + petgraph@0.6.5 + portable-atomic@1.6.0 + ppv-lite86@0.2.17 + priority-queue@2.0.3 + proc-macro2@1.0.86 + pyo3-build-config@0.21.2 + pyo3-ffi@0.21.2 + pyo3-macros-backend@0.21.2 + pyo3-macros@0.21.2 + pyo3@0.21.2 + quick-xml@0.34.0 + quote@1.0.36 + rand@0.8.5 + rand_chacha@0.3.1 + rand_core@0.6.4 + rand_pcg@0.3.1 + rawpointer@0.2.1 + rayon-cond@0.3.0 + rayon-core@1.12.1 + rayon@1.10.0 + redox_syscall@0.5.2 + rustc-hash@1.1.0 + ryu@1.0.18 + scopeguard@1.2.0 + serde@1.0.203 + serde_derive@1.0.203 + serde_json@1.0.118 + smallvec@1.13.2 + sprs@0.11.1 + syn@2.0.68 + target-lexicon@0.12.14 + unicode-ident@1.0.12 + unindent@0.2.3 + version_check@0.9.4 + wasi@0.11.0+wasi-snapshot-preview1 + windows-targets@0.52.5 + windows_aarch64_gnullvm@0.52.5 + windows_aarch64_msvc@0.52.5 + windows_i686_gnu@0.52.5 + windows_i686_gnullvm@0.52.5 + windows_i686_msvc@0.52.5 + windows_x86_64_gnu@0.52.5 + windows_x86_64_gnullvm@0.52.5 + windows_x86_64_msvc@0.52.5 + zerocopy-derive@0.7.34 + zerocopy@0.7.34 +" + +inherit cargo distutils-r1 + +DESCRIPTION="A high performance Python graph library implemented in Rust" +HOMEPAGE=" + https://github.com/Qiskit/rustworkx/ + https://pypi.org/project/rustworkx/ +" +SRC_URI=" + https://github.com/Qiskit/rustworkx/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + ${CARGO_CRATE_URIS} +" + +LICENSE="Apache-2.0" +# Dependent crate licenses +LICENSE+=" + Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 MIT + Unicode-DFS-2016 + || ( LGPL-3+ MPL-2.0 ) +" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/numpy-1.16.0[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-rust[${PYTHON_USEDEP}] + test? ( + dev-python/fixtures[${PYTHON_USEDEP}] + dev-python/graphviz[${PYTHON_USEDEP}] + >=dev-python/networkx-2.5[${PYTHON_USEDEP}] + dev-python/stestr[${PYTHON_USEDEP}] + >=dev-python/testtools-2.5.0[${PYTHON_USEDEP}] + media-gfx/graphviz[gts] + ) +" + +# Libraries built with rust do not use CFLAGS and LDFLAGS. +QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/rustworkx/rustworkx.*\\.so" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local EPYTEST_DESELECT=( + # TODO: hangs + tests/retworkx_backwards_compat/visualization/test_mpl.py + tests/rustworkx_tests/visualization/test_mpl.py + ) + rm -rf rustworkx || die + epytest +} diff --git a/dev-python/rustworkx/rustworkx-0.15.1.ebuild b/dev-python/rustworkx/rustworkx-0.15.1.ebuild deleted file mode 100644 index 16398a7888c3..000000000000 --- a/dev-python/rustworkx/rustworkx-0.15.1.ebuild +++ /dev/null @@ -1,155 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -CRATES=" - ahash@0.8.11 - alga@0.9.3 - allocator-api2@0.2.18 - approx@0.3.2 - autocfg@1.3.0 - bitflags@2.6.0 - cfg-if@1.0.0 - crossbeam-deque@0.8.5 - crossbeam-epoch@0.9.18 - crossbeam-utils@0.8.20 - either@1.13.0 - equivalent@1.0.1 - fixedbitset@0.4.2 - getrandom@0.2.15 - hashbrown@0.12.3 - hashbrown@0.14.5 - heck@0.4.1 - hermit-abi@0.3.9 - indexmap@1.9.3 - indexmap@2.2.6 - indoc@2.0.5 - itertools@0.10.5 - itertools@0.11.0 - itoa@1.0.11 - libc@0.2.155 - libm@0.2.8 - lock_api@0.4.12 - matrixmultiply@0.3.8 - memchr@2.7.4 - memoffset@0.9.1 - ndarray-stats@0.5.1 - ndarray@0.15.6 - noisy_float@0.2.0 - num-bigint@0.4.6 - num-complex@0.2.4 - num-complex@0.4.6 - num-integer@0.1.46 - num-traits@0.2.19 - num_cpus@1.16.0 - numpy@0.21.0 - once_cell@1.19.0 - parking_lot@0.12.3 - parking_lot_core@0.9.10 - petgraph@0.6.5 - portable-atomic@1.6.0 - ppv-lite86@0.2.17 - priority-queue@2.0.3 - proc-macro2@1.0.86 - pyo3-build-config@0.21.2 - pyo3-ffi@0.21.2 - pyo3-macros-backend@0.21.2 - pyo3-macros@0.21.2 - pyo3@0.21.2 - quick-xml@0.34.0 - quote@1.0.36 - rand@0.8.5 - rand_chacha@0.3.1 - rand_core@0.6.4 - rand_pcg@0.3.1 - rawpointer@0.2.1 - rayon-cond@0.3.0 - rayon-core@1.12.1 - rayon@1.10.0 - redox_syscall@0.5.2 - rustc-hash@1.1.0 - ryu@1.0.18 - scopeguard@1.2.0 - serde@1.0.203 - serde_derive@1.0.203 - serde_json@1.0.118 - smallvec@1.13.2 - sprs@0.11.1 - syn@2.0.68 - target-lexicon@0.12.14 - unicode-ident@1.0.12 - unindent@0.2.3 - version_check@0.9.4 - wasi@0.11.0+wasi-snapshot-preview1 - windows-targets@0.52.5 - windows_aarch64_gnullvm@0.52.5 - windows_aarch64_msvc@0.52.5 - windows_i686_gnu@0.52.5 - windows_i686_gnullvm@0.52.5 - windows_i686_msvc@0.52.5 - windows_x86_64_gnu@0.52.5 - windows_x86_64_gnullvm@0.52.5 - windows_x86_64_msvc@0.52.5 - zerocopy-derive@0.7.34 - zerocopy@0.7.34 -" - -inherit cargo distutils-r1 - -DESCRIPTION="A high performance Python graph library implemented in Rust" -HOMEPAGE=" - https://github.com/Qiskit/rustworkx/ - https://pypi.org/project/rustworkx/ -" -SRC_URI=" - https://github.com/Qiskit/rustworkx/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - ${CARGO_CRATE_URIS} -" - -LICENSE="Apache-2.0" -# Dependent crate licenses -LICENSE+=" - Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 MIT - Unicode-DFS-2016 - || ( LGPL-3+ MPL-2.0 ) -" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - >=dev-python/numpy-1.16.0[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/setuptools-rust[${PYTHON_USEDEP}] - test? ( - dev-python/fixtures[${PYTHON_USEDEP}] - dev-python/graphviz[${PYTHON_USEDEP}] - >=dev-python/networkx-2.5[${PYTHON_USEDEP}] - dev-python/stestr[${PYTHON_USEDEP}] - >=dev-python/testtools-2.5.0[${PYTHON_USEDEP}] - media-gfx/graphviz[gts] - ) -" - -# Libraries built with rust do not use CFLAGS and LDFLAGS. -QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/rustworkx/rustworkx.*\\.so" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local EPYTEST_DESELECT=( - # TODO: hangs - tests/retworkx_backwards_compat/visualization/test_mpl.py - tests/rustworkx_tests/visualization/test_mpl.py - ) - rm -rf rustworkx || die - epytest -} diff --git a/dev-python/scikit-build-core/scikit-build-core-0.10.7.ebuild b/dev-python/scikit-build-core/scikit-build-core-0.10.7.ebuild index 6d06dd44ad18..7db4273e686c 100644 --- a/dev-python/scikit-build-core/scikit-build-core-0.10.7.ebuild +++ b/dev-python/scikit-build-core/scikit-build-core-0.10.7.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" 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" # we always want [pyproject] extra RDEPEND=" diff --git a/dev-python/setuptools-rust/setuptools-rust-1.10.2-r1.ebuild b/dev-python/setuptools-rust/setuptools-rust-1.10.2-r1.ebuild new file mode 100644 index 000000000000..00da2a81ad25 --- /dev/null +++ b/dev-python/setuptools-rust/setuptools-rust-1.10.2-r1.ebuild @@ -0,0 +1,176 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CARGO_OPTIONAL=yes +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +CRATES=" + autocfg@1.3.0 + bitflags@1.3.2 + bitflags@2.5.0 + byteorder@1.5.0 + cfg-if@1.0.0 + convert_case@0.4.0 + cssparser-macros@0.6.1 + cssparser@0.27.2 + derive_more@0.99.17 + dtoa-short@0.3.4 + dtoa@1.0.9 + futf@0.1.5 + fxhash@0.2.1 + getrandom@0.1.16 + getrandom@0.2.15 + heck@0.5.0 + html5ever@0.25.2 + indoc@2.0.5 + itoa@0.4.8 + kuchiki@0.8.1 + libc@0.2.154 + lock_api@0.4.12 + log@0.4.21 + mac@0.1.1 + markup5ever@0.10.1 + matches@0.1.10 + memoffset@0.9.1 + new_debug_unreachable@1.0.6 + nodrop@0.1.14 + once_cell@1.19.0 + parking_lot@0.12.2 + parking_lot_core@0.9.10 + phf@0.8.0 + phf_codegen@0.8.0 + phf_generator@0.10.0 + phf_generator@0.8.0 + phf_macros@0.8.0 + phf_shared@0.10.0 + phf_shared@0.8.0 + portable-atomic@1.6.0 + ppv-lite86@0.2.17 + precomputed-hash@0.1.1 + proc-macro-hack@0.5.20+deprecated + proc-macro2@1.0.82 + pyo3-build-config@0.22.3 + pyo3-ffi@0.22.3 + pyo3-macros-backend@0.22.3 + pyo3-macros@0.22.3 + pyo3@0.22.3 + quote@1.0.36 + rand@0.7.3 + rand@0.8.5 + rand_chacha@0.2.2 + rand_chacha@0.3.1 + rand_core@0.5.1 + rand_core@0.6.4 + rand_hc@0.2.0 + rand_pcg@0.2.1 + redox_syscall@0.5.1 + rustc_version@0.4.0 + scopeguard@1.2.0 + selectors@0.22.0 + semver@1.0.23 + serde@1.0.200 + serde_derive@1.0.200 + servo_arc@0.1.1 + siphasher@0.3.11 + smallvec@1.13.2 + stable_deref_trait@1.2.0 + string_cache@0.8.7 + string_cache_codegen@0.5.2 + syn@1.0.109 + syn@2.0.61 + target-lexicon@0.12.14 + tendril@0.4.3 + thin-slice@0.1.1 + unicode-ident@1.0.12 + unindent@0.2.3 + utf-8@0.7.6 + wasi@0.11.0+wasi-snapshot-preview1 + wasi@0.9.0+wasi-snapshot-preview1 + windows-targets@0.52.5 + windows_aarch64_gnullvm@0.52.5 + windows_aarch64_msvc@0.52.5 + windows_i686_gnu@0.52.5 + windows_i686_gnullvm@0.52.5 + windows_i686_msvc@0.52.5 + windows_x86_64_gnu@0.52.5 + windows_x86_64_gnullvm@0.52.5 + windows_x86_64_msvc@0.52.5 +" + +inherit distutils-r1 cargo + +DESCRIPTION="A plugin for setuptools to build Rust Python extensions" +HOMEPAGE=" + https://github.com/PyO3/setuptools-rust/ + https://pypi.org/project/setuptools-rust/ +" +SRC_URI=" + https://github.com/PyO3/setuptools-rust/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( ${CARGO_CRATE_URIS} ) +" + +# crates are used at test time only, update via pycargoebuild -L -i ... +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + ${RUST_DEPEND} + =dev-python/semantic-version-2.8.2[${PYTHON_USEDEP}] + >=dev-python/setuptools-62.4[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/setuptools-62.4[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + dev-python/beautifulsoup4[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/cffi[${PYTHON_USEDEP}] + ' 'python*') + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + ) +" + +src_unpack() { + cargo_src_unpack +} + +python_test() { + local -x UNSAFE_PYO3_SKIP_VERSION_CHECK=1 + + local examples=( + html-py-ever + namespace_package + rust_with_cffi + ) + for example_dir in ${examples[@]}; do + pushd examples/${example_dir} >/dev/null || die + einfo "Running ${example_dir} test" + esetup.py build --build-lib=build/lib + + case ${example_dir} in + html-py-ever) + pushd tests >/dev/null || die + local -x PYTHONPATH=../build/lib + ${EPYTHON} run_all.py || die "Tests failed with ${EPYTHON}" + popd >/dev/null || die + ;; + *) + pushd build/lib >/dev/null || die + epytest ../../tests + popd >/dev/null || die + ;; + esac + + rm -rf build || die + popd >/dev/null || die + done +} diff --git a/dev-python/setuptools-rust/setuptools-rust-1.10.2.ebuild b/dev-python/setuptools-rust/setuptools-rust-1.10.2.ebuild deleted file mode 100644 index 99ad079e813d..000000000000 --- a/dev-python/setuptools-rust/setuptools-rust-1.10.2.ebuild +++ /dev/null @@ -1,176 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CARGO_OPTIONAL=yes -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) - -CRATES=" - autocfg@1.3.0 - bitflags@1.3.2 - bitflags@2.5.0 - byteorder@1.5.0 - cfg-if@1.0.0 - convert_case@0.4.0 - cssparser-macros@0.6.1 - cssparser@0.27.2 - derive_more@0.99.17 - dtoa-short@0.3.4 - dtoa@1.0.9 - futf@0.1.5 - fxhash@0.2.1 - getrandom@0.1.16 - getrandom@0.2.15 - heck@0.5.0 - html5ever@0.25.2 - indoc@2.0.5 - itoa@0.4.8 - kuchiki@0.8.1 - libc@0.2.154 - lock_api@0.4.12 - log@0.4.21 - mac@0.1.1 - markup5ever@0.10.1 - matches@0.1.10 - memoffset@0.9.1 - new_debug_unreachable@1.0.6 - nodrop@0.1.14 - once_cell@1.19.0 - parking_lot@0.12.2 - parking_lot_core@0.9.10 - phf@0.8.0 - phf_codegen@0.8.0 - phf_generator@0.10.0 - phf_generator@0.8.0 - phf_macros@0.8.0 - phf_shared@0.10.0 - phf_shared@0.8.0 - portable-atomic@1.6.0 - ppv-lite86@0.2.17 - precomputed-hash@0.1.1 - proc-macro-hack@0.5.20+deprecated - proc-macro2@1.0.82 - pyo3-build-config@0.22.3 - pyo3-ffi@0.22.3 - pyo3-macros-backend@0.22.3 - pyo3-macros@0.22.3 - pyo3@0.22.3 - quote@1.0.36 - rand@0.7.3 - rand@0.8.5 - rand_chacha@0.2.2 - rand_chacha@0.3.1 - rand_core@0.5.1 - rand_core@0.6.4 - rand_hc@0.2.0 - rand_pcg@0.2.1 - redox_syscall@0.5.1 - rustc_version@0.4.0 - scopeguard@1.2.0 - selectors@0.22.0 - semver@1.0.23 - serde@1.0.200 - serde_derive@1.0.200 - servo_arc@0.1.1 - siphasher@0.3.11 - smallvec@1.13.2 - stable_deref_trait@1.2.0 - string_cache@0.8.7 - string_cache_codegen@0.5.2 - syn@1.0.109 - syn@2.0.61 - target-lexicon@0.12.14 - tendril@0.4.3 - thin-slice@0.1.1 - unicode-ident@1.0.12 - unindent@0.2.3 - utf-8@0.7.6 - wasi@0.11.0+wasi-snapshot-preview1 - wasi@0.9.0+wasi-snapshot-preview1 - windows-targets@0.52.5 - windows_aarch64_gnullvm@0.52.5 - windows_aarch64_msvc@0.52.5 - windows_i686_gnu@0.52.5 - windows_i686_gnullvm@0.52.5 - windows_i686_msvc@0.52.5 - windows_x86_64_gnu@0.52.5 - windows_x86_64_gnullvm@0.52.5 - windows_x86_64_msvc@0.52.5 -" - -inherit distutils-r1 cargo - -DESCRIPTION="A plugin for setuptools to build Rust Python extensions" -HOMEPAGE=" - https://github.com/PyO3/setuptools-rust/ - https://pypi.org/project/setuptools-rust/ -" -SRC_URI=" - https://github.com/PyO3/setuptools-rust/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz - test? ( ${CARGO_CRATE_URIS} ) -" - -# crates are used at test time only, update via pycargoebuild -L -i ... -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - virtual/rust - =dev-python/semantic-version-2.8.2[${PYTHON_USEDEP}] - >=dev-python/setuptools-62.4[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/setuptools-62.4[${PYTHON_USEDEP}] - test? ( - ${RDEPEND} - dev-python/beautifulsoup4[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/cffi[${PYTHON_USEDEP}] - ' 'python*') - dev-python/lxml[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - ) -" - -src_unpack() { - cargo_src_unpack -} - -python_test() { - local -x UNSAFE_PYO3_SKIP_VERSION_CHECK=1 - - local examples=( - html-py-ever - namespace_package - rust_with_cffi - ) - for example_dir in ${examples[@]}; do - pushd examples/${example_dir} >/dev/null || die - einfo "Running ${example_dir} test" - esetup.py build --build-lib=build/lib - - case ${example_dir} in - html-py-ever) - pushd tests >/dev/null || die - local -x PYTHONPATH=../build/lib - ${EPYTHON} run_all.py || die "Tests failed with ${EPYTHON}" - popd >/dev/null || die - ;; - *) - pushd build/lib >/dev/null || die - epytest ../../tests - popd >/dev/null || die - ;; - esac - - rm -rf build || die - popd >/dev/null || die - done -} diff --git a/dev-python/sphinx-autoapi/Manifest b/dev-python/sphinx-autoapi/Manifest index 16d60f311986..a289bd55b4db 100644 --- a/dev-python/sphinx-autoapi/Manifest +++ b/dev-python/sphinx-autoapi/Manifest @@ -1,2 +1 @@ -DIST sphinx-autoapi-3.3.2.gh.tar.gz 71874 BLAKE2B ec92e3a4d3a7b2597a7224201e7ea443dbc6408e43933a54a24fdcb4968fe4e5d295374ea310c600ecf0893a3692a5d4645eafec8bf2a12566de057193eef073 SHA512 6532655408bde105377de1d87cb2f392524935499f45b77afefcfe0fb1b04e8251dce71d338e030537469520774fb8155f91fbe747181ea721a4477fcdebfa3a DIST sphinx-autoapi-3.3.3.gh.tar.gz 72123 BLAKE2B 85b7c8f1eae4d9366f8e8afd526bdb5e6c0e3f14de44c9e94f4922e021bd15f31117942dc1c542a903c1fa4b3f138e0eacbfaccc744bf28c211283acbfc4268c SHA512 c6de80ceb7b394627ca19dbd59e8f7361ff1d14b5ab401134d149131b69f6be05348189ae97dcc6daa6e99276a99072d62990a8594be653d449659b556d86655 diff --git a/dev-python/sphinx-autoapi/sphinx-autoapi-3.3.2.ebuild b/dev-python/sphinx-autoapi/sphinx-autoapi-3.3.2.ebuild deleted file mode 100644 index 3fabccbf5a96..000000000000 --- a/dev-python/sphinx-autoapi/sphinx-autoapi-3.3.2.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 2022-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 - -DESCRIPTION="A new approach to API documentation in Sphinx" -HOMEPAGE=" - https://sphinx-autoapi.readthedocs.io/ - https://github.com/readthedocs/sphinx-autoapi/ - https://pypi.org/project/sphinx-autoapi/ -" -# sdist is missing docs, as of 2.1.0 -SRC_URI=" - https://github.com/readthedocs/sphinx-autoapi/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm arm64 x86" - -RDEPEND=" - >=dev-python/astroid-3.0.0[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - >=dev-python/sphinx-6.1.0[${PYTHON_USEDEP}] -" - -BDEPEND+=" - test? ( dev-python/beautifulsoup4[${PYTHON_USEDEP}] ) -" - -DOCS=( README.rst CHANGELOG.rst ) - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # Internet - tests/python/test_pyintegration.py::TestPEP695::test_integration - tests/python/test_pyintegration.py::TestPipeUnionModule::test_integration - "tests/test_integration.py::TestExtensionErrors::test_extension_setup_errors[dotnetexample" - ) - - distutils-r1_python_test -} diff --git a/dev-python/sphinx-autoapi/sphinx-autoapi-3.3.3.ebuild b/dev-python/sphinx-autoapi/sphinx-autoapi-3.3.3.ebuild index d9fdd1ae5dba..888a73ecfd0f 100644 --- a/dev-python/sphinx-autoapi/sphinx-autoapi-3.3.3.ebuild +++ b/dev-python/sphinx-autoapi/sphinx-autoapi-3.3.3.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" +KEYWORDS="amd64 arm arm64 x86" RDEPEND=" >=dev-python/astroid-3.0.0[${PYTHON_USEDEP}] diff --git a/dev-python/sqlglot/sqlglot-25.28.0-r1.ebuild b/dev-python/sqlglot/sqlglot-25.28.0-r1.ebuild new file mode 100644 index 000000000000..53563e0e4141 --- /dev/null +++ b/dev-python/sqlglot/sqlglot-25.28.0-r1.ebuild @@ -0,0 +1,133 @@ +# Copyright 2023-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} ) + +CARGO_OPTIONAL=1 +CRATES=" + autocfg@1.1.0 + bitflags@1.3.2 + cfg-if@1.0.0 + heck@0.4.1 + indoc@2.0.4 + libc@0.2.150 + lock_api@0.4.11 + memoffset@0.9.0 + once_cell@1.19.0 + parking_lot@0.12.1 + parking_lot_core@0.9.9 + proc-macro2@1.0.70 + pyo3-build-config@0.20.0 + pyo3-ffi@0.20.0 + pyo3-macros-backend@0.20.0 + pyo3-macros@0.20.0 + pyo3@0.20.0 + quote@1.0.33 + redox_syscall@0.4.1 + scopeguard@1.2.0 + smallvec@1.11.2 + syn@2.0.41 + target-lexicon@0.12.12 + unicode-ident@1.0.12 + unindent@0.2.3 + windows-targets@0.48.5 + windows_aarch64_gnullvm@0.48.5 + windows_aarch64_msvc@0.48.5 + windows_i686_gnu@0.48.5 + windows_i686_msvc@0.48.5 + windows_x86_64_gnu@0.48.5 + windows_x86_64_gnullvm@0.48.5 + windows_x86_64_msvc@0.48.5 +" + +inherit cargo distutils-r1 pypi optfeature + +DESCRIPTION="An easily customizable SQL parser and transpiler" +HOMEPAGE=" + https://sqlglot.com/ + https://github.com/tobymao/sqlglot/ + https://pypi.org/project/sqlglot/ +" +SRC_URI+=" + native-extensions? ( + ${CARGO_CRATE_URIS} + ) +" + +LICENSE="MIT" +LICENSE+=" native-extensions? (" +# Dependent crate licenses +LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT Unicode-DFS-2016" +LICENSE+=" )" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="+native-extensions" + +BDEPEND=" + native-extensions? ( + ${RUST_DEPEND} + dev-util/maturin[${PYTHON_USEDEP}] + ) + test? ( + dev-python/pytz[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/sqlglotrs/sqlglotrs.*.so" + +pkg_setup() { + use native-extensions && rust_pkg_setup +} + +src_unpack() { + cargo_src_unpack +} + +src_prepare() { + # remove fragile timing check + sed -i -e '/assertLessEqual(time\.time/d' tests/test_parser.py || die + distutils-r1_src_prepare +} + +python_compile() { + distutils-r1_python_compile + + if use native-extensions; then + local DISTUTILS_USE_PEP517=maturin + cd sqlglotrs || die + distutils-r1_python_compile + cd - >/dev/null || die + fi +} + +python_test() { + local EPYTEST_DESELECT=( + # timing, sigh + # https://github.com/tobymao/sqlglot/issues/3961 + tests/test_generator.py::TestGenerator::test_generate_nested_binary + ) + local EPYTEST_IGNORE=( + # Tests require pyspark or duckdb which aren't in the tree. + # Pandas would be a requirement normally, but it gets ignored by proxy. + "tests/dataframe/integration/test_dataframe.py" + "tests/dataframe/integration/test_grouped_data.py" + "tests/dataframe/integration/test_session.py" + "tests/test_executor.py" + "tests/test_optimizer.py" + ) + + # make sure not to use an earlier installed version + local -x SQLGLOTRS_TOKENIZER=$(usex native-extensions 1 0) + rm -rf sqlglotrs || die + epytest +} + +pkg_postinst() { + optfeature "simplifying timedelta expressions" dev-python/python-dateutil +} diff --git a/dev-python/sqlglot/sqlglot-25.28.0.ebuild b/dev-python/sqlglot/sqlglot-25.28.0.ebuild deleted file mode 100644 index 3bab78f5b721..000000000000 --- a/dev-python/sqlglot/sqlglot-25.28.0.ebuild +++ /dev/null @@ -1,129 +0,0 @@ -# Copyright 2023-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} ) - -CARGO_OPTIONAL=1 -CRATES=" - autocfg@1.1.0 - bitflags@1.3.2 - cfg-if@1.0.0 - heck@0.4.1 - indoc@2.0.4 - libc@0.2.150 - lock_api@0.4.11 - memoffset@0.9.0 - once_cell@1.19.0 - parking_lot@0.12.1 - parking_lot_core@0.9.9 - proc-macro2@1.0.70 - pyo3-build-config@0.20.0 - pyo3-ffi@0.20.0 - pyo3-macros-backend@0.20.0 - pyo3-macros@0.20.0 - pyo3@0.20.0 - quote@1.0.33 - redox_syscall@0.4.1 - scopeguard@1.2.0 - smallvec@1.11.2 - syn@2.0.41 - target-lexicon@0.12.12 - unicode-ident@1.0.12 - unindent@0.2.3 - windows-targets@0.48.5 - windows_aarch64_gnullvm@0.48.5 - windows_aarch64_msvc@0.48.5 - windows_i686_gnu@0.48.5 - windows_i686_msvc@0.48.5 - windows_x86_64_gnu@0.48.5 - windows_x86_64_gnullvm@0.48.5 - windows_x86_64_msvc@0.48.5 -" - -inherit cargo distutils-r1 pypi optfeature - -DESCRIPTION="An easily customizable SQL parser and transpiler" -HOMEPAGE=" - https://sqlglot.com/ - https://github.com/tobymao/sqlglot/ - https://pypi.org/project/sqlglot/ -" -SRC_URI+=" - native-extensions? ( - ${CARGO_CRATE_URIS} - ) -" - -LICENSE="MIT" -LICENSE+=" native-extensions? (" -# Dependent crate licenses -LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT Unicode-DFS-2016" -LICENSE+=" )" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" -IUSE="+native-extensions" - -BDEPEND=" - native-extensions? ( - ${RUST_DEPEND} - dev-util/maturin[${PYTHON_USEDEP}] - ) - test? ( - dev-python/pytz[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/sqlglotrs/sqlglotrs.*.so" - -src_unpack() { - cargo_src_unpack -} - -src_prepare() { - # remove fragile timing check - sed -i -e '/assertLessEqual(time\.time/d' tests/test_parser.py || die - distutils-r1_src_prepare -} - -python_compile() { - distutils-r1_python_compile - - if use native-extensions; then - local DISTUTILS_USE_PEP517=maturin - cd sqlglotrs || die - distutils-r1_python_compile - cd - >/dev/null || die - fi -} - -python_test() { - local EPYTEST_DESELECT=( - # timing, sigh - # https://github.com/tobymao/sqlglot/issues/3961 - tests/test_generator.py::TestGenerator::test_generate_nested_binary - ) - local EPYTEST_IGNORE=( - # Tests require pyspark or duckdb which aren't in the tree. - # Pandas would be a requirement normally, but it gets ignored by proxy. - "tests/dataframe/integration/test_dataframe.py" - "tests/dataframe/integration/test_grouped_data.py" - "tests/dataframe/integration/test_session.py" - "tests/test_executor.py" - "tests/test_optimizer.py" - ) - - # make sure not to use an earlier installed version - local -x SQLGLOTRS_TOKENIZER=$(usex native-extensions 1 0) - rm -rf sqlglotrs || die - epytest -} - -pkg_postinst() { - optfeature "simplifying timedelta expressions" dev-python/python-dateutil -} diff --git a/dev-python/sqlglot/sqlglot-25.29.0-r1.ebuild b/dev-python/sqlglot/sqlglot-25.29.0-r1.ebuild new file mode 100644 index 000000000000..53563e0e4141 --- /dev/null +++ b/dev-python/sqlglot/sqlglot-25.29.0-r1.ebuild @@ -0,0 +1,133 @@ +# Copyright 2023-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} ) + +CARGO_OPTIONAL=1 +CRATES=" + autocfg@1.1.0 + bitflags@1.3.2 + cfg-if@1.0.0 + heck@0.4.1 + indoc@2.0.4 + libc@0.2.150 + lock_api@0.4.11 + memoffset@0.9.0 + once_cell@1.19.0 + parking_lot@0.12.1 + parking_lot_core@0.9.9 + proc-macro2@1.0.70 + pyo3-build-config@0.20.0 + pyo3-ffi@0.20.0 + pyo3-macros-backend@0.20.0 + pyo3-macros@0.20.0 + pyo3@0.20.0 + quote@1.0.33 + redox_syscall@0.4.1 + scopeguard@1.2.0 + smallvec@1.11.2 + syn@2.0.41 + target-lexicon@0.12.12 + unicode-ident@1.0.12 + unindent@0.2.3 + windows-targets@0.48.5 + windows_aarch64_gnullvm@0.48.5 + windows_aarch64_msvc@0.48.5 + windows_i686_gnu@0.48.5 + windows_i686_msvc@0.48.5 + windows_x86_64_gnu@0.48.5 + windows_x86_64_gnullvm@0.48.5 + windows_x86_64_msvc@0.48.5 +" + +inherit cargo distutils-r1 pypi optfeature + +DESCRIPTION="An easily customizable SQL parser and transpiler" +HOMEPAGE=" + https://sqlglot.com/ + https://github.com/tobymao/sqlglot/ + https://pypi.org/project/sqlglot/ +" +SRC_URI+=" + native-extensions? ( + ${CARGO_CRATE_URIS} + ) +" + +LICENSE="MIT" +LICENSE+=" native-extensions? (" +# Dependent crate licenses +LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT Unicode-DFS-2016" +LICENSE+=" )" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="+native-extensions" + +BDEPEND=" + native-extensions? ( + ${RUST_DEPEND} + dev-util/maturin[${PYTHON_USEDEP}] + ) + test? ( + dev-python/pytz[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/sqlglotrs/sqlglotrs.*.so" + +pkg_setup() { + use native-extensions && rust_pkg_setup +} + +src_unpack() { + cargo_src_unpack +} + +src_prepare() { + # remove fragile timing check + sed -i -e '/assertLessEqual(time\.time/d' tests/test_parser.py || die + distutils-r1_src_prepare +} + +python_compile() { + distutils-r1_python_compile + + if use native-extensions; then + local DISTUTILS_USE_PEP517=maturin + cd sqlglotrs || die + distutils-r1_python_compile + cd - >/dev/null || die + fi +} + +python_test() { + local EPYTEST_DESELECT=( + # timing, sigh + # https://github.com/tobymao/sqlglot/issues/3961 + tests/test_generator.py::TestGenerator::test_generate_nested_binary + ) + local EPYTEST_IGNORE=( + # Tests require pyspark or duckdb which aren't in the tree. + # Pandas would be a requirement normally, but it gets ignored by proxy. + "tests/dataframe/integration/test_dataframe.py" + "tests/dataframe/integration/test_grouped_data.py" + "tests/dataframe/integration/test_session.py" + "tests/test_executor.py" + "tests/test_optimizer.py" + ) + + # make sure not to use an earlier installed version + local -x SQLGLOTRS_TOKENIZER=$(usex native-extensions 1 0) + rm -rf sqlglotrs || die + epytest +} + +pkg_postinst() { + optfeature "simplifying timedelta expressions" dev-python/python-dateutil +} diff --git a/dev-python/sqlglot/sqlglot-25.29.0.ebuild b/dev-python/sqlglot/sqlglot-25.29.0.ebuild deleted file mode 100644 index 3bab78f5b721..000000000000 --- a/dev-python/sqlglot/sqlglot-25.29.0.ebuild +++ /dev/null @@ -1,129 +0,0 @@ -# Copyright 2023-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} ) - -CARGO_OPTIONAL=1 -CRATES=" - autocfg@1.1.0 - bitflags@1.3.2 - cfg-if@1.0.0 - heck@0.4.1 - indoc@2.0.4 - libc@0.2.150 - lock_api@0.4.11 - memoffset@0.9.0 - once_cell@1.19.0 - parking_lot@0.12.1 - parking_lot_core@0.9.9 - proc-macro2@1.0.70 - pyo3-build-config@0.20.0 - pyo3-ffi@0.20.0 - pyo3-macros-backend@0.20.0 - pyo3-macros@0.20.0 - pyo3@0.20.0 - quote@1.0.33 - redox_syscall@0.4.1 - scopeguard@1.2.0 - smallvec@1.11.2 - syn@2.0.41 - target-lexicon@0.12.12 - unicode-ident@1.0.12 - unindent@0.2.3 - windows-targets@0.48.5 - windows_aarch64_gnullvm@0.48.5 - windows_aarch64_msvc@0.48.5 - windows_i686_gnu@0.48.5 - windows_i686_msvc@0.48.5 - windows_x86_64_gnu@0.48.5 - windows_x86_64_gnullvm@0.48.5 - windows_x86_64_msvc@0.48.5 -" - -inherit cargo distutils-r1 pypi optfeature - -DESCRIPTION="An easily customizable SQL parser and transpiler" -HOMEPAGE=" - https://sqlglot.com/ - https://github.com/tobymao/sqlglot/ - https://pypi.org/project/sqlglot/ -" -SRC_URI+=" - native-extensions? ( - ${CARGO_CRATE_URIS} - ) -" - -LICENSE="MIT" -LICENSE+=" native-extensions? (" -# Dependent crate licenses -LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT Unicode-DFS-2016" -LICENSE+=" )" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" -IUSE="+native-extensions" - -BDEPEND=" - native-extensions? ( - ${RUST_DEPEND} - dev-util/maturin[${PYTHON_USEDEP}] - ) - test? ( - dev-python/pytz[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/sqlglotrs/sqlglotrs.*.so" - -src_unpack() { - cargo_src_unpack -} - -src_prepare() { - # remove fragile timing check - sed -i -e '/assertLessEqual(time\.time/d' tests/test_parser.py || die - distutils-r1_src_prepare -} - -python_compile() { - distutils-r1_python_compile - - if use native-extensions; then - local DISTUTILS_USE_PEP517=maturin - cd sqlglotrs || die - distutils-r1_python_compile - cd - >/dev/null || die - fi -} - -python_test() { - local EPYTEST_DESELECT=( - # timing, sigh - # https://github.com/tobymao/sqlglot/issues/3961 - tests/test_generator.py::TestGenerator::test_generate_nested_binary - ) - local EPYTEST_IGNORE=( - # Tests require pyspark or duckdb which aren't in the tree. - # Pandas would be a requirement normally, but it gets ignored by proxy. - "tests/dataframe/integration/test_dataframe.py" - "tests/dataframe/integration/test_grouped_data.py" - "tests/dataframe/integration/test_session.py" - "tests/test_executor.py" - "tests/test_optimizer.py" - ) - - # make sure not to use an earlier installed version - local -x SQLGLOTRS_TOKENIZER=$(usex native-extensions 1 0) - rm -rf sqlglotrs || die - epytest -} - -pkg_postinst() { - optfeature "simplifying timedelta expressions" dev-python/python-dateutil -} diff --git a/dev-python/starlette/Manifest b/dev-python/starlette/Manifest index e810092d14f1..3370b65308d0 100644 --- a/dev-python/starlette/Manifest +++ b/dev-python/starlette/Manifest @@ -1,4 +1,2 @@ DIST starlette-0.39.2.gh.tar.gz 2573134 BLAKE2B e6cd3bd3e2c2fac96d8b145ffae3a680d775a7668d9baf4db09ab81036985c8c0f5cdc6505f6db56f51126013118568c75d6f0dd6c28ea330baf575a5ff7c004 SHA512 2e81e61451136802449baafd152bf6db9cdad9a111713efb16ccef419aeb9a99b004167cd890509bad613df12d300cb5531197867c594c2b755220a1dae7bf14 -DIST starlette-0.41.0.gh.tar.gz 2573744 BLAKE2B 34e96fdb97eaf9fd2de66587c5fdd877d572269ada720f7d0e9f7d3befb4e500210236d84bb2d5eb4de49e7bc005485085671d47f3885c55eed6032ef98ebda7 SHA512 9640a6117c252bdad7f065c374e09eda56f1c2c2bd2d38748000651aeb4ce92f519c9598b8dec8579810adfcd7a58173ccfdf4e2c1953f2609aca520c5b45551 -DIST starlette-0.41.1.gh.tar.gz 2573805 BLAKE2B dd883e9247cf60ca98250c59640215e065513684321a8e7dceabc2681ad092939c50462ada8c5e50a6c6f7a46cc75439e164daaab045e0e218b9185ec885b21c SHA512 1b02527826534404c4f9a7a6f26d16a618d72e11f1a1bd5e7188928a76e5070c7f6ede488226247782c948948002e4d1556cabb41ff208a8d229f2eea2d61342 DIST starlette-0.41.2.gh.tar.gz 2573909 BLAKE2B 387665e21586ec43a3683f30c111fe77ad71a7f1c8dfea13f50fae9a9315e6a00ede22f5a1c55cd05210e4996a834b2d3d60c001899905a002e11cb09b5e60c8 SHA512 7ef590fdd7bebcae54f203acf57cf086a85653b0286aa7dc5eac92c67f846e04961680234234cfd2a6d57c12678b2ce76763c39e96caed984a1220558090303c diff --git a/dev-python/starlette/starlette-0.41.0-r1.ebuild b/dev-python/starlette/starlette-0.41.0-r1.ebuild deleted file mode 100644 index 822ca94c0a0f..000000000000 --- a/dev-python/starlette/starlette-0.41.0-r1.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2024 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 ) - -inherit distutils-r1 - -MY_P=${P/_p/.post} -DESCRIPTION="The little ASGI framework that shines" -HOMEPAGE=" - https://www.starlette.io/ - https://github.com/encode/starlette/ - https://pypi.org/project/starlette/ -" -# no docs or tests in sdist, as of 0.27.0 -SRC_URI=" - https://github.com/encode/starlette/archive/${PV/_p/.post}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -RDEPEND=" - =dev-python/anyio-3.4.0[${PYTHON_USEDEP}] - >=dev-python/httpx-0.22.0[${PYTHON_USEDEP}] - dev-python/itsdangerous[${PYTHON_USEDEP}] - dev-python/jinja[${PYTHON_USEDEP}] - =[0-9.]*::' pyproject.toml || die - distutils-r1_src_prepare -} - -python_test() { - # devpi_process is not packaged, and has lots of dependencies - cat > "${T}"/devpi_process.py <<-EOF || die - def IndexServer(*args, **kwargs): raise NotImplementedError() - EOF - - local -x PYTHONPATH=${T}:${PYTHONPATH} - local EPYTEST_DESELECT=( - # Internet - tests/tox_env/python/virtual_env/package/test_package_cmd_builder.py::test_build_wheel_external - tests/tox_env/python/virtual_env/package/test_package_cmd_builder.py::test_run_installpkg_targz - ) - local EPYTEST_IGNORE=( - # requires devpi* - tests/test_provision.py - ) - - case ${EPYTHON} in - pypy3) - EPYTEST_DESELECT+=( - 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[explicit-True-True]' - 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[requirements-True-True]' - 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[constraints-True-True]' - 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[explicit+requirements-True-True]' - 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[requirements_indirect-True-True]' - 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[requirements_constraints_indirect-True-True]' - ) - ;; - python3.13) - EPYTEST_DESELECT+=( - # https://github.com/tox-dev/tox/issues/3290 - 'tests/config/loader/test_str_convert.py::test_str_convert_ok_py39[1,2-value1-Optional]' - ) - ;; - esac - - epytest -} diff --git a/dev-python/tox/tox-4.23.2.ebuild b/dev-python/tox/tox-4.23.2.ebuild index 199330ea36bf..9d1ec5259468 100644 --- a/dev-python/tox/tox-4.23.2.ebuild +++ b/dev-python/tox/tox-4.23.2.ebuild @@ -17,7 +17,7 @@ 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" RDEPEND=" dev-python/cachetools[${PYTHON_USEDEP}] diff --git a/dev-python/trove-classifiers/Manifest b/dev-python/trove-classifiers/Manifest index 6ae5603707dd..0a5af0537dad 100644 --- a/dev-python/trove-classifiers/Manifest +++ b/dev-python/trove-classifiers/Manifest @@ -1,2 +1 @@ -DIST trove_classifiers-2024.10.16.tar.gz 16113 BLAKE2B 7ab9b0d16d93abeb4cf272bacdbf946cb85f3544c028860bfa2163f883e62868fb5a8356186dd59d2fec98b8dd06578aea0a60f02304f2ce555d7fa6fd5bc283 SHA512 7d67947c12e2fbe8a3d380e50e22671cc538593e0bf752955b84f74018c364dcc56553727dc53a540da713df5db73601acdc1e1cd608f55a968b9ec48a04d9ee DIST trove_classifiers-2024.10.21.16.tar.gz 16153 BLAKE2B 9170a2f78b41d2d6793a5bbf7df7ce2ae4c1d70a193a92874bf74cad5a083d8153a9cd8ae42c85da3cdedc690c485aff8d864626efdb52965301f2a377ebb048 SHA512 4fca7cc5d172ddcb210bfbd6e993fc3d7243887762ba37c05aca3d6c5fcece8f573372704160c8048eb39c68d284fe808ca289c8c07564b06334bed6bafdc61e diff --git a/dev-python/trove-classifiers/trove-classifiers-2024.10.16.ebuild b/dev-python/trove-classifiers/trove-classifiers-2024.10.16.ebuild deleted file mode 100644 index 210ea9d4e7d5..000000000000 --- a/dev-python/trove-classifiers/trove-classifiers-2024.10.16.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 2022-2024 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 pypi - -DESCRIPTION="Canonical source for classifiers on PyPI (pypi.org)" -HOMEPAGE=" - https://github.com/pypa/trove-classifiers/ - https://pypi.org/project/trove-classifiers/ -" - -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" - -distutils_enable_tests pytest - -src_configure() { - grep -q 'build-backend = "setuptools' pyproject.toml || - die "Upstream changed build-backend, recheck" - # write a custom pyproject.toml to ease hatchling bootstrap - cat > pyproject.toml <<-EOF || die - [build-system] - requires = ["flit_core >=3.2,<4"] - build-backend = "flit_core.buildapi" - - [project] - name = "trove-classifiers" - version = "${PV}" - description = "Canonical source for classifiers on PyPI (pypi.org)." - EOF -} - -python_test() { - epytest - "${EPYTHON}" -m tests.lib || die -} diff --git a/dev-python/trove-classifiers/trove-classifiers-2024.10.21.16.ebuild b/dev-python/trove-classifiers/trove-classifiers-2024.10.21.16.ebuild index d3efb3b1e483..210ea9d4e7d5 100644 --- a/dev-python/trove-classifiers/trove-classifiers-2024.10.21.16.ebuild +++ b/dev-python/trove-classifiers/trove-classifiers-2024.10.21.16.ebuild @@ -16,7 +16,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" distutils_enable_tests pytest diff --git a/dev-python/truststore/Manifest b/dev-python/truststore/Manifest index 787939f6b3c7..850407ee7ada 100644 --- a/dev-python/truststore/Manifest +++ b/dev-python/truststore/Manifest @@ -1,2 +1 @@ DIST truststore-0.10.0.gh.tar.gz 28644 BLAKE2B cf83a6936e361bb08f399ea5f6739acbe254dab380b06cf4befab8e1084e01d0757afd02eb0b9718963b4249280e2fa629b079eea143a7d3c5bda3767d4e0611 SHA512 eb1b16f093f32ff8be29bb696e92843823a8ffe2e7428ea989ee987d94d7328b5c40d6d8e5aa25eb223ca348ca30b29018decaec11d6106221753fd4525aa5b0 -DIST truststore-0.9.2.gh.tar.gz 27256 BLAKE2B 0f03da308697a6bcf8def97b875a962f484418dc6b54d6795a9de5dc68b949f145e6611aa6b4bebcde3f03693bbdfaaa238a9d32b5f9b2d635b4e3075420f239 SHA512 e2d9da3d22a2f06d83dd9c7c9014dd689d8e915c7c8b8b33a3526859d15e9a5d4e86162f51f22b566e844a0c6a5b16fa3ab6907a56ce11c4fcc27444493a5970 diff --git a/dev-python/truststore/truststore-0.10.0.ebuild b/dev-python/truststore/truststore-0.10.0.ebuild index c87af7680172..25d831b5421b 100644 --- a/dev-python/truststore/truststore-0.10.0.ebuild +++ b/dev-python/truststore/truststore-0.10.0.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" # The vast majority of tests require Internet access. PROPERTIES="test_network" RESTRICT="test" diff --git a/dev-python/truststore/truststore-0.9.2.ebuild b/dev-python/truststore/truststore-0.9.2.ebuild deleted file mode 100644 index efe76cac1590..000000000000 --- a/dev-python/truststore/truststore-0.9.2.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 2023-2024 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="Verify certificates using native system trust stores" -HOMEPAGE=" - https://github.com/sethmlarson/truststore/ - https://pypi.org/project/truststore/ -" -SRC_URI=" - https://github.com/sethmlarson/truststore/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~m68k ppc ppc64 ~riscv ~sparc x86" -# The vast majority of tests require Internet access. -PROPERTIES="test_network" -RESTRICT="test" - -BDEPEND=" - test? ( - dev-python/aiohttp[${PYTHON_USEDEP}] - dev-python/flaky[${PYTHON_USEDEP}] - dev-python/httpx[${PYTHON_USEDEP}] - dev-python/pyopenssl[${PYTHON_USEDEP}] - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pytest-httpserver[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/trustme[${PYTHON_USEDEP}] - dev-python/urllib3[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p asyncio -p pytest_httpserver -} diff --git a/dev-python/types-psutil/Manifest b/dev-python/types-psutil/Manifest index 80255a51d423..b713b4b07db1 100644 --- a/dev-python/types-psutil/Manifest +++ b/dev-python/types-psutil/Manifest @@ -1,3 +1 @@ -DIST types-psutil-6.0.0.20241011.tar.gz 15222 BLAKE2B 1bbe0dc93b61aa67d5730467396dab3eea57007d7a01a38fd339ed7ca0438239865936ad62fcf070e34a45c728382cb1dd840cb61a52cc2cb589d8da1412634c SHA512 b6688918ae07c8cce2a59cbb616f5187dd14d263f57fb9371732bb509c3ec2514b254a1f92a6320a3056477de4d3c8d6de871dceb6f018603316a3325022902f -DIST types-psutil-6.1.0.20241022.tar.gz 15360 BLAKE2B afda82e6112e3095dd5af78c9b97da9f2d89333d7ef257b8d95bdac78c264abfda4ef190c91d025ec159298c33ab4fdb9bf1f52cfe9c40d62c6385b2f35b7c14 SHA512 1da1faa70c4bc8ea0b488326f8e2810eaf712a7b50192c7f0df78aff36b17e2d93bfc42e3c964e972be82249865d973cff1f0da0b39039747b303bd0a9d83d23 DIST types-psutil-6.1.0.20241102.tar.gz 15447 BLAKE2B d4e97ecfd3c1b812b1eb6f193dba37cfc58d5d12f732e3269287f1df62a307e717d2772fb3e5af4bbd6b25a44b5898aa8c90826aa0a2f21b1d8d193f876a442a SHA512 e772f8063d71871ce18b96347eca8af7c7c2e53fd2eda154690b6d36d7c0f40379dda889b2fc04735ccf4ffcc9afea8bd3ca453c7fd92e664b4f901b0f0a995d diff --git a/dev-python/types-psutil/types-psutil-6.0.0.20241011.ebuild b/dev-python/types-psutil/types-psutil-6.0.0.20241011.ebuild deleted file mode 100644 index 089bf01897f0..000000000000 --- a/dev-python/types-psutil/types-psutil-6.0.0.20241011.ebuild +++ /dev/null @@ -1,17 +0,0 @@ -# Copyright 2023-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="Typing stubs for psutil" -HOMEPAGE="https://pypi.org/project/types-psutil/" - -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-psutil/types-psutil-6.1.0.20241022.ebuild b/dev-python/types-psutil/types-psutil-6.1.0.20241022.ebuild deleted file mode 100644 index 5607455cf106..000000000000 --- a/dev-python/types-psutil/types-psutil-6.1.0.20241022.ebuild +++ /dev/null @@ -1,17 +0,0 @@ -# Copyright 2023-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="Typing stubs for psutil" -HOMEPAGE="https://pypi.org/project/types-psutil/" - -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-psutil/types-psutil-6.1.0.20241102.ebuild b/dev-python/types-psutil/types-psutil-6.1.0.20241102.ebuild index 5607455cf106..089bf01897f0 100644 --- a/dev-python/types-psutil/types-psutil-6.1.0.20241102.ebuild +++ b/dev-python/types-psutil/types-psutil-6.1.0.20241102.ebuild @@ -14,4 +14,4 @@ HOMEPAGE="https://pypi.org/project/types-psutil/" 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/uv/Manifest b/dev-python/uv/Manifest index 5d15e91d0bd0..7f3cc1637cf8 100644 --- a/dev-python/uv/Manifest +++ b/dev-python/uv/Manifest @@ -5,4 +5,4 @@ DIST tl-6e25b2ee2513d75385101a8ff9f591ef51f314ec.gh.tar.gz 37106 BLAKE2B c30d1c3 DIST uv-0.4.30-crates.tar.xz 45786704 BLAKE2B 72a5828c5c504859248312e0d796a6505e4d0546218c8f7f99e37843afdf9496ea1ba4b1f094979299de417accca7f021e4f8971e467429e7d986ed9a3fb2008 SHA512 49abd05fa9e14b1bdb1b4d26f1e68a2038d57bd25c756440bca209b513de42fd8d33ce6e1333392dce65ab427285651809b44e024758359688af5fb87efc19ed DIST uv-0.4.30.gh.tar.gz 2832043 BLAKE2B 11c0d090161b9aa6d6e84d0edb15701c8eaba8281579653d6b0ba84003933f82ec5b71c3c33689e5324e51de70b7af41e4799f35fb45f57ce6d58fafa371a615 SHA512 4930c863aae71ae6e6f5b7ba20ff30ffe4c044f6980f973110d0c8c3079cb4aacbe774fe4577eb8d9c16f5d41d2cd0974c0fe63cf0d10e065c6b8d4cf553b80b DIST uv-0.5.0-crates.tar.xz 45831504 BLAKE2B 0a95463b47729d40cdaf852ba556626ed3a1d2122f5d5a8bc6c401b95c836fa0ac0726f2aeaceb10346d65c0aa3c5250598c3219244fc3b957d26ee16968d443 SHA512 b991d9aeeec6b4e5d3f3f11a51c66f929560cc75bfc9379f090ba75b243056d4cf174326f8cb31b7aefd7e60e445e05b6799d9d7a8021b0893de436dafb384ab -DIST uv-0.5.0.gh.tar.gz 2836911 BLAKE2B 326279605229675237d239fe5395436cfaa90026011e8195feeedb84333dd96f9fe5a860073776b3c3b2e0c2604d134572322e8ab12f5b72561213b6a2705a65 SHA512 6b9527d650492ccb465167e9e3087482a083997bef5b3dd494b7122a0b176762c2526819278867f42e205a93f283a955879f2431005265db7e808018ac8e3f51 +DIST uv-0.5.1.gh.tar.gz 2839701 BLAKE2B 5b4ec310a9979583b1f75355ed7a69f9b40ee397464c031b2ec36a1852e9d60b66223719cda6d6f3edff1901e60426bd0e662da7c346082a9d8889ef8b411bec SHA512 eb60061df14a6fee3295097af92bb63b71bc61f56d422db2fe6d61b7d65eba002aed57115e1ffa9e6382fc4b29a38c2e4821e9a75e1114594751dea6e8a02d0e diff --git a/dev-python/uv/uv-0.4.30-r1.ebuild b/dev-python/uv/uv-0.4.30-r1.ebuild new file mode 100644 index 000000000000..4d826c5cfb40 --- /dev/null +++ b/dev-python/uv/uv-0.4.30-r1.ebuild @@ -0,0 +1,147 @@ +# Copyright 2024 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;011b24604fa7bc223daaad7712c0694bac8f0a87;rs-async-zip-%commit%' + [pubgrub]='https://github.com/astral-sh/pubgrub;95e1390399cdddee986b658be19587eb1fdb2d79;pubgrub-%commit%' + [reqwest-middleware]='https://github.com/TrueLayer/reqwest-middleware;d95ec5a99fcc9a4339e1850d40378bbfe55ab121;reqwest-middleware-%commit%/reqwest-middleware' + [reqwest-retry]='https://github.com/TrueLayer/reqwest-middleware;d95ec5a99fcc9a4339e1850d40378bbfe55ab121;reqwest-middleware-%commit%/reqwest-retry' + [tl]='https://github.com/charliermarsh/tl;6e25b2ee2513d75385101a8ff9f591ef51f314ec;tl-%commit%' + [version-ranges]='https://github.com/astral-sh/pubgrub;95e1390399cdddee986b658be19587eb1fdb2d79;pubgrub-%commit%/version-ranges' +) + +RUST_MIN_VER="1.80.1" + +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://dev.gentoo.org/~mgorny/dist/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 ISC MIT + MPL-2.0 Unicode-DFS-2016 +" +# 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.8 + dev-lang/python:3.9 + dev-lang/python:3.10 + dev-lang/python:3.11 + dev-lang/python:3.12 + ) +" + +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 + + # remove patch.* that breaks GIT_CRATES + local reqmw=${GIT_CRATES[reqwest-middleware]} + reqmw=${reqmw#*;} + reqmw=${reqmw%;*} + sed -i -e "/^\[patch/,\$s@^\(reqwest-middleware = \).*@\1 { path = \"${WORKDIR}/reqwest-middleware-${reqmw}/reqwest-middleware\" }@" 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= + + cd crates/uv || die + cargo_src_test --no-fail-fast +} + +src_install() { + cd crates/uv || die + cargo_src_install +} diff --git a/dev-python/uv/uv-0.4.30.ebuild b/dev-python/uv/uv-0.4.30.ebuild deleted file mode 100644 index 8ce7f04ec3be..000000000000 --- a/dev-python/uv/uv-0.4.30.ebuild +++ /dev/null @@ -1,145 +0,0 @@ -# Copyright 2024 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;011b24604fa7bc223daaad7712c0694bac8f0a87;rs-async-zip-%commit%' - [pubgrub]='https://github.com/astral-sh/pubgrub;95e1390399cdddee986b658be19587eb1fdb2d79;pubgrub-%commit%' - [reqwest-middleware]='https://github.com/TrueLayer/reqwest-middleware;d95ec5a99fcc9a4339e1850d40378bbfe55ab121;reqwest-middleware-%commit%/reqwest-middleware' - [reqwest-retry]='https://github.com/TrueLayer/reqwest-middleware;d95ec5a99fcc9a4339e1850d40378bbfe55ab121;reqwest-middleware-%commit%/reqwest-retry' - [tl]='https://github.com/charliermarsh/tl;6e25b2ee2513d75385101a8ff9f591ef51f314ec;tl-%commit%' - [version-ranges]='https://github.com/astral-sh/pubgrub;95e1390399cdddee986b658be19587eb1fdb2d79;pubgrub-%commit%/version-ranges' -) - -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://dev.gentoo.org/~mgorny/dist/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 ISC MIT - MPL-2.0 Unicode-DFS-2016 -" -# 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=" - >=virtual/rust-1.80 - test? ( - dev-lang/python:3.8 - dev-lang/python:3.9 - dev-lang/python:3.10 - dev-lang/python:3.11 - dev-lang/python:3.12 - ) -" - -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 -} - -src_prepare() { - default - - # remove patch.* that breaks GIT_CRATES - local reqmw=${GIT_CRATES[reqwest-middleware]} - reqmw=${reqmw#*;} - reqmw=${reqmw%;*} - sed -i -e "/^\[patch/,\$s@^\(reqwest-middleware = \).*@\1 { path = \"${WORKDIR}/reqwest-middleware-${reqmw}/reqwest-middleware\" }@" 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= - - cd crates/uv || die - cargo_src_test --no-fail-fast -} - -src_install() { - cd crates/uv || die - cargo_src_install -} diff --git a/dev-python/uv/uv-0.5.0.ebuild b/dev-python/uv/uv-0.5.0.ebuild deleted file mode 100644 index e67a3e7e521e..000000000000 --- a/dev-python/uv/uv-0.5.0.ebuild +++ /dev/null @@ -1,166 +0,0 @@ -# Copyright 2024 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;011b24604fa7bc223daaad7712c0694bac8f0a87;rs-async-zip-%commit%' - [pubgrub]='https://github.com/astral-sh/pubgrub;95e1390399cdddee986b658be19587eb1fdb2d79;pubgrub-%commit%' - [reqwest-middleware]='https://github.com/TrueLayer/reqwest-middleware;d95ec5a99fcc9a4339e1850d40378bbfe55ab121;reqwest-middleware-%commit%/reqwest-middleware' - [reqwest-retry]='https://github.com/TrueLayer/reqwest-middleware;d95ec5a99fcc9a4339e1850d40378bbfe55ab121;reqwest-middleware-%commit%/reqwest-retry' - [tl]='https://github.com/charliermarsh/tl;6e25b2ee2513d75385101a8ff9f591ef51f314ec;tl-%commit%' - [version-ranges]='https://github.com/astral-sh/pubgrub;95e1390399cdddee986b658be19587eb1fdb2d79;pubgrub-%commit%/version-ranges' -) - -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://dev.gentoo.org/~mgorny/dist/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 ISC MIT - MPL-2.0 Unicode-DFS-2016 -" -# 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=" - >=virtual/rust-1.80 - test? ( - dev-lang/python:3.8 - dev-lang/python:3.9 - dev-lang/python:3.10 - dev-lang/python:3.11 - dev-lang/python:3.12 - ) -" - -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 -} - -src_prepare() { - default - - # remove patch.* that breaks GIT_CRATES - local reqmw=${GIT_CRATES[reqwest-middleware]} - reqmw=${reqmw#*;} - reqmw=${reqmw%;*} - sed -i -e "/^\[patch/,\$s@^\(reqwest-middleware = \).*@\1 { path = \"${WORKDIR}/reqwest-middleware-${reqmw}/reqwest-middleware\" }@" 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= - - cd crates/uv || die - cargo_src_test --no-fail-fast -} - -src_install() { - cd crates/uv || die - cargo_src_install - - insinto /etc/uv - newins - uv.toml <<-EOF || die - # By default ("automatic"), uv downloads missing Python versions - # automatically and keeps them in the user's home directory. - # Once installed, they are preferred over system Python install. - # Disable that because 1) autodownloading software is bad, - # 2) we do not want automatically downloaded Pythons to override - # system Pythons installed later. - # - # The user can still manually have uv download and install - # Python via "uv python install". We are not switching - # "python-preference" to allow the user to override the system - # Python with these explicit installs. - # - # Relevant docs: - # https://docs.astral.sh/uv/reference/settings/#python-downloads - # https://docs.astral.sh/uv/reference/settings/#python-preference - - python-downloads = "manual" - EOF -} diff --git a/dev-python/uv/uv-0.5.1.ebuild b/dev-python/uv/uv-0.5.1.ebuild new file mode 100644 index 000000000000..cf59953b7c5b --- /dev/null +++ b/dev-python/uv/uv-0.5.1.ebuild @@ -0,0 +1,171 @@ +# Copyright 2024 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;011b24604fa7bc223daaad7712c0694bac8f0a87;rs-async-zip-%commit%' + [pubgrub]='https://github.com/astral-sh/pubgrub;95e1390399cdddee986b658be19587eb1fdb2d79;pubgrub-%commit%' + [reqwest-middleware]='https://github.com/TrueLayer/reqwest-middleware;d95ec5a99fcc9a4339e1850d40378bbfe55ab121;reqwest-middleware-%commit%/reqwest-middleware' + [reqwest-retry]='https://github.com/TrueLayer/reqwest-middleware;d95ec5a99fcc9a4339e1850d40378bbfe55ab121;reqwest-middleware-%commit%/reqwest-retry' + [tl]='https://github.com/charliermarsh/tl;6e25b2ee2513d75385101a8ff9f591ef51f314ec;tl-%commit%' + [version-ranges]='https://github.com/astral-sh/pubgrub;95e1390399cdddee986b658be19587eb1fdb2d79;pubgrub-%commit%/version-ranges' +) + +RUST_MIN_VER="1.80.1" + +inherit cargo check-reqs + +CRATE_PV=0.5.0 +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://dev.gentoo.org/~mgorny/dist/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 ISC MIT + MPL-2.0 Unicode-DFS-2016 +" +# 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.8 + dev-lang/python:3.9 + dev-lang/python:3.10 + dev-lang/python:3.11 + dev-lang/python:3.12 + !!~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 + + # remove patch.* that breaks GIT_CRATES + local reqmw=${GIT_CRATES[reqwest-middleware]} + reqmw=${reqmw#*;} + reqmw=${reqmw%;*} + sed -i -e "/^\[patch/,\$s@^\(reqwest-middleware = \).*@\1 { path = \"${WORKDIR}/reqwest-middleware-${reqmw}/reqwest-middleware\" }@" 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 + # By default ("automatic"), uv downloads missing Python versions + # automatically and keeps them in the user's home directory. + # Once installed, they are preferred over system Python install. + # Disable that because 1) autodownloading software is bad, + # 2) we do not want automatically downloaded Pythons to override + # system Pythons installed later. + # + # The user can still manually have uv download and install + # Python via "uv python install". We are not switching + # "python-preference" to allow the user to override the system + # Python with these explicit installs. + # + # Relevant docs: + # https://docs.astral.sh/uv/reference/settings/#python-downloads + # https://docs.astral.sh/uv/reference/settings/#python-preference + + python-downloads = "manual" + EOF +} diff --git a/dev-python/watchfiles/watchfiles-0.23.0-r1.ebuild b/dev-python/watchfiles/watchfiles-0.23.0-r1.ebuild new file mode 100644 index 000000000000..33e74b5a2dd0 --- /dev/null +++ b/dev-python/watchfiles/watchfiles-0.23.0-r1.ebuild @@ -0,0 +1,127 @@ +# Copyright 2022-2024 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} pypy3 ) + +CRATES=" + autocfg@1.3.0 + bitflags@1.3.2 + bitflags@2.5.0 + cc@1.0.96 + cfg-if@1.0.0 + crossbeam-channel@0.5.12 + crossbeam-utils@0.8.19 + filetime@0.2.23 + fsevent-sys@4.1.0 + heck@0.5.0 + indoc@2.0.5 + inotify-sys@0.1.5 + inotify@0.9.6 + kqueue-sys@1.0.4 + kqueue@1.0.8 + libc@0.2.154 + log@0.4.21 + memoffset@0.9.1 + mio@0.8.11 + notify@6.1.1 + once_cell@1.19.0 + portable-atomic@1.6.0 + proc-macro2@1.0.81 + pyo3-build-config@0.22.2 + pyo3-ffi@0.22.2 + pyo3-macros-backend@0.22.2 + pyo3-macros@0.22.2 + pyo3@0.22.2 + python3-dll-a@0.2.10 + quote@1.0.36 + redox_syscall@0.4.1 + same-file@1.0.6 + syn@2.0.60 + target-lexicon@0.12.14 + unicode-ident@1.0.12 + unindent@0.2.3 + walkdir@2.5.0 + wasi@0.11.0+wasi-snapshot-preview1 + winapi-util@0.1.8 + windows-sys@0.48.0 + windows-sys@0.52.0 + windows-targets@0.48.5 + windows-targets@0.52.5 + windows_aarch64_gnullvm@0.48.5 + windows_aarch64_gnullvm@0.52.5 + windows_aarch64_msvc@0.48.5 + windows_aarch64_msvc@0.52.5 + windows_i686_gnu@0.48.5 + windows_i686_gnu@0.52.5 + windows_i686_gnullvm@0.52.5 + windows_i686_msvc@0.48.5 + windows_i686_msvc@0.52.5 + windows_x86_64_gnu@0.48.5 + windows_x86_64_gnu@0.52.5 + windows_x86_64_gnullvm@0.48.5 + windows_x86_64_gnullvm@0.52.5 + windows_x86_64_msvc@0.48.5 + windows_x86_64_msvc@0.52.5 +" + +inherit cargo distutils-r1 + +DESCRIPTION="Simple, modern file watching and code reload in Python" +HOMEPAGE=" + https://pypi.org/project/watchfiles/ + https://github.com/samuelcolvin/watchfiles/ +" +SRC_URI=" + https://github.com/samuelcolvin/watchfiles/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz + ${CARGO_CRATE_URIS} +" + +LICENSE="MIT" +# Dependent crate licenses +LICENSE+=" + Apache-2.0-with-LLVM-exceptions CC0-1.0 ISC MIT Unicode-DFS-2016 +" +SLOT="0" +KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv ~s390 sparc x86" + +RDEPEND=" + >=dev-python/anyio-4.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-rust[${PYTHON_USEDEP}] + test? ( + dev-python/dirty-equals[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + ) +" + +# enjoy Rust +QA_FLAGS_IGNORED=".*/_rust_notify.*" + +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # fix version number + sed -i -e "/^version/s:0\.0\.0:${PV}:" Cargo.toml || die + + export UNSAFE_PYO3_SKIP_VERSION_CHECK=1 +} + +python_test() { + local EPYTEST_DESELECT=( + # test broken with new anyio + # https://github.com/samuelcolvin/watchfiles/issues/254 + tests/test_watch.py::test_awatch_interrupt_raise + ) + + rm -rf watchfiles || die + epytest +} diff --git a/dev-python/watchfiles/watchfiles-0.23.0.ebuild b/dev-python/watchfiles/watchfiles-0.23.0.ebuild deleted file mode 100644 index 33e74b5a2dd0..000000000000 --- a/dev-python/watchfiles/watchfiles-0.23.0.ebuild +++ /dev/null @@ -1,127 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=maturin -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) - -CRATES=" - autocfg@1.3.0 - bitflags@1.3.2 - bitflags@2.5.0 - cc@1.0.96 - cfg-if@1.0.0 - crossbeam-channel@0.5.12 - crossbeam-utils@0.8.19 - filetime@0.2.23 - fsevent-sys@4.1.0 - heck@0.5.0 - indoc@2.0.5 - inotify-sys@0.1.5 - inotify@0.9.6 - kqueue-sys@1.0.4 - kqueue@1.0.8 - libc@0.2.154 - log@0.4.21 - memoffset@0.9.1 - mio@0.8.11 - notify@6.1.1 - once_cell@1.19.0 - portable-atomic@1.6.0 - proc-macro2@1.0.81 - pyo3-build-config@0.22.2 - pyo3-ffi@0.22.2 - pyo3-macros-backend@0.22.2 - pyo3-macros@0.22.2 - pyo3@0.22.2 - python3-dll-a@0.2.10 - quote@1.0.36 - redox_syscall@0.4.1 - same-file@1.0.6 - syn@2.0.60 - target-lexicon@0.12.14 - unicode-ident@1.0.12 - unindent@0.2.3 - walkdir@2.5.0 - wasi@0.11.0+wasi-snapshot-preview1 - winapi-util@0.1.8 - windows-sys@0.48.0 - windows-sys@0.52.0 - windows-targets@0.48.5 - windows-targets@0.52.5 - windows_aarch64_gnullvm@0.48.5 - windows_aarch64_gnullvm@0.52.5 - windows_aarch64_msvc@0.48.5 - windows_aarch64_msvc@0.52.5 - windows_i686_gnu@0.48.5 - windows_i686_gnu@0.52.5 - windows_i686_gnullvm@0.52.5 - windows_i686_msvc@0.48.5 - windows_i686_msvc@0.52.5 - windows_x86_64_gnu@0.48.5 - windows_x86_64_gnu@0.52.5 - windows_x86_64_gnullvm@0.48.5 - windows_x86_64_gnullvm@0.52.5 - windows_x86_64_msvc@0.48.5 - windows_x86_64_msvc@0.52.5 -" - -inherit cargo distutils-r1 - -DESCRIPTION="Simple, modern file watching and code reload in Python" -HOMEPAGE=" - https://pypi.org/project/watchfiles/ - https://github.com/samuelcolvin/watchfiles/ -" -SRC_URI=" - https://github.com/samuelcolvin/watchfiles/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz - ${CARGO_CRATE_URIS} -" - -LICENSE="MIT" -# Dependent crate licenses -LICENSE+=" - Apache-2.0-with-LLVM-exceptions CC0-1.0 ISC MIT Unicode-DFS-2016 -" -SLOT="0" -KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - >=dev-python/anyio-4.0.0[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/setuptools-rust[${PYTHON_USEDEP}] - test? ( - dev-python/dirty-equals[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/pytest-timeout[${PYTHON_USEDEP}] - ) -" - -# enjoy Rust -QA_FLAGS_IGNORED=".*/_rust_notify.*" - -distutils_enable_tests pytest - -src_prepare() { - distutils-r1_src_prepare - - # fix version number - sed -i -e "/^version/s:0\.0\.0:${PV}:" Cargo.toml || die - - export UNSAFE_PYO3_SKIP_VERSION_CHECK=1 -} - -python_test() { - local EPYTEST_DESELECT=( - # test broken with new anyio - # https://github.com/samuelcolvin/watchfiles/issues/254 - tests/test_watch.py::test_awatch_interrupt_raise - ) - - rm -rf watchfiles || die - epytest -} diff --git a/dev-python/watchfiles/watchfiles-0.24.0-r1.ebuild b/dev-python/watchfiles/watchfiles-0.24.0-r1.ebuild new file mode 100644 index 000000000000..0e75853ec48b --- /dev/null +++ b/dev-python/watchfiles/watchfiles-0.24.0-r1.ebuild @@ -0,0 +1,134 @@ +# Copyright 2022-2024 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} pypy3 ) + +CRATES=" + autocfg@1.3.0 + bitflags@1.3.2 + bitflags@2.6.0 + cc@1.0.96 + cfg-if@1.0.0 + crossbeam-channel@0.5.12 + crossbeam-utils@0.8.19 + filetime@0.2.24 + fsevent-sys@4.1.0 + heck@0.5.0 + indoc@2.0.5 + inotify-sys@0.1.5 + inotify@0.10.2 + instant@0.1.13 + kqueue-sys@1.0.4 + kqueue@1.0.8 + libc@0.2.154 + libredox@0.1.3 + log@0.4.22 + memoffset@0.9.1 + mio@0.8.11 + once_cell@1.19.0 + portable-atomic@1.6.0 + proc-macro2@1.0.81 + pyo3-build-config@0.22.2 + pyo3-ffi@0.22.2 + pyo3-macros-backend@0.22.2 + pyo3-macros@0.22.2 + pyo3@0.22.2 + python3-dll-a@0.2.10 + quote@1.0.36 + redox_syscall@0.5.3 + same-file@1.0.6 + syn@2.0.60 + target-lexicon@0.12.14 + unicode-ident@1.0.12 + unindent@0.2.3 + walkdir@2.5.0 + wasi@0.11.0+wasi-snapshot-preview1 + winapi-util@0.1.9 + windows-sys@0.48.0 + windows-sys@0.52.0 + windows-sys@0.59.0 + windows-targets@0.48.5 + windows-targets@0.52.6 + windows_aarch64_gnullvm@0.48.5 + windows_aarch64_gnullvm@0.52.6 + windows_aarch64_msvc@0.48.5 + windows_aarch64_msvc@0.52.6 + windows_i686_gnu@0.48.5 + windows_i686_gnu@0.52.6 + windows_i686_gnullvm@0.52.6 + windows_i686_msvc@0.48.5 + windows_i686_msvc@0.52.6 + windows_x86_64_gnu@0.48.5 + windows_x86_64_gnu@0.52.6 + windows_x86_64_gnullvm@0.48.5 + windows_x86_64_gnullvm@0.52.6 + windows_x86_64_msvc@0.48.5 + windows_x86_64_msvc@0.52.6 +" + +declare -A GIT_CRATES=( + [notify-types]='https://github.com/samuelcolvin/notify;0f87ab12707d231fa44180454d59478d3992eb59;notify-%commit%/notify-types' + [notify]='https://github.com/samuelcolvin/notify;0f87ab12707d231fa44180454d59478d3992eb59;notify-%commit%/notify' +) + +inherit cargo distutils-r1 + +DESCRIPTION="Simple, modern file watching and code reload in Python" +HOMEPAGE=" + https://pypi.org/project/watchfiles/ + https://github.com/samuelcolvin/watchfiles/ +" +SRC_URI=" + https://github.com/samuelcolvin/watchfiles/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz + ${CARGO_CRATE_URIS} +" + +LICENSE="MIT" +# Dependent crate licenses +LICENSE+=" + Apache-2.0-with-LLVM-exceptions BSD CC0-1.0 ISC MIT Unicode-DFS-2016 +" +SLOT="0" +KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv ~s390 sparc x86" + +RDEPEND=" + >=dev-python/anyio-4.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-rust[${PYTHON_USEDEP}] + test? ( + dev-python/dirty-equals[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + ) +" + +# enjoy Rust +QA_FLAGS_IGNORED=".*/_rust_notify.*" + +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # fix version number + sed -i -e "/^version/s:0\.0\.0:${PV}:" Cargo.toml || die + + export UNSAFE_PYO3_SKIP_VERSION_CHECK=1 +} + +python_test() { + local EPYTEST_DESELECT=( + # test broken with new anyio + # https://github.com/samuelcolvin/watchfiles/issues/254 + tests/test_watch.py::test_awatch_interrupt_raise + ) + + rm -rf watchfiles || die + epytest +} diff --git a/dev-python/watchfiles/watchfiles-0.24.0.ebuild b/dev-python/watchfiles/watchfiles-0.24.0.ebuild deleted file mode 100644 index 0e75853ec48b..000000000000 --- a/dev-python/watchfiles/watchfiles-0.24.0.ebuild +++ /dev/null @@ -1,134 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=maturin -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) - -CRATES=" - autocfg@1.3.0 - bitflags@1.3.2 - bitflags@2.6.0 - cc@1.0.96 - cfg-if@1.0.0 - crossbeam-channel@0.5.12 - crossbeam-utils@0.8.19 - filetime@0.2.24 - fsevent-sys@4.1.0 - heck@0.5.0 - indoc@2.0.5 - inotify-sys@0.1.5 - inotify@0.10.2 - instant@0.1.13 - kqueue-sys@1.0.4 - kqueue@1.0.8 - libc@0.2.154 - libredox@0.1.3 - log@0.4.22 - memoffset@0.9.1 - mio@0.8.11 - once_cell@1.19.0 - portable-atomic@1.6.0 - proc-macro2@1.0.81 - pyo3-build-config@0.22.2 - pyo3-ffi@0.22.2 - pyo3-macros-backend@0.22.2 - pyo3-macros@0.22.2 - pyo3@0.22.2 - python3-dll-a@0.2.10 - quote@1.0.36 - redox_syscall@0.5.3 - same-file@1.0.6 - syn@2.0.60 - target-lexicon@0.12.14 - unicode-ident@1.0.12 - unindent@0.2.3 - walkdir@2.5.0 - wasi@0.11.0+wasi-snapshot-preview1 - winapi-util@0.1.9 - windows-sys@0.48.0 - windows-sys@0.52.0 - windows-sys@0.59.0 - windows-targets@0.48.5 - windows-targets@0.52.6 - windows_aarch64_gnullvm@0.48.5 - windows_aarch64_gnullvm@0.52.6 - windows_aarch64_msvc@0.48.5 - windows_aarch64_msvc@0.52.6 - windows_i686_gnu@0.48.5 - windows_i686_gnu@0.52.6 - windows_i686_gnullvm@0.52.6 - windows_i686_msvc@0.48.5 - windows_i686_msvc@0.52.6 - windows_x86_64_gnu@0.48.5 - windows_x86_64_gnu@0.52.6 - windows_x86_64_gnullvm@0.48.5 - windows_x86_64_gnullvm@0.52.6 - windows_x86_64_msvc@0.48.5 - windows_x86_64_msvc@0.52.6 -" - -declare -A GIT_CRATES=( - [notify-types]='https://github.com/samuelcolvin/notify;0f87ab12707d231fa44180454d59478d3992eb59;notify-%commit%/notify-types' - [notify]='https://github.com/samuelcolvin/notify;0f87ab12707d231fa44180454d59478d3992eb59;notify-%commit%/notify' -) - -inherit cargo distutils-r1 - -DESCRIPTION="Simple, modern file watching and code reload in Python" -HOMEPAGE=" - https://pypi.org/project/watchfiles/ - https://github.com/samuelcolvin/watchfiles/ -" -SRC_URI=" - https://github.com/samuelcolvin/watchfiles/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz - ${CARGO_CRATE_URIS} -" - -LICENSE="MIT" -# Dependent crate licenses -LICENSE+=" - Apache-2.0-with-LLVM-exceptions BSD CC0-1.0 ISC MIT Unicode-DFS-2016 -" -SLOT="0" -KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - >=dev-python/anyio-4.0.0[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/setuptools-rust[${PYTHON_USEDEP}] - test? ( - dev-python/dirty-equals[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/pytest-timeout[${PYTHON_USEDEP}] - ) -" - -# enjoy Rust -QA_FLAGS_IGNORED=".*/_rust_notify.*" - -distutils_enable_tests pytest - -src_prepare() { - distutils-r1_src_prepare - - # fix version number - sed -i -e "/^version/s:0\.0\.0:${PV}:" Cargo.toml || die - - export UNSAFE_PYO3_SKIP_VERSION_CHECK=1 -} - -python_test() { - local EPYTEST_DESELECT=( - # test broken with new anyio - # https://github.com/samuelcolvin/watchfiles/issues/254 - tests/test_watch.py::test_awatch_interrupt_raise - ) - - rm -rf watchfiles || die - epytest -} diff --git a/dev-python/webob/Manifest b/dev-python/webob/Manifest index dc0921f21455..3f01fe45d047 100644 --- a/dev-python/webob/Manifest +++ b/dev-python/webob/Manifest @@ -1,2 +1 @@ -DIST webob-1.8.8.tar.gz 279035 BLAKE2B 61bbcc71763feccbd7a39b2649024c8d7a49ab5602fd638b4a895900395cd54bb6b0885e0bdeccd6504f5cc3162f7e198e94016b98836dbed4ed608605251052 SHA512 13093e77591a3bdb36e8f30a5d40922120d949faf24e3322b0116f1a14483180772b22c82237b0db4a17a914c2c99509847a9f2a717de09b4bffa55fa5269838 DIST webob-1.8.9.tar.gz 279775 BLAKE2B 1442fb0cac7a5a55582956a89b998beb8b7e0cc75a7b09e8767ca2064c60a51102a5f8d08cd3d854c560f38448bea439acffa096b392811ba8941b9fa543e539 SHA512 ed5d91f864572b4bbeaa2aa6ada98285d597f83bc14613e62defb6fd6617986aa63534f0962d8045866471f8dfa09c803a5f2105efb84e5f618db6eeb804b9a1 diff --git a/dev-python/webob/webob-1.8.8.ebuild b/dev-python/webob/webob-1.8.8.ebuild deleted file mode 100644 index f65a5d526aed..000000000000 --- a/dev-python/webob/webob-1.8.8.ebuild +++ /dev/null @@ -1,36 +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_PN="WebOb" -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="WSGI request and response object" -HOMEPAGE=" - https://webob.org/ - https://github.com/Pylons/webob/ - https://pypi.org/project/WebOb/ -" - -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" - -RDEPEND=" - $(python_gen_cond_dep ' - dev-python/legacy-cgi[${PYTHON_USEDEP}] - ' 3.13) -" - -distutils_enable_sphinx docs 'dev-python/alabaster' -distutils_enable_tests pytest - -src_prepare() { - # py3.9 - sed -i -e 's:isAlive:is_alive:' tests/conftest.py || die - distutils-r1_src_prepare -} diff --git a/dev-python/webob/webob-1.8.9.ebuild b/dev-python/webob/webob-1.8.9.ebuild index d36db8c7c39b..01fe61abcef3 100644 --- a/dev-python/webob/webob-1.8.9.ebuild +++ b/dev-python/webob/webob-1.8.9.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" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" RDEPEND=" $(python_gen_cond_dep ' diff --git a/dev-python/wheel/Manifest b/dev-python/wheel/Manifest index a6de1d3543f7..54658571ff05 100644 --- a/dev-python/wheel/Manifest +++ b/dev-python/wheel/Manifest @@ -1 +1,2 @@ DIST wheel-0.44.0.tar.gz 100733 BLAKE2B 6beefa0875be52fb2dff2921cb87063bcafdf2e31c43963676fbae8aef4e68ea21675aa715f94052edc9f5e8dbbd5e2afe3abc17f521eb36b24fa628b0522bbe SHA512 f0a1efbf70e8a2eebdf7564932bdfa3892940a3fbfc00f256f61be03a51ff9cc5a55570d1d3f5878670be84ab233483453ce754ea46c508574fcf4ec61d480c8 +DIST wheel-0.45.0.tar.gz 107426 BLAKE2B 57cfbe247bbc2f0598a3ee18a1ab4b309e6ec6eb89486391bc7b5baa148736829b2620d05f1c6f75b0743ee1065ccbdc66ce690ee7efcf5f2b58519eb4cc8b25 SHA512 dca95cadde7c551baebde50f66ca79d4205d0a896da34b7f4f103c62fb72f78c0b9e71933564b951ab3878e6bc47d1961a73545bc0ead45e618de33b6b7cb16a diff --git a/dev-python/wheel/wheel-0.45.0.ebuild b/dev-python/wheel/wheel-0.45.0.ebuild new file mode 100644 index 000000000000..816d213fe7b4 --- /dev/null +++ b/dev-python/wheel/wheel-0.45.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 8 -- sys-apps/portage dep +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="A built-package format for Python" +HOMEPAGE=" + https://github.com/pypa/wheel/ + https://pypi.org/project/wheel/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" + +RDEPEND=" + dev-python/packaging[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/setuptools[${PYTHON_USEDEP}] + ) +" + +EPYTEST_DESELECT=( + # fails if any setuptools plugin imported the module first + tests/test_bdist_wheel.py::test_deprecated_import +) + +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # unbundle packaging + rm -r src/wheel/vendored || die + find -name '*.py' -exec sed -i \ + -e 's:wheel\.vendored\.::' \ + -e 's:\.\+vendored\.::' {} + || die +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/wtforms/Manifest b/dev-python/wtforms/Manifest index 66cf238ba8cc..db0ad199df00 100644 --- a/dev-python/wtforms/Manifest +++ b/dev-python/wtforms/Manifest @@ -1,3 +1 @@ -DIST wtforms-3.1.2.tar.gz 134705 BLAKE2B 748ea71ced149220947d0f54d69cc94b3cd8a2e648551556621082418a7555519b275788b961abca1331e6c6d52c1999451cc26b3bc9ab27261ef25de7ffd9fa SHA512 4c4203c735f755cedf9c20ddf9805d1e80096fe2fb499dc91a9608df0ac5eb0ddf6c67eea782f9507d14b14e362454f50b567dc5518ca95ce090305a44436873 -DIST wtforms-3.2.0.tar.gz 137750 BLAKE2B cab28b7016fc73958d56f5580aae80ab72acfecf3f4f7d17021d760db396644d6581f3ff6b0ff07193359d0ffa22523b22cc70c28843f9add8cd5d6cc601b04f SHA512 afa684eefb08f437624b3a1e04327f3497d1067033ef6782fd9470bfe3ff10f84b99294a2fb48800fa3de6e188a6285ca63ba696e74a222c55c1d9e030babe2a DIST wtforms-3.2.1.tar.gz 137801 BLAKE2B 91deeb5a2b3ef07bec48c55a4aaef92969d6c731d91874ecf5260f2228be8ef0fdee32c61e4f5233a953f4c0be4359f1e98a87c4bf87975780b6be00b8717283 SHA512 96aa2934e39f95f2a2d0db4cd8026215cb0adea2df9bd235305b2857f2e5eecc3ea4e959ff1c1d46090213d348bccf70df19efaf73059074d1f02c577cbb1fdf diff --git a/dev-python/wtforms/wtforms-3.1.2.ebuild b/dev-python/wtforms/wtforms-3.1.2.ebuild deleted file mode 100644 index b66e0df0a596..000000000000 --- a/dev-python/wtforms/wtforms-3.1.2.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYPI_PN="WTForms" -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Flexible forms validation and rendering library for python web development" -HOMEPAGE=" - https://wtforms.readthedocs.io/ - https://github.com/wtforms/wtforms/ - https://pypi.org/project/WTForms/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm64 ~riscv x86" - -RDEPEND=" - dev-python/markupsafe[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/Babel[${PYTHON_USEDEP}] - test? ( - dev-python/email-validator[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - dev-python/sqlalchemy[${PYTHON_USEDEP}] - dev-python/webob[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest diff --git a/dev-python/wtforms/wtforms-3.2.0.ebuild b/dev-python/wtforms/wtforms-3.2.0.ebuild deleted file mode 100644 index 84276d074916..000000000000 --- a/dev-python/wtforms/wtforms-3.2.0.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYPI_PN="WTForms" -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Flexible forms validation and rendering library for python web development" -HOMEPAGE=" - https://wtforms.readthedocs.io/ - https://github.com/pallets-eco/wtforms/ - https://pypi.org/project/WTForms/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv ~x86" - -RDEPEND=" - dev-python/markupsafe[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/Babel[${PYTHON_USEDEP}] - test? ( - dev-python/email-validator[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - dev-python/sqlalchemy[${PYTHON_USEDEP}] - dev-python/webob[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest diff --git a/dev-python/wtforms/wtforms-3.2.1.ebuild b/dev-python/wtforms/wtforms-3.2.1.ebuild index 84276d074916..0f468aa5585e 100644 --- a/dev-python/wtforms/wtforms-3.2.1.ebuild +++ b/dev-python/wtforms/wtforms-3.2.1.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv ~x86" +KEYWORDS="amd64 arm64 ~riscv x86" RDEPEND=" dev-python/markupsafe[${PYTHON_USEDEP}] diff --git a/dev-python/xarray/xarray-2024.10.0.ebuild b/dev-python/xarray/xarray-2024.10.0.ebuild index 28cf501f49d9..1af35b73cc23 100644 --- a/dev-python/xarray/xarray-2024.10.0.ebuild +++ b/dev-python/xarray/xarray-2024.10.0.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv ~x86" +KEYWORDS="~amd64 arm64 ~riscv ~x86" IUSE="big-endian" RDEPEND=" diff --git a/dev-python/yarl/yarl-1.16.0.ebuild b/dev-python/yarl/yarl-1.16.0.ebuild index 638ce0f69079..59c822cae8d2 100644 --- a/dev-python/yarl/yarl-1.16.0.ebuild +++ b/dev-python/yarl/yarl-1.16.0.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" 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" IUSE="+native-extensions" RDEPEND=" diff --git a/dev-python/zeroconf/zeroconf-0.136.0.ebuild b/dev-python/zeroconf/zeroconf-0.136.0.ebuild index 0c00ccff1261..75671f09613e 100644 --- a/dev-python/zeroconf/zeroconf-0.136.0.ebuild +++ b/dev-python/zeroconf/zeroconf-0.136.0.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="LGPL-2.1+" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~amd64 ~arm arm64 ~x86 ~amd64-linux ~x86-linux" RDEPEND=" >=dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}] diff --git a/dev-python/zope-interface/zope-interface-7.1.1.ebuild b/dev-python/zope-interface/zope-interface-7.1.1.ebuild index c40b2aeb3b46..973d5e89521a 100644 --- a/dev-python/zope-interface/zope-interface-7.1.1.ebuild +++ b/dev-python/zope-interface/zope-interface-7.1.1.ebuild @@ -19,7 +19,7 @@ HOMEPAGE=" LICENSE="ZPL" 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="+native-extensions" BDEPEND=" -- cgit v1.3