diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-10-15 09:51:25 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-10-15 09:51:25 +0000 |
| commit | b11347a6e67a6a9a3f8f76f51aff43f0ff55435b (patch) | |
| tree | 82fe116041bc98ee633a4d4f8878aaae368dc6a8 /dev-python | |
| parent | 62118125e721503388470d4b653b096b4597f851 (diff) | |
| download | baldeagleos-repo-b11347a6e67a6a9a3f8f76f51aff43f0ff55435b.tar.gz baldeagleos-repo-b11347a6e67a6a9a3f8f76f51aff43f0ff55435b.tar.xz baldeagleos-repo-b11347a6e67a6a9a3f8f76f51aff43f0ff55435b.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
93 files changed, 675 insertions, 1676 deletions
diff --git a/dev-python/aws-xray-sdk/Manifest b/dev-python/aws-xray-sdk/Manifest index 18e6c1166254..d2ee6c099032 100644 --- a/dev-python/aws-xray-sdk/Manifest +++ b/dev-python/aws-xray-sdk/Manifest @@ -1 +1,2 @@ DIST aws-xray-sdk-python-2.12.0.gh.tar.gz 275773 BLAKE2B a78ac201524e70a342100c2e76e93bb02ed76e183dfca2e8737230061182d94c9a7f4eba183bc731d2ed79a8e4dda486ea09cb304f4cd58da56d712b8e6c5749 SHA512 0616369f95bf0de710ab5fb868d1a84280bcc1180cc205e6a6e0c405eae131fb861de75fea00c9c1be4e163b9d292cc27e08f624c7b6981ba4a3b8d99dbbb63c +DIST aws-xray-sdk-python-2.12.1.gh.tar.gz 275525 BLAKE2B 7aae0cc3d6b733ee80b553d087bd85d02329c7da3a8902cb428823af4a53d47a14089a274cfccdfb197a77370dcb71775e1d111bb76205a1f09f9b60a5c92967 SHA512 3c830cf81f353a2805b641bda3d38d72a1286d413e0cd087bfeac78bfe00e7853c19ddab96f18275e7fd95317c2a6650d5e4b287d63c1d3900b25414a525c3dc diff --git a/dev-python/aws-xray-sdk/aws-xray-sdk-2.12.0.ebuild b/dev-python/aws-xray-sdk/aws-xray-sdk-2.12.0.ebuild index 8f08947768d2..6ffee9f5369d 100644 --- a/dev-python/aws-xray-sdk/aws-xray-sdk-2.12.0.ebuild +++ b/dev-python/aws-xray-sdk/aws-xray-sdk-2.12.0.ebuild @@ -31,11 +31,8 @@ RDEPEND=" BDEPEND=" test? ( dev-python/bottle[${PYTHON_USEDEP}] - <dev-python/flask-sqlalchemy-3[${PYTHON_USEDEP}] dev-python/flask[${PYTHON_USEDEP}] dev-python/mock[${PYTHON_USEDEP}] - >=dev-python/sqlalchemy-1.4[${PYTHON_USEDEP}] - <dev-python/sqlalchemy-2[${PYTHON_USEDEP}] dev-python/webtest[${PYTHON_USEDEP}] ) " @@ -76,8 +73,10 @@ python_test() { tests/ext/httpx tests/ext/requests # requires old package vesions - tests/ext/django tests/ext/aiohttp + tests/ext/django + tests/ext/flask_sqlalchemy + tests/ext/sqlalchemy ) epytest -p no:django diff --git a/dev-python/aws-xray-sdk/aws-xray-sdk-2.12.1.ebuild b/dev-python/aws-xray-sdk/aws-xray-sdk-2.12.1.ebuild new file mode 100644 index 000000000000..7f2e8491360a --- /dev/null +++ b/dev-python/aws-xray-sdk/aws-xray-sdk-2.12.1.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} ) + +inherit distutils-r1 + +MY_P=aws-xray-sdk-python-${PV} +DESCRIPTION="AWS X-Ray SDK for Python" +HOMEPAGE=" + https://github.com/aws/aws-xray-sdk-python/ + https://pypi.org/project/aws-xray-sdk/ +" +SRC_URI=" + https://github.com/aws/aws-xray-sdk-python/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 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/botocore-1.12.122[${PYTHON_USEDEP}] + dev-python/wrapt[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/bottle[${PYTHON_USEDEP}] + dev-python/flask[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/webtest[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x DJANGO_SETTINGS_MODULE=tests.ext.django.app.settings + local -x AWS_SECRET_ACCESS_KEY=fake_key + local -x AWS_ACCESS_KEY_ID=fake_id + + local EPYTEST_DESELECT=( + # Internet access + tests/test_patcher.py::test_external_file + tests/test_patcher.py::test_external_module + tests/test_patcher.py::test_external_submodules_full + tests/test_patcher.py::test_external_submodules_ignores_file + tests/test_patcher.py::test_external_submodules_ignores_module + # benchmark + tests/test_local_sampling_benchmark.py + # Fails, probably because above is ignored + tests/test_async_local_storage.py::test_localstorage_isolation + tests/test_async_recorder.py::test_capture + tests/test_async_recorder.py::test_concurrent_calls + tests/test_async_recorder.py::test_async_context_managers + ) + local EPYTEST_IGNORE=( + # unpackaged deps + tests/ext/aiobotocore + tests/ext/pg8000 + tests/ext/psycopg2 + tests/ext/pymysql + tests/ext/pynamodb + tests/ext/sqlalchemy_core/test_postgres.py + tests/ext/django/test_db.py + # Internet access + tests/ext/httplib + tests/ext/httpx + tests/ext/requests + # requires old package vesions + tests/ext/aiohttp + tests/ext/django + tests/ext/flask_sqlalchemy + tests/ext/sqlalchemy + ) + + epytest -p no:django +} diff --git a/dev-python/black/black-23.9.1.ebuild b/dev-python/black/black-23.9.1.ebuild index e6ec060cb5d2..b6f3c60eb3e9 100644 --- a/dev-python/black/black-23.9.1.ebuild +++ b/dev-python/black/black-23.9.1.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 sparc ~x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ~ppc64 ~riscv ~s390 sparc x86 ~x64-macos" RDEPEND=" >=dev-python/click-8.0.0[${PYTHON_USEDEP}] diff --git a/dev-python/dns-lexicon/Manifest b/dev-python/dns-lexicon/Manifest index f80a0e34e870..7db9ccb056f4 100644 --- a/dev-python/dns-lexicon/Manifest +++ b/dev-python/dns-lexicon/Manifest @@ -3,3 +3,4 @@ DIST dns-lexicon-3.13.0.gh.tar.gz 6739417 BLAKE2B 86f879fb5b27c6d9b21788ce4a9d75 DIST dns-lexicon-3.14.1.gh.tar.gz 6747567 BLAKE2B 55ddba2caf71b92ad0e5f34457d33c46be5969b13a12ac16a07e5c9ad8a25b921119edf89ce80928340e401308365eeb5b7c7c56f8e36482422f7e2e43412cde SHA512 13e4c5b046cad28e487b246b7c16a3ee71b2dbca4c40e513b234cee62e483e7702ce293c11ef96b245409229a7cd3a39c1771ebfc7b2430cd5b017d33e32a924 DIST dns-lexicon-3.15.0.gh.tar.gz 6200937 BLAKE2B 94ff86424e5f9d03d5ec059359f684cbcda8fd617f84510c7154c2f48072b766bab0497ef1dd46c630b25f8196d177715eeaa9223bf2b502f125526120f91327 SHA512 22e6f11e2b5750ff44c8a72b0e6c0a1a4126e247074b87cf7fbbf403d8858c261fb2c57a5d01daa218e4b3448782ccb5567fd6f29da78baabb2aded90a82c97c DIST dns-lexicon-3.15.1.gh.tar.gz 6201895 BLAKE2B 85279f48b55bc4fac4017874728bdb089ec120105051119c229892335bead4cd2c2ee8a3a2527ca43e23e3c103bc3d0fbf3eef2f26681de0f8d07b0de10cc3eb SHA512 406a88808e0200cdd8e510e4a99688b75e3333be306b209931bd3282d9cd80fca15cf0b50a537d208f4b41cc6022e8501de6fbe83e20b426a8dc28724cd92fb8 +DIST dns-lexicon-3.16.0.gh.tar.gz 6198018 BLAKE2B fcba99b0e1e93cf585043c58d0b7c3efa972976c8ac9db491a0081c46adad7720f0039cbb4f10af3c72ee8bf83cbb549fb6f3f511e0774161562b899fdc425b6 SHA512 1de871ab54b0f4a40f5c634f69d4c73b4233ca37f740710d78f2b2b298f972b93992bd44adf64d36dfa2fdfefc0cf25a862066ad391be695c403388c5cbb9c22 diff --git a/dev-python/dns-lexicon/dns-lexicon-3.16.0.ebuild b/dev-python/dns-lexicon/dns-lexicon-3.16.0.ebuild new file mode 100644 index 000000000000..d18587660d82 --- /dev/null +++ b/dev-python/dns-lexicon/dns-lexicon-3.16.0.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=poetry +PYTHON_COMPAT=( python3_{8,9,10,11} ) + +inherit distutils-r1 optfeature + +DESCRIPTION="Manipulate DNS records on various DNS providers in a standardized/agnostic way" +HOMEPAGE=" + https://github.com/AnalogJ/lexicon/ + https://pypi.org/project/dns-lexicon/ +" +SRC_URI=" + https://github.com/AnalogJ/lexicon/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/lexicon-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/beautifulsoup4[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/pyotp-2[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/tldextract[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/boto3-1.25[${PYTHON_USEDEP}] + dev-python/dnspython[${PYTHON_USEDEP}] + dev-python/zeep[${PYTHON_USEDEP}] + dev-python/vcrpy[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + # Requires the "localzone" module + tests/providers/test_localzone.py + # Requires the "softlayer" module + tests/providers/test_softlayer.py + # Requires the "transip" module + tests/providers/test_transip.py + # Requires the "oci" module + tests/providers/test_oci.py + # Uses tldextract which needs Internet access to download its database + tests/providers/test_auto.py + # All recordings seem to be broken + tests/providers/test_namecheap.py + # Broken by minor vcrpy / urllib3-2 incompatibility + # https://github.com/kevin1024/vcrpy/issues/714 + tests/providers/test_route53.py +) + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]]; then + optfeature_header \ + "Install the following packages to enable support for additional DNS providers:" + optfeature Gransy dev-python/zeep + optfeature Route53 dev-python/boto3 + optfeature DDNS dev-python/dnspython + fi +} diff --git a/dev-python/ensurepip-setuptools/Manifest b/dev-python/ensurepip-setuptools/Manifest index d0cda08525c9..8b38c4be8ddd 100644 --- a/dev-python/ensurepip-setuptools/Manifest +++ b/dev-python/ensurepip-setuptools/Manifest @@ -1,3 +1 @@ -DIST setuptools-68.1.2-py3-none-any.whl 805130 BLAKE2B 215d46c49094a6f5b5748354f598082e3740840901b8c8af627308ec4879bd0f23e370c9b1ce5c8c00c5299d4e2fd21800d20b56b93d78da2ab26246e30c0b03 SHA512 acce5ba5d446479988ac2f16ab38cdb8750bd6b1cdaab259f05f840ac86071c8b5f036913f83764c30a172df2111c50192852c17a69abc8980bc87c3a5ba3358 -DIST setuptools-68.2.1-py3-none-any.whl 807862 BLAKE2B 0ab8273ff15c1e3ac17a6a250e7ec79c432d1ac95e460c5d0121c8f370d618fafaf7adb5669fc6387584ef75081f6d0ed6ecff4b1b9fdfbd5fe0fe8fff3adde7 SHA512 0de9c413aa7c63a81406e26ea85e25cf8dc5ad8cebd1b9dcada1e7a3af7a41b158af49c245bf7290853ac6b1493211fbc2b4804121edb285b94ed59f62bd6fac DIST setuptools-68.2.2-py3-none-any.whl 807864 BLAKE2B 1ae4dab8a589c95281cac145c3e06b4027b585065a5191a9d6dd9c77730a096b592154863c555d8098c10425dfef315de3b79c6b631e8f6aacc0f234795f95fc SHA512 6e0d854040baff861e1647d2bece7d090bc793b2bd9819c56105b94090df54881a6a9b43ebd82578cd7c76d47181571b671e60672afd9def389d03c9dae84fcf diff --git a/dev-python/ensurepip-setuptools/ensurepip-setuptools-68.1.2.ebuild b/dev-python/ensurepip-setuptools/ensurepip-setuptools-68.1.2.ebuild deleted file mode 100644 index 3e2f8423f849..000000000000 --- a/dev-python/ensurepip-setuptools/ensurepip-setuptools-68.1.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=" - !<dev-python/ensurepip-wheels-100 -" - -src_install() { - insinto /usr/lib/python/ensurepip - doins "${A}" -} diff --git a/dev-python/ensurepip-setuptools/ensurepip-setuptools-68.2.1.ebuild b/dev-python/ensurepip-setuptools/ensurepip-setuptools-68.2.1.ebuild deleted file mode 100644 index 8346a1bd0f6d..000000000000 --- a/dev-python/ensurepip-setuptools/ensurepip-setuptools-68.2.1.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=" - !<dev-python/ensurepip-wheels-100 -" - -src_install() { - insinto /usr/lib/python/ensurepip - doins "${A}" -} diff --git a/dev-python/fakeredis/Manifest b/dev-python/fakeredis/Manifest index d0a1ba7987a1..374aa6ca0b2d 100644 --- a/dev-python/fakeredis/Manifest +++ b/dev-python/fakeredis/Manifest @@ -1,3 +1 @@ -DIST fakeredis-2.18.0.tar.gz 111601 BLAKE2B 56a7d2e113fa0d2d98f95b4e8d5b7462a311e2e505a19cd5d3067650a0b950ad272b86aae42b748e5854c7f24287fac03f8c61865c05612697324e9f328dfbe9 SHA512 2d67866bbac8f8a12a6414cfae0a8ba925b769c0cb420bfe74ca233de40792f369678752a0d71ce4c0c145f03944fb071ecb234ee40f3f52005587db1929134e -DIST fakeredis-2.18.1.tar.gz 113919 BLAKE2B da6fa335a755c5f9675fc89ecf714af37c3e56c93332d6a8003130c435fe1b5abfa426851f293ada1109f1aec439c2daa70d0bec8681077d28ffae62c34cb29f SHA512 78ad0e7b25519de60ad11a24c6fcd2ffc938014ec9c040cbea9d2155f3670fe18c65cf3387bc21b856e7caba1df5ef1e79a6ef77ab7201c1eb68949f775002c8 DIST fakeredis-2.19.0.tar.gz 117030 BLAKE2B 05976b1011bb3933b275755498cf7b893afc93cbbb0bfcce67d01692f1ebc4bee1b6cddd406eaca4d46f595cde2805f43e767aef1ca491ccfc4afcf7b983b444 SHA512 1800933b86369c7b857e7609e2a6af8d469c713a23bfd792fc8df2695e8aabcb2cd1fa6138f7eb908fbecc9c6e2c242f7da47864067498c5e180956b578985aa diff --git a/dev-python/fakeredis/fakeredis-2.18.0.ebuild b/dev-python/fakeredis/fakeredis-2.18.0.ebuild deleted file mode 100644 index 30fc3eb27b94..000000000000 --- a/dev-python/fakeredis/fakeredis-2.18.0.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 2020-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 pypi - -DESCRIPTION="Fake implementation of redis API for testing purposes" -HOMEPAGE=" - https://github.com/cunla/fakeredis-py/ - https://pypi.org/project/fakeredis/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86" - -RDEPEND=" - dev-python/packaging[${PYTHON_USEDEP}] - >=dev-python/redis-4.2[${PYTHON_USEDEP}] - <dev-python/sortedcontainers-3[${PYTHON_USEDEP}] - >=dev-python/sortedcontainers-2[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-db/redis - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # also lupa - test/test_aioredis2.py::test_failed_script_error - # TODO - "test/test_fakeredis.py::test_set_get_nx[StrictRedis]" - "test/test_fakeredis.py::test_lpop_count[StrictRedis]" - "test/test_fakeredis.py::test_rpop_count[StrictRedis]" - "test/test_fakeredis.py::test_zadd_minus_zero[StrictRedis]" - "test/test_mixins/test_pubsub_commands.py::test_pubsub_channels[StrictRedis]" - test/test_mixins/test_set_commands.py::test_smismember_wrong_type - ) - local EPYTEST_IGNORE=( - # these tests fail a lot... - test/test_hypothesis.py - ) - local args=( - # tests requiring lupa (lua support) - -k 'not test_eval and not test_lua and not test_script' - ) - epytest "${args[@]}" -} - -src_test() { - local redis_pid="${T}"/redis.pid - local redis_port=6379 - - einfo "Spawning Redis" - einfo "NOTE: Port ${redis_port} must be free" - "${EPREFIX}"/usr/sbin/redis-server - <<- EOF || die "Unable to start redis server" - daemonize yes - pidfile ${redis_pid} - port ${redis_port} - bind 127.0.0.1 - EOF - - # Run the tests - distutils-r1_src_test - - # Clean up afterwards - kill "$(<"${redis_pid}")" || die -} diff --git a/dev-python/fakeredis/fakeredis-2.18.1.ebuild b/dev-python/fakeredis/fakeredis-2.18.1.ebuild deleted file mode 100644 index cab727e30658..000000000000 --- a/dev-python/fakeredis/fakeredis-2.18.1.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 2020-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 pypi - -DESCRIPTION="Fake implementation of redis API for testing purposes" -HOMEPAGE=" - https://github.com/cunla/fakeredis-py/ - https://pypi.org/project/fakeredis/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" - -RDEPEND=" - dev-python/packaging[${PYTHON_USEDEP}] - >=dev-python/redis-4.2[${PYTHON_USEDEP}] - <dev-python/sortedcontainers-3[${PYTHON_USEDEP}] - >=dev-python/sortedcontainers-2[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-db/redis - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # also lupa - test/test_aioredis2.py::test_failed_script_error - # TODO - "test/test_fakeredis.py::test_set_get_nx[StrictRedis]" - "test/test_fakeredis.py::test_lpop_count[StrictRedis]" - "test/test_fakeredis.py::test_rpop_count[StrictRedis]" - "test/test_fakeredis.py::test_zadd_minus_zero[StrictRedis]" - "test/test_mixins/test_pubsub_commands.py::test_pubsub_channels[StrictRedis]" - test/test_mixins/test_set_commands.py::test_smismember_wrong_type - # new redis-server? - "test/test_mixins/test_pubsub_commands.py::test_pubsub_shardnumsub[StrictRedis]" - ) - local EPYTEST_IGNORE=( - # these tests fail a lot... - test/test_hypothesis.py - ) - local args=( - # tests requiring lupa (lua support) - -k 'not test_eval and not test_lua and not test_script' - ) - epytest "${args[@]}" -} - -src_test() { - local redis_pid="${T}"/redis.pid - local redis_port=6379 - - einfo "Spawning Redis" - einfo "NOTE: Port ${redis_port} must be free" - "${EPREFIX}"/usr/sbin/redis-server - <<- EOF || die "Unable to start redis server" - daemonize yes - pidfile ${redis_pid} - port ${redis_port} - bind 127.0.0.1 - EOF - - # Run the tests - distutils-r1_src_test - - # Clean up afterwards - kill "$(<"${redis_pid}")" || die -} diff --git a/dev-python/flask-compress/Manifest b/dev-python/flask-compress/Manifest index c94ce8a8303d..37762b7840da 100644 --- a/dev-python/flask-compress/Manifest +++ b/dev-python/flask-compress/Manifest @@ -1,2 +1 @@ -DIST Flask-Compress-1.13.tar.gz 12675 BLAKE2B 252c63500e5ba2adbe857a52fcffe2dc8280198c79210d64ae8439c8e0daaeaa4e295002a5fdacb6724971018f7e3322c00bab85bfd0ad2291f53103f01f3ee1 SHA512 e910971f94966f14d4657f7fa1c92a4e73ca7afd08959ed5d5694228851f06e614873f3202d19c6a06be2c277136f097d88eb578773dd7b5e9130456c9828ed0 DIST Flask-Compress-1.14.tar.gz 13544 BLAKE2B 4a2ba809ef378aa8132a22c87acfb535946f347f41d05bf2d9d8de13d05cb0494000b8aa9ba40548236f0ec3e772159e091b41e0fe90f8d6f782a70aabd1e043 SHA512 7f30f64bddeaa06875725b6195348cdfb20d3fdd0d8a392f0fbeb209ad5a532bd222fc1c9ceadf7dcff614f2513a885724bfc165fccf162c889924e3b73bee3c diff --git a/dev-python/flask-compress/flask-compress-1.13.ebuild b/dev-python/flask-compress/flask-compress-1.13.ebuild deleted file mode 100644 index 9910fa6fd1ae..000000000000 --- a/dev-python/flask-compress/flask-compress-1.13.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 -PYPI_PN="Flask-Compress" -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Compress responses in your Flask app with gzip" -HOMEPAGE=" - https://github.com/colour-science/flask-compress/ - https://pypi.org/project/Flask-Compress/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 x86" - -RDEPEND=" - app-arch/brotli[python,${PYTHON_USEDEP}] - dev-python/flask[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest diff --git a/dev-python/flask-migrate/Manifest b/dev-python/flask-migrate/Manifest index 4b9d15cdba7e..893877847e7e 100644 --- a/dev-python/flask-migrate/Manifest +++ b/dev-python/flask-migrate/Manifest @@ -1,2 +1 @@ -DIST Flask-Migrate-4.0.4.gh.tar.gz 26635 BLAKE2B 2edb3143332439b3dfddba2ee09661bf93771e5747b729e90af27c80e22ea4f9e8f13a04a3676e72514e94113128113a73cc804ff641d587419376ace453bb78 SHA512 66d7a96aafe81e94b59f3e510036dda82047c53a9bf67654ee5fe77ee30361f516a36000648f58de2743e1fa288302be76a82601a1eeae65f0acb8fd486fa9c1 DIST Flask-Migrate-4.0.5.gh.tar.gz 26827 BLAKE2B 4b674856bc1177857b1272740351e953099a22f981faf63714ac07748308c77a599ce942e273858df2b0e010a4b962e8c8c9488c3bb750f5c4e9037e4a0c58bf SHA512 cdc02e3f567119604e56e9cafed3e7b40e7335d4c3f42cffb26515a4cec12ff34c16f8d5ae036d841cf846985973980d820cdc5d87a99ebf634b3b17becaeb69 diff --git a/dev-python/flask-migrate/flask-migrate-4.0.4.ebuild b/dev-python/flask-migrate/flask-migrate-4.0.4.ebuild deleted file mode 100644 index 1b5f3336ae94..000000000000 --- a/dev-python/flask-migrate/flask-migrate-4.0.4.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} ) - -inherit distutils-r1 - -MY_P="Flask-Migrate-${PV}" -DESCRIPTION="SQLAlchemy database migrations for Flask applications using Alembic" -HOMEPAGE=" - https://github.com/miguelgrinberg/Flask-Migrate/ - https://pypi.org/project/Flask-Migrate/ -" -SRC_URI=" - https://github.com/miguelgrinberg/Flask-Migrate/archive/v${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 x86" - -RDEPEND=" - >=dev-python/alembic-1.9.0[${PYTHON_USEDEP}] - >=dev-python/flask-0.9[${PYTHON_USEDEP}] - >=dev-python/flask-sqlalchemy-1.0[${PYTHON_USEDEP}] -" - -distutils_enable_tests unittest - -python_test() { - local -x PATH=${T}/bin:${PATH} - - mkdir -p "${T}"/bin || die - cat > "${T}"/bin/flask <<-EOF || die - #!/bin/sh - exec ${EPYTHON} -m flask "\${@}" - EOF - chmod +x "${T}"/bin/flask || die - - eunittest -} diff --git a/dev-python/flask-sqlalchemy/Manifest b/dev-python/flask-sqlalchemy/Manifest index eac03fc1d04b..1ee93144736b 100644 --- a/dev-python/flask-sqlalchemy/Manifest +++ b/dev-python/flask-sqlalchemy/Manifest @@ -1,3 +1 @@ -DIST Flask-SQLAlchemy-2.5.1.tar.gz 132750 BLAKE2B 6378766e9ae5e697f9a0fe23471f0264e5ac1f4c824657e5197f6c35f9f12eb756528641c1078b1bf470170c557c3201314a80b922b4ab84e4664a0ccaad2a6c SHA512 5d483418204030837e62769d45c16af88c5be6dbafc7c340cc4e67ef1736ea5102f506156119864cd7673cf382b0d3f27050bda64273b93ef4805fce9e1a0f6f -DIST flask_sqlalchemy-3.0.5.tar.gz 78504 BLAKE2B f06bf383fa2a62d9e6399f3e8dceb0d72ee7911508cf828b52077c9fd80adf9b7eee2b0c809d012be7dfe2df7639bde14a12556b3970df09e30e847e5bd52c0b SHA512 ecb6df94e1db4298b335a65e54eae171fef75bd7f1cc1e251933b1fdc7e85bbba0c03b1c5b41c3e150898bdb36fc0021b4649b866a12d5b0c180f773dff5fd6b DIST flask_sqlalchemy-3.1.1.tar.gz 81899 BLAKE2B 25522dc47afd08840b09f33791fffaf845a636c06d9a17f7a7930a21b64bad47b592f441b55dfc9a846b2c98e21b9cd027ec4ce85e701251ace0d9e072731f47 SHA512 27a93efb96bc8afe483dc32f9e9756e5972029464f4a201e8a55bf62b88f6bcd93ed7f4472ac21cb17376c87852a1d4b5f98a8ddb55d9b12c334346d5bc7e464 diff --git a/dev-python/flask-sqlalchemy/flask-sqlalchemy-2.5.1.ebuild b/dev-python/flask-sqlalchemy/flask-sqlalchemy-2.5.1.ebuild deleted file mode 100644 index b1149f41954f..000000000000 --- a/dev-python/flask-sqlalchemy/flask-sqlalchemy-2.5.1.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYPI_NO_NORMALIZE=1 -PYPI_PN="Flask-SQLAlchemy" -PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="SQLAlchemy support for Flask applications" -HOMEPAGE="https://pypi.org/project/Flask-SQLAlchemy/" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv x86" - -RDEPEND=" - >=dev-python/flask-0.10[${PYTHON_USEDEP}] - >=dev-python/sqlalchemy-0.8.0[${PYTHON_USEDEP}] -" - -BDEPEND="test? ( - dev-python/mock[${PYTHON_USEDEP}] -)" - -distutils_enable_tests pytest -distutils_enable_sphinx docs dev-python/pallets-sphinx-themes \ - dev-python/sphinx-issues diff --git a/dev-python/flask-sqlalchemy/flask-sqlalchemy-3.0.5.ebuild b/dev-python/flask-sqlalchemy/flask-sqlalchemy-3.0.5.ebuild deleted file mode 100644 index 8282a19a27cd..000000000000 --- a/dev-python/flask-sqlalchemy/flask-sqlalchemy-3.0.5.ebuild +++ /dev/null @@ -1,37 +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_PN="Flask-SQLAlchemy" -PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="SQLAlchemy support for Flask applications" -HOMEPAGE=" - https://github.com/pallets-eco/flask-sqlalchemy/ - https://pypi.org/project/Flask-SQLAlchemy/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv x86" - -RDEPEND=" - >=dev-python/flask-2.2.5[${PYTHON_USEDEP}] - >=dev-python/sqlalchemy-1.4.18[${PYTHON_USEDEP}] -" - -BDEPEND=" - test? ( - dev-python/blinker[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest -distutils_enable_sphinx docs \ - dev-python/pallets-sphinx-themes \ - dev-python/sphinx-issues \ - dev-python/sphinxcontrib-log-cabinet diff --git a/dev-python/furo/Manifest b/dev-python/furo/Manifest index 8df4dddeab40..3cf7370ce3d9 100644 --- a/dev-python/furo/Manifest +++ b/dev-python/furo/Manifest @@ -1,2 +1 @@ -DIST furo-2023.8.19-py3-none-any.whl 323684 BLAKE2B 56b05551a4be4e01492a85f25bdb3057dffab4c66a98fc196c8d486ccfab6d8eec86184bc4b99308b3522b4eb21edadfd231aba8c9cdb3ffdcdac7c90e6a5a91 SHA512 6134271db8fb60b1fddfff1af0d4394192251d0942c070c29af29313ff7abd14f46f12823b90e8d56f03c92a22732af0b39f754c513513f2437487c6adb070f8 DIST furo-2023.9.10-py3-none-any.whl 324431 BLAKE2B 3a513e00c7a5856c19fda8e74c6a66fd89ea53ae5a8035969bc84b3827ec7f8b4c48bf964e3fd9d663f780b4621bdff31cc1bee2ffe0bc8e35700a41e4eb1bcc SHA512 67aba2f451beba1d2ecdcac8cd38db8a5b5952ccdd5d715d8b59ca68106214a8d9b8e0efe3adad6ee1ad84459904053b8fa038d8a334073b4879bd51934c28cf diff --git a/dev-python/furo/furo-2023.8.19.ebuild b/dev-python/furo/furo-2023.8.19.ebuild deleted file mode 100644 index 1d450b01ff11..000000000000 --- a/dev-python/furo/furo-2023.8.19.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 2021-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# sphinx-theme-builder is completely unusable, as it requires pinning -# to a very-specific nodejs version number, and ofc loves fetching -# everything from the Internet - -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Clean customisable Sphinx documentation theme" -HOMEPAGE=" - https://pypi.org/project/furo/ - https://github.com/pradyunsg/furo/ -" -SRC_URI="$(pypi_wheel_url)" -S=${WORKDIR} - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - dev-python/beautifulsoup4[${PYTHON_USEDEP}] - dev-python/sphinx[${PYTHON_USEDEP}] - dev-python/sphinx-basic-ng[${PYTHON_USEDEP}] -" - -python_compile() { - distutils_wheel_install "${BUILD_DIR}/install" \ - "${DISTDIR}/${P}-py3-none-any.whl" -} diff --git a/dev-python/google-auth-httplib2/Manifest b/dev-python/google-auth-httplib2/Manifest index f94aabbb7c8f..555d9ea7a803 100644 --- a/dev-python/google-auth-httplib2/Manifest +++ b/dev-python/google-auth-httplib2/Manifest @@ -1,2 +1 @@ -DIST google-auth-library-python-httplib2-0.1.0.gh.tar.gz 25116 BLAKE2B dbb0393bafb1bbe67b99ac0783e687271c42256c7b283422b884b86d4c8a83222392a5514b812aae683ec7f887afa4bf81307079e676f793f02eb87e52a375e5 SHA512 52b0faf70e185cb89420377a06c77e2c45f6b910b85371fc2c42fdfb06a4ebca28b476201f9d179fbaa4a8bf7b6015703d023ddd95d482113e2cdbf79fd376b5 DIST google-auth-library-python-httplib2-0.1.1.gh.tar.gz 43818 BLAKE2B 629e370d3509c8d7b47b9192f3192b013be184df8e245cd73941d233645344f019b760e92ed2119c3b0c1e6b5db0ebf74f52f7c56bd34f8c6f61cbb41311814d SHA512 2272c7019b0f47344c45d45d88f9a9de5be410764dda5ea22271a8661856abf3b3c5d92937aa126f51c385dc91b5c79578fbb81570d7f4b636a3229ad0a95403 diff --git a/dev-python/google-auth-httplib2/google-auth-httplib2-0.1.0-r3.ebuild b/dev-python/google-auth-httplib2/google-auth-httplib2-0.1.0-r3.ebuild deleted file mode 100644 index 8e3877d974dd..000000000000 --- a/dev-python/google-auth-httplib2/google-auth-httplib2-0.1.0-r3.ebuild +++ /dev/null @@ -1,40 +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 - -MY_P="google-auth-library-python-httplib2-${PV}" -DESCRIPTION="httplib2 Transport for Google Auth" -HOMEPAGE=" - https://pypi.org/project/google-auth-httplib2/ - https://github.com/googleapis/google-auth-library-python-httplib2/ -" -SRC_URI=" - https://github.com/googleapis/google-auth-library-python-httplib2/archive/v${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 x86" - -RDEPEND=" - dev-python/httplib2[${PYTHON_USEDEP}] - dev-python/google-auth[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/flask[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pytest-localserver[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest diff --git a/dev-python/ipywidgets/ipywidgets-8.1.1.ebuild b/dev-python/ipywidgets/ipywidgets-8.1.1.ebuild index 98c00d6fcbc8..1e3e82e79903 100644 --- a/dev-python/ipywidgets/ipywidgets-8.1.1.ebuild +++ b/dev-python/ipywidgets/ipywidgets-8.1.1.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" RDEPEND=" >=dev-python/comm-0.1.3[${PYTHON_USEDEP}] diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index e9da2ac43cac..a11d7c268c91 100644 --- a/dev-python/langdetect/Manifest +++ b/dev-python/langdetect/Manifest @@ -1,3 +1 @@ DIST langdetect-1.0.9.tar.gz 981474 BLAKE2B ea8a9c3f16a2987c080742473bff4f2c1503f53fb3c2b40b0b1d6212bb6133ea22dce7864ffcfb8968c3a46b157d45cb3e2cf6f84bdbed0266cc716a853b032c SHA512 7558d674c47b080c79e43a00a25d2c7f77188cf60bea2cecb3bebb803d75e1aa42b43c74bd26ea1b541f4cb927421908882cbec01a91f0913984217e71ccc8db -EBUILD langdetect-1.0.9.ebuild 493 BLAKE2B 0df8bce19bc80f79f8e76bcef5a4c2caf333365fe0cb9a3c076b7858bceded5a3e58921474f866a2709dd657b7ed330c1ec4a7f9d7bab0fcf1bc92d77cabc32d SHA512 ea2a1adcb133ac5fc951ba1aa90ef1ce3dfcc424e59727591763d4875aa044a74188be2d15fd89c6b2e83ed6ea04ec3d9851ed584ae79d2c2c127bde7d994b48 -MISC metadata.xml 457 BLAKE2B 630128a3e982b6d60cc7b9f74c79fcb5ee47a71a02c73a50af9da8cedb6fad8e20a7f74b881e5b25c6483b92c9edbd56552cd38b2d9cbfa8b3eb4530facea969 SHA512 674f4f5cd809c6c77bc14e0f5687fa972bef14bdfa0b3343c5d66b7163eef1906eb87d060c8288732f825de71dce291ad0b841a5f2f0dd230f957b5687e45d45 diff --git a/dev-python/langdetect/metadata.xml b/dev-python/langdetect/metadata.xml index 020e07f2a3dd..736a1167c898 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -1,12 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person"> - <email>marcin.deranek@slonko.net</email> - <name>Marcin Deranek</name> - </maintainer> - <upstream> - <bugs-to>https://github.com/Mimino666/langdetect/issues</bugs-to> - </upstream> - <origin>slonko-overlay</origin> + + <origin>gentoo-guru-overlay</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/mkdocs-bootstrap/Manifest b/dev-python/mkdocs-bootstrap/Manifest index 52b4034ddfd5..1bc34d044815 100644 --- a/dev-python/mkdocs-bootstrap/Manifest +++ b/dev-python/mkdocs-bootstrap/Manifest @@ -1,2 +1 @@ DIST mkdocs-bootstrap-1.1.1.gh.tar.gz 233329 BLAKE2B 58292946d0985ae60d8d9784bcdc3e9f71640d23fd81efae06b99ce644aefc63d53d21bb65a0b4c4d6bb0b077cbac82bcd93da3f5d05f244bdcfa54750478fb7 SHA512 9be5c29961c09436332f902fffd49aee38f99fe8b7337e2add7d6190b1ed487b16a0d2dc3ebd486691719bffd1009207885b3880238a64bc6d2baafa43b0fbd9 -DIST mkdocs-bootstrap-1.1.tar.gz 233231 BLAKE2B 64470a4e5ca6d44976944c16244daaefa99702fa68d68fb14e31201fcfd5f927dc2b962fd0b1967a6fd7eec8719389a78dd13cbfcdc387fa6de5f21c9c1a4960 SHA512 a494afa614f96771fbc640862b5cb5674d4eb5c978a56e86e2f523137fed315808067f20cfadca463cbeb5384de062c91001b6eaf5f3ebdce329f167b461d2b5 diff --git a/dev-python/mkdocs-bootstrap/mkdocs-bootstrap-1.1-r2.ebuild b/dev-python/mkdocs-bootstrap/mkdocs-bootstrap-1.1-r2.ebuild deleted file mode 100644 index 433d3bf62776..000000000000 --- a/dev-python/mkdocs-bootstrap/mkdocs-bootstrap-1.1-r2.ebuild +++ /dev/null @@ -1,20 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8,9,10,11} ) -DISTUTILS_USE_PEP517=setuptools -DOCS_BUILDER="mkdocs" - -inherit distutils-r1 docs - -DESCRIPTION="Bootstrap theme for MkDocs" -HOMEPAGE="https://www.mkdocs.org https://github.com/mkdocs/mkdocs-bootstrap" -SRC_URI="https://github.com/mkdocs/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 x86" - -RDEPEND="dev-python/mkdocs" diff --git a/dev-python/mkdocs-material/Manifest b/dev-python/mkdocs-material/Manifest index 5ba605ca1074..4b4f4a67b43a 100644 --- a/dev-python/mkdocs-material/Manifest +++ b/dev-python/mkdocs-material/Manifest @@ -1,3 +1,4 @@ DIST mkdocs-material-9.4.2.gh.tar.gz 14501913 BLAKE2B a822b1bb54ffffccca7d3f41b10b2e76e2ada99b0a113c18695753558421049425a2eaf5be79fd3433861b746be303ca6a87e6c45de596038680a3e3974114d8 SHA512 f837f20de15415473f6e260330a8189b252e176a8a3dceebc9536fbad51662ade8e1760149f97ce3b95f9b9c0c2b0902600c33219accd0b3efaf1fec51c23efa DIST mkdocs-material-9.4.4.gh.tar.gz 14508575 BLAKE2B a7c3440cfa26d6654d56a3cfe39ba1b301b2f3166b6b5f26518ef568d5bdafce45f791539d2f1e7518a73fd94cc105b88745c054dbc1c82769346aa07cbdf525 SHA512 7241680a3bccd22d355993e4d23af384ec6304722430560311ce74c5786566c64cd9cfd65d80b515b4795e550e9b165e8f207a62468b3a0eb35c7fa7ca8e85e4 DIST mkdocs-material-9.4.5.gh.tar.gz 14526442 BLAKE2B 40ec29db7d072ee11ff8468c4780548c26dab59baa1616cf0f4ae260d1feefa2764e895cde83c7e66e27ec758991f518633a0f743dd9996acddff795099f5fc2 SHA512 69f0f019ba0de019e5f0d895ed4adb07bd4d9c57d64e54bbe055be98571755b94d3fcaed8bd0c5dc1e025deb0e5620c096a1250aeebf5443f6a26ba1d8e5eed6 +DIST mkdocs-material-9.4.6.gh.tar.gz 14534310 BLAKE2B 0d3c5d09c13840c4e7aff328b4545e8d84a8903fb43590de3e9b8527f16d9deaef2bd899542f29d950d0ee38e6b8e54b35313d0a5b3481194f0c0cf41245bdf1 SHA512 184d765163b19806e2018997878cd1212b288030464b1e418e5b6e2849400a81be6bdc3bac24ca34b63b521d63a650f8541e85caa8131d11246c26c4ff07bb4a diff --git a/dev-python/mkdocs-material/mkdocs-material-9.4.6.ebuild b/dev-python/mkdocs-material/mkdocs-material-9.4.6.ebuild new file mode 100644 index 000000000000..dc81421f5e12 --- /dev/null +++ b/dev-python/mkdocs-material/mkdocs-material-9.4.6.ebuild @@ -0,0 +1,65 @@ +# 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} ) + +DOCS_BUILDER="mkdocs" +DOCS_DEPEND=" + dev-python/mkdocs-material-extensions + dev-python/mkdocs-minify-plugin + dev-python/mkdocs-redirects +" + +inherit distutils-r1 docs + +DESCRIPTION="A Material Design theme for MkDocs" +HOMEPAGE=" + https://github.com/squidfunk/mkdocs-material/ + https://pypi.org/project/mkdocs-material/ +" +SRC_URI=" + https://github.com/squidfunk/${PN}/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="social" + +RDEPEND=" + >=dev-python/Babel-2.10.3[${PYTHON_USEDEP}] + >=dev-python/colorama-0.4[${PYTHON_USEDEP}] + >=dev-python/jinja-3.0.2[${PYTHON_USEDEP}] + >=dev-python/lxml-4.6[${PYTHON_USEDEP}] + >=dev-python/markdown-3.2[${PYTHON_USEDEP}] + >=dev-python/mkdocs-1.5.3[${PYTHON_USEDEP}] + >=dev-python/paginate-0.5.6[${PYTHON_USEDEP}] + >=dev-python/pygments-2.16[${PYTHON_USEDEP}] + >=dev-python/pymdown-extensions-10.2[${PYTHON_USEDEP}] + >=dev-python/readtime-2.0[${PYTHON_USEDEP}] + >=dev-python/regex-2022.4.24[${PYTHON_USEDEP}] + >=dev-python/requests-2.26[${PYTHON_USEDEP}] + social? ( + >=dev-python/pillow-9.0[${PYTHON_USEDEP}] + >=media-gfx/cairosvg-2.5[${PYTHON_USEDEP}] + ) +" + +# mkdocs-material-extensions depends on mkdocs-material creating a circular dep +PDEPEND=" + >=dev-python/mkdocs-material-extensions-1.2[${PYTHON_USEDEP}] +" + +PATCHES=( + # simplify pyproject to remove extra deps for metadata + "${FILESDIR}/${PN}-8.5.7-simplify-build.patch" +) + +src_prepare() { + echo "__version__ = '${PV}'" > gentoo_version.py || die + distutils-r1_src_prepare +} diff --git a/dev-python/numexpr/numexpr-2.8.6.ebuild b/dev-python/numexpr/numexpr-2.8.6.ebuild index 535292da593b..7279a2761470 100644 --- a/dev-python/numexpr/numexpr-2.8.6.ebuild +++ b/dev-python/numexpr/numexpr-2.8.6.ebuild @@ -19,7 +19,7 @@ SRC_URI="https://github.com/pydata/numexpr/archive/v${PV}.tar.gz -> ${P}.gh.tar. LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" DEPEND=" >=dev-python/numpy-1.13.3[${PYTHON_USEDEP}] diff --git a/dev-python/numpy/Manifest b/dev-python/numpy/Manifest index 854b68b844c1..a24f29013987 100644 --- a/dev-python/numpy/Manifest +++ b/dev-python/numpy/Manifest @@ -1,3 +1,4 @@ DIST numpy-1.25.2-patches.tar.xz 7212 BLAKE2B 718331b2d9f8380df239bf2ad9c24d79924e08797825d7c8655124a55e059790f96641633cdb42c597646764ca9efcaf277d5f5b75f042f533c28f2a81d5a5a8 SHA512 bcc0c55710b8d874e1dd9a57fad5698e09e3c96254922db32a8beeae9a5a54532cb0660d3ce43ca68e70fa7227bca9e0d12a0298aa6972ad2cbcecfe4aee3e85 DIST numpy-1.25.2.tar.gz 10805282 BLAKE2B f138eaf237f3e8052cafbe9fc98b4b62fb0748079df8599fc0950624c856294157410a2ec6fe381eaa8386b1530a39f7037ae1887c9fcfe2e77a3d7ad1ca0171 SHA512 6846d558c227329b6e700965ffa4c7886a7ca5f35234a56d734bc8201d19f7ac87d8ea081094bca13685130dce7bfb98ee4aa3a9dbd538288f10f1d9d82fb699 DIST numpy-1.26.0.tar.gz 15633455 BLAKE2B 9cd8693d1303bc9ac6d95a6cd57440839adbd648efae7052cf9b73f833eb8ebb2a0ad09fcc638e51b481b4c049a02304eeef34a7566609ae2cbab3278d033a97 SHA512 0d500c623b274a219740c78ae2febb32a2f167016a9ff529678526e6b3e89a5b732c41defa23460a5da6f7f89d4a7d827f44fa9a1334c78e204b00ce164fb40c +DIST numpy-1.26.1.tar.gz 15651806 BLAKE2B 2b7fe13675b6f11b8f19c2dc671c84418fa959f403ff32c15ae6da37ae8137d062bb47db0180031c90f54451d69d640ec4ebfad0a4eefb32afc55df45c6824ab SHA512 abe5919029fc66961e8f44fdd503b54c291ce75b0d95e3f8bb61ee39a25d62142fbece5734fd7e9cbf65511f9d746fa61796f0d68e6dc2816c0e7747e286e505 diff --git a/dev-python/numpy/numpy-1.26.1.ebuild b/dev-python/numpy/numpy-1.26.1.ebuild new file mode 100644 index 000000000000..3d3a143a51c6 --- /dev/null +++ b/dev-python/numpy/numpy-1.26.1.ebuild @@ -0,0 +1,152 @@ +# 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} pypy3 ) +PYTHON_REQ_USE="threads(+)" +FORTRAN_NEEDED=lapack + +inherit distutils-r1 flag-o-matic fortran-2 multiprocessing pypi toolchain-funcs + +DESCRIPTION="Fast array and numerical python library" +HOMEPAGE=" + https://numpy.org/ + https://github.com/numpy/numpy/ + https://pypi.org/project/numpy/ +" + +LICENSE="BSD" +SLOT="0" +# +lapack because the internal fallbacks are pretty slow. Building without blas +# is barely supported anyway, see bug #914358. +IUSE="+lapack" +if [[ ${PV} != *_[rab]* ]] ; then + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +fi + +RDEPEND=" + lapack? ( + >=virtual/cblas-3.8 + >=virtual/lapack-3.8 + ) +" +BDEPEND=" + ${RDEPEND} + >=dev-util/meson-1.1.0 + >=dev-python/cython-3.0.0[${PYTHON_USEDEP}] + lapack? ( + virtual/pkgconfig + ) + test? ( + $(python_gen_cond_dep ' + >=dev-python/cffi-1.14.0[${PYTHON_USEDEP}] + ' 'python*') + dev-python/charset-normalizer[${PYTHON_USEDEP}] + >=dev-python/hypothesis-5.8.0[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + >=dev-python/pytz-2019.3[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + append-flags -fno-strict-aliasing + + distutils-r1_python_prepare_all +} + +python_configure_all() { + DISTUTILS_ARGS=( + -Dallow-noblas=$(usex !lapack true false) + -Dblas=$(usev lapack cblas) + -Dlapack=$(usev lapack lapack) + # TODO: cpu-* options + ) +} + +python_test() { + local EPYTEST_DESELECT=( + # Very disk-and-memory-hungry + lib/tests/test_io.py::TestSaveTxt::test_large_zip + lib/tests/test_io.py::TestSavezLoad::test_closing_fid + lib/tests/test_io.py::TestSavezLoad::test_closing_zipfile_after_load + + # Precision problems + core/tests/test_umath_accuracy.py::TestAccuracy::test_validate_transcendentals + + # Runs the whole test suite recursively, that's just crazy + core/tests/test_mem_policy.py::test_new_policy + + typing/tests/test_typing.py + # Uses huge amount of memory + core/tests/test_mem_overlap.py + + # TODO: crashes + lib/tests/test_histograms.py::TestHistogram::test_big_arrays + ) + + if use arm && [[ $(uname -m || echo "unknown") == "armv8l" ]] ; then + # Degenerate case of arm32 chroot on arm64, bug #774108 + EPYTEST_DESELECT+=( + core/tests/test_cpu_features.py::Test_ARM_Features::test_features + ) + fi + + if use x86 ; then + EPYTEST_DESELECT+=( + # https://github.com/numpy/numpy/issues/18388 + core/tests/test_umath.py::TestRemainder::test_float_remainder_overflow + # https://github.com/numpy/numpy/issues/18387 + random/tests/test_generator_mt19937.py::TestRandomDist::test_pareto + # more precision problems + core/tests/test_einsum.py::TestEinsum::test_einsum_sums_int16 + ) + fi + + if use hppa ; then + EPYTEST_DESELECT+=( + # TODO: Get selectedrealkind updated! + # bug #907228 + # https://github.com/numpy/numpy/issues/3424 (https://github.com/numpy/numpy/issues/3424#issuecomment-412369029) + # https://github.com/numpy/numpy/pull/21785 + f2py/tests/test_kind.py::TestKind::test_real + f2py/tests/test_kind.py::TestKind::test_quad_precision + ) + fi + + if [[ $(tc-endian) == "big" ]] ; then + # https://github.com/numpy/numpy/issues/11831 and bug #707116 + EPYTEST_DESELECT+=( + 'f2py/tests/test_return_character.py::TestFReturnCharacter::test_all_f77[s1]' + 'f2py/tests/test_return_character.py::TestFReturnCharacter::test_all_f90[t1]' + 'f2py/tests/test_return_character.py::TestFReturnCharacter::test_all_f90[s1]' + 'f2py/tests/test_return_character.py::TestFReturnCharacter::test_all_f77[t1]' + f2py/tests/test_kind.py::TestKind::test_int + ) + fi + + case "${ABI}" in + alpha|arm|hppa|m68k|o32|ppc|s390|sh|sparc|x86) + EPYTEST_DESELECT+=( + # too large for 32-bit platforms + core/tests/test_ufunc.py::TestUfunc::test_identityless_reduction_huge_array + 'core/tests/test_multiarray.py::TestDot::test_huge_vectordot[float64]' + 'core/tests/test_multiarray.py::TestDot::test_huge_vectordot[complex128]' + ) + ;; + *) + ;; + esac + + rm -rf numpy || die + epytest -n "$(makeopts_jobs)" --pyargs numpy +} + +python_install_all() { + local DOCS=( LICENSE.txt README.md THANKS.txt ) + distutils-r1_python_install_all +} diff --git a/dev-python/openapi-core/openapi-core-0.18.1.ebuild b/dev-python/openapi-core/openapi-core-0.18.1.ebuild index 65a27f042f28..1fa806da8e18 100644 --- a/dev-python/openapi-core/openapi-core-0.18.1.ebuild +++ b/dev-python/openapi-core/openapi-core-0.18.1.ebuild @@ -16,7 +16,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/asgiref-4[${PYTHON_USEDEP}] diff --git a/dev-python/openapi-spec-validator/openapi-spec-validator-0.6.0.ebuild b/dev-python/openapi-spec-validator/openapi-spec-validator-0.6.0.ebuild index 7762f60a672b..bab4fa0851ec 100644 --- a/dev-python/openapi-spec-validator/openapi-spec-validator-0.6.0.ebuild +++ b/dev-python/openapi-spec-validator/openapi-spec-validator-0.6.0.ebuild @@ -16,7 +16,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/jsonschema-4.18.0[${PYTHON_USEDEP}] diff --git a/dev-python/pickleshare/pickleshare-0.7.5-r1.ebuild b/dev-python/pickleshare/pickleshare-0.7.5-r1.ebuild index 94123ac0d521..bfdbac17879e 100644 --- a/dev-python/pickleshare/pickleshare-0.7.5-r1.ebuild +++ b/dev-python/pickleshare/pickleshare-0.7.5-r1.ebuild @@ -11,7 +11,7 @@ HOMEPAGE="https://github.com/pickleshare/pickleshare" LICENSE="MIT" 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" RDEPEND=" >=dev-python/path-6.2[${PYTHON_USEDEP}]" diff --git a/dev-python/pip-run/pip-run-12.4.0.ebuild b/dev-python/pip-run/pip-run-12.4.0.ebuild index a876711c97eb..1f3b510ebbb7 100644 --- a/dev-python/pip-run/pip-run-12.4.0.ebuild +++ b/dev-python/pip-run/pip-run-12.4.0.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ~ppc64 ~riscv ~s390 sparc x86" RDEPEND=" dev-python/autocommand[${PYTHON_USEDEP}] diff --git a/dev-python/prettytable/Manifest b/dev-python/prettytable/Manifest index 6db90d03fe43..b1ea0535ddb8 100644 --- a/dev-python/prettytable/Manifest +++ b/dev-python/prettytable/Manifest @@ -1,2 +1 @@ -DIST prettytable-3.8.0.tar.gz 47735 BLAKE2B df31c77eaa4c0b4e7dc5845255383c13d5eff23c7fb8743c4cdd9f726229c84d98a0b4e66e8d42ec4d3e2d43db703d55706705d2e79c4ae8682b7b8b794217a4 SHA512 4719f16e98d4e7b89d8a7f6b2e1d15fd2c44410e5c9edc29a4dbb8ef2899eccff524932afe179bea7a6bbe607a809274b805e76e9ef2e3bf2c77f054635f8f04 DIST prettytable-3.9.0.tar.gz 47874 BLAKE2B 67d7eb13626d75372947a7662331dc8f4766f74c752ce918c4431cba5f974c5556c5e00566cccdb9e8715829778f3bd53b72ed124f0e19805ffb05f33ea1e219 SHA512 708094e4af6f34a631e63ea4a5655c366b8fd5c0802076d92cb8029402be86b2d528e6d866e8d865790c3d2597229b0f080deac5e843d60e19c326aa909e9eaf diff --git a/dev-python/prettytable/prettytable-3.8.0.ebuild b/dev-python/prettytable/prettytable-3.8.0.ebuild deleted file mode 100644 index 757e833a9633..000000000000 --- a/dev-python/prettytable/prettytable-3.8.0.ebuild +++ /dev/null @@ -1,32 +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} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Easily displaying tabular data in a visually appealing ASCII table format" -HOMEPAGE=" - https://github.com/jazzband/prettytable/ - https://pypi.org/project/prettytable/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - dev-python/wcwidth[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/hatch-vcs[${PYTHON_USEDEP}] - test? ( - $(python_gen_impl_dep sqlite) - dev-python/pytest-lazy-fixture[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest diff --git a/dev-python/pyacoustid/pyacoustid-1.3.0.ebuild b/dev-python/pyacoustid/pyacoustid-1.3.0.ebuild index 931181954dab..9b949e60a404 100644 --- a/dev-python/pyacoustid/pyacoustid-1.3.0.ebuild +++ b/dev-python/pyacoustid/pyacoustid-1.3.0.ebuild @@ -22,7 +22,7 @@ SRC_URI+=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" IUSE="examples test" # Tests fail with network-sandbox, since they need to connect to acoustid.org PROPERTIES="test_network" diff --git a/dev-python/pyelftools/Manifest b/dev-python/pyelftools/Manifest index d0dada90443f..659112f94104 100644 --- a/dev-python/pyelftools/Manifest +++ b/dev-python/pyelftools/Manifest @@ -1,2 +1 @@ -DIST pyelftools-0.29.gh.tar.gz 14176561 BLAKE2B 441260492f8cd512445249700a79f1d823ef96f6213ab9183e17160b76efe51493c28d2ae8ecea79acf45e78987b4c24940441e9bc0a3deaeda0ee4fb72b58c3 SHA512 0eba3b029a734abe9f8df92cd58bc967f10bf9f61c3a419bdbc5e637200844dddd947bcb485e8ebbe2eeaa7f7e91efc6500316af51aace1db051a658cf61153e DIST pyelftools-0.30.gh.tar.gz 14115024 BLAKE2B b7974bc1a51ff5ba6ced17aac44e3911ff8d892564a3bef07ae6a5fc261eb7d2eb02170678c4d0bafedaa9e393fa4ca6d2059c420436ea73aa4f6aa7b49a894e SHA512 5bd4c797f90307e351d541b8de8f76124c66e497b68b811f7012e1271c902beb6ab530a424b338777d12277d44f9b5f89f049e05d9fc2ec36a90b6fa16f1c1a4 diff --git a/dev-python/pyelftools/pyelftools-0.29.ebuild b/dev-python/pyelftools/pyelftools-0.29.ebuild deleted file mode 100644 index f95adff5777f..000000000000 --- a/dev-python/pyelftools/pyelftools-0.29.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=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 - -DESCRIPTION="pure-Python library for analyzing ELF files and DWARF debugging information" -HOMEPAGE=" - https://pypi.org/project/pyelftools/ - https://github.com/eliben/pyelftools/ -" -# PyPI tarball lacks some test files -SRC_URI=" - https://github.com/eliben/pyelftools/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="public-domain" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" -IUSE="examples" - -python_test() { - # readelf_tests often fails due to host `readelf` changing output format - "${EPYTHON}" test/run_all_unittests.py || die - "${EPYTHON}" test/run_examples_test.py || die -} - -python_install_all() { - use examples && dodoc -r examples - distutils-r1_python_install_all -} diff --git a/dev-python/pyftpdlib/Manifest b/dev-python/pyftpdlib/Manifest index 5f5c7f7efb9b..3a21928838cd 100644 --- a/dev-python/pyftpdlib/Manifest +++ b/dev-python/pyftpdlib/Manifest @@ -1,3 +1 @@ -DIST pyftpdlib-1.5.7.tar.gz 196076 BLAKE2B 9400fb9ff5d8c0e904f07dabef72a07528bc43a5332ad26544f0e512c457a919e887e9f9af18b75cb7853f2e0b70993bc5a858438924320e738d4bc9e2e17090 SHA512 66ad5a1ab8fde26233250351f553cdc411303616d717c416cdce059f93c64e6ef64c7707103644583249b6aba22a9841994b38e731edc7997e95e266dbdbdc22 -DIST pyftpdlib-1.5.7_p20230828.gh.tar.gz 257359 BLAKE2B 043f4be70b38b409548dd13739e9bcade7f489e9ce1a2e87ee4c631b76f484a0fa72b3ec45e7978cb38168823cdfc020adddc056a135644948415c5baab5ef33 SHA512 b0626559d2942abe63cf45a593f8da98d07124fca19e33c66bf86a9f24bffa842941cd419ad14f43b7ae337bdecb6628ce3184af991d3e87767a11f37eccdd63 DIST pyftpdlib-1.5.8.tar.gz 201963 BLAKE2B 5a957c207dcdc7c8d66d6ed4176cd12db019cf3d5247233db057b5c266a4fbda5e6e1c0b8ccdf33b4c154400d5d7a5e9a62ab9244f7c74c03c2f912a2ac0eb2f SHA512 2d4c4beb40d604d41eeed51f690b805377e84e594bdbb5d67135f50e5696824ba24aa9ae53aecced9f6c1b7eb3ec7727d31b883f9bbb0d2c43802277b2ef2aa6 diff --git a/dev-python/pyftpdlib/pyftpdlib-1.5.7-r1.ebuild b/dev-python/pyftpdlib/pyftpdlib-1.5.7-r1.ebuild deleted file mode 100644 index a954a011f77a..000000000000 --- a/dev-python/pyftpdlib/pyftpdlib-1.5.7-r1.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} ) -PYTHON_REQ_USE="ssl(+)" - -inherit distutils-r1 pypi - -DESCRIPTION="Python FTP server library" -HOMEPAGE=" - https://github.com/giampaolo/pyftpdlib/ - https://pypi.org/project/pyftpdlib/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" -IUSE="examples ssl" - -RDEPEND=" - ssl? ( dev-python/pyopenssl[${PYTHON_USEDEP}] ) -" -BDEPEND=" - test? ( - dev-python/psutil[${PYTHON_USEDEP}] - dev-python/pyopenssl[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest -distutils_enable_sphinx docs dev-python/sphinx-rtd-theme - -python_test() { - rm -rf pyftpdlib || die - # Some of these tests tend to fail - local EPYTEST_DESELECT=( - # fail because they process sys.argv and expect program args - # rather than pytest args, sigh - test/test_misc.py - # TODO - test/test_functional_ssl.py::TestFtpListingCmdsTLSMixin::test_nlst - ) - # Tests fail with TZ=GMT, see https://bugs.gentoo.org/666623 - local -x TZ=UTC+1 - # Skips some shoddy tests plus increases timeouts - local -x TRAVIS=1 - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest --pyargs pyftpdlib -} - -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/pyftpdlib/pyftpdlib-1.5.7_p20230828.ebuild b/dev-python/pyftpdlib/pyftpdlib-1.5.7_p20230828.ebuild deleted file mode 100644 index 53e3d76406af..000000000000 --- a/dev-python/pyftpdlib/pyftpdlib-1.5.7_p20230828.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -COMMIT=ec1f095910846c11fe3a7f8513de771afc7c8afd -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} ) -PYTHON_REQ_USE="ssl(+)" - -inherit distutils-r1 - -DESCRIPTION="Python FTP server library" -HOMEPAGE=" - https://github.com/giampaolo/pyftpdlib/ - https://pypi.org/project/pyftpdlib/ -" -SRC_URI="https://github.com/giampaolo/pyftpdlib/archive/${COMMIT}.tar.gz -> ${P}.gh.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" -IUSE="examples ssl" - -RDEPEND=" - ssl? ( dev-python/pyopenssl[${PYTHON_USEDEP}] ) -" -BDEPEND=" - test? ( - dev-python/psutil[${PYTHON_USEDEP}] - dev-python/pyopenssl[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest -distutils_enable_sphinx docs dev-python/sphinx-rtd-theme - -S="${WORKDIR}/${PN}-${COMMIT}" - -python_test() { - rm -rf pyftpdlib || die - # Some of these tests tend to fail - local EPYTEST_DESELECT=( - # fail because they process sys.argv and expect program args - # rather than pytest args, sigh - test/test_misc.py - # TODO - test/test_functional_ssl.py::TestFtpListingCmdsTLSMixin::test_nlst - ) - # Tests fail with TZ=GMT, see https://bugs.gentoo.org/666623 - local -x TZ=UTC+1 - # Skips some shoddy tests plus increases timeouts - local -x TRAVIS=1 - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest --pyargs pyftpdlib -} - -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/pylama/files/pylama-8.4.1-dummy-elif.patch b/dev-python/pylama/files/pylama-8.4.1-dummy-elif.patch new file mode 100644 index 000000000000..788d38382114 --- /dev/null +++ b/dev-python/pylama/files/pylama-8.4.1-dummy-elif.patch @@ -0,0 +1,32 @@ +From 2093ce0ad405e20efa3f2dad771a04577e0f7e6b Mon Sep 17 00:00:00 2001 +From: Stanislav Levin <slev@altlinux.org> +Date: Fri, 12 May 2023 19:38:41 +0300 +Subject: [PATCH] tests: Sync pylint's no-else-return + +https://github.com/klen/pylama/pull/243 + +See https://pylint.readthedocs.io/en/latest/user_guide/messages/refactor/no-else-return.html for details. + +Fixes: https://github.com/klen/pylama/issues/238 +Signed-off-by: Stanislav Levin <slev@altlinux.org> +--- + dummy.py | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/dummy.py b/dummy.py +index c19ee6d..09a0e3c 100644 +--- a/dummy.py ++++ b/dummy.py +@@ -22,10 +22,10 @@ def __init__(self, filename, loc, use_column=True): + if test == 1: + if test == 1: + return 28 +- elif test == 2: ++ if test == 2: + return 28 + return 28 +- elif test == 2: ++ if test == 2: + return 28 + + def __str__(self): diff --git a/dev-python/pylama/pylama-8.4.1-r1.ebuild b/dev-python/pylama/pylama-8.4.1-r1.ebuild index 0f44778be491..c6f780402d60 100644 --- a/dev-python/pylama/pylama-8.4.1-r1.ebuild +++ b/dev-python/pylama/pylama-8.4.1-r1.ebuild @@ -45,6 +45,7 @@ distutils_enable_tests pytest PATCHES=( "${FILESDIR}"/${P}-tomli.patch + "${FILESDIR}"/${P}-dummy-elif.patch ) EPYTEST_DESELECT=( diff --git a/dev-python/pymad/pymad-0.11.3.ebuild b/dev-python/pymad/pymad-0.11.3.ebuild index b9266a792eeb..7661cb9ce351 100644 --- a/dev-python/pymad/pymad-0.11.3.ebuild +++ b/dev-python/pymad/pymad-0.11.3.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" +KEYWORDS="amd64 ~ppc ~x86" DEPEND="media-libs/libmad" RDEPEND="${DEPEND}" diff --git a/dev-python/pyspelling/Manifest b/dev-python/pyspelling/Manifest index ad31b18800b9..d63c2bca40f3 100644 --- a/dev-python/pyspelling/Manifest +++ b/dev-python/pyspelling/Manifest @@ -1,2 +1 @@ -DIST pyspelling-2.8.2.gh.tar.gz 150733 BLAKE2B 1bb96679ce54d48967ee57a7dde00131884e2801a8a4f4e016f9a552b92d435650314ae66a356c90e3e4c585d2701bfc5e63f19b92347c8fada4de64e9a982b6 SHA512 0bb4fbacbc72935d4fb2fa0608d675fd0eec85f178c0994d341bc8635b53f39a4c82a1d50e43446cd39873a877e75b1530eafc36450f37d8f08cc174ba39e440 DIST pyspelling-2.9.gh.tar.gz 151600 BLAKE2B c706767917e9ba3368f9670a492a2233b6a4c13c4dde6a594a06193d856b3fbad007988acb27486b8b8f62edfeb5a0b030ead3db712baa24b0ff3301cf776937 SHA512 b14d29dff4f7791d9223d20b490f4a48ba5a6a7613dc18fc3083a3b6bf810f9a42fcac94bfe72f92023802fc8c1fe0e6432d491af2f274a138ddc56db5550ea5 diff --git a/dev-python/pyspelling/pyspelling-2.8.2.ebuild b/dev-python/pyspelling/pyspelling-2.8.2.ebuild deleted file mode 100644 index 2ccacc7f19a2..000000000000 --- a/dev-python/pyspelling/pyspelling-2.8.2.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8,9,10,11} ) -DISTUTILS_USE_PEP517=hatchling - -DOCS_BUILDER="mkdocs" -DOCS_DEPEND=" - >=dev-python/mkdocs-pymdownx-material-extras-2.1 - dev-python/mkdocs-git-revision-date-localized-plugin - dev-python/mkdocs-minify-plugin -" - -inherit distutils-r1 docs - -DESCRIPTION="Spell checker automation tool" -HOMEPAGE=" - https://github.com/facelessuser/pyspelling/ - https://pypi.org/project/pyspelling/ -" -SRC_URI=" - https://github.com/facelessuser/pyspelling/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv x86" - -RDEPEND=" - || ( app-text/aspell app-text/hunspell ) - - dev-python/beautifulsoup4[${PYTHON_USEDEP}] - dev-python/html5lib[${PYTHON_USEDEP}] - dev-python/lxml[${PYTHON_USEDEP}] - dev-python/markdown[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - >=dev-python/soupsieve-1.8[${PYTHON_USEDEP}] - >=dev-python/wcmatch-6.0.3[${PYTHON_USEDEP}] -" - -BDEPEND=" - test? ( - dev-vcs/git - ) -" - -distutils_enable_tests pytest - -python_prepare_all() { - # mkdocs-git-revision-date-localized-plugin needs git repo - if use doc; then - git init || die - git config --global user.email "you@example.com" || die - git config --global user.name "Your Name" || die - git add . || die - git commit -m 'init' || die - fi - - distutils-r1_python_prepare_all -} diff --git a/dev-python/pytest-aiohttp/Manifest b/dev-python/pytest-aiohttp/Manifest index 271862f283b7..3e84a8add509 100644 --- a/dev-python/pytest-aiohttp/Manifest +++ b/dev-python/pytest-aiohttp/Manifest @@ -1,2 +1 @@ -DIST pytest-aiohttp-1.0.4.tar.gz 11868 BLAKE2B d964fe29ebe10e80391ebcbe4fc73bf37e2d8568c4d7679493ce68392b5722d75735798a78f388134d60b9c922bac116b0d453cabae5a95fc06c4288cc5d4c8e SHA512 baf87e3aa229e8a4ab6746d277a923436ad2e0625825581c94a2fb0a9bbcd309bfc55186f8866589b65a75ccfd7d5b494d71554359724c0b2c9541ea94a177d8 DIST pytest-aiohttp-1.0.5.tar.gz 12209 BLAKE2B b02154239a6073bafac3d8be70a7ae8ff13fefdd09941db558c0b1ad31d14c5e29131209f157ab418202852a2d97f151d765cfffe0de06aac57f0c983ea99518 SHA512 b8421c63e4d5caa9742a013a6d1fd3c010b5e4a48e4f5c1a07ddfb7b05853ce6a7a0d65ce78493fd607f59c669d31c75d97a9022048e6a60cbc90a19a48dd02c diff --git a/dev-python/pytest-aiohttp/pytest-aiohttp-1.0.4.ebuild b/dev-python/pytest-aiohttp/pytest-aiohttp-1.0.4.ebuild deleted file mode 100644 index 71fe8cd4f750..000000000000 --- a/dev-python/pytest-aiohttp/pytest-aiohttp-1.0.4.ebuild +++ /dev/null @@ -1,37 +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} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="pytest plugin for aiohttp support" -HOMEPAGE=" - https://github.com/aio-libs/pytest-aiohttp/ - https://pypi.org/project/pytest-aiohttp/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" - -RDEPEND=" - >=dev-python/aiohttp-3.8.1[${PYTHON_USEDEP}] - >=dev-python/pytest-6.1.0[${PYTHON_USEDEP}] - >=dev-python/pytest-asyncio-0.17.2[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/setuptools-scm-6.2[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # warning doesn't seem to be emitted for some reason - # doesn't look very important - tests/test_obsolete_fixtures.py::test_loop_fixture -) diff --git a/dev-python/pytest-localftpserver/Manifest b/dev-python/pytest-localftpserver/Manifest index 14a8dc638b8b..23b361cf97bb 100644 --- a/dev-python/pytest-localftpserver/Manifest +++ b/dev-python/pytest-localftpserver/Manifest @@ -1 +1,2 @@ DIST pytest_localftpserver-1.1.4.tar.gz 44573 BLAKE2B 8c5bd0065d36d7c312944ce41747db141c90b7cbad134b6d3ce387cc9ef3f536882b27d1d0c23c67fb9e75546e62d0b1434faaa577c61f07a9915bf146b6a9e2 SHA512 67f7ca9d212f187f2e91d274523390438e07c52dc048b832e65012ef49d2843002806db1fbf2eba560bef671a0ef541bfb44f6b8226fe5d9d40acd08d53c4f48 +DIST pytest_localftpserver-1.2.0.tar.gz 48817 BLAKE2B ccccd0b2cdc2596fa12c8f082fd2fa3847541b731367abfccb7a57d3408d74c1637bfc644bb80482d9a1a25072d94b1f663b8ad8c0ad51c2d9dac65156a80638 SHA512 19e300c4ebb1d89ebfa4dce04296b8962014a139f82a409f6d46f748f653cfd1f4192a7fb65987015b2bf7237682507c4d6e42dab816c275ba7f8a302eb9a3e9 diff --git a/dev-python/pytest-localftpserver/pytest-localftpserver-1.2.0.ebuild b/dev-python/pytest-localftpserver/pytest-localftpserver-1.2.0.ebuild new file mode 100644 index 000000000000..22ee16efa959 --- /dev/null +++ b/dev-python/pytest-localftpserver/pytest-localftpserver-1.2.0.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 PyTest plugin which provides an FTP fixture for your tests" +HOMEPAGE=" + https://github.com/oz123/pytest-localftpserver/ + https://pypi.org/project/pytest-localftpserver/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/pyftpdlib[${PYTHON_USEDEP}] + dev-python/pyopenssl[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] +" + +EPYTEST_IGNORE=( + # These tests require python wget module + tests/test_pytest_localftpserver.py + tests/test_pytest_localftpserver_TLS.py + tests/test_pytest_localftpserver_with_env_var.py +) + +distutils_enable_tests pytest diff --git a/dev-python/python-engineio/Manifest b/dev-python/python-engineio/Manifest index e7e9ab71ba9c..e943b2633277 100644 --- a/dev-python/python-engineio/Manifest +++ b/dev-python/python-engineio/Manifest @@ -3,3 +3,4 @@ DIST python-engineio-4.6.0.gh.tar.gz 310597 BLAKE2B 7749e65f1f79bd21fb3f89dd541f DIST python-engineio-4.6.1.gh.tar.gz 310625 BLAKE2B 2247e926117ee659f7bd428df673b10c3655534b33d062eb33e7f400890062116f3edc82f66e6bd29817e61b314376b2227fbb513802c11a04c921a610f00063 SHA512 a423a048a09396d7a3c834056118bbd124a1313e8f63b16fa40ec51b6b8f247fbe7d540e1e5f4a8a103c14ff5b5e3f53686723f2cd70e26c3a59b6100bff336f DIST python-engineio-4.7.0.gh.tar.gz 311878 BLAKE2B 6b33bbf8c386fd6bf02f00d66e98bb11ef7a862d0d7c796094aeeeba8c87dd41e1f5b957a786b6ef181037dd5e6c390abdafc4f91fbacae356a0dbfe736e2775 SHA512 c1a41059024939a2cd11ed235a984b4e25cb622745fd6b46f15304d1470d33214283b7ae7b097edc8312ce1b5dc144eed7a2a505042b150b7bbd4320f026cd9d DIST python-engineio-4.7.1.gh.tar.gz 311622 BLAKE2B 101a15515aa80eb56c2285bef3f7967023cd8a2e54360c348d84af81dc4901424446b50a1d7b70ba0d6a073ee2780ccd524e61a30b1475d54b30f32494063386 SHA512 fa71efb885628b9337d3f6d20cc92ac990fadb5fafdb020904e6e2bb452957a437f6467724897729f2f9e30eb713d8ce88f254fbfe49258fa33ba38572206289 +DIST python-engineio-4.8.0.gh.tar.gz 313056 BLAKE2B 508c7303ee1020db27f7d8a26148b1748b9685f1d8fadb6abbe110e9b4acb85d6510c6bbc074ae0582efeab7c5b8e294eeed7115d34784bddd55f0b4bd20318f SHA512 351d982bf729a9747215d5845d9b547ecc5dd031cb3c32cd98d75b42374455e625ba0a8f7edf0db63354f7d905eedeb749145a851f8744571f0f2ab9d1142b47 diff --git a/dev-python/python-engineio/python-engineio-4.8.0.ebuild b/dev-python/python-engineio/python-engineio-4.8.0.ebuild new file mode 100644 index 000000000000..03d25ae06ff5 --- /dev/null +++ b/dev-python/python-engineio/python-engineio-4.8.0.ebuild @@ -0,0 +1,59 @@ +# 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 + +DESCRIPTION="Python implementation of the Engine.IO realtime server" +HOMEPAGE=" + https://python-engineio.readthedocs.io/ + https://github.com/miguelgrinberg/python-engineio/ + https://pypi.org/project/python-engineio/" +SRC_URI=" + https://github.com/miguelgrinberg/python-engineio/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/aiohttp[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + >=dev-python/simple-websocket-0.10.0[${PYTHON_USEDEP}] + dev-python/websocket-client[${PYTHON_USEDEP}] +" +# Can use eventlet, werkzeug, or gevent, but no tests for werkzeug +BDEPEND=" + test? ( + dev-python/tornado[${PYTHON_USEDEP}] + dev-python/websockets[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs \ + dev-python/alabaster + +python_test() { + local EPYTEST_IGNORE=( + # eventlet is masked for removal + tests/common/test_async_eventlet.py + ) + + local EPYTEST_DESELECT=( + # also eventlet + tests/common/test_server.py::TestServer::test_async_mode_eventlet + tests/common/test_server.py::TestServer::test_connect + tests/common/test_server.py::TestServer::test_service_task_started + tests/common/test_server.py::TestServer::test_upgrades + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/python-lsp-jsonrpc/Manifest b/dev-python/python-lsp-jsonrpc/Manifest index 7bff30b697e7..afcf1412a7f2 100644 --- a/dev-python/python-lsp-jsonrpc/Manifest +++ b/dev-python/python-lsp-jsonrpc/Manifest @@ -1,4 +1 @@ -DIST python-lsp-jsonrpc-1.0.0.tar.gz 10011 BLAKE2B 671490d439f10eebf2d05f221adad25be6f881f4a0f4fa975d4574937a951d4d0bc51264a9ec67d3ef5d112b6e025b551685d3e3c2b959c4a6bcef92d46c5ff3 SHA512 447835fc6c3810f486d80f85295089c021b792843bdf88d461c021b8b04407d8f7e6a99c07351a23658a5dff46eb475bc64e51bdec029787cd33330b54d4dfec -DIST python-lsp-jsonrpc-1.1.0.tar.gz 14950 BLAKE2B 061a7c2028d909dcef5a1b1235263fb6909ec6b78c71c210e26403a1c6af351138428e4d3c8360d77d7f0420d27ae9c0f1c0d8aa6bdb645aedd1ca1e85d236d7 SHA512 f62ee2177939a154251bd67f28dd9ce6fdebd39aa1d5e8993676becf7ace074a0397ff1f86c1e91b38bf5f7d06c1d9df5ab7aed00d952534c40999086c4878fe -DIST python-lsp-jsonrpc-1.1.1.tar.gz 15151 BLAKE2B c9e5a516318e85dbd2f9da61b17507a256b7e09a657b2bf4246bfa9020de753fcb8d89082b92cf741fc7bef1b5f9d2559016cd1001d69e5b582d46eedde77e5a SHA512 2722aa038f6d2aebab4980ece7f67685d7285fa81e67ddf541478dd338dabb1279106233ec9124c40a15d4f1801c57cc3fbb9bebd5d5651355f36aae77b104d6 DIST python-lsp-jsonrpc-1.1.2.tar.gz 15298 BLAKE2B 04c4616e63cbdee199747e87e6b21cede9b3b6d3001cf43f3d2640ab727e3c3466f914a7b870311cd08d01161d5cb8bd8a7c9ce35e24ea2a2a7b2821957a79e5 SHA512 7f8de21ca9616b725617b9aed2b2f3d991477e16065ac239559e45723713fe29fb16194145ed191df57d621d49a04e0258e9573fdabce34409fc779cae45ea82 diff --git a/dev-python/python-lsp-jsonrpc/files/python-lsp-jsonrpc-1.0.0-fix-test-with-ujson-3-and-up.patch b/dev-python/python-lsp-jsonrpc/files/python-lsp-jsonrpc-1.0.0-fix-test-with-ujson-3-and-up.patch deleted file mode 100644 index c7b01903761b..000000000000 --- a/dev-python/python-lsp-jsonrpc/files/python-lsp-jsonrpc-1.0.0-fix-test-with-ujson-3-and-up.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/test/test_streams.py b/test/test_streams.py -index bce3ffa..f93cb8d 100644 ---- a/test/test_streams.py -+++ b/test/test_streams.py -@@ -113,6 +113,7 @@ def test_writer_bad_message(wfile, writer): - hour=1, - minute=1, - second=1, -+ tzinfo=datetime.timezone.utc - )) - - assert wfile.getvalue() in [ diff --git a/dev-python/python-lsp-jsonrpc/python-lsp-jsonrpc-1.0.0-r1.ebuild b/dev-python/python-lsp-jsonrpc/python-lsp-jsonrpc-1.0.0-r1.ebuild deleted file mode 100644 index a4852b015dd2..000000000000 --- a/dev-python/python-lsp-jsonrpc/python-lsp-jsonrpc-1.0.0-r1.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 - -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{8,9,10,11} ) -DISTUTILS_USE_PEP517=setuptools -inherit distutils-r1 pypi - -DESCRIPTION="JSON RPC 2.0 server library" -HOMEPAGE="https://github.com/python-lsp/python-lsp-jsonrpc" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~ppc64 x86" - -BDEPEND=" - test? ( - dev-python/pycodestyle[${PYTHON_USEDEP}] - dev-python/pyflakes[${PYTHON_USEDEP}] - )" - -RDEPEND=">=dev-python/ujson-3[${PYTHON_USEDEP}]" - -distutils_enable_tests pytest - -PATCHES=( "${FILESDIR}/${P}-fix-test-with-ujson-3-and-up.patch" ) - -python_prepare_all() { - # Remove pytest-cov dep - sed -i -e '0,/addopts/I!d' setup.cfg || die - - distutils-r1_python_prepare_all -} diff --git a/dev-python/python-lsp-jsonrpc/python-lsp-jsonrpc-1.1.0.ebuild b/dev-python/python-lsp-jsonrpc/python-lsp-jsonrpc-1.1.0.ebuild deleted file mode 100644 index 1ebc23efda9b..000000000000 --- a/dev-python/python-lsp-jsonrpc/python-lsp-jsonrpc-1.1.0.ebuild +++ /dev/null @@ -1,38 +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} ) - -inherit distutils-r1 pypi - -DESCRIPTION="JSON RPC 2.0 server library" -HOMEPAGE=" - https://github.com/python-lsp/python-lsp-jsonrpc/ - https://pypi.org/project/python-lsp-jsonrpc/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" - -RDEPEND=" - >=dev-python/ujson-3[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/pycodestyle[${PYTHON_USEDEP}] - dev-python/pyflakes[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local -x TZ=UTC - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -o addopts= -} diff --git a/dev-python/python-lsp-jsonrpc/python-lsp-jsonrpc-1.1.1.ebuild b/dev-python/python-lsp-jsonrpc/python-lsp-jsonrpc-1.1.1.ebuild deleted file mode 100644 index 1ebc23efda9b..000000000000 --- a/dev-python/python-lsp-jsonrpc/python-lsp-jsonrpc-1.1.1.ebuild +++ /dev/null @@ -1,38 +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} ) - -inherit distutils-r1 pypi - -DESCRIPTION="JSON RPC 2.0 server library" -HOMEPAGE=" - https://github.com/python-lsp/python-lsp-jsonrpc/ - https://pypi.org/project/python-lsp-jsonrpc/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" - -RDEPEND=" - >=dev-python/ujson-3[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/pycodestyle[${PYTHON_USEDEP}] - dev-python/pyflakes[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local -x TZ=UTC - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -o addopts= -} diff --git a/dev-python/python-socks/Manifest b/dev-python/python-socks/Manifest index 620973b8a789..b2205a90d2ab 100644 --- a/dev-python/python-socks/Manifest +++ b/dev-python/python-socks/Manifest @@ -1,4 +1 @@ -DIST python-socks-2.3.0.gh.tar.gz 32506 BLAKE2B 0eaddbb4400488b6c96458d84671e69c9dd9bf927b9ea830d4161d4d78bdc32f66fb0c02f19e63afa868bd248a95d1544463bc877b79fd533b3952bfc71bef52 SHA512 792489d9daa63847733580b36d85d143146d0cd0b3f29297fa732516dea203b3f82deaf2779b56d80c20abe2739ed79e28a9a21cfeb26768ec557efef34c74f7 -DIST python-socks-2.4.1.gh.tar.gz 32003 BLAKE2B 70f1df51583d55372bad61cf3acdc62d8b487f061a3d3c1a6bac86e7f8b2f00e81a041354406ac43e4b0dc9150e165ed09ac5794a74827e84ada08c060c844fd SHA512 be26dd0bf6eb886c00ee5a4a5108ad883252cdb40fe4daed20b3e06e8a667e57a1dd0f7aa9ff669b2b36c804e8c2b039fef10d69d90659615cdb7feb31292ceb -DIST python-socks-2.4.2.gh.tar.gz 32003 BLAKE2B 3ea9ae1ad8810ae47af05f0987685d52073ccb204ce66a70542cc130357829634a82ed5b8d1ad6d8473b81df7a5112c30aad55ea7ea3aca5c856aca675255c9e SHA512 98cca7b15d61be73cd5473b2c25d4ac10b6585700268f6847f5d3d55afc403d4b27dec738540caf1a082a4b4edfad855e049ddc9cb88659ba4352d9fc1f767f8 DIST python-socks-2.4.3.gh.tar.gz 32006 BLAKE2B 571c04e5b12ddff3e6d813b547b43899883ef132ad0e55c2fce33ae9e4cd63ca588fb700aba7e2ea5c021f55c7aeae0f8213d2aa8fca3d7bff502b7bd00ca854 SHA512 5ef55367b1fae2249690df0eb8ea55284f02287115b14e8b7ebeeed9ae3e8ed431e17247f369323651daa1177ac8c6dd207d5dd188134e04eff178dc240b9b8b diff --git a/dev-python/python-socks/python-socks-2.3.0.ebuild b/dev-python/python-socks/python-socks-2.3.0.ebuild deleted file mode 100644 index d5e9f7e116a2..000000000000 --- a/dev-python/python-socks/python-socks-2.3.0.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# 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} 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/python-socks/python-socks-2.4.1.ebuild b/dev-python/python-socks/python-socks-2.4.1.ebuild deleted file mode 100644 index 830f6cc2eb29..000000000000 --- a/dev-python/python-socks/python-socks-2.4.1.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# 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} 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/python-socks/python-socks-2.4.2.ebuild b/dev-python/python-socks/python-socks-2.4.2.ebuild deleted file mode 100644 index 830f6cc2eb29..000000000000 --- a/dev-python/python-socks/python-socks-2.4.2.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# 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} 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/pytoolconfig/Manifest b/dev-python/pytoolconfig/Manifest index 61645d4641fd..bc1c8f3e602d 100644 --- a/dev-python/pytoolconfig/Manifest +++ b/dev-python/pytoolconfig/Manifest @@ -1 +1,2 @@ DIST pytoolconfig-1.2.5.tar.gz 16322 BLAKE2B cdaab50765452ad93942c9a9ba546dc7ec5f61db8276992987a4539ad975578ee327464d93a1a64f09d67c4c872d99f42282183459e6987c1e4086218d15b032 SHA512 37753530a166d324ddef0c2e9f0c3d6b2f61252a18ff8037d530b339c8b817cde4087d14b6756690fe10002cbd3442776604ff064d7d16d34289ba859492c920 +DIST pytoolconfig-1.2.6.tar.gz 16425 BLAKE2B 669c3bc906b06ac48ecb5649f1bef8a6af53e85d8f8d23f4059b63e4d1e57e10b0a66d2e89e72e0b4afe7d00aa9d26b4ceb23cc49b8e46a891e7fae60d228686 SHA512 beade8cd1780eb986dab1d630c1583c9c75fea5067d399081a5b8361789fdec96087243d8d79291655c83aca481d5888b3414a1b445200a9d8c59703761a83b2 diff --git a/dev-python/pytoolconfig/pytoolconfig-1.2.6.ebuild b/dev-python/pytoolconfig/pytoolconfig-1.2.6.ebuild new file mode 100644 index 000000000000..f4a81b655e87 --- /dev/null +++ b/dev-python/pytoolconfig/pytoolconfig-1.2.6.ebuild @@ -0,0 +1,35 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=pdm-backend +PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python tool configuration" +HOMEPAGE=" + https://pypi.org/project/pytoolconfig/ + https://github.com/bagel897/pytoolconfig/ +" + +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +RDEPEND=" + >=dev-python/packaging-22.0[${PYTHON_USEDEP}] + >=dev-python/platformdirs-1.4.4[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] + ' 3.10 ) +" +BDEPEND=" + test? ( + >=dev-python/sphinx-4.5.0[${PYTHON_USEDEP}] + >=dev-python/tabulate-0.8.9[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/pywlroots/pywlroots-0.16.5.ebuild b/dev-python/pywlroots/pywlroots-0.16.5.ebuild index ff630f37b59f..a19fb0553d05 100644 --- a/dev-python/pywlroots/pywlroots-0.16.5.ebuild +++ b/dev-python/pywlroots/pywlroots-0.16.5.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~riscv ~x86" +KEYWORDS="amd64 ~riscv ~x86" # See README for wlroots dep DEPEND=" diff --git a/dev-python/sabctools/sabctools-8.0.0.ebuild b/dev-python/sabctools/sabctools-8.0.0.ebuild index 7cfd23f01341..50d1447ea0c3 100644 --- a/dev-python/sabctools/sabctools-8.0.0.ebuild +++ b/dev-python/sabctools/sabctools-8.0.0.ebuild @@ -25,7 +25,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="LGPL-3" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" BDEPEND=" test? ( diff --git a/dev-python/setuptools/Manifest b/dev-python/setuptools/Manifest index 32105a8e64af..ec745d1fee82 100644 --- a/dev-python/setuptools/Manifest +++ b/dev-python/setuptools/Manifest @@ -1,3 +1 @@ -DIST setuptools-68.1.2.tar.gz 2198001 BLAKE2B bd21de32246eb7bd17289536a65e87636c39d8d7712dffa61b07b052fa7e9020fc06fe2de294a4e4782738c4385ff31e6552a6d3f403c3b1da98ea07405d57e8 SHA512 a5a84102ce72f38162b190b91286013cb8660b45f383df04fba65e38c658a5c5b93cdf05f789436618fa596b3ca6688a7c54d31d6d10b729124d3b135660c328 -DIST setuptools-68.2.1.tar.gz 2203059 BLAKE2B 2db15077041c908e476f115fb1d54abdc6ddef6c1f7b23f2149a0c61c23aa584ada51d73cf5d1ed7e3670cd18077fa1d0001b654e45d9c5882f993e2bf56ffb1 SHA512 f7083c3a38f3f9dc1ea3b87d398db7d483d5692e20f395aead40a310cd329c76243450b7d95b4a797ab1c6d2919cba4ac76fa73d2cb454d3c3b9f3209401611b DIST setuptools-68.2.2.tar.gz 2203338 BLAKE2B 3d91bd4b4be1fb7a01b0cca1736187b80f9b07d0e647b49b483d6b8da55f69a678d2c910cde46bd9645dbd10b0b1d14c124d111817cbd7be8d5fab909f787998 SHA512 ed3138a39e8ae47d695e71835024d66d63b8de51aa336bd8524de81a5036aa26cf587caca5d6b46c833f77a6e9c8c1ae6b64e8310f712bd9c4e760196778b2ca diff --git a/dev-python/setuptools/setuptools-68.1.2.ebuild b/dev-python/setuptools/setuptools-68.1.2.ebuild deleted file mode 100644 index be1ecdca6431..000000000000 --- a/dev-python/setuptools/setuptools-68.1.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} 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 "<dev-python/packaging-22"; then - EPYTEST_DESELECT+=( - # old packaging is more lenient - setuptools/tests/config/test_setupcfg.py::TestOptions::test_raises_accidental_env_marker_misconfig - ) - fi - - epytest -n "$(makeopts_jobs)" setuptools -} diff --git a/dev-python/setuptools/setuptools-68.2.1.ebuild b/dev-python/setuptools/setuptools-68.2.1.ebuild deleted file mode 100644 index efa3073204a4..000000000000 --- a/dev-python/setuptools/setuptools-68.2.1.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} 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 "<dev-python/packaging-22"; then - EPYTEST_DESELECT+=( - # old packaging is more lenient - setuptools/tests/config/test_setupcfg.py::TestOptions::test_raises_accidental_env_marker_misconfig - ) - fi - - epytest -n "$(makeopts_jobs)" setuptools -} diff --git a/dev-python/tekore/Manifest b/dev-python/tekore/Manifest index c0016b803370..75611da06c69 100644 --- a/dev-python/tekore/Manifest +++ b/dev-python/tekore/Manifest @@ -1 +1,2 @@ DIST tekore-5.1.0.gh.tar.gz 261207 BLAKE2B 7c52fe1bd0a29da10d846d04543ccca5770e2e5682e5f816fd6ac56c0f351ba2374662187ab71350cf2e8c298175c045c1d35b4512f529b67aef11a4a80a8f15 SHA512 13c8853c707ee2234632e8f051b22df67935afa26c5f4c684728031a78ded88b9d71fff44093d9765a2287ecb5613b8b6b792727d632bce234d89a8668d86ca4 +DIST tekore-5.1.1.gh.tar.gz 261257 BLAKE2B d0ba6a3564f0be269ea3dab8ec2860cc17cff52949f0781fb368a82611b2b9bfd37a018ef9446e078003def5e89de8e5c4219a4c0154baf37cb6e453b7369d0e SHA512 0eb53cf242619a4646407c375a752877e82b231d187ffb3095eff33bdb3869a75c1194833487b7d377fbe9af6d9cb975714ea293a015743b7377a6eb0fd68424 diff --git a/dev-python/tekore/tekore-5.1.1.ebuild b/dev-python/tekore/tekore-5.1.1.ebuild new file mode 100644 index 000000000000..b1674baad31f --- /dev/null +++ b/dev-python/tekore/tekore-5.1.1.ebuild @@ -0,0 +1,55 @@ +# 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 + +DESCRIPTION="Spotify Web API client" +HOMEPAGE=" + https://tekore.readthedocs.io/ + https://github.com/felix-hilden/tekore/ + https://pypi.org/project/tekore/ +" +SRC_URI=" + https://github.com/felix-hilden/${PN}/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +KEYWORDS="~amd64" +SLOT="0" + +RDEPEND=" + <dev-python/httpx-0.26[${PYTHON_USEDEP}] + >=dev-python/pydantic-1.8[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + >=dev-python/pydantic-2[${PYTHON_USEDEP}] + >=dev-python/pytest-asyncio-0.17[${PYTHON_USEDEP}] + dev-python/pytest-httpx[${PYTHON_USEDEP}] + ) +" + +DOCS=( readme.rst ) + +distutils_enable_tests pytest +# TODO: package sphinx_codeautolink +# distutils_enable_sphinx docs/src \ +# dev-python/sphinx-rtd-theme \ +# dev-python/sphinx-tabs \ +# dev-python/sphinx-autodoc-typehints + +EPYTEST_DESELECT=( + # Internet + tests/auth/expiring.py::TestCredentialsOnline::test_bad_arguments_raises_error + # these tests use calls specific to pydantic-2 + # TODO: reselect when we can depend on >=pydantic-2 + tests/model.py::TestModel::test_enum_in_model + tests/model.py::TestModel::test_unknown_attribute_ignored +) diff --git a/dev-python/tldextract/tldextract-3.6.0.ebuild b/dev-python/tldextract/tldextract-3.6.0.ebuild index 6534506ef41a..470c5b2c9053 100644 --- a/dev-python/tldextract/tldextract-3.6.0.ebuild +++ b/dev-python/tldextract/tldextract-3.6.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~loong x86" +KEYWORDS="amd64 ~arm64 ~loong x86" RDEPEND=" >=dev-python/filelock-3.0.8[${PYTHON_USEDEP}] diff --git a/dev-python/trio-websocket/Manifest b/dev-python/trio-websocket/Manifest index 6c0455589ce0..fe2bbffe906f 100644 --- a/dev-python/trio-websocket/Manifest +++ b/dev-python/trio-websocket/Manifest @@ -1,3 +1 @@ -DIST trio-websocket-0.10.3.gh.tar.gz 45109 BLAKE2B 7adad8bd59b2350d7b8e50e88710c8b9844e8b34c712615e058a6045d575671043c527ac4330941431502affc7c307d61c1f9c1b328c579a622ff11ea79fbeb6 SHA512 8ff50030c9616ea8baa9627f229304fbb72528fcc97d1e5ead90acc3c7d683751c0d98e9c4f779d4d65fc765b00b6ec93b6d3384070a76fe18d3318af7afa975 -DIST trio-websocket-0.10.4.gh.tar.gz 45490 BLAKE2B d681cc3ec9537e3c3e943831405d45a226fe61aa2482d9c9944520d5a3ecc2bbe974e63e666a5117f6bcfca2240a4b1c22a3304e6bb15fc502154df22fdbde44 SHA512 30b6655120a0117cda9707b793bd8a00fe0e8a578450c7fcc8fba2bb505aaf898aee355cec5e1faf13ff7da791a793816c675c01ac0d7047dc0ac6734508fc6c DIST trio-websocket-0.11.1.gh.tar.gz 45682 BLAKE2B 0f926421828476c9e23cf962df7a17a2cf4470e0898dddbc4690497521205ea11973a188ca460685739d08c34be237682b0bbbbe2c279d35e5c2fdce9b3ce020 SHA512 4b0eb6f0c012cefedb69b97e9452ba979336fbe9f154799c4c68871b8013e728374e4872a2343ab4d27fa6e25e40c3063e681e80470123d37f13f531be4f6644 diff --git a/dev-python/trio-websocket/trio-websocket-0.10.3.ebuild b/dev-python/trio-websocket/trio-websocket-0.10.3.ebuild deleted file mode 100644 index 76986bfea76d..000000000000 --- a/dev-python/trio-websocket/trio-websocket-0.10.3.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 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="WebSocket client and server implementation for Python Trio" -HOMEPAGE=" - https://github.com/HyperionGray/trio-websocket/ - https://pypi.org/project/trio-websocket/ -" -SRC_URI=" - https://github.com/HyperionGray/trio-websocket/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - dev-python/exceptiongroup[${PYTHON_USEDEP}] - >=dev-python/trio-0.11[${PYTHON_USEDEP}] - >=dev-python/wsproto-0.14[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - >=dev-python/pytest-trio-0.5.0[${PYTHON_USEDEP}] - dev-python/trustme[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p trio -} diff --git a/dev-python/trio-websocket/trio-websocket-0.10.4.ebuild b/dev-python/trio-websocket/trio-websocket-0.10.4.ebuild deleted file mode 100644 index ae490fa9529e..000000000000 --- a/dev-python/trio-websocket/trio-websocket-0.10.4.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 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="WebSocket client and server implementation for Python Trio" -HOMEPAGE=" - https://github.com/python-trio/trio-websocket/ - https://pypi.org/project/trio-websocket/ -" -SRC_URI=" - https://github.com/python-trio/trio-websocket/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -RDEPEND=" - dev-python/exceptiongroup[${PYTHON_USEDEP}] - >=dev-python/trio-0.11[${PYTHON_USEDEP}] - >=dev-python/wsproto-0.14[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - >=dev-python/pytest-trio-0.5.0[${PYTHON_USEDEP}] - dev-python/trustme[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p trio -} diff --git a/dev-python/typeguard/typeguard-4.1.5.ebuild b/dev-python/typeguard/typeguard-4.1.5.ebuild index 48d26dfb9826..553171331d40 100644 --- a/dev-python/typeguard/typeguard-4.1.5.ebuild +++ b/dev-python/typeguard/typeguard-4.1.5.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/virtualenv/Manifest b/dev-python/virtualenv/Manifest index 2661f471c0d3..c5ca87dc38e0 100644 --- a/dev-python/virtualenv/Manifest +++ b/dev-python/virtualenv/Manifest @@ -1,2 +1 @@ -DIST virtualenv-20.24.4.tar.gz 7115923 BLAKE2B bd3b002da91673d33b8da9766e81319deee86959a0bc71fe0be9e920bddb24969c096ad31c246f170ccde0b6de55d4126d425419629fd08d065af37835278253 SHA512 2bf9ea5878be0140dba3a6d781fd820d8eb60f0de1e49ea3209f53f3b9bf0f6b063b905a90c0d7bb670c03a3a50638367d5598a8402009d5e9b001271ddedaac DIST virtualenv-20.24.5.tar.gz 7119883 BLAKE2B bc4a0e81feeac8975f259b329f223a286be41af11c9a8f27b68b6a42611668942ba18b691a848195609e47695e3104602d6563cabb930d7fed9f07cc57d2468e SHA512 f77961ed26c3e7314f26c0c18d41ab843572b0a1d157eb7b5e51f955a289da8ecf633d2ad9c936b9292e5b06e4ce9f5b11a100681fbb63dd1fb9fc9bef37f4c4 diff --git a/dev-python/virtualenv/virtualenv-20.24.4.ebuild b/dev-python/virtualenv/virtualenv-20.24.4.ebuild deleted file mode 100644 index 0898c8bce1f4..000000000000 --- a/dev-python/virtualenv/virtualenv-20.24.4.ebuild +++ /dev/null @@ -1,107 +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} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Virtual Python Environment builder" -HOMEPAGE=" - https://virtualenv.pypa.io/en/stable/ - https://pypi.org/project/virtualenv/ - https://github.com/pypa/virtualenv/ -" - -LICENSE="MIT" -KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" -SLOT="0" - -RDEPEND=" - <dev-python/distlib-1[${PYTHON_USEDEP}] - >=dev-python/distlib-0.3.7[${PYTHON_USEDEP}] - <dev-python/filelock-4[${PYTHON_USEDEP}] - >=dev-python/filelock-3.12.2[${PYTHON_USEDEP}] - <dev-python/platformdirs-4[${PYTHON_USEDEP}] - >=dev-python/platformdirs-3.9.1[${PYTHON_USEDEP}] -" -# coverage is used somehow magically in virtualenv, maybe it actually -# tests something useful -BDEPEND=" - dev-python/hatch-vcs[${PYTHON_USEDEP}] - test? ( - dev-python/coverage[${PYTHON_USEDEP}] - dev-python/flaky[${PYTHON_USEDEP}] - >=dev-python/pip-22.2.1[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/pytest-freezer-0.4.6[${PYTHON_USEDEP}] - ' pypy3) - >=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}] - >=dev-python/setuptools-67.8[${PYTHON_USEDEP}] - >=dev-python/six-1.9.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/time-machine[${PYTHON_USEDEP}] - ' 'python3*') - dev-python/wheel[${PYTHON_USEDEP}] - >=dev-python/packaging-20.0[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - tests/unit/activation/test_xonsh.py - tests/unit/seed/embed/test_bootstrap_link_via_app_data.py::test_seed_link_via_app_data - tests/unit/create/test_creator.py::test_cross_major - # tests failing without python2 installed - "tests/unit/create/test_creator.py::test_py_pyc_missing[True-False]" - "tests/unit/create/test_creator.py::test_py_pyc_missing[False-False]" - ) - [[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=( - 'tests/unit/create/test_creator.py::test_create_no_seed[root-pypy3-posix-copies-isolated]' - 'tests/unit/create/test_creator.py::test_create_no_seed[root-pypy3-posix-copies-global]' - 'tests/unit/create/test_creator.py::test_create_no_seed[venv-pypy3-posix-copies-isolated]' - 'tests/unit/create/test_creator.py::test_create_no_seed[venv-pypy3-posix-copies-global]' - 'tests/unit/create/test_creator.py::test_create_no_seed[root-venv-copies-isolated]' - 'tests/unit/create/test_creator.py::test_create_no_seed[root-venv-copies-global]' - 'tests/unit/create/test_creator.py::test_create_no_seed[venv-venv-copies-isolated]' - 'tests/unit/create/test_creator.py::test_create_no_seed[venv-venv-copies-global]' - 'tests/unit/create/test_creator.py::test_zip_importer_can_import_setuptools' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.7.9-64-bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.7.9--bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.7.10-64-bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.7.10--bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.7-64-bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.7--bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3-64-bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3--bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.7.9-64-bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.7.9--bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.7.10-64-bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.7.10--bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.7-64-bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.7--bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3-64-bin-]' - 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3--bin-]' - ) - [[ ${EPYTHON} == python3.1[12] ]] && EPYTEST_DESELECT+=( - # TODO - tests/unit/discovery/py_info/test_py_info.py::test_fallback_existent_system_executable - ) - [[ ${EPYTHON} == python3.12 ]] && EPYTEST_DESELECT+=( - tests/unit/create/via_global_ref/test_build_c_ext.py - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x TZ=UTC - local plugins=( -p flaky -p pytest_mock ) - if [[ ${EPYTHON} == pypy3 ]]; then - plugins+=( -p freezegun ) - else - plugins+=( -p time_machine ) - fi - epytest "${plugins[@]}" -} diff --git a/dev-python/websockets/websockets-11.0.3-r2.ebuild b/dev-python/websockets/websockets-11.0.3-r2.ebuild index daf1ca742fb9..8b90acba5eb1 100644 --- a/dev-python/websockets/websockets-11.0.3-r2.ebuild +++ b/dev-python/websockets/websockets-11.0.3-r2.ebuild @@ -24,7 +24,7 @@ SRC_URI=" LICENSE="BSD" 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" distutils_enable_tests pytest diff --git a/dev-python/widgetsnbextension/Manifest b/dev-python/widgetsnbextension/Manifest index f091f5544916..bb3742667d5f 100644 --- a/dev-python/widgetsnbextension/Manifest +++ b/dev-python/widgetsnbextension/Manifest @@ -1,2 +1 @@ -DIST widgetsnbextension-4.0.8.tar.gz 1147105 BLAKE2B 295d3bde4197f029c037510eb8579f48fec1d3ccf3a13f54dc900a35fb427dd89324fb65e71b8017770ecb3d9a5b947e06825ee79ed3881bc501fb504b3213e5 SHA512 66d74b213bde9427917c113f6861551f44578e614c3b004b520d765d5d7946f696b719f6383028034164dded2b063f58a0a16aec1152eac125bd7a6ae8dab391 DIST widgetsnbextension-4.0.9.tar.gz 1146830 BLAKE2B 4c4cb7aca3b8ffe45fbb00d296474ca889cc4124d9f96c618b3cc5212a119335866a0e5a246bc5ab69287b4929ce8b88a01eb176b7361d60655e5a7dc5e16df0 SHA512 0fb0949fa7dcd7846d16175541f674a3f159ae436ce5c0e4bb74dcad89d944681a9d6473a6d3282aa2525f25c5215195bad57de6b7cd9ef04c549b9f3e76c8b4 diff --git a/dev-python/widgetsnbextension/widgetsnbextension-4.0.8.ebuild b/dev-python/widgetsnbextension/widgetsnbextension-4.0.8.ebuild deleted file mode 100644 index d64f81f72a58..000000000000 --- a/dev-python/widgetsnbextension/widgetsnbextension-4.0.8.ebuild +++ /dev/null @@ -1,34 +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} ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 pypi - -DESCRIPTION="IPython HTML widgets for Jupyter" -HOMEPAGE=" - https://ipython.org/ - https://pypi.org/project/widgetsnbextension/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" - -BDEPEND=" - dev-python/jupyter-packaging[${PYTHON_USEDEP}] -" - -RDEPEND=" - dev-python/notebook[${PYTHON_USEDEP}] -" - -src_install() { - distutils-r1_src_install - - mv "${ED}/usr/etc" "${ED}/etc" || die -} diff --git a/dev-python/xlsxwriter/Manifest b/dev-python/xlsxwriter/Manifest index 0eb74f6179e2..9cca20533dbc 100644 --- a/dev-python/xlsxwriter/Manifest +++ b/dev-python/xlsxwriter/Manifest @@ -1,6 +1 @@ -DIST XlsxWriter-RELEASE_3.1.2.gh.tar.gz 36697835 BLAKE2B 055d0ac2e70ce5f86167f630044136f984bf19b494cb2ea5d7b98ce2098942e4c89eb0c3c3a8eeb48b1a4dcff30b71d45c2f2528634ed2f652d27f358d4778f7 SHA512 05f70721e6c55d54acdc143681ec581d3bf16c5d07725790bc648c169507e3cd9bd600ac4fcb4ff03fa449a6efc469d0745b92fcdb89afbf27ee1e2998c09613 -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 DIST XlsxWriter-RELEASE_3.1.7.gh.tar.gz 37369556 BLAKE2B e7eefd4fac6a791f917e19fd5559ac1fef436a0b304a1db9d436e21a2fc412b73de94a2a05a81acec5e297a07a11bdc953774947ec196fe666beb2ce85a2a21a SHA512 fd144eebbcb04e914aff1c2980353f0ddb88ef7841c70d1681561c86d925a201000931dba18bc15965fdb195bf3b2ea959b7c1ba21be8d1c7c6ed678c90c0fc7 diff --git a/dev-python/xlsxwriter/xlsxwriter-3.1.2.ebuild b/dev-python/xlsxwriter/xlsxwriter-3.1.2.ebuild deleted file mode 100644 index 16ef8ad0adc6..000000000000 --- a/dev-python/xlsxwriter/xlsxwriter-3.1.2.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 -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/xlsxwriter/xlsxwriter-3.1.3.ebuild b/dev-python/xlsxwriter/xlsxwriter-3.1.3.ebuild deleted file mode 100644 index ebaeb3e4f89f..000000000000 --- a/dev-python/xlsxwriter/xlsxwriter-3.1.3.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 -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/xlsxwriter/xlsxwriter-3.1.4.ebuild b/dev-python/xlsxwriter/xlsxwriter-3.1.4.ebuild deleted file mode 100644 index ebaeb3e4f89f..000000000000 --- a/dev-python/xlsxwriter/xlsxwriter-3.1.4.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 -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/xlsxwriter/xlsxwriter-3.1.5.ebuild b/dev-python/xlsxwriter/xlsxwriter-3.1.5.ebuild deleted file mode 100644 index ebaeb3e4f89f..000000000000 --- a/dev-python/xlsxwriter/xlsxwriter-3.1.5.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 -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/xlsxwriter/xlsxwriter-3.1.6.ebuild b/dev-python/xlsxwriter/xlsxwriter-3.1.6.ebuild deleted file mode 100644 index ebaeb3e4f89f..000000000000 --- a/dev-python/xlsxwriter/xlsxwriter-3.1.6.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 -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/zeroconf/Manifest b/dev-python/zeroconf/Manifest index 3811bff5055c..689874ea9139 100644 --- a/dev-python/zeroconf/Manifest +++ b/dev-python/zeroconf/Manifest @@ -6,4 +6,5 @@ DIST zeroconf-0.115.0.tar.gz 156238 BLAKE2B 5f32c06e247bff5bfbd0ea53588458e8da6e DIST zeroconf-0.115.1.tar.gz 156318 BLAKE2B 1322b3ccf7d4d749642bb813b1655aefb410c1e953b89edb6a07196031e8a8fb8cfc923fd5d4a7149b7b25e5a16612ec86c6f353caf326d6cc3cff9a6881f7a3 SHA512 786e0dc1e7a321e37e491220f7aa83c5678ef7396bcf844d4928433fa7a1f43d1c5bb4dca10372ea982de5fb7640f3f8bb4b304ad59f9c6b4017c594bc54af61 DIST zeroconf-0.115.2.tar.gz 156482 BLAKE2B 80a1c0af87ffaec73505f48f1b38b8f99b578d6573970529b4613fd46174f635d2ff24ae6b1631a2747bb4eb542ac7180cf7bb473aa69f91ce90e64b463ec43d SHA512 1a1fd7f5cf3356fa189f209dc9ea0f8319b0d101ec28ed0ae3304656ca488afab0258cf6bce6d13919554555ea1a51b59599dba5afccc315df15d4efbc8cdb13 DIST zeroconf-0.116.0.tar.gz 156565 BLAKE2B 2d261eb9602ea6db71e39cccd740b09366f86a37b9c3b9e4f61373fd525f2ceb7bf2235ee2adacbf7bea8293920ea94c8152e11786a1f483f3605908c988ebd4 SHA512 649b01f49fd0229739b0a3beb0c528f4a3c7841b77fdadcab5356f1e69f21ba2a89d4a948a97b8592b137f6a76be463768e83a399aa9850f08fee6bb01092320 +DIST zeroconf-0.118.0.tar.gz 156789 BLAKE2B a2491c33134b07486cf6350d4b25461edf78fb5ab181b36b8088f3ef63fe86d8324ea044985f9423886ceb15495d5d34bf79de488dafcdd87398875adee62fce SHA512 6f869443dbeea324b1b0f3b89a8183441b373459e871ffee9c35d3f4eda5489e164bc85f28e6e96c7dea976eeff591c25044a28cca56c967d857b1ac5f485e79 DIST zeroconf-0.91.1.tar.gz 150551 BLAKE2B 220e6b5684d503c7d1c594196ffa7ecc4f06975accad2ad64a6dd0a75881326110bbf897e74a2a176307fc392fc9fce903c77bbf9fc70fec84f193072bd7a016 SHA512 852946a2f823de1dc25dda5321ec23c67e3893fd8dcf55391e001afb01eb4c8143813aaa0950fddbea6634975eb0904a6e3b500cbe082e843da301c0cd704e9a diff --git a/dev-python/zeroconf/zeroconf-0.115.2.ebuild b/dev-python/zeroconf/zeroconf-0.115.2.ebuild index a1d57aedde0c..3a8bd58717d7 100644 --- a/dev-python/zeroconf/zeroconf-0.115.2.ebuild +++ b/dev-python/zeroconf/zeroconf-0.115.2.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux" RDEPEND=" >=dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}] diff --git a/dev-python/zeroconf/zeroconf-0.118.0.ebuild b/dev-python/zeroconf/zeroconf-0.118.0.ebuild new file mode 100644 index 000000000000..3df0828376ec --- /dev/null +++ b/dev-python/zeroconf/zeroconf-0.118.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_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= +} |
