From 45bfac422f5e174da352fbafaa4a3af02478ce18 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Sat, 9 Dec 2023 18:21:21 +0000 Subject: Adding metadata --- .../Frozen-Flask/Frozen-Flask-0.18-r1.ebuild | 28 --- dev-python/Frozen-Flask/Frozen-Flask-1.0.1.ebuild | 2 +- dev-python/Frozen-Flask/Manifest | 1 - dev-python/aiohttp/aiohttp-3.9.1.ebuild | 2 +- dev-python/anyio/Manifest | 1 - dev-python/anyio/anyio-4.0.0.ebuild | 60 ------ dev-python/anyio/anyio-4.1.0.ebuild | 2 +- dev-python/aws-sam-translator/Manifest | 1 - .../aws-sam-translator-1.80.0.ebuild | 62 ------ .../aws-sam-translator-1.81.0.ebuild | 2 +- dev-python/bandit/Manifest | 1 + dev-python/bandit/bandit-1.7.6.ebuild | 42 ++++ dev-python/boto3/Manifest | 1 + dev-python/boto3/boto3-1.33.11.ebuild | 64 ++++++ dev-python/botocore/Manifest | 1 + dev-python/botocore/botocore-1.33.11.ebuild | 68 +++++++ dev-python/cattrs/Manifest | 3 - dev-python/cattrs/cattrs-23.1.2.ebuild | 76 ------- dev-python/cattrs/cattrs-23.2.1.ebuild | 69 ------- dev-python/cattrs/cattrs-23.2.2.ebuild | 69 ------- dev-python/cattrs/cattrs-23.2.3.ebuild | 2 +- .../cattrs/files/cattrs-23.1.2-32bit-time_t.patch | 38 ---- dev-python/cleo/Manifest | 1 - dev-python/cleo/cleo-2.0.1-r1.ebuild | 47 ----- dev-python/cleo/cleo-2.1.0.ebuild | 2 +- dev-python/django/Manifest | 2 + dev-python/django/django-4.1.12-r1.ebuild | 100 ++++++++++ dev-python/django/django-4.2.8-r1.ebuild | 100 ++++++++++ dev-python/django/django-4.2.8.ebuild | 98 --------- dev-python/django/django-5.0-r1.ebuild | 99 +++++++++ dev-python/django/django-5.0.ebuild | 97 --------- dev-python/docker/Manifest | 1 + dev-python/docker/docker-7.0.0.ebuild | 56 ++++++ dev-python/dominate/Manifest | 1 - dev-python/dominate/dominate-2.8.0.ebuild | 26 --- dev-python/dominate/dominate-2.9.0.ebuild | 2 +- .../dominate/files/dominate-2.8.0-py312.patch | 20 -- dev-python/elasticsearch/Manifest | 1 + .../elasticsearch/elasticsearch-8.11.1.ebuild | 71 +++++++ dev-python/ensurepip-setuptools/Manifest | 3 - .../ensurepip-setuptools-68.2.2.ebuild | 24 --- .../ensurepip-setuptools-69.0.0.ebuild | 24 --- .../ensurepip-setuptools-69.0.1.ebuild | 24 --- .../ensurepip-setuptools-69.0.2.ebuild | 2 +- .../exceptiongroup/exceptiongroup-1.2.0.ebuild | 2 +- dev-python/expandvars/expandvars-0.11.0.ebuild | 2 +- dev-python/fonttools/fonttools-4.46.0.ebuild | 2 +- dev-python/google-auth/Manifest | 1 + dev-python/google-auth/google-auth-2.25.2.ebuild | 60 ++++++ dev-python/greenlet/Manifest | 1 + dev-python/greenlet/greenlet-3.0.2.ebuild | 43 ++++ dev-python/httpx/Manifest | 1 - dev-python/httpx/httpx-0.25.1.ebuild | 87 -------- dev-python/httpx/httpx-0.25.2.ebuild | 2 +- dev-python/humanize/Manifest | 1 - dev-python/humanize/humanize-4.8.0.ebuild | 28 --- dev-python/humanize/humanize-4.9.0.ebuild | 2 +- dev-python/identify/Manifest | 2 - dev-python/identify/identify-2.5.31.ebuild | 29 --- dev-python/identify/identify-2.5.32.ebuild | 29 --- dev-python/identify/identify-2.5.33.ebuild | 2 +- dev-python/idna/Manifest | 2 - dev-python/idna/idna-3.4.ebuild | 22 -- dev-python/idna/idna-3.5.ebuild | 25 --- dev-python/idna/idna-3.6.ebuild | 2 +- dev-python/imapclient/imapclient-3.0.1.ebuild | 2 +- dev-python/ipykernel/Manifest | 2 - dev-python/ipykernel/ipykernel-6.26.0.ebuild | 78 -------- dev-python/ipykernel/ipykernel-6.27.0.ebuild | 78 -------- dev-python/ipykernel/ipykernel-6.27.1.ebuild | 2 +- dev-python/jellyfish/Manifest | 25 --- dev-python/jellyfish/jellyfish-1.0.1.ebuild | 82 -------- dev-python/jellyfish/jellyfish-1.0.3.ebuild | 2 +- dev-python/jupyterlab-pygments/Manifest | 1 - .../jupyterlab-pygments-0.2.2.ebuild | 23 --- .../jupyterlab-pygments-0.3.0.ebuild | 2 +- dev-python/jupyterlab-server/Manifest | 1 - .../jupyterlab-server-2.25.1.ebuild | 66 ------ .../jupyterlab-server-2.25.2.ebuild | 2 +- dev-python/keystoneauth1/Manifest | 1 - .../keystoneauth1/keystoneauth1-5.3.0.ebuild | 58 ------ .../keystoneauth1/keystoneauth1-5.4.0.ebuild | 2 +- dev-python/livereload/livereload-2.6.3-r1.ebuild | 2 +- dev-python/lz4/lz4-4.3.2.ebuild | 17 +- dev-python/mkdocs-material/Manifest | 1 + .../mkdocs-material/mkdocs-material-9.5.1.ebuild | 67 +++++++ dev-python/mkdocs/mkdocs-1.5.3-r1.ebuild | 2 +- dev-python/mkdocs/mkdocs-1.5.3.ebuild | 86 -------- dev-python/mypy/mypy-1.7.1.ebuild | 2 +- dev-python/nbdime/Manifest | 1 - dev-python/nbdime/nbdime-3.2.1.ebuild | 78 -------- dev-python/nbdime/nbdime-4.0.1.ebuild | 2 +- dev-python/nbxmpp/Manifest | 1 - dev-python/nbxmpp/nbxmpp-4.5.2.ebuild | 35 ---- dev-python/nbxmpp/nbxmpp-4.5.3.ebuild | 2 +- dev-python/networkx/Manifest | 1 - dev-python/networkx/networkx-3.1.ebuild | 4 +- dev-python/networkx/networkx-3.2.ebuild | 60 ------ dev-python/pandas/Manifest | 2 +- .../pandas/files/pandas-2.1.4-khash-dep.patch | 45 +++++ dev-python/pandas/pandas-1.5.3.ebuild | 2 +- dev-python/pandas/pandas-2.1.1-r1.ebuild | 217 -------------------- dev-python/pandas/pandas-2.1.2.ebuild | 217 -------------------- dev-python/pandas/pandas-2.1.4.ebuild | 221 +++++++++++++++++++++ dev-python/parse/Manifest | 1 - dev-python/parse/parse-1.19.1.ebuild | 25 --- dev-python/parse/parse-1.20.0.ebuild | 2 +- dev-python/pastedeploy/Manifest | 1 - dev-python/pastedeploy/pastedeploy-3.0.1.ebuild | 41 ---- dev-python/pastedeploy/pastedeploy-3.1.ebuild | 2 +- dev-python/patsy/patsy-0.5.3-r1.ebuild | 2 +- dev-python/pebble/Manifest | 1 - .../pebble/files/pebble-5.0.3-backport-pr112.patch | 28 --- dev-python/pebble/pebble-5.0.3.ebuild | 25 --- dev-python/pebble/pebble-5.0.4.ebuild | 2 +- dev-python/picobox/picobox-4.0.0.ebuild | 2 +- dev-python/pyasn1/Manifest | 1 - dev-python/pyasn1/pyasn1-0.5.0.ebuild | 22 -- dev-python/pyasn1/pyasn1-0.5.1.ebuild | 2 +- dev-python/pycson/pycson-0.8-r4.ebuild | 2 +- dev-python/pyfakefs/Manifest | 2 - dev-python/pyfakefs/pyfakefs-5.3.0.ebuild | 46 ----- dev-python/pyfakefs/pyfakefs-5.3.1.ebuild | 46 ----- dev-python/pyfakefs/pyfakefs-5.3.2.ebuild | 2 +- dev-python/pygal/pygal-3.0.4.ebuild | 2 +- dev-python/pygit2/Manifest | 1 - dev-python/pygit2/pygit2-1.13.2.ebuild | 45 ----- dev-python/pygit2/pygit2-1.13.3.ebuild | 2 +- dev-python/pygments/Manifest | 3 - dev-python/pygments/pygments-2.16.1.ebuild | 46 ----- dev-python/pygments/pygments-2.17.0.ebuild | 46 ----- dev-python/pygments/pygments-2.17.1.ebuild | 46 ----- dev-python/pygments/pygments-2.17.2.ebuild | 2 +- dev-python/pymongo/pymongo-4.6.0.ebuild | 2 +- dev-python/pytest-httpx/Manifest | 1 - dev-python/pytest-httpx/pytest-httpx-0.26.0.ebuild | 32 --- dev-python/pytest-httpx/pytest-httpx-0.27.0.ebuild | 2 +- dev-python/pytest-rerunfailures/Manifest | 1 - .../pytest-rerunfailures-12.0.ebuild | 32 --- .../pytest-rerunfailures-13.0.ebuild | 2 +- dev-python/pytest-testinfra/Manifest | 1 - .../pytest-testinfra-10.0.0.ebuild | 2 +- .../pytest-testinfra/pytest-testinfra-9.0.0.ebuild | 57 ------ dev-python/pytest-xdist/Manifest | 2 - .../pytest-xdist/pytest-xdist-3.3.1-r1.ebuild | 44 ---- dev-python/pytest-xdist/pytest-xdist-3.4.0.ebuild | 44 ---- dev-python/pytest-xdist/pytest-xdist-3.5.0.ebuild | 2 +- dev-python/python-ldap/Manifest | 1 - dev-python/python-ldap/python-ldap-3.4.3.ebuild | 80 -------- dev-python/python-ldap/python-ldap-3.4.4.ebuild | 2 +- dev-python/python-neutronclient/Manifest | 1 - .../python-neutronclient-11.0.0.ebuild | 79 -------- .../python-neutronclient-11.1.0.ebuild | 2 +- dev-python/python-socks/Manifest | 1 + dev-python/python-socks/python-socks-2.4.4.ebuild | 46 +++++ dev-python/pythran/pythran-0.13.1.ebuild | 2 +- dev-python/quantities/Manifest | 1 + dev-python/quantities/quantities-0.15.0.ebuild | 40 ++++ dev-python/requests-cache/Manifest | 1 - .../requests-cache/requests-cache-1.1.0.ebuild | 85 -------- .../requests-cache/requests-cache-1.1.1.ebuild | 2 +- dev-python/rich/Manifest | 3 - dev-python/rich/files/rich-13.7.0-nocolor.patch | 51 +++++ dev-python/rich/rich-13.5.2.ebuild | 65 ------ dev-python/rich/rich-13.5.3.ebuild | 74 ------- dev-python/rich/rich-13.6.0.ebuild | 55 ----- dev-python/rich/rich-13.7.0.ebuild | 7 +- dev-python/scipy/Manifest | 5 - dev-python/scipy/scipy-1.10.1.ebuild | 121 ----------- dev-python/scipy/scipy-1.11.0-r1.ebuild | 128 ------------ dev-python/scipy/scipy-1.11.1.ebuild | 130 ------------ dev-python/scipy/scipy-1.11.2.ebuild | 125 ------------ dev-python/scipy/scipy-1.11.3.ebuild | 129 ------------ dev-python/scipy/scipy-1.11.4.ebuild | 2 +- dev-python/sentry-sdk/Manifest | 2 - dev-python/sentry-sdk/sentry-sdk-1.35.0.ebuild | 128 ------------ dev-python/sentry-sdk/sentry-sdk-1.37.0.ebuild | 131 ------------ dev-python/sentry-sdk/sentry-sdk-1.37.1.ebuild | 2 +- dev-python/setuptools/Manifest | 3 - dev-python/setuptools/setuptools-68.2.2.ebuild | 125 ------------ dev-python/setuptools/setuptools-69.0.0.ebuild | 126 ------------ dev-python/setuptools/setuptools-69.0.1.ebuild | 126 ------------ dev-python/setuptools/setuptools-69.0.2-r1.ebuild | 2 +- dev-python/speg/speg-0.3_p20180819-r2.ebuild | 2 +- dev-python/sphinx-gallery/Manifest | 1 - .../sphinx-gallery/sphinx-gallery-0.14.0.ebuild | 51 ----- .../sphinx-gallery/sphinx-gallery-0.15.0.ebuild | 2 +- dev-python/sphinxcontrib-plantuml/Manifest | 2 - .../sphinxcontrib-plantuml-0.25.ebuild | 42 ---- .../sphinxcontrib-plantuml-0.26.ebuild | 45 ----- .../sphinxcontrib-plantuml-0.27.ebuild | 2 +- dev-python/statsmodels/Manifest | 1 - dev-python/statsmodels/statsmodels-0.13.2.ebuild | 85 -------- dev-python/statsmodels/statsmodels-0.13.5.ebuild | 2 +- dev-python/statsmodels/statsmodels-0.14.0.ebuild | 2 +- dev-python/stripe/Manifest | 4 +- dev-python/stripe/stripe-7.4.0.ebuild | 73 ------- dev-python/stripe/stripe-7.6.0.ebuild | 73 ------- dev-python/stripe/stripe-7.7.0.ebuild | 2 +- dev-python/stripe/stripe-7.8.0.ebuild | 73 ------- dev-python/stripe/stripe-7.8.1.ebuild | 73 +++++++ dev-python/subunit/subunit-1.4.4.ebuild | 2 +- dev-python/sybil/Manifest | 3 - dev-python/sybil/sybil-5.0.3.ebuild | 34 ---- dev-python/sybil/sybil-6.0.0.ebuild | 34 ---- dev-python/sybil/sybil-6.0.1.ebuild | 34 ---- dev-python/sybil/sybil-6.0.2.ebuild | 2 +- dev-python/tavern/Manifest | 1 - dev-python/tavern/tavern-2.5.0.ebuild | 54 ----- dev-python/tavern/tavern-2.6.0.ebuild | 2 +- dev-python/tblib/Manifest | 1 - dev-python/tblib/tblib-2.0.0.ebuild | 35 ---- dev-python/tblib/tblib-3.0.0.ebuild | 2 +- dev-python/trimesh/Manifest | 1 - dev-python/trimesh/trimesh-4.0.4.ebuild | 61 ------ dev-python/trimesh/trimesh-4.0.5.ebuild | 2 +- dev-python/trove-classifiers/Manifest | 2 - .../trove-classifiers-2023.11.14.ebuild | 31 --- .../trove-classifiers-2023.11.22.ebuild | 31 --- .../trove-classifiers-2023.11.29.ebuild | 2 +- dev-python/types-setuptools/Manifest | 2 - .../types-setuptools-68.2.0.1.ebuild | 17 -- .../types-setuptools-68.2.0.2.ebuild | 17 -- .../types-setuptools-69.0.0.0.ebuild | 2 +- dev-python/versioningit/Manifest | 1 - dev-python/versioningit/versioningit-2.2.1.ebuild | 48 ----- dev-python/versioningit/versioningit-2.3.0.ebuild | 2 +- dev-python/watchfiles/watchfiles-0.21.0-r1.ebuild | 6 + dev-python/xarray/Manifest | 2 +- dev-python/xarray/xarray-2023.10.1.ebuild | 62 ------ dev-python/xarray/xarray-2023.11.0.ebuild | 2 +- dev-python/xarray/xarray-2023.12.0.ebuild | 83 ++++++++ dev-python/xarray/xarray-2023.9.0.ebuild | 62 ------ dev-python/yarl/yarl-1.9.4.ebuild | 2 +- 234 files changed, 1436 insertions(+), 5529 deletions(-) delete mode 100644 dev-python/Frozen-Flask/Frozen-Flask-0.18-r1.ebuild delete mode 100644 dev-python/anyio/anyio-4.0.0.ebuild delete mode 100644 dev-python/aws-sam-translator/aws-sam-translator-1.80.0.ebuild create mode 100644 dev-python/bandit/bandit-1.7.6.ebuild create mode 100644 dev-python/boto3/boto3-1.33.11.ebuild create mode 100644 dev-python/botocore/botocore-1.33.11.ebuild delete mode 100644 dev-python/cattrs/cattrs-23.1.2.ebuild delete mode 100644 dev-python/cattrs/cattrs-23.2.1.ebuild delete mode 100644 dev-python/cattrs/cattrs-23.2.2.ebuild delete mode 100644 dev-python/cattrs/files/cattrs-23.1.2-32bit-time_t.patch delete mode 100644 dev-python/cleo/cleo-2.0.1-r1.ebuild create mode 100644 dev-python/django/django-4.1.12-r1.ebuild create mode 100644 dev-python/django/django-4.2.8-r1.ebuild delete mode 100644 dev-python/django/django-4.2.8.ebuild create mode 100644 dev-python/django/django-5.0-r1.ebuild delete mode 100644 dev-python/django/django-5.0.ebuild create mode 100644 dev-python/docker/docker-7.0.0.ebuild delete mode 100644 dev-python/dominate/dominate-2.8.0.ebuild delete mode 100644 dev-python/dominate/files/dominate-2.8.0-py312.patch create mode 100644 dev-python/elasticsearch/elasticsearch-8.11.1.ebuild delete mode 100644 dev-python/ensurepip-setuptools/ensurepip-setuptools-68.2.2.ebuild delete mode 100644 dev-python/ensurepip-setuptools/ensurepip-setuptools-69.0.0.ebuild delete mode 100644 dev-python/ensurepip-setuptools/ensurepip-setuptools-69.0.1.ebuild create mode 100644 dev-python/google-auth/google-auth-2.25.2.ebuild create mode 100644 dev-python/greenlet/greenlet-3.0.2.ebuild delete mode 100644 dev-python/httpx/httpx-0.25.1.ebuild delete mode 100644 dev-python/humanize/humanize-4.8.0.ebuild delete mode 100644 dev-python/identify/identify-2.5.31.ebuild delete mode 100644 dev-python/identify/identify-2.5.32.ebuild delete mode 100644 dev-python/idna/idna-3.4.ebuild delete mode 100644 dev-python/idna/idna-3.5.ebuild delete mode 100644 dev-python/ipykernel/ipykernel-6.26.0.ebuild delete mode 100644 dev-python/ipykernel/ipykernel-6.27.0.ebuild delete mode 100644 dev-python/jellyfish/jellyfish-1.0.1.ebuild delete mode 100644 dev-python/jupyterlab-pygments/jupyterlab-pygments-0.2.2.ebuild delete mode 100644 dev-python/jupyterlab-server/jupyterlab-server-2.25.1.ebuild delete mode 100644 dev-python/keystoneauth1/keystoneauth1-5.3.0.ebuild create mode 100644 dev-python/mkdocs-material/mkdocs-material-9.5.1.ebuild delete mode 100644 dev-python/mkdocs/mkdocs-1.5.3.ebuild delete mode 100644 dev-python/nbdime/nbdime-3.2.1.ebuild delete mode 100644 dev-python/nbxmpp/nbxmpp-4.5.2.ebuild delete mode 100644 dev-python/networkx/networkx-3.2.ebuild create mode 100644 dev-python/pandas/files/pandas-2.1.4-khash-dep.patch delete mode 100644 dev-python/pandas/pandas-2.1.1-r1.ebuild delete mode 100644 dev-python/pandas/pandas-2.1.2.ebuild create mode 100644 dev-python/pandas/pandas-2.1.4.ebuild delete mode 100644 dev-python/parse/parse-1.19.1.ebuild delete mode 100644 dev-python/pastedeploy/pastedeploy-3.0.1.ebuild delete mode 100644 dev-python/pebble/files/pebble-5.0.3-backport-pr112.patch delete mode 100644 dev-python/pebble/pebble-5.0.3.ebuild delete mode 100644 dev-python/pyasn1/pyasn1-0.5.0.ebuild delete mode 100644 dev-python/pyfakefs/pyfakefs-5.3.0.ebuild delete mode 100644 dev-python/pyfakefs/pyfakefs-5.3.1.ebuild delete mode 100644 dev-python/pygit2/pygit2-1.13.2.ebuild delete mode 100644 dev-python/pygments/pygments-2.16.1.ebuild delete mode 100644 dev-python/pygments/pygments-2.17.0.ebuild delete mode 100644 dev-python/pygments/pygments-2.17.1.ebuild delete mode 100644 dev-python/pytest-httpx/pytest-httpx-0.26.0.ebuild delete mode 100644 dev-python/pytest-rerunfailures/pytest-rerunfailures-12.0.ebuild delete mode 100644 dev-python/pytest-testinfra/pytest-testinfra-9.0.0.ebuild delete mode 100644 dev-python/pytest-xdist/pytest-xdist-3.3.1-r1.ebuild delete mode 100644 dev-python/pytest-xdist/pytest-xdist-3.4.0.ebuild delete mode 100644 dev-python/python-ldap/python-ldap-3.4.3.ebuild delete mode 100644 dev-python/python-neutronclient/python-neutronclient-11.0.0.ebuild create mode 100644 dev-python/python-socks/python-socks-2.4.4.ebuild create mode 100644 dev-python/quantities/quantities-0.15.0.ebuild delete mode 100644 dev-python/requests-cache/requests-cache-1.1.0.ebuild create mode 100644 dev-python/rich/files/rich-13.7.0-nocolor.patch delete mode 100644 dev-python/rich/rich-13.5.2.ebuild delete mode 100644 dev-python/rich/rich-13.5.3.ebuild delete mode 100644 dev-python/rich/rich-13.6.0.ebuild delete mode 100644 dev-python/scipy/scipy-1.10.1.ebuild delete mode 100644 dev-python/scipy/scipy-1.11.0-r1.ebuild delete mode 100644 dev-python/scipy/scipy-1.11.1.ebuild delete mode 100644 dev-python/scipy/scipy-1.11.2.ebuild delete mode 100644 dev-python/scipy/scipy-1.11.3.ebuild delete mode 100644 dev-python/sentry-sdk/sentry-sdk-1.35.0.ebuild delete mode 100644 dev-python/sentry-sdk/sentry-sdk-1.37.0.ebuild delete mode 100644 dev-python/setuptools/setuptools-68.2.2.ebuild delete mode 100644 dev-python/setuptools/setuptools-69.0.0.ebuild delete mode 100644 dev-python/setuptools/setuptools-69.0.1.ebuild delete mode 100644 dev-python/sphinx-gallery/sphinx-gallery-0.14.0.ebuild delete mode 100644 dev-python/sphinxcontrib-plantuml/sphinxcontrib-plantuml-0.25.ebuild delete mode 100644 dev-python/sphinxcontrib-plantuml/sphinxcontrib-plantuml-0.26.ebuild delete mode 100644 dev-python/statsmodels/statsmodels-0.13.2.ebuild delete mode 100644 dev-python/stripe/stripe-7.4.0.ebuild delete mode 100644 dev-python/stripe/stripe-7.6.0.ebuild delete mode 100644 dev-python/stripe/stripe-7.8.0.ebuild create mode 100644 dev-python/stripe/stripe-7.8.1.ebuild delete mode 100644 dev-python/sybil/sybil-5.0.3.ebuild delete mode 100644 dev-python/sybil/sybil-6.0.0.ebuild delete mode 100644 dev-python/sybil/sybil-6.0.1.ebuild delete mode 100644 dev-python/tavern/tavern-2.5.0.ebuild delete mode 100644 dev-python/tblib/tblib-2.0.0.ebuild delete mode 100644 dev-python/trimesh/trimesh-4.0.4.ebuild delete mode 100644 dev-python/trove-classifiers/trove-classifiers-2023.11.14.ebuild delete mode 100644 dev-python/trove-classifiers/trove-classifiers-2023.11.22.ebuild delete mode 100644 dev-python/types-setuptools/types-setuptools-68.2.0.1.ebuild delete mode 100644 dev-python/types-setuptools/types-setuptools-68.2.0.2.ebuild delete mode 100644 dev-python/versioningit/versioningit-2.2.1.ebuild delete mode 100644 dev-python/xarray/xarray-2023.10.1.ebuild create mode 100644 dev-python/xarray/xarray-2023.12.0.ebuild delete mode 100644 dev-python/xarray/xarray-2023.9.0.ebuild (limited to 'dev-python') diff --git a/dev-python/Frozen-Flask/Frozen-Flask-0.18-r1.ebuild b/dev-python/Frozen-Flask/Frozen-Flask-0.18-r1.ebuild deleted file mode 100644 index 2108c5a0c32a..000000000000 --- a/dev-python/Frozen-Flask/Frozen-Flask-0.18-r1.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Freezes a Flask application into a set of static files" -HOMEPAGE=" - https://github.com/Frozen-Flask/Frozen-Flask/ - https://pypi.org/project/Frozen-Flask/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 x86" - -RDEPEND=" - dev-python/flask[${PYTHON_USEDEP}] -" - -distutils_enable_sphinx docs \ - dev-python/flask-sphinx-themes -distutils_enable_tests unittest diff --git a/dev-python/Frozen-Flask/Frozen-Flask-1.0.1.ebuild b/dev-python/Frozen-Flask/Frozen-Flask-1.0.1.ebuild index ec4cf38d5f08..7fa9b6e7dfd4 100644 --- a/dev-python/Frozen-Flask/Frozen-Flask-1.0.1.ebuild +++ b/dev-python/Frozen-Flask/Frozen-Flask-1.0.1.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 arm64 x86" RDEPEND=" >=dev-python/flask-2.0.0[${PYTHON_USEDEP}] diff --git a/dev-python/Frozen-Flask/Manifest b/dev-python/Frozen-Flask/Manifest index 0986a0ffc549..c81a251577e1 100644 --- a/dev-python/Frozen-Flask/Manifest +++ b/dev-python/Frozen-Flask/Manifest @@ -1,2 +1 @@ -DIST Frozen-Flask-0.18.tar.gz 179245 BLAKE2B a82695892aef9b6b4e3aeb91f12f78d7d661f2f2b0efc57c11f64524ed467b85d8d9e0e7b147cb78c3d0a641dfef0f683e0f77cfda560aada79e1b435424c0ce SHA512 6c2e4d900547cc5c0de4af23b96c5b9e1925101fb40f710bedc67ac52c303282aa223f6972f5b9cc813878bb15eb90cb0a007619dd5a9db2dec762f04dcc7ba0 DIST frozen_flask-1.0.1.tar.gz 101449 BLAKE2B 5127e7d6485b5a23025dd31ccad6346c77bcbdb0c537806f014bf9b499c0aaf13e56a406594d86f457b290fad25e938beb4db473ba7c8f1afefd6d2471a8b03c SHA512 b4e1cfebbb374fa8e863436e0ed637e1a57432fb2a2e719536161fea359320384b51238dae1cf3fca0e10d41c9bc7cd84fba4c6978de45c5cfcdba1a494aaea2 diff --git a/dev-python/aiohttp/aiohttp-3.9.1.ebuild b/dev-python/aiohttp/aiohttp-3.9.1.ebuild index 7da95098a16a..584cf6c8cd4d 100644 --- a/dev-python/aiohttp/aiohttp-3.9.1.ebuild +++ b/dev-python/aiohttp/aiohttp-3.9.1.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" IUSE="test-rust" RDEPEND=" diff --git a/dev-python/anyio/Manifest b/dev-python/anyio/Manifest index 2d9b32ed64b9..573d793b88db 100644 --- a/dev-python/anyio/Manifest +++ b/dev-python/anyio/Manifest @@ -1,3 +1,2 @@ DIST anyio-3.7.1.tar.gz 142927 BLAKE2B 80a093943fbd23069e9511a83b3eb1e27f2863b11e184709f92cab2dfebc05ea3c291d22be4b1e79d00ae52e10009d5fb2c664730009b40e2b666587538d0ca5 SHA512 067bbffa9e0d6ce339a4999a677c857e839aa3bf5a056d841fec8cbd3be17023c9158df907ff66b9a5437a78158bc9bbb3b9ebe30c57ef98660642bc057d7d10 -DIST anyio-4.0.0.tar.gz 153297 BLAKE2B 680c3472525a777dc2af63241ef1b6f90bcc2224d944fc04aef519d0d97bb5845c7b3faddb116b20cfb1a61303bcf91290b1f2544a3cfcb08f3488a70b275c8a SHA512 b0ec5aa912c973206d8677a6aba25957cd669dfe890ee7d39af064f1620f9a5103a39bd6d35f4ea680b86d13964daf1e982ac6873bf5903eeaaa6e74ea974948 DIST anyio-4.1.0.tar.gz 155773 BLAKE2B 39dae924a28dbe14552259f240d6b63d5d2cccfbbb8efefb4100956764ab0144863d6f71a82c02cf245e12430a7c76f187163d9c4aa1b3af291e932efac0e23d SHA512 073b2c2cf92b3c1d3d5588a2ea966d82c793559702b64ab60ace539cfa2c33cf24c48ed06f0297ec3e0cca9b1ead59a995f7f59d2b3f2d75e43bdb16f927bea7 diff --git a/dev-python/anyio/anyio-4.0.0.ebuild b/dev-python/anyio/anyio-4.0.0.ebuild deleted file mode 100644 index de9d80ad2403..000000000000 --- a/dev-python/anyio/anyio-4.0.0.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Compatibility layer for multiple asynchronous event loop implementations" -HOMEPAGE=" - https://github.com/agronholm/anyio/ - https://pypi.org/project/anyio/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - $(python_gen_cond_dep ' - >=dev-python/exceptiongroup-1.0.2[${PYTHON_USEDEP}] - ' 3.10) - >=dev-python/idna-2.8[${PYTHON_USEDEP}] - >=dev-python/sniffio-1.1[${PYTHON_USEDEP}] -" -# On amd64, let's get more test coverage by dragging in uvloop, but let's -# not bother on other arches where uvloop may not be supported. -BDEPEND=" - >=dev-python/setuptools-scm-6.4[${PYTHON_USEDEP}] - test? ( - >=dev-python/hypothesis-4.0[${PYTHON_USEDEP}] - >=dev-python/psutil-5.9[${PYTHON_USEDEP}] - >=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}] - >=dev-python/trio-0.22[${PYTHON_USEDEP}] - dev-python/trustme[${PYTHON_USEDEP}] - amd64? ( - $(python_gen_cond_dep ' - >=dev-python/uvloop-0.17[${PYTHON_USEDEP}] - ' python3_{10..12}) - ) - ) -" - -distutils_enable_tests pytest -distutils_enable_sphinx docs \ - '>=dev-python/sphinx-rtd-theme-1.2.2' \ - dev-python/sphinxcontrib-jquery \ - dev-python/sphinx-autodoc-typehints - -python_test() { - local EPYTEST_DESELECT=( - # requires link-local IPv6 interface - tests/test_sockets.py::TestTCPListener::test_bind_link_local - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -m 'not network' -} diff --git a/dev-python/anyio/anyio-4.1.0.ebuild b/dev-python/anyio/anyio-4.1.0.ebuild index 76d13d8c3e6a..74115757be21 100644 --- a/dev-python/anyio/anyio-4.1.0.ebuild +++ b/dev-python/anyio/anyio-4.1.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" >=dev-python/exceptiongroup-1.2.0[${PYTHON_USEDEP}] diff --git a/dev-python/aws-sam-translator/Manifest b/dev-python/aws-sam-translator/Manifest index 72a9c57acbc6..89c3d338201b 100644 --- a/dev-python/aws-sam-translator/Manifest +++ b/dev-python/aws-sam-translator/Manifest @@ -1,3 +1,2 @@ -DIST serverless-application-model-1.80.0.gh.tar.gz 5120643 BLAKE2B de9868384b73faa5be3950db9e54308d1411f0f49ca0b758bbcbbebe4a83df5489968de394ba74b8ad065489d6a40e53ef2b317258510ffd8d1cc07bc4acc9e6 SHA512 0a82d8569c98ca85e528eff23fbe00121ea244ddb395bd6f8a3ddc1de5f09bf6d24c8ead9392cd0f880f8e075cce9cc6685c1d38bc291ad835709dc00c674a05 DIST serverless-application-model-1.81.0.gh.tar.gz 5135291 BLAKE2B a55cf5600184e49f3168f4fef201167b91469c9968cff6350c0138fb013c23140b94144564d0ca764d91dc7e683e8f8e2e15ed57277b6e6f71cdef419f93b822 SHA512 939d882c4c64396855f0ff6ae168554dd25dc73fe77e0c34c195be408850b8b9109b9e5b7dc7375a1fa9f53462c573a12683e36fd1d3cf0e9014b754a014f1b9 DIST serverless-application-model-1.82.0.gh.tar.gz 5135310 BLAKE2B f49bdbbc009f5d41d03c0a1b82ca5a6b1ed03e14989c364eb0047cc7e90ba948a52f41237b06a35d3a48bcf2f4eac0570903e6a3a95801ffad8b9756a1f62f0e SHA512 cd757b1b99a515bed5f1cb521a23e70bc7b2e05c5566eb86198fcc77e6dfbbf74237ed7ef05e20f1a9021d57b097bf21bed1219f54a0696f6a081bc5c2321826 diff --git a/dev-python/aws-sam-translator/aws-sam-translator-1.80.0.ebuild b/dev-python/aws-sam-translator/aws-sam-translator-1.80.0.ebuild deleted file mode 100644 index 00d6fe2fd41b..000000000000 --- a/dev-python/aws-sam-translator/aws-sam-translator-1.80.0.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -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/aws-sam-translator/aws-sam-translator-1.81.0.ebuild b/dev-python/aws-sam-translator/aws-sam-translator-1.81.0.ebuild index ec337b277ed2..00d6fe2fd41b 100644 --- a/dev-python/aws-sam-translator/aws-sam-translator-1.81.0.ebuild +++ b/dev-python/aws-sam-translator/aws-sam-translator-1.81.0.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P} LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv 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 EPYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +} diff --git a/dev-python/cattrs/Manifest b/dev-python/cattrs/Manifest index 45dd14664739..9ea98d964c55 100644 --- a/dev-python/cattrs/Manifest +++ b/dev-python/cattrs/Manifest @@ -1,4 +1 @@ -DIST cattrs-23.1.2.gh.tar.gz 602336 BLAKE2B f39ff3c1525ea14789edd137d82343a9447de0a41f65a71ee85754a15f8fdc929137125043b23c6cd088c8b2d2e9da18577c3b6dbbb6e9a33bdf6789f117bc46 SHA512 d05c8a5d4c5dc0b69ccdf33164d44c35a37a871199a35d1c2c25f9fbd8ee53d48da8e9d9bec49cde2baf901b524d5e8ff1ade175928908ea81f94e8398224488 -DIST cattrs-23.2.1.gh.tar.gz 611553 BLAKE2B f0d1c34838c5b869242411d393f2e395b45a84afb302d2df87ab0a51c537fc0057ee9def2b47313e8134635ffb616045f606070a0260ea4814a2cf227539132d SHA512 2b733dc6123cb26ab6d33b1d445ecbddea98a1a76a02acb15231deee2273933bc726da387419fd6143b44e97729d4fd1746eebadd2309e2440bfc5c153f7079b -DIST cattrs-23.2.2.gh.tar.gz 611668 BLAKE2B b7abcffa8c6f62deed70b3fc3850913054a54382c07384d5635984eb1ceaf456c7d8aa45a6baaf3189ca57477eeea9990a60381045b3e1711969dff7f56d0be4 SHA512 d969f3d4b9e9d25a940ab1a48f1a8b2de306cc9180f88f403537d78757f50486d522f40e97f1bccbb60839f3d503dfdbd6ad3379e99bd5c5d66306fe36447341 DIST cattrs-23.2.3.gh.tar.gz 612120 BLAKE2B a227cc50cb23a76931562f17444fcfb4a5532cac74f80b478a8abb6d113cbb0a06c471c3ca7ee256f74640486464762f4a13387ccfc1cd144cfd1a9bfecddd8e SHA512 76a75ea0893bb1549dd5178436c4823ae5b918c16f0d8195203c48e894438ec792cee77698d783f7e43c07445c46a6041a309c3d3bbcadcff95d9c4079e3d622 diff --git a/dev-python/cattrs/cattrs-23.1.2.ebuild b/dev-python/cattrs/cattrs-23.1.2.ebuild deleted file mode 100644 index 210cc6151f76..000000000000 --- a/dev-python/cattrs/cattrs-23.1.2.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 multiprocessing - -DESCRIPTION="Composable complex class support for attrs and dataclasses" -HOMEPAGE=" - https://pypi.org/project/cattrs/ - https://github.com/python-attrs/cattrs/ -" -SRC_URI=" - https://github.com/python-attrs/cattrs/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ~loong ~ppc ppc64 ~riscv ~s390 ~sparc x86" -IUSE="test-rust" - -RDEPEND=" - >=dev-python/attrs-20.1.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/exceptiongroup[${PYTHON_USEDEP}] - >=dev-python/typing-extensions-4.1.0[${PYTHON_USEDEP}] - ' 3.{9..10}) -" -BDEPEND=" - test? ( - >=dev-python/cbor2-5.4.6[${PYTHON_USEDEP}] - >=dev-python/hypothesis-6.54.5[${PYTHON_USEDEP}] - >=dev-python/immutables-0.18[${PYTHON_USEDEP}] - >=dev-python/msgpack-1.0.2[${PYTHON_USEDEP}] - >=dev-python/pymongo-4.2.0[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - >=dev-python/pyyaml-6.0[${PYTHON_USEDEP}] - >=dev-python/tomlkit-0.11.4[${PYTHON_USEDEP}] - >=dev-python/ujson-5.4.0[${PYTHON_USEDEP}] - test-rust? ( - >=dev-python/orjson-3.5.2[${PYTHON_USEDEP}] - ) - ) -" - -distutils_enable_tests pytest - -src_prepare() { - local PATCHES=( - # https://github.com/python-attrs/cattrs/pull/415 - "${FILESDIR}/${P}-32bit-time_t.patch" - ) - - sed -e 's:--benchmark.*::' \ - -e '/addopts/d' \ - -i pyproject.toml || die - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=() - if ! has_version "dev-python/orjson[${PYTHON_USEDEP}]"; then - EPYTEST_DESELECT+=( - tests/test_preconf.py::test_orjson - tests/test_preconf.py::test_orjson_converter - tests/test_preconf.py::test_orjson_converter_unstruct_collection_overrides - ) - fi - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p xdist -n "$(makeopts_jobs)" tests -} diff --git a/dev-python/cattrs/cattrs-23.2.1.ebuild b/dev-python/cattrs/cattrs-23.2.1.ebuild deleted file mode 100644 index e2be26b5db3e..000000000000 --- a/dev-python/cattrs/cattrs-23.2.1.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Composable complex class support for attrs and dataclasses" -HOMEPAGE=" - https://pypi.org/project/cattrs/ - https://github.com/python-attrs/cattrs/ -" -SRC_URI=" - https://github.com/python-attrs/cattrs/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="test-rust" - -RDEPEND=" - >=dev-python/attrs-20.1.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/exceptiongroup[${PYTHON_USEDEP}] - >=dev-python/typing-extensions-4.1.0[${PYTHON_USEDEP}] - ' 3.10) -" -BDEPEND=" - dev-python/hatch-vcs[${PYTHON_USEDEP}] - test? ( - >=dev-python/cbor2-5.4.6[${PYTHON_USEDEP}] - >=dev-python/hypothesis-6.54.5[${PYTHON_USEDEP}] - >=dev-python/immutables-0.18[${PYTHON_USEDEP}] - >=dev-python/msgpack-1.0.2[${PYTHON_USEDEP}] - >=dev-python/pymongo-4.2.0[${PYTHON_USEDEP}] - >=dev-python/pyyaml-6.0[${PYTHON_USEDEP}] - >=dev-python/tomlkit-0.11.4[${PYTHON_USEDEP}] - >=dev-python/ujson-5.4.0[${PYTHON_USEDEP}] - test-rust? ( - $(python_gen_cond_dep ' - >=dev-python/orjson-3.5.2[${PYTHON_USEDEP}] - ' 'python*') - ) - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} - -python_test() { - local EPYTEST_DESELECT=() - if ! has_version "dev-python/orjson[${PYTHON_USEDEP}]"; then - EPYTEST_DESELECT+=( - tests/test_preconf.py::test_orjson - tests/test_preconf.py::test_orjson_converter - tests/test_preconf.py::test_orjson_converter_unstruct_collection_overrides - ) - fi - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -o addopts= tests -} diff --git a/dev-python/cattrs/cattrs-23.2.2.ebuild b/dev-python/cattrs/cattrs-23.2.2.ebuild deleted file mode 100644 index d5f8a2c0587c..000000000000 --- a/dev-python/cattrs/cattrs-23.2.2.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Composable complex class support for attrs and dataclasses" -HOMEPAGE=" - https://pypi.org/project/cattrs/ - https://github.com/python-attrs/cattrs/ -" -SRC_URI=" - https://github.com/python-attrs/cattrs/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="test-rust" - -RDEPEND=" - >=dev-python/attrs-20.1.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/exceptiongroup[${PYTHON_USEDEP}] - >=dev-python/typing-extensions-4.1.0[${PYTHON_USEDEP}] - ' 3.10) -" -BDEPEND=" - dev-python/hatch-vcs[${PYTHON_USEDEP}] - test? ( - >=dev-python/cbor2-5.4.6[${PYTHON_USEDEP}] - >=dev-python/hypothesis-6.54.5[${PYTHON_USEDEP}] - >=dev-python/immutables-0.18[${PYTHON_USEDEP}] - >=dev-python/msgpack-1.0.2[${PYTHON_USEDEP}] - >=dev-python/pymongo-4.2.0[${PYTHON_USEDEP}] - >=dev-python/pyyaml-6.0[${PYTHON_USEDEP}] - >=dev-python/tomlkit-0.11.4[${PYTHON_USEDEP}] - >=dev-python/ujson-5.4.0[${PYTHON_USEDEP}] - test-rust? ( - $(python_gen_cond_dep ' - >=dev-python/orjson-3.5.2[${PYTHON_USEDEP}] - ' 'python*') - ) - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} - -python_test() { - local EPYTEST_DESELECT=() - if ! has_version "dev-python/orjson[${PYTHON_USEDEP}]"; then - EPYTEST_DESELECT+=( - tests/test_preconf.py::test_orjson - tests/test_preconf.py::test_orjson_converter - tests/test_preconf.py::test_orjson_converter_unstruct_collection_overrides - ) - fi - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -o addopts= tests -} diff --git a/dev-python/cattrs/cattrs-23.2.3.ebuild b/dev-python/cattrs/cattrs-23.2.3.ebuild index d5f8a2c0587c..33c646157379 100644 --- a/dev-python/cattrs/cattrs-23.2.3.ebuild +++ b/dev-python/cattrs/cattrs-23.2.3.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~s390 ~sparc x86" IUSE="test-rust" RDEPEND=" diff --git a/dev-python/cattrs/files/cattrs-23.1.2-32bit-time_t.patch b/dev-python/cattrs/files/cattrs-23.1.2-32bit-time_t.patch deleted file mode 100644 index 68d1606c7b31..000000000000 --- a/dev-python/cattrs/files/cattrs-23.1.2-32bit-time_t.patch +++ /dev/null @@ -1,38 +0,0 @@ -From 1b001c30090876dd9cefa3aefac8218ad78222c0 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= -Date: Sat, 12 Aug 2023 18:04:07 +0200 -Subject: [PATCH] Fix typeddict tests on systems with 32-bit time_t - -Reduce the range of generated `datetime` instances to values valid -for 32-bit `time_t` range, as otherwise multiple tests fail with errors -such as: - - FAILED tests/test_typeddicts.py::test_simple_roundtrip - OverflowError: timestamp out of range for platform time_t - -This is based on an earlier fix for `test_preconf.py`, -see a0e56f43f061c43814d6f938833d1c325ed61525 -and c58028789454fc7a9b459b94c214cab2ab1acb81. - -Originally reported as https://bugs.gentoo.org/912187. ---- - tests/typeddicts.py | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/tests/typeddicts.py b/tests/typeddicts.py -index d7f8141..4f7804d 100644 ---- a/tests/typeddicts.py -+++ b/tests/typeddicts.py -@@ -59,7 +59,9 @@ def int_attributes( - def datetime_attributes( - draw: DrawFn, total: bool = True, not_required: bool = False - ) -> Tuple[datetime, SearchStrategy, SearchStrategy]: -- success_strat = datetimes().map(lambda dt: dt.replace(microsecond=0)) -+ success_strat = datetimes( -+ min_value=datetime(1970, 1, 1), max_value=datetime(2038, 1, 1) -+ ).map(lambda dt: dt.replace(microsecond=0)) - type = datetime - strat = success_strat if total else success_strat | just(NOTHING) - if not_required and draw(booleans()): --- -2.41.0 - diff --git a/dev-python/cleo/Manifest b/dev-python/cleo/Manifest index 977fafdac4b3..96e21f71bf3f 100644 --- a/dev-python/cleo/Manifest +++ b/dev-python/cleo/Manifest @@ -1,2 +1 @@ -DIST cleo-2.0.1.gh.tar.gz 154222 BLAKE2B dcaeff38c2dcb13b3c11200aa97cb2a1c16004558aabf9b44f1ba7ddd5d9c8c7784ea0ba1c50c19b015a6ff0659cb116b8ee926670091e39fd2b1cfd426cb72a SHA512 57a8e9cfc5486f73ade424199aaeb3def787a958031691aba2c6a230323d1c816316e3639dee7a07111aa0fc852d7088756f515cb24fdc84a40056ce969e5884 DIST cleo-2.1.0.gh.tar.gz 165795 BLAKE2B 7c9d0cc869d1e185c2c5a092a8aa1d1b3cce5fc25246939c0ff94920ac7070000b110be9f6cd9d1f827ed951ff22b9ad62e3c17a941022967b7599e456cda837 SHA512 e73a4c02470052f0f602fae8b5bf7073f3342d0816074398b19f0fb25caddda51b6d2fcb9ef57026638d0dc8861a2b5142d87551b105cefa5e54426e4aa1225c diff --git a/dev-python/cleo/cleo-2.0.1-r1.ebuild b/dev-python/cleo/cleo-2.0.1-r1.ebuild deleted file mode 100644 index fe8b739a7015..000000000000 --- a/dev-python/cleo/cleo-2.0.1-r1.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 - -DESCRIPTION="Python tool for building testable command-line interfaces" -HOMEPAGE=" - https://github.com/python-poetry/cleo/ - https://pypi.org/project/cleo/ -" -SRC_URI=" - https://github.com/python-poetry/cleo/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ~loong ~ppc ppc64 ~riscv ~s390 ~sparc x86" - -RDEPEND=" - dev-python/crashtest[${PYTHON_USEDEP}] - dev-python/rapidfuzz[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/pytest-mock[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - # unpin rapidfuzz - sed -i -e '/rapidfuzz/s:\^:>=:' pyproject.toml || die - distutils-r1_src_prepare -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=pytest_mock - epytest -} diff --git a/dev-python/cleo/cleo-2.1.0.ebuild b/dev-python/cleo/cleo-2.1.0.ebuild index 6e28a837f14f..e7f927ef72df 100644 --- a/dev-python/cleo/cleo-2.1.0.ebuild +++ b/dev-python/cleo/cleo-2.1.0.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~s390 ~sparc x86" RDEPEND=" dev-python/crashtest[${PYTHON_USEDEP}] diff --git a/dev-python/django/Manifest b/dev-python/django/Manifest index 2ad1582bb268..61c2b9832f5b 100644 --- a/dev-python/django/Manifest +++ b/dev-python/django/Manifest @@ -8,3 +8,5 @@ DIST Django-4.2.8.checksum.txt 2553 BLAKE2B 552fd9dc6740baabc434a4d069c0a22c49e3 DIST Django-4.2.8.tar.gz 10425581 BLAKE2B e3592dadb54a616cea6129ba45f27e1c93dda2fcffec8c827e2f74a46c6c953a6c2893f236eff64dc77106ee60246eb843e028d44ebf27b8e30da1a6f766315f SHA512 9a60d2202886656a239e764c79b3638d4bc9e549bba8a822b36c745ab32468e3ddd813e7cda4a9e69c867ede0fca02da63391a2efe1462798e5c2e4f35625b63 DIST Django-5.0.checksum.txt 2553 BLAKE2B 93202aa273f62a828b05ae9b34e7e96dd74ef5b852a94953fbd24e9a609609bf23fa73eaa005d4c9da48dba508bf2efe6a21e91096fee90b1f6811c0af6d4843 SHA512 eb44a3a4128188fd4dd90c6e7b0202652c64db8572daa72e617cf0464b2278cc7839562b880158264bbebc24efe871c3b376c3c134a5c7033292f2b765d6f3b0 DIST Django-5.0.tar.gz 10585390 BLAKE2B 50cc715e21b046292dd86c08801b6f182c8e71a36c73de657ca631b611738e196ab6d4fa035589c26fff952170fb92e0a752a8af15771c33107e343b01d7b4d7 SHA512 d0591eb109cecffd330138ef63c7f768a77b6763ce73a5bc656d892181613981094221e2f77d5888ba4679b581df21ec8e6ac5faa67d31d00d289f4d892caf2f +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-4.1.12-r1.ebuild b/dev-python/django/django-4.1.12-r1.ebuild new file mode 100644 index 000000000000..7bce20e11732 --- /dev/null +++ b/dev-python/django/django-4.1.12-r1.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} 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 + https://dev.gentoo.org/~mgorny/dist/python/django-4.2.8-pypy3.patch.xz + 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="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" +IUSE="doc sqlite test" +RESTRICT="!test? ( test )" + +RDEPEND=" + =dev-python/asgiref-3.5.2[${PYTHON_USEDEP}] + >=dev-python/sqlparse-0.2.2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + $(python_gen_impl_dep sqlite) + ${RDEPEND} + dev-python/docutils[${PYTHON_USEDEP}] + dev-python/jinja[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pillow[webp,${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/selenium[${PYTHON_USEDEP}] + dev-python/tblib[${PYTHON_USEDEP}] + sys-devel/gettext + ) + verify-sig? ( >=sec-keys/openpgp-keys-django-20201201 ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-4.0-bashcomp.patch + "${WORKDIR}"/django-4.2.8-pypy3.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:2 + 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/django/django-4.2.8-r1.ebuild b/dev-python/django/django-4.2.8-r1.ebuild new file mode 100644 index 000000000000..bba121e3458d --- /dev/null +++ b/dev-python/django/django-4.2.8-r1.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} 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 + https://dev.gentoo.org/~mgorny/dist/python/django-4.2.8-pypy3.patch.xz + 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="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" +IUSE="doc sqlite test" +RESTRICT="!test? ( test )" + +RDEPEND=" + =dev-python/asgiref-3.6.0[${PYTHON_USEDEP}] + >=dev-python/sqlparse-0.3.1[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + $(python_gen_impl_dep sqlite) + ${RDEPEND} + dev-python/docutils[${PYTHON_USEDEP}] + dev-python/jinja[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pillow[webp,${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/selenium[${PYTHON_USEDEP}] + dev-python/tblib[${PYTHON_USEDEP}] + sys-devel/gettext + ) + verify-sig? ( >=sec-keys/openpgp-keys-django-20230606 ) +" + +PATCHES=( + "${FILESDIR}"/django-4.0-bashcomp.patch + "${WORKDIR}"/django-4.2.8-pypy3.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:2 + 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/django/django-4.2.8.ebuild b/dev-python/django/django-4.2.8.ebuild deleted file mode 100644 index b1b90e2406c8..000000000000 --- a/dev-python/django/django-4.2.8.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) -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="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" -IUSE="doc sqlite test" -RESTRICT="!test? ( test )" - -RDEPEND=" - =dev-python/asgiref-3.6.0[${PYTHON_USEDEP}] - >=dev-python/sqlparse-0.3.1[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - $(python_gen_impl_dep sqlite) - ${RDEPEND} - dev-python/docutils[${PYTHON_USEDEP}] - dev-python/jinja[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pillow[webp,${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - dev-python/selenium[${PYTHON_USEDEP}] - dev-python/tblib[${PYTHON_USEDEP}] - sys-devel/gettext - ) - verify-sig? ( >=sec-keys/openpgp-keys-django-20230606 ) -" - -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:2 - 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/django/django-5.0-r1.ebuild b/dev-python/django/django-5.0-r1.ebuild new file mode 100644 index 000000000000..33c7355cfe69 --- /dev/null +++ b/dev-python/django/django-5.0-r1.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} 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 + https://dev.gentoo.org/~mgorny/dist/python/django-5.0-pypy3.patch.xz + 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="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" +IUSE="doc sqlite test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/asgiref-3.7.0[${PYTHON_USEDEP}] + >=dev-python/sqlparse-0.3.1[${PYTHON_USEDEP}] +" +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-20230606 ) +" + +PATCHES=( + "${FILESDIR}"/django-4.0-bashcomp.patch + "${WORKDIR}"/django-5.0-pypy3.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:2 + 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/django/django-5.0.ebuild b/dev-python/django/django-5.0.ebuild deleted file mode 100644 index a3c7cb409bd8..000000000000 --- a/dev-python/django/django-5.0.ebuild +++ /dev/null @@ -1,97 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) -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="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" -IUSE="doc sqlite test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/asgiref-3.7.0[${PYTHON_USEDEP}] - >=dev-python/sqlparse-0.3.1[${PYTHON_USEDEP}] -" -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-20230606 ) -" - -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:2 - 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/docker/Manifest b/dev-python/docker/Manifest index 84c5fd710377..0a0aefbfab77 100644 --- a/dev-python/docker/Manifest +++ b/dev-python/docker/Manifest @@ -1 +1,2 @@ DIST docker-py-6.1.3.gh.tar.gz 253192 BLAKE2B b5a54d2bcbb4a89e4861bbf59a9b4565886f5541a518f66691ae205b7581f73af9fe6d491af299b0295f39b4a6e6248871b16e25ea5650fabbeafb7ced6cdaf7 SHA512 ba6ade2487afb8f68606b7d78c0f0dc83ffde622444a9598a5c647d0176695171040c5d1115fb8db6d97cb062a24d552d043274a56923b0eae0f64d98cb92c30 +DIST docker-py-7.0.0.gh.tar.gz 252188 BLAKE2B 64df988c8ece4fc0199731206b7f85554841e4c60ea10f1044c1d5f0dc52286e9da36280bfc468933bbae1f8efaa0fd44afaedf732001cd3d7a2c05879d6a467 SHA512 1ddfdc6d533d9e623baf8bbf1243272d6e511c2bb356c82d9401e566733794d38aa34df151788f1ad807fe7ba0144cc428e0b7f74acd888a58afc61c09c6d09c diff --git a/dev-python/docker/docker-7.0.0.ebuild b/dev-python/docker/docker-7.0.0.ebuild new file mode 100644 index 000000000000..29efb132461b --- /dev/null +++ b/dev-python/docker/docker-7.0.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 + +MY_P=docker-py-${PV} +DESCRIPTION="Python client for Docker" +HOMEPAGE=" + https://github.com/docker/docker-py/ + https://pypi.org/project/docker/ +" +SRC_URI=" + https://github.com/docker/docker-py/archive/${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" + +RDEPEND=" + >=dev-python/packaging-14.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.26.0[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.26.0[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + >=dev-python/paramiko-2.4.3[${PYTHON_USEDEP}] + >=dev-python/websocket-client-0.32.0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs \ + 'dev-python/myst-parser' +distutils_enable_tests pytest + +src_prepare() { + # localhost has a better chance of being in /etc/hosts + sed -e 's:socket[.]gethostname():"localhost":' \ + -i tests/unit/api_test.py || die + + distutils-r1_src_prepare + + export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} +} + +python_test() { + epytest tests/unit +} diff --git a/dev-python/dominate/Manifest b/dev-python/dominate/Manifest index cc3dbea7d591..3d39b3036aa3 100644 --- a/dev-python/dominate/Manifest +++ b/dev-python/dominate/Manifest @@ -1,2 +1 @@ -DIST dominate-2.8.0.tar.gz 37089 BLAKE2B 651ff9ee21c4f5331ef990acfead146f816fc45309740220f68714c3accf7b98661a31400fe050c6b2119525749e9a132f8764d60b72661f7abf5246ebdb5835 SHA512 91b392af8e081dcf0df9f09aabe2cb4d8147bb07a398c5f9f06443fc2664d881afa372c8d4d0583b21e9f9bf687d1d14601e96a33a8ae6e099e1e039821f97df DIST dominate-2.9.0.tar.gz 36289 BLAKE2B 8cc2ee67b027d4f1466ace7d39b47a330c87f5f0396b3bfe6a4b7ec3baff8e4e89d3f2cb7c6aa036aacd67743966508e50cdc289412781830f27878a614914ba SHA512 aec4f67bdc1ee0df9f0ed3fec5e41fca044d930d69bd7c508420d8b06d4f21f5d5fc9ec867cea68bd82723cac7b4df645748592dc4ded9213ec60f5bb6a6f421 diff --git a/dev-python/dominate/dominate-2.8.0.ebuild b/dev-python/dominate/dominate-2.8.0.ebuild deleted file mode 100644 index de4b4eca5392..000000000000 --- a/dev-python/dominate/dominate-2.8.0.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Library for creating and manipulating HTML documents using an elegant DOM API" -HOMEPAGE=" - https://github.com/Knio/dominate/ - https://pypi.org/project/dominate/ -" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="amd64 x86" - -distutils_enable_tests pytest - -PATCHES=( - # quick hack, already fixed in git - "${FILESDIR}/${P}-py312.patch" -) diff --git a/dev-python/dominate/dominate-2.9.0.ebuild b/dev-python/dominate/dominate-2.9.0.ebuild index d259810725f6..e8ddf7f997be 100644 --- a/dev-python/dominate/dominate-2.9.0.ebuild +++ b/dev-python/dominate/dominate-2.9.0.ebuild @@ -16,6 +16,6 @@ HOMEPAGE=" LICENSE="GPL-3+" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 arm64 x86" distutils_enable_tests pytest diff --git a/dev-python/dominate/files/dominate-2.8.0-py312.patch b/dev-python/dominate/files/dominate-2.8.0-py312.patch deleted file mode 100644 index ffd010caf735..000000000000 --- a/dev-python/dominate/files/dominate-2.8.0-py312.patch +++ /dev/null @@ -1,20 +0,0 @@ -diff --git a/setup.py b/setup.py -index f83890f..5454cc3 100644 ---- a/setup.py -+++ b/setup.py -@@ -19,14 +19,11 @@ Public License along with dominate. If not, see - - from setuptools import setup - --import imp --_version = imp.load_source("dominate._version", "dominate/_version.py") -- - long_description = open('README.md').read() - - setup( - name = 'dominate', -- version = _version.__version__, -+ version = '2.8.0', - author = 'Tom Flanagan and Jake Wharton', - author_email = 'tom@zkpq.ca', - license = 'LGPLv3', diff --git a/dev-python/elasticsearch/Manifest b/dev-python/elasticsearch/Manifest index eb1059cd1f9b..337a6652e4c6 100644 --- a/dev-python/elasticsearch/Manifest +++ b/dev-python/elasticsearch/Manifest @@ -1 +1,2 @@ DIST elasticsearch-py-8.11.0.gh.tar.gz 897889 BLAKE2B de1821f17c16198c8b85b863e06468715fb080b4e9354499bd4fc5c485dc81bb3747ee73bd5e26edcab71922d67699cbaba79b35a900b80020532bac805e5727 SHA512 914e909f5f2d6ee980d3cff981d1d605d9380211014381e9e998af46d52e0fc0568524c7c9e8d8fed710b855acdb15b1eeb0bcdb59607b67f2f8f99546a1bda8 +DIST elasticsearch-py-8.11.1.gh.tar.gz 902628 BLAKE2B 7a1d780ff9f326567b4023f4a87b2a3be430428c00c528d255502d36623b7d1d6e0811f50a03471254eb79fb1e4146ad24402f202c862cafb44ec16fbcdb454f SHA512 e2efbd3e0658180768a35b601e7bef2748390ce12419f82cdfb1656968666fcc6ae71411d4e88eb155b315d8d8197f65c3e25e6f1e18f04e6459662cf80ab12a diff --git a/dev-python/elasticsearch/elasticsearch-8.11.1.ebuild b/dev-python/elasticsearch/elasticsearch-8.11.1.ebuild new file mode 100644 index 000000000000..51db75a5648c --- /dev/null +++ b/dev-python/elasticsearch/elasticsearch-8.11.1.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 + +MY_P="elasticsearch-py-${PV}" +DESCRIPTION="Official Elasticsearch client library for Python" +HOMEPAGE=" + https://ela.st/es-python + https://github.com/elastic/elasticsearch-py/ + https://pypi.org/project/elasticsearch/ +" +SRC_URI=" + https://github.com/elastic/elasticsearch-py/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0/$(ver_cut 1)" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + =dev-python/aiohttp-3[${PYTHON_USEDEP}] + =dev-python/elastic-transport-8[${PYTHON_USEDEP}] + =dev-python/requests-2.4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + ${RDEPEND} + dev-python/mapbox-vector-tile[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/pyyaml-5.4[${PYTHON_USEDEP}] + dev-python/unasync[${PYTHON_USEDEP}] + ) +" + +EPYTEST_IGNORE=( + # REST api tests are a black hole for effort. It downloads the tests + # so its an ever moving target. It also requires effort to blacklist + # tests for apis which are license restricted. + "test_elasticsearch/test_server/test_rest_api_spec.py" + # Counting deprecation warnings from python is bound to fail even + # if all are fixed in this package. Not worth it. + "test_elasticsearch/test_client/test_deprecated_options.py" + # Running daemon for tests is finicky and upstream CI fails at it + # as well. + "test_elasticsearch/test_server/" + "test_elasticsearch/test_async/test_server/" +) + +distutils_enable_sphinx docs/sphinx \ + dev-python/sphinx-autodoc-typehints \ + dev-python/sphinx-rtd-theme +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -o addopts= -p asyncio +} diff --git a/dev-python/ensurepip-setuptools/Manifest b/dev-python/ensurepip-setuptools/Manifest index c47707e93289..45828940e5fe 100644 --- a/dev-python/ensurepip-setuptools/Manifest +++ b/dev-python/ensurepip-setuptools/Manifest @@ -1,4 +1 @@ -DIST setuptools-68.2.2-py3-none-any.whl 807864 BLAKE2B 1ae4dab8a589c95281cac145c3e06b4027b585065a5191a9d6dd9c77730a096b592154863c555d8098c10425dfef315de3b79c6b631e8f6aacc0f234795f95fc SHA512 6e0d854040baff861e1647d2bece7d090bc793b2bd9819c56105b94090df54881a6a9b43ebd82578cd7c76d47181571b671e60672afd9def389d03c9dae84fcf -DIST setuptools-69.0.0-py3-none-any.whl 819391 BLAKE2B 69b296d3f91a9aa35b9f01a3a9a49625677a9fc292163fbeac7e97b9ac7b2ac1a592feaf5c638705a8a586498f32adef187f24ed8f122014431a3c96f5d1c3bb SHA512 e52aeabb115aa65340b94ac4cede3c21b6a07f770fc2f17a59cc876557ee29f82d9149055b9c729b328271983bf0089f1b8392b4a77c9452bec2a0ff13cf353f -DIST setuptools-69.0.1-py3-none-any.whl 819395 BLAKE2B bc209ba01605de0075771f62dfd3b103cb11e937aa38cca35af8fd1e77aa87f488d3c5b2ec3800616db1997b731d617e376e7ec2967191d349816d26d37bc565 SHA512 d19c7cec1e8d18c6e151f7d67b7b26abf26ce9f5f4a2ebc82ab983ba3b5efae4a657020fff279f7cca56c1f8a3b4564f86eb161b68069994e8543568793776f5 DIST setuptools-69.0.2-py3-none-any.whl 819519 BLAKE2B 0145a60d8b2e2a2733a8c9281caf633241cadd6a84a1974cfbab4938ec310b3e2c7bbe0bf252a4dafee9b354c3b1822573b8abc6841df237ac54131a10e19571 SHA512 9c602118b656590dd02684f07ed4951198fa1929df5e3da3dd9624c83bcde481e2b01141963909b2c18c8a54c7e468050de0245adfe1a6f5bca6afc0c06513f5 diff --git a/dev-python/ensurepip-setuptools/ensurepip-setuptools-68.2.2.ebuild b/dev-python/ensurepip-setuptools/ensurepip-setuptools-68.2.2.ebuild deleted file mode 100644 index 3e2f8423f849..000000000000 --- a/dev-python/ensurepip-setuptools/ensurepip-setuptools-68.2.2.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit pypi - -DESCRIPTION="Shared setuptools wheel for ensurepip Python module" -HOMEPAGE="https://pypi.org/project/setuptools/" -SRC_URI="$(pypi_wheel_url "${PN#ensurepip-}")" -S=${DISTDIR} - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" - -RDEPEND=" - ! gentoo_version.py || die + distutils-r1_src_prepare +} diff --git a/dev-python/mkdocs/mkdocs-1.5.3-r1.ebuild b/dev-python/mkdocs/mkdocs-1.5.3-r1.ebuild index 4bb651082974..c3015aa050d2 100644 --- a/dev-python/mkdocs/mkdocs-1.5.3-r1.ebuild +++ b/dev-python/mkdocs/mkdocs-1.5.3-r1.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~riscv x86" # https://bugs.gentoo.org/873349 # Building documentation requires packaging: callouts and mkdocs-autorefs diff --git a/dev-python/mkdocs/mkdocs-1.5.3.ebuild b/dev-python/mkdocs/mkdocs-1.5.3.ebuild deleted file mode 100644 index 684f6e521e3f..000000000000 --- a/dev-python/mkdocs/mkdocs-1.5.3.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 - -DESCRIPTION="Project documentation with Markdown" -HOMEPAGE=" - https://www.mkdocs.org/ - https://github.com/mkdocs/mkdocs/ - https://pypi.org/project/mkdocs/ -" -SRC_URI=" - https://github.com/mkdocs/mkdocs/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~riscv x86" - -# https://bugs.gentoo.org/873349 -# Building documentation requires packaging: callouts and mkdocs-autorefs -# -# IUSE="doc" -# -# BDEPEND=" -# doc? ( -# $(python_gen_any_dep ' -# dev-python/mdx-gh-links[${PYTHON_USEDEP}] -# dev-python/mkdocs-redirects[${PYTHON_USEDEP}] -# ') -# ) -# " -RDEPEND=" - >=dev-python/Babel-2.9.0[${PYTHON_USEDEP}] - >=dev-python/click-7.0[${PYTHON_USEDEP}] - >=dev-python/jinja-2.11.1[${PYTHON_USEDEP}] - >=dev-python/markdown-3.3.3[${PYTHON_USEDEP}] - >=dev-python/markupsafe-2.0.1[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] - >=dev-python/watchdog-2.0[${PYTHON_USEDEP}] - >=dev-python/ghp-import-1.0[${PYTHON_USEDEP}] - >=dev-python/pathspec-0.11.1[${PYTHON_USEDEP}] - >=dev-python/platformdirs-2.2.0[${PYTHON_USEDEP}] - >=dev-python/pyyaml_env_tag-0.1[${PYTHON_USEDEP}] - >=dev-python/importlib-metadata-4.3[${PYTHON_USEDEP}] - >=dev-python/packaging-20.5[${PYTHON_USEDEP}] - >=dev-python/mergedeep-1.3.4[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # Tests fails if additional themes are installed - mkdocs/tests/utils/utils_tests.py::UtilsTests::test_get_themes - mkdocs/tests/utils/utils_tests.py::UtilsTests::test_get_themes_error - mkdocs/tests/utils/utils_tests.py::UtilsTests::test_get_themes_warning - - # Does not work in emerge env - mkdocs/tests/config/config_options_tests.py::ListOfPathsTest::test_paths_localized_to_config - - # TODO - mkdocs/tests/build_tests.py::testing_server - mkdocs/tests/livereload_tests.py::testing_server -) - -python_compile_all() { - default -# if use doc; then -# # cannot just do mkdocs build, because that fails if -# # the package isn't already installed -# python -m mkdocs build || die "Failed to make docs" -# # Colliding files found by ecompress: -# rm site/sitemap.xml.gz || die -# HTML_DOCS=( "site/." ) -# fi -} - -python_test() { - epytest '-opython_files=*tests.py' mkdocs/tests -} diff --git a/dev-python/mypy/mypy-1.7.1.ebuild b/dev-python/mypy/mypy-1.7.1.ebuild index 74a1e22780bb..12111f84fe9e 100644 --- a/dev-python/mypy/mypy-1.7.1.ebuild +++ b/dev-python/mypy/mypy-1.7.1.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 sparc ~x86" IUSE="+native-extensions" # stubgen collides with this package: https://bugs.gentoo.org/585594 diff --git a/dev-python/nbdime/Manifest b/dev-python/nbdime/Manifest index f08ddbc2ab60..c47739c63c17 100644 --- a/dev-python/nbdime/Manifest +++ b/dev-python/nbdime/Manifest @@ -1,2 +1 @@ -DIST nbdime-3.2.1.tar.gz 7642926 BLAKE2B 245a2b0ca112574a9622855acc8db43595cd7f29f6fe2c1a1f70254984edb395817f65246613b5f41f513464fd37264f2c520237bf44570814bfa6131fdf22a8 SHA512 6ead97a88d587dab00df22d59adb2b80b7f81f47929a6be94b5e848a5c72f7420fac49e1a6a3b87138db75e6c1f46eef67a57a58d6e9d568b69f4e555bb7ed60 DIST nbdime-4.0.1.tar.gz 9414125 BLAKE2B bf2581cec0f71ef8949c9cf19e21aa47302b6c71bbb9861e8c6f3a4b1921e9f73460ee5059e5bc92c7789d8f0695329125725c10e10763dd6e4d388bfaee53d1 SHA512 df14dfe9df296d71eb4a98140fe15703ca277063a153c3159cc883c99ce98b76f5f4dae24d32b048a18d2530e52535e3d89523d7a1c54a8654d2d54c8812ded3 diff --git a/dev-python/nbdime/nbdime-3.2.1.ebuild b/dev-python/nbdime/nbdime-3.2.1.ebuild deleted file mode 100644 index ba89b9d35c8e..000000000000 --- a/dev-python/nbdime/nbdime-3.2.1.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Diff and merge of Jupyter Notebooks" -HOMEPAGE=" - https://jupyter.org/ - https://github.com/jupyter/nbdime/ - https://pypi.org/project/nbdime/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86" - -RDEPEND=" - dev-python/colorama[${PYTHON_USEDEP}] - dev-python/GitPython[${PYTHON_USEDEP}] - dev-python/jinja[${PYTHON_USEDEP}] - dev-python/jupyter-server[${PYTHON_USEDEP}] - dev-python/jupyter-server-mathjax[${PYTHON_USEDEP}] - dev-python/nbformat[${PYTHON_USEDEP}] - dev-python/pygments[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/tornado[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/jsonschema[${PYTHON_USEDEP}] - dev-python/notebook[${PYTHON_USEDEP}] - dev-python/pytest-timeout[${PYTHON_USEDEP}] - dev-python/tabulate[${PYTHON_USEDEP}] - ) -" - -distutils_enable_sphinx docs/source \ - dev-python/recommonmark \ - dev-python/sphinx-rtd-theme -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - nbdime/tests/test_decision_tools.py::test_build_diffs_unsorted - nbdime/tests/test_diff_json_conversion.py::test_diff_to_json_patch - nbdime/tests/test_merge_notebooks.py::test_merge_conflicts_get_diff_indices_shifted - nbdime/tests/test_merge_notebooks.py::test_merge_inserts_within_deleted_range - nbdime/tests/test_merge_notebooks.py::test_merge_interleave_cell_add_remove - nbdime/tests/test_merge_notebooks.py::test_merge_multiline_cell_source_conflict - nbdime/tests/test_merge.py::test_deep_merge_lists_delete_no_conflict__currently_expected_failures - nbdime/tests/test_server_extension.py::test_diff_api_checkpoint - nbdime/tests/test_web.py::test_api_diff - nbdime/tests/test_web.py::test_api_merge - nbdime/tests/test_web.py::test_fetch_diff - nbdime/tests/test_web.py::test_fetch_merge - nbdime/tests/test_web.py::test_offline_mathjax -) - -python_configure_all() { - DISTUTILS_ARGS=( --skip-npm ) -} - -src_test() { - # user.email and user.name are not configured in the sandbox - git config --global user.email "larry@gentoo.org" || die - git config --global user.name "Larry the Cow" || die - - distutils-r1_src_test -} - -src_install() { - distutils-r1_src_install - mv "${ED}"{/usr,}/etc || die -} diff --git a/dev-python/nbdime/nbdime-4.0.1.ebuild b/dev-python/nbdime/nbdime-4.0.1.ebuild index 70dd17594af4..4b5f0b3764c6 100644 --- a/dev-python/nbdime/nbdime-4.0.1.ebuild +++ b/dev-python/nbdime/nbdime-4.0.1.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86" RDEPEND=" dev-python/colorama[${PYTHON_USEDEP}] diff --git a/dev-python/nbxmpp/Manifest b/dev-python/nbxmpp/Manifest index 019514a05fe8..ccfe1e19c59e 100644 --- a/dev-python/nbxmpp/Manifest +++ b/dev-python/nbxmpp/Manifest @@ -1,2 +1 @@ -DIST python-nbxmpp-4.5.2.tar.bz2 138088 BLAKE2B fb0a13f564a0dbff0fa52a2093e0d5da1461fe8bcf810b34e92b2d18d29be4de678fe2f51c55774330c2785be0caab73930cefc1288292c2d9a5064ccf15e224 SHA512 ad7bd3d3673b6f2e718263505e88a4ade502a79cc70d290d6ded5ace96e582945b7ddbf954f5a0419c2b9062e39211f62ba121ed46364314e8afa5e74aad6fc7 DIST python-nbxmpp-4.5.3.tar.bz2 138080 BLAKE2B cb3051acc13f13d519ce4427121810cd17df7783a3c76c2abbab458be827b46be45a7710b0045e2b2a5619ffc327bd98c0a0db00f482e12223322811ca26d0c9 SHA512 d6dec900b56fb2638976206497e966ad27f566f4d829cc4d19e7f004ec39f2d2bd8f62c3322101df3a26004d7fc5be5a9691ce575234d801f3934b6a41ba5a0d diff --git a/dev-python/nbxmpp/nbxmpp-4.5.2.ebuild b/dev-python/nbxmpp/nbxmpp-4.5.2.ebuild deleted file mode 100644 index 099be4835c58..000000000000 --- a/dev-python/nbxmpp/nbxmpp-4.5.2.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 - -MY_P=python-nbxmpp-${PV} -DESCRIPTION="Python library to use Jabber/XMPP networks in a non-blocking way" -HOMEPAGE=" - https://dev.gajim.org/gajim/python-nbxmpp/ - https://pypi.org/project/nbxmpp/ -" -SRC_URI=" - https://dev.gajim.org/gajim/python-nbxmpp/-/archive/${PV}/${MY_P}.tar.bz2 -" -S=${WORKDIR}/${MY_P} - -SLOT="0" -LICENSE="GPL-3" -KEYWORDS="amd64 arm64 ~loong ~riscv x86" - -RDEPEND=" - dev-libs/gobject-introspection - net-libs/libsoup:3.0[introspection] - dev-python/idna[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - >=dev-python/precis-i18n-1.0.0[${PYTHON_USEDEP}] - >=dev-python/pygobject-3.42[${PYTHON_USEDEP}] -" - -distutils_enable_tests unittest diff --git a/dev-python/nbxmpp/nbxmpp-4.5.3.ebuild b/dev-python/nbxmpp/nbxmpp-4.5.3.ebuild index f9b45ad3e450..099be4835c58 100644 --- a/dev-python/nbxmpp/nbxmpp-4.5.3.ebuild +++ b/dev-python/nbxmpp/nbxmpp-4.5.3.ebuild @@ -21,7 +21,7 @@ S=${WORKDIR}/${MY_P} SLOT="0" LICENSE="GPL-3" -KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86" +KEYWORDS="amd64 arm64 ~loong ~riscv x86" RDEPEND=" dev-libs/gobject-introspection diff --git a/dev-python/networkx/Manifest b/dev-python/networkx/Manifest index 09ab56864248..88a8e35b90da 100644 --- a/dev-python/networkx/Manifest +++ b/dev-python/networkx/Manifest @@ -1,3 +1,2 @@ DIST networkx-3.1.tar.gz 2021691 BLAKE2B 002bb00034e06a45298716c86fec4462efe8db8d206e8263d2e4ce0becc9c073aa2856e0c2df2e74d53237be0b02752204c7e387651aa45387781c383dd1f190 SHA512 9d75ecd25020f83c650824e9449e1c53004c13089dccf7424b65787144dfe3d2f638fd5aca1c4a792b165598b44644fda45bf54c49b3af278ddec5e1f669c38e DIST networkx-3.2.1.tar.gz 2073928 BLAKE2B fc4a4c0357f25cb3e4bfdfb38ffa528eddba22abc852bc80e0a70047aea2e401b0003c01108435ced1eacdba33d181395e73fcfa20773faa566c8b5cb45f6cdb SHA512 579c54a4a016617f5260df01b821c3906c4f289e80ae7bd618c0ebb9e05ebe806e71f1f660e3012531d04572ac4e6670aa73117ed26da8248fbb8ef7228b5803 -DIST networkx-3.2.tar.gz 2072917 BLAKE2B a611973897deb77f39ffca3c5e144abb1016be32f2623939150d0ea7bf2aee04e40430a00fb2ece8d8d16e8360d1da44adb14aa68798fddd1d4d3b5377360ff1 SHA512 f9fdfbe0c716c5cc6cf3f47b44e02bbd8a166724c2ef7044497b01baf468f354123aeac3c032e31293c7eedd762a29f89628cbe2ecfea280cf6012d7b0d9bdfe diff --git a/dev-python/networkx/networkx-3.1.ebuild b/dev-python/networkx/networkx-3.1.ebuild index d3f639521c4e..b046b76b7db8 100644 --- a/dev-python/networkx/networkx-3.1.ebuild +++ b/dev-python/networkx/networkx-3.1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_FULLY_TESTED=( python3_{9..11} ) +PYTHON_FULLY_TESTED=( python3_{10..11} ) PYTHON_COMPAT=( "${PYTHON_FULLY_TESTED[@]}" ) inherit distutils-r1 multiprocessing optfeature pypi virtualx @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 arm arm64 ~ia64 ~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/networkx/networkx-3.2.ebuild b/dev-python/networkx/networkx-3.2.ebuild deleted file mode 100644 index 04100f44cf2c..000000000000 --- a/dev-python/networkx/networkx-3.2.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_FULLY_TESTED=( python3_{10..11} ) -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 ~ia64 ~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.5[${PYTHON_USEDEP}] - >=dev-python/numpy-1.22[${PYTHON_USEDEP}] - >=dev-python/pandas-1.4[${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() { - 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/pandas/Manifest b/dev-python/pandas/Manifest index 408349fbf7e5..aae8f69bf1e0 100644 --- a/dev-python/pandas/Manifest +++ b/dev-python/pandas/Manifest @@ -1,4 +1,4 @@ DIST pandas-1.5.3.tar.gz 5203060 BLAKE2B 846a6caa8ead6a2556303494f92e2091582d8fcde2aee424fa172c4e29c189a7305261f6a931a20249e969668646ff4a3d605ee1b57785fa3677dfbd137b3602 SHA512 3c725c33dcaf78b952d2eb966ced73ff0073162a01d3cbcb722d58d8f12a82163e6e684c27284c735bdfb32dea263b960f70f6a80ff93e6b316316d40835ae35 DIST pandas-2.1.1.tar.gz 4266250 BLAKE2B 9d8256300db65b606e34b16d7f3884b602794fe3c14d66115056db4a4658603fbe7a7a3082dfc781760517d643d6e21a6d4d43441131ec6aed5965b6fa8a0e9c SHA512 346e13e06805948c569712028c9b8d756c67ca2fab040999a51a4e759206d50d8ee25be38ac3c7cb3d2e692a02d85c1ec198841311fe43cb04b64f2741627a4e -DIST pandas-2.1.2.tar.gz 4271419 BLAKE2B 2f22035c9b7d6a0403b28ebe506550328e096f0ed87984dba28d2f49950393ed8a5a3c0c71c5391385d9f5361319431d5de3736f7381eb7670045415b05137a7 SHA512 dad04f1fcc5a59485c34ebfed0698fd47ad9eeffafaddf91642c084f4ffde8a55ce543f9dadb6e7a5066b1809489961d34fe3fe8860f64f9bd2d90b445d92063 DIST pandas-2.1.3.tar.gz 4272855 BLAKE2B 73717926bb0af44acb9a2d12964df7bf70affd61ca19468b3af4376f9c8084d3612895a9ac5117be97658fd5b7ff0275cd7b2c6f1b9b0e00afb951fd50a1f103 SHA512 71012b47b76444e19507e444c8ef88497e3b286856690216886cbb67ad70786c2f5014a7cf6c89f8378769560109fb5593a8c82c21a034a1059769e15c843b92 +DIST pandas-2.1.4.tar.gz 4274800 BLAKE2B 71cd374964d5e751a9ea0b29cb341d7de521de8de3bbe0963fc821eb6fa2babf2a5cb87c0f49fab88fd451bd331d83fd216f199c75876d7c1ea367ba53c20178 SHA512 de02944829ea4df6a3913788c2ae30683504d70a1cef5789c927245dab8700981edd50de18af3619d30ac97f4658fce67f6c7637acf496bd464ad3a4109bfd1c diff --git a/dev-python/pandas/files/pandas-2.1.4-khash-dep.patch b/dev-python/pandas/files/pandas-2.1.4-khash-dep.patch new file mode 100644 index 000000000000..f8bbff5fed37 --- /dev/null +++ b/dev-python/pandas/files/pandas-2.1.4-khash-dep.patch @@ -0,0 +1,45 @@ +From e31a6865958442435ae9b31f312129c44f66eb5e Mon Sep 17 00:00:00 2001 +From: Ville Aikas <11279988+vaikas@users.noreply.github.com> +Date: Mon, 6 Nov 2023 09:24:40 -0800 +Subject: [PATCH] Add missing dependencies for: _khash_primitive_helper + (#55795) + +* Add missing dependencies for: _khash_primitive_helper + +Signed-off-by: Ville Aikas + +* source->dep change. + +Signed-off-by: Ville Aikas + +* Remove dep from arrays. + +Signed-off-by: Ville Aikas + +--------- + +Signed-off-by: Ville Aikas +--- + pandas/_libs/meson.build | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/pandas/_libs/meson.build b/pandas/_libs/meson.build +index b4662d6bf8dd2..c27386743c6e9 100644 +--- a/pandas/_libs/meson.build ++++ b/pandas/_libs/meson.build +@@ -61,12 +61,12 @@ subdir('tslibs') + libs_sources = { + # Dict of extension name -> dict of {sources, include_dirs, and deps} + # numpy include dir is implicitly included +- 'algos': {'sources': ['algos.pyx', _algos_common_helper, _algos_take_helper, _khash_primitive_helper]}, ++ 'algos': {'sources': ['algos.pyx', _algos_common_helper, _algos_take_helper], 'deps': _khash_primitive_helper_dep}, + 'arrays': {'sources': ['arrays.pyx']}, + 'groupby': {'sources': ['groupby.pyx']}, + 'hashing': {'sources': ['hashing.pyx']}, +- 'hashtable': {'sources': ['hashtable.pyx', _khash_primitive_helper, _hashtable_class_helper, _hashtable_func_helper]}, +- 'index': {'sources': ['index.pyx', _index_class_helper]}, ++ 'hashtable': {'sources': ['hashtable.pyx', _hashtable_class_helper, _hashtable_func_helper], 'deps': _khash_primitive_helper_dep}, ++ 'index': {'sources': ['index.pyx', _index_class_helper], 'deps': _khash_primitive_helper_dep}, + 'indexing': {'sources': ['indexing.pyx']}, + 'internals': {'sources': ['internals.pyx']}, + 'interval': {'sources': ['interval.pyx', _intervaltree_helper], diff --git a/dev-python/pandas/pandas-1.5.3.ebuild b/dev-python/pandas/pandas-1.5.3.ebuild index 75d91a4706eb..703a12fc8def 100644 --- a/dev-python/pandas/pandas-1.5.3.ebuild +++ b/dev-python/pandas/pandas-1.5.3.ebuild @@ -24,7 +24,7 @@ S=${WORKDIR}/${P/_/} SLOT="0" LICENSE="BSD" -KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="amd64 arm arm64 ~hppa ~ppc ppc64 ~riscv ~s390 ~sparc x86" IUSE="doc full-support minimal test X" RESTRICT="!test? ( test )" diff --git a/dev-python/pandas/pandas-2.1.1-r1.ebuild b/dev-python/pandas/pandas-2.1.1-r1.ebuild deleted file mode 100644 index 1ace277b852a..000000000000 --- a/dev-python/pandas/pandas-2.1.1-r1.ebuild +++ /dev/null @@ -1,217 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=meson-python -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) -PYTHON_REQ_USE="threads(+)" - -VIRTUALX_REQUIRED="manual" - -inherit distutils-r1 multiprocessing optfeature pypi virtualx - -DESCRIPTION="Powerful data structures for data analysis and statistics" -HOMEPAGE=" - https://pandas.pydata.org/ - https://github.com/pandas-dev/pandas/ - https://pypi.org/project/pandas/ -" - -SLOT="0" -LICENSE="BSD" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" -IUSE="full-support minimal test X" -RESTRICT="!test? ( test )" - -RECOMMENDED_DEPEND=" - >=dev-python/bottleneck-1.3.4[${PYTHON_USEDEP}] - >=dev-python/numexpr-2.8.0[${PYTHON_USEDEP}] -" - -# TODO: add pandas-gbq to the tree -# TODO: Re-add dev-python/statsmodel[python3_11] dep once it supports python3_11 -# https://github.com/statsmodels/statsmodels/issues/8287 -OPTIONAL_DEPEND=" - >=dev-python/beautifulsoup4-4.11.1[${PYTHON_USEDEP}] - dev-python/blosc[${PYTHON_USEDEP}] - >=dev-python/html5lib-1.1[${PYTHON_USEDEP}] - >=dev-python/jinja-3.1.2[${PYTHON_USEDEP}] - >=dev-python/lxml-4.8.0[${PYTHON_USEDEP}] - >=dev-python/matplotlib-3.6.1[${PYTHON_USEDEP}] - >=dev-python/openpyxl-3.0.7[${PYTHON_USEDEP}] - >=dev-python/sqlalchemy-1.4.36[${PYTHON_USEDEP}] - >=dev-python/tables-3.7.0[${PYTHON_USEDEP}] - >=dev-python/tabulate-0.8.10[${PYTHON_USEDEP}] - >=dev-python/xarray-2022.3.0[${PYTHON_USEDEP}] - >=dev-python/xlrd-2.0.1[${PYTHON_USEDEP}] - >=dev-python/xlsxwriter-3.0.3[${PYTHON_USEDEP}] - >=dev-python/xlwt-1.3.0[${PYTHON_USEDEP}] - !hppa? ( - $(python_gen_cond_dep ' - dev-python/statsmodels[${PYTHON_USEDEP}] - ' python3_{8..10} ) - >=dev-python/scipy-1.8.1[${PYTHON_USEDEP}] - ) - X? ( - || ( - >=dev-python/PyQt5-5.15.6[${PYTHON_USEDEP}] - >=dev-python/QtPy-2.2.0[${PYTHON_USEDEP}] - x11-misc/xclip - x11-misc/xsel - ) - ) -" -DEPEND=" - >=dev-python/numpy-1.23.2[${PYTHON_USEDEP}] -" -COMMON_DEPEND=" - ${DEPEND} - >=dev-python/python-dateutil-2.8.2[${PYTHON_USEDEP}] - >=dev-python/pytz-2020.1[${PYTHON_USEDEP}] -" -BDEPEND=" - ${COMMON_DEPEND} - >=dev-util/meson-1.2.1 - >=dev-python/cython-0.29.33[${PYTHON_USEDEP}] - >=dev-python/versioneer-0.28[${PYTHON_USEDEP}] - test? ( - ${VIRTUALX_DEPEND} - ${RECOMMENDED_DEPEND} - ${OPTIONAL_DEPEND} - >=dev-python/beautifulsoup4-4.11.1[${PYTHON_USEDEP}] - >=dev-python/hypothesis-6.46.1[${PYTHON_USEDEP}] - >=dev-python/openpyxl-3.0.10[${PYTHON_USEDEP}] - >=dev-python/pymysql-1.0.2[${PYTHON_USEDEP}] - >=dev-python/pytest-7.3.2[${PYTHON_USEDEP}] - >=dev-python/pytest-asyncio-0.17.0[${PYTHON_USEDEP}] - >=dev-python/pytest-xdist-2.2.0[${PYTHON_USEDEP}] - >=dev-python/psycopg-2.9.3:2[${PYTHON_USEDEP}] - >=dev-python/xlsxwriter-3.0.3[${PYTHON_USEDEP}] - x11-misc/xclip - x11-misc/xsel - ) -" -RDEPEND=" - ${COMMON_DEPEND} - dev-python/tzdata[${PYTHON_USEDEP}] - !minimal? ( ${RECOMMENDED_DEPEND} ) - full-support? ( ${OPTIONAL_DEPEND} ) -" - -PATCHES=( - # a quick hack, it's already fixed in main - "${FILESDIR}/pandas-2.1.1-which.patch" -) - -src_test() { - virtx distutils-r1_src_test -} - -python_test() { - local EPYTEST_DESELECT=( - # test for rounding errors, fails if we have better precision - # e.g. on amd64 with FMA or on arm64 - # https://github.com/pandas-dev/pandas/issues/38921 - tests/window/test_rolling.py::test_rolling_var_numerical_issues - - # TODO; unhappy about DISPLAY? - tests/test_downstream.py::test_seaborn - - # OOMs - tests/io/parser/test_c_parser_only.py::test_bytes_exceed_2gb - - # TODO: numexpr says "forbidden control characters" - tests/computation/test_eval.py::TestOperations::test_multi_line_expression_local_variable - 'tests/computation/test_eval.py::test_query_token[numexpr-Temp(\xb0C)]' - tests/frame/test_query_eval.py::TestDataFrameQueryBacktickQuoting::test_lots_of_operators_string - tests/frame/test_query_eval.py::TestDataFrameQueryBacktickQuoting::test_multiple_spaces - tests/frame/test_query_eval.py::TestDataFrameQueryBacktickQuoting::test_parenthesis - tests/frame/test_query_eval.py::TestDataFrameQueryBacktickQuoting::test_start_with_spaces - tests/frame/test_query_eval.py::TestDataFrameQueryNumExprPandas::test_local_syntax - tests/frame/test_query_eval.py::TestDataFrameQueryNumExprPandas::test_local_variable_with_in - tests/frame/test_query_eval.py::TestDataFrameQueryNumExprPandas::test_nested_scope - tests/frame/test_query_eval.py::TestDataFrameQueryNumExprPandas::test_query_scope - - # TODO: missing data not covered by --no-strict-data-files? - tests/io/xml/test_xml.py::test_empty_stylesheet - tests/io/xml/test_xml.py::test_wrong_file_path - - # TODO - tests/frame/test_arithmetic.py::TestFrameFlexArithmetic::test_floordiv_axis0_numexpr_path - - # deprecation warning - tests/io/pytables/test_retain_attributes.py::test_retain_index_attributes2 - - # Needs 64-bit time_t (TODO: split into 32-bit arch only section) - tests/tseries/offsets/test_year.py::test_add_out_of_pydatetime_range - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BusinessDay]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BusinessHour]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BusinessMonthEnd]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BusinessMonthBegin]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BQuarterEnd]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BQuarterBegin]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-CustomBusinessDay]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-CustomBusinessHour]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-CustomBusinessMonthEnd]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-CustomBusinessMonthBegin]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-MonthEnd]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-MonthBegin]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-SemiMonthBegin]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-SemiMonthEnd]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-QuarterEnd]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-LastWeekOfMonth]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-WeekOfMonth]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-Week]' - - # hdf / pytables have alignment problems: bug #911660 - # https://github.com/pandas-dev/pandas/issues/54396 - tests/io/pytables/test_append.py::test_append_frame_column_oriented - tests/io/pytables/test_store.py::test_select_filter_corner - - # blosc2 version - tests/io/pytables/test_file_handling.py::test_complibs\[blosc2-{1..9}\] - ) - - case ${EPYTHON} in - python3.12) - EPYTEST_DESELECT+=( - tests/io/pytables/test_select.py::test_select_dtypes - tests/io/pytables/test_select.py::test_frame_select - # deprecation warnings - tests/io/excel/test_writers.py::TestRoundTrip::test_read_excel_parse_dates - ) - ;; - esac - - local -x LC_ALL=C.UTF-8 - cd "${BUILD_DIR}/install$(python_get_sitedir)" || die - "${EPYTHON}" -c "import pandas; pandas.show_versions()" || die - # --no-strict-data-files is necessary since upstream prevents data - # files from even being included in GitHub archives, sigh - # https://github.com/pandas-dev/pandas/issues/54907 - epytest pandas/tests \ - --no-strict-data-files \ - --maxfail=32 \ - -m "not single and not slow and not network" \ - -n "$(makeopts_jobs)" --dist=worksteal || - die "Tests failed with ${EPYTHON}" - rm test-data.xml || die -} - -pkg_postinst() { - optfeature "accelerating certain types of NaN evaluations, using specialized cython routines to achieve large speedups." dev-python/bottleneck - optfeature "accelerating certain numerical operations, using multiple cores as well as smart chunking and caching to achieve large speedups" ">=dev-python/numexpr-2.1" - optfeature "needed for pandas.io.html.read_html" dev-python/beautifulsoup4 dev-python/html5lib dev-python/lxml - optfeature "for msgpack compression using blosc" dev-python/blosc - optfeature "Template engine for conditional HTML formatting" dev-python/jinja - optfeature "Plotting support" dev-python/matplotlib - optfeature "Needed for Excel I/O" ">=dev-python/openpyxl-3.0.10" dev-python/xlsxwriter dev-python/xlrd dev-python/xlwt - optfeature "necessary for HDF5-based storage" ">=dev-python/tables-3.7.0" - optfeature "R I/O support" dev-python/rpy - optfeature "Needed for parts of pandas.stats" dev-python/statsmodels - optfeature "SQL database support" ">=dev-python/sqlalchemy-1.4.36" - optfeature "miscellaneous statistical functions" dev-python/scipy - optfeature "necessary to use pandas.io.clipboard.read_clipboard support" dev-python/PyQt5 dev-python/QtPy dev-python/pygtk x11-misc/xclip x11-misc/xsel -} diff --git a/dev-python/pandas/pandas-2.1.2.ebuild b/dev-python/pandas/pandas-2.1.2.ebuild deleted file mode 100644 index a45c00e926a5..000000000000 --- a/dev-python/pandas/pandas-2.1.2.ebuild +++ /dev/null @@ -1,217 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=meson-python -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) -PYTHON_REQ_USE="threads(+)" - -VIRTUALX_REQUIRED="manual" - -inherit distutils-r1 multiprocessing optfeature pypi virtualx - -DESCRIPTION="Powerful data structures for data analysis and statistics" -HOMEPAGE=" - https://pandas.pydata.org/ - https://github.com/pandas-dev/pandas/ - https://pypi.org/project/pandas/ -" - -SLOT="0" -LICENSE="BSD" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~riscv ~sparc ~x86" -IUSE="full-support minimal test X" -RESTRICT="!test? ( test )" - -RECOMMENDED_DEPEND=" - >=dev-python/bottleneck-1.3.4[${PYTHON_USEDEP}] - >=dev-python/numexpr-2.8.0[${PYTHON_USEDEP}] -" - -# TODO: add pandas-gbq to the tree -# TODO: Re-add dev-python/statsmodel[python3_11] dep once it supports python3_11 -# https://github.com/statsmodels/statsmodels/issues/8287 -OPTIONAL_DEPEND=" - >=dev-python/beautifulsoup4-4.11.1[${PYTHON_USEDEP}] - dev-python/blosc[${PYTHON_USEDEP}] - >=dev-python/html5lib-1.1[${PYTHON_USEDEP}] - >=dev-python/jinja-3.1.2[${PYTHON_USEDEP}] - >=dev-python/lxml-4.8.0[${PYTHON_USEDEP}] - >=dev-python/matplotlib-3.6.1[${PYTHON_USEDEP}] - >=dev-python/openpyxl-3.0.7[${PYTHON_USEDEP}] - >=dev-python/sqlalchemy-1.4.36[${PYTHON_USEDEP}] - >=dev-python/tables-3.7.0[${PYTHON_USEDEP}] - >=dev-python/tabulate-0.8.10[${PYTHON_USEDEP}] - >=dev-python/xarray-2022.3.0[${PYTHON_USEDEP}] - >=dev-python/xlrd-2.0.1[${PYTHON_USEDEP}] - >=dev-python/xlsxwriter-3.0.3[${PYTHON_USEDEP}] - >=dev-python/xlwt-1.3.0[${PYTHON_USEDEP}] - !hppa? ( - $(python_gen_cond_dep ' - dev-python/statsmodels[${PYTHON_USEDEP}] - ' python3_{8..10} ) - >=dev-python/scipy-1.8.1[${PYTHON_USEDEP}] - ) - X? ( - || ( - >=dev-python/PyQt5-5.15.6[${PYTHON_USEDEP}] - >=dev-python/QtPy-2.2.0[${PYTHON_USEDEP}] - x11-misc/xclip - x11-misc/xsel - ) - ) -" -DEPEND=" - >=dev-python/numpy-1.23.2[${PYTHON_USEDEP}] -" -COMMON_DEPEND=" - ${DEPEND} - >=dev-python/python-dateutil-2.8.2[${PYTHON_USEDEP}] - >=dev-python/pytz-2020.1[${PYTHON_USEDEP}] -" -BDEPEND=" - ${COMMON_DEPEND} - >=dev-util/meson-1.2.1 - >=dev-python/cython-0.29.33[${PYTHON_USEDEP}] - >=dev-python/versioneer-0.28[${PYTHON_USEDEP}] - test? ( - ${VIRTUALX_DEPEND} - ${RECOMMENDED_DEPEND} - ${OPTIONAL_DEPEND} - >=dev-python/beautifulsoup4-4.11.1[${PYTHON_USEDEP}] - >=dev-python/hypothesis-6.46.1[${PYTHON_USEDEP}] - >=dev-python/openpyxl-3.0.10[${PYTHON_USEDEP}] - >=dev-python/pymysql-1.0.2[${PYTHON_USEDEP}] - >=dev-python/pytest-7.3.2[${PYTHON_USEDEP}] - >=dev-python/pytest-asyncio-0.17.0[${PYTHON_USEDEP}] - >=dev-python/pytest-xdist-2.2.0[${PYTHON_USEDEP}] - >=dev-python/psycopg-2.9.3:2[${PYTHON_USEDEP}] - >=dev-python/xlsxwriter-3.0.3[${PYTHON_USEDEP}] - x11-misc/xclip - x11-misc/xsel - ) -" -RDEPEND=" - ${COMMON_DEPEND} - dev-python/tzdata[${PYTHON_USEDEP}] - !minimal? ( ${RECOMMENDED_DEPEND} ) - full-support? ( ${OPTIONAL_DEPEND} ) -" - -PATCHES=( - # a quick hack, it's already fixed in main - "${FILESDIR}/pandas-2.1.1-which.patch" -) - -src_test() { - virtx distutils-r1_src_test -} - -python_test() { - local EPYTEST_DESELECT=( - # test for rounding errors, fails if we have better precision - # e.g. on amd64 with FMA or on arm64 - # https://github.com/pandas-dev/pandas/issues/38921 - tests/window/test_rolling.py::test_rolling_var_numerical_issues - - # TODO; unhappy about DISPLAY? - tests/test_downstream.py::test_seaborn - - # OOMs - tests/io/parser/test_c_parser_only.py::test_bytes_exceed_2gb - - # TODO: numexpr says "forbidden control characters" - tests/computation/test_eval.py::TestOperations::test_multi_line_expression_local_variable - 'tests/computation/test_eval.py::test_query_token[numexpr-Temp(\xb0C)]' - tests/frame/test_query_eval.py::TestDataFrameQueryBacktickQuoting::test_lots_of_operators_string - tests/frame/test_query_eval.py::TestDataFrameQueryBacktickQuoting::test_multiple_spaces - tests/frame/test_query_eval.py::TestDataFrameQueryBacktickQuoting::test_parenthesis - tests/frame/test_query_eval.py::TestDataFrameQueryBacktickQuoting::test_start_with_spaces - tests/frame/test_query_eval.py::TestDataFrameQueryNumExprPandas::test_local_syntax - tests/frame/test_query_eval.py::TestDataFrameQueryNumExprPandas::test_local_variable_with_in - tests/frame/test_query_eval.py::TestDataFrameQueryNumExprPandas::test_nested_scope - tests/frame/test_query_eval.py::TestDataFrameQueryNumExprPandas::test_query_scope - - # TODO: missing data not covered by --no-strict-data-files? - tests/io/xml/test_xml.py::test_empty_stylesheet - tests/io/xml/test_xml.py::test_wrong_file_path - - # TODO - tests/frame/test_arithmetic.py::TestFrameFlexArithmetic::test_floordiv_axis0_numexpr_path - - # deprecation warning - tests/io/pytables/test_retain_attributes.py::test_retain_index_attributes2 - - # Needs 64-bit time_t (TODO: split into 32-bit arch only section) - tests/tseries/offsets/test_year.py::test_add_out_of_pydatetime_range - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BusinessDay]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BusinessHour]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BusinessMonthEnd]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BusinessMonthBegin]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BQuarterEnd]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BQuarterBegin]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-CustomBusinessDay]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-CustomBusinessHour]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-CustomBusinessMonthEnd]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-CustomBusinessMonthBegin]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-MonthEnd]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-MonthBegin]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-SemiMonthBegin]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-SemiMonthEnd]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-QuarterEnd]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-LastWeekOfMonth]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-WeekOfMonth]' - 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-Week]' - - # hdf / pytables have alignment problems: bug #911660 - # https://github.com/pandas-dev/pandas/issues/54396 - tests/io/pytables/test_append.py::test_append_frame_column_oriented - tests/io/pytables/test_store.py::test_select_filter_corner - - # blosc2 version - tests/io/pytables/test_file_handling.py::test_complibs\[blosc2-{1..9}\] - ) - - case ${EPYTHON} in - python3.12) - EPYTEST_DESELECT+=( - tests/io/pytables/test_select.py::test_select_dtypes - tests/io/pytables/test_select.py::test_frame_select - # deprecation warnings - tests/io/excel/test_writers.py::TestRoundTrip::test_read_excel_parse_dates - ) - ;; - esac - - local -x LC_ALL=C.UTF-8 - cd "${BUILD_DIR}/install$(python_get_sitedir)" || die - "${EPYTHON}" -c "import pandas; pandas.show_versions()" || die - # --no-strict-data-files is necessary since upstream prevents data - # files from even being included in GitHub archives, sigh - # https://github.com/pandas-dev/pandas/issues/54907 - epytest pandas/tests \ - --no-strict-data-files \ - --maxfail=32 \ - -m "not single and not slow and not network" \ - -n "$(makeopts_jobs)" --dist=worksteal || - die "Tests failed with ${EPYTHON}" - rm test-data.xml || die -} - -pkg_postinst() { - optfeature "accelerating certain types of NaN evaluations, using specialized cython routines to achieve large speedups." dev-python/bottleneck - optfeature "accelerating certain numerical operations, using multiple cores as well as smart chunking and caching to achieve large speedups" ">=dev-python/numexpr-2.1" - optfeature "needed for pandas.io.html.read_html" dev-python/beautifulsoup4 dev-python/html5lib dev-python/lxml - optfeature "for msgpack compression using blosc" dev-python/blosc - optfeature "Template engine for conditional HTML formatting" dev-python/jinja - optfeature "Plotting support" dev-python/matplotlib - optfeature "Needed for Excel I/O" ">=dev-python/openpyxl-3.0.10" dev-python/xlsxwriter dev-python/xlrd dev-python/xlwt - optfeature "necessary for HDF5-based storage" ">=dev-python/tables-3.7.0" - optfeature "R I/O support" dev-python/rpy - optfeature "Needed for parts of pandas.stats" dev-python/statsmodels - optfeature "SQL database support" ">=dev-python/sqlalchemy-1.4.36" - optfeature "miscellaneous statistical functions" dev-python/scipy - optfeature "necessary to use pandas.io.clipboard.read_clipboard support" dev-python/PyQt5 dev-python/QtPy dev-python/pygtk x11-misc/xclip x11-misc/xsel -} diff --git a/dev-python/pandas/pandas-2.1.4.ebuild b/dev-python/pandas/pandas-2.1.4.ebuild new file mode 100644 index 000000000000..9a84c50bd790 --- /dev/null +++ b/dev-python/pandas/pandas-2.1.4.ebuild @@ -0,0 +1,221 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=meson-python +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +PYTHON_REQ_USE="threads(+)" + +VIRTUALX_REQUIRED="manual" + +inherit distutils-r1 optfeature pypi virtualx + +DESCRIPTION="Powerful data structures for data analysis and statistics" +HOMEPAGE=" + https://pandas.pydata.org/ + https://github.com/pandas-dev/pandas/ + https://pypi.org/project/pandas/ +" + +SLOT="0" +LICENSE="BSD" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="full-support minimal test X" +RESTRICT="!test? ( test )" + +RECOMMENDED_DEPEND=" + >=dev-python/bottleneck-1.3.4[${PYTHON_USEDEP}] + >=dev-python/numexpr-2.8.0[${PYTHON_USEDEP}] +" + +# TODO: add pandas-gbq to the tree +# TODO: Re-add dev-python/statsmodel[python3_11] dep once it supports python3_11 +# https://github.com/statsmodels/statsmodels/issues/8287 +OPTIONAL_DEPEND=" + >=dev-python/beautifulsoup4-4.11.1[${PYTHON_USEDEP}] + dev-python/blosc[${PYTHON_USEDEP}] + >=dev-python/html5lib-1.1[${PYTHON_USEDEP}] + >=dev-python/jinja-3.1.2[${PYTHON_USEDEP}] + >=dev-python/lxml-4.8.0[${PYTHON_USEDEP}] + >=dev-python/matplotlib-3.6.1[${PYTHON_USEDEP}] + >=dev-python/openpyxl-3.0.7[${PYTHON_USEDEP}] + >=dev-python/sqlalchemy-1.4.36[${PYTHON_USEDEP}] + >=dev-python/tables-3.7.0[${PYTHON_USEDEP}] + >=dev-python/tabulate-0.8.10[${PYTHON_USEDEP}] + >=dev-python/xarray-2022.3.0[${PYTHON_USEDEP}] + >=dev-python/xlrd-2.0.1[${PYTHON_USEDEP}] + >=dev-python/xlsxwriter-3.0.3[${PYTHON_USEDEP}] + >=dev-python/xlwt-1.3.0[${PYTHON_USEDEP}] + !hppa? ( + $(python_gen_cond_dep ' + dev-python/statsmodels[${PYTHON_USEDEP}] + ' python3_{8..10} ) + >=dev-python/scipy-1.8.1[${PYTHON_USEDEP}] + ) + X? ( + || ( + >=dev-python/PyQt5-5.15.6[${PYTHON_USEDEP}] + >=dev-python/QtPy-2.2.0[${PYTHON_USEDEP}] + x11-misc/xclip + x11-misc/xsel + ) + ) +" +DEPEND=" + >=dev-python/numpy-1.23.2[${PYTHON_USEDEP}] +" +COMMON_DEPEND=" + ${DEPEND} + >=dev-python/python-dateutil-2.8.2[${PYTHON_USEDEP}] + >=dev-python/pytz-2020.1[${PYTHON_USEDEP}] +" +BDEPEND=" + ${COMMON_DEPEND} + >=dev-util/meson-1.2.1 + >=dev-python/cython-0.29.33[${PYTHON_USEDEP}] + >=dev-python/versioneer-0.28[${PYTHON_USEDEP}] + test? ( + ${VIRTUALX_DEPEND} + ${RECOMMENDED_DEPEND} + ${OPTIONAL_DEPEND} + >=dev-python/beautifulsoup4-4.11.1[${PYTHON_USEDEP}] + >=dev-python/hypothesis-6.46.1[${PYTHON_USEDEP}] + >=dev-python/openpyxl-3.0.10[${PYTHON_USEDEP}] + >=dev-python/pymysql-1.0.2[${PYTHON_USEDEP}] + >=dev-python/psycopg-2.9.3:2[${PYTHON_USEDEP}] + >=dev-python/xlsxwriter-3.0.3[${PYTHON_USEDEP}] + x11-misc/xclip + x11-misc/xsel + ) +" +RDEPEND=" + ${COMMON_DEPEND} + dev-python/tzdata[${PYTHON_USEDEP}] + !minimal? ( ${RECOMMENDED_DEPEND} ) + full-support? ( ${OPTIONAL_DEPEND} ) +" + +PATCHES=( + # a quick hack, it's already fixed in main + "${FILESDIR}/pandas-2.1.1-which.patch" + # https://github.com/pandas-dev/pandas/commit/e31a6865958442435ae9b31f312129c44f66eb5e + "${FILESDIR}/pandas-2.1.4-khash-dep.patch" +) + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_test() { + virtx distutils-r1_src_test +} + +python_test() { + local EPYTEST_DESELECT=( + # test for rounding errors, fails if we have better precision + # e.g. on amd64 with FMA or on arm64 + # https://github.com/pandas-dev/pandas/issues/38921 + tests/window/test_rolling.py::test_rolling_var_numerical_issues + + # TODO; unhappy about DISPLAY? + tests/test_downstream.py::test_seaborn + + # OOMs + tests/io/parser/test_c_parser_only.py::test_bytes_exceed_2gb + + # TODO: numexpr says "forbidden control characters" + tests/computation/test_eval.py::TestOperations::test_multi_line_expression_local_variable + 'tests/computation/test_eval.py::test_query_token[numexpr-Temp(\xb0C)]' + tests/frame/test_query_eval.py::TestDataFrameQueryBacktickQuoting::test_lots_of_operators_string + tests/frame/test_query_eval.py::TestDataFrameQueryBacktickQuoting::test_multiple_spaces + tests/frame/test_query_eval.py::TestDataFrameQueryBacktickQuoting::test_parenthesis + tests/frame/test_query_eval.py::TestDataFrameQueryBacktickQuoting::test_start_with_spaces + tests/frame/test_query_eval.py::TestDataFrameQueryNumExprPandas::test_local_syntax + tests/frame/test_query_eval.py::TestDataFrameQueryNumExprPandas::test_local_variable_with_in + tests/frame/test_query_eval.py::TestDataFrameQueryNumExprPandas::test_nested_scope + tests/frame/test_query_eval.py::TestDataFrameQueryNumExprPandas::test_query_scope + + # TODO: missing data not covered by --no-strict-data-files? + tests/io/xml/test_xml.py::test_empty_stylesheet + tests/io/xml/test_xml.py::test_wrong_file_path + + # TODO + tests/frame/test_arithmetic.py::TestFrameFlexArithmetic::test_floordiv_axis0_numexpr_path + + # deprecation warning + tests/io/pytables/test_retain_attributes.py::test_retain_index_attributes2 + 'tests/computation/test_eval.py::TestEval::test_scalar_unary[numexpr-pandas]' + + # Needs 64-bit time_t (TODO: split into 32-bit arch only section) + tests/tseries/offsets/test_year.py::test_add_out_of_pydatetime_range + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BusinessDay]' + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BusinessHour]' + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BusinessMonthEnd]' + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BusinessMonthBegin]' + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BQuarterEnd]' + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BQuarterBegin]' + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-CustomBusinessDay]' + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-CustomBusinessHour]' + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-CustomBusinessMonthEnd]' + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-CustomBusinessMonthBegin]' + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-MonthEnd]' + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-MonthBegin]' + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-SemiMonthBegin]' + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-SemiMonthEnd]' + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-QuarterEnd]' + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-LastWeekOfMonth]' + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-WeekOfMonth]' + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-Week]' + + # hdf / pytables have alignment problems: bug #911660 + # https://github.com/pandas-dev/pandas/issues/54396 + tests/io/pytables/test_append.py::test_append_frame_column_oriented + tests/io/pytables/test_store.py::test_select_filter_corner + + # blosc2 version + tests/io/pytables/test_file_handling.py::test_complibs\[blosc2-{1..9}\] + ) + + case ${EPYTHON} in + python3.12) + EPYTEST_DESELECT+=( + tests/io/pytables/test_select.py::test_select_dtypes + tests/io/pytables/test_select.py::test_frame_select + # deprecation warnings + tests/io/excel/test_writers.py::TestRoundTrip::test_read_excel_parse_dates + # some pytest-xdist problem? + tests/base/test_unique.py::test_unique_bad_unicode + ) + ;; + esac + + local -x LC_ALL=C.UTF-8 + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + "${EPYTHON}" -c "import pandas; pandas.show_versions()" || die + # --no-strict-data-files is necessary since upstream prevents data + # files from even being included in GitHub archives, sigh + # https://github.com/pandas-dev/pandas/issues/54907 + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest pandas/tests \ + --no-strict-data-files \ + -m "not single and not slow and not network" || + die "Tests failed with ${EPYTHON}" + rm test-data.xml || die +} + +pkg_postinst() { + optfeature "accelerating certain types of NaN evaluations, using specialized cython routines to achieve large speedups." dev-python/bottleneck + optfeature "accelerating certain numerical operations, using multiple cores as well as smart chunking and caching to achieve large speedups" ">=dev-python/numexpr-2.1" + optfeature "needed for pandas.io.html.read_html" dev-python/beautifulsoup4 dev-python/html5lib dev-python/lxml + optfeature "for msgpack compression using blosc" dev-python/blosc + optfeature "Template engine for conditional HTML formatting" dev-python/jinja + optfeature "Plotting support" dev-python/matplotlib + optfeature "Needed for Excel I/O" ">=dev-python/openpyxl-3.0.10" dev-python/xlsxwriter dev-python/xlrd dev-python/xlwt + optfeature "necessary for HDF5-based storage" ">=dev-python/tables-3.7.0" + optfeature "R I/O support" dev-python/rpy + optfeature "Needed for parts of pandas.stats" dev-python/statsmodels + optfeature "SQL database support" ">=dev-python/sqlalchemy-1.4.36" + optfeature "miscellaneous statistical functions" dev-python/scipy + optfeature "necessary to use pandas.io.clipboard.read_clipboard support" dev-python/PyQt5 dev-python/QtPy dev-python/pygtk x11-misc/xclip x11-misc/xsel +} diff --git a/dev-python/parse/Manifest b/dev-python/parse/Manifest index 3976ccc8f287..cd34a36cd39f 100644 --- a/dev-python/parse/Manifest +++ b/dev-python/parse/Manifest @@ -1,2 +1 @@ -DIST parse-1.19.1.gh.tar.gz 26732 BLAKE2B 15a1a11d9ca5c93a07848db4acdae1b9b489e3366f3dcbdcbae06a22b2bc8183fd266106dec5b975be8fd6926ee29d9ee4850db8d8504b8fc489bee82c7f0492 SHA512 f3fd067cbe6f30f0e61297f471dd7eb183d351ca60bf5a4dfd31cf0775988ecea6dfdf3f0ecd23dbe9fb3f8be3f5c1b824af660074589cb3b289658d0af898fa DIST parse-1.20.0.tar.gz 28871 BLAKE2B a6635641cb780c246053ddd7ecd397e994964086d3e5191356e425bb837b0e1c201c6b4e92755b4c4351589ff9055826964fa9eaac756e98bac90766a4703e06 SHA512 40ba63f62138c2273ec9bb603b7d8f74b471d9b143a49062a0f9979f8d84a7acce9d56ac046d38c6900fe07e9b5b3fdd3de7f2e78708e85234ec56b86410b14a diff --git a/dev-python/parse/parse-1.19.1.ebuild b/dev-python/parse/parse-1.19.1.ebuild deleted file mode 100644 index f28a45cf01e5..000000000000 --- a/dev-python/parse/parse-1.19.1.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 2021-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Parse strings using a specification based on the Python format() syntax" -HOMEPAGE=" - https://github.com/r1chardj0n3s/parse/ - https://pypi.org/project/parse/ -" -SRC_URI=" - https://github.com/r1chardj0n3s/parse/archive/refs/tags/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86" - -distutils_enable_tests unittest diff --git a/dev-python/parse/parse-1.20.0.ebuild b/dev-python/parse/parse-1.20.0.ebuild index a875040772b5..11b65e178ed2 100644 --- a/dev-python/parse/parse-1.20.0.ebuild +++ b/dev-python/parse/parse-1.20.0.ebuild @@ -12,6 +12,6 @@ HOMEPAGE="https://github.com/r1chardj0n3s/parse/" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86" distutils_enable_tests pytest diff --git a/dev-python/pastedeploy/Manifest b/dev-python/pastedeploy/Manifest index 25f7adf17e69..98b72f7c9437 100644 --- a/dev-python/pastedeploy/Manifest +++ b/dev-python/pastedeploy/Manifest @@ -1,2 +1 @@ -DIST pastedeploy-3.0.1.gh.tar.gz 33420 BLAKE2B d96e9429852ce2f6b82aac834c3a1da069f02d542f7379935e42a9e663cdee807230bbede3acc03fb5cccc3b4462d3f3afaa84eec09225bbaffe6ece4534f3fe SHA512 2b06351b9104da1e0d30c90492ee31113aacf5cde7a66a34482c4625af902b855eab2af80073db4eb18805a192f858dac360062dadf58a161cc3cfabf5b67a1a DIST pastedeploy-3.1.gh.tar.gz 33634 BLAKE2B 11087275f0c0f73b44ecc4bdcd6c284534d81056ce2dc898b8a891261b2ec71502679a688e2183adc4572089846d2c06fe5b48648f78ea6667f29e142b656656 SHA512 da13c8181d1f003bf61f954655a1876f49253954c320c6a2db0ca2b92acf057e48dff97376da2f9dce6181e5349ffa2d8cddbf71d3360d6c0fa8d5dedbbb2ae3 diff --git a/dev-python/pastedeploy/pastedeploy-3.0.1.ebuild b/dev-python/pastedeploy/pastedeploy-3.0.1.ebuild deleted file mode 100644 index 28a841fcb9f6..000000000000 --- a/dev-python/pastedeploy/pastedeploy-3.0.1.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 - -MY_PN="PasteDeploy" -MY_P="${MY_PN}-${PV}" -DESCRIPTION="Load, configure, and compose WSGI applications and servers" -HOMEPAGE=" - https://github.com/Pylons/pastedeploy/ - https://pypi.org/project/PasteDeploy/ -" -SRC_URI=" - https://github.com/Pylons/pastedeploy/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" - -RDEPEND=" - !dev-python/namespace-paste -" - -distutils_enable_tests pytest - -src_prepare() { - sed -i -e 's:--cov::' pytest.ini || die - distutils-r1_src_prepare -} - -python_compile() { - distutils-r1_python_compile - find "${BUILD_DIR}" -name '*.pth' -delete || die -} diff --git a/dev-python/pastedeploy/pastedeploy-3.1.ebuild b/dev-python/pastedeploy/pastedeploy-3.1.ebuild index 7aca8fbc54d4..28a841fcb9f6 100644 --- a/dev-python/pastedeploy/pastedeploy-3.1.ebuild +++ b/dev-python/pastedeploy/pastedeploy-3.1.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" RDEPEND=" !dev-python/namespace-paste diff --git a/dev-python/patsy/patsy-0.5.3-r1.ebuild b/dev-python/patsy/patsy-0.5.3-r1.ebuild index 9c894f4b703a..ea33303cb116 100644 --- a/dev-python/patsy/patsy-0.5.3-r1.ebuild +++ b/dev-python/patsy/patsy-0.5.3-r1.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 arm arm64 ~hppa ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" RDEPEND=" dev-python/numpy[${PYTHON_USEDEP}] diff --git a/dev-python/pebble/Manifest b/dev-python/pebble/Manifest index c9dcc1420717..f2b566eb59b8 100644 --- a/dev-python/pebble/Manifest +++ b/dev-python/pebble/Manifest @@ -1,3 +1,2 @@ -DIST Pebble-5.0.3.tar.gz 29076 BLAKE2B d140cc0abd08cb5d6031a3fb8ba6f573e273f865d23e8854e9e540e115b030cabd07d8517f94b542216294abd742960b3addda592f0e7d31662bd10b224c8d7b SHA512 324cba58905b0be76b2cd56e0ee5d3e51a36d46a7754fbccb1f9307af0747c2f02b81d137e2c4bce1c766706b70ce1a909c3b287676db147c202cab7445fc764 DIST Pebble-5.0.4.tar.gz 28976 BLAKE2B 4a07fae1b186f658aad565d97837c204ce4c19f2478f179d9967f4770666eb243c26de54345332331ad85a4c34c842307be219b543c7f99e9f04ce5185841a32 SHA512 fec2aa4fad28dddc5987d010d341dd747d1056a9e75b3a81f5c6d1f40d07d139357472f0649d9b15f1fe22c5e018f533d616227faac10c1e06469af988cf2c8c DIST Pebble-5.0.5.tar.gz 30634 BLAKE2B 2ce70da8d2a5a8ed5368e54e63631167c09bf0f408d5e86c618fbe2237a01f0fed9e673c14fe7f8a63fb416d72bfad58c7eedd5292daf7753d067a7a219a3c22 SHA512 8d524e57e32f28fb4c59f09a7d1733d997298f526d6ba08477b060dd78c585b4f9da76b525a4052eefd1576dba464218d4b15ffe15f9e2cb1921423df3a33e1c diff --git a/dev-python/pebble/files/pebble-5.0.3-backport-pr112.patch b/dev-python/pebble/files/pebble-5.0.3-backport-pr112.patch deleted file mode 100644 index be1afee1da64..000000000000 --- a/dev-python/pebble/files/pebble-5.0.3-backport-pr112.patch +++ /dev/null @@ -1,28 +0,0 @@ -https://bugs.gentoo.org/831219 -https://github.com/noxdafox/pebble/pull/112 - -From cd78923ac2a3de7e2ce248734f10170bf516f5b4 Mon Sep 17 00:00:00 2001 -From: matoro -Date: Sun, 19 Feb 2023 13:36:34 -0500 -Subject: [PATCH] increase attempts for test_process_pool_stop_stopped_callback - -On very slow machines, test_process_pool_stop_stopped_callback fails due -to not raising a RuntimeError. Increasing the number of long_function -instances added to the pool causes it to perform as expected. ---- - test/test_process_pool_spawn.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/test/test_process_pool_spawn.py b/test/test_process_pool_spawn.py -index f839b0a..d734bdf 100644 ---- a/test/test_process_pool_spawn.py -+++ b/test/test_process_pool_spawn.py -@@ -315,7 +315,7 @@ def stop_pool_callback(_): - future = pool.schedule(function, args=[1]) - future.add_done_callback(stop_pool_callback) - with self.assertRaises(RuntimeError): -- for index in range(10): -+ for index in range(30): - time.sleep(0.1) - pool.schedule(long_function, args=[index]) - diff --git a/dev-python/pebble/pebble-5.0.3.ebuild b/dev-python/pebble/pebble-5.0.3.ebuild deleted file mode 100644 index 4db3dec75901..000000000000 --- a/dev-python/pebble/pebble-5.0.3.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 2020-2023 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_{8,9,10,11,12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Threading and multiprocessing eye-candy" -HOMEPAGE=" - https://pebble.readthedocs.io/ - https://github.com/noxdafox/pebble/ - https://pypi.org/project/Pebble/ -" - -LICENSE="LGPL-3+" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" -PATCHES=( "${FILESDIR}/pebble-5.0.3-backport-pr112.patch" ) - -distutils_enable_tests pytest diff --git a/dev-python/pebble/pebble-5.0.4.ebuild b/dev-python/pebble/pebble-5.0.4.ebuild index ee9b9fb10acb..55d37954c681 100644 --- a/dev-python/pebble/pebble-5.0.4.ebuild +++ b/dev-python/pebble/pebble-5.0.4.ebuild @@ -19,6 +19,6 @@ HOMEPAGE=" LICENSE="LGPL-3+" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" distutils_enable_tests pytest diff --git a/dev-python/picobox/picobox-4.0.0.ebuild b/dev-python/picobox/picobox-4.0.0.ebuild index c54a1f700f5b..2bac76cfc700 100644 --- a/dev-python/picobox/picobox-4.0.0.ebuild +++ b/dev-python/picobox/picobox-4.0.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86" BDEPEND=" dev-python/hatch-vcs[${PYTHON_USEDEP}] diff --git a/dev-python/pyasn1/Manifest b/dev-python/pyasn1/Manifest index 1c1c94004c59..c59a82ed51c0 100644 --- a/dev-python/pyasn1/Manifest +++ b/dev-python/pyasn1/Manifest @@ -1,2 +1 @@ -DIST pyasn1-0.5.0.tar.gz 145117 BLAKE2B dbbec0bebcfe11b8de983716fedf1bf28e6bcf7d5f89e3dcba929884347cc7cd3a8ef8b5ec44bbc799a7bae3de39c90cf5e48111384de571dc2034a79c3bb52b SHA512 763690184ce891555564d76902042791865815e59e1325100fca692140110e5e182ef3da84ffdf96b1876edeb2757bbb09c06d26e752a8110760dafbf9e3ca00 DIST pyasn1-0.5.1.tar.gz 147134 BLAKE2B 3f209b845af307cf17d701ff6c6a1674978ed6a14b5132cfe1171d2560f0932c7f940364b247e5e2162b27bb807c44720a08af1b490d2ff665cea86fdfb66b6b SHA512 19478d810d000fb4435f6a1776f290b1618a693539ff8ffad8c41f9ac316938f1c0ae988db8571a838443407d312b5566887e20284a779ccf427888739f13833 diff --git a/dev-python/pyasn1/pyasn1-0.5.0.ebuild b/dev-python/pyasn1/pyasn1-0.5.0.ebuild deleted file mode 100644 index 07fe82496160..000000000000 --- a/dev-python/pyasn1/pyasn1-0.5.0.ebuild +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="ASN.1 library for Python" -HOMEPAGE=" - https://pypi.org/project/pyasn1/ - https://github.com/etingof/pyasn1/ -" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" - -distutils_enable_tests unittest -distutils_enable_sphinx "docs/source" diff --git a/dev-python/pyasn1/pyasn1-0.5.1.ebuild b/dev-python/pyasn1/pyasn1-0.5.1.ebuild index ba56e0c988fc..07fe82496160 100644 --- a/dev-python/pyasn1/pyasn1-0.5.1.ebuild +++ b/dev-python/pyasn1/pyasn1-0.5.1.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="BSD-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" distutils_enable_tests unittest distutils_enable_sphinx "docs/source" diff --git a/dev-python/pycson/pycson-0.8-r4.ebuild b/dev-python/pycson/pycson-0.8-r4.ebuild index c473fdeb0981..33319b8149b2 100644 --- a/dev-python/pycson/pycson-0.8-r4.ebuild +++ b/dev-python/pycson/pycson-0.8-r4.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/avakar/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc ~riscv ~x86" +KEYWORDS="~amd64 arm64 ~ppc ~riscv ~x86" RDEPEND="dev-python/speg[${PYTHON_USEDEP}]" diff --git a/dev-python/pyfakefs/Manifest b/dev-python/pyfakefs/Manifest index ef5835d4bb89..f0f010b66f22 100644 --- a/dev-python/pyfakefs/Manifest +++ b/dev-python/pyfakefs/Manifest @@ -1,3 +1 @@ -DIST pyfakefs-5.3.0.gh.tar.gz 224241 BLAKE2B de6d1b420bcfe710bef00c4f8d9cd4fa838341a7285d89a02607701f0011ccbe7f1974c5eec502994f787661496f74332bc4d4aa3389023ae02607a968c33be5 SHA512 25d967390f66ba5881429a37b62110ef129aae989efe66740c3a04fccfcbc601476d23427ac23d5df82a1e1a8102d557f0cca39b94fa0c7e69b6dca80d1e435e -DIST pyfakefs-5.3.1.gh.tar.gz 225234 BLAKE2B 2688a40ce22a112ce80de8795e3c0b0dd7e2cd46b41c442c5e13085ec614e323a5558cfa48e0e5c79c7c418a739b3f0a6202bb007e8c201ac3fbcc3b209a3d9f SHA512 6d2b16327e8f40d98ac84ea8662dc359aa1b590e1de71761d511b084268d44ee2950cd2af1ec4e722fcb6e7dd14b93e01969fa5cc12e178e97ca2ce69073deea DIST pyfakefs-5.3.2.gh.tar.gz 225929 BLAKE2B 1a84f52e8d85b55d2ebc0dcf9c4b44bd053c0a3a12d6c47c1f8d5aec304e39a83ffb01d4c707929955ca5cd86ae9427332d5bf043cb7f910fe1d17fbcc19e35c SHA512 4cc2c861fa358c06832df6e8a7cfc91e2b9be42f1164378ea6bd0a3a6cc48f36c545b7d61e03591d025ef7bd98fdc812f903973f28a278056961aec22ca88641 diff --git a/dev-python/pyfakefs/pyfakefs-5.3.0.ebuild b/dev-python/pyfakefs/pyfakefs-5.3.0.ebuild deleted file mode 100644 index fcc471ab6d86..000000000000 --- a/dev-python/pyfakefs/pyfakefs-5.3.0.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="A fake file system that mocks the Python file system modules" -HOMEPAGE=" - https://github.com/pytest-dev/pyfakefs/ - https://pypi.org/project/pyfakefs/ -" -SRC_URI=" - https://github.com/pytest-dev/pyfakefs/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=() - local EPYTEST_IGNORE=( - # test for regression with opentimelineio package - pyfakefs/pytest_tests/segfault_test.py - ) - - case ${EPYTHON} in - python3.12) - EPYTEST_DESELECT+=( - # happens with pandas + zstandard [cffi backend] - # https://github.com/pytest-dev/pyfakefs/issues/910 - pyfakefs/tests/patched_packages_test.py::TestPatchedPackages::test_read_{csv,table} - ) - ;; - esac - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p pyfakefs.pytest_plugin -} diff --git a/dev-python/pyfakefs/pyfakefs-5.3.1.ebuild b/dev-python/pyfakefs/pyfakefs-5.3.1.ebuild deleted file mode 100644 index 295cd124ec5c..000000000000 --- a/dev-python/pyfakefs/pyfakefs-5.3.1.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="A fake file system that mocks the Python file system modules" -HOMEPAGE=" - https://github.com/pytest-dev/pyfakefs/ - https://pypi.org/project/pyfakefs/ -" -SRC_URI=" - https://github.com/pytest-dev/pyfakefs/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=() - local EPYTEST_IGNORE=( - # test for regression with opentimelineio package - pyfakefs/pytest_tests/segfault_test.py - ) - - case ${EPYTHON} in - python3.12) - EPYTEST_DESELECT+=( - # happens with pandas + zstandard [cffi backend] - # https://github.com/pytest-dev/pyfakefs/issues/910 - pyfakefs/tests/patched_packages_test.py::TestPatchedPackages::test_read_{csv,table} - ) - ;; - esac - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p pyfakefs.pytest_plugin -} diff --git a/dev-python/pyfakefs/pyfakefs-5.3.2.ebuild b/dev-python/pyfakefs/pyfakefs-5.3.2.ebuild index c0c1eeb02271..1cdb10007586 100644 --- a/dev-python/pyfakefs/pyfakefs-5.3.2.ebuild +++ b/dev-python/pyfakefs/pyfakefs-5.3.2.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" distutils_enable_tests pytest diff --git a/dev-python/pygal/pygal-3.0.4.ebuild b/dev-python/pygal/pygal-3.0.4.ebuild index 11c71e68cdf2..eeb196ac32c0 100644 --- a/dev-python/pygal/pygal-3.0.4.ebuild +++ b/dev-python/pygal/pygal-3.0.4.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="LGPL-3+" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv ~x86" +KEYWORDS="amd64 arm64 ~riscv ~x86" BDEPEND=" test? ( diff --git a/dev-python/pygit2/Manifest b/dev-python/pygit2/Manifest index e90abfe1a1bc..7477a1672f5f 100644 --- a/dev-python/pygit2/Manifest +++ b/dev-python/pygit2/Manifest @@ -1,2 +1 @@ -DIST pygit2-1.13.2.tar.gz 739956 BLAKE2B b63e0aad30eca81cb268d28d400d637d2152be4b7400c25f8ca228edd58140493456425bbb70fbba2ed3d807672a1ca155d60e11c41c76fc9c21d1a4dce3e880 SHA512 db6a5bbda6b3ca0bc2361e37782f7d1bf19bf8c79d6229776d1cd8b78691ddfeaf462b8fec0604babc052a8829c4f2b0e4c66432f73bebf11b6301011ab94bd8 DIST pygit2-1.13.3.tar.gz 752098 BLAKE2B 474c7e4cf92ec81c128fec1ff6222aa524a8dbf291c7ad350a1f150536442a518dbcf6c5ed2af2902265bcb04f34effb258c30e983bf52d1a93d477da4fce00c SHA512 def3d7b4df43ef231c488720a47cef91ad1e9a0568745869cec63f8a2ccfa7ad0be4c40b1cab973ef34e493d9451b33071aa64dc7fb8a8013fcdd1c6f6a45ef1 diff --git a/dev-python/pygit2/pygit2-1.13.2.ebuild b/dev-python/pygit2/pygit2-1.13.2.ebuild deleted file mode 100644 index 4d0d03e83357..000000000000 --- a/dev-python/pygit2/pygit2-1.13.2.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2023 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_{8,9,10,11,12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Python bindings for libgit2" -HOMEPAGE=" - https://github.com/libgit2/pygit2/ - https://pypi.org/project/pygit2/ -" - -LICENSE="GPL-2-with-linking-exception" -SLOT="0" -KEYWORDS="amd64 ~riscv x86" - -DEPEND=" - =dev-libs/libgit2-1.7*:= -" -BDEPEND=" - >=dev-python/cffi-1.16.0:=[${PYTHON_USEDEP}] -" -RDEPEND=" - ${DEPEND} - ${BDEPEND} -" - -distutils_enable_tests pytest - -src_prepare() { - distutils-r1_src_prepare - - # unconditionally prevent it from using network - sed -i -e '/has_network/s:True:False:' test/utils.py || die -} - -src_test() { - rm -r pygit2 || die - distutils-r1_src_test -} diff --git a/dev-python/pygit2/pygit2-1.13.3.ebuild b/dev-python/pygit2/pygit2-1.13.3.ebuild index c701a5d662f9..4d0d03e83357 100644 --- a/dev-python/pygit2/pygit2-1.13.3.ebuild +++ b/dev-python/pygit2/pygit2-1.13.3.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="GPL-2-with-linking-exception" SLOT="0" -KEYWORDS="~amd64 ~riscv ~x86" +KEYWORDS="amd64 ~riscv x86" DEPEND=" =dev-libs/libgit2-1.7*:= diff --git a/dev-python/pygments/Manifest b/dev-python/pygments/Manifest index a2ee87b0131e..17e062ccb1e8 100644 --- a/dev-python/pygments/Manifest +++ b/dev-python/pygments/Manifest @@ -1,4 +1 @@ -DIST Pygments-2.16.1.tar.gz 4872980 BLAKE2B 57ec4f52f2bca3d9df993f583434d61ad0adbc2719f2d0b4ac84160672a3a57ec144509c520f2724a15f0222548abfbe0e743fa31a8dac64d54111b2d7393ae4 SHA512 9b66c79c03e7ecd36cc00efd428a0a6b372e70dbccdcaae26eff4d56c07a17e2e00d2cf0291eb6624ffd1c896b797789b973e80ccbca4240d56daad95eacfd80 -DIST pygments-2.17.0.tar.gz 4827657 BLAKE2B 53ab36177bb88a3a19cd14a86bedab5aecf3286e2b08432f643d31d22179c4bf7e938dc8fffc3a5ecfcfead747d26085730dd611d050ae649cea62353639941e SHA512 b385f58bb7dba6b193e6c9715e0a34a883d810d2ee919a24268d7b9fffaf7501c0964c8d84aa26edcb503141330e6b752fe52d11b3d146177d42ecd3ab9211de -DIST pygments-2.17.1.tar.gz 4827687 BLAKE2B 71e5311b15ece8463a5062a4a83796b5e652b3d67ab2d4578cc03d139816fb3de9dff204c1d35ef9e959e502d57ef22b1507212d3ed477866757e596c6c488f4 SHA512 587f9d32bbb6c9bdbe53db2f5a24b93323905cd515acf3a0e73318c00bdbb71e109d9258de54ac45a1d85fe285ffdd1b9b0397b41391124754f41af4c9e02e4b DIST pygments-2.17.2.tar.gz 4827772 BLAKE2B 7e6db51ff35ec35981fcdd6f4a1f0a242c29e8b0947a5a3febdee35a0e4047414d49d6883b8fbf9de78b149323f0b3c86b315b03eaada557b4cd70e67917aab8 SHA512 a3408a21f4c0a9f1a81d4fae5c2924f66f1f17daf98a52c4379d6953625354f47bb8db3005e6ab09407627f592843efde12afb14e1271c1e685973eb4c238d89 diff --git a/dev-python/pygments/pygments-2.16.1.ebuild b/dev-python/pygments/pygments-2.16.1.ebuild deleted file mode 100644 index e454aae3d062..000000000000 --- a/dev-python/pygments/pygments-2.16.1.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYPI_PN=${PN^} -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 bash-completion-r1 pypi - -DESCRIPTION="Pygments is a syntax highlighting package written in Python" -HOMEPAGE=" - https://pygments.org/ - https://github.com/pygments/pygments/ - https://pypi.org/project/Pygments/ -" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" - -BDEPEND=" - test? ( - dev-python/lxml[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP}] - dev-python/wcag-contrast-ratio[${PYTHON_USEDEP}] - virtual/ttf-fonts - ) -" - -EPYTEST_DESELECT=( - # fuzzing tests, very slow - tests/test_basic_api.py::test_random_input - # incompatibility with python-ctags3, apparently - # https://github.com/pygments/pygments/issues/2486 - tests/test_html_formatter.py::test_ctags -) - -distutils_enable_tests pytest - -src_install() { - distutils-r1_src_install - newbashcomp external/pygments.bashcomp pygmentize -} diff --git a/dev-python/pygments/pygments-2.17.0.ebuild b/dev-python/pygments/pygments-2.17.0.ebuild deleted file mode 100644 index f11e1128e382..000000000000 --- a/dev-python/pygments/pygments-2.17.0.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYPI_PN=${PN^} -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 bash-completion-r1 pypi - -DESCRIPTION="Pygments is a syntax highlighting package written in Python" -HOMEPAGE=" - https://pygments.org/ - https://github.com/pygments/pygments/ - https://pypi.org/project/Pygments/ -" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" - -BDEPEND=" - test? ( - dev-python/lxml[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP}] - dev-python/wcag-contrast-ratio[${PYTHON_USEDEP}] - virtual/ttf-fonts - ) -" - -EPYTEST_DESELECT=( - # fuzzing tests, very slow - tests/test_basic_api.py::test_random_input - # incompatibility with python-ctags3, apparently - # https://github.com/pygments/pygments/issues/2486 - tests/test_html_formatter.py::test_ctags -) - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_install() { - distutils-r1_src_install - newbashcomp external/pygments.bashcomp pygmentize -} diff --git a/dev-python/pygments/pygments-2.17.1.ebuild b/dev-python/pygments/pygments-2.17.1.ebuild deleted file mode 100644 index f11e1128e382..000000000000 --- a/dev-python/pygments/pygments-2.17.1.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYPI_PN=${PN^} -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 bash-completion-r1 pypi - -DESCRIPTION="Pygments is a syntax highlighting package written in Python" -HOMEPAGE=" - https://pygments.org/ - https://github.com/pygments/pygments/ - https://pypi.org/project/Pygments/ -" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" - -BDEPEND=" - test? ( - dev-python/lxml[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP}] - dev-python/wcag-contrast-ratio[${PYTHON_USEDEP}] - virtual/ttf-fonts - ) -" - -EPYTEST_DESELECT=( - # fuzzing tests, very slow - tests/test_basic_api.py::test_random_input - # incompatibility with python-ctags3, apparently - # https://github.com/pygments/pygments/issues/2486 - tests/test_html_formatter.py::test_ctags -) - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_install() { - distutils-r1_src_install - newbashcomp external/pygments.bashcomp pygmentize -} diff --git a/dev-python/pygments/pygments-2.17.2.ebuild b/dev-python/pygments/pygments-2.17.2.ebuild index f11e1128e382..eab8c1b8006f 100644 --- a/dev-python/pygments/pygments-2.17.2.ebuild +++ b/dev-python/pygments/pygments-2.17.2.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="BSD-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" BDEPEND=" test? ( diff --git a/dev-python/pymongo/pymongo-4.6.0.ebuild b/dev-python/pymongo/pymongo-4.6.0.ebuild index 8622e1cdb1a9..65ce11d6e133 100644 --- a/dev-python/pymongo/pymongo-4.6.0.ebuild +++ b/dev-python/pymongo/pymongo-4.6.0.ebuild @@ -23,7 +23,7 @@ S=${WORKDIR}/${MY_P} LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" IUSE="doc kerberos +native-extensions +test-full" RDEPEND=" diff --git a/dev-python/pytest-httpx/Manifest b/dev-python/pytest-httpx/Manifest index 0cc85135bc06..5fbaa19f4fc5 100644 --- a/dev-python/pytest-httpx/Manifest +++ b/dev-python/pytest-httpx/Manifest @@ -1,2 +1 @@ -DIST pytest_httpx-0.26.0.tar.gz 33490 BLAKE2B 27c267374a575aff2ecbaec4855b733318568d73368a103f93606cc8833be4d4e664418e2f4b67df2d39a8830dd32d75d3a00656e58824b6beb18c4cc0bf3a14 SHA512 b671984714e8958361a773ef5e3f7430736b01556c6af58aac4ca740a679b5c2e316e2d041e1594cc16e7e13cee9692f57dcbbf374ca15924685250f73cc7853 DIST pytest_httpx-0.27.0.tar.gz 33905 BLAKE2B 352812df060f878044a628dee62ab36f15d17080afc0367b6331c2e5e13600eefff7a3668f4a9364d437394ad8f8354f41619ec4f6b8bc5ac14b1cd652357802 SHA512 e2834313f507d02b9df96a47f8be6f46b451972e88ed9c9bfcb8bdb92545cc44064b11a1160a5d9d900381181918611d5d5a9efaf60f4e491f33182e9bd884dd diff --git a/dev-python/pytest-httpx/pytest-httpx-0.26.0.ebuild b/dev-python/pytest-httpx/pytest-httpx-0.26.0.ebuild deleted file mode 100644 index 31afd7ae5713..000000000000 --- a/dev-python/pytest-httpx/pytest-httpx-0.26.0.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Send responses to HTTPX using pytest" -HOMEPAGE=" - https://colin-b.github.io/pytest_httpx/ - https://github.com/Colin-b/pytest_httpx/ - https://pypi.org/project/pytest-httpx/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm64 x86" - -RDEPEND=" - =dev-python/httpx-0.25*[${PYTHON_USEDEP}] - /dev/null || die - epytest - popd > /dev/null || die -} - -python_install_all() { - if use examples; then - docinto examples - dodoc -r Demo/. - docompress -x /usr/share/doc/${PF}/examples - fi - distutils-r1_python_install_all -} diff --git a/dev-python/python-ldap/python-ldap-3.4.4.ebuild b/dev-python/python-ldap/python-ldap-3.4.4.ebuild index ae290fba0eeb..f5155da7d772 100644 --- a/dev-python/python-ldap/python-ldap-3.4.4.ebuild +++ b/dev-python/python-ldap/python-ldap-3.4.4.ebuild @@ -23,7 +23,7 @@ S=${WORKDIR}/${PN}-${P} LICENSE="MIT PSF-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv sparc x86" IUSE="examples sasl ssl" RDEPEND=" diff --git a/dev-python/python-neutronclient/Manifest b/dev-python/python-neutronclient/Manifest index c94966357fe8..58ee98cd50f9 100644 --- a/dev-python/python-neutronclient/Manifest +++ b/dev-python/python-neutronclient/Manifest @@ -1,2 +1 @@ -DIST python-neutronclient-11.0.0.tar.gz 206846 BLAKE2B e7ba4db5763a9310aa393e01d8561e9cfe85dfe584942de70a1b2254ccd8d5a79f6ffe5dc195fc3ef6f338c49686f8460b81111f6d4118315af38d7eea6f8c1c SHA512 3732892db34287343bc7015aa0be426e61f7a111e8a69c529f9baac0b6abbba09232d2d73e255dc82a816a1e9ff70237097c6269a287910a034787af58a730a1 DIST python-neutronclient-11.1.0.tar.gz 210626 BLAKE2B c9b3328a57fb05a6bd4058b3a96a1a346caea08110724cc5d7d3855d08140bb2baeb3f133464aa02d74a6ed18e3b7f174560766134d15aa681fea68b169c7b2c SHA512 04f81f0dffc085a16ffca76d16c4de7b9c0a686053e45aacbedfb94902651c20dd34c6ccc29b15bb8e8836df5124e466d5f1bea94a82dc06d194fa6c2df62734 diff --git a/dev-python/python-neutronclient/python-neutronclient-11.0.0.ebuild b/dev-python/python-neutronclient/python-neutronclient-11.0.0.ebuild deleted file mode 100644 index b85e8c291d8a..000000000000 --- a/dev-python/python-neutronclient/python-neutronclient-11.0.0.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="A client for the OpenStack Quantum API" -HOMEPAGE=" - https://opendev.org/openstack/python-neutronclient/ - https://github.com/openstack/python-neutronclient/ - https://pypi.org/project/python-neutronclient/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~riscv x86" - -RDEPEND=" - >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] - >=dev-python/cliff-3.4.0[${PYTHON_USEDEP}] - >=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}] - >=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}] - >=dev-python/netaddr-0.7.18[${PYTHON_USEDEP}] - >=dev-python/openstacksdk-1.0.2[${PYTHON_USEDEP}] - >=dev-python/osc-lib-1.8.0[${PYTHON_USEDEP}] - >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] - >=dev-python/oslo-log-3.36.0[${PYTHON_USEDEP}] - >dev-python/oslo-serialization-2.19.1[${PYTHON_USEDEP}] - >=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}] - >=dev-python/os-client-config-1.28.0[${PYTHON_USEDEP}] - >=dev-python/keystoneauth1-3.8.0[${PYTHON_USEDEP}] - >=dev-python/python-keystoneclient-3.8.0[${PYTHON_USEDEP}] - >=dev-python/requests-2.14.2[${PYTHON_USEDEP}] - >=dev-python/simplejson-3.5.1[${PYTHON_USEDEP}] -" -BDEPEND=" - >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] - test? ( - dev-python/bandit[${PYTHON_USEDEP}] - dev-python/fixtures[${PYTHON_USEDEP}] - dev-python/oslotest[${PYTHON_USEDEP}] - dev-python/python-openstackclient[${PYTHON_USEDEP}] - dev-python/subunit[${PYTHON_USEDEP}] - dev-python/requests-mock[${PYTHON_USEDEP}] - dev-python/testtools[${PYTHON_USEDEP}] - dev-python/testscenarios[${PYTHON_USEDEP}] - dev-python/tempest[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests unittest - -src_prepare() { - # Needs osprofile - rm neutronclient/tests/unit/test_http.py || die - distutils-r1_src_prepare -} - -python_test() { - # functional tests require cloud instance access - eunittest -b neutronclient.tests.unit -} - -python_install() { - distutils-r1_python_install - # stupid stupid stupid - local SITEDIR="${D}$(python_get_sitedir)" || die - cd "${SITEDIR}" || die - local egg=( python_neutronclient*.dist-info ) - [[ -d ${egg[0]} ]] || die "python_quantumclient*.dist-info not found" - ln -s "${egg[0]}" "${egg[0]/neutron/quantum}" || die - ln -s neutronclient quantumclient || die - ln -s neutron quantumclient/quantum || die -} diff --git a/dev-python/python-neutronclient/python-neutronclient-11.1.0.ebuild b/dev-python/python-neutronclient/python-neutronclient-11.1.0.ebuild index af5177da0575..ee4461b21494 100644 --- a/dev-python/python-neutronclient/python-neutronclient-11.1.0.ebuild +++ b/dev-python/python-neutronclient/python-neutronclient-11.1.0.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +KEYWORDS="amd64 ~arm arm64 ~riscv x86" RDEPEND=" >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] diff --git a/dev-python/python-socks/Manifest b/dev-python/python-socks/Manifest index b2205a90d2ab..c25ba3ae9dea 100644 --- a/dev-python/python-socks/Manifest +++ b/dev-python/python-socks/Manifest @@ -1 +1,2 @@ DIST python-socks-2.4.3.gh.tar.gz 32006 BLAKE2B 571c04e5b12ddff3e6d813b547b43899883ef132ad0e55c2fce33ae9e4cd63ca588fb700aba7e2ea5c021f55c7aeae0f8213d2aa8fca3d7bff502b7bd00ca854 SHA512 5ef55367b1fae2249690df0eb8ea55284f02287115b14e8b7ebeeed9ae3e8ed431e17247f369323651daa1177ac8c6dd207d5dd188134e04eff178dc240b9b8b +DIST python-socks-2.4.4.gh.tar.gz 31998 BLAKE2B c3aa137ff679790420ded9644987eed23695c82a5621c420350ad52ca8121215326575f4c389912fb646151fc84187bfab38674ff6dc2a2f3587c4662f51c0f6 SHA512 a357fbd16cf653555bb624103732041efa80b1ae21a6347fdcb609de3cc58227ac053d21b62124fd77b21a16b19a2786bc1a8c33cc3b50dcffb3023bd6704f57 diff --git a/dev-python/python-socks/python-socks-2.4.4.ebuild b/dev-python/python-socks/python-socks-2.4.4.ebuild new file mode 100644 index 000000000000..97cc38b5cfe5 --- /dev/null +++ b/dev-python/python-socks/python-socks-2.4.4.ebuild @@ -0,0 +1,46 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="SOCKS4, SOCKS5, HTTP tunneling functionality for Python" +HOMEPAGE=" + https://github.com/romis2012/python-socks/ + https://pypi.org/project/python-socks/ +" +SRC_URI=" + https://github.com/romis2012/python-socks/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +# curio is not packaged +# asyncio is the only backend we have, so dep on its deps unconditionally +# TODO: revisit +RDEPEND=" + dev-python/async-timeout[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/anyio-3.4.0[${PYTHON_USEDEP}] + >=dev-python/async-timeout-3.0.1[${PYTHON_USEDEP}] + >=dev-python/flask-1.1.2[${PYTHON_USEDEP}] + >=dev-python/pytest-asyncio-0.18.3[${PYTHON_USEDEP}] + >=dev-python/pytest-trio-0.7.0[${PYTHON_USEDEP}] + >=dev-python/tiny-proxy-0.1.1[${PYTHON_USEDEP}] + >=dev-python/trio-0.16.0[${PYTHON_USEDEP}] + >=dev-python/trustme-0.9.0[${PYTHON_USEDEP}] + >=dev-python/yarl-1.4.2[${PYTHON_USEDEP}] + ) +" + +# Test markers exist to exclude trio etc if needed +distutils_enable_tests pytest diff --git a/dev-python/pythran/pythran-0.13.1.ebuild b/dev-python/pythran/pythran-0.13.1.ebuild index fc681a4b4780..b687f706e1e0 100644 --- a/dev-python/pythran/pythran-0.13.1.ebuild +++ b/dev-python/pythran/pythran-0.13.1.ebuild @@ -23,7 +23,7 @@ S=${WORKDIR}/${MY_P} LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 arm arm64 ~ia64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos" +KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos" RDEPEND=" dev-libs/boost diff --git a/dev-python/quantities/Manifest b/dev-python/quantities/Manifest index f2ffa4b2f7be..9234c2febf88 100644 --- a/dev-python/quantities/Manifest +++ b/dev-python/quantities/Manifest @@ -1 +1,2 @@ DIST python-quantities-0.14.1.gh.tar.gz 84275 BLAKE2B 7760a46f9f893a87badcbfd8aaad6a5598013b0cc835f17e0b788d3329be35702532fa17dc581ab0db4064292d6521d39d3ada7819c9a6c7b0e8a9b568d343dd SHA512 16c12110c2a705e4016d9575beb7f3322c3590cd12091a2710eca48fd6927b07b0d564ef93eb8af0b21688a0e86df1e60abb45625234abfaf1fa414e8b9fd110 +DIST python-quantities-0.15.0.gh.tar.gz 91327 BLAKE2B b75371e99b0f270d97cf6e9b80df1e7a0afa8ae8eb5d18750196e9b874737d58d3e3189ef9fdca4b312d24a19b406fe21f7eb304f0c1f11987873528190ca2e4 SHA512 987fb30d25a7b14e681d6eb963fc2cc68f954d017eca256739e897062249fce606adcb3224e3c8f0d371e49904caef7171a9a8ba4a7e60baa2fe063004846439 diff --git a/dev-python/quantities/quantities-0.15.0.ebuild b/dev-python/quantities/quantities-0.15.0.ebuild new file mode 100644 index 000000000000..0447b2b62a50 --- /dev/null +++ b/dev-python/quantities/quantities-0.15.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 + +MY_P="python-quantities-${PV}" +DESCRIPTION="Support for physical quantities with units, based on numpy" +HOMEPAGE=" + https://github.com/python-quantities/python-quantities/ + https://pypi.org/project/quantities/ +" +SRC_URI=" + https://github.com/python-quantities/python-quantities/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/numpy-1.20[$PYTHON_USEDEP] +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +python_test() { + epytest --pyargs quantities.tests +} diff --git a/dev-python/requests-cache/Manifest b/dev-python/requests-cache/Manifest index 830fe161ad1a..7b1ca6f42075 100644 --- a/dev-python/requests-cache/Manifest +++ b/dev-python/requests-cache/Manifest @@ -1,2 +1 @@ -DIST requests-cache-1.1.0.gh.tar.gz 2918734 BLAKE2B 4f420a607631568b40999a904598504e0917f50f33715d1d041e0c11dc196abc88cf96ed57860632a1e1f1fb74f3fcabde3df6096821dc0a0967aabca868f7ad SHA512 8fa9fdf4f47d67a6ad877fc181e04378b4540b35cef200735caff14e4907519aa5de74acaf61c6588856d5c8b2f9529768250a8e5fe28962b7861daf2279bb94 DIST requests-cache-1.1.1.gh.tar.gz 2927360 BLAKE2B 2db8b71d4f219f2b61e4477a57af9dee09783ea47e86dfcc7b7726acb2507043186433ee6a9f67162c0a01c5f1439fd52ea9b74b89daa94cbe351341ef6b1f53 SHA512 99782fe635daa0834709b254b0d51c5d2b2ad37d26201acdc143f963b613bb6b4e5863e2246a2bf9d099c773e229157a983b04a40740e6207e2c356dc48bdba6 diff --git a/dev-python/requests-cache/requests-cache-1.1.0.ebuild b/dev-python/requests-cache/requests-cache-1.1.0.ebuild deleted file mode 100644 index 3ac77ee8d524..000000000000 --- a/dev-python/requests-cache/requests-cache-1.1.0.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) -PYTHON_REQ_USE="sqlite" - -inherit distutils-r1 optfeature - -HOMEPAGE=" - https://pypi.org/project/requests-cache/ - https://github.com/requests-cache/requests-cache/ -" -DESCRIPTION="Persistent cache for requests library" -SRC_URI=" - https://github.com/requests-cache/requests-cache/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86" - -RDEPEND=" - dev-python/attrs[${PYTHON_USEDEP}] - >=dev-python/cattrs-22.2[${PYTHON_USEDEP}] - >=dev-python/platformdirs-2.5[${PYTHON_USEDEP}] - >=dev-python/requests-2.0.0[${PYTHON_USEDEP}] - dev-python/urllib3[${PYTHON_USEDEP}] - >=dev-python/url-normalize-1.4[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/itsdangerous[${PYTHON_USEDEP}] - dev-python/pytest-httpbin[${PYTHON_USEDEP}] - dev-python/requests-mock[${PYTHON_USEDEP}] - dev-python/responses[${PYTHON_USEDEP}] - >=dev-python/rich-10.0[${PYTHON_USEDEP}] - dev-python/timeout-decorator[${PYTHON_USEDEP}] - >=dev-python/ujson-5.4[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/time-machine[${PYTHON_USEDEP}] - ' 'python*') - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_IGNORE=( - # These require extra servers running - tests/integration/test_dynamodb.py - tests/integration/test_gridfs.py - tests/integration/test_mongodb.py - tests/integration/test_redis.py - ) - local EPYTEST_DESELECT=( - # Requires Internet access - tests/integration/test_upgrade.py::test_version_upgrade - ) - - case ${EPYTHON} in - python3.12) - # https://github.com/requests-cache/requests-cache/issues/845 - EPYTEST_DESELECT+=( - tests/integration/test_memory.py::TestMemoryCache::test_response_no_duplicate_read - tests/integration/test_sqlite.py::TestSQLiteCache::test_concurrency - ) - ;; - esac - - local -x USE_PYTEST_HTTPBIN=true - epytest -} - -pkg_postinst() { - optfeature "redis backend" "dev-python/redis" - optfeature "MongoDB backend" "dev-python/pymongo" - - optfeature "JSON serialization" "dev-python/ujson" - optfeature "YAML serialization" "dev-python/pyyaml" - optfeature "signing serialized data" "dev-python/itsdangerous" -} diff --git a/dev-python/requests-cache/requests-cache-1.1.1.ebuild b/dev-python/requests-cache/requests-cache-1.1.1.ebuild index ed38b04c6495..6dc606ade2b3 100644 --- a/dev-python/requests-cache/requests-cache-1.1.1.ebuild +++ b/dev-python/requests-cache/requests-cache-1.1.1.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86" RDEPEND=" dev-python/attrs[${PYTHON_USEDEP}] diff --git a/dev-python/rich/Manifest b/dev-python/rich/Manifest index 666481a284dc..38f6ca2b143a 100644 --- a/dev-python/rich/Manifest +++ b/dev-python/rich/Manifest @@ -1,5 +1,2 @@ DIST rich-13.4.2.gh.tar.gz 15063000 BLAKE2B f65079440bc7d89a3ff03be01fa71e076493ae50f22ae8781be2448a7ff2769c174d6654db3a835d34720c34cd8cbecfdd6b13e3064cf7fdcade71806563309d SHA512 17052a9fb0e1d89b31a00d8a719214719891d048fd805185b2d4258c8766130f44bf2280c9567bc162f3b34d9bf2eb7d747d6a37d910c81cd53d3003b51f70bd -DIST rich-13.5.2.gh.tar.gz 15064941 BLAKE2B 64f7e879588c42db9ac4f2173647143722c1de4865479b975ac5362e8073f60b493193abb0f50fb0d85923fdbe4145b2331fff7564ab78e3b43bc3a1be9d461c SHA512 60dfc66836f277763695611f6a3890da21afbb84bd85f38952efdac78680a8e3faca2e8c0aa937d618f876df1f36d3e67986979aa4fa9b6cb7dfb214f348b8aa -DIST rich-13.5.3.gh.tar.gz 15065440 BLAKE2B cba268b36499c0f65980ba7b7ce327c53d598b856a39e6c69989b55d488eb0bbe305b6ebf1ca0370251aa8f9ec7dacc6bdee612587a9ace9c66f19d91fdc20b8 SHA512 acae49b796c8ff310b272bca43ce925fe717ddc6252dec20784a4730e63e9c0f81f459ee40b152c001ad0a512e47dddaadbb8fbb949ced262e2d5429b6396344 -DIST rich-13.6.0.gh.tar.gz 15055370 BLAKE2B f9182d45ee5ebd802e0b5a02de7a8c27b98770fc97be7ad098aa0c77076bfe38af8d9434bcf961dd300718e1f4e14ee8bf669a89e8f7a24cd4d9817e11552f81 SHA512 6b954205b3cf5f2b7afd35b2b4f022c973206c8073e6c3f20979e015ebd64359576962d5bd3b29e5feb1dfed54f72def6c7c5d51d7940ed280022cf273b515ec DIST rich-13.7.0.gh.tar.gz 15057791 BLAKE2B d474b5817c0e64143313a1d0b66ef0953990196ecef6b0fd62d82828902008fa7293290c7f43c605a0c897ecebecb84e816583da8921cd31fc56c902ead2f5c9 SHA512 c5c432bd73b0c28d9585bce2e122d6b9da0a0744ea7824b4682948f11e153dfc615f5ed94d9531ced422298d352371fba5f25ddf16ca7a1d669f799ab361d984 diff --git a/dev-python/rich/files/rich-13.7.0-nocolor.patch b/dev-python/rich/files/rich-13.7.0-nocolor.patch new file mode 100644 index 000000000000..77aafa8294d1 --- /dev/null +++ b/dev-python/rich/files/rich-13.7.0-nocolor.patch @@ -0,0 +1,51 @@ +From 7d79acbabf3d9836a4bd9e7296d6f6dd6a222fb7 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= +Date: Sat, 9 Dec 2023 15:25:21 +0100 +Subject: [PATCH] Fix running tests in environment with FORCE_COLOR or NO_COLOR + set + +Ensure to unset FORCE_COLOR and NO_COLOR environment variables within +the scope of individual tests, in order to fix test failures when these +variables are set in the environment where tests are run, e.g. via: + + NO_COLOR=1 tox +--- + CHANGELOG.md | 6 ++++++ + tests/conftest.py | 8 ++++++++ + 2 files changed, 14 insertions(+) + create mode 100644 tests/conftest.py + +diff --git a/CHANGELOG.md b/CHANGELOG.md +index 9b0eecd7..af7354b4 100644 +--- a/CHANGELOG.md ++++ b/CHANGELOG.md +@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. + The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), + and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + ++## Unreleased ++ ++### Fixed ++ ++- Running tests in environment with `FORCE_COLOR` or `NO_COLOR` environment variables ++ + ## [13.7.0] - 2023-11-15 + + ### Added +diff --git a/tests/conftest.py b/tests/conftest.py +new file mode 100644 +index 00000000..52662964 +--- /dev/null ++++ b/tests/conftest.py +@@ -0,0 +1,8 @@ ++import pytest ++ ++ ++@pytest.fixture(autouse=True) ++def reset_color_envvars(monkeypatch): ++ """Remove color-related envvars to fix test output""" ++ monkeypatch.delenv("FORCE_COLOR", raising=False) ++ monkeypatch.delenv("NO_COLOR", raising=False) +-- +2.43.0 + diff --git a/dev-python/rich/rich-13.5.2.ebuild b/dev-python/rich/rich-13.5.2.ebuild deleted file mode 100644 index 8e9d077edb5d..000000000000 --- a/dev-python/rich/rich-13.5.2.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{8,9,10,11,12} 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 ~ia64 ~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}] -" - -distutils_enable_tests pytest - -python_test() { - local -x COLUMNS=80 - local EPYTEST_DESELECT=( - # TODO - tests/test_console.py::test_size_can_fall_back_to_std_descriptors - tests/test_inspect.py::test_inspect_integer_with_methods_python38_and_python39 - # pygments? - tests/test_syntax.py::test_python_render_simple_indent_guides - tests/test_syntax.py::test_python_render_line_range_indent_guides - ) - # 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.12) - EPYTEST_DESELECT+=( - tests/test_inspect.py::test_inspect_builtin_function_except_python311 - tests/test_inspect.py::test_inspect_integer_with_methods_python310only - tests/test_inspect.py::test_inspect_integer_with_methods_python311_and_above - tests/test_pretty.py::test_attrs_broken - ) - ;; - esac - epytest -p no:pytest-qt -} - -pkg_postinst() { - optfeature "integration with HTML widgets for Jupyter" dev-python/ipywidgets -} diff --git a/dev-python/rich/rich-13.5.3.ebuild b/dev-python/rich/rich-13.5.3.ebuild deleted file mode 100644 index 034ff57544bf..000000000000 --- a/dev-python/rich/rich-13.5.3.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{8,9,10,11,12} 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 ~ia64 ~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}] -" - -distutils_enable_tests pytest - -python_test() { - local -x COLUMNS=80 - local EPYTEST_DESELECT=( - # TODO - tests/test_console.py::test_size_can_fall_back_to_std_descriptors - tests/test_inspect.py::test_inspect_integer_with_methods_python38_and_python39 - # pygments? - tests/test_syntax.py::test_python_render_simple_indent_guides - tests/test_syntax.py::test_python_render_line_range_indent_guides - tests/test_card.py::test_card_render - tests/test_markdown.py::test_markdown_render - tests/test_markdown_no_hyperlinks.py::test_markdown_render - tests/test_syntax.py::test_python_render - tests/test_syntax.py::test_python_render_simple - tests/test_syntax.py::test_python_render_simple_passing_lexer_instance - tests/test_syntax.py::test_python_render_indent_guides - tests/test_syntax.py::test_option_no_wrap - tests/test_syntax.py::test_syntax_highlight_ranges - ) - # 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.12) - EPYTEST_DESELECT+=( - tests/test_inspect.py::test_inspect_builtin_function_except_python311 - tests/test_inspect.py::test_inspect_integer_with_methods_python310only - tests/test_inspect.py::test_inspect_integer_with_methods_python311_and_above - tests/test_pretty.py::test_attrs_broken - ) - ;; - esac - epytest -p no:pytest-qt -} - -pkg_postinst() { - optfeature "integration with HTML widgets for Jupyter" dev-python/ipywidgets -} diff --git a/dev-python/rich/rich-13.6.0.ebuild b/dev-python/rich/rich-13.6.0.ebuild deleted file mode 100644 index d23233dc02eb..000000000000 --- a/dev-python/rich/rich-13.6.0.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{8,9,10,11,12} 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 ~ia64 ~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}] -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # TODO - tests/test_console.py::test_size_can_fall_back_to_std_descriptors - ) - # 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 - ) - ;; - 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.7.0.ebuild b/dev-python/rich/rich-13.7.0.ebuild index 732e5201bb92..5435947c72dd 100644 --- a/dev-python/rich/rich-13.7.0.ebuild +++ b/dev-python/rich/rich-13.7.0.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" dev-python/colorama[${PYTHON_USEDEP}] @@ -30,6 +30,11 @@ RDEPEND=" distutils_enable_tests pytest +PATCHES=( + # https://github.com/Textualize/rich/pull/3226 + "${FILESDIR}/${P}-nocolor.patch" +) + python_test() { local EPYTEST_DESELECT=( # TODO diff --git a/dev-python/scipy/Manifest b/dev-python/scipy/Manifest index 456596767a77..6ec7c7daf817 100644 --- a/dev-python/scipy/Manifest +++ b/dev-python/scipy/Manifest @@ -1,9 +1,4 @@ -DIST scipy-1.10.1.tar.gz 42407997 BLAKE2B 807dceb1e056a1a2c0ec354e4e21f64e59cdab9eaf286cec3783bb93bf80efa00a71e7bd8d1898e8a2fdf86b614f035a0a97436dc4515574d73d9d4521824316 SHA512 767e1dee6285d98e4d58d8d8d1e3654b00e3216e9ad55455fc9473f1d044bef80ecce749bcd24d8f331367b882c9c3e6b652a6e901bb4296ddc7cc44699215b6 -DIST scipy-1.11.0.tar.gz 56030121 BLAKE2B e700bf8f9cffa7bc0f4832722010dcf2e03d8f93d13534f7f85734394c02536c1427cae5a097b59616f0873ba941579fcf2efd0baafc2037d9eca1f93362d38b SHA512 248cfbbedba73925b0461bf0f96c4a11bd4cfc7849cb18c58f6405074796ab0efdc4f056c58d344cb8833c0d2c6425f84e7ac6fe958cf98b1cc0bf16e7ff2444 -DIST scipy-1.11.1.tar.gz 56031509 BLAKE2B 456a80103f8c31c456f80e06b25d765f7ad5655dbdd49e99f476e78273f4291c578a8e99fda3f3a1e848c0e75e08629a09a8146b4a798e85edcaffb7ed1d34a9 SHA512 2859fc73c4fef713497f450b76a57d274bb46477a08ac909714823225f065a13c1e42a61ce67575cfc475e1e4612090cc4ca0920411fe32370c5b5c476352f97 -DIST scipy-1.11.2.tar.gz 56045065 BLAKE2B c92a27ef7b560c17bea7dbbc5ca7e192cc7ee8297b65887c3bad50509cca0f83314b688e8c9ef14228c7891e4c16e9d45920de7cb39a0456c7712ae752839203 SHA512 f6902d48617827d01f69c057f3c4790c7388bc58df0791ade96e073740253bc0529475f9fc22d00c23c0b649acaeb820792528d3805d0ac68588c329aa87b3f2 DIST scipy-1.11.3.tar.gz 56335652 BLAKE2B 2b35c24522b2bd498b4ebe84a854c8ec1e62917e7b899b3e3526abb9780c1e56f8e776a3bb1eab1bedb17a273fac881e5ffdaac808084a4f5a5f97428bff1029 SHA512 6491c4e479d9f4f02e677396a25ddca947a0dc6c009fc2ec34c658012a6224c0b535f14045bb011fbde9973ea987d184574ed64e6760c31798ec860eb0896fcf DIST scipy-1.11.4.tar.gz 56336202 BLAKE2B a2091a1edb54eb73c2de6ed8c62a7e571f37b247c9af50947aa97b739342c96b87b20a82b1a238c859fa532c84249cbadde228366dcea3555e9a506c1ae55031 SHA512 2eb403f6de9723b411d948b8e1b5457078704c605b8e760d42362c82d802e167eaaf701ddb8b480af2bdf2efe4dbf66fcc4e97321519bb8dab19b0e2a8976beb -DIST scipy-html-1.10.1.zip 49191107 BLAKE2B 5163ae3a62745992bcf94ab02ca2bb13fcf6d2ae0eb2a113ba29bc37a8e8f40ec70e39fe16e6371ce0bc31d4c8f0f46746be91b4fe2ad41c68a985c6f00fb8e7 SHA512 f3252452d3bfd400890f29460de2f97bf72732e0fc864582e906b78808e856ead5b1bf97cba531f2150e396408e585499d127004231421d20108e96040316232 DIST scipy-html-1.11.0.zip 50421508 BLAKE2B cb5e4a4f8817a80f54ae73b4a47ba22d2438df46ebfe27ef5fdc2695fdd983226f4ccae925bf82b15d01ced4f4b6807384ecadac5e1aa7700aa887ad06b7d065 SHA512 33718bbd5e828687d93fccc441a53b6a2e8f54ac4952d3b69d4c4668f55cb6ef5aba33df9acda20b2400effa5ae71767b2a5602a365ad2045a6edd24ff89c253 DIST scipy-html-1.11.2.zip 50435722 BLAKE2B 460c67509a8bf50986f866ee2f90e634af21ddd71508efeef5681c2ee2130c3f79b4b428bc21277bfb310bb45ccad1fb38221ada43620055377cdc4839b9d1e5 SHA512 986a6e37f9e01dc4925ef22af6ff660bae1e4b66e57270262974c207dfb70285e3f8f548774d6e81d5f457b9198c0ba1c06e6d689fe5d54fdea878c1e5a7f797 diff --git a/dev-python/scipy/scipy-1.10.1.ebuild b/dev-python/scipy/scipy-1.10.1.ebuild deleted file mode 100644 index 2a2b62d991ba..000000000000 --- a/dev-python/scipy/scipy-1.10.1.ebuild +++ /dev/null @@ -1,121 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -FORTRAN_NEEDED=fortran -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=meson-python -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) -PYTHON_REQ_USE="threads(+)" - -inherit fortran-2 distutils-r1 multiprocessing - -DESCRIPTION="Scientific algorithms library for Python" -HOMEPAGE=" - https://scipy.org/ - https://github.com/scipy/scipy/ - https://pypi.org/project/scipy/ -" - -if [[ ${PV} == *9999* ]] ; then - inherit git-r3 - - # Need submodules, so git for now. - EGIT_REPO_URI="https://github.com/scipy/scipy" - EGIT_BRANCH="maintenance/$(ver_cut 1-2).x" - EGIT_SUBMODULES=( '*' ) -else - inherit pypi - - # Upstream is often behind with doc updates - DOC_PV=${PV} - - SRC_URI+=" - doc? ( - https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-html-${DOC_PV}.zip - )" - - if [[ ${PV} != *rc* ]] ; then - KEYWORDS="amd64 arm arm64 -hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~s390 ~sparc x86" - fi -fi - -LICENSE="BSD LGPL-2" -SLOT="0" -IUSE="doc +fortran test-rust" - -# umfpack is technically optional but it's preferred to have it available. -DEPEND=" - >=dev-python/numpy-1.19.5[lapack,${PYTHON_USEDEP}] - sci-libs/arpack:= - sci-libs/umfpack - virtual/cblas - >=virtual/lapack-3.8 -" -RDEPEND=" - ${DEPEND} - dev-python/pillow[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-lang/swig - >=dev-python/cython-0.29.18[${PYTHON_USEDEP}] - >=dev-python/meson-python-0.11[${PYTHON_USEDEP}] - dev-python/pybind11[${PYTHON_USEDEP}] - >=dev-util/meson-0.62.2 - dev-util/patchelf - virtual/pkgconfig - doc? ( app-arch/unzip ) - fortran? ( dev-python/pythran[${PYTHON_USEDEP}] ) - test? ( - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) - test-rust? ( - dev-python/pooch[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_unpack() { - default - - if use doc; then - unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die - fi -} - -python_configure_all() { - export SCIPY_USE_PYTHRAN=$(usex fortran 1 0) - DISTUTILS_ARGS=( - -Dblas=blas - -Dlapack=lapack - ) -} - -python_test() { - cd "${BUILD_DIR}/install$(python_get_sitedir)" || die - - local EPYTEST_DESELECT=( - # Network - scipy/datasets/tests/test_data.py::TestDatasets::test_existence_all - scipy/datasets/tests/test_data.py::TestDatasets::test_ascent - scipy/datasets/tests/test_data.py::TestDatasets::test_face - scipy/datasets/tests/test_data.py::TestDatasets::test_electrocardiogram - ) - local EPYTEST_IGNORE=() - - if ! has_version -b "dev-python/pooch[${PYTHON_USEDEP}]" ; then - EPYTEST_IGNORE+=( - scipy/datasets/tests/test_data.py - ) - fi - - epytest -n "$(makeopts_jobs)" scipy -} - -python_install_all() { - use doc && local HTML_DOCS=( "${WORKDIR}"/html/. ) - - distutils-r1_python_install_all -} diff --git a/dev-python/scipy/scipy-1.11.0-r1.ebuild b/dev-python/scipy/scipy-1.11.0-r1.ebuild deleted file mode 100644 index 483f2e238796..000000000000 --- a/dev-python/scipy/scipy-1.11.0-r1.ebuild +++ /dev/null @@ -1,128 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -FORTRAN_NEEDED=fortran -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=meson-python -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) -PYTHON_REQ_USE="threads(+)" - -inherit fortran-2 distutils-r1 multiprocessing - -DESCRIPTION="Scientific algorithms library for Python" -HOMEPAGE=" - https://scipy.org/ - https://github.com/scipy/scipy/ - https://pypi.org/project/scipy/ -" - -if [[ ${PV} == *9999* ]] ; then - inherit git-r3 - - # Need submodules, so git for now. - EGIT_REPO_URI="https://github.com/scipy/scipy" - EGIT_BRANCH="maintenance/$(ver_cut 1-2).x" - EGIT_SUBMODULES=( '*' ) -else - inherit pypi - - # Upstream is often behind with doc updates - DOC_PV=${PV} - - SRC_URI+=" - doc? ( - https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-html-${DOC_PV}.zip - )" - - if [[ ${PV} != *rc* ]] ; then - KEYWORDS="~amd64 ~arm ~arm64 -hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - fi -fi - -LICENSE="BSD LGPL-2" -SLOT="0" -IUSE="doc +fortran test-rust" - -# umfpack is technically optional but it's preferred to have it available. -DEPEND=" - >=dev-python/numpy-1.21.6[lapack,${PYTHON_USEDEP}] - sci-libs/arpack:= - sci-libs/umfpack - virtual/cblas - >=virtual/lapack-3.8 -" -RDEPEND=" - ${DEPEND} - dev-python/pillow[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-lang/swig - >=dev-python/cython-0.29.35[${PYTHON_USEDEP}] - >=dev-python/meson-python-0.12.1[${PYTHON_USEDEP}] - >=dev-python/pybind11-2.10.4[${PYTHON_USEDEP}] - >=dev-util/meson-1.1.0 - dev-util/patchelf - virtual/pkgconfig - doc? ( app-arch/unzip ) - fortran? ( dev-python/pythran[${PYTHON_USEDEP}] ) - test? ( - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) - test-rust? ( - dev-python/pooch[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -PATCHES=( - "${FILESDIR}"/${P}-determinant-1x1-matrix.patch -) - -src_unpack() { - default - - if use doc; then - unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die - fi -} - -python_configure_all() { - DISTUTILS_ARGS=( - -Dblas=blas - -Dlapack=lapack - -Duse-pythran=$(usex fortran true false) - ) -} - -python_test() { - cd "${BUILD_DIR}/install$(python_get_sitedir)" || die - - local EPYTEST_DESELECT=( - # Network - scipy/datasets/tests/test_data.py::TestDatasets::test_existence_all - scipy/datasets/tests/test_data.py::TestDatasets::test_ascent - scipy/datasets/tests/test_data.py::TestDatasets::test_face - scipy/datasets/tests/test_data.py::TestDatasets::test_electrocardiogram - - # Precision issue with diff. blas? - scipy/optimize/tests/test__basinhopping.py::Test_Metropolis::test_gh7799 - ) - local EPYTEST_IGNORE=() - - if ! has_version -b "dev-python/pooch[${PYTHON_USEDEP}]" ; then - EPYTEST_IGNORE+=( - scipy/datasets/tests/test_data.py - ) - fi - - epytest -n "$(makeopts_jobs)" scipy -} - -python_install_all() { - use doc && local HTML_DOCS=( "${WORKDIR}"/html/. ) - - distutils-r1_python_install_all -} diff --git a/dev-python/scipy/scipy-1.11.1.ebuild b/dev-python/scipy/scipy-1.11.1.ebuild deleted file mode 100644 index 8b34dd45739a..000000000000 --- a/dev-python/scipy/scipy-1.11.1.ebuild +++ /dev/null @@ -1,130 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -FORTRAN_NEEDED=fortran -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=meson-python -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) -PYTHON_REQ_USE="threads(+)" - -inherit fortran-2 distutils-r1 multiprocessing - -DESCRIPTION="Scientific algorithms library for Python" -HOMEPAGE=" - https://scipy.org/ - https://github.com/scipy/scipy/ - https://pypi.org/project/scipy/ -" - -if [[ ${PV} == *9999* ]] ; then - inherit git-r3 - - # Need submodules, so git for now. - EGIT_REPO_URI="https://github.com/scipy/scipy" - EGIT_BRANCH="maintenance/$(ver_cut 1-2).x" - EGIT_SUBMODULES=( '*' ) -else - inherit pypi - - # Upstream is often behind with doc updates - #DOC_PV=${PV} - DOC_PV=1.11.0 - - SRC_URI+=" - doc? ( - https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-html-${DOC_PV}.zip - )" - - if [[ ${PV} != *rc* ]] ; then - KEYWORDS="amd64 arm arm64 -hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" - fi -fi - -LICENSE="BSD LGPL-2" -SLOT="0" -IUSE="doc +fortran test-rust" - -# umfpack is technically optional but it's preferred to have it available. -DEPEND=" - >=dev-python/numpy-1.21.6[lapack,${PYTHON_USEDEP}] - sci-libs/arpack:= - sci-libs/umfpack - virtual/cblas - >=virtual/lapack-3.8 -" -RDEPEND=" - ${DEPEND} - dev-python/pillow[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-lang/swig - >=dev-python/cython-0.29.35[${PYTHON_USEDEP}] - >=dev-python/meson-python-0.12.1[${PYTHON_USEDEP}] - >=dev-python/pybind11-2.10.4[${PYTHON_USEDEP}] - >=dev-util/meson-1.1.0 - !kernel_Darwin? ( dev-util/patchelf ) - virtual/pkgconfig - doc? ( app-arch/unzip ) - fortran? ( dev-python/pythran[${PYTHON_USEDEP}] ) - test? ( - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) - test-rust? ( - dev-python/pooch[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -PATCHES=( - # https://github.com/scipy/scipy/pull/18810 - "${FILESDIR}/${P}-cython-3.patch" -) - -src_unpack() { - default - - if use doc; then - unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die - fi -} - -python_configure_all() { - DISTUTILS_ARGS=( - -Dblas=blas - -Dlapack=lapack - -Duse-pythran=$(usex fortran true false) - ) -} - -python_test() { - cd "${BUILD_DIR}/install$(python_get_sitedir)" || die - - local EPYTEST_DESELECT=( - # Network - scipy/datasets/tests/test_data.py::TestDatasets::test_existence_all - scipy/datasets/tests/test_data.py::TestDatasets::test_ascent - scipy/datasets/tests/test_data.py::TestDatasets::test_face - scipy/datasets/tests/test_data.py::TestDatasets::test_electrocardiogram - - # Precision issue with diff. blas? - scipy/optimize/tests/test__basinhopping.py::Test_Metropolis::test_gh7799 - ) - local EPYTEST_IGNORE=() - - if ! has_version -b "dev-python/pooch[${PYTHON_USEDEP}]" ; then - EPYTEST_IGNORE+=( - scipy/datasets/tests/test_data.py - ) - fi - - epytest -n "$(makeopts_jobs)" scipy -} - -python_install_all() { - use doc && local HTML_DOCS=( "${WORKDIR}"/html/. ) - - distutils-r1_python_install_all -} diff --git a/dev-python/scipy/scipy-1.11.2.ebuild b/dev-python/scipy/scipy-1.11.2.ebuild deleted file mode 100644 index 511a9df5ff9c..000000000000 --- a/dev-python/scipy/scipy-1.11.2.ebuild +++ /dev/null @@ -1,125 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -FORTRAN_NEEDED=fortran -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=meson-python -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) -PYTHON_REQ_USE="threads(+)" - -inherit fortran-2 distutils-r1 multiprocessing - -DESCRIPTION="Scientific algorithms library for Python" -HOMEPAGE=" - https://scipy.org/ - https://github.com/scipy/scipy/ - https://pypi.org/project/scipy/ -" - -if [[ ${PV} == *9999* ]] ; then - inherit git-r3 - - # Need submodules, so git for now. - EGIT_REPO_URI="https://github.com/scipy/scipy" - EGIT_BRANCH="maintenance/$(ver_cut 1-2).x" - EGIT_SUBMODULES=( '*' ) -else - inherit pypi - - # Upstream is often behind with doc updates - #DOC_PV=${PV} - DOC_PV=1.11.0 - - SRC_URI+=" - doc? ( - https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-html-${DOC_PV}.zip - )" - - if [[ ${PV} != *rc* ]] ; then - KEYWORDS="amd64 arm arm64 -hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" - fi -fi - -LICENSE="BSD LGPL-2" -SLOT="0" -IUSE="doc +fortran test-rust" - -# umfpack is technically optional but it's preferred to have it available. -DEPEND=" - >=dev-python/numpy-1.21.6[lapack,${PYTHON_USEDEP}] - sci-libs/arpack:= - sci-libs/umfpack - virtual/cblas - >=virtual/lapack-3.8 -" -RDEPEND=" - ${DEPEND} - dev-python/pillow[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-lang/swig - >=dev-python/cython-0.29.35[${PYTHON_USEDEP}] - >=dev-python/meson-python-0.12.1[${PYTHON_USEDEP}] - >=dev-python/pybind11-2.10.4[${PYTHON_USEDEP}] - >=dev-util/meson-1.1.0 - !kernel_Darwin? ( dev-util/patchelf ) - virtual/pkgconfig - doc? ( app-arch/unzip ) - fortran? ( dev-python/pythran[${PYTHON_USEDEP}] ) - test? ( - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) - test-rust? ( - dev-python/pooch[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_unpack() { - default - - if use doc; then - unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die - fi -} - -python_configure_all() { - DISTUTILS_ARGS=( - -Dblas=blas - -Dlapack=lapack - -Duse-pythran=$(usex fortran true false) - ) -} - -python_test() { - cd "${BUILD_DIR}/install$(python_get_sitedir)" || die - - local EPYTEST_DESELECT=( - # Network - scipy/datasets/tests/test_data.py::TestDatasets::test_existence_all - scipy/datasets/tests/test_data.py::TestDatasets::test_ascent - scipy/datasets/tests/test_data.py::TestDatasets::test_face - scipy/datasets/tests/test_data.py::TestDatasets::test_electrocardiogram - - # Precision issue with diff. blas? - scipy/optimize/tests/test__basinhopping.py::Test_Metropolis::test_gh7799 - ) - local EPYTEST_IGNORE=() - - if ! has_version -b "dev-python/pooch[${PYTHON_USEDEP}]" ; then - EPYTEST_IGNORE+=( - scipy/datasets/tests/test_data.py - ) - fi - - epytest -n "$(makeopts_jobs)" scipy -} - -python_install_all() { - use doc && local HTML_DOCS=( "${WORKDIR}"/html/. ) - - distutils-r1_python_install_all -} diff --git a/dev-python/scipy/scipy-1.11.3.ebuild b/dev-python/scipy/scipy-1.11.3.ebuild deleted file mode 100644 index 12682068d752..000000000000 --- a/dev-python/scipy/scipy-1.11.3.ebuild +++ /dev/null @@ -1,129 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -FORTRAN_NEEDED=fortran -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=meson-python -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) -PYTHON_REQ_USE="threads(+)" - -inherit fortran-2 distutils-r1 multiprocessing - -DESCRIPTION="Scientific algorithms library for Python" -HOMEPAGE=" - https://scipy.org/ - https://github.com/scipy/scipy/ - https://pypi.org/project/scipy/ -" - -if [[ ${PV} == *9999* ]] ; then - inherit git-r3 - - # Need submodules, so git for now. - EGIT_REPO_URI="https://github.com/scipy/scipy" - EGIT_BRANCH="maintenance/$(ver_cut 1-2).x" - EGIT_SUBMODULES=( '*' ) -else - inherit pypi - - # Upstream is often behind with doc updates - #DOC_PV=${PV} - DOC_PV=1.11.0 - - SRC_URI+=" - doc? ( - https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-html-${DOC_PV}.zip - )" - - if [[ ${PV} != *rc* ]] ; then - KEYWORDS="~amd64 ~arm ~arm64 -hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" - fi -fi - -LICENSE="BSD LGPL-2" -SLOT="0" -IUSE="doc +fortran test-rust" - -# umfpack is technically optional but it's preferred to have it available. -DEPEND=" - >=dev-python/numpy-1.21.6[lapack,${PYTHON_USEDEP}] - sci-libs/arpack:= - sci-libs/umfpack - virtual/cblas - >=virtual/lapack-3.8 -" -RDEPEND=" - ${DEPEND} - dev-python/pillow[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-lang/swig - >=dev-python/cython-0.29.35[${PYTHON_USEDEP}] - >=dev-python/meson-python-0.12.1[${PYTHON_USEDEP}] - >=dev-python/pybind11-2.10.4[${PYTHON_USEDEP}] - >=dev-util/meson-1.1.0 - !kernel_Darwin? ( dev-util/patchelf ) - virtual/pkgconfig - doc? ( app-arch/unzip ) - fortran? ( dev-python/pythran[${PYTHON_USEDEP}] ) - test? ( - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) - test-rust? ( - dev-python/pooch[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_unpack() { - default - - if use doc; then - unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die - fi -} - -python_configure_all() { - DISTUTILS_ARGS=( - -Dblas=blas - -Dlapack=lapack - -Duse-pythran=$(usex fortran true false) - ) -} - -python_test() { - cd "${BUILD_DIR}/install$(python_get_sitedir)" || die - - local EPYTEST_DESELECT=( - # Network - scipy/datasets/tests/test_data.py::TestDatasets::test_existence_all - scipy/datasets/tests/test_data.py::TestDatasets::test_ascent - scipy/datasets/tests/test_data.py::TestDatasets::test_face - scipy/datasets/tests/test_data.py::TestDatasets::test_electrocardiogram - - # Precision issue with diff. blas? - scipy/optimize/tests/test__basinhopping.py::Test_Metropolis::test_gh7799 - - # Crashes with assertion, not a regression - # https://github.com/scipy/scipy/issues/19321 - scipy/signal/tests/test_signaltools.py::test_lfilter_bad_object - ) - local EPYTEST_IGNORE=() - - if ! has_version -b "dev-python/pooch[${PYTHON_USEDEP}]" ; then - EPYTEST_IGNORE+=( - scipy/datasets/tests/test_data.py - ) - fi - - epytest -n "$(makeopts_jobs)" --dist=worksteal scipy -} - -python_install_all() { - use doc && local HTML_DOCS=( "${WORKDIR}"/html/. ) - - distutils-r1_python_install_all -} diff --git a/dev-python/scipy/scipy-1.11.4.ebuild b/dev-python/scipy/scipy-1.11.4.ebuild index 4136a5f97f56..9a6712bcce77 100644 --- a/dev-python/scipy/scipy-1.11.4.ebuild +++ b/dev-python/scipy/scipy-1.11.4.ebuild @@ -38,7 +38,7 @@ else )" if [[ ${PV} != *rc* ]] ; then - KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + KEYWORDS="amd64 arm ~arm64 ~loong ~ppc ppc64 ~riscv ~s390 ~sparc ~x86" fi fi diff --git a/dev-python/sentry-sdk/Manifest b/dev-python/sentry-sdk/Manifest index c68e054e7ee8..7ff78b681bfe 100644 --- a/dev-python/sentry-sdk/Manifest +++ b/dev-python/sentry-sdk/Manifest @@ -1,4 +1,2 @@ -DIST sentry-python-1.35.0.gh.tar.gz 438978 BLAKE2B 84d016fd24895eab240d97d99c5ac11f332f72c487b82205680513103d5a684ad25b4dbb6fe7863d681c965239079f1208b660a48bc21e508b57db04466e91b7 SHA512 fb136cb0542a9ca7db7e5bbcfe6178cdee90b80c634c9f1f54ad769b403fbe48ab9f23f66e33c1b7cc0f22d53811c0b1ae767604df5f2209c3568eebdc643b6a -DIST sentry-python-1.37.0.gh.tar.gz 447094 BLAKE2B 74299d4efb1842965facbb9d6a957f21c42909eac26545d2b4838be83641049cb277d6525052209e9c7d4d3801b99f75d7350c29b18c2e3909e16e7246056967 SHA512 6dd5be6561075646967c1b7b1fd9eeaf07fe45cd71a64898265d49b3a89a5ffcc3a0ceea8698e389b9e57f0dbe42073c6d3df947dc8bfd46cc3e269330dbe3a4 DIST sentry-python-1.37.1.gh.tar.gz 447142 BLAKE2B 16e495a69e4757520e4fa9854248f7fdd31056489b016d86a0f087b7a709fa70a1f9cf655c4e319e8a69cdedd138c34864d03907a7423be329dbd00f66a2c568 SHA512 193d20949ce87dc530bbc97a522fd0c8566ccd2d2f14287c8e903dd39bb8a19af7aa59de0bcb90f06375353c79cbc19af704a17844b2073860bc879d2b551542 DIST sentry-python-1.38.0.gh.tar.gz 448517 BLAKE2B de047d20e8dd90018a7ce8dd102efc7ce970bb269c04d643c67e9fb46a9ad9eebcd89b08dfe1f0782dc51f61478c6e472ed25262e8a2bca7cfb7e0d9936abe78 SHA512 dbdcb7f53ee8da6071befec7a619324c0baabb383bb000875992e82bca97d0f49c7a8836c91a2ae20ae814ed55bf485d01c4762a82761083a19b1db8557d6983 diff --git a/dev-python/sentry-sdk/sentry-sdk-1.35.0.ebuild b/dev-python/sentry-sdk/sentry-sdk-1.35.0.ebuild deleted file mode 100644 index e265326e7cf7..000000000000 --- a/dev-python/sentry-sdk/sentry-sdk-1.35.0.ebuild +++ /dev/null @@ -1,128 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 - -MY_P=sentry-python-${PV} -DESCRIPTION="Python client for Sentry" -HOMEPAGE=" - https://sentry.io/ - https://github.com/getsentry/sentry-python/ - https://pypi.org/project/sentry-sdk/ -" -SRC_URI=" - https://github.com/getsentry/sentry-python/archive/${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="PSF-2" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86" - -RDEPEND=" - dev-python/urllib3[${PYTHON_USEDEP}] - dev-python/certifi[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/asttokens[${PYTHON_USEDEP}] - dev-python/django[${PYTHON_USEDEP}] - dev-python/executing[${PYTHON_USEDEP}] - dev-python/fakeredis[${PYTHON_USEDEP}] - dev-python/flask-login[${PYTHON_USEDEP}] - dev-python/jsonschema[${PYTHON_USEDEP}] - dev-python/pyrsistent[${PYTHON_USEDEP}] - dev-python/pytest-aiohttp[${PYTHON_USEDEP}] - dev-python/pytest-django[${PYTHON_USEDEP}] - dev-python/pytest-forked[${PYTHON_USEDEP}] - dev-python/pytest-localserver[${PYTHON_USEDEP}] - dev-python/python-socks[${PYTHON_USEDEP}] - dev-python/responses[${PYTHON_USEDEP}] - dev-python/werkzeug[${PYTHON_USEDEP}] - dev-python/zope-event[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -PATCHES=( - "${FILESDIR}/sentry-sdk-1.21.0-ignore-warnings.patch" -) - -python_test() { - local EPYTEST_IGNORE=( - # tests require Internet access - tests/integrations/httpx/test_httpx.py - tests/integrations/requests/test_requests.py - tests/integrations/stdlib/test_httplib.py - tests/integrations/flask/test_flask.py - tests/integrations/django/test_basic.py - tests/integrations/socket/test_socket.py - # wtf is it supposed to do?! - tests/integrations/gcp/test_gcp.py - # broken by rq-1.10.1 (optional dep) - tests/integrations/rq/test_rq.py - # fastapi is not packaged - tests/integrations/asgi/test_fastapi.py - # TODO - tests/integrations/bottle - # TODO: causes breakage in other tests - tests/integrations/starlette - # TODO - tests/integrations/tornado - # requires mockupdb - tests/integrations/pymongo - # requires AWS access - tests/integrations/aws_lambda - ) - - local EPYTEST_DESELECT=( - # hangs - 'tests/test_transport.py::test_transport_works' - # TODO - 'tests/test_basics.py::test_auto_enabling_integrations_catches_import_error' - tests/test_client.py::test_databag_depth_stripping - tests/test_client.py::test_databag_string_stripping - tests/test_client.py::test_databag_breadth_stripping - tests/integrations/asgi/test_asgi.py::test_auto_session_tracking_with_aggregates - tests/integrations/asgi/test_asgi.py::test_websocket - tests/integrations/aiohttp/test_aiohttp.py::test_transaction_style - tests/integrations/aiohttp/test_aiohttp.py::test_traces_sampler_gets_request_object_in_sampling_context - tests/integrations/django/test_data_scrubbing.py::test_scrub_django_custom_session_cookies_filtered - # incompatible version? - tests/integrations/falcon/test_falcon.py - tests/integrations/sqlalchemy/test_sqlalchemy.py::test_large_event_not_truncated - tests/integrations/django/test_data_scrubbing.py::test_scrub_django_session_cookies_{filtered,removed} - # test_circular_references: apparently fragile - 'tests/integrations/threading/test_threading.py::test_circular_references' - # test for new feature, fails with IndexError - tests/integrations/wsgi/test_wsgi.py::test_session_mode_defaults_to_request_mode_in_wsgi_handler - # TODO - tests/integrations/wsgi/test_wsgi.py::test_auto_session_tracking_with_aggregates - tests/integrations/wsgi/test_wsgi.py::test_profile_sent_when_profiling_enabled - tests/test_profiler.py::test_sample_buffer - tests/test_profiler.py::test_thread_scheduler_takes_first_samples - tests/test_profiler.py::test_thread_scheduler_takes_more_samples - tests/test_profiler.py::test_thread_scheduler_single_background_thread - # broken with py3.11, *shrug* - tests/test_profiler.py::test_extract_stack_with_max_depth - # TODO - tests/integrations/sqlalchemy/test_sqlalchemy.py::test_long_sql_query_preserved - tests/integrations/sqlalchemy/test_sqlalchemy.py::test_engine_name_not_string - tests/test_scrubber.py::test_breadcrumb_extra_scrubbing - tests/test_scrubber.py::test_span_data_scrubbing - # this is not even funny - tests/integrations/modules/test_modules.py::test_installed_modules - # flaky hypothesis stuff - tests/test_serializer.py::test_bytes_serialization_repr_many - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p asyncio -p aiohttp -p pytest_forked -} diff --git a/dev-python/sentry-sdk/sentry-sdk-1.37.0.ebuild b/dev-python/sentry-sdk/sentry-sdk-1.37.0.ebuild deleted file mode 100644 index b88980e73c5d..000000000000 --- a/dev-python/sentry-sdk/sentry-sdk-1.37.0.ebuild +++ /dev/null @@ -1,131 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 - -MY_P=sentry-python-${PV} -DESCRIPTION="Python client for Sentry" -HOMEPAGE=" - https://sentry.io/ - https://github.com/getsentry/sentry-python/ - https://pypi.org/project/sentry-sdk/ -" -SRC_URI=" - https://github.com/getsentry/sentry-python/archive/${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="PSF-2" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" - -RDEPEND=" - dev-python/urllib3[${PYTHON_USEDEP}] - dev-python/certifi[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/asttokens[${PYTHON_USEDEP}] - dev-python/django[${PYTHON_USEDEP}] - dev-python/executing[${PYTHON_USEDEP}] - dev-python/fakeredis[${PYTHON_USEDEP}] - dev-python/flask-login[${PYTHON_USEDEP}] - dev-python/jsonschema[${PYTHON_USEDEP}] - dev-python/pyrsistent[${PYTHON_USEDEP}] - dev-python/pytest-aiohttp[${PYTHON_USEDEP}] - dev-python/pytest-django[${PYTHON_USEDEP}] - dev-python/pytest-forked[${PYTHON_USEDEP}] - dev-python/pytest-localserver[${PYTHON_USEDEP}] - dev-python/python-socks[${PYTHON_USEDEP}] - dev-python/responses[${PYTHON_USEDEP}] - dev-python/werkzeug[${PYTHON_USEDEP}] - dev-python/zope-event[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -PATCHES=( - "${FILESDIR}/sentry-sdk-1.21.0-ignore-warnings.patch" -) - -python_test() { - local EPYTEST_IGNORE=( - # tests require Internet access - tests/integrations/httpx/test_httpx.py - tests/integrations/requests/test_requests.py - tests/integrations/stdlib/test_httplib.py - tests/integrations/flask/test_flask.py - tests/integrations/django/test_basic.py - tests/integrations/socket/test_socket.py - # wtf is it supposed to do?! - tests/integrations/gcp/test_gcp.py - # broken by rq-1.10.1 (optional dep) - tests/integrations/rq/test_rq.py - # fastapi is not packaged - tests/integrations/asgi/test_fastapi.py - # TODO - tests/integrations/bottle - # TODO: causes breakage in other tests - tests/integrations/starlette - # TODO - tests/integrations/tornado - # requires mockupdb - tests/integrations/pymongo - # requires AWS access - tests/integrations/aws_lambda - ) - - local EPYTEST_DESELECT=( - # hangs - 'tests/test_transport.py::test_transport_works' - # TODO - 'tests/test_basics.py::test_auto_enabling_integrations_catches_import_error' - tests/test_client.py::test_databag_depth_stripping - tests/test_client.py::test_databag_string_stripping - tests/test_client.py::test_databag_breadth_stripping - tests/integrations/asgi/test_asgi.py::test_auto_session_tracking_with_aggregates - tests/integrations/asgi/test_asgi.py::test_websocket - tests/integrations/aiohttp/test_aiohttp.py::test_transaction_style - tests/integrations/aiohttp/test_aiohttp.py::test_traces_sampler_gets_request_object_in_sampling_context - tests/integrations/django/test_data_scrubbing.py::test_scrub_django_custom_session_cookies_filtered - # incompatible version? - tests/integrations/falcon/test_falcon.py - tests/integrations/sqlalchemy/test_sqlalchemy.py::test_large_event_not_truncated - tests/integrations/django/test_data_scrubbing.py::test_scrub_django_session_cookies_{filtered,removed} - # test_circular_references: apparently fragile - 'tests/integrations/threading/test_threading.py::test_circular_references' - # test for new feature, fails with IndexError - tests/integrations/wsgi/test_wsgi.py::test_session_mode_defaults_to_request_mode_in_wsgi_handler - # TODO - tests/integrations/wsgi/test_wsgi.py::test_auto_session_tracking_with_aggregates - tests/integrations/wsgi/test_wsgi.py::test_profile_sent_when_profiling_enabled - tests/test_profiler.py::test_sample_buffer - tests/test_profiler.py::test_thread_scheduler_takes_first_samples - tests/test_profiler.py::test_thread_scheduler_takes_more_samples - tests/test_profiler.py::test_thread_scheduler_single_background_thread - # broken with py3.11, *shrug* - tests/test_profiler.py::test_extract_stack_with_max_depth - # TODO - tests/integrations/sqlalchemy/test_sqlalchemy.py::test_long_sql_query_preserved - tests/integrations/sqlalchemy/test_sqlalchemy.py::test_engine_name_not_string - tests/test_scrubber.py::test_breadcrumb_extra_scrubbing - tests/test_scrubber.py::test_span_data_scrubbing - # this is not even funny - tests/test_utils.py::test_installed_modules - # flaky hypothesis stuff - tests/test_serializer.py::test_bytes_serialization_repr_many - # TODO - tests/integrations/aiohttp/test_aiohttp.py::test_basic - tests/tracing/test_decorator_py3.py::test_trace_decorator_{,a}sync_py3 - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p asyncio -p aiohttp -p pytest_forked -} diff --git a/dev-python/sentry-sdk/sentry-sdk-1.37.1.ebuild b/dev-python/sentry-sdk/sentry-sdk-1.37.1.ebuild index b88980e73c5d..32d28f27262c 100644 --- a/dev-python/sentry-sdk/sentry-sdk-1.37.1.ebuild +++ b/dev-python/sentry-sdk/sentry-sdk-1.37.1.ebuild @@ -23,7 +23,7 @@ S=${WORKDIR}/${MY_P} LICENSE="PSF-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86" RDEPEND=" dev-python/urllib3[${PYTHON_USEDEP}] diff --git a/dev-python/setuptools/Manifest b/dev-python/setuptools/Manifest index 5cbe453ab826..99fb197ad61d 100644 --- a/dev-python/setuptools/Manifest +++ b/dev-python/setuptools/Manifest @@ -1,4 +1 @@ -DIST setuptools-68.2.2.tar.gz 2203338 BLAKE2B 3d91bd4b4be1fb7a01b0cca1736187b80f9b07d0e647b49b483d6b8da55f69a678d2c910cde46bd9645dbd10b0b1d14c124d111817cbd7be8d5fab909f787998 SHA512 ed3138a39e8ae47d695e71835024d66d63b8de51aa336bd8524de81a5036aa26cf587caca5d6b46c833f77a6e9c8c1ae6b64e8310f712bd9c4e760196778b2ca -DIST setuptools-69.0.0.tar.gz 2219067 BLAKE2B 3df4e54e2c958b07af0d8ceb58678991ebb01952db90115eaabeb59f1643a67173add5f12fd1ad2e3992f2fcf9bacbfcbbb72e8c7e9d76bdfeaf0556ecc600bf SHA512 652d237fb15d187ede8f1da0406fdf5ba59b04278daf6b24f1ad2e938dabf6c543615926715037ee4f92809ef51c0201a6b595c6034e4d4c3c768ec47bb5e694 -DIST setuptools-69.0.1.tar.gz 2219238 BLAKE2B 2d7a3b1442be77bc310276e95afe8a53dcadfc2e152a93ffb457d01567f148d6b316d2516a0e17ca084687ad5076e6bbdec87d256f757e9220fbf468e31f3a67 SHA512 98f7f65869db725e23fcbe921ba7e0370fc1e80a2952e58cb3cfedc097ed4d814e7cadc558e8c96fb41f3677cb3705bcf835621421f8b0c83ffde5e291508f6b DIST setuptools-69.0.2.tar.gz 2219248 BLAKE2B 8873ce1eb0a04a8f561eaa9ea8332eb37ca8646e9ed2bb2f4723df0351b01d60ab94172ea34963b0084839b713b9a47e09ee00f82ec46297c7646565e4189ee4 SHA512 1a2955c8ff5955cb028f60ca538472c3a24dbda27984ef51ab59f6969e100b183456af82bc978a02f771b952908985eb85312065849f1afc64530d6461c7c6f6 diff --git a/dev-python/setuptools/setuptools-68.2.2.ebuild b/dev-python/setuptools/setuptools-68.2.2.ebuild deleted file mode 100644 index f98fdeb31624..000000000000 --- a/dev-python/setuptools/setuptools-68.2.2.ebuild +++ /dev/null @@ -1,125 +0,0 @@ -# Copyright 1999-2023 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 - -# please bump dev-python/ensurepip-setuptools along with this package! - -DISTUTILS_USE_PEP517=standalone -PYTHON_TESTED=( python3_{8,9,10,11,12} pypy3 ) -PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) -PYTHON_REQ_USE="xml(+)" - -inherit distutils-r1 multiprocessing pypi - -DESCRIPTION="Collection of extensions to Distutils" -HOMEPAGE=" - https://github.com/pypa/setuptools/ - https://pypi.org/project/setuptools/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos ~x64-solaris" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/jaraco-text-3.7.0-r1[${PYTHON_USEDEP}] - >=dev-python/more-itertools-8.12.0-r1[${PYTHON_USEDEP}] - >=dev-python/nspektr-0.3.0[${PYTHON_USEDEP}] - >=dev-python/ordered-set-4.0.2-r1[${PYTHON_USEDEP}] - >=dev-python/packaging-21.3-r2[${PYTHON_USEDEP}] - >=dev-python/platformdirs-2.6.2-r1[${PYTHON_USEDEP}] - >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] - >=dev-python/wheel-0.37.1-r1[${PYTHON_USEDEP}] -" -BDEPEND=" - ${RDEPEND} - test? ( - $(python_gen_cond_dep ' - dev-python/build[${PYTHON_USEDEP}] - >=dev-python/ini2toml-0.9[${PYTHON_USEDEP}] - >=dev-python/filelock-3.4.0[${PYTHON_USEDEP}] - >=dev-python/jaraco-envs-2.2[${PYTHON_USEDEP}] - >=dev-python/jaraco-path-3.2.0[${PYTHON_USEDEP}] - dev-python/pip[${PYTHON_USEDEP}] - dev-python/pip-run[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/pytest-fixture-config[${PYTHON_USEDEP}] - dev-python/pytest-timeout[${PYTHON_USEDEP}] - dev-python/pytest-virtualenv[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - >=dev-python/tomli-w-1.0.0[${PYTHON_USEDEP}] - >=dev-python/virtualenv-20[${PYTHON_USEDEP}] - ' "${PYTHON_TESTED[@]}") - ) -" -# setuptools-scm is here because installing plugins apparently breaks stuff at -# runtime, so let's pull it early. See bug #663324. -PDEPEND=" - >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}] - dev-python/setuptools-scm[${PYTHON_USEDEP}] -" - -src_prepare() { - local PATCHES=( - # TODO: remove this when we're 100% PEP517 mode - "${FILESDIR}"/setuptools-62.4.0-py-compile.patch - ) - - distutils-r1_src_prepare - - # remove bundled dependencies - rm -r */_vendor || die - - # remove the ugly */extern hack that breaks on unvendored deps - rm -r */extern || die - find -name '*.py' -exec sed \ - -e 's:from \w*[.]\+extern ::' -e 's:\w*[.]\+extern[.]::' \ - -i {} + || die -} - -python_test() { - if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then - return - fi - - local EPYTEST_DESELECT=( - # network - # TODO: see if PRE_BUILT_SETUPTOOLS_* helps - setuptools/tests/config/test_apply_pyprojecttoml.py::test_apply_pyproject_equivalent_to_setupcfg - setuptools/tests/integration/test_pip_install_sdist.py::test_install_sdist - setuptools/tests/test_build_meta.py::test_legacy_editable_install - setuptools/tests/test_distutils_adoption.py - setuptools/tests/test_editable_install.py - setuptools/tests/test_setuptools.py::test_its_own_wheel_does_not_contain_tests - setuptools/tests/test_virtualenv.py::test_clean_env_install - setuptools/tests/test_virtualenv.py::test_no_missing_dependencies - setuptools/tests/test_virtualenv.py::test_test_command_install_requirements - # TODO - setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_basic - setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_ignore_errors - setuptools/tests/test_extern.py::test_distribution_picklable - # expects bundled deps in virtualenv - setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_in_sdist - setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_not_in_wheel - setuptools/tests/test_editable_install.py::test_editable_with_pyproject - # fails if python-xlib is installed - setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_allow_hosts - # fails with importlib-metadata-6.6.0 - setuptools/tests/test_egg_info.py::TestWriteEntries::test_invalid_entry_point - # TODO, probably some random package - setuptools/tests/config/test_setupcfg.py::TestOptions::test_cmdclass - ) - - if has_version " "${MPLCONFIGDIR}"/matplotlibrc || die - - sed -e 's:test_combine:_&:' \ - -i statsmodels/imputation/tests/test_mice.py || die - sed -e 's:test_mixedlm:_&:' \ - -i statsmodels/stats/tests/test_mediation.py || die - - distutils-r1_python_prepare_all -} - -python_test() { - local -x MKL_NUM_THREADS=1 - local -x OMP_NUM_THREADS=1 - local jobs=$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)") - - pushd "${BUILD_DIR}" >/dev/null || die - "${EPYTHON}" -c " -import statsmodels -statsmodels.test(extra_args=['-vv', '-n', '${jobs}'], exit=True)" \ - || die "tests fail with ${EPYTHON}" - rm -rf statsmodels/.pytest_cache || die - popd >/dev/null || die -} - -python_install_all() { - if use examples; then - docompress -x /usr/share/doc/${PF}/examples - dodoc -r examples - fi - distutils-r1_python_install_all -} - -pkg_postinst() { - optfeature "Plotting functionality" "dev-python/matplotlib" -} diff --git a/dev-python/statsmodels/statsmodels-0.13.5.ebuild b/dev-python/statsmodels/statsmodels-0.13.5.ebuild index ceeb3bba8410..d5e428a3de05 100644 --- a/dev-python/statsmodels/statsmodels-0.13.5.ebuild +++ b/dev-python/statsmodels/statsmodels-0.13.5.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ia64 ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm arm64 ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" IUSE="examples" DEPEND=" diff --git a/dev-python/statsmodels/statsmodels-0.14.0.ebuild b/dev-python/statsmodels/statsmodels-0.14.0.ebuild index c891540f7efe..38f2732c9fa0 100644 --- a/dev-python/statsmodels/statsmodels-0.14.0.ebuild +++ b/dev-python/statsmodels/statsmodels-0.14.0.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 arm arm64 ~ia64 ~ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" IUSE="examples" DEPEND=" diff --git a/dev-python/stripe/Manifest b/dev-python/stripe/Manifest index b87978f8aae1..4e134018b086 100644 --- a/dev-python/stripe/Manifest +++ b/dev-python/stripe/Manifest @@ -1,4 +1,2 @@ -DIST stripe-7.4.0.tar.gz 743353 BLAKE2B 30246bf8c5c922fe1ab906757fef064d4f6eea6989825e1ddabc1ad3fad95cd486bcaa3be860045c29daa2f3c84f65a01e275c919da286d8f0d81cfa3aa512b8 SHA512 9e67fbfdd4fc65ad72a56bc841316e803eca031307a3ced4ba5773773a9920fd1d2e11cb7de6e6da4b2aae78611e198d999d85a5df65d3d7a43af195a47a84c7 -DIST stripe-7.6.0.tar.gz 743504 BLAKE2B 32b82cd34241f00c259edc3e0d46d25337cd2490e6c3f4fb9d90d13e785f5e844fbaf66b224a7ae2ac7643d80b90eb36fde465ffdae058ded7741cb53dca5ec6 SHA512 5383ee5bc7e128840f9a1a738eca3bd6ce4a98df554243308d3b6fc667b519b996fc63d34c29abfc4f2f9082e8062aaf9aacdb3edb70e4ef2a6556228926daa2 DIST stripe-7.7.0.tar.gz 747906 BLAKE2B 40d6f4cdbefef54df8aa84529c879f9cfe3b36fafb35cdc12e98513ae63e3fc41a38174def79adf2e891445502771437489f73010b206a005a02883ef51400fd SHA512 988bf67fce52c5b48e8a7d0d6dac408fd5bc1bd3cbd0d80b06ab5b7b8c44a5daa231c6f3f5e563cea2a717cbec56ae4a83eac9526a463074ff3d1d2cb68a6b92 -DIST stripe-7.8.0.tar.gz 768444 BLAKE2B 8262f097cfac300db6f12ef9781b28b4841bed7f23f1fa72e4c147702008e3f44b50f8bdcbaa5144607f95fac8db519536d996d0dd1457233f11e4e2b705eb78 SHA512 969ce4b59e5a16735c556132c9f5bb9c134cc32fd385d69e52495ae20e0367f0acb5f24f3e1c025c851aa119ce5f2490f06fa320bfcd5712ae4609cbb6b22256 +DIST stripe-7.8.1.tar.gz 768885 BLAKE2B 4e38fec0751fe7314e42303230d602b5f16daa40d833c749c29fa68cdd954cb604a2a0bcc7527253852499920ab5981629ca325d739fc56330bac4ab31b2bbd4 SHA512 cbee9cc0133fa18efa6582da032685fa44cd0446a2d032015410ca60a68ae5ce4a6dc5f82cedb24b1acc09a3c638e0f59f85e72798ee55603039b6fad27fe98e diff --git a/dev-python/stripe/stripe-7.4.0.ebuild b/dev-python/stripe/stripe-7.4.0.ebuild deleted file mode 100644 index 2e921bb73c87..000000000000 --- a/dev-python/stripe/stripe-7.4.0.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Stripe python bindings" -HOMEPAGE=" - https://github.com/stripe/stripe-python/ - https://pypi.org/project/stripe/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 x86" - -RDEPEND=" - >=dev-python/requests-2.20[${PYTHON_USEDEP}] - >=dev-python/typing-extensions-4.5.0[${PYTHON_USEDEP}] -" -# please bump dev-util/stripe-mock dep to the latest version on every bump -BDEPEND=" - test? ( - >=dev-util/stripe-mock-0.177.0 - dev-python/pytest-mock[${PYTHON_USEDEP}] - net-misc/curl - ) -" - -distutils_enable_tests pytest - -DOCS=( LONG_DESCRIPTION.rst CHANGELOG.md README.md ) - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest tests -p pytest_mock -} - -src_test() { - local stripe_mock_port=12111 - local stripe_mock_max_port=12121 - local stripe_mock_logfile="${T}/stripe_mock_${EPYTHON}.log" - # Try to start stripe-mock until we find a free port - while [[ ${stripe_mock_port} -le ${stripe_mock_max_port} ]]; do - ebegin "Trying to start stripe-mock on port ${stripe_mock_port}" - stripe-mock --http-port "${stripe_mock_port}" &> "${stripe_mock_logfile}" & - local stripe_mock_pid=${!} - sleep 2 - # Did stripe-mock start? - curl --fail -u "sk_test_123:" \ - "http://127.0.0.1:${stripe_mock_port}/v1/customers" &> /dev/null - eend ${?} "Port ${stripe_mock_port} unavailable" - if [[ ${?} -eq 0 ]]; then - einfo "stripe-mock running on port ${stripe_mock_port}" - break - fi - (( stripe_mock_port++ )) - done - if [[ ${stripe_mock_port} -gt ${stripe_mock_max_port} ]]; then - eerror "Unable to start stripe-mock for tests" - die "Please see the logfile located at: ${stripe_mock_logfile}" - fi - - local -x STRIPE_MOCK_PORT=${stripe_mock_port} - distutils-r1_src_test - - # Tear down stripe-mock - kill "${stripe_mock_pid}" || die "Unable to stop stripe-mock" -} diff --git a/dev-python/stripe/stripe-7.6.0.ebuild b/dev-python/stripe/stripe-7.6.0.ebuild deleted file mode 100644 index cd9f43a78c7c..000000000000 --- a/dev-python/stripe/stripe-7.6.0.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Stripe python bindings" -HOMEPAGE=" - https://github.com/stripe/stripe-python/ - https://pypi.org/project/stripe/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" - -RDEPEND=" - >=dev-python/requests-2.20[${PYTHON_USEDEP}] - >=dev-python/typing-extensions-4.5.0[${PYTHON_USEDEP}] -" -# please bump dev-util/stripe-mock dep to the latest version on every bump -BDEPEND=" - test? ( - >=dev-util/stripe-mock-0.178.0 - dev-python/pytest-mock[${PYTHON_USEDEP}] - net-misc/curl - ) -" - -distutils_enable_tests pytest - -DOCS=( LONG_DESCRIPTION.rst CHANGELOG.md README.md ) - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest tests -p pytest_mock -} - -src_test() { - local stripe_mock_port=12111 - local stripe_mock_max_port=12121 - local stripe_mock_logfile="${T}/stripe_mock_${EPYTHON}.log" - # Try to start stripe-mock until we find a free port - while [[ ${stripe_mock_port} -le ${stripe_mock_max_port} ]]; do - ebegin "Trying to start stripe-mock on port ${stripe_mock_port}" - stripe-mock --http-port "${stripe_mock_port}" &> "${stripe_mock_logfile}" & - local stripe_mock_pid=${!} - sleep 2 - # Did stripe-mock start? - curl --fail -u "sk_test_123:" \ - "http://127.0.0.1:${stripe_mock_port}/v1/customers" &> /dev/null - eend ${?} "Port ${stripe_mock_port} unavailable" - if [[ ${?} -eq 0 ]]; then - einfo "stripe-mock running on port ${stripe_mock_port}" - break - fi - (( stripe_mock_port++ )) - done - if [[ ${stripe_mock_port} -gt ${stripe_mock_max_port} ]]; then - eerror "Unable to start stripe-mock for tests" - die "Please see the logfile located at: ${stripe_mock_logfile}" - fi - - local -x STRIPE_MOCK_PORT=${stripe_mock_port} - distutils-r1_src_test - - # Tear down stripe-mock - kill "${stripe_mock_pid}" || die "Unable to stop stripe-mock" -} diff --git a/dev-python/stripe/stripe-7.7.0.ebuild b/dev-python/stripe/stripe-7.7.0.ebuild index cd9f43a78c7c..a279ebb000c7 100644 --- a/dev-python/stripe/stripe-7.7.0.ebuild +++ b/dev-python/stripe/stripe-7.7.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 arm64 x86" RDEPEND=" >=dev-python/requests-2.20[${PYTHON_USEDEP}] diff --git a/dev-python/stripe/stripe-7.8.0.ebuild b/dev-python/stripe/stripe-7.8.0.ebuild deleted file mode 100644 index cd9f43a78c7c..000000000000 --- a/dev-python/stripe/stripe-7.8.0.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Stripe python bindings" -HOMEPAGE=" - https://github.com/stripe/stripe-python/ - https://pypi.org/project/stripe/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" - -RDEPEND=" - >=dev-python/requests-2.20[${PYTHON_USEDEP}] - >=dev-python/typing-extensions-4.5.0[${PYTHON_USEDEP}] -" -# please bump dev-util/stripe-mock dep to the latest version on every bump -BDEPEND=" - test? ( - >=dev-util/stripe-mock-0.178.0 - dev-python/pytest-mock[${PYTHON_USEDEP}] - net-misc/curl - ) -" - -distutils_enable_tests pytest - -DOCS=( LONG_DESCRIPTION.rst CHANGELOG.md README.md ) - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest tests -p pytest_mock -} - -src_test() { - local stripe_mock_port=12111 - local stripe_mock_max_port=12121 - local stripe_mock_logfile="${T}/stripe_mock_${EPYTHON}.log" - # Try to start stripe-mock until we find a free port - while [[ ${stripe_mock_port} -le ${stripe_mock_max_port} ]]; do - ebegin "Trying to start stripe-mock on port ${stripe_mock_port}" - stripe-mock --http-port "${stripe_mock_port}" &> "${stripe_mock_logfile}" & - local stripe_mock_pid=${!} - sleep 2 - # Did stripe-mock start? - curl --fail -u "sk_test_123:" \ - "http://127.0.0.1:${stripe_mock_port}/v1/customers" &> /dev/null - eend ${?} "Port ${stripe_mock_port} unavailable" - if [[ ${?} -eq 0 ]]; then - einfo "stripe-mock running on port ${stripe_mock_port}" - break - fi - (( stripe_mock_port++ )) - done - if [[ ${stripe_mock_port} -gt ${stripe_mock_max_port} ]]; then - eerror "Unable to start stripe-mock for tests" - die "Please see the logfile located at: ${stripe_mock_logfile}" - fi - - local -x STRIPE_MOCK_PORT=${stripe_mock_port} - distutils-r1_src_test - - # Tear down stripe-mock - kill "${stripe_mock_pid}" || die "Unable to stop stripe-mock" -} diff --git a/dev-python/stripe/stripe-7.8.1.ebuild b/dev-python/stripe/stripe-7.8.1.ebuild new file mode 100644 index 000000000000..cd9f43a78c7c --- /dev/null +++ b/dev-python/stripe/stripe-7.8.1.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Stripe python bindings" +HOMEPAGE=" + https://github.com/stripe/stripe-python/ + https://pypi.org/project/stripe/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/requests-2.20[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.5.0[${PYTHON_USEDEP}] +" +# please bump dev-util/stripe-mock dep to the latest version on every bump +BDEPEND=" + test? ( + >=dev-util/stripe-mock-0.178.0 + dev-python/pytest-mock[${PYTHON_USEDEP}] + net-misc/curl + ) +" + +distutils_enable_tests pytest + +DOCS=( LONG_DESCRIPTION.rst CHANGELOG.md README.md ) + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests -p pytest_mock +} + +src_test() { + local stripe_mock_port=12111 + local stripe_mock_max_port=12121 + local stripe_mock_logfile="${T}/stripe_mock_${EPYTHON}.log" + # Try to start stripe-mock until we find a free port + while [[ ${stripe_mock_port} -le ${stripe_mock_max_port} ]]; do + ebegin "Trying to start stripe-mock on port ${stripe_mock_port}" + stripe-mock --http-port "${stripe_mock_port}" &> "${stripe_mock_logfile}" & + local stripe_mock_pid=${!} + sleep 2 + # Did stripe-mock start? + curl --fail -u "sk_test_123:" \ + "http://127.0.0.1:${stripe_mock_port}/v1/customers" &> /dev/null + eend ${?} "Port ${stripe_mock_port} unavailable" + if [[ ${?} -eq 0 ]]; then + einfo "stripe-mock running on port ${stripe_mock_port}" + break + fi + (( stripe_mock_port++ )) + done + if [[ ${stripe_mock_port} -gt ${stripe_mock_max_port} ]]; then + eerror "Unable to start stripe-mock for tests" + die "Please see the logfile located at: ${stripe_mock_logfile}" + fi + + local -x STRIPE_MOCK_PORT=${stripe_mock_port} + distutils-r1_src_test + + # Tear down stripe-mock + kill "${stripe_mock_pid}" || die "Unable to stop stripe-mock" +} diff --git a/dev-python/subunit/subunit-1.4.4.ebuild b/dev-python/subunit/subunit-1.4.4.ebuild index 618d97636c91..66821595e2b0 100644 --- a/dev-python/subunit/subunit-1.4.4.ebuild +++ b/dev-python/subunit/subunit-1.4.4.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="Apache-2.0 BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 sparc x86" IUSE="static-libs test" RESTRICT="!test? ( test )" diff --git a/dev-python/sybil/Manifest b/dev-python/sybil/Manifest index fc1a2778c110..ef976f0a27d4 100644 --- a/dev-python/sybil/Manifest +++ b/dev-python/sybil/Manifest @@ -1,4 +1 @@ -DIST sybil-5.0.3.gh.tar.gz 56660 BLAKE2B 99af245f765630523ab2c6cb21452a0c3a970109102900530f5528ac0902d0472ceb09778bd266e9071816de1da397480e53220a974c5cc38f40367d552cef5e SHA512 0e2a96457b506558b4e9c58890a370c63dbde2c36780dd031cfe8de828f15a2f790c55df81d86800599302958006e704e627b7e8a5d3dd786398ce5f8ea46d35 -DIST sybil-6.0.0.gh.tar.gz 67505 BLAKE2B b7408802d5f6796701603762f1e48dbd2f218b5ae80fad940f1ba1fdf0643d1f16cb0a88d94b6385f6ff47d4ab18463be613f736613fa5f0baa3f9ff056ebfa8 SHA512 a03cb7e874a6a41f41ca21e9110f0b8f0d45bb94a5cd7c4f0eb0528ce01db4ac9ca6d8d84663d8851c01dda5da3cb232bcadb33594c5c10e5775f390db37ee9a -DIST sybil-6.0.1.gh.tar.gz 67593 BLAKE2B 443881e81da6456f0790929556334513a8e50d54a0053ddb88b07e29e736e9429ea59fdc30b2d7ff7bdf7e1ec9e272864568aa64fb20a52377d0ee0b39ce30aa SHA512 e71f06744ff07f973ac7f131cd58d4df3697b1cf42a5983b9a93b657d9bfc9358084dcdec00de624b5e89ffa518e64d45591bf616fb53f5e4659ff9755893cd9 DIST sybil-6.0.2.gh.tar.gz 67619 BLAKE2B ec723cb21d2ac1232bd6e9a3e3edb0bc65c705048c2d288df778b4dd19a1b46c956f7d2bd57dfa028d7a8a06357501ffc1226ba171e2073abec51f8d3c536d86 SHA512 9966173b5fb013be1f298b586052d8c10b76efb43bf5230f3d0b780e6d6238e7e33840eeb7c8b9860911351ea612766ed19ea2a61d48424465f3b58e408da5d2 diff --git a/dev-python/sybil/sybil-5.0.3.ebuild b/dev-python/sybil/sybil-5.0.3.ebuild deleted file mode 100644 index b201c88bbd36..000000000000 --- a/dev-python/sybil/sybil-5.0.3.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 2019-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 - -DESCRIPTION="Automated testing for the examples in your documentation" -HOMEPAGE=" - https://github.com/simplistix/sybil/ - https://pypi.org/project/sybil/ -" -# tests are missing in sdist, as of 5.0.1 -SRC_URI=" - https://github.com/simplistix/sybil/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~riscv x86" - -BDEPEND=" - test? ( - dev-python/myst-parser[${PYTHON_USEDEP}] - dev-python/seedir[${PYTHON_USEDEP}] - dev-python/testfixtures[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest diff --git a/dev-python/sybil/sybil-6.0.0.ebuild b/dev-python/sybil/sybil-6.0.0.ebuild deleted file mode 100644 index 9ac9f7acba58..000000000000 --- a/dev-python/sybil/sybil-6.0.0.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 2019-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 - -DESCRIPTION="Automated testing for the examples in your documentation" -HOMEPAGE=" - https://github.com/simplistix/sybil/ - https://pypi.org/project/sybil/ -" -# tests are missing in sdist, as of 5.0.1 -SRC_URI=" - https://github.com/simplistix/sybil/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" - -BDEPEND=" - test? ( - dev-python/myst-parser[${PYTHON_USEDEP}] - dev-python/seedir[${PYTHON_USEDEP}] - dev-python/testfixtures[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest diff --git a/dev-python/sybil/sybil-6.0.1.ebuild b/dev-python/sybil/sybil-6.0.1.ebuild deleted file mode 100644 index 9ac9f7acba58..000000000000 --- a/dev-python/sybil/sybil-6.0.1.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 2019-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 - -DESCRIPTION="Automated testing for the examples in your documentation" -HOMEPAGE=" - https://github.com/simplistix/sybil/ - https://pypi.org/project/sybil/ -" -# tests are missing in sdist, as of 5.0.1 -SRC_URI=" - https://github.com/simplistix/sybil/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" - -BDEPEND=" - test? ( - dev-python/myst-parser[${PYTHON_USEDEP}] - dev-python/seedir[${PYTHON_USEDEP}] - dev-python/testfixtures[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest diff --git a/dev-python/sybil/sybil-6.0.2.ebuild b/dev-python/sybil/sybil-6.0.2.ebuild index 9ac9f7acba58..b201c88bbd36 100644 --- a/dev-python/sybil/sybil-6.0.2.ebuild +++ b/dev-python/sybil/sybil-6.0.2.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +KEYWORDS="amd64 ~arm arm64 ~riscv x86" BDEPEND=" test? ( diff --git a/dev-python/tavern/Manifest b/dev-python/tavern/Manifest index d3f96e0cce1c..56ba0d73e7dd 100644 --- a/dev-python/tavern/Manifest +++ b/dev-python/tavern/Manifest @@ -1,2 +1 @@ -DIST tavern-2.5.0.gh.tar.gz 217343 BLAKE2B bcb9d7f753b14351cd98e12e9d392f9effa716651f8686d053dc72080a2b738b02f78665f2bb07012b4c6ec7b39a661dfdc74a0272c036718cc13e2d731b4cee SHA512 9d957f815b57ba01d9707c1a3e8f715f062194efd0b24d82ebb99aec4bb83965e31a6538f3ff7748d3acd52b32cd38a097a4d36fe71faf1703dbf70ff0454111 DIST tavern-2.6.0.gh.tar.gz 217509 BLAKE2B 99d9990757930a45a86a914fcf656b63266266869542cbd9b59850c7d648f54993ad5f409f12d09fbb12383c7586ecaeed323b04b478d62c7331cf514faa970a SHA512 1165dcc41244259d2ef7f69370dd35a40a9411b2a5c05e5dae45fc413d88478cd49aa540175a4a65dcf7dcd0eb2ee06b4f97059eb5d69ed5684893a8d5e8fcdc diff --git a/dev-python/tavern/tavern-2.5.0.ebuild b/dev-python/tavern/tavern-2.5.0.ebuild deleted file mode 100644 index a8eae6ca39c3..000000000000 --- a/dev-python/tavern/tavern-2.5.0.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 - -DESCRIPTION="A tool, library, and Pytest plugin for testing RESTful APIs" -HOMEPAGE=" - https://github.com/taverntesting/tavern/ - https://pypi.org/project/tavern/ -" -SRC_URI=" - https://github.com/taverntesting/tavern/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64" - -RDEPEND=" - dev-python/jmespath[${PYTHON_USEDEP}] - dev-python/paho-mqtt[${PYTHON_USEDEP}] - >=dev-python/pyjwt-2.5.0[${PYTHON_USEDEP}] - dev-python/pykwalify[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/python-box[${PYTHON_USEDEP}] - >=dev-python/pyyaml-6.0.1[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/stevedore[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/colorlog[${PYTHON_USEDEP}] - dev-python/Faker[${PYTHON_USEDEP}] - dev-python/jsonschema[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - # strip unnecessary pins, upstream doesn't update them a lot - sed -i -E -e 's:,?<=?[0-9.]+::' pyproject.toml || die - distutils-r1_src_prepare -} - -python_test() { - epytest -p tavern -} diff --git a/dev-python/tavern/tavern-2.6.0.ebuild b/dev-python/tavern/tavern-2.6.0.ebuild index 1513b445afae..217a89867efe 100644 --- a/dev-python/tavern/tavern-2.6.0.ebuild +++ b/dev-python/tavern/tavern-2.6.0.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="amd64" RDEPEND=" dev-python/jmespath[${PYTHON_USEDEP}] diff --git a/dev-python/tblib/Manifest b/dev-python/tblib/Manifest index 9fe4ecc5485d..ae7418165359 100644 --- a/dev-python/tblib/Manifest +++ b/dev-python/tblib/Manifest @@ -1,2 +1 @@ -DIST tblib-2.0.0.tar.gz 28695 BLAKE2B 7c7cb584e5a5f03d403253d94c051d7ffd988b2320b095376184b479f30674989cecd39ca43fd269884e73ad97e6f9424a29dec9f1338e002ebe1adfc31a52d4 SHA512 740e7b02c4ae61b12ed1c0c3623c5c2dd142aaa24989e57d67ceed4894212bc18d51f0ab0a97953f1a0e16b30ef992ecee3730038e8b8fd4a3bc437d4a1a92b0 DIST tblib-3.0.0.tar.gz 30616 BLAKE2B 4e2ea0e0f09894f1a8dee4d0dbdc61c054964e4ec5a8a1fbb31f3793268ab8607b5b6e547f7771264c9863522b01cdd39ef6aa4a91d757f1c37f9fac37d6cbaf SHA512 9914709846a4a9b0d9fe0f58eb321085f69e11ce364930f67cc5fec008d6ca57963b17699b0a136e2de91ff01004275fc43a38f318b9faab7cb2fac861108297 diff --git a/dev-python/tblib/tblib-2.0.0.ebuild b/dev-python/tblib/tblib-2.0.0.ebuild deleted file mode 100644 index 2083edc8c46b..000000000000 --- a/dev-python/tblib/tblib-2.0.0.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Traceback fiddling library for Python" -HOMEPAGE=" - https://github.com/ionelmc/python-tblib/ - https://pypi.org/project/tblib/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - dev-python/six[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/twisted[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} diff --git a/dev-python/tblib/tblib-3.0.0.ebuild b/dev-python/tblib/tblib-3.0.0.ebuild index 22e16a7ea796..a5075ae27f44 100644 --- a/dev-python/tblib/tblib-3.0.0.ebuild +++ b/dev-python/tblib/tblib-3.0.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 arm arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux" RDEPEND=" dev-python/six[${PYTHON_USEDEP}] diff --git a/dev-python/trimesh/Manifest b/dev-python/trimesh/Manifest index 734307181054..5357381b7e74 100644 --- a/dev-python/trimesh/Manifest +++ b/dev-python/trimesh/Manifest @@ -1,2 +1 @@ -DIST trimesh-4.0.4.gh.tar.gz 13434249 BLAKE2B 209ebbd8840e264bdde1aa6bf71b07910032ea3b577c4253cc66128761a2b1e1c9447c923d08108e36ddf5bf76ba67c90b728af4e18cea25882f78e4f252c18b SHA512 1135b626efc7559c2c127852f2947bf1d659b67a3bb16baf6d3fc795ab81baca1a57f035ce2ff0bdaa61709d0a21a160bbf425717037dd9662295e83894786bc DIST trimesh-4.0.5.gh.tar.gz 13433920 BLAKE2B d7979727f4595dedd4d58bd7373bff457e008ea9512fb5aaa3c0e297fb0e9e538ab3b62e6d231bb6d0d7c8499e346c88b89878489187248bfd77116b4ab733dd SHA512 5167f93aece58d0fd2766a41afb5651df2ffac6486e3aebae33d97ed1ae2e4093290450b1e8d7827c300c679cf4c93baf7ce44ec603103a70c510259f514d321 diff --git a/dev-python/trimesh/trimesh-4.0.4.ebuild b/dev-python/trimesh/trimesh-4.0.4.ebuild deleted file mode 100644 index ecb13bcb5cfc..000000000000 --- a/dev-python/trimesh/trimesh-4.0.4.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 optfeature - -DESCRIPTION="Python library for loading and using triangular meshes" -HOMEPAGE=" - https://trimesh.org/ - https://github.com/mikedh/trimesh/ - https://pypi.org/project/trimesh/ -" -SRC_URI=" - https://github.com/mikedh/${PN}/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm64 ~x86" - -RDEPEND=" - dev-python/chardet[${PYTHON_USEDEP}] - dev-python/colorlog[${PYTHON_USEDEP}] - dev-python/jsonschema[${PYTHON_USEDEP}] - dev-python/lxml[${PYTHON_USEDEP}] - dev-python/networkx[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP}] - dev-python/pycollada[${PYTHON_USEDEP}] - dev-python/pyglet[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - >=dev-python/shapely-1.8.2[${PYTHON_USEDEP}] - dev-python/svg-path[${PYTHON_USEDEP}] - dev-python/sympy[${PYTHON_USEDEP}] - dev-python/xxhash[${PYTHON_USEDEP}] - sci-libs/rtree[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/mapbox_earcut[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -pkg_postinst() { - optfeature_header "${PN} functionality can be extended by installing the following packages:" - optfeature "making GUI applications with 3D stuff" dev-python/glooey - optfeature "2D triangulations of polygons" dev-python/mapbox_earcut - optfeature "loading a number of additional mesh formats" dev-python/meshio - optfeature "figuring out how much memory we have" dev-python/psutil - optfeature "marching cubes and other nice stuff" sci-libs/scikit-image -} diff --git a/dev-python/trimesh/trimesh-4.0.5.ebuild b/dev-python/trimesh/trimesh-4.0.5.ebuild index 0cd3675fa015..64cdfe42973a 100644 --- a/dev-python/trimesh/trimesh-4.0.5.ebuild +++ b/dev-python/trimesh/trimesh-4.0.5.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 arm64 ~x86" RDEPEND=" dev-python/chardet[${PYTHON_USEDEP}] diff --git a/dev-python/trove-classifiers/Manifest b/dev-python/trove-classifiers/Manifest index 5b00bb107e7c..39dc4dfe120e 100644 --- a/dev-python/trove-classifiers/Manifest +++ b/dev-python/trove-classifiers/Manifest @@ -1,3 +1 @@ -DIST trove-classifiers-2023.11.14.tar.gz 15895 BLAKE2B 559cfbf0a28da834130d4d6e74b63454a3c09ff198cd6f88392031f52609a54b6f58a3015bb29179ebead94b7b498a51a4f426f4e9fc9084d7cf11a0f9a9cc16 SHA512 f014eb404902a42b7ceac23b1f5cd1b256c05c2de2d1a630c067528826593cfb1a10d6de0851fa68715665e3165889eb39b61a518138fd81bf29c72489847146 -DIST trove-classifiers-2023.11.22.tar.gz 15903 BLAKE2B 02437414e382a02da079f1ee7b0b5e12575a2915de3233a89ddec128c113b95de9d469b38867f8ae46ac795c31c9198a331489de6965bff44fae2c20a55584ed SHA512 5f986562868a116a7932ec6f0d9668f81f7867a28b4d989ccac892f83d7edb9a6e48fb3cd9cf9b76c92634e7a418705566d059df02c9624146193076d9204498 DIST trove-classifiers-2023.11.29.tar.gz 15918 BLAKE2B 3e216aa24a458f5c65a20b2589dff34c382c3e1ccba5274377b09bcc254fafb077dfd3f82b0f1c998a9c34b20f35eca27bd7d8103b631a03eb87a9c1525c057e SHA512 fdeb6bbddbb3ad640112827b55f4b0a2201c79e2a4013d2d621bf0a6168d87861ad1802b0805747fc7d9e8be7e1954d58b83fd4fde6f3394cec2fa3aa88f0dca diff --git a/dev-python/trove-classifiers/trove-classifiers-2023.11.14.ebuild b/dev-python/trove-classifiers/trove-classifiers-2023.11.14.ebuild deleted file mode 100644 index b0f85f87963e..000000000000 --- a/dev-python/trove-classifiers/trove-classifiers-2023.11.14.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{8,9,10,11,12} 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 ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" - -BDEPEND=" - dev-python/calver[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -python_test() { - epytest - "${EPYTHON}" -m tests.lib || die -} diff --git a/dev-python/trove-classifiers/trove-classifiers-2023.11.22.ebuild b/dev-python/trove-classifiers/trove-classifiers-2023.11.22.ebuild deleted file mode 100644 index 10342ce3c1b6..000000000000 --- a/dev-python/trove-classifiers/trove-classifiers-2023.11.22.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{8,9,10,11,12} 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 ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" - -BDEPEND=" - dev-python/calver[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -python_test() { - epytest - "${EPYTHON}" -m tests.lib || die -} diff --git a/dev-python/trove-classifiers/trove-classifiers-2023.11.29.ebuild b/dev-python/trove-classifiers/trove-classifiers-2023.11.29.ebuild index 10342ce3c1b6..c645dff6dc5c 100644 --- a/dev-python/trove-classifiers/trove-classifiers-2023.11.29.ebuild +++ b/dev-python/trove-classifiers/trove-classifiers-2023.11.29.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~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 ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" BDEPEND=" dev-python/calver[${PYTHON_USEDEP}] diff --git a/dev-python/types-setuptools/Manifest b/dev-python/types-setuptools/Manifest index e801afb1ed21..2a6f60feccec 100644 --- a/dev-python/types-setuptools/Manifest +++ b/dev-python/types-setuptools/Manifest @@ -1,3 +1 @@ -DIST types-setuptools-68.2.0.1.tar.gz 33293 BLAKE2B f492a35c4282f95a1fe01854edfa10a8ceec1307d29042197ba079354488aa2cc8a8770f876b02ddcb6d568e9e94f9f995d4f1a444da313354d6c4ad2974f860 SHA512 1a1efa6bb5759c82bbcb514816ece34ec133c1b4540ddb80e2155b02dfa05175fb3aacc836e72d9f0416b9f523c3efa3e3282569b5dcfa597cfab75f1ff5a490 -DIST types-setuptools-68.2.0.2.tar.gz 33292 BLAKE2B 73806a72a897f50eae65d2dae06ac08404e7882aeab1d697d8485d5a5d81946948883ae21b8c1c0d92ef14bbde1ca6a633e559f97e925e3709ddaf3624a06b0e SHA512 c900acace3992c6ce98945e3e2de38ccb34348995a2a7fa815ad2c3defd5fe16e4213e6f7f49530a8ba68f1ddaeb404cf05ef4597164f9c9954f2ade640ac875 DIST types-setuptools-69.0.0.0.tar.gz 33164 BLAKE2B 1a99600bb93b21ca0c87a4d8b32ca61903b113b40e1d4b6641f303c4144032e8ef9c95b76bbede9f44b584a332640dd89ec50502df5a12b04a36bd5d8ab4c413 SHA512 e7b5945a2654334bf9188e98f13a153fe09fc548419888b28262b71cf04086f62a50f1f086cb348d327c3c0bb5fb537279e105802592fc9e75ef301538de5503 diff --git a/dev-python/types-setuptools/types-setuptools-68.2.0.1.ebuild b/dev-python/types-setuptools/types-setuptools-68.2.0.1.ebuild deleted file mode 100644 index 3dc7446b0531..000000000000 --- a/dev-python/types-setuptools/types-setuptools-68.2.0.1.ebuild +++ /dev/null @@ -1,17 +0,0 @@ -# Copyright 2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Typing stubs for setuptools" -HOMEPAGE="https://pypi.org/project/types-setuptools/" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" diff --git a/dev-python/types-setuptools/types-setuptools-68.2.0.2.ebuild b/dev-python/types-setuptools/types-setuptools-68.2.0.2.ebuild deleted file mode 100644 index e30e9f37dac0..000000000000 --- a/dev-python/types-setuptools/types-setuptools-68.2.0.2.ebuild +++ /dev/null @@ -1,17 +0,0 @@ -# Copyright 2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Typing stubs for setuptools" -HOMEPAGE="https://pypi.org/project/types-setuptools/" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" diff --git a/dev-python/types-setuptools/types-setuptools-69.0.0.0.ebuild b/dev-python/types-setuptools/types-setuptools-69.0.0.0.ebuild index e30e9f37dac0..3dc7446b0531 100644 --- a/dev-python/types-setuptools/types-setuptools-69.0.0.0.ebuild +++ b/dev-python/types-setuptools/types-setuptools-69.0.0.0.ebuild @@ -14,4 +14,4 @@ HOMEPAGE="https://pypi.org/project/types-setuptools/" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" diff --git a/dev-python/versioningit/Manifest b/dev-python/versioningit/Manifest index b657baa5f60d..afe7064efe85 100644 --- a/dev-python/versioningit/Manifest +++ b/dev-python/versioningit/Manifest @@ -1,2 +1 @@ -DIST versioningit-2.2.1.tar.gz 743942 BLAKE2B f0f84b2323cdeac79144d842bbebfc196aecb35752da4dc0e343a709fc539eba50f33079dc652e95dc06bda8ddb761b5a68179b50f533434aafd7d4b1263af63 SHA512 9ec8d4cf26392fd3bfd29d5c3e573a6af8e6a42c6aff1d0f9dbf68a17b667c55859d64d91d5715bf232f4eea22a6f300cbfc6da2be8364186c23b5023fa0e6ad DIST versioningit-2.3.0.tar.gz 209785 BLAKE2B 392706b969a3a94be6dee2bbd8935cf97e3f0ab0b102c5ae1ef2d65b25d6e44faf9e50301639aca77c8d81e0265875c548a9d28d331cbc07aaae7ed589c6ab04 SHA512 2e91ab8bf7be333b4783e8e7ad6cf4897694a5d3e14f41cad0f3683291078fb88845d629ee1e41885408bf07d5ea6250588af6e6cf6d6596df1bae4bee5ddf0b diff --git a/dev-python/versioningit/versioningit-2.2.1.ebuild b/dev-python/versioningit/versioningit-2.2.1.ebuild deleted file mode 100644 index e5954912f140..000000000000 --- a/dev-python/versioningit/versioningit-2.2.1.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="A setuptools plugin for versioning based on git tags" -HOMEPAGE=" - https://github.com/jwodder/versioningit/ - https://pypi.org/project/versioningit/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~riscv ~x86" - -RDEPEND=" - >=dev-python/packaging-17.1[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - =dev-python/scipy-1.4[${PYTHON_USEDEP}]" ; then + EPYTEST_DESELECT+=( + 'xarray/tests/test_missing.py::test_interpolate_na_2d[coords1]' + ) + fi + + if use big-endian ; then + EPYTEST_DESELECT+=( + # Appears to be a numpy issue in display? See bug #916460. + 'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1677-09-21T00:12:43.145224193-ns-int64-20-True]' + 'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1970-09-21T00:12:44.145224808-ns-float64-1e+30-True]' + 'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1677-09-21T00:12:43.145225216-ns-float64--9.223372036854776e+18-True]' + 'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1677-09-21T00:12:43.145224193-ns-int64-None-False]' + 'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1677-09-21T00:12:43.145225-us-int64-None-False]' + 'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1970-01-01T00:00:01.000001-us-int64-None-False]' + 'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1677-09-21T00:21:52.901038080-ns-float32-20.0-True]' + ) + fi + + epytest +} diff --git a/dev-python/xarray/xarray-2023.9.0.ebuild b/dev-python/xarray/xarray-2023.9.0.ebuild deleted file mode 100644 index 20aa38085d58..000000000000 --- a/dev-python/xarray/xarray-2023.9.0.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 multiprocessing pypi - -DESCRIPTION="N-D labeled arrays and datasets in Python" -HOMEPAGE=" - https://xarray.pydata.org/ - https://github.com/pydata/xarray/ - https://pypi.org/project/xarray/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - >=dev-python/numpy-1.22[${PYTHON_USEDEP}] - >=dev-python/pandas-1.4[${PYTHON_USEDEP}] - >=dev-python/packaging-21.3[${PYTHON_USEDEP}] -" -# note: most of the test dependencies are optional -BDEPEND=" - dev-python/setuptools-scm[${PYTHON_USEDEP}] - test? ( - dev-python/bottleneck[${PYTHON_USEDEP}] - dev-python/hypothesis[${PYTHON_USEDEP}] - dev-python/matplotlib[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - dev-python/toolz[${PYTHON_USEDEP}] - !hppa? ( >=dev-python/scipy-1.4[${PYTHON_USEDEP}] ) - ) -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # warning-targeted tests are fragile and not important to end users - xarray/tests/test_backends.py::test_no_warning_from_dask_effective_get - # TODO: segv in netcdf4-python - 'xarray/tests/test_backends.py::test_open_mfdataset_manyfiles[netcdf4-20-True-5-5]' - 'xarray/tests/test_backends.py::test_open_mfdataset_manyfiles[netcdf4-20-True-5-None]' - 'xarray/tests/test_backends.py::test_open_mfdataset_manyfiles[netcdf4-20-True-None-5]' - 'xarray/tests/test_backends.py::test_open_mfdataset_manyfiles[netcdf4-20-True-None-None]' - xarray/tests/test_backends.py::TestDask::test_save_mfdataset_compute_false_roundtrip - # hangs - xarray/tests/test_backends.py::TestDask::test_dask_roundtrip - # mismatches when pyarrow is installed - # https://github.com/pydata/xarray/issues/8092 - xarray/tests/test_dask.py::TestToDaskDataFrame::test_to_dask_dataframe_2D - xarray/tests/test_dask.py::TestToDaskDataFrame::test_to_dask_dataframe_not_daskarray -) - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p xdist.plugin -n "$(makeopts_jobs)" --dist=worksteal -} diff --git a/dev-python/yarl/yarl-1.9.4.ebuild b/dev-python/yarl/yarl-1.9.4.ebuild index 460056a55240..03a0870bf9a6 100644 --- a/dev-python/yarl/yarl-1.9.4.ebuild +++ b/dev-python/yarl/yarl-1.9.4.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv ~s390 ~sparc ~x86" RDEPEND=" >=dev-python/multidict-4.0[${PYTHON_USEDEP}] -- cgit v1.3.1