diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-01-14 13:39:59 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-01-14 13:39:59 +0000 |
| commit | ce4695dae66d4acff2a31bbea98de78309cea105 (patch) | |
| tree | e0bab47a3d21adc5398314048cc8bc33731e95a8 /dev-python | |
| parent | ddcfe012c66f36eb3d38dd71960f02add0c66705 (diff) | |
| download | baldeagleos-repo-ce4695dae66d4acff2a31bbea98de78309cea105.tar.gz baldeagleos-repo-ce4695dae66d4acff2a31bbea98de78309cea105.tar.xz baldeagleos-repo-ce4695dae66d4acff2a31bbea98de78309cea105.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
36 files changed, 427 insertions, 321 deletions
diff --git a/dev-python/adblock/adblock-0.5.1.ebuild b/dev-python/adblock/adblock-0.5.1.ebuild index 8529f9078d27..a8cc099dfb2c 100644 --- a/dev-python/adblock/adblock-0.5.1.ebuild +++ b/dev-python/adblock/adblock-0.5.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2021 Gentoo Authors +# Copyright 2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -95,7 +95,7 @@ BDEPEND=" QA_FLAGS_IGNORED=".*/site-packages/${PN}/${PN}.abi3.so" src_compile() { - maturin build $(usev !debug --release) --no-sdist || die + maturin build $(usev !debug --release) --no-sdist --skip-auditwheel || die mv target/$(usex debug{,} release)/lib${PN}.so ${PN}/${PN}.abi3.so || die } diff --git a/dev-python/argon2-cffi/argon2-cffi-21.3.0-r1.ebuild b/dev-python/argon2-cffi/argon2-cffi-21.3.0-r1.ebuild index 9307cc8a80b0..fa1c1bbd5394 100644 --- a/dev-python/argon2-cffi/argon2-cffi-21.3.0-r1.ebuild +++ b/dev-python/argon2-cffi/argon2-cffi-21.3.0-r1.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 ~arm ~arm64 hppa ~ia64 ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" RDEPEND=">=dev-python/argon2-cffi-bindings-21.2.0[${PYTHON_USEDEP}]" BDEPEND=" diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 1fcac0dbdc3b..5073d6de48e9 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -8,4 +8,5 @@ DIST boto3-1.20.31.tar.gz 458553 BLAKE2B 396acd8bbc47f76a0ba65da4b83f141f2536903 DIST boto3-1.20.32.tar.gz 459036 BLAKE2B 21aaba2f5f5db65edc3570e44082cf394429407c0431bdfc19866e530b48358909ab730ecb5b871dcbb5f4c087af43f53474a7dca6ce9ca84e78ba480f5cc819 SHA512 a50f0724f4c6ab8b0fc0b329909ff35126bbdc9c73da5927dd1259565b2e43e87c718bbf8b2dd5433e75b4d35b8094d3fc122163febbbe66b6175ecfeb81fad9 DIST boto3-1.20.33.tar.gz 459654 BLAKE2B bf2090e6af9cad5f4e9e5178d30e109c63c403137f9656c22358bb672da7e0ca2e9f36585b5721f2a7bbb2d3d3027fb3942e055d3db78ede0b03f5b6a2e6ad78 SHA512 877c8e59686cd7ac940aa7fb1f2adc75a89e4ce5c74e7a999bebe80e80819c6f909ee8f9acca1c85a6a11f3b7a8ba39a41221ec54a8b99c412da9208a791f4b3 DIST boto3-1.20.34.tar.gz 460169 BLAKE2B d687bb3a90da0e8cd48e551dad68754edc97689350f43879c90e8c96470dc79d389b5332d06d079dd4d26f303d9260f1a83bfc2edfa2507e3a33020e4475e8f1 SHA512 ae13db5ed516a9166c14e72e078f45c911a9c16edc2e2d95dc296de09345fb311ecad92ec7615137b01edaae254d075b74e68c1c909a79b2eb1ac2416ab5bbad +DIST boto3-1.20.35.tar.gz 460636 BLAKE2B 4ec04ae5caac912beb4933727ef0f8f1266b9ab27788a98d7ae10fc8b19a79e3deeed0ce6c1156f12ad12062df24828909fff070813fae4efc705b5e7babc2b1 SHA512 59fcaf477d5d67d68dcc007d93391b71ad8d04d46fc3c098c3f0fb7c82806a1a37999bdb292a240862dbaf83a6c2890d947315d1d9a4faeae68fb9e896cae73b DIST boto3-1.20.5.tar.gz 439166 BLAKE2B c140e15e497e6cdf6b4b77bb99e0a0f5ac01d5b5793f8bfb210b52bbc09e39e6fe06a957951375e0795210dc1c3b2a0afd2f498bc88e449d9e6846f2b357f016 SHA512 2823466e4851684253d4ce42a8c34e5cbdad6d04c823040fe2cebdf0cffb14d5d3f40e28d57ebec14533fab04ba74f27c25f078ddb8791b8f52d0424e11b39fc diff --git a/dev-python/boto3/boto3-1.20.35.ebuild b/dev-python/boto3/boto3-1.20.35.ebuild new file mode 100644 index 000000000000..01dccd8375ab --- /dev/null +++ b/dev-python/boto3/boto3-1.20.35.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE="https://github.com/boto/boto3" +LICENSE="Apache-2.0" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/boto/boto3" + inherit git-r3 + BOTOCORE_PV=${PV} +else + SRC_URI="https://github.com/boto/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + + # botocore is x.(y+3).z + BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)" +fi + +RDEPEND=" + >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.3.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs/source \ + 'dev-python/guzzle_sphinx_theme' +distutils_enable_tests pytest + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + # do not rely on bundled deps in botocore (sic!) + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_python_prepare_all +} + +python_test() { + epytest tests/{functional,unit} +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 79410dc555bc..d08b742613c6 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -8,4 +8,5 @@ DIST botocore-1.23.31.tar.gz 8706949 BLAKE2B 2e31bc09173a93806fe045e5217defcf17b DIST botocore-1.23.32.tar.gz 8710235 BLAKE2B 278189ae1ee9887e62092344543b6431425640c90c243161cc34448f5b4ed9cce624042bd21d445150f09e695608361633554d535aaaf1850b5987111a43657d SHA512 f33c9818d3985a0334d5c2cf2f9ec9aa34834a73dfc73f8e9298e59432141f6792acecf0380cb8d607cdd12156f182ee130952390d8f0e808cca12659317b2e3 DIST botocore-1.23.33.tar.gz 8712535 BLAKE2B 97064bfe24db14e49ff37b515549a2294ed2fbba82f36cf4d5281db27add007c8524058cb208bcf168add9e739bb2d51e7980295938ac6ff6ff603ffd0cfccee SHA512 7373a9cac5efb12898ac1665b74a5eb3693d5e5defd55bc2972bc70cbfcdf69672a8cb4b8d0a6b2bfbc59e789fedea09014ac47ba9ef6af8cc038471330850f0 DIST botocore-1.23.34.tar.gz 8718420 BLAKE2B 67325949a37c3a3ff61e66279626c30b8f225d74137512d9a45414e1af11a18dd5fba5f0f4e64dd71c3d0bbbabf210d6e8a63901bc6deba8f16e3cfc163ebb81 SHA512 8afdf0a186f4850e8905ef1cd6660ab8ea58546cc119a47085976adc51195c0b9d524c077a3dcef6687cc5977988532932a424023dfea83eb7efd1e19b19eb95 +DIST botocore-1.23.35.tar.gz 8719275 BLAKE2B 2bda51eef1ac3d420952751d610722fbb57e004e8503e17dddd0a31e7ab360ba719c97f97d4b9e5aa6440965bafea9966b11d246e85fe753633c88141881cbfa SHA512 84a8692d840d9c8930ad8f80756f4d6ce6350e6a655966ff33ffd7f2bf5f5997989d6cc9067b52dd5631f49c35b5120eaa3d533274f322581281810ab47b988a DIST botocore-1.23.5.tar.gz 8374467 BLAKE2B 467092e7d8aa5ccb756132669049865445a47205913964c1c944b20caaf100b1efdd1bf3af9c5416ff079b487e6d4d08ffe6208e2b352d09655cc5be21c88739 SHA512 6afca19b724f9019f21e5993ce970d605b95d31c1a4e969ec1b4080510a5a120b3fa0cfd5ade973a9203bd6b7983a3dbca2f7a03108a9167392efd60d5e2fe9b diff --git a/dev-python/botocore/botocore-1.23.35.ebuild b/dev-python/botocore/botocore-1.23.35.ebuild new file mode 100644 index 000000000000..34dcbcdf2d0b --- /dev/null +++ b/dev-python/botocore/botocore-1.23.35.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE="https://github.com/boto/botocore" +LICENSE="Apache-2.0" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/boto/botocore" + inherit git-r3 +else + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +fi + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] + dev-python/jmespath[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${FILESDIR}/1.8.6-tests-pass-all-env-vars-to-cmd-runner.patch" +) + +distutils_enable_sphinx docs/source \ + 'dev-python/guzzle_sphinx_theme' +distutils_enable_tests pytest + +src_prepare() { + # unpin deps + sed -i -e "s:>=.*':':" setup.py || die + + # unbundle deps + rm -r botocore/vendored || die + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # rely on bundled six + tests/functional/test_six_imports.py::test_no_bare_six_imports + tests/functional/test_six_threading.py::test_six_thread_safety + ) + + distutils_install_for_testing --via-venv + epytest tests/{functional,unit} +} diff --git a/dev-python/django-timezone-field/Manifest b/dev-python/django-timezone-field/Manifest index 65f47f6c837a..9f4d4cd4679b 100644 --- a/dev-python/django-timezone-field/Manifest +++ b/dev-python/django-timezone-field/Manifest @@ -1 +1,2 @@ DIST django-timezone-field-4.2.1.gh.tar.gz 23457 BLAKE2B 72452a21e6e086363da2ef40389d12b79860f66706e54fb9050ffe48f7fa6ad2908c75d4c7e17a79df339eac76492599dd4533ddca69a5b8757b46a36ed4b0fc SHA512 4c2da420c3aaffa23d8cdb66dbbe4b2ea8638de5a45d9e381bf9af980e52eba77fc03a2b8fee8497662199cdc9436d56543c0f6316e74ae5da68187a305c34a2 +DIST django-timezone-field-4.2.3.gh.tar.gz 23605 BLAKE2B d183fb57254a6a1c86ca57558b88d5429d1d4d368c2cbf2f7a7f4d5414432fd80c5ae1df30793da185d5347afe8535dd821e7e605fb0693f26619b319894a6a3 SHA512 1a72ee557b5b527d2aeae9033c765272ebdd017d9e05708734e9bcdf6355e2747e1ce920a542dbead2d8fc6043024ece24adb3b27ccd6d0f2c8e5b3eb907e012 diff --git a/dev-python/django-timezone-field/django-timezone-field-4.2.3.ebuild b/dev-python/django-timezone-field/django-timezone-field-4.2.3.ebuild new file mode 100644 index 000000000000..41dc16fa6e57 --- /dev/null +++ b/dev-python/django-timezone-field/django-timezone-field-4.2.3.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="A Django app providing database and form fields for pytz timezone objects" +HOMEPAGE="https://github.com/mfogel/django-timezone-field" +SRC_URI=" + https://github.com/mfogel/django-timezone-field/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/django-2.2[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/djangorestframework[${PYTHON_USEDEP}] + dev-python/pytest-django[${PYTHON_USEDEP}] + dev-python/pytest-lazy-fixture[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x DB_ENGINE=sqlite + epytest +} diff --git a/dev-python/gmpy/Manifest b/dev-python/gmpy/Manifest index 19a0ff522567..dba6d2f97e73 100644 --- a/dev-python/gmpy/Manifest +++ b/dev-python/gmpy/Manifest @@ -1,3 +1,2 @@ -DIST gmpy2-2.1.0.tar.gz 258571 BLAKE2B 942786c9a2e1220ecad15e97c26cbea0b93c7719e5081f6defe7b71d43be0c4ce259355eb34fa013a0b90679022535a271f26425c615e65103d3a2705b27ec8e SHA512 0d62354a1446708548b8dfdc6d7f8000151eb5901251f87f935144f615fd586726617c7a2bd05b91dc3e2a0cfc8797cd81d60afb8c705da153b537345eaddb34 DIST gmpy2-2.1.1.tar.gz 258607 BLAKE2B 3c070d101066fb0ba5da61b8c1eacf6bbd334aed987161091f31bccc1e836430cb844e0fdcb5017718341761f54c0fc3290e37ace28a5c4fc07930a194e77256 SHA512 37a08b546476f1b49cdfdb04b3a6d4da266615f789eb03896d5e2dd326c91f0fb9523504414b0de30e7265840e2ef77362a5ff011906952100c8b1da4d88d709 DIST gmpy2-2.1.2.tar.gz 258445 BLAKE2B 5fd89478bb7c48c317a7af74fd872e5a9c1141f8f23c110aba7298d1a325caa13e24f1a2e601d6b3c6f6af30d60505f9161a03def16df59dddabe611fb600ef4 SHA512 abfeb0d8a155235e3aa797ca7b34ab6947f0714273e9d381167a9f6273bad34689e1985c139080b146e072b5bfbb4fa2b937566a14f4b94cc09ed21b3f2082b7 diff --git a/dev-python/gmpy/gmpy-2.1.0.ebuild b/dev-python/gmpy/gmpy-2.1.0.ebuild deleted file mode 100644 index 6545dfed6df4..000000000000 --- a/dev-python/gmpy/gmpy-2.1.0.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -inherit distutils-r1 - -MY_PN="${PN}2" -MY_P="${MY_PN}-${PV/_beta/b}" - -DESCRIPTION="Python bindings for GMP, MPC, MPFR and MPIR libraries" -HOMEPAGE="https://github.com/aleaxit/gmpy" -SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_P}.tar.gz" -S="${WORKDIR}"/${MY_P} - -LICENSE="LGPL-3+" -SLOT="2" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" - -RDEPEND=" - >=dev-libs/mpc-1.0.2:= - >=dev-libs/mpfr-3.1.2:= - dev-libs/gmp:0= -" -DEPEND="${RDEPEND}" - -PATCHES=( - # The tests program asks for input when running, disable that - "${FILESDIR}"/gmpy-2.1.0_beta5-test-input.patch -) - -distutils_enable_sphinx docs - -python_test() { - cd test || die - "${EPYTHON}" runtests.py || die "tests failed under ${EPYTHON}" -} diff --git a/dev-python/gmpy/gmpy-2.1.1.ebuild b/dev-python/gmpy/gmpy-2.1.1.ebuild index 29c2f035a9d1..6545dfed6df4 100644 --- a/dev-python/gmpy/gmpy-2.1.1.ebuild +++ b/dev-python/gmpy/gmpy-2.1.1.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}"/${MY_P} LICENSE="LGPL-3+" SLOT="2" -KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" RDEPEND=" >=dev-libs/mpc-1.0.2:= diff --git a/dev-python/google-api-python-client/Manifest b/dev-python/google-api-python-client/Manifest index 9de040ee5dfc..b7a968d1f3a4 100644 --- a/dev-python/google-api-python-client/Manifest +++ b/dev-python/google-api-python-client/Manifest @@ -1 +1,2 @@ DIST google-api-python-client-2.34.0.tar.gz 28469433 BLAKE2B aa2c8849b629fe489cf39cddd410a40a0af0bddfa5f370a4a41c1446aeadf69cd4592eeb1d76e6c63da9737906801aea9c8a4d706328b63a7bf5b34a43b83e00 SHA512 321dfdd3ba821beabc6c3a96575afd06c75a0c8e3db61b1ff5fa9db472e62de81b037c435a1051d6294c2a37e471bcaa068cd27ad7434a3416231d31931dd74e +DIST google-api-python-client-2.35.0.tar.gz 28553015 BLAKE2B 8ff92145f280e090b8f43c10e425dd4a8fe65b4cf565c5b5a0df2813cdb8ba1bcea50e37556efb9dd0b270a21fe11b7d6d1b445c8fdaa83326c7dc6230ee1fdb SHA512 4d0325b79250a26ae252568759e8345d31d692aa1d8f1d7aae623bb9a1a950efae654cd689d39f30450789c6d4fa9ca264111f8a9e798820cf6d0c3acba904f6 diff --git a/dev-python/google-api-python-client/google-api-python-client-2.35.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.35.0.ebuild new file mode 100644 index 000000000000..51ad31f5f251 --- /dev/null +++ b/dev-python/google-api-python-client/google-api-python-client-2.35.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="Google API Client for Python" +HOMEPAGE="https://github.com/googleapis/google-api-python-client" +SRC_URI="https://github.com/googleapis/google-api-python-client/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND=" + >=dev-python/httplib2-0.15[${PYTHON_USEDEP}] + <dev-python/httplib2-1[${PYTHON_USEDEP}] + dev-python/google-api-core[${PYTHON_USEDEP}] + >=dev-python/google-auth-1.35.0[${PYTHON_USEDEP}] + >=dev-python/google-auth-httplib2-0.1.0[${PYTHON_USEDEP}] + >=dev-python/uritemplate-3.0.0[${PYTHON_USEDEP}] + <dev-python/uritemplate-5[${PYTHON_USEDEP}] + " +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/oauth2client[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/parameterized[${PYTHON_USEDEP}] + )" + +distutils_enable_tests --install pytest + +python_test() { + local EPYTEST_DESELECT=( + # require Internet access (and credentials) + tests/test_discovery.py::DiscoveryErrors::test_credentials_and_credentials_file_mutually_exclusive + tests/test_discovery.py::DiscoveryFromDocument::test_api_endpoint_override_from_client_options_mapping_object + ) + + distutils_install_for_testing + epytest tests +} diff --git a/dev-python/identify/Manifest b/dev-python/identify/Manifest index fda3cbd3382f..d0eea7315e1e 100644 --- a/dev-python/identify/Manifest +++ b/dev-python/identify/Manifest @@ -2,3 +2,4 @@ DIST identify-2.4.0.tar.gz 101312 BLAKE2B 1ba4fcf235518427fba8a59eb30ceb0c20ed23 DIST identify-2.4.1.tar.gz 101282 BLAKE2B e7c04480159062ec25063d956dda6d904031bbcc30fdab6011ad24a8c3816490d0dfe08cec19fdfe660509a246da820ccfe41d4dcd909daa9c59b622bf506148 SHA512 69253bd364ed96ae64d83ee25da0d9aae97731e602f193008471dd99f47db2b87aa33dda1f87fb9edf939992e0452ca45f07f1d7d5e628352b50d4c2e68b7d0e DIST identify-2.4.2.tar.gz 101279 BLAKE2B f70bc1d493fb1fd94f95ea7cedfba6c522fb79ad9d94e1bc3c8937ff728e82fd450ea7b64f5769811dea4788eeac0e0b5fcbddd0c817443bf6005d59de1d9b83 SHA512 73b139effb62ec047aa3285a5e0e9b196b459e9e8efd5dfb82090dbdd8f020055680fbc381778a1c7a298e72ed6c1778fc74213812b2f30abe9b18b401e053e3 DIST identify-2.4.3.tar.gz 101282 BLAKE2B 5ae76ac22ca462ae3dc7d71ed8d07344729ee54692cce52e1269057451733fab9c02647a51deed98cfa569b7758f37b4cc07353eb418314901b1eed2333eabdc SHA512 2c82cc90d98a149dc211680c96d8c3bfcdbf955fd61eb207ae4a62d9bdb8f159707a7578838582bd16f45c300d9a8e7c5e7009a9daecb6b334b27fd160cc0d40 +DIST identify-2.4.4.tar.gz 101270 BLAKE2B d5e31a8b74a724cfd0c169def52b434bd2b722aa7dfb9d92636a8eb28b1b1a7ccd9c9544d97d5fd359fb995b44b6d8a6428f484ee033f70292717053b1f5825f SHA512 34a93640ca96483599e0cfdb1d69f37f8f4cb659b68ee84824079ee177e93aeb259ebc654f5fb39d5a0b68d267ba3c963870c9c55b6676e12c21b7f7573438a4 diff --git a/dev-python/identify/identify-2.4.4.ebuild b/dev-python/identify/identify-2.4.4.ebuild new file mode 100644 index 000000000000..f60c02ef4b56 --- /dev/null +++ b/dev-python/identify/identify-2.4.4.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="File identification library for Python" +HOMEPAGE="https://github.com/pre-commit/identify" +SRC_URI="https://github.com/pre-commit/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~riscv ~x86" + +RDEPEND="dev-python/ukkonen[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest diff --git a/dev-python/installer/installer-0.4.0.ebuild b/dev-python/installer/installer-0.4.0.ebuild index 6f2f54760738..84984ca75629 100644 --- a/dev-python/installer/installer-0.4.0.ebuild +++ b/dev-python/installer/installer-0.4.0.ebuild @@ -24,8 +24,12 @@ LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" +# NB: newer git doesn't use mock anymore BDEPEND=" app-arch/unzip + test? ( + dev-python/mock[${PYTHON_USEDEP}] + ) " distutils_enable_tests pytest diff --git a/dev-python/ipython/ipython-8.0.0.ebuild b/dev-python/ipython/ipython-8.0.0-r1.ebuild index 8723886dcbc8..d982f054dd09 100644 --- a/dev-python/ipython/ipython-8.0.0.ebuild +++ b/dev-python/ipython/ipython-8.0.0-r1.ebuild @@ -21,17 +21,19 @@ RESTRICT="!test? ( test )" RDEPEND=" dev-python/backcall[${PYTHON_USEDEP}] + dev-python/black[${PYTHON_USEDEP}] dev-python/decorator[${PYTHON_USEDEP}] >=dev-python/jedi-0.16[${PYTHON_USEDEP}] + dev-python/matplotlib-inline[${PYTHON_USEDEP}] >=dev-python/pexpect-4.3[${PYTHON_USEDEP}] dev-python/pickleshare[${PYTHON_USEDEP}] >=dev-python/prompt_toolkit-2[${PYTHON_USEDEP}] <dev-python/prompt_toolkit-3.1[${PYTHON_USEDEP}] dev-python/pygments[${PYTHON_USEDEP}] + dev-python/stack_data[${PYTHON_USEDEP}] >=dev-python/traitlets-5.0[${PYTHON_USEDEP}] matplotlib? ( dev-python/matplotlib[${PYTHON_USEDEP}] - dev-python/matplotlib-inline[${PYTHON_USEDEP}] ) " @@ -39,12 +41,10 @@ BDEPEND=" test? ( app-text/dvipng[truetype] >=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}] - dev-python/matplotlib[${PYTHON_USEDEP}] dev-python/matplotlib-inline[${PYTHON_USEDEP}] dev-python/nbformat[${PYTHON_USEDEP}] >=dev-python/numpy-1.19[${PYTHON_USEDEP}] dev-python/requests[${PYTHON_USEDEP}] - dev-python/stack_data[${PYTHON_USEDEP}] dev-python/testpath[${PYTHON_USEDEP}] ) doc? ( @@ -102,16 +102,17 @@ python_compile_all() { python_test() { local -x IPYTHON_TESTING_TIMEOUT_SCALE=20 - local EPYTEST_DESELECT=() + local EPYTEST_DESELECT=( + # Internet + IPython/core/display.py::IPython.core.display.Image.__init__ + # TODO + IPython/core/tests/test_oinspect.py::test_class_signature + IPython/core/tests/test_oinspect.py::test_render_signature_long + ) [[ ${EPYTHON} == python3.10 ]] && EPYTEST_DESELECT+=( # TODO IPython/core/tests/test_completer.py::TestCompleter::test_all_completions_dups IPython/core/tests/test_completer.py::TestCompleter::test_deduplicate_completions - IPython/core/tests/test_oinspect.py::test_pinfo_docstring_if_detail_and_no_source - # fails due to changed argparse output - IPython/core/tests/test_magic_arguments.py::test_magic_arguments - # py3.10 API incompat, doesn't look important - IPython/lib/tests/test_pretty.py::test_pprint_heap_allocated_type ) virtx epytest } diff --git a/dev-python/isodate/Manifest b/dev-python/isodate/Manifest index 2b123252cee2..b8cafbfbdce8 100644 --- a/dev-python/isodate/Manifest +++ b/dev-python/isodate/Manifest @@ -1,2 +1 @@ -DIST isodate-0.6.0.tar.gz 28480 BLAKE2B a7499c736b67193ac73026df7a7c9d9bd5b743a5d556fe5e8ba0a62e8a5238d64afb88547a27e4bcbe706483e3e1e97eecd437e4e1c730c20652cff5926502fc SHA512 e977748e13ee2c94ab47bfc47113d152280e9acff6f70e773de73717392148dd2c111a7db2d9fa3679d37936c6ed9a23dc526cb00bd601df45459b6a244f9f7d DIST isodate-0.6.1.tar.gz 28443 BLAKE2B 2b451e4dd9a9979feb930090cf045b21c984e962222edc59eff6f08a448258833ac5c368701ed2a703d48c1238122cbe7f628d136124920730bbd96fa04519dc SHA512 437e420ec7ee68dedded825f30d3289eeb0da526208443e5a8e50fe70f12309515e1285b21132d26e6d4c1683f90dfa1d401582042b5e4381fe7ab0e34af26b6 diff --git a/dev-python/isodate/files/isodate-0.6.0-py310.patch b/dev-python/isodate/files/isodate-0.6.0-py310.patch deleted file mode 100644 index 81b38b48a2a9..000000000000 --- a/dev-python/isodate/files/isodate-0.6.0-py310.patch +++ /dev/null @@ -1,95 +0,0 @@ -From 40358ac82b948ea8377d5ca32b576def31b39a84 Mon Sep 17 00:00:00 2001 -From: Jose Eduardo <jose.eduardo.gd@gmail.com> -Date: Fri, 19 Jul 2019 16:21:56 +0100 -Subject: [PATCH 1/8] Avoid unclosed file warning - ---- - setup.py | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/setup.py b/setup.py -index e39446f..9634625 100644 ---- a/setup.py -+++ b/setup.py -@@ -30,7 +30,8 @@ - - - def read(*rnames): -- return open(os.path.join(os.path.dirname(__file__), *rnames)).read() -+ with open(os.path.join(os.path.dirname(__file__), *rnames)) as read_file: -+ return read_file.read() - - - setup(name='isodate', - -From 91bf24dd1610d5f6ac5d4867457f0703046017d2 Mon Sep 17 00:00:00 2001 -From: Jose Eduardo <jose.eduardo.gd@gmail.com> -Date: Fri, 19 Jul 2019 16:22:22 +0100 -Subject: [PATCH 2/8] Raise warnings produced by isodate as errors during tests - ---- - src/isodate/tests/__init__.py | 3 +++ - tox.ini | 2 ++ - 2 files changed, 5 insertions(+) - -diff --git a/src/isodate/tests/__init__.py b/src/isodate/tests/__init__.py -index b1d46bd..7208cbd 100644 ---- a/src/isodate/tests/__init__.py -+++ b/src/isodate/tests/__init__.py -@@ -29,6 +29,7 @@ - ''' - - import unittest -+import warnings - from isodate.tests import (test_date, test_time, test_datetime, test_duration, - test_strf, test_pickle) - -@@ -37,6 +38,8 @@ def test_suite(): - ''' - Return a new TestSuite instance consisting of all available TestSuites. - ''' -+ warnings.filterwarnings("error", module=r"isodate(\..)*") -+ - return unittest.TestSuite([ - test_date.test_suite(), - test_time.test_suite(), - -From fc0fb3278da5f463ca5b2f0a3acafbbf2869bd7a Mon Sep 17 00:00:00 2001 -From: Jose Eduardo <jose.eduardo.gd@gmail.com> -Date: Fri, 19 Jul 2019 16:29:43 +0100 -Subject: [PATCH 4/8] Fix Python 3.8 DeprecationWarning - -Ref: https://docs.python.org/3.8/whatsnew/3.8.html - -> Many builtin and extension functions that take integer arguments will -> now emit a deprecation warning for Decimals, Fractions and any other -> objects that can be converted to integers only with a loss (e.g. that -> have the `__int__()` method but do not have the `__index__()` method). -> In future version they will be errors. (Contributed by Serhiy -> Storchaka in bpo-36048.) ---- - src/isodate/duration.py | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/src/isodate/duration.py b/src/isodate/duration.py -index 6d1848c..d923cee 100644 ---- a/src/isodate/duration.py -+++ b/src/isodate/duration.py -@@ -180,7 +180,7 @@ def __add__(self, other): - newday = maxdays - else: - newday = other.day -- newdt = other.replace(year=newyear, month=newmonth, day=newday) -+ newdt = other.replace(year=int(newyear), month=int(newmonth), day=newday) - # does a timedelta + date/datetime - return self.tdelta + newdt - except AttributeError: -@@ -264,7 +264,7 @@ def __rsub__(self, other): - newday = maxdays - else: - newday = other.day -- newdt = other.replace(year=newyear, month=newmonth, day=newday) -+ newdt = other.replace(year=int(newyear), month=int(newmonth), day=newday) - return newdt - self.tdelta - except AttributeError: - # other probably was not compatible with data/datetime diff --git a/dev-python/isodate/isodate-0.6.0-r2.ebuild b/dev-python/isodate/isodate-0.6.0-r2.ebuild deleted file mode 100644 index 551d1095fc7d..000000000000 --- a/dev-python/isodate/isodate-0.6.0-r2.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) -inherit distutils-r1 - -DESCRIPTION="ISO 8601 date/time/duration parser and formatter" -HOMEPAGE="https://pypi.org/project/isodate/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" - -RDEPEND="dev-python/six[${PYTHON_USEDEP}]" - -distutils_enable_tests unittest - -PATCHES=( - "${FILESDIR}"/${P}-py310.patch -) - -python_test() { - eunittest -s "${BUILD_DIR}/lib" -} diff --git a/dev-python/jsonpickle/Manifest b/dev-python/jsonpickle/Manifest index e3699d6f0989..a1400e3612e5 100644 --- a/dev-python/jsonpickle/Manifest +++ b/dev-python/jsonpickle/Manifest @@ -1 +1,2 @@ DIST jsonpickle-2.0.0.tar.gz 110336 BLAKE2B 574dab58418c5225a9364836d04eaabf3384e9dab404d191846a4bb41e9c8bbb51243a6a231ec8baf05ff9be337e12b5c96c46b74a327e9f05653ca81bf6ccf2 SHA512 acba11e5dfce116b27edfe0fdccdd74755e299aa43f873dd1ce547d947b58f14c1059c21d04007b5be0857f7ce69fe5355fb2edc47a99cc2217fe00297ca78d3 +DIST jsonpickle-2.1.0.tar.gz 186799 BLAKE2B a9e82a046fc77e1a4d5e7b1f13fc34f07e0e42e34922258bb0bd5aa4557bfec2b5fc06e450a0391522ae27380306111001204eb4f5429c2ad1f908fc4dec40a0 SHA512 46e8bcc2e24616da43b87bf8371ec9b39de1e8e33380684c05b7d7c6695f17bcc21150848c3306d235f89c5d74c69b6fda79e93fc823665d72cc88d9d89d8484 diff --git a/dev-python/jsonpickle/jsonpickle-2.1.0.ebuild b/dev-python/jsonpickle/jsonpickle-2.1.0.ebuild new file mode 100644 index 000000000000..62fc4fb3b79f --- /dev/null +++ b/dev-python/jsonpickle/jsonpickle-2.1.0.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 optfeature + +DESCRIPTION="Python library for serializing any arbitrary object graph into JSON" +HOMEPAGE="https://github.com/jsonpickle/jsonpickle/ https://pypi.org/project/jsonpickle/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux" + +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/simplejson[${PYTHON_USEDEP}] + dev-python/sqlalchemy[${PYTHON_USEDEP}] + dev-python/ujson[${PYTHON_USEDEP}] + dev-python/feedparser[${PYTHON_USEDEP}] + )" + +distutils_enable_sphinx docs \ + dev-python/jaraco-packaging \ + dev-python/rst-linker +distutils_enable_tests pytest + +python_prepare_all() { + sed -i -e 's:--flake8 --black --cov::' pytest.ini || die + distutils-r1_python_prepare_all +} + +python_test() { + local EPYTEST_IGNORE=( + # unpackaged bson dependency + tests/bson_test.py + # broken when gmpy is installed + # https://github.com/jsonpickle/jsonpickle/issues/328 + # https://github.com/jsonpickle/jsonpickle/issues/316 + tests/ecdsa_test.py + ) + epytest +} + +pkg_postinst() { + # Unpackaged optional backends: yajl, demjson + optfeature "encoding numpy-based data" dev-python/numpy + optfeature "encoding pandas objects" dev-python/pandas + optfeature "fast JSON backend" dev-python/simplejson +} diff --git a/dev-python/lxml/lxml-4.7.1.ebuild b/dev-python/lxml/lxml-4.7.1.ebuild index df381375c62f..edd8e3be0a12 100644 --- a/dev-python/lxml/lxml-4.7.1.ebuild +++ b/dev-python/lxml/lxml-4.7.1.ebuild @@ -14,7 +14,7 @@ S=${WORKDIR}/lxml-${P} LICENSE="BSD ElementTree GPL-2 PSF-2" SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="doc examples +threads test" RESTRICT="!test? ( test )" diff --git a/dev-python/mistune/Manifest b/dev-python/mistune/Manifest index 97fd3b90ac39..d58d530a65f1 100644 --- a/dev-python/mistune/Manifest +++ b/dev-python/mistune/Manifest @@ -1,2 +1,3 @@ DIST mistune-0.8.4.tar.gz 58322 BLAKE2B e65d45c5c95706a49a7fd407afe5f10e82a475766ca272ec3bebba8c89e670fe6efced7b09537efb69d3fd36e75091e370170a15ad7488b5cbe9186e2ccaf4db SHA512 36c3ef5d5537f5cceaa43e4da20a84b27c378cb744a93f0380024faefde490bcb42c453f79002ca049083fc437278f4afb3e10de5462f9eeb9077ca2a2fcaea7 DIST mistune-2.0.1.tar.gz 75657 BLAKE2B 399ad8902aeb88e8e3645f5200bbfea5011157d3251af33188d2a0298c46dfb5f8e70cd951b216762942a84d29df1bc12e0750bc928f2e0c8e96034246438f53 SHA512 f6a0e08fecfeaad7d4eb0cae155bdd5ab67c66ae15a3a067c9f6cbf47a229cb9b540d49ecdb5c2fa98c8344863e1249ef86f84bc4d966fe473ade18a266c1ec6 +DIST mistune-2.0.2.tar.gz 75778 BLAKE2B 6ed690a70c54a0a06f154d42151d7d857f0e70cfe32529d7176726bd1e2f7a4fb9bf66be476af139c338c9f8b0d0de6541727e18718f6537d3a07771f34441f8 SHA512 8250243bf6cd2496ca1309e1fb062507f37c197817a4c5ec1a8e3c5865b6cc58866b88158b3a2e2967ad53b1f1a668a2e4282c30179ce126242c528000215992 diff --git a/dev-python/mistune/mistune-2.0.2.ebuild b/dev-python/mistune/mistune-2.0.2.ebuild new file mode 100644 index 000000000000..61dff8683bb6 --- /dev/null +++ b/dev-python/mistune/mistune-2.0.2.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_SETUPTOOLS=pyproject.toml +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) +inherit distutils-r1 + +DESCRIPTION="The fastest markdown parser in pure Python" +HOMEPAGE="https://pypi.org/project/mistune/ https://github.com/lepture/mistune" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +SLOT="0" +LICENSE="BSD" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" + +distutils_enable_tests pytest diff --git a/dev-python/moto/moto-2.2.18.ebuild b/dev-python/moto/moto-2.2.18.ebuild index 4d826b63d833..92b60c6b79b0 100644 --- a/dev-python/moto/moto-2.2.18.ebuild +++ b/dev-python/moto/moto-2.2.18.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~riscv ~x86" RDEPEND=" >=dev-python/aws-xray-sdk-python-0.93[${PYTHON_USEDEP}] diff --git a/dev-python/py-amqp/Manifest b/dev-python/py-amqp/Manifest index deefc6e7d329..1bd5b096bd8f 100644 --- a/dev-python/py-amqp/Manifest +++ b/dev-python/py-amqp/Manifest @@ -1,4 +1 @@ -DIST amqp-5.0.6.tar.gz 126856 BLAKE2B 3eae4d0f97477dc7b72eba65ee95ab74afa051bf2d745f86944c4236b4a90ff6c2a38f18a5bdc8441215f4607ed4e8eb867144695619eb08e0f1065e7a624415 SHA512 bf15fad413bedb2f57dfaa03986f4abfc8fb169d5e324d5741b94a1e3776f2590e7686774c69dfdda848b484dbc1e6d0fa78a4a3125cf08ab20eaf7192885252 -DIST amqp-5.0.7.tar.gz 127139 BLAKE2B 51fe6448b61c0899ef49c212ddea5eea108812ad744ffe8ab7ba2392177ef1b6cd6481c424530fb9111899c425081ad96988d36e872c6d32ee72c44a28de51e0 SHA512 3c0d051ad677fa410e4301ab86478583affc1e42651ce5c9b34a07a179aa4fb15811a81884facbdc393b0646a23cab20ee7943b276b8ef770e9707b9bd23d06a -DIST amqp-5.0.8.tar.gz 127472 BLAKE2B f158b19c3844302151f6683758a78ec28150eb5204ddcde344f2313b2ac76d1b683aa25f2a7088e4b91d0a83928b343490677f9d7f2a327f8384520e52ac1dc0 SHA512 c71fc506cd0f3269956cb3e10ca8a27bc9eae30a0e1f5b1bbbfff3c3d2fff1fd206554c027ae0cf22eda5f43b64c12df8c0b2b31df21b8e4962a8620ce5edc39 DIST amqp-5.0.9.tar.gz 127478 BLAKE2B f4e23c43ad66cf88e076e9542d8825daac9ad3cf93ca954fe0f1baf3648bfc00afa0002b86d73a95936fad7c859b0a75ee2996cc0d19c6bfcd3ec556e0c1eab3 SHA512 b94bf176e816b1dad4bbc2891a5324f7eb8e27fd475c34a01e6f39d27caf66447cfceab6a3cb3538fd1b610a250eed1423682deef4a174fdd201e0b3a7368bc9 diff --git a/dev-python/py-amqp/py-amqp-5.0.6.ebuild b/dev-python/py-amqp/py-amqp-5.0.6.ebuild deleted file mode 100644 index a53fbbccbee0..000000000000 --- a/dev-python/py-amqp/py-amqp-5.0.6.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -inherit distutils-r1 - -MY_P="amqp-${PV}" - -DESCRIPTION="Low-level AMQP client for Python (fork of amqplib)" -HOMEPAGE="https://github.com/celery/py-amqp https://pypi.org/project/amqp/" -SRC_URI="mirror://pypi/${MY_P:0:1}/amqp/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm64 x86" -IUSE="extras" - -BDEPEND=" - >=dev-python/vine-5.0.0[${PYTHON_USEDEP}] - test? ( - >=dev-python/case-1.3.1[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - >=dev-python/pytest-rerunfailures-6.0[${PYTHON_USEDEP}] - ) -" - -distutils_enable_sphinx docs dev-python/sphinx_celery -distutils_enable_tests pytest - -EPYTEST_IGNORE=( - # rmq tests require a rabbitmq instance - t/integration/test_rmq.py -) - -python_install_all() { - if use extras; then - insinto /usr/share/${PF}/extras - doins -r extra - fi - distutils-r1_python_install_all -} diff --git a/dev-python/py-amqp/py-amqp-5.0.7.ebuild b/dev-python/py-amqp/py-amqp-5.0.7.ebuild deleted file mode 100644 index 1aa33d19dafd..000000000000 --- a/dev-python/py-amqp/py-amqp-5.0.7.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -inherit distutils-r1 - -MY_P="amqp-${PV}" -DESCRIPTION="Low-level AMQP client for Python (fork of amqplib)" -HOMEPAGE="https://github.com/celery/py-amqp https://pypi.org/project/amqp/" -SRC_URI="mirror://pypi/${MY_P:0:1}/amqp/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" -IUSE="extras" - -BDEPEND=" - >=dev-python/vine-5.0.0[${PYTHON_USEDEP}] - test? ( - >=dev-python/case-1.3.1[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - >=dev-python/pytest-rerunfailures-6.0[${PYTHON_USEDEP}] - ) -" - -distutils_enable_sphinx docs dev-python/sphinx_celery -distutils_enable_tests pytest - -EPYTEST_IGNORE=( - # rmq tests require a rabbitmq instance - t/integration/test_rmq.py -) - -EPYTEST_DESELECT=( - # fails when gssapi is installed (how does that test make sense?!) - t/unit/test_sasl.py::test_SASL::test_gssapi_missing -) - -python_install_all() { - if use extras; then - insinto /usr/share/${PF}/extras - doins -r extra - fi - distutils-r1_python_install_all -} diff --git a/dev-python/py-amqp/py-amqp-5.0.8.ebuild b/dev-python/py-amqp/py-amqp-5.0.8.ebuild deleted file mode 100644 index 1aa33d19dafd..000000000000 --- a/dev-python/py-amqp/py-amqp-5.0.8.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -inherit distutils-r1 - -MY_P="amqp-${PV}" -DESCRIPTION="Low-level AMQP client for Python (fork of amqplib)" -HOMEPAGE="https://github.com/celery/py-amqp https://pypi.org/project/amqp/" -SRC_URI="mirror://pypi/${MY_P:0:1}/amqp/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" -IUSE="extras" - -BDEPEND=" - >=dev-python/vine-5.0.0[${PYTHON_USEDEP}] - test? ( - >=dev-python/case-1.3.1[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - >=dev-python/pytest-rerunfailures-6.0[${PYTHON_USEDEP}] - ) -" - -distutils_enable_sphinx docs dev-python/sphinx_celery -distutils_enable_tests pytest - -EPYTEST_IGNORE=( - # rmq tests require a rabbitmq instance - t/integration/test_rmq.py -) - -EPYTEST_DESELECT=( - # fails when gssapi is installed (how does that test make sense?!) - t/unit/test_sasl.py::test_SASL::test_gssapi_missing -) - -python_install_all() { - if use extras; then - insinto /usr/share/${PF}/extras - doins -r extra - fi - distutils-r1_python_install_all -} diff --git a/dev-python/pytest-asyncio/Manifest b/dev-python/pytest-asyncio/Manifest index 66bea71a5cb0..5b7c50d0ddc2 100644 --- a/dev-python/pytest-asyncio/Manifest +++ b/dev-python/pytest-asyncio/Manifest @@ -1 +1,2 @@ DIST pytest-asyncio-0.16.0.tar.gz 15819 BLAKE2B c999b8680a45704bcb6f4690a910aa3d2edd9965e53cf4eb59dc8119696add4553d6b3e1b010c3cac52c8fd8563be8c86afe0616132a274e73df673630b032a7 SHA512 f0059a6d05bf0c4e208f0058e30d5baf8284e630b8b91fa217f52eec18abe6b057dabfdadce2c5282e02bd4ea4cdb27f9ef62c4c308375cce1795d75a036db22 +DIST pytest-asyncio-0.17.0.tar.gz 22275 BLAKE2B 0151b7e264b2c2435735bdc184020b6997d20b0ed82224b0b528ec366ab7554a0282619c5268d92f2544d700bed2dbaf85adaaf1752e333c417cc044bffb6aac SHA512 cfff79cf0632153819c511d3751777858e87081b074bfb49f3fe49417d1be647b4d07a4b64149acec36b4e6b1872ac03f1055703c70cccce18648482c9b727db diff --git a/dev-python/pytest-asyncio/pytest-asyncio-0.17.0.ebuild b/dev-python/pytest-asyncio/pytest-asyncio-0.17.0.ebuild new file mode 100644 index 000000000000..dec5b127b3cd --- /dev/null +++ b/dev-python/pytest-asyncio/pytest-asyncio-0.17.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 2019-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Library for testing asyncio code with pytest" +HOMEPAGE="https://github.com/pytest-dev/pytest-asyncio + https://pypi.org/project/pytest-asyncio/" +SRC_URI="https://github.com/pytest-dev/pytest-asyncio/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +RDEPEND=" + >=dev-python/pytest-5.4.0[${PYTHON_USEDEP}]" +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + dev-python/flaky[${PYTHON_USEDEP}] + >=dev-python/hypothesis-3.64[${PYTHON_USEDEP}] + )" + +distutils_enable_tests --install pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +EPYTEST_DESELECT=( + # rely on precise warning counts + tests/modes/test_legacy_mode.py +) diff --git a/dev-python/python-socks/Manifest b/dev-python/python-socks/Manifest index 4c8c4f127e9a..3f446c05a092 100644 --- a/dev-python/python-socks/Manifest +++ b/dev-python/python-socks/Manifest @@ -1,3 +1,4 @@ DIST python-socks-1.2.4.gh.tar.gz 32192 BLAKE2B fa06f9158348292bef874c81623c11a54556db9c36cd7428d7a835428d152f3a4925d59e14d87518dfaae9e6937324e35db99bb5e1000f29fe9caf11fa2f8318 SHA512 6e70d8d98b2901e97250d30b350002944d979356bb6cd7dd4022af420e166076259a7b1aa4845d771243b18ab3f06ee955f07482c527835bb0135f0622d804be DIST python-socks-2.0.0.gh.tar.gz 38176 BLAKE2B 84711bd6747dd9ef8d7f47d90e7e1beeb99db7c51a370c01a272789e7d5356cdf3d0e3b1e822e1beb88a29ebbe23acac8f68206cf7a3f8b924f79d3783426f93 SHA512 088a606ca6e13de79cfa8b180d76e91cca129b3e1ffad2243e5924dc10530340924ea815eb9af0e53b5369daa9cf3e66b2f623da6913ed32916b91d24a47c1e4 DIST python-socks-2.0.1.gh.tar.gz 40710 BLAKE2B 185131be6e2ef85e3d1cb41ff03e57c1d3e8921c04d11df4d3e1d3c7ed6f3cd10459730d0cc5ad63981dcfe0f8cd987f0f287a70f6727727550d63c0ff6040bc SHA512 08afe55b9a5e8d1c0aa5150511e7d3918fd8c6da10bb80037baa4f3c8004fa9e50b30ce7bda26e73f77208b64cb85544029ffd2edf197f6a23614b3c7f56114b +DIST python-socks-2.0.2.gh.tar.gz 40722 BLAKE2B cfcb3bf26ad9b306ea74ede172d4c8e7cf5412c1e212fb2b806e61bd5fa085c53c47a5846105bc84e9a197198f00d85689dee55c97c691cd1b8b48bad56cc449 SHA512 fac699e2d5898553cfb0045990e5f56c16f910a5434a2e5f9c549872761835170ad7e505833f1cbc4b31cba864c1c0dddc95a530c5b0a7c2002afe0766dd6029 diff --git a/dev-python/python-socks/python-socks-2.0.2.ebuild b/dev-python/python-socks/python-socks-2.0.2.ebuild new file mode 100644 index 000000000000..fded1d2e006b --- /dev/null +++ b/dev-python/python-socks/python-socks-2.0.2.ebuild @@ -0,0 +1,37 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) +inherit distutils-r1 + +DESCRIPTION="SOCKS4, SOCKS5, HTTP tunneling functionality for Python" +HOMEPAGE=" + https://pypi.org/project/python-socks/ + https://github.com/romis2012/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 ~ppc64 ~riscv ~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? ( + $(python_gen_cond_dep ' + >=dev-python/anyio-3.4.0[${PYTHON_USEDEP}] + dev-python/trio[${PYTHON_USEDEP}] + ' 'python*') + dev-python/async_timeout[${PYTHON_USEDEP}] + dev-python/flask[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/yarl[${PYTHON_USEDEP}] + )" + +distutils_enable_tests pytest diff --git a/dev-python/quantities/Manifest b/dev-python/quantities/Manifest index 3516beb4dda5..e4e1eb9c9b3c 100644 --- a/dev-python/quantities/Manifest +++ b/dev-python/quantities/Manifest @@ -1 +1,2 @@ DIST python-quantities-0.12.5.tar.gz 105130 BLAKE2B db1cf09fa2efc249bc722abe34ed71d0f59d85595f70baf44203785c32179a3598be8aac225adadfd7d5f09c44ec077dcef310ee2fe7ce4d49a1533b04cb9de6 SHA512 db81e45d464e65d6b144d05e1b990fccc5c17ab7fdd47c7bb0c0094ebcacd6af52a3692492561af3a694741810ddac03e4c887d7c6effed833f196493da5f156 +DIST python-quantities-0.13.0.tar.gz 107187 BLAKE2B ead5c223892f65c68ced2265356f8c1e5374f80a1507ec561370e56e28e8965217a7b99f5c46cb83a5f6a1b1f12eb9f501844650488871d48794f13a4383df38 SHA512 ec0a61d8df8e48e7ee08cab5c899a8c8ad96b964ee0132ab130f272f062436d91e6370aac9d85453eeb3d95e17e79e8dfb80412397eada1f0a4310c0494fa217 diff --git a/dev-python/quantities/quantities-0.13.0.ebuild b/dev-python/quantities/quantities-0.13.0.ebuild new file mode 100644 index 000000000000..1183f8b354f1 --- /dev/null +++ b/dev-python/quantities/quantities-0.13.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +DISTUTILS_USE_SETUPTOOLS=no + +inherit distutils-r1 + +MY_P="python-quantities-${PV}" +DESCRIPTION="Support for physical quantities with units, based on numpy" +HOMEPAGE="https://github.com/python-quantities/python-quantities" +SRC_URI=" + https://github.com/python-quantities/python-quantities/archive/v${PV}.tar.gz + -> ${MY_P}.tar.gz" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/numpy-1.16[$PYTHON_USEDEP] +" + +distutils_enable_tests pytest |
