From 642f85a7182a4d58010123c6aa71cde1ea378d53 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Mon, 2 Oct 2023 06:18:17 +0000 Subject: Adding metadata --- dev-python/argon2-cffi/Manifest | 1 - .../argon2-cffi/argon2-cffi-21.3.0-r2.ebuild | 36 ---- dev-python/argon2-cffi/argon2-cffi-23.1.0.ebuild | 2 +- dev-python/cattrs/cattrs-23.1.2.ebuild | 2 +- dev-python/cbor2/cbor2-5.4.6.ebuild | 2 +- dev-python/cleo/cleo-2.0.1-r1.ebuild | 2 +- dev-python/coverage/Manifest | 2 - dev-python/coverage/coverage-7.2.7.ebuild | 82 -------- dev-python/coverage/coverage-7.3.0.ebuild | 82 -------- dev-python/coverage/coverage-7.3.1.ebuild | 2 +- dev-python/crashtest/crashtest-0.4.1.ebuild | 2 +- dev-python/cython/Manifest | 1 - dev-python/cython/cython-3.0.0-r1.ebuild | 85 -------- dev-python/cython/cython-3.0.2-r1.ebuild | 2 +- dev-python/cython/cython-3.0.2.ebuild | 84 -------- .../files/cython-3.0.0-version-stderr-stdout.patch | 35 ---- dev-python/django-redis/Manifest | 1 + dev-python/django-redis/django-redis-5.4.0.ebuild | 83 ++++++++ dev-python/fastjsonschema/Manifest | 1 + .../fastjsonschema/fastjsonschema-2.18.1.ebuild | 25 +++ dev-python/flask-babel/Manifest | 1 + dev-python/flask-babel/flask-babel-4.0.0.ebuild | 41 ++++ dev-python/hypothesis/Manifest | 1 + dev-python/hypothesis/hypothesis-6.87.1.ebuild | 91 +++++++++ dev-python/imageio/Manifest | 1 + dev-python/imageio/imageio-2.31.5.ebuild | 82 ++++++++ dev-python/immutables/Manifest | 1 - dev-python/immutables/immutables-0.19.ebuild | 44 ----- dev-python/immutables/immutables-0.20.ebuild | 2 +- dev-python/kerberos/kerberos-1.3.1-r2.ebuild | 2 +- dev-python/moto/Manifest | 12 -- dev-python/moto/moto-4.1.10.ebuild | 113 ----------- dev-python/moto/moto-4.1.11.ebuild | 102 ---------- dev-python/moto/moto-4.1.12.ebuild | 102 ---------- dev-python/moto/moto-4.1.13.ebuild | 102 ---------- dev-python/moto/moto-4.1.14.ebuild | 102 ---------- dev-python/moto/moto-4.1.15.ebuild | 2 +- dev-python/moto/moto-4.1.6.ebuild | 104 ---------- dev-python/moto/moto-4.1.7.ebuild | 104 ---------- dev-python/moto/moto-4.1.8.ebuild | 106 ---------- dev-python/moto/moto-4.1.9.ebuild | 106 ---------- dev-python/moto/moto-4.2.2.ebuild | 102 ---------- dev-python/moto/moto-4.2.3.ebuild | 103 ---------- dev-python/moto/moto-4.2.4.ebuild | 118 ------------ dev-python/orjson/Manifest | 24 --- dev-python/orjson/orjson-3.9.2.ebuild | 77 -------- dev-python/orjson/orjson-3.9.4.ebuild | 84 -------- dev-python/orjson/orjson-3.9.5.ebuild | 84 -------- dev-python/orjson/orjson-3.9.6.ebuild | 86 --------- dev-python/orjson/orjson-3.9.7.ebuild | 2 +- dev-python/packaging/Manifest | 1 + dev-python/packaging/packaging-23.2.ebuild | 36 ++++ dev-python/pendulum/pendulum-2.1.2-r2.ebuild | 2 +- dev-python/pip-run/Manifest | 1 + dev-python/pip-run/pip-run-12.3.1.ebuild | 58 ++++++ dev-python/pyftpdlib/Manifest | 1 + dev-python/pyftpdlib/pyftpdlib-1.5.8.ebuild | 61 ++++++ dev-python/pygame/Manifest | 1 - .../pygame/files/pygame-2.5.0-cython-3.patch | 214 --------------------- dev-python/pygame/pygame-2.5.0-r2.ebuild | 92 --------- dev-python/pygame/pygame-2.5.1.ebuild | 2 +- dev-python/pylint/Manifest | 1 + dev-python/pylint/pylint-3.0.0_beta0.ebuild | 83 ++++++++ dev-python/pymongo/pymongo-4.5.0.ebuild | 2 +- dev-python/pypiserver/Manifest | 1 + dev-python/pypiserver/pypiserver-2.0.1.ebuild | 76 ++++++++ dev-python/pytzdata/pytzdata-2020.1-r2.ebuild | 2 +- dev-python/pyzotero/Manifest | 1 + dev-python/pyzotero/pyzotero-1.5.15.ebuild | 37 ++++ dev-python/typeguard/Manifest | 2 - dev-python/typeguard/typeguard-4.1.0.ebuild | 42 ---- dev-python/typeguard/typeguard-4.1.3.ebuild | 42 ---- dev-python/typeguard/typeguard-4.1.4.ebuild | 2 +- dev-python/xlsxwriter/Manifest | 1 + dev-python/xlsxwriter/xlsxwriter-3.1.6.ebuild | 28 +++ dev-python/ytmusicapi/Manifest | 2 - dev-python/ytmusicapi/ytmusicapi-1.1.1.ebuild | 22 --- dev-python/ytmusicapi/ytmusicapi-1.2.0.ebuild | 22 --- dev-python/ytmusicapi/ytmusicapi-1.2.1.ebuild | 2 +- dev-python/zeroconf/Manifest | 1 + dev-python/zeroconf/zeroconf-0.115.1.ebuild | 56 ++++++ 81 files changed, 787 insertions(+), 2540 deletions(-) delete mode 100644 dev-python/argon2-cffi/argon2-cffi-21.3.0-r2.ebuild delete mode 100644 dev-python/coverage/coverage-7.2.7.ebuild delete mode 100644 dev-python/coverage/coverage-7.3.0.ebuild delete mode 100644 dev-python/cython/cython-3.0.0-r1.ebuild delete mode 100644 dev-python/cython/cython-3.0.2.ebuild delete mode 100644 dev-python/cython/files/cython-3.0.0-version-stderr-stdout.patch create mode 100644 dev-python/django-redis/django-redis-5.4.0.ebuild create mode 100644 dev-python/fastjsonschema/fastjsonschema-2.18.1.ebuild create mode 100644 dev-python/flask-babel/flask-babel-4.0.0.ebuild create mode 100644 dev-python/hypothesis/hypothesis-6.87.1.ebuild create mode 100644 dev-python/imageio/imageio-2.31.5.ebuild delete mode 100644 dev-python/immutables/immutables-0.19.ebuild delete mode 100644 dev-python/moto/moto-4.1.10.ebuild delete mode 100644 dev-python/moto/moto-4.1.11.ebuild delete mode 100644 dev-python/moto/moto-4.1.12.ebuild delete mode 100644 dev-python/moto/moto-4.1.13.ebuild delete mode 100644 dev-python/moto/moto-4.1.14.ebuild delete mode 100644 dev-python/moto/moto-4.1.6.ebuild delete mode 100644 dev-python/moto/moto-4.1.7.ebuild delete mode 100644 dev-python/moto/moto-4.1.8.ebuild delete mode 100644 dev-python/moto/moto-4.1.9.ebuild delete mode 100644 dev-python/moto/moto-4.2.2.ebuild delete mode 100644 dev-python/moto/moto-4.2.3.ebuild delete mode 100644 dev-python/moto/moto-4.2.4.ebuild delete mode 100644 dev-python/orjson/orjson-3.9.2.ebuild delete mode 100644 dev-python/orjson/orjson-3.9.4.ebuild delete mode 100644 dev-python/orjson/orjson-3.9.5.ebuild delete mode 100644 dev-python/orjson/orjson-3.9.6.ebuild create mode 100644 dev-python/packaging/packaging-23.2.ebuild create mode 100644 dev-python/pip-run/pip-run-12.3.1.ebuild create mode 100644 dev-python/pyftpdlib/pyftpdlib-1.5.8.ebuild delete mode 100644 dev-python/pygame/files/pygame-2.5.0-cython-3.patch delete mode 100644 dev-python/pygame/pygame-2.5.0-r2.ebuild create mode 100644 dev-python/pylint/pylint-3.0.0_beta0.ebuild create mode 100644 dev-python/pypiserver/pypiserver-2.0.1.ebuild create mode 100644 dev-python/pyzotero/pyzotero-1.5.15.ebuild delete mode 100644 dev-python/typeguard/typeguard-4.1.0.ebuild delete mode 100644 dev-python/typeguard/typeguard-4.1.3.ebuild create mode 100644 dev-python/xlsxwriter/xlsxwriter-3.1.6.ebuild delete mode 100644 dev-python/ytmusicapi/ytmusicapi-1.1.1.ebuild delete mode 100644 dev-python/ytmusicapi/ytmusicapi-1.2.0.ebuild create mode 100644 dev-python/zeroconf/zeroconf-0.115.1.ebuild (limited to 'dev-python') diff --git a/dev-python/argon2-cffi/Manifest b/dev-python/argon2-cffi/Manifest index e7373bba84e8..e043e6b2be44 100644 --- a/dev-python/argon2-cffi/Manifest +++ b/dev-python/argon2-cffi/Manifest @@ -1,2 +1 @@ -DIST argon2-cffi-21.3.0.tar.gz 38446 BLAKE2B e0464f501efcdfbf33d93e0c1c6dbc519ad6aee06c0b8692417156de608f6c6acf947f86b866c064601fe994087677e51d954ae2c1225cbbbba3534cf70c6296 SHA512 6cb2a075f3bb7040ee7f552d082bfa2f3df0854649d9c84fdfdb42bb4bee2133b8a35a20be2b3c887931efda12fbbb00815d8d88170b7e20b3ca19c86f97057e DIST argon2_cffi-23.1.0.tar.gz 42798 BLAKE2B 16f20c064bfc420894bc9da681ce4f544219c8e173f63bf095ffffdca6bd159695ecfa7ff33c32ca96f284764561e844e58d1ec3bf85a0c120c3b54490c3a56f SHA512 7c7730451f5ef9bb40bb5e1bbfa6e69c9718968168f3fa9b54e1020a4f805f98fba6260039bda804241717db2338479d640c7652dc26ce1a6ade076660133383 diff --git a/dev-python/argon2-cffi/argon2-cffi-21.3.0-r2.ebuild b/dev-python/argon2-cffi/argon2-cffi-21.3.0-r2.ebuild deleted file mode 100644 index 5ee7187d0b7e..000000000000 --- a/dev-python/argon2-cffi/argon2-cffi-21.3.0-r2.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="CFFI bindings to the Argon2 password hashing library" -HOMEPAGE=" - https://github.com/hynek/argon2-cffi/ - https://pypi.org/project/argon2-cffi/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - >=dev-python/argon2-cffi-bindings-21.2.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/hypothesis[${PYTHON_USEDEP}] - ) -" - -DOCS=( AUTHORS.rst FAQ.rst README.rst ) - -distutils_enable_sphinx docs \ - dev-python/furo \ - dev-python/sphinx-notfound-page -distutils_enable_tests pytest diff --git a/dev-python/argon2-cffi/argon2-cffi-23.1.0.ebuild b/dev-python/argon2-cffi/argon2-cffi-23.1.0.ebuild index 4940dc7cd04a..eb8600ddbd0f 100644 --- a/dev-python/argon2-cffi/argon2-cffi-23.1.0.ebuild +++ b/dev-python/argon2-cffi/argon2-cffi-23.1.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" 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/argon2-cffi-bindings-21.2.0[${PYTHON_USEDEP}] diff --git a/dev-python/cattrs/cattrs-23.1.2.ebuild b/dev-python/cattrs/cattrs-23.1.2.ebuild index 6998e928c2b2..785beac2a32b 100644 --- a/dev-python/cattrs/cattrs-23.1.2.ebuild +++ b/dev-python/cattrs/cattrs-23.1.2.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="amd64 arm arm64 ~hppa ~loong ~ppc ppc64 ~riscv ~s390 ~sparc x86" IUSE="test-rust" RDEPEND=" diff --git a/dev-python/cbor2/cbor2-5.4.6.ebuild b/dev-python/cbor2/cbor2-5.4.6.ebuild index 48dbbdb64900..106793b6ddd3 100644 --- a/dev-python/cbor2/cbor2-5.4.6.ebuild +++ b/dev-python/cbor2/cbor2-5.4.6.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="amd64 arm arm64 ~hppa ~loong ~ppc ppc64 ~riscv ~s390 ~sparc x86" BDEPEND=" >=dev-python/setuptools-61[${PYTHON_USEDEP}] diff --git a/dev-python/cleo/cleo-2.0.1-r1.ebuild b/dev-python/cleo/cleo-2.0.1-r1.ebuild index 6f73f9606e59..2caa422465cd 100644 --- a/dev-python/cleo/cleo-2.0.1-r1.ebuild +++ b/dev-python/cleo/cleo-2.0.1-r1.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="amd64 arm arm64 ~hppa ~loong ~ppc ppc64 ~riscv ~s390 ~sparc x86" RDEPEND=" dev-python/crashtest[${PYTHON_USEDEP}] diff --git a/dev-python/coverage/Manifest b/dev-python/coverage/Manifest index fc4503877a2b..874fd86e3904 100644 --- a/dev-python/coverage/Manifest +++ b/dev-python/coverage/Manifest @@ -1,3 +1 @@ -DIST coverage-7.2.7.tar.gz 762575 BLAKE2B 20a800c3cd62095aacdfa4853613a3fd579abacd9051878ee2b308360db181ad45b68a0866236666826efc510d4a0328273d63c78c42fa4a7419ac98f85cf3f4 SHA512 01ed5ef8ddb600b8a7443200b568eb5d8aa7d652f408617f78a2e1251a5f091ee05188a7d383acd530f29b688b67a4bf2dc2e1241efffe8b9d0f70f44c646f33 -DIST coverage-7.3.0.tar.gz 763902 BLAKE2B dbd49200ef5ca167b9ae11b76bae1d8dd682289d14c657029227d0f2f1cc149ddde7c571add7165e10a150d2bd591d9bc988a7d306d01dd3eb34e8a5098d66cd SHA512 3b394c3c96ca8484641585ce26c27100153892a77369e14e3596fe604a98ac0f9b33189d679fffd9fa80a41ac4bfa6a64dfe97e586833b39707ecc7f5aa43c35 DIST coverage-7.3.1.tar.gz 764806 BLAKE2B 7399c7df63d0a546e20797c52780376bb8f65578753ffae3bb15901bd4fb7b4c0d8360b2dbc445e038d226af9ddf0b39c38c16fa70d9690b62477e5e75dfb51d SHA512 deeeab41ca53cdda83fe233f63bcf14909b96dfa0710d882dcaa9f81f4884ef7b39aaf177f832ce0f66f1fb88ad4b97d37ef2adfa2540d551352ed48af1926b2 diff --git a/dev-python/coverage/coverage-7.2.7.ebuild b/dev-python/coverage/coverage-7.2.7.ebuild deleted file mode 100644 index 1cf760006d5c..000000000000 --- a/dev-python/coverage/coverage-7.2.7.ebuild +++ /dev/null @@ -1,82 +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} pypy3 ) -PYTHON_REQ_USE="threads(+),sqlite(+)" - -inherit distutils-r1 pypi - -DESCRIPTION="Code coverage measurement for Python" -HOMEPAGE=" - https://coverage.readthedocs.io/en/latest/ - https://github.com/nedbat/coveragepy/ - https://pypi.org/project/coverage/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" - -RDEPEND=" - $(python_gen_cond_dep ' - dev-python/tomli[${PYTHON_USEDEP}] - ' 3.{8..10}) -" -BDEPEND=" - test? ( - dev-python/flaky[${PYTHON_USEDEP}] - dev-python/hypothesis[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - >=dev-python/unittest-mixins-1.4[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - sed -i -e '/addopts/s:-q -n auto::' pyproject.toml || die - distutils-r1_src_prepare -} - -test_tracer() { - local -x COVERAGE_TEST_TRACER=${1} - einfo " Testing with the ${COVERAGE_TEST_TRACER} tracer ..." - epytest tests -} - -python_test() { - local EPYTEST_DESELECT=( - # TODO: fails because of additional "Terminated" print on SIGTERM - tests/test_concurrency.py::SigtermTest::test_sigterm_threading_saves_data - ) - local EPYTEST_IGNORE=( - # pip these days insists on fetching build deps from Internet - tests/test_venv.py - ) - - "${EPYTHON}" igor.py zip_mods || die - - local -x COVERAGE_TESTING=True - # TODO: figure out why they can't be imported inside test env - local -x COVERAGE_NO_CONTRACTS=1 - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=_hypothesis_pytestplugin,flaky.flaky_pytest_plugin,xdist.plugin - - local prev_opt=$(shopt -p nullglob) - shopt -s nullglob - local c_ext=( "${BUILD_DIR}/install$(python_get_sitedir)"/coverage/*.so ) - ${prev_opt} - - if [[ -n ${c_ext} ]]; then - cp "${c_ext}" \ - coverage/ || die - test_tracer c - rm coverage/*.so || die - else - test_tracer py - fi -} diff --git a/dev-python/coverage/coverage-7.3.0.ebuild b/dev-python/coverage/coverage-7.3.0.ebuild deleted file mode 100644 index 5340f5b50ba4..000000000000 --- a/dev-python/coverage/coverage-7.3.0.ebuild +++ /dev/null @@ -1,82 +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} pypy3 ) -PYTHON_REQ_USE="threads(+),sqlite(+)" - -inherit distutils-r1 pypi - -DESCRIPTION="Code coverage measurement for Python" -HOMEPAGE=" - https://coverage.readthedocs.io/en/latest/ - https://github.com/nedbat/coveragepy/ - https://pypi.org/project/coverage/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" - -RDEPEND=" - $(python_gen_cond_dep ' - dev-python/tomli[${PYTHON_USEDEP}] - ' 3.{9..10}) -" -BDEPEND=" - test? ( - dev-python/flaky[${PYTHON_USEDEP}] - dev-python/hypothesis[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - >=dev-python/unittest-mixins-1.4[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - sed -i -e '/addopts/s:-q -n auto::' pyproject.toml || die - distutils-r1_src_prepare -} - -test_tracer() { - local -x COVERAGE_TEST_TRACER=${1} - einfo " Testing with the ${COVERAGE_TEST_TRACER} tracer ..." - epytest tests -} - -python_test() { - local EPYTEST_DESELECT=( - # TODO: fails because of additional "Terminated" print on SIGTERM - tests/test_concurrency.py::SigtermTest::test_sigterm_threading_saves_data - ) - local EPYTEST_IGNORE=( - # pip these days insists on fetching build deps from Internet - tests/test_venv.py - ) - - "${EPYTHON}" igor.py zip_mods || die - - local -x COVERAGE_TESTING=True - # TODO: figure out why they can't be imported inside test env - local -x COVERAGE_NO_CONTRACTS=1 - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=_hypothesis_pytestplugin,flaky.flaky_pytest_plugin,xdist.plugin - - local prev_opt=$(shopt -p nullglob) - shopt -s nullglob - local c_ext=( "${BUILD_DIR}/install$(python_get_sitedir)"/coverage/*.so ) - ${prev_opt} - - if [[ -n ${c_ext} ]]; then - cp "${c_ext}" \ - coverage/ || die - test_tracer c - rm coverage/*.so || die - else - test_tracer py - fi -} diff --git a/dev-python/coverage/coverage-7.3.1.ebuild b/dev-python/coverage/coverage-7.3.1.ebuild index ebd82db6bc16..9146b6f561e9 100644 --- a/dev-python/coverage/coverage-7.3.1.ebuild +++ b/dev-python/coverage/coverage-7.3.1.ebuild @@ -19,7 +19,7 @@ HOMEPAGE=" LICENSE="BSD" 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" RDEPEND=" $(python_gen_cond_dep ' diff --git a/dev-python/crashtest/crashtest-0.4.1.ebuild b/dev-python/crashtest/crashtest-0.4.1.ebuild index 67c4b81cca2e..d354996211c5 100644 --- a/dev-python/crashtest/crashtest-0.4.1.ebuild +++ b/dev-python/crashtest/crashtest-0.4.1.ebuild @@ -20,6 +20,6 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="amd64 arm arm64 ~hppa ~loong ~ppc ppc64 ~riscv ~s390 ~sparc x86" distutils_enable_tests pytest diff --git a/dev-python/cython/Manifest b/dev-python/cython/Manifest index ee5db7ac6f58..de64a4d0e0f0 100644 --- a/dev-python/cython/Manifest +++ b/dev-python/cython/Manifest @@ -1,3 +1,2 @@ DIST cython-0.29.36.gh.tar.gz 2115333 BLAKE2B 6d43779c7222ff65d7de3a35ec18ef636480807d53480a8f94cc8c92d462fcc2f4d201a3bbf6e840a11fd33025e32c53f85626b05c131d10eed2859cdca7eb2d SHA512 a086fe1a11290cd3c870b891e61a0a0e2595bab9c26888024a758b6950c07059346d682fa9349e46c0af89805abbdd750059b3189960b8ce18007dfb5eb4391a -DIST cython-3.0.0.gh.tar.gz 2713478 BLAKE2B 16be50b463cf155417fee02b4529bbde8c4402bac0098ddf2cb05e33ac4c5b455bf7595b046b2bc6edcc8121f2c6be3b7af60c3c721a37bebcf4c654cd41a43f SHA512 a9bf6f0a78accd0624bc2a61329541d97d60257ae3a6b6601f73bd9122427a3d460129b317f000d3061a4dfe3e6a6de59342354862ded13e85c7eb622ee39f9a DIST cython-3.0.2.gh.tar.gz 2744583 BLAKE2B f631891870a6ce24acf2bcde75ebcb9775cf0df7840fe9d7b138cfdea64d54e9253a53d35d892a9086f251c1294d9414eec8521218d031840a3cd06903fefb86 SHA512 f55be138efdca6ca61bd39c6f2fab736244328a170a6f6c9bda87036e022c846930b209e9e9101fad889cb179d6e60034ba6f299f14b3056536d46235b438eb7 diff --git a/dev-python/cython/cython-3.0.0-r1.ebuild b/dev-python/cython/cython-3.0.0-r1.ebuild deleted file mode 100644 index e2a10a7cbfd1..000000000000 --- a/dev-python/cython/cython-3.0.0-r1.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_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_TESTED=( python3_{8,9,10,11} ) -PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 multiprocessing toolchain-funcs - -MY_P=${P/_rc/rc} -DESCRIPTION="A Python to C compiler" -HOMEPAGE=" - https://cython.org/ - https://github.com/cython/cython/ - https://pypi.org/project/Cython/ -" -SRC_URI=" - https://github.com/cython/cython/archive/${PV/_rc/rc}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -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" -IUSE="test" -RESTRICT="!test? ( test )" - -BDEPEND=" - ${RDEPEND} - test? ( - $(python_gen_cond_dep ' - dev-python/numpy[${PYTHON_USEDEP}] - ' python3_{10..11}) - ) -" - -PATCHES=( - "${FILESDIR}/${PN}-0.29.22-spawn-multiprocessing.patch" - "${FILESDIR}/${PN}-0.29.23-test_exceptions-py310.patch" - "${FILESDIR}/${PN}-0.29.23-pythran-parallel-install.patch" - "${FILESDIR}/${P}-version-stderr-stdout.patch" -) - -distutils_enable_sphinx docs \ - dev-python/jinja \ - dev-python/sphinx-issues \ - dev-python/sphinx-tabs - -python_compile() { - # Python gets confused when it is in sys.path before build. - local -x PYTHONPATH= - - distutils-r1_python_compile -} - -python_test() { - if ! has "${EPYTHON/./_}" "${PYTHON_TESTED[@]}"; then - einfo "Skipping tests on ${EPYTHON} (xfail)" - return - fi - - # Needed to avoid confusing cache tests - unset CYTHON_FORCE_REGEN - - tc-export CC - # https://github.com/cython/cython/issues/1911 - local -x CFLAGS="${CFLAGS} -fno-strict-overflow" - "${PYTHON}" runtests.py \ - -vv \ - -j "$(makeopts_jobs)" \ - --work-dir "${BUILD_DIR}"/tests \ - --no-examples \ - --no-code-style \ - || die "Tests fail with ${EPYTHON}" -} - -python_install_all() { - local DOCS=( CHANGES.rst README.rst ToDo.txt USAGE.txt ) - distutils-r1_python_install_all -} diff --git a/dev-python/cython/cython-3.0.2-r1.ebuild b/dev-python/cython/cython-3.0.2-r1.ebuild index b419798f1be4..e7ad2110fa4a 100644 --- a/dev-python/cython/cython-3.0.2-r1.ebuild +++ b/dev-python/cython/cython-3.0.2-r1.ebuild @@ -26,7 +26,7 @@ S=${WORKDIR}/${MY_P} 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" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/cython/cython-3.0.2.ebuild b/dev-python/cython/cython-3.0.2.ebuild deleted file mode 100644 index 5c2d2b00d23c..000000000000 --- a/dev-python/cython/cython-3.0.2.ebuild +++ /dev/null @@ -1,84 +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_TESTED=( python3_{8,9,10,11} ) -PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 multiprocessing toolchain-funcs - -MY_P=${P/_rc/rc} -DESCRIPTION="A Python to C compiler" -HOMEPAGE=" - https://cython.org/ - https://github.com/cython/cython/ - https://pypi.org/project/Cython/ -" -SRC_URI=" - https://github.com/cython/cython/archive/${PV/_rc/rc}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -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" -IUSE="test" -RESTRICT="!test? ( test )" - -BDEPEND=" - ${RDEPEND} - test? ( - $(python_gen_cond_dep ' - dev-python/numpy[${PYTHON_USEDEP}] - ' python3_{10..11}) - ) -" - -PATCHES=( - "${FILESDIR}/${PN}-0.29.22-spawn-multiprocessing.patch" - "${FILESDIR}/${PN}-0.29.23-test_exceptions-py310.patch" - "${FILESDIR}/${PN}-0.29.23-pythran-parallel-install.patch" -) - -distutils_enable_sphinx docs \ - dev-python/jinja \ - dev-python/sphinx-issues \ - dev-python/sphinx-tabs - -python_compile() { - # Python gets confused when it is in sys.path before build. - local -x PYTHONPATH= - - distutils-r1_python_compile -} - -python_test() { - if ! has "${EPYTHON/./_}" "${PYTHON_TESTED[@]}"; then - einfo "Skipping tests on ${EPYTHON} (xfail)" - return - fi - - # Needed to avoid confusing cache tests - unset CYTHON_FORCE_REGEN - - tc-export CC - # https://github.com/cython/cython/issues/1911 - local -x CFLAGS="${CFLAGS} -fno-strict-overflow" - "${PYTHON}" runtests.py \ - -vv \ - -j "$(makeopts_jobs)" \ - --work-dir "${BUILD_DIR}"/tests \ - --no-examples \ - --no-code-style \ - || die "Tests fail with ${EPYTHON}" -} - -python_install_all() { - local DOCS=( CHANGES.rst README.rst ToDo.txt USAGE.txt ) - distutils-r1_python_install_all -} diff --git a/dev-python/cython/files/cython-3.0.0-version-stderr-stdout.patch b/dev-python/cython/files/cython-3.0.0-version-stderr-stdout.patch deleted file mode 100644 index 7a12c6eead53..000000000000 --- a/dev-python/cython/files/cython-3.0.0-version-stderr-stdout.patch +++ /dev/null @@ -1,35 +0,0 @@ -https://bugs.gentoo.org/911333 -https://github.com/cython/cython/pull/5572 -https://github.com/cython/cython/commit/ca69b359b040bf6c0fc90692bbea3bdd9d7877e6 - -From ca69b359b040bf6c0fc90692bbea3bdd9d7877e6 Mon Sep 17 00:00:00 2001 -From: Eli Schwartz -Date: Fri, 28 Jul 2023 06:52:03 -0400 -Subject: [PATCH] Only write the version to stderr, if it's a separate file - descriptor from stdout (GH-5572) - -At least one project tries to detect the Cython version by redirecting stderr to -stdout and capturing it. This is done in pure POSIX shell, so it probably seemed -like the simple and obvious solution for a less capable programming language -given that no output at all was expected on stdout. - -But the result is that the version number appears twice, and then gets misparsed -and ends up triggering bad assumptions in the code running cython. - -It turns out that it's pretty easy to just print once, though. Detect when -stdout and stderr are redirected to the same location, and only print once. - -See https://github.com/cython/cython/issues/5504 -Fixes https://bugs.gentoo.org/911333 ---- a/Cython/Compiler/Main.py -+++ b/Cython/Compiler/Main.py -@@ -776,7 +776,7 @@ def main(command_line = 0): - print("Cython version %s" % __version__) - # For legacy reasons, we also write the version to stderr. - # New tools should expect it in stdout, but existing ones still pipe from stderr. -- if not sys.stderr.isatty(): -+ if not sys.stderr.isatty() and os.fstat(1) != os.fstat(2): - sys.stderr.write("Cython version %s\n" % __version__) - if options.working_path!="": - os.chdir(options.working_path) - diff --git a/dev-python/django-redis/Manifest b/dev-python/django-redis/Manifest index 7d270d65c97f..1d93f72da443 100644 --- a/dev-python/django-redis/Manifest +++ b/dev-python/django-redis/Manifest @@ -1 +1,2 @@ DIST django-redis-5.3.0.tar.gz 44800 BLAKE2B 29a671f2899aefa6e59086bc194438aaf7e724b3edcefaf0c590a14e958847e86da34b8f94d4c29d62270f53f88395df2e911659e58471b5c037d1c2cd0f4dd7 SHA512 2867d405b69400355576eb3c052b4245844d56304979f09750251f8a2cf35ce704ebcdb6c80e6280fbfe24acfb237a3428f68081b6ada11ffc78257263703d7e +DIST django-redis-5.4.0.tar.gz 52567 BLAKE2B f3ac670500dbe57d795905d10d3a63102c60de6b61e96af257c0e654cd7aa7dc2e70e512bad55ef4129dd11f60ceaaeeccf78b94486550a555a843e4dea98f1f SHA512 12eb85ee3ce2c8fcf013c804a630bd3eb943de0980d1f6d365b5b5ed762ab956db80329f3e170f330ccc5b9e6f178ffa7938b1880477b7fb609d2cc3680b984a diff --git a/dev-python/django-redis/django-redis-5.4.0.ebuild b/dev-python/django-redis/django-redis-5.4.0.ebuild new file mode 100644 index 000000000000..7c4060470545 --- /dev/null +++ b/dev-python/django-redis/django-redis-5.4.0.ebuild @@ -0,0 +1,83 @@ +# 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} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Full featured redis cache backend for Django" +HOMEPAGE=" + https://github.com/jazzband/django-redis/ + https://pypi.org/project/django-redis/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/django-3.2[${PYTHON_USEDEP}] + >=dev-python/redis-3.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-db/redis + dev-python/lz4[${PYTHON_USEDEP}] + dev-python/msgpack[${PYTHON_USEDEP}] + dev-python/pytest-django[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + sed -e '/--cov/d' \ + -e '/--no-cov/d' \ + -i setup.cfg || die + distutils-r1_src_prepare +} + +python_test() { + cd tests || die + local setting_file settings=( + settings.sqlite + settings.sqlite_json + settings.sqlite_lz4 + settings.sqlite_msgpack + settings.sqlite_sharding + settings.sqlite_zlib + # TODO: requires pyzstd +# settings.sqlite_zstd + ) + for setting_file in "${settings[@]}"; do + einfo "Testing ${setting_file} configuration" + epytest "--ds=${setting_file}" + done +} + +src_test() { + local redis_pid="${T}"/redis.pid + local redis_port=6379 + local redis_test_config=" + daemonize yes + pidfile ${redis_pid} + port ${redis_port} + bind 127.0.0.1 + " + + # Spawn Redis itself for testing purposes + einfo "Spawning Redis" + einfo "NOTE: Port ${redis_port} must be free" + "${EPREFIX}"/usr/sbin/redis-server - <<< "${redis_test_config}" || die + + # Run the tests + distutils-r1_src_test + + # Clean up afterwards + kill "$(<"${redis_pid}")" || die +} diff --git a/dev-python/fastjsonschema/Manifest b/dev-python/fastjsonschema/Manifest index 47a5ec364df9..0d09a3fa0c8a 100644 --- a/dev-python/fastjsonschema/Manifest +++ b/dev-python/fastjsonschema/Manifest @@ -1 +1,2 @@ DIST fastjsonschema-2.18.0.tar.gz 371063 BLAKE2B d2b79eb442351487ffebc59ff48af1e8f07fb5e2ca97059cc98cc8f02eda3523fcf60b2aa6b46edc1d3d019ed04d65d2fc5c3eee58471ea9b2a0bd0bf7bf40ed SHA512 848ea4587edb9d694d4f42cee35c8a6a785f601b3e84daae5a5b155ca61c0c7de1b9164e86c0a48166d429a4a737799480dfdeaad7e81eab28f68f71dd46988f +DIST fastjsonschema-2.18.1.tar.gz 371060 BLAKE2B fc77683215e9080d3a6f162336a7ed55550a310c9921f0e669d90bfaea659dd77ad27ed0c623b0355d5efafa3ca2e83f72edf228c42cca0fc4fa16f4f474aa6b SHA512 a08fce64a67c67a06a7c3c637047648e1b2cfa749291794b8accc6dcc1ccf744eb50c8db773734017b79612b2dc4e19730a5956807b2459928fb0b996b59711e diff --git a/dev-python/fastjsonschema/fastjsonschema-2.18.1.ebuild b/dev-python/fastjsonschema/fastjsonschema-2.18.1.ebuild new file mode 100644 index 000000000000..d8dc78c573e1 --- /dev/null +++ b/dev-python/fastjsonschema/fastjsonschema-2.18.1.ebuild @@ -0,0 +1,25 @@ +# 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} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Fast JSON schema validator for Python" +HOMEPAGE=" + https://github.com/horejsek/python-fastjsonschema/ + https://pypi.org/project/fastjsonschema/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + tests/benchmarks +) diff --git a/dev-python/flask-babel/Manifest b/dev-python/flask-babel/Manifest index 9007775b295f..876d26a4d2f5 100644 --- a/dev-python/flask-babel/Manifest +++ b/dev-python/flask-babel/Manifest @@ -1 +1,2 @@ DIST flask-babel-3.1.0.gh.tar.gz 20625 BLAKE2B 44c0f6e0af8e9d48035819a98dcfe472af0e53d98486b3bca367227092d098e392e09b0383b08d0eb782732d235f6f519bf6f553ea751750a869fc5f4de4bdd2 SHA512 74faab1e259fe38caf583982bf7a3595440ef37ec223a68243fa43eadfd4d661055706ba8eb92d29f37586e6a27d4f00fbdf5be8443820346b35b9551b716fc7 +DIST flask-babel-4.0.0.gh.tar.gz 20777 BLAKE2B 60c43fde9a2c131672fa7d97dbfe8cc1c69117e60b3616a2f4d19b5693ff79937537cf7563de2fcf26c3380dd51166fd1bc965a1c583dc33fb340da609070503 SHA512 c2ac57e4ebde67114d535e57eb8b4094c8e3af865ea3076cd8d0ae30ff4a189037b7481280faaf7a4742bbbddca1513b3c408e198d1156c1e61a7b90c05bfe6f diff --git a/dev-python/flask-babel/flask-babel-4.0.0.ebuild b/dev-python/flask-babel/flask-babel-4.0.0.ebuild new file mode 100644 index 000000000000..714fc20d7d6d --- /dev/null +++ b/dev-python/flask-babel/flask-babel-4.0.0.ebuild @@ -0,0 +1,41 @@ +# 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} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="i18n and l10n support for Flask based on Babel and pytz" +HOMEPAGE=" + https://python-babel.github.io/flask-babel/ + https://github.com/python-babel/flask-babel/ + https://pypi.org/project/flask-babel/ +" +SRC_URI=" + https://github.com/python-babel/flask-babel/archive/refs/tags/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/Babel-2.12[${PYTHON_USEDEP}] + >=dev-python/flask-2.0[${PYTHON_USEDEP}] + >=dev-python/jinja-3.1[${PYTHON_USEDEP}] + >=dev-python/pytz-2022.7[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs \ + dev-python/pallets-sphinx-themes +distutils_enable_tests pytest diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index 12f7970ae17a..674e4fedae4d 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -4,3 +4,4 @@ DIST hypothesis-6.85.1.gh.tar.gz 9387516 BLAKE2B 362dc9adff39e0229307ed4d8c63a2c DIST hypothesis-6.86.1.gh.tar.gz 9388105 BLAKE2B 92a645c1e2f0d40bb96271b9539f415d5bdf8a57c50d658a8d041802cc3adc49708c420127bf0ae0daca1480c975766b5c4b1d4a07b18c020a608ea577e1894f SHA512 133adced2ef15f64aca404384ac372d36dec4a28b8b768631b09de6698fb718bd27c062546f0fe8b428510c51014ff124d4469e1b904aedc2fdd84183cee48bf DIST hypothesis-6.86.2.gh.tar.gz 9388171 BLAKE2B 7f6ba341c96e9ad2c6a05c777cd94d5437b24a66f571e690701501ce13bce7a448afdad0964f6ba0c34d3a4e1f52cbbc0f23709e4a15750c0f13b81d25ae2810 SHA512 6d858e9722014ae136a13bf93f1f4bd55b7eef7ae9f25dbb90abe1e5dab4422aa2987ed01f852d74ba8332af2cfc99b7f938f9a934604fea74e51f5dd4d52f9c DIST hypothesis-6.87.0.gh.tar.gz 9388325 BLAKE2B 5774e125a212a3ec4b64e9575db727c6338f931a2b065dce4f8c2bf9e7fa7026c4ed1dc11b4030af7f012064fbeae7240086eda2b0862b41d2ee37ae8540c03a SHA512 2f11d3bfff9c6f6322e368b40987d5379d0aeb619c5017a746ac935e43f50381d4ad8e180765cfddf5196a4f0f69f89df48cc9069e9d3f79446e5d396c673a3b +DIST hypothesis-6.87.1.gh.tar.gz 9388383 BLAKE2B 0b0b9156566a84f4e5972960dbf5ec68c68703e0be0ac31392919a5177332f1dccfc7519c0a58ea2ed9f758f1b9d7e601b30e72db63c85031f5136b83c6dd255 SHA512 1f946d99ecbb3392b105ed479b43a72034d1563c541d1bdc263c76495b05e7e9881585cad50b6c0453e083b05e1ebd1c2ff0cf5a8b98f0f7ce68f009d23dbfeb diff --git a/dev-python/hypothesis/hypothesis-6.87.1.ebuild b/dev-python/hypothesis/hypothesis-6.87.1.ebuild new file mode 100644 index 000000000000..4c56e9453286 --- /dev/null +++ b/dev-python/hypothesis/hypothesis-6.87.1.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +CLI_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) +PYTHON_REQ_USE="threads(+),sqlite" + +inherit distutils-r1 multiprocessing optfeature + +TAG=hypothesis-python-${PV} +MY_P=hypothesis-${TAG} +DESCRIPTION="A library for property based testing" +HOMEPAGE=" + https://github.com/HypothesisWorks/hypothesis/ + https://pypi.org/project/hypothesis/ +" +SRC_URI=" + https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/${MY_P}/hypothesis-python" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="cli" + +RDEPEND=" + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}] + ' 3.9 3.10) + cli? ( + $(python_gen_cond_dep ' + dev-python/black[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + ' "${CLI_COMPAT[@]}") + ) +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pexpect[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + !! -Date: Wed, 12 Jul 2023 01:26:21 +0200 -Subject: [PATCH] Mark functions as noexcept - ---- a/src_c/cython/pygame/_sdl2/audio.pyx -+++ b/src_c/cython/pygame/_sdl2/audio.pyx -@@ -67,7 +67,7 @@ def get_audio_device_names(iscapture = False): - return names - - import traceback --cdef void recording_cb(void* userdata, Uint8* stream, int len) nogil: -+cdef void recording_cb(void* userdata, Uint8* stream, int len) noexcept nogil: - """ This is called in a thread made by SDL. - So we need the python GIL to do python stuff. - """ ---- a/src_c/cython/pygame/_sdl2/controller.pxd -+++ b/src_c/cython/pygame/_sdl2/controller.pxd -@@ -101,8 +101,8 @@ cdef extern from "../controllercompat.c" nogil: - Uint16 high_frequency_rumble, - Uint32 duration_ms) - --cdef bint _controller_autoinit() --cdef void _controller_autoquit() -+cdef bint _controller_autoinit() noexcept -+cdef void _controller_autoquit() noexcept - - cdef class Controller: - cdef SDL_GameController* _controller ---- a/src_c/cython/pygame/_sdl2/controller.pyx -+++ b/src_c/cython/pygame/_sdl2/controller.pyx -@@ -17,14 +17,14 @@ def _gamecontroller_init_check(): - if not SDL_WasInit(_SDL_INIT_GAMECONTROLLER): - raise error("gamecontroller system not initialized") - --cdef bint _controller_autoinit(): -+cdef bint _controller_autoinit() noexcept: - if not SDL_WasInit(_SDL_INIT_GAMECONTROLLER): - if SDL_InitSubSystem(_SDL_INIT_GAMECONTROLLER): - return False - #pg_RegisterQuit(_controller_autoquit) - return True - --cdef void _controller_autoquit(): -+cdef void _controller_autoquit() noexcept: - cdef Controller controller - for c in Controller._controllers: - controller = c ---- a/src_c/cython/pygame/_sdl2/mixer.pxd -+++ b/src_c/cython/pygame/_sdl2/mixer.pxd -@@ -5,7 +5,7 @@ from .sdl2 cimport * - - #https://www.libsdl.org/projects/SDL_mixer/docs/SDL_mixer.html#SEC79 - --ctypedef void (*mixcallback)(void *udata, Uint8 *stream, int len) nogil -+ctypedef void (*mixcallback)(void *udata, Uint8 *stream, int len) noexcept nogil - - cdef extern from "SDL_mixer.h" nogil: - ctypedef void (*mix_func)(void *udata, Uint8 *stream, int len) ---- a/src_c/cython/pygame/_sdl2/mixer.pyx -+++ b/src_c/cython/pygame/_sdl2/mixer.pyx -@@ -14,7 +14,7 @@ import traceback - # Mix_SetPostMix(noEffect, NULL); - - --cdef void recording_cb(void* userdata, Uint8* stream, int len) nogil: -+cdef void recording_cb(void* userdata, Uint8* stream, int len) noexcept nogil: - """ This is called in a thread made by SDL. - So we need the python GIL to do python stuff. - """ ---- a/src_c/cython/pygame/_sdl2/video.pxd -+++ b/src_c/cython/pygame/_sdl2/video.pxd -@@ -430,7 +430,7 @@ cdef class Texture: - cdef draw_internal(self, SDL_Rect *csrcrect, SDL_Rect *cdstrect, float angle=*, SDL_Point *originptr=*, - bint flip_x=*, bint flip_y=*) - cpdef void draw(self, srcrect=*, dstrect=*, float angle=*, origin=*, -- bint flip_x=*, bint flip_y=*) -+ bint flip_x=*, bint flip_y=*) noexcept - - cdef class Image: - cdef Color _color -@@ -445,4 +445,4 @@ cdef class Image: - cdef public Texture texture - cdef public Rect srcrect - -- cpdef void draw(self, srcrect=*, dstrect=*) -+ cpdef void draw(self, srcrect=*, dstrect=*) noexcept ---- a/src_c/cython/pygame/_sdl2/video.pyx -+++ b/src_c/cython/pygame/_sdl2/video.pyx -@@ -731,7 +731,7 @@ cdef class Texture: - raise error() - - cpdef void draw(self, srcrect=None, dstrect=None, float angle=0, origin=None, -- bint flip_x=False, bint flip_y=False): -+ bint flip_x=False, bint flip_y=False) noexcept: - """ Copy a portion of the texture to the rendering target. - - :param srcrect: source rectangle on the texture, or None for the entire texture. -@@ -904,7 +904,7 @@ cdef class Image: - def get_rect(self): - return pgRect_New(&self.srcrect.r) - -- cpdef void draw(self, srcrect=None, dstrect=None): -+ cpdef void draw(self, srcrect=None, dstrect=None) noexcept: - """ Copy a portion of the image to the rendering target. - - :param srcrect: source rectangle specifying a sub-image, or None for the entire image. ---- a/src_c/cython/pygame/_sprite.pyx -+++ b/src_c/cython/pygame/_sprite.pyx -@@ -188,10 +188,10 @@ cdef class Sprite: - else: - self.remove(*group) - -- cpdef void add_internal(self, group): -+ cpdef void add_internal(self, group) noexcept: - self.__g.add(group) - -- cpdef void remove_internal(self, group): -+ cpdef void remove_internal(self, group) noexcept: - self.__g.remove(group) - - def update(self, *args, **kwargs): -@@ -346,16 +346,16 @@ cdef class AbstractGroup: - """ - return list(self.spritedict) - -- cpdef void add_internal(self, sprite): -+ cpdef void add_internal(self, sprite) noexcept: - self.spritedict[sprite] = 0 - -- cpdef void remove_internal(self, sprite): -+ cpdef void remove_internal(self, sprite) noexcept: - r = self.spritedict[sprite] - if r: - self.lostsprites.append(r) - del self.spritedict[sprite] - -- cpdef bint has_internal(self, sprite): -+ cpdef bint has_internal(self, sprite) noexcept: - return sprite in self.spritedict - - def copy(self): -@@ -650,11 +650,11 @@ cdef class OrderedUpdates(RenderUpdates): - cpdef list sprites(self): - return list(self._spritelist) - -- cpdef void add_internal(self, sprite): -+ cpdef void add_internal(self, sprite) noexcept: - RenderUpdates.add_internal(self, sprite) - self._spritelist.append(sprite) - -- cpdef void remove_internal(self, sprite): -+ cpdef void remove_internal(self, sprite) noexcept: - RenderUpdates.remove_internal(self, sprite) - self._spritelist.remove(sprite) - -@@ -697,7 +697,7 @@ cdef class LayeredUpdates(AbstractGroup): - - self.add(*sprites, **kwargs) - -- cpdef void add_internal(self, sprite, layer=None): -+ cpdef void add_internal(self, sprite, layer=None) noexcept: - """Do not use this method directly. - - It is used by the group to add a sprite internally. -@@ -779,7 +779,7 @@ cdef class LayeredUpdates(AbstractGroup): - self.add_internal(sprite, layer) - sprite.add_internal(self) - -- cpdef void remove_internal(self, sprite): -+ cpdef void remove_internal(self, sprite) noexcept: - """Do not use this method directly. - - The group uses it to add a sprite. -@@ -1059,7 +1059,7 @@ cdef class LayeredDirty(LayeredUpdates): - if hasattr(self, key): - setattr(self, key, val) - -- cpdef void add_internal(self, sprite, layer=None): -+ cpdef void add_internal(self, sprite, layer=None) noexcept: - """Do not use this method directly. - - It is used by the group to add a sprite internally. -@@ -1333,7 +1333,7 @@ cdef class GroupSingle(AbstractGroup): - else: - return [] - -- cpdef void add_internal(self, sprite): -+ cpdef void add_internal(self, sprite) noexcept: - if self.__sprite is not None: - self.__sprite.remove_internal(self) - self.remove_internal(self.__sprite) -@@ -1355,13 +1355,13 @@ cdef class GroupSingle(AbstractGroup): - None, - "The sprite contained in this group") - -- cpdef void remove_internal(self, sprite): -+ cpdef void remove_internal(self, sprite) noexcept: - if sprite is self.__sprite: - self.__sprite = None - if sprite in self.spritedict: - AbstractGroup.remove_internal(self, sprite) - -- cpdef bint has_internal(self, sprite): -+ cpdef bint has_internal(self, sprite) noexcept: - return self.__sprite is sprite - - # Optimizations... - diff --git a/dev-python/pygame/pygame-2.5.0-r2.ebuild b/dev-python/pygame/pygame-2.5.0-r2.ebuild deleted file mode 100644 index fac206ccb9aa..000000000000 --- a/dev-python/pygame/pygame-2.5.0-r2.ebuild +++ /dev/null @@ -1,92 +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} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Python bindings for SDL multimedia library" -HOMEPAGE=" - https://www.pygame.org/ - https://github.com/pygame/pygame/ - https://pypi.org/project/pygame/ -" -SRC_URI=" - https://github.com/pygame/pygame/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86" -IUSE="examples opengl test X" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-python/numpy[${PYTHON_USEDEP}] - media-libs/freetype - media-libs/libjpeg-turbo:= - media-libs/libpng:= - media-libs/portmidi - media-libs/sdl2-image - media-libs/sdl2-mixer - media-libs/sdl2-ttf - X? ( media-libs/libsdl2[opengl?,threads,video,X] ) - !X? ( media-libs/libsdl2[threads] ) -" -DEPEND=" - ${RDEPEND} - test? ( - media-libs/sdl2-image[gif,jpeg,png,tiff,webp] - media-libs/sdl2-mixer[mp3,vorbis,wav] - ) -" -# fontconfig used for fc-list -RDEPEND+=" - media-libs/fontconfig -" -# util-linux provides script -BDEPEND=" - dev-python/cython[${PYTHON_USEDEP}] - test? ( - media-libs/fontconfig - sys-apps/util-linux - ) -" - -PATCHES=( - "${FILESDIR}"/${P}-cython-3.patch -) - -python_configure() { - PORTMIDI_INC_PORTTIME=1 LOCALBASE="${EPREFIX}/usr" \ - "${EPYTHON}" "${S}"/buildconfig/config.py || die -} - -python_configure_all() { - find src_c/cython -name '*.pyx' -exec touch {} + || die - "${EPYTHON}" setup.py cython_only || die -} - -python_test() { - local -x PYTHONPATH=${BUILD_DIR}/install/lib - local -x SDL_VIDEODRIVER=dummy - local -x SDL_AUDIODRIVER=disk - script -eqc "${EPYTHON} -m pygame.tests -v" || die -} - -python_install() { - distutils-r1_python_install - - # Bug #497720 - rm -fr "${D}$(python_get_sitedir)"/pygame/{docs,examples,tests}/ || die -} - -python_install_all() { - distutils-r1_python_install_all - use examples && dodoc -r examples -} diff --git a/dev-python/pygame/pygame-2.5.1.ebuild b/dev-python/pygame/pygame-2.5.1.ebuild index 2fe9f3d27fc7..83909b6f382c 100644 --- a/dev-python/pygame/pygame-2.5.1.ebuild +++ b/dev-python/pygame/pygame-2.5.1.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86" IUSE="examples opengl test X" RESTRICT="!test? ( test )" diff --git a/dev-python/pylint/Manifest b/dev-python/pylint/Manifest index ed9abcb6dc9f..620535e9ca44 100644 --- a/dev-python/pylint/Manifest +++ b/dev-python/pylint/Manifest @@ -1,3 +1,4 @@ DIST pylint-2.17.5.gh.tar.gz 1413718 BLAKE2B 7ba0a6cb78cdef5f16e80d98d1b02f41ae700c44365de26a0a650b60fe95b4b806e36786d16ec50ed5c78c8b86c13afe8e7fe215dd938df654c2883d5493d318 SHA512 431e722d027b03f1b657841ccaba43233961e810aecfe1a679e3ba4ba92fea94f28524195861a6fd4fe6fc6267a1af6489b9b69e5e30f919ac3a476fd35698ec DIST pylint-2.17.6.gh.tar.gz 1415348 BLAKE2B d760a81cc8a453a081f1b0e3845c5a0b608b8109863665361990da127323c877e8e02ed9c1aca656fa84dd49941b23652fc465177a3e347942047299ebb86a32 SHA512 1e1bba425d295f9d267ef439f4f402dfc7284ee57ac41c222ac39e502c66bbac60c9afb0024ca4236de7cc7130ac733c781f5ee98670fae054005a8d69107123 DIST pylint-2.17.7.gh.tar.gz 1415651 BLAKE2B 9b2edea7d7d9e05fd265749cb1e50e77513e382518dc16bf654861e66564c55a430193ab1f538cb23e31e85d2130784c648ba185d62139c6df752ca54f0fc09d SHA512 514fe9d244a58e21fade66f0e343f2162a2fc2f99d7197f4d91801250c13fde2ddc365f92a274d89d602689466a12bac3ff9dd364ce15891171ef86d6313aba2 +DIST pylint-3.0.0b0.gh.tar.gz 1421208 BLAKE2B e58859e85b5001236a7f92060bca3e828957c8a24b3f0981cac795f0a0ce1af3d0be3ab8cc45c9e7fee173f988598e23fb3b9bc3c257d2e354c7d1c621ae7301 SHA512 265f29d28879c09320a8aa3d235873d96505a2472fb9b41ac0f11fa453c2e4d3fb57133bc588583ac82bdaad895b1cafe828f5662d3700baf6eaf6c3f22817db diff --git a/dev-python/pylint/pylint-3.0.0_beta0.ebuild b/dev-python/pylint/pylint-3.0.0_beta0.ebuild new file mode 100644 index 000000000000..8aa7a87016c5 --- /dev/null +++ b/dev-python/pylint/pylint-3.0.0_beta0.ebuild @@ -0,0 +1,83 @@ +# 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} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +MY_P=${P/_beta/b} +DESCRIPTION="Python code static checker" +HOMEPAGE=" + https://pypi.org/project/pylint/ + https://github.com/pylint-dev/pylint/ +" +SRC_URI=" + https://github.com/pylint-dev/pylint/archive/v${PV/_beta/b}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="examples" + +# Make sure to check https://github.com/pylint-dev/pylint/blob/main/pyproject.toml#L34 on bumps +# Adjust dep bounds! +RDEPEND=" + =dev-python/astroid-3.0.0[${PYTHON_USEDEP}] + >=dev-python/dill-0.3.7[${PYTHON_USEDEP}] + >=dev-python/isort-4.2.5[${PYTHON_USEDEP}] + =dev-python/mccabe-0.6[${PYTHON_USEDEP}] + =dev-python/platformdirs-2.2.0[${PYTHON_USEDEP}] + >=dev-python/tomlkit-0.10.1[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-1.1.0[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + test? ( + >=dev-python/GitPython-3[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # TODO + 'tests/test_functional.py::test_functional[dataclass_with_field]' + + # incompatible versions of numpy/scikit-learn? + 'tests/test_functional.py::test_functional[no_name_in_module]' + 'tests/test_functional.py::test_functional[shadowed_import]' + ) + local EPYTEST_IGNORE=( + # No need to run the benchmarks + tests/benchmark/test_baseline_benchmarks.py + ) + + rm -rf pylint || die + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p timeout +} + +python_install_all() { + if use examples ; then + docompress -x "/usr/share/doc/${PF}/examples" + docinto examples + dodoc -r examples/. + fi + + distutils-r1_python_install_all +} diff --git a/dev-python/pymongo/pymongo-4.5.0.ebuild b/dev-python/pymongo/pymongo-4.5.0.ebuild index 637473f1b7bb..118c127a713b 100644 --- a/dev-python/pymongo/pymongo-4.5.0.ebuild +++ b/dev-python/pymongo/pymongo-4.5.0.ebuild @@ -23,7 +23,7 @@ S=${WORKDIR}/${MY_P} LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="amd64 arm arm64 ~hppa ~loong ~ppc ppc64 ~riscv ~s390 ~sparc x86" IUSE="doc kerberos +native-extensions +test-full" RDEPEND=" diff --git a/dev-python/pypiserver/Manifest b/dev-python/pypiserver/Manifest index 99cb5b1d2d2f..1dc813963f34 100644 --- a/dev-python/pypiserver/Manifest +++ b/dev-python/pypiserver/Manifest @@ -1 +1,2 @@ DIST pypiserver-1.5.2.gh.tar.gz 153032 BLAKE2B 58cb9ef1bc842fd31612009201e4fafbb5c477b7284cf1f85f1e2939167573c27d451a8b8735d52be8cfb467ff1bfe30b7b83567926b3945beae62b1ee82833c SHA512 e8794341c0b5e6d9d7c72bd4cf29380adc2415563724d5af0ff808d8fb81afea646477859a2dfd5dc2d3ccf62cad5118887891faa11e70b125cbb8b7e88e977a +DIST pypiserver-2.0.1.gh.tar.gz 156624 BLAKE2B b37700ffe0c7361289a3825dafd86041fab9ddf574d7792c7cd155f7e869a1bdd2de4e2a658c808afc7fe5ee8989876fcb7e85a8da74202c2c4c4344fbaf1df4 SHA512 962b34ea2bbca680fcf7ee8153ecea09c2f0c1bcebaaacee4666c93deab9d2508e08a22d82635a64d8aaec7cab3b5485e3752f1439006ed01b58539035f3b711 diff --git a/dev-python/pypiserver/pypiserver-2.0.1.ebuild b/dev-python/pypiserver/pypiserver-2.0.1.ebuild new file mode 100644 index 000000000000..06d1d0c76e5a --- /dev/null +++ b/dev-python/pypiserver/pypiserver-2.0.1.ebuild @@ -0,0 +1,76 @@ +# 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} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Minimal PyPI server" +HOMEPAGE=" + https://github.com/pypiserver/pypiserver/ + https://pypi.org/project/pypiserver/ +" +SRC_URI=" + https://github.com/pypiserver/pypiserver/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +RDEPEND=" + dev-python/bottle[${PYTHON_USEDEP}] + >=dev-python/pip-7[${PYTHON_USEDEP}] + >=dev-python/wheel-0.25.0[${PYTHON_USEDEP}] +" +# NB: many test deps are optional/specific to tests we skip +BDEPEND=" + dev-python/setuptools-git[${PYTHON_USEDEP}] + test? ( + >=dev-python/passlib-1.6[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/webtest[${PYTHON_USEDEP}] + ) +" + +DOCS=( CHANGES.rst README.md ) + +PATCHES=( + "${FILESDIR}/${PN}-1.5.0-unbundle-bottle.patch" +) + +distutils_enable_tests pytest + +src_prepare() { + # remove bundled bottle (sic!) + rm pypiserver/bottle.py || die + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # Internet + tests/test_server.py::test_hash_algos + tests/test_server.py::test_pipInstall_openOk + tests/test_server.py::test_pipInstall_authedOk + # TODO + tests/test_app.py::test_root_count + tests/test_server.py::test_pip_install_open_succeeds + tests/test_server.py::test_pip_install_authed_succeeds + # seems to rely on internal bottle details + tests/test_main.py::test_auto_servers + ) + + if ! has_version dev-python/twine; then + EPYTEST_DESELECT+=( + tests/test_server.py::test_twine_upload + tests/test_server.py::test_twine_register + ) + fi + + epytest tests +} diff --git a/dev-python/pytzdata/pytzdata-2020.1-r2.ebuild b/dev-python/pytzdata/pytzdata-2020.1-r2.ebuild index d4ba2ce14e40..24e2e930432b 100644 --- a/dev-python/pytzdata/pytzdata-2020.1-r2.ebuild +++ b/dev-python/pytzdata/pytzdata-2020.1-r2.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="amd64 arm arm64 ~hppa ~loong ~ppc ppc64 ~riscv ~s390 ~sparc x86" RDEPEND=" dev-python/cleo[${PYTHON_USEDEP}] diff --git a/dev-python/pyzotero/Manifest b/dev-python/pyzotero/Manifest index 0fbc25a5608c..5ba888b81b43 100644 --- a/dev-python/pyzotero/Manifest +++ b/dev-python/pyzotero/Manifest @@ -1,2 +1,3 @@ DIST pyzotero-1.5.10.tar.gz 526403 BLAKE2B f62607b14dd558f7d3bb74e9758ae3bc762df178ce92c31253d183609dc0e8c48e67382457a6078139e003076ee8b1cd20959d807fdf9fd8bf1cf2c383bbdf1a SHA512 9fe4c337e597786ada1cfdfbe1bbb42f03356e3a1258760f945f22e17fd3c48a77ad1f92b3854fc36be4ffcbaf9453cd7109f2bd339b2bfe837719fdbc71b129 +DIST pyzotero-1.5.15.tar.gz 527652 BLAKE2B dee831d15cb5a387b985ff1a85fd505b5063dc7348a61a1acc4a5b1c730fe7ec2f55096697df14df16e17c32cb2d15460f9896eb28d9481a08c96f149716a4f2 SHA512 0061e08983aaef115a88e181093b5e7bca521f5a627dfbfc7ccdf56ff7d606aca2c1d70001dc3c93cc621b621d1909f9d0f6acb25a65b04e0bf9764ed969de8b DIST pyzotero-1.5.9.tar.gz 526093 BLAKE2B bf29b557226363d71d536c41fb168b55b0d63dace5789f8abc92b8342bffb1ddcb4344132a68cc401db0ca0a536f534141690b017bc4dcf4d45299dec308a554 SHA512 be8c2135d3cc1bc5defc27a4eaf5233ced01a7c84cdf89074ce318558728c9356ddcf9e4ede4012b03c1f836dde641fee9366ca954e5d3cf35642638c3e38145 diff --git a/dev-python/pyzotero/pyzotero-1.5.15.ebuild b/dev-python/pyzotero/pyzotero-1.5.15.ebuild new file mode 100644 index 000000000000..c719e2a96e45 --- /dev/null +++ b/dev-python/pyzotero/pyzotero-1.5.15.ebuild @@ -0,0 +1,37 @@ +# 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} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A Python client for the Zotero API" +HOMEPAGE=" + https://github.com/urschrei/pyzotero/ + https://pypi.org/project/pyzotero/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + app-text/zotero-bin + dev-python/bibtexparser[${PYTHON_USEDEP}] + >=dev-python/feedparser-6[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + >=dev-python/requests-2.21.0[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/httpretty[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx doc --no-autodoc +distutils_enable_tests pytest diff --git a/dev-python/typeguard/Manifest b/dev-python/typeguard/Manifest index afbf3b4df506..8fa77d5ac849 100644 --- a/dev-python/typeguard/Manifest +++ b/dev-python/typeguard/Manifest @@ -1,4 +1,2 @@ -DIST typeguard-4.1.0.tar.gz 67584 BLAKE2B d2f6777cad306410d4a536312a981600371e0e0cae224eee286e3b6bd48a0777ca587eb44b4f48fd9a2c7fe5e35d274f5d1c2eb508ed9708b25b686b395976fb SHA512 5a1a374c1b9679cf1d840a750698caea47deae0fcec8eda3312773fd8eee8ccc533030b78c8e1c8bfae6bee79c323ba421176b2c8d2e85a87444ba767891ede7 -DIST typeguard-4.1.3.tar.gz 67821 BLAKE2B 66373b95f9f3c995ad560f4f35318647a6dd8581b1b7ad1a4adbc3f4944a7ca130cc3291d12b062b3c0d05f82ad254249a80ececa5984f4d16fd093deeecc1fb SHA512 bf9914ac33b3c7afb439e96c9319f79ee67591d3bfa7da1f0df50ba7b2bbaf0c3705d45d9fe7215b132f838f4d57ae2c0abe1f4b90c4199520601453d2ca04f8 DIST typeguard-4.1.4.tar.gz 68958 BLAKE2B 92147b2d8e2c444d4e8085ebe337aee4e1be771678ef84c7fca14aef8a3b18c51dd694948fa0b0a4c3bfa1a6e1c11fe38d1990cd734cfbc358a8a54a731e018a SHA512 fc1b8c154d3e26f83241eda5e7781a8d09ac7cb5d5da5809bebf40db7a1691afe008384bdaafbfca4f3eb619e452c8bb841d5691e90bcabb95ab00b710d03c98 DIST typeguard-4.1.5.tar.gz 69228 BLAKE2B 2af39b1cb179483e167b8cfbf053e633f5947b3a17c496aaa2bdf22f3a69f7b41e2c9f317534eb12ffb781364cf81d117ced9fafd389aadd85d16d05e42bff0b SHA512 50bf3760246dba5de2e98038c78acbd6f2fd2d69ae8c688c3efeface5ef6cc4c2521f82d6084dabc1258286ac589ff94f1b9e3c9b67e9b019d725bf13884fce2 diff --git a/dev-python/typeguard/typeguard-4.1.0.ebuild b/dev-python/typeguard/typeguard-4.1.0.ebuild deleted file mode 100644 index 0d944caf2200..000000000000 --- a/dev-python/typeguard/typeguard-4.1.0.ebuild +++ /dev/null @@ -1,42 +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} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Run-time type checker for Python" -HOMEPAGE=" - https://pypi.org/project/typeguard/ - https://github.com/agronholm/typeguard/ -" - -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/typing-extensions-4.7.0[${PYTHON_USEDEP}] - ' 3.{10..11}) -" -BDEPEND=" - >=dev-python/setuptools-scm-6.4[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_IGNORE=( - # mypy changes results from version to version - tests/mypy - ) - - local -x PYTHONDONTWRITEBYTECODE= - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - # the XFAIL test pass due to some package being installed - epytest -o xfail_strict=False -} diff --git a/dev-python/typeguard/typeguard-4.1.3.ebuild b/dev-python/typeguard/typeguard-4.1.3.ebuild deleted file mode 100644 index 18d69019e2e3..000000000000 --- a/dev-python/typeguard/typeguard-4.1.3.ebuild +++ /dev/null @@ -1,42 +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} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Run-time type checker for Python" -HOMEPAGE=" - https://pypi.org/project/typeguard/ - https://github.com/agronholm/typeguard/ -" - -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/typing-extensions-4.7.0[${PYTHON_USEDEP}] - ' 3.{10..11}) -" -BDEPEND=" - >=dev-python/setuptools-scm-6.4[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_IGNORE=( - # mypy changes results from version to version - tests/mypy - ) - - local -x PYTHONDONTWRITEBYTECODE= - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - # the XFAIL test pass due to some package being installed - epytest -o xfail_strict=False -} diff --git a/dev-python/typeguard/typeguard-4.1.4.ebuild b/dev-python/typeguard/typeguard-4.1.4.ebuild index 554863c81bd7..0d944caf2200 100644 --- a/dev-python/typeguard/typeguard-4.1.4.ebuild +++ b/dev-python/typeguard/typeguard-4.1.4.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=" $(python_gen_cond_dep ' diff --git a/dev-python/xlsxwriter/Manifest b/dev-python/xlsxwriter/Manifest index 75b7216b9338..eb9a0db40990 100644 --- a/dev-python/xlsxwriter/Manifest +++ b/dev-python/xlsxwriter/Manifest @@ -2,3 +2,4 @@ DIST XlsxWriter-RELEASE_3.1.2.gh.tar.gz 36697835 BLAKE2B 055d0ac2e70ce5f86167f63 DIST XlsxWriter-RELEASE_3.1.3.gh.tar.gz 37317330 BLAKE2B 08dd76cfb7bcb336d0fa64276d11d0cee90809169cf0597739a262b970cc82741ac56beb681e78e7f3d88bec65f4a5c4b7a368ea800aab8bcfc4814e5b679638 SHA512 673b51d7d25fae462fb0b40fbb131ffd32237ee0078d235cbe1bb2fb4cee67bf72955aa555e3f5950bee9be7d256dad9ddadba2df4f50dc774cf1fda7503f43c DIST XlsxWriter-RELEASE_3.1.4.gh.tar.gz 37324495 BLAKE2B ebedb84e46eb73e750b9442969c397bb9c77af807c1bd78fe956bf304ae942cb8575f8f410631c7ae542f9e16c1d5c76385ba232fec109bc5ccf59fd1843b2c3 SHA512 2faa7a9fc03a620c3a1f9230685b2bd09c5b282fb783d36a28de225b1d5e64663db32cd5da1a16ffe3cb4bc886f77b79eb7f13ce460c18f6e88667b9979e504e DIST XlsxWriter-RELEASE_3.1.5.gh.tar.gz 37348174 BLAKE2B ae86c45f63dabe7678a476fcc7aae60de36a0b4b1a422b83ecfb6143ab0b1563ee274ea715aca7147e1fa184a3311c9f7c92c3b7d3c01bf934d5772c635862e3 SHA512 c2da3a2dc52e7f9b887e71828452484edabd99e882a3cbeed9969e04fef538cac2b48042900e9ac4bf8e41ed21178aa498b3ebecd018d2bdd31cad29b81c040b +DIST XlsxWriter-RELEASE_3.1.6.gh.tar.gz 37354453 BLAKE2B a2b54fb38d7c7a60b5814968431b781f533dc0803ed23aed38df4e78ea0d5f9315cddb00ec6d59db340e5cf19142cac2179ace53d42e903d8b0f2cfe64b0385b SHA512 4a7996163ff25881210b729d025998343bf9f142693a40e6f73039a3b4582e668699bbd27e1a77c0bbfba61f2160ecd8cf1179206d011217b46cf11d17b56bc4 diff --git a/dev-python/xlsxwriter/xlsxwriter-3.1.6.ebuild b/dev-python/xlsxwriter/xlsxwriter-3.1.6.ebuild new file mode 100644 index 000000000000..ebaeb3e4f89f --- /dev/null +++ b/dev-python/xlsxwriter/xlsxwriter-3.1.6.ebuild @@ -0,0 +1,28 @@ +# 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} pypy3 ) + +inherit distutils-r1 + +TAG=RELEASE_${PV} +MY_P=XlsxWriter-${TAG} +DESCRIPTION="Python module for creating Excel XLSX files" +HOMEPAGE=" + https://github.com/jmcnamara/XlsxWriter/ + https://pypi.org/project/XlsxWriter/ +" +SRC_URI=" + https://github.com/jmcnamara/XlsxWriter/archive/${TAG}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +SLOT="0" +LICENSE="BSD" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +distutils_enable_tests pytest diff --git a/dev-python/ytmusicapi/Manifest b/dev-python/ytmusicapi/Manifest index 86405654779b..8d42c2897ca3 100644 --- a/dev-python/ytmusicapi/Manifest +++ b/dev-python/ytmusicapi/Manifest @@ -1,3 +1 @@ -DIST ytmusicapi-1.1.1.tar.gz 69876 BLAKE2B bdc729033710fd1a1bbfb7ee98c3e0ed4651c1f784f3d3fe2d429bac012d6440a897e38955c88f2d8cbe298e5bfdae4e191a894435a4e27b4f6fde57d9117569 SHA512 f65f568d7837cca06b9e1827d39cbb281adf4c9bbf9c1e1030e320ccaac9df00a343bdfa7036807cea57d205b3501551bed37f71e4c33e7cc5a898412ef9e564 -DIST ytmusicapi-1.2.0.tar.gz 71189 BLAKE2B 99c93d650c1546004db2b13b2b56c6cbaa2450b440c0efe4a09cf97d0944dae307c51d0414c00702dd91653ae0e0f4f88efea75d45a55111647235dd5e0d1476 SHA512 4fa5efcbbc2a5e079cfa588ef4328cc17390edb44ae1261f6de87a18d57e7c1d02009e1b6cac26163ed149b131782692f97ec532cff6ee1040812e7f5a9cf193 DIST ytmusicapi-1.2.1.tar.gz 71105 BLAKE2B 852015adc0b15a34a1a808810c37bb15d6a2ed7bf1fbcd1dfa8dc3559115842a325b9ce45630ed620f15c113d1f75b3811ab4d9b2cb4416ae4b08903ca1c91c7 SHA512 758050e30f6e328aeb0a43b440cd9bab9719730203073def810a33071f7b5c01a34b83ed3615cf4010f54c29b768f166b4a76ab6a49306f8d299f4a933af21aa diff --git a/dev-python/ytmusicapi/ytmusicapi-1.1.1.ebuild b/dev-python/ytmusicapi/ytmusicapi-1.1.1.ebuild deleted file mode 100644 index a724c32d8836..000000000000 --- a/dev-python/ytmusicapi/ytmusicapi-1.1.1.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} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Unofficial API for YouTube Music" -HOMEPAGE="https://ytmusicapi.readthedocs.io/ - https://github.com/sigma67/ytmusicapi/" - -LICENSE="MIT" -KEYWORDS="amd64 ~x86" -SLOT="0" - -RDEPEND="dev-python/requests[${PYTHON_USEDEP}]" - -distutils_enable_sphinx docs/source \ - dev-python/sphinx-rtd-theme diff --git a/dev-python/ytmusicapi/ytmusicapi-1.2.0.ebuild b/dev-python/ytmusicapi/ytmusicapi-1.2.0.ebuild deleted file mode 100644 index a724c32d8836..000000000000 --- a/dev-python/ytmusicapi/ytmusicapi-1.2.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} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Unofficial API for YouTube Music" -HOMEPAGE="https://ytmusicapi.readthedocs.io/ - https://github.com/sigma67/ytmusicapi/" - -LICENSE="MIT" -KEYWORDS="amd64 ~x86" -SLOT="0" - -RDEPEND="dev-python/requests[${PYTHON_USEDEP}]" - -distutils_enable_sphinx docs/source \ - dev-python/sphinx-rtd-theme diff --git a/dev-python/ytmusicapi/ytmusicapi-1.2.1.ebuild b/dev-python/ytmusicapi/ytmusicapi-1.2.1.ebuild index c430d9c08fac..a724c32d8836 100644 --- a/dev-python/ytmusicapi/ytmusicapi-1.2.1.ebuild +++ b/dev-python/ytmusicapi/ytmusicapi-1.2.1.ebuild @@ -13,7 +13,7 @@ HOMEPAGE="https://ytmusicapi.readthedocs.io/ https://github.com/sigma67/ytmusicapi/" LICENSE="MIT" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" SLOT="0" RDEPEND="dev-python/requests[${PYTHON_USEDEP}]" diff --git a/dev-python/zeroconf/Manifest b/dev-python/zeroconf/Manifest index 26f60b47486d..3b1f66712aad 100644 --- a/dev-python/zeroconf/Manifest +++ b/dev-python/zeroconf/Manifest @@ -3,4 +3,5 @@ DIST zeroconf-0.112.0.tar.gz 155715 BLAKE2B ce19e2d7798f3bc4e6e3ae5b6d319594f694 DIST zeroconf-0.113.0.tar.gz 155892 BLAKE2B 4de635a601349d2db2e2a0e72c0a1a130e3f9590bde2b1adfd603e758a17362a7588e90dfeeed91841317c0bc977f51ca176fa4e94734641ca8249436e78844c SHA512 e9000ea6d2787598b3203c79446c0f5f5efc833abcc2b625542850383e9905be023c89938adace8f7c06d46fb88263bb556281f0929fb1d5fa822dd55cbe9751 DIST zeroconf-0.114.0.tar.gz 156001 BLAKE2B b3bc076746f5d510ba655dc5de748e7ff7cb0c0b4db371369a0b886828d0721b92b47d3f8c4cf74135aa1642ffef5e4953c12160060a25b714072f3c50215d63 SHA512 e03ac6c6861112e4164a2f20cf1fe2492c39e636c57673b1a2a65d0ac67abfa24739662e27a9628b06add8e5f38554c53b8612c8ff685ed0ad8c97dab51e6250 DIST zeroconf-0.115.0.tar.gz 156238 BLAKE2B 5f32c06e247bff5bfbd0ea53588458e8da6e94a2ee0a33627de1195c6e34fffee7c403cc8c6e234f4ab91cde10af50b3714b6493e5ae33f0523fdb8fd2f8f6bc SHA512 95d0c106e4a5bd5a25d0c91224642ada7cefbe16e3a4fbfff7c31b03c7359d34160c120adb9d4c06fb50be2cb20e298a1e775cd8c7b62f7207d04be59f49f6d8 +DIST zeroconf-0.115.1.tar.gz 156318 BLAKE2B 1322b3ccf7d4d749642bb813b1655aefb410c1e953b89edb6a07196031e8a8fb8cfc923fd5d4a7149b7b25e5a16612ec86c6f353caf326d6cc3cff9a6881f7a3 SHA512 786e0dc1e7a321e37e491220f7aa83c5678ef7396bcf844d4928433fa7a1f43d1c5bb4dca10372ea982de5fb7640f3f8bb4b304ad59f9c6b4017c594bc54af61 DIST zeroconf-0.91.1.tar.gz 150551 BLAKE2B 220e6b5684d503c7d1c594196ffa7ecc4f06975accad2ad64a6dd0a75881326110bbf897e74a2a176307fc392fc9fce903c77bbf9fc70fec84f193072bd7a016 SHA512 852946a2f823de1dc25dda5321ec23c67e3893fd8dcf55391e001afb01eb4c8143813aaa0950fddbea6634975eb0904a6e3b500cbe082e843da301c0cd704e9a diff --git a/dev-python/zeroconf/zeroconf-0.115.1.ebuild b/dev-python/zeroconf/zeroconf-0.115.1.ebuild new file mode 100644 index 000000000000..3df0828376ec --- /dev/null +++ b/dev-python/zeroconf/zeroconf-0.115.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{8,9,10,11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Pure Python Multicast DNS Service Discovery Library (Bonjour/Avahi compatible)" +HOMEPAGE=" + https://github.com/python-zeroconf/python-zeroconf/ + https://pypi.org/project/zeroconf/ +" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/async-timeout-3.0.0[${PYTHON_USEDEP}] + ' 3.10) +" +# the build system uses custom build script that uses distutils to build +# C extensions, sigh +BDEPEND=" + >=dev-python/cython-3[${PYTHON_USEDEP}] + >=dev-python/setuptools-65.6.3[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +export REQUIRE_CYTHON=1 + +python_test() { + local -x SKIP_IPV6=1 + local EPYTEST_DESELECT=( + # network + tests/test_core.py::Framework::test_close_multiple_times + tests/test_core.py::Framework::test_launch_and_close + tests/test_core.py::Framework::test_launch_and_close_context_manager + + # fragile to timeouts (?) + tests/services/test_browser.py::test_service_browser_expire_callbacks + tests/utils/test_asyncio.py::test_run_coro_with_timeout + ) + + epytest -o addopts= +} -- cgit v1.3