diff options
Diffstat (limited to 'dev-python')
41 files changed, 597 insertions, 154 deletions
diff --git a/dev-python/PyQt6/PyQt6-6.4.0.ebuild b/dev-python/PyQt6/PyQt6-6.4.0.ebuild index f8e420661cb1..e2fb95ad4119 100644 --- a/dev-python/PyQt6/PyQt6-6.4.0.ebuild +++ b/dev-python/PyQt6/PyQt6-6.4.0.ebuild @@ -16,12 +16,11 @@ SRC_URI="mirror://pypi/${P::1}/${PN}/${P}.tar.gz" LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64" -# currently keeping defaults in sync with qtbase (no extra deps), but trying -# to stay minimal'ish given each builds relatively slowly (subject to change, -# perhaps more or less depending on consumers and if qtbase is ever split) +# defaults match what is provided with qtbase by default (except testlib), +# reduces the need to set flags but does increase build time a fair amount IUSE=" +dbus debug qml designer examples gles2-only +gui help multimedia - +network opengl positioning printsupport quick quick3d serialport + +network opengl positioning +printsupport quick quick3d serialport +sql +ssl svg testlib webchannel websockets +widgets +xml" # see `grep -r "%Import " sip` and `grep qmake_QT project.py` REQUIRED_USE=" diff --git a/dev-python/Pyro5/Manifest b/dev-python/Pyro5/Manifest index dc691d18c0f7..199b3fce213b 100644 --- a/dev-python/Pyro5/Manifest +++ b/dev-python/Pyro5/Manifest @@ -1 +1 @@ -DIST Pyro5-5.13.1.tar.gz 430497 BLAKE2B 8b9709a683e57af09faa82320df24cc1122f91296bfb61ae4003c3486714a60b735c45b2ff8f03642b6fb1a69645be9f58ad236d0cf7597a0e177b4cdaf2ae80 SHA512 71c35842c3fb78e04f5799c6e0059882140b38cc010620beecce56f8e2764f0186211cbc166af5e82e14c3e91173ef1e3f1b45a4480184dadd91bb762d11a24f +DIST Pyro5-5.14.gh.tar.gz 432770 BLAKE2B 9424441166b662bedbef89099fe00d7a6a608023b2416515f409c42eeaba47a1977e5bdc73bf6d7058fc4b35103e839d60506d59aae9390071be680e740c804b SHA512 7341e88cf86a6832b2bf9681f58d998d10c3c01db70ff6e11e90c927d25581cb5606edaf52fbb0b0b44137cb129661b68769ca8ae2fd61d5461f18c74214831c diff --git a/dev-python/Pyro5/Pyro5-5.13.1.ebuild b/dev-python/Pyro5/Pyro5-5.14.ebuild index 094dfd604423..d324d391768e 100644 --- a/dev-python/Pyro5/Pyro5-5.13.1.ebuild +++ b/dev-python/Pyro5/Pyro5-5.14.ebuild @@ -3,7 +3,8 @@ EAPI=8 -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) +DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 @@ -13,7 +14,7 @@ HOMEPAGE=" https://pypi.org/project/Pyro5/ https://github.com/irmen/Pyro5 " -SRC_URI="https://github.com/irmen/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI="https://github.com/irmen/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" LICENSE="MIT" SLOT="0" @@ -24,7 +25,8 @@ RDEPEND=" " distutils_enable_tests pytest -distutils_enable_sphinx docs/source +distutils_enable_sphinx docs/source \ + dev-python/sphinx_rtd_theme PROPERTIES="test_network" RESTRICT="test" diff --git a/dev-python/asyncpg/asyncpg-0.26.0.ebuild b/dev-python/asyncpg/asyncpg-0.26.0.ebuild index 924a48fdd94b..b1d0a99449c3 100644 --- a/dev-python/asyncpg/asyncpg-0.26.0.ebuild +++ b/dev-python/asyncpg/asyncpg-0.26.0.ebuild @@ -15,17 +15,20 @@ LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64 ~x86" -DEPEND="dev-python/cython[${PYTHON_USEDEP}]" +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + test? ( + dev-db/postgresql + dev-python/flake8[${PYTHON_USEDEP}] + dev-python/uvloop[${PYTHON_USEDEP}] + ) +" -distutils_enable_tests pytest +distutils_enable_tests unittest distutils_enable_sphinx docs dev-python/sphinxcontrib-asyncio dev-python/sphinx_rtd_theme -python_compile() { - if use test; then - esetup.py build_ext --force --inplace - rm -r build || die - fi - - distutils-r1_python_compile +python_test() { + cd "${T}" || die + USE_UVLOOP=1 eunittest "${S}"/tests } diff --git a/dev-python/billiard/Manifest b/dev-python/billiard/Manifest index f091a3483ea5..9318a0077575 100644 --- a/dev-python/billiard/Manifest +++ b/dev-python/billiard/Manifest @@ -1 +1 @@ -DIST billiard-3.6.4.0.tar.gz 154182 BLAKE2B 3c42c2c72e2a7e2ac7a1e84685ca592f48edc6ca025eac2ab52c3162bee591fbd06db5d9800ef3a9df00265dc1f373a4130963f428b4a5c6db2d90f701c8ebb7 SHA512 8d6013c170ce54e64fdb5d7da85569f31c928d34cc4242318a124e763092be4680e8d7c3007576bac3337b0c1d86a2ead768b1563e5b673da5d73ab600048ba7 +DIST billiard-4.0.2.gh.tar.gz 154301 BLAKE2B 5a4d1e185219886a419c82acb18e8f4adcba980d7732c7909a34f9e81af9936280ff1817ba92bef92333e7b57a4385339503e158d8766b8a8a9a1acd9de3202b SHA512 499ef834b98b2ce4a1afc4e069f43a96b9db8d7f52607fa5fe12298fc06faf25307a0208ac6df7643c0fff87deb5014d9bd1e375ab19731e98ac65ba3199fd4e diff --git a/dev-python/billiard/billiard-3.6.4.0.ebuild b/dev-python/billiard/billiard-4.0.2.ebuild index b4aa43028713..4e5b6f1e2b3e 100644 --- a/dev-python/billiard/billiard-3.6.4.0.ebuild +++ b/dev-python/billiard/billiard-4.0.2.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="7" +EAPI=8 PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) - +DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 DESCRIPTION="Python multiprocessing fork" @@ -12,21 +12,14 @@ HOMEPAGE=" https://pypi.org/project/billiard/ https://github.com/celery/billiard " -SRC_URI="https://github.com/celery/billiard/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI="https://github.com/celery/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86" -RDEPEND="" -DEPEND=" - test? ( - >=dev-python/case-1.3.1[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - ) -" -# The usual req'd for tests -DISTUTILS_IN_SOURCE_BUILD=1 +BDEPEND="test? ( dev-python/psutil[${PYTHON_USEDEP}] )" distutils_enable_tests pytest + distutils_enable_sphinx Doc diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 1225c28ae471..d91acdca1b0c 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -4,3 +4,4 @@ DIST boto3-1.25.0.gh.tar.gz 548321 BLAKE2B 46371869420a12b067594efbaa0d0f6b8003e DIST boto3-1.25.1.gh.tar.gz 548647 BLAKE2B 84a6560e39ea526d1a4fa744bb4cb8fc2f934254c5949a08e0f40f34c363b6cf077dec4f6325da61fd06f5e2d2e021494bc29bf5993213fedc43f5914e18f062 SHA512 dbd0606e2aa4bd4eb3a836fe8e6da20eec97f5c62b5b43009f7296d1a51eaf7eaec7ca8246be8e3db2181e574d5672d72ea18deb4fc73a7cf3f0fca64ab1dacc DIST boto3-1.25.2.gh.tar.gz 548880 BLAKE2B 765b16f0192cf6243a34428090234943553384d5422dcdc728b0da9ca303ca5eb860cb49d177191aa53c8818795bb620910c6f3e5a6f2bb9072fd96d1bcf0fa1 SHA512 8e702758923b384ed97803a35daf211e9754ea6967819e301034efb2c1394f05f4f899dac03b96e65480b55101a96d106fe08faa6f28fccd6d37a5e9d7d6cd2c DIST boto3-1.25.3.gh.tar.gz 549487 BLAKE2B f0c4f2dee25dff926ce5d0699bc6ff9a876ddd12b469759dd24deb22f037fbf37e013b234605ade2ab1712127f1362d0c5fcfdf8302df2c5b983b2bafa68f1a6 SHA512 3a6227dd10cba78b2f67802da953ca8ddfd0dfe3f7dd2e9a360b8e1a45488d12bece3f8a60729eb185e74c3c2dd95403a610f26ae281acdc6a820238660f86b4 +DIST boto3-1.25.4.gh.tar.gz 549950 BLAKE2B f9dfb94d2bfc3f11ac0e98b4ca1755157cf5d71b5b756a4b228bedf48b0d116de80ad1638789dcc1e44ec2d5ab2bf85923a566caf50a15141b3e04baa195b416 SHA512 77ddbd3ec3815d7fad99e918d2474ffedf2f0f5b35cd9f8fa68eaff0c1f4f7e6495c280e7fb6ef1b6f368103b2ecf11565b99636b34ca5a95038ff44a87088fa diff --git a/dev-python/boto3/boto3-1.25.4.ebuild b/dev-python/boto3/boto3-1.25.4.ebuild new file mode 100644 index 000000000000..3d7d652a3b69 --- /dev/null +++ b/dev-python/boto3/boto3-1.25.4.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 multiprocessing + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE=" + https://github.com/boto/boto3/ + https://pypi.org/project/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/boto3/archive/${PV}.tar.gz + -> ${P}.gh.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.6.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${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} -n "$(makeopts_jobs)" +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index cb3d58634840..a251a5c6521d 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -4,3 +4,4 @@ DIST botocore-1.28.0.gh.tar.gz 9815905 BLAKE2B 40c7a5eb9aaa851b682c85d4045f4e3fb DIST botocore-1.28.1.gh.tar.gz 9820975 BLAKE2B 76e578cb3b41e923ced56b12b79b36c589ad64324b6057168c4e0d92c7165f7df3709a2ba968e593d004b43320ca94c3a4a118f91ae1ce8420703c5c6bcd1100 SHA512 8a7ef4a209f145f39f6305fb5ed118849d46dc1bd10be2d0ef9dcd066f4b3dd78e2b3d391903b3d1db3f8ef3c8bc880c40dc3f7a02b4555845fb20f2ceb75ef4 DIST botocore-1.28.2.gh.tar.gz 9822124 BLAKE2B ff56b485cdc58811e809f39ddf250ff9f04a4da9b7bcfce7f26a8fae92f58828033434b02b7b25ccbff7815e37fb2980d7dc10523d6d4f7543dc811ad50d8d10 SHA512 df3531914c6af955069e3710fb8710a7a5080d783f5a51966df72b0c07e1c319b779770d2a1d0d64d107c1a01bc9f69a92d0cc6cbdae594a376908b67052fd18 DIST botocore-1.28.3.gh.tar.gz 9829079 BLAKE2B 77010a262689d99530f6cfa89d3389828f0250f83819979cbffebbd47458ab01f45c5a2e10418e11b982fa9c7680334831b5bb2472cf25af97a8283036420ab8 SHA512 99273da875b0b8321182a1135a09d51c98e242f291ed7ec5a62ae0f9708f55dbd69def3d4bfbac590fab9fef41c7c79f7c87f71b6022f17bb232c3b5dfd9b9e7 +DIST botocore-1.28.4.gh.tar.gz 9830940 BLAKE2B a4f7148ff4ef77dab59b088e241f19cf072dbf0231aac36fdf2220660e3460b08d4f50bc8be6e9eacf169997124b58b27a0f8ab52c042741dc5c1cb43837b00e SHA512 7ce121333cd25f1eb2a99dca0edae21988ab6cd9a1e073e453c633dfacb88b45f40f07fe922bf8a52356ec41d819243785091e8c002c192c17bf89a4e626a380 diff --git a/dev-python/botocore/botocore-1.28.4.ebuild b/dev-python/botocore/botocore-1.28.4.ebuild new file mode 100644 index 000000000000..4d43aecd8983 --- /dev/null +++ b/dev-python/botocore/botocore-1.28.4.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 multiprocessing + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE=" + https://github.com/boto/botocore/ + https://pypi.org/project/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=" + https://github.com/boto/botocore/archive/${PV}.tar.gz + -> ${P}.gh.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-2[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +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 + # fails on unrelated warnings + tests/unit/test_client.py::TestAutoGeneratedClient::test_BOTO_DISABLE_COMMONNAME + tests/unit/test_client.py::TestClientErrors::test_BOTO_DISABLE_COMMONNAME + ) + + epytest tests/{functional,unit} -n "$(makeopts_jobs)" +} diff --git a/dev-python/caldav/Manifest b/dev-python/caldav/Manifest index c9fcc11e5abf..3636e1c04574 100644 --- a/dev-python/caldav/Manifest +++ b/dev-python/caldav/Manifest @@ -1,2 +1,3 @@ +DIST caldav-0.10.gh.tar.gz 121800 BLAKE2B 6398e2e94f40e6c0d8fa757a02ae2aedcdc2bef59be9b6499a9ff86304ee2280222ff4490b9cf6fe2b37bd1e5031e17f472afbd0e42da2a82a27aec87cfecd08 SHA512 1cd98a3f59381c238ba424a30a6596e969c04bcab74cd1f9cbf9bae1da32d23b12a718135252a12fc069091994ef451bf504a05097d9539a79b397370c55609f DIST caldav-0.9.1.gh.tar.gz 105578 BLAKE2B 3581bb0f40daf312b32ff2ef88a31502449e0727f8e6178574c5350fb0312726d62cc9e4be3b9e73b4ee55282a32fcc503da48d49c3e7f0639a96de8197e6f8b SHA512 9171a09aa81bd6ad885aaaa3dac4cb53cb05235b37aa5be72d641b1cd2ee27928213eb95358654e99adfdbf70bea4567977509f972f54b8747162e91c95e1397 DIST caldav-0.9.2.gh.tar.gz 109877 BLAKE2B a5a4a2b4a75bafbed11e91bab6e8de14863a9a9acea2ac87ac9bb3bb2b4f2bb509bb3e898b6d276af50e2863c97b1686b9dc51a3a641345501a1295b77464791 SHA512 6e325d49d8560220bf6e7c001c7ea11b0a24c0059954be6780db0a3938c48a4931b7615f576f09a8817c618c3881ada9f4a21bf2bd441326010a98066de520d6 diff --git a/dev-python/caldav/caldav-0.10.ebuild b/dev-python/caldav/caldav-0.10.ebuild new file mode 100644 index 000000000000..e8318775c889 --- /dev/null +++ b/dev-python/caldav/caldav-0.10.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 + +DESCRIPTION="CalDAV (RFC4791) client library for Python" +HOMEPAGE=" + https://github.com/python-caldav/caldav + https://pypi.org/project/caldav/ +" +SRC_URI=" + https://github.com/python-caldav/caldav/archive/refs/tags/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="|| ( GPL-3 Apache-2.0 )" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + dev-python/vobject[${PYTHON_USEDEP}] +" +# For now, really does use nose imports: bug #857738 +BDEPEND=" + test? ( + dev-python/nose[${PYTHON_USEDEP}] + dev-python/icalendar[${PYTHON_USEDEP}] + dev-python/tzlocal[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + www-apps/radicale[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/celery/Manifest b/dev-python/celery/Manifest index ef4f9c17e8cd..e5bf84e1d780 100644 --- a/dev-python/celery/Manifest +++ b/dev-python/celery/Manifest @@ -1 +1 @@ -DIST celery-5.2.6.tar.gz 1490948 BLAKE2B 1470b74b5d9345ddbb466ec83e684c71fd999fb9671be8a99c795d82ee53a45a5ec5e5c383104933ef2359b655043c408eef8de7dce7c5327a42b7d978a0b711 SHA512 80565cee3ac20a4a28e64582bd2a8cd807980447254d5cbad41c9954a012c025c402c5113d9610f879e74bf170ae7e3c70b5a3ace7228ae510feee380b9b48f9 +DIST celery-5.3.0_beta1.gh.tar.gz 1509819 BLAKE2B 8864d9895823fde8ed1938a8b418906e624f14f6d306f1afb54bfc3c1897facfb22a85e368b2fb3ac96992d639e5f03589bfc78488de9ce060c88d9d1321e4ab SHA512 c617a03ca85120b7889eb94b36e41b3ba45b93acfe239c56c93b0860042a06fceaad1c396342e27f941ae58fd3d7468bf22d6b042b04e246b55abe5eedb63016 diff --git a/dev-python/celery/celery-5.2.6.ebuild b/dev-python/celery/celery-5.3.0_beta1.ebuild index 29137e4847e4..12978959d429 100644 --- a/dev-python/celery/celery-5.2.6.ebuild +++ b/dev-python/celery/celery-5.3.0_beta1.ebuild @@ -4,47 +4,53 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -MYPV="${PV/_beta/b}" PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - inherit bash-completion-r1 distutils-r1 optfeature +MY_PV="${PV/_beta/b}" DESCRIPTION="Asynchronous task queue/job queue based on distributed message passing" HOMEPAGE=" https://docs.celeryproject.org/en/stable/index.html https://pypi.org/project/celery/ https://github.com/celery/celery " -SRC_URI="https://github.com/celery/celery/archive/v${MYPV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${PN}-${MYPV}" +SRC_URI="https://github.com/celery/celery/archive/v${MY_PV}.tar.gz -> ${P}.gh.tar.gz" +S="${WORKDIR}/${PN}-${MY_PV}" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64" -# There are a number of other optional 'extras' IUSE="examples" -#RESTRICT="!test? ( test )" -RESTRICT="test" # 'celery' not found in `markers` configuration option RDEPEND=" >=dev-python/billiard-3.6.4.0[${PYTHON_USEDEP}] - <dev-python/billiard-4.0.0[${PYTHON_USEDEP}] + <dev-python/billiard-5.0.0[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + dev-python/click-didyoumean[${PYTHON_USEDEP}] + dev-python/click-plugins[${PYTHON_USEDEP}] + dev-python/click-repl[${PYTHON_USEDEP}] + >=dev-python/kombu-5.3.0_beta1[${PYTHON_USEDEP}] <dev-python/kombu-6.0.0[${PYTHON_USEDEP}] - >=dev-python/kombu-5.2.1[${PYTHON_USEDEP}] dev-python/pytz[${PYTHON_USEDEP}] + dev-python/vine[${PYTHON_USEDEP}] " -DEPEND=" - ${RDEPEND} +BDEPEND=" test? ( + $(python_gen_impl_dep 'ncurses(+)') >=dev-python/boto3-1.9.178[${PYTHON_USEDEP}] - >=dev-python/case-1.3.1[${PYTHON_USEDEP}] + dev-python/elasticsearch-py[${PYTHON_USEDEP}] >=dev-python/moto-1.3.7[${PYTHON_USEDEP}] - >=dev-python/pytest-6.2[${PYTHON_USEDEP}] + dev-python/msgpack[${PYTHON_USEDEP}] + dev-python/pylibmc[${PYTHON_USEDEP}] + dev-python/pymongo[${PYTHON_USEDEP}] dev-python/pytest-celery[${PYTHON_USEDEP}] + dev-python/pytest-click[${PYTHON_USEDEP}] dev-python/pytest-subtests[${PYTHON_USEDEP}] >=dev-python/pytest-timeout-1.4.2[${PYTHON_USEDEP}] >=dev-python/pyyaml-3.10[${PYTHON_USEDEP}] - >=dev-python/pyzmq-13.1.0[${PYTHON_USEDEP}] + dev-python/redis-py[${PYTHON_USEDEP}] + dev-python/sphinx-testing[${PYTHON_USEDEP}] + dev-python/tblib[${PYTHON_USEDEP}] ) doc? ( dev-python/docutils[${PYTHON_USEDEP}] @@ -55,9 +61,18 @@ DEPEND=" ) " -# testsuite needs it own source -DISTUTILS_IN_SOURCE_BUILD=1 +EPYTEST_DESELECT=( + t/unit/tasks/test_result.py::test_EagerResult::test_wait_raises + t/unit/tasks/test_tasks.py::test_task_retries + t/unit/tasks/test_tasks.py::test_apply_task::test_apply + t/unit/utils/test_collections.py::test_ExceptionInfo::test_exception_info + t/unit/worker/test_request.py::test_trace_task::test_execute_jail_failure + t/unit/worker/test_request.py::test_Request + t/unit/worker/test_request.py::test_create_request_class::test_on_success__SystemExit +) + distutils_enable_tests pytest + distutils_enable_sphinx docs --no-autodoc python_install_all() { @@ -68,7 +83,7 @@ python_install_all() { if use examples; then docinto examples dodoc -r examples/. - docompress -x "/usr/share/doc/${PF}/examples" + docompress -x /usr/share/doc/${PF}/examples fi newbashcomp extra/bash-completion/celery.bash "${PN}" @@ -77,16 +92,14 @@ python_install_all() { } pkg_postinst() { - optfeature "zookeeper support" dev-python/kazoo optfeature "msgpack support" dev-python/msgpack #optfeature "rabbitmq support" dev-python/librabbitmq #optfeature "slmq support" dev-python/softlayer_messaging - optfeature "eventlet support" dev-python/eventlet #optfeature "couchbase support" dev-python/couchbase - optfeature "redis support" dev-db/redis dev-python/redis-py + optfeature "redis support" dev-python/redis-py optfeature "gevent support" dev-python/gevent optfeature "auth support" dev-python/pyopenssl - optfeature "pyro support" dev-python/pyro:4 + optfeature "pyro support" dev-python/Pyro4 optfeature "yaml support" dev-python/pyyaml optfeature "memcache support" dev-python/pylibmc optfeature "mongodb support" dev-python/pymongo diff --git a/dev-python/celery/files/celery.initd-r2 b/dev-python/celery/files/celery.initd-r2 index 3789dc01630e..2f10491fea9e 100644 --- a/dev-python/celery/files/celery.initd-r2 +++ b/dev-python/celery/files/celery.initd-r2 @@ -9,31 +9,30 @@ depend() { use rabbitmq redis logger dns } -CELERYD_ENABLED=${CELERYD_ENABLED:-"no"} -CELERYD_PID_FILE=${CELERYD_PID_FILE:-"/run/celery/celeryd@%n.pid"} -CELERYD_LOG_FILE=${CELERYD_LOG_FILE:-"/var/log/celery/celeryd@%n.log"} -CELERYD_LOG_LEVEL=${CELERYD_LOG_LEVEL:-"INFO"} -CELERYD_NODES=${CELERYD_NODES:-"celery"} +: ${CELERYD_ENABLED:="no"} +: ${CELERYD_PID_FILE:="/run/celery/celeryd@%n.pid"} +: ${CELERYD_LOG_FILE:="/var/log/celery/celeryd@%n.log"} +: ${CELERYD_LOG_LEVEL:="INFO"} +: ${CELERYD_NODES:="celery"} -CELERYBEAT_ENABLED=${CELERYBEAT_ENABLED:-"no"} -CELERYBEAT_PID_FILE=${CELERYBEAT_PID_FILE:-"/run/celery/celerybeat.pid"} -CELERYBEAT_LOG_FILE=${CELERYBEAT_LOG_FILE:-"/var/log/celery/celerybeat.log"} -CELERYBEAT_LOG_LEVEL=${CELERYBEAT_LOG_LEVEL:-"INFO"} +: ${CELERYBEAT_ENABLED:="no"} +: ${CELERYBEAT_PID_FILE:="/run/celery/celerybeat.pid"} +: ${CELERYBEAT_LOG_FILE:="/var/log/celery/celerybeat.log"} +: ${CELERYBEAT_LOG_LEVEL:="INFO"} export CELERY_LOADER -CELERYD_MULTI=${CELERYD_MULTI:-"celery multi"} -CELERYCTL=${CELERYCTL:-"celery"} -CELERYBEAT=${CELERYBEAT:-"celery beat"} +: ${CELERYD_MULTI:="celery multi"} +: ${CELERYCTL:="celery"} +: ${CELERYBEAT:="celery beat"} -CELERYD_OPTS="${CELERYD_OPTS}" CELERYBEAT_OPTS="${CELERYBEAT_OPTS} -f ${CELERYBEAT_LOG_FILE} -l ${CELERYBEAT_LOG_LEVEL}" create_dirs() { - local logfile="${1}" - local pidfile="${2}" - local logdir=$(dirname ${logfile}) - local piddir=$(dirname ${pidfile}) + logfile="${1}" + pidfile="${2}" + logdir=$(dirname ${logfile}) + piddir=$(dirname ${pidfile}) checkpath -d -q -m 0750 -o ${CELERY_USER:-"root"}:${CELERY_GROUP:-"root"} ${logdir} ${piddir} } @@ -66,9 +65,9 @@ celery_chdir() { } wait_pid () { - local pidfile=${1} - local timeout=${STOPTIMEOUT:-"10"} - local PID=$(cat "${pidfile}" 2>/dev/null) + pidfile=${1} + timeout=${STOPTIMEOUT:-"10"} + PID=$(cat "${pidfile}" 2>/dev/null) while [ -n "${PID}" ] && [ "${timeout}" -ge 1 ]; do kill -0 ${PID} 2>/dev/null || break @@ -96,14 +95,14 @@ start_workers() { stop_workers() { yesno "${CELERYD_ENABLED}" || return 0 - local timeout=${STOPTIMEOUT:-"10"} + timeout=${STOPTIMEOUT:-"10"} ${CELERYD_MULTI} stop ${CELERYD_NODES} --pidfile="${CELERYD_PID_FILE}" || return 1 # Wait for each node for node in ${CELERYD_NODES}; do - local pidfile=${CELERYD_PID_FILE/\%n/${node}} - local PID=$(cat "${pidfile}" 2>/dev/null) + pidfile=$(echo "${CELERYD_PID_FILE}" | sed "s/%n/${node}/g") + PID=$(cat "${pidfile}" 2>/dev/null) while [ -n "${PID}" ] && [ "${timeout}" -ge 1 ]; do kill -0 ${PID} 2>/dev/null || break timeout=$((${timeout} - 1)) @@ -150,7 +149,7 @@ stop_beat() { start() { - local cr=0 + cr=0 checkconfig || return 1 @@ -166,7 +165,7 @@ start() { } stop() { - local cr=0 + cr=0 checkconfig || return 1 @@ -182,7 +181,7 @@ stop() { } reload() { - local cr=0 + cr=0 checkconfig || return 1 diff --git a/dev-python/click-repl/click-repl-0.2.0-r1.ebuild b/dev-python/click-repl/click-repl-0.2.0-r1.ebuild index a7496ac18a2f..b3188db2d1fc 100644 --- a/dev-python/click-repl/click-repl-0.2.0-r1.ebuild +++ b/dev-python/click-repl/click-repl-0.2.0-r1.ebuild @@ -4,7 +4,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - +DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 DESCRIPTION="Subcommand REPL for click apps" @@ -18,11 +18,10 @@ LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" -DEPEND=" +RDEPEND=" dev-python/click[${PYTHON_USEDEP}] dev-python/prompt_toolkit[${PYTHON_USEDEP}] dev-python/six[${PYTHON_USEDEP}] " -RDEPEND="${DEPEND}" distutils_enable_tests pytest diff --git a/dev-python/dask/Manifest b/dev-python/dask/Manifest index c575641fa191..484182a01c43 100644 --- a/dev-python/dask/Manifest +++ b/dev-python/dask/Manifest @@ -1,2 +1,3 @@ DIST dask-2022.10.0.gh.tar.gz 8778168 BLAKE2B d352f574cbf478747a95896c8b074c40c9bb413ccc6cd7b12d344b0dc7dc89bdc0613bf5b142e000b85f1c2a5a02e6eb8ac00b6db459a8580927cb4d7c54cf46 SHA512 d35ee0c710f4cccbdddca028a33f3f855ea26f94bebae1dd2a8c761cd0d116324daa03fd7fb5a4cb57d040f549f922b7373a0c089c9667b4da25fbb3b83efa02 +DIST dask-2022.10.1.gh.tar.gz 8781108 BLAKE2B 2030cf0670d054a222123ef836573ae7f5e574a879089a57b9a7730ae5cc33e43da2af3b470ce24174169f9045415cf71543aa05fd368b4471111a01982c5b7c SHA512 58b5515be46086a02a895f97db7120423a51651dcefef6f14d631a719e4faa0315b7a32640e4cd823064ae754319b84cc7c74bb4d4e9d904177816115abc48e5 DIST dask-2022.9.2.gh.tar.gz 8767605 BLAKE2B ad0d9b7f849f984316768f1d1983e13177c3263b6803ce6d861b15b8d88c21c7dce4dae917ca28f8688797573503c6fd518816ca7d993d67c56172ef2adc73ec SHA512 467411933432821413f8440e6434b18c2bf76c616a92ec990bc71c141ea2cab235c1330e888ed77f429b6d00d588042928cd3b06d9b693d51302cf8c114700dd diff --git a/dev-python/dask/dask-2022.10.1.ebuild b/dev-python/dask/dask-2022.10.1.ebuild new file mode 100644 index 000000000000..1155624f33af --- /dev/null +++ b/dev-python/dask/dask-2022.10.1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 + +DESCRIPTION="Task scheduling and blocked algorithms for parallel processing" +HOMEPAGE=" + https://www.dask.org/ + https://github.com/dask/dask/ + https://pypi.org/project/dask/ +" +SRC_URI=" + https://github.com/dask/dask/archive/${PV}.tar.gz -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/cloudpickle-0.2.2[${PYTHON_USEDEP}] + >=dev-python/fsspec-0.6.0[${PYTHON_USEDEP}] + >=dev-python/numpy-1.15.1[${PYTHON_USEDEP}] + >=dev-python/pandas-0.25.0[${PYTHON_USEDEP}] + >=dev-python/packaging-20.0[${PYTHON_USEDEP}] + >=dev-python/partd-0.3.10[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + >=dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}] + >=dev-python/toolz-0.8.2[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/toolz[${PYTHON_USEDEP}] + test? ( + dev-python/moto[${PYTHON_USEDEP}] + dev-python/numexpr[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # another test relying on -Werror + "dask/array/tests/test_overlap.py::test_map_overlap_no_depth[None]" + # TODO + dask/array/tests/test_reductions.py::test_mean_func_does_not_warn + dask/tests/test_config.py::test__get_paths + dask/array/tests/test_linalg.py::test_solve_assume_a + "dask/dataframe/tests/test_dataframe.py::test_repartition_npartitions[<lambda>0-float-5-1-True]" + "dask/dataframe/tests/test_dataframe.py::test_repartition_npartitions[<lambda>1-float-5-1-True]" +) + +python_test() { + epytest -p no:flaky -m "not network" +} diff --git a/dev-python/desktop-notifier/Manifest b/dev-python/desktop-notifier/Manifest index 7fdd25d0757b..da5b9a9c9d52 100644 --- a/dev-python/desktop-notifier/Manifest +++ b/dev-python/desktop-notifier/Manifest @@ -1,2 +1,2 @@ DIST desktop-notifier-3.3.2.gh.tar.gz 4595234 BLAKE2B c53383b8f15c36acb21a77695b8a76e782f912078ba7c5946fe55c2e8c3c950ece7581a81a69dbee12553be7155364c9165336d7f2b814ccb0e3076dc082cf85 SHA512 d93825ea4880428e9eb41f0adff27e963ebeae23aa5cdc8c77e4a60aecee69aa1448f9aca8b12520597b52df531580e29e3458c2ea7b4f2e60eda68de5dfbe9f -DIST desktop-notifier-3.4.0.gh.tar.gz 4598031 BLAKE2B b8b6e0df59f2fc656ab6d3d8ee0e2e6ba58b9714c1efd103d866ccc4acd14bb1d05ebc9db88488de6643e7b42b8af960f75b79d0f82d877e33c6c35025e29ecc SHA512 4b98201466dac7da2555e11c624534f09855cd2183ff7ffaa682f22dac840dfaf402f97335b2892f4cae35739f5cb76e5d0458cb2ecccf7e33f939f41b7e38ef +DIST desktop-notifier-3.4.1.gh.tar.gz 4598112 BLAKE2B 8370f92d30bd2f761859890bca8c144237081f973da41a0c259da15c8581f720d34a24793a964985d14c40cb08b9d2871f75667b4d8828376687f7d0d24d9d19 SHA512 ce97b62e9a0ece97c8453e162cb0fd25876e42f4e5d8c5422e1ca896d37541e9c68b01f6d26fb7250f7d991343710ee085550ed0f82318eb5c67914a13399eb6 diff --git a/dev-python/desktop-notifier/desktop-notifier-3.4.0.ebuild b/dev-python/desktop-notifier/desktop-notifier-3.4.1.ebuild index 38ea137c4d95..38ea137c4d95 100644 --- a/dev-python/desktop-notifier/desktop-notifier-3.4.0.ebuild +++ b/dev-python/desktop-notifier/desktop-notifier-3.4.1.ebuild diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index 9d8eb065d449..7ae92bc21973 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -1,2 +1,3 @@ DIST hypothesis-6.56.2.gh.tar.gz 9333277 BLAKE2B 6c75b48cd6e7300c05bd020003340aa8c868ba2d25402c7599b0e4e6f8774df38e3b3c3a4b589cf08f44fb43b04cfdbc2a3e69f894c3ccaffef705896c6c0a98 SHA512 10d4cdd343b63bc17b3e813309911fa70dfee24fac5d355e6ed907740103177da9be461d4d25e27d5190867664c64f28a7827d6ffd15fa4519ea38fbcdf629e8 DIST hypothesis-6.56.3.gh.tar.gz 9333288 BLAKE2B 9608542d8dbe97fec147eae1f9b2f06af2b08e3cc0807fefcfa97b0a8c1aa30a15df9f1114a13f5c719701a4d13ab09a808d0d09e271d9e0d69168ebc4183af4 SHA512 f410455e77c6e9dc3b9003ef3d4c21bd204d85bc567dfd0d420986dc255d8c1ff9f41d809d837286f02064f546a08eff0f89389906ab7023581cc1f5a5d18947 +DIST hypothesis-6.56.4.gh.tar.gz 9333399 BLAKE2B abe041212cff7ab1d6c2684706ae4d297bad160798152ce52dec9b5024a1aef2445947bb6e7c7fa69c1b3e9cd2e9335d7ac7f330e0910b987d3aa3f34f8c2f3e SHA512 80ce1d5c296fc304b4e1a09846db5e88d2f52a1d790a8717a2a4a506cdd08290392036c02339d3f9d8bf236866dbcd9256e543d0808f32896b172ed840165114 diff --git a/dev-python/hypothesis/hypothesis-6.56.4.ebuild b/dev-python/hypothesis/hypothesis-6.56.4.ebuild new file mode 100644 index 000000000000..2ade964b48e2 --- /dev/null +++ b/dev-python/hypothesis/hypothesis-6.56.4.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +CLI_COMPAT=( python3_{8..10} ) +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) +PYTHON_REQ_USE="threads(+),sqlite" + +inherit distutils-r1 multiprocessing optfeature + +TAG=hypothesis-python-${PV} +MY_P=hypothesis-${TAG} +DESCRIPTION="A library for property based testing" +HOMEPAGE=" + https://github.com/HypothesisWorks/hypothesis/ + https://pypi.org/project/hypothesis/ +" +SRC_URI=" + https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/${MY_P}/hypothesis-python" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="cli" + +RDEPEND=" + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}] + ' 3.8 3.9 3.10) + cli? ( + $(python_gen_cond_dep ' + dev-python/black[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + ' "${CLI_COMPAT[@]}") + ) +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pexpect[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + !!<dev-python/requests-toolbelt-0.10.1 + ) +" + +distutils_enable_tests pytest + +python_test() { + # subtests are broken by warnings from random plugins + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=xdist.plugin,pytest_forked,_hypothesis_pytestplugin + + epytest tests/cover tests/pytest tests/quality -n "$(makeopts_jobs)" +} + +python_install() { + distutils-r1_python_install + if ! use cli || ! has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then + rm -r "${ED}/usr/bin" "${D}$(python_get_scriptdir)" || die + fi +} + +pkg_postinst() { + optfeature "datetime support" dev-python/pytz + optfeature "dateutil support" dev-python/python-dateutil + optfeature "numpy support" dev-python/numpy + optfeature "django support" dev-python/django dev-python/pytz + optfeature "pandas support" dev-python/pandas + optfeature "pytest support" dev-python/pytest +} diff --git a/dev-python/lit/lit-15.0.3.ebuild b/dev-python/lit/lit-15.0.3.ebuild index e78306b16c32..0f4a39279af5 100644 --- a/dev-python/lit/lit-15.0.3.ebuild +++ b/dev-python/lit/lit-15.0.3.ebuild @@ -13,7 +13,7 @@ HOMEPAGE="https://llvm.org/" LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" SLOT="0" -KEYWORDS="~amd64 ~arm arm64 ~ppc ppc64 ~riscv sparc ~x86" +KEYWORDS="~amd64 arm arm64 ~ppc ppc64 ~riscv sparc ~x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/manhole/manhole-1.8.0-r1.ebuild b/dev-python/manhole/manhole-1.8.0-r1.ebuild index a16a016ff180..7d7ff1a4a940 100644 --- a/dev-python/manhole/manhole-1.8.0-r1.ebuild +++ b/dev-python/manhole/manhole-1.8.0-r1.ebuild @@ -23,17 +23,15 @@ BDEPEND="test? ( dev-python/gevent[${PYTHON_USEDEP}] dev-python/process-tests[${PYTHON_USEDEP}] dev-python/requests[${PYTHON_USEDEP}] - $(python_gen_cond_dep \ - 'dev-python/eventlet[${PYTHON_USEDEP}]' \ - python3.8 python3.9) ) " DOCS=( AUTHORS.rst CHANGELOG.rst README.rst ) -distutils_enable_sphinx docs dev-python/sphinx-py3doc-enhanced-theme distutils_enable_tests pytest +distutils_enable_sphinx docs dev-python/sphinx-py3doc-enhanced-theme + python_test() { local -x PYTHONPATH="${S}/src:${PYTHONPATH}" local EPYTEST_DESELECT=( @@ -49,7 +47,7 @@ python_test() { tests/test_manhole.py::test_stderr_doesnt_deadlock ) - [[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=( tests/test_manhole.py::test_log_fh ) + #[[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=( tests/test_manhole.py::test_log_fh ) distutils-r1_python_test } diff --git a/dev-python/markdown-include/Manifest b/dev-python/markdown-include/Manifest index 1c8b04dfa9a8..bc9ab5bb07e9 100644 --- a/dev-python/markdown-include/Manifest +++ b/dev-python/markdown-include/Manifest @@ -1,2 +1 @@ -DIST markdown-include-0.6.0.tar.gz 4661 BLAKE2B 449e05b40ab3a8725f68a8c02dc32349de2435520790b955b708c39ac53782c91dd6b592a712fafe9442f6ba1fda0794436500a5a4148d16caaf38dd6af8b69f SHA512 cbd83ff6ae64416410a7b6879c6f3fa4edd1b1d6e898508251651f0366bf7a121d2e0447f638069b84f872713dc9618128a4fa524d2eaddcfa8bfc2ed3be76de DIST markdown-include-0.7.0.gh.tar.gz 16696 BLAKE2B 0816c25afe73f0046d9cf56ad6a985bf76ebd7b4f78f64db631697ffcd07f9e0550b2dd74411945e38c27965153be186a89d82c55aa7bf4570be47c1cfca2917 SHA512 2d4350ad87cc7e5dab116f4df7648d3a7ffc0c18e38b61ddfca9a6cf76a64bd1d41dcbf7525fd41c81cbc64abe1f776cd3ad9847e25fe790f16c4a024265390d diff --git a/dev-python/markdown-include/markdown-include-0.6.0.ebuild b/dev-python/markdown-include/markdown-include-0.6.0.ebuild deleted file mode 100644 index baaa49e1550c..000000000000 --- a/dev-python/markdown-include/markdown-include-0.6.0.ebuild +++ /dev/null @@ -1,18 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - -inherit distutils-r1 - -DESCRIPTION="Syntax which allows for inclusion of contents of other Markdown docs" -HOMEPAGE="https://github.com/cmacmackin/markdown-include" -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" - -LICENSE="GPL-3" -KEYWORDS="~amd64 ~x86" -SLOT="0" - -RDEPEND="dev-python/markdown[${PYTHON_USEDEP}]" diff --git a/dev-python/prettytable/Manifest b/dev-python/prettytable/Manifest index 4cbe21ce94bf..38f6edd33ab0 100644 --- a/dev-python/prettytable/Manifest +++ b/dev-python/prettytable/Manifest @@ -1,2 +1,3 @@ DIST prettytable-3.3.0.tar.gz 54305 BLAKE2B 4d131c16b6c6a0fd64aae1f9f54e286bf27b562888af56a6944d192a24c05d6138c3bdb8f298dcc060db7609d72b8d86ab9664bf6bcf43cd2105bdd433bae3cf SHA512 e190717e2ea89e8faddc7015fd5118e0d93ac5f5318641ce5960b22b4ea3740ff12c4d15812b33655252f258c96f9e848f554d1e678d39761c28025ba7772609 DIST prettytable-3.4.1.tar.gz 54395 BLAKE2B 155948a3142e5caca82e6986b51693f63a4230faf7f760b4b9738b653928cc4017835e71f5bf06c1f485b1c579c7517de1fff1424d83dd6ff629981a1d4b85ed SHA512 47a00d5d3bd6be77734abf0c6a50ac13f3d6fb72d8cc7bd2d760c860401f46ee94f766063eaeb30cf3d67c6f33fca9e3a1ae9d68af61139704bb1e23ba649ce4 +DIST prettytable-3.5.0.gh.tar.gz 45387 BLAKE2B 0ddb2c89e80c8f713c01afd4db7d5fcfa8151bcfaf7dcf07d66898b1b868ca093931829fe1b4db96c120a6eda1f84580726931dbd6d49b9870c1fc1eb0e479b9 SHA512 24ef28a42365568bf68a974afd42fcc1bfb9208e1cb75fc1b2890bc2253487afa6536e778b58e320e952ca8bf9b69193bd1293bb7615628d03765ee24c44edff diff --git a/dev-python/prettytable/prettytable-3.5.0.ebuild b/dev-python/prettytable/prettytable-3.5.0.ebuild new file mode 100644 index 000000000000..f89caaac7f94 --- /dev/null +++ b/dev-python/prettytable/prettytable-3.5.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Easily displaying tabular data in a visually appealing ASCII table format" +HOMEPAGE=" + https://github.com/jazzband/prettytable/ + https://pypi.org/project/prettytable/ +" +SRC_URI=" + https://github.com/jazzband/prettytable/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +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 + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} diff --git a/dev-python/pyfiglet/Manifest b/dev-python/pyfiglet/Manifest index f6bf80965cd0..7785bcec62ce 100644 --- a/dev-python/pyfiglet/Manifest +++ b/dev-python/pyfiglet/Manifest @@ -1 +1 @@ -DIST pyfiglet-0.8_p1.tar.gz 634618 BLAKE2B 49268581974e72f28ddb11785a1629a4ac2696bcdd57710147cafdcf7709be8c67bdf03e5ccdb1655a9be6eb8a83baf4ca5ae0a6412e2318d0923376558b8d49 SHA512 3b8c7b4c9ae48466da3ccc6711aac9c35b08a373abbdda66c60a62f17ba6edd316b0d5e3085613f7c44fbaa2f02acc4a5b3830a31d22437d9261863878421400 +DIST pyfiglet-0.8.post1.tar.gz 634618 BLAKE2B 49268581974e72f28ddb11785a1629a4ac2696bcdd57710147cafdcf7709be8c67bdf03e5ccdb1655a9be6eb8a83baf4ca5ae0a6412e2318d0923376558b8d49 SHA512 3b8c7b4c9ae48466da3ccc6711aac9c35b08a373abbdda66c60a62f17ba6edd316b0d5e3085613f7c44fbaa2f02acc4a5b3830a31d22437d9261863878421400 diff --git a/dev-python/pyfiglet/pyfiglet-0.8_p1.ebuild b/dev-python/pyfiglet/pyfiglet-0.8_p1.ebuild index 3826e2c5f243..135b51ac216b 100644 --- a/dev-python/pyfiglet/pyfiglet-0.8_p1.ebuild +++ b/dev-python/pyfiglet/pyfiglet-0.8_p1.ebuild @@ -1,27 +1,24 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) +DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 +MY_PV="$(ver_cut 1-2).post$(ver_cut 4)" +MY_P="${PN}-${MY_PV}" DESCRIPTION="Pure-python FIGlet implementation" HOMEPAGE="https://pypi.org/project/pyfiglet/ https://github.com/pwaller/pyfiglet" - -if [[ "${PV}" == 9999 ]] -then - inherit git-r3 - EGIT_REPO_URI="https://github.com/pwaller/pyfiglet.git" -else - MY_PV="$(ver_cut 1-2).post$(ver_cut 4)" - MY_P="${PN}-${MY_PV}" - S="${WORKDIR}/${MY_P}" - SRC_URI="https://files.pythonhosted.org/packages/source/p/pyfiglet/${MY_P}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64" -fi +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" LICENSE="MIT" +KEYWORDS="~amd64" SLOT="0" -RESTRICT="mirror test" +# requires subprocess32 +RESTRICT="test" + +distutils_enable_tests pytest diff --git a/dev-python/pyfiglet/pyfiglet-9999.ebuild b/dev-python/pyfiglet/pyfiglet-9999.ebuild deleted file mode 100644 index 3826e2c5f243..000000000000 --- a/dev-python/pyfiglet/pyfiglet-9999.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) -inherit distutils-r1 - -DESCRIPTION="Pure-python FIGlet implementation" -HOMEPAGE="https://pypi.org/project/pyfiglet/ https://github.com/pwaller/pyfiglet" - -if [[ "${PV}" == 9999 ]] -then - inherit git-r3 - EGIT_REPO_URI="https://github.com/pwaller/pyfiglet.git" -else - MY_PV="$(ver_cut 1-2).post$(ver_cut 4)" - MY_P="${PN}-${MY_PV}" - S="${WORKDIR}/${MY_P}" - SRC_URI="https://files.pythonhosted.org/packages/source/p/pyfiglet/${MY_P}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64" -fi - -LICENSE="MIT" -SLOT="0" - -RESTRICT="mirror test" diff --git a/dev-python/pytest-celery/Manifest b/dev-python/pytest-celery/Manifest index 1c771e6bfb59..3b35be01ca88 100644 --- a/dev-python/pytest-celery/Manifest +++ b/dev-python/pytest-celery/Manifest @@ -1 +1 @@ -DIST pytest-celery-0.1.0.tar.gz 2746 BLAKE2B a9f2a355adaa88ec33061f43664d53e1bb50f94e2679d79e61443a0ff3d0d8f68fec0b7101538344c17bd854c964c75e546198bc7388c8f44b1f361fc87877fe SHA512 b48e03a2f1bc813aebd19124ed51666cfe6a049651a79c3dab15b14925de426bfb89284f8a599490c73477a60939e0321b14fdc90e0c72f82e6bcc67992d791f +DIST pytest-celery-0.1.0.gh.tar.gz 2746 BLAKE2B a9f2a355adaa88ec33061f43664d53e1bb50f94e2679d79e61443a0ff3d0d8f68fec0b7101538344c17bd854c964c75e546198bc7388c8f44b1f361fc87877fe SHA512 b48e03a2f1bc813aebd19124ed51666cfe6a049651a79c3dab15b14925de426bfb89284f8a599490c73477a60939e0321b14fdc90e0c72f82e6bcc67992d791f diff --git a/dev-python/pytest-celery/pytest-celery-0.1.0.ebuild b/dev-python/pytest-celery/pytest-celery-0.1.0.ebuild index 51144124a787..2291d9077f9e 100644 --- a/dev-python/pytest-celery/pytest-celery-0.1.0.ebuild +++ b/dev-python/pytest-celery/pytest-celery-0.1.0.ebuild @@ -5,7 +5,6 @@ EAPI=8 DISTUTILS_USE_PEP517=flit PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - inherit distutils-r1 DESCRIPTION="a shim pytest plugin to enable celery.contrib.pytest" @@ -13,7 +12,7 @@ HOMEPAGE=" https://github.com/celery/pytest-celery https://pypi.org/project/pytest-celery/ " -SRC_URI="https://github.com/celery/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI="https://github.com/celery/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" LICENSE="BSD" SLOT="0" diff --git a/dev-python/pytest-click/Manifest b/dev-python/pytest-click/Manifest new file mode 100644 index 000000000000..b447dd25bb3b --- /dev/null +++ b/dev-python/pytest-click/Manifest @@ -0,0 +1 @@ +DIST pytest_click-1.1.0.tar.gz 5054 BLAKE2B ad14c214ff767293d75a02930cc9852b97145c5554b6c4aa112e523a6d3e95fa967931c0a3b0beee3e2a69cd8df0d1c2c1bf33f351c3585cb446e1cd6efa5cad SHA512 49ab5fd3499cc519172f364505f1884596c0b45ebc1b64245cfc235f70d2c4765d133d69615300429b4010f28ab725941f53219f4f0ae6520b452a22503886a1 diff --git a/dev-python/pytest-click/metadata.xml b/dev-python/pytest-click/metadata.xml new file mode 100644 index 000000000000..6b69f249f181 --- /dev/null +++ b/dev-python/pytest-click/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>cyber+gentoo@sysrq.in</email> + <name>Anna</name> + </maintainer> + <upstream> + <maintainer> + <email>dadygalo@gmail.com</email> + <name>Dmitry Dygalo</name> + </maintainer> + </upstream> + <origin>gentoo-guru-overlay</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/pytest-click/pytest-click-1.1.0.ebuild b/dev-python/pytest-click/pytest-click-1.1.0.ebuild new file mode 100644 index 000000000000..f3261a741ff7 --- /dev/null +++ b/dev-python/pytest-click/pytest-click-1.1.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) +inherit distutils-r1 + +MY_PN="${PN//-/_}" +MY_P="${MY_PN}-${PV}" +DESCRIPTION="Pytest plugin for Click" +HOMEPAGE=" + https://pypi.org/project/pytest-click/ + https://github.com/Stranger6667/pytest-click +" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/click[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] +" + +DOCS=( CHANGELOG.md README.rst ) + +distutils_enable_tests pytest diff --git a/dev-python/pytest-subtests/Manifest b/dev-python/pytest-subtests/Manifest index dd79538a2599..f03ec7f71117 100644 --- a/dev-python/pytest-subtests/Manifest +++ b/dev-python/pytest-subtests/Manifest @@ -1 +1,2 @@ DIST pytest-subtests-0.8.0.gh.tar.gz 9767 BLAKE2B 707f6744f1cd7723d7bee11f5e535750fa179e7ad3912cd94d5200002e1dc0a206cbdb5c3bc8be587a1c81342ef9d6a8a397acd08388096a484feca6f9c84e0c SHA512 0164e02c81685108bb5c12f7e7ce92dc2fd5c844be454b2cb26e3cb942d51c453f06bb48e0300438a82b28c747dea35ea4f75eaf65ff8b66b338bcb0f0dd9ed1 +DIST pytest-subtests-0.9.0.gh.tar.gz 9840 BLAKE2B c94155c1e44b4bf81bc4d2d1963c952b721634372db9dc5c1b8a7819acba8e84815333c0c67a90d2a930abb98affbd99a721796ed09513635923f6a89e336d4a SHA512 f1bc2b99e6f04864cdc45675574d32821fd5e08c01c937bddc846ac509cd8906d21ee63b11e9e8a87c2631334541e9adc601a7dd69702572d51c3d4b72443ad2 diff --git a/dev-python/pytest-subtests/pytest-subtests-0.9.0.ebuild b/dev-python/pytest-subtests/pytest-subtests-0.9.0.ebuild new file mode 100644 index 000000000000..618e15e8497f --- /dev/null +++ b/dev-python/pytest-subtests/pytest-subtests-0.9.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="unittest subTest() support and subtests fixture" +HOMEPAGE=" + https://github.com/pytest-dev/pytest-subtests/ + https://pypi.org/project/pytest-subtests/" +SRC_URI=" + https://github.com/pytest-dev/pytest-subtests/archive/refs/tags/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/pytest-7[${PYTHON_USEDEP}] +" +# pytest-xdist is used to test compatibility +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=xdist.plugin,xdist.looponfail,pytest_forked,pytest_subtests + epytest +} diff --git a/dev-python/python-fire/Manifest b/dev-python/python-fire/Manifest new file mode 100644 index 000000000000..29b34cfaacd7 --- /dev/null +++ b/dev-python/python-fire/Manifest @@ -0,0 +1 @@ +DIST python-fire-0.4.0.tar.gz 104198 BLAKE2B 1060931356753c00daa5c138234a8214c3662ae8aab54fa050488df89251be7cdf9846af46defd4fbeed817ca2cc1992e7978ad68579ad753749cdf3e9b6c011 SHA512 24473cae1cbaf01a6a07939fd77b8d26d97e5efb0bca349f65ed6a8bbf132167d74140b42030dcee0404945581d039230e0e8f8edb0bf8664e8e9f6555dfdeb5 diff --git a/dev-python/python-fire/metadata.xml b/dev-python/python-fire/metadata.xml new file mode 100644 index 000000000000..736a1167c898 --- /dev/null +++ b/dev-python/python-fire/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + + <origin>gentoo-guru-overlay</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/python-fire/python-fire-0.4.0.ebuild b/dev-python/python-fire/python-fire-0.4.0.ebuild new file mode 100644 index 000000000000..b952b92ce9f6 --- /dev/null +++ b/dev-python/python-fire/python-fire-0.4.0.ebuild @@ -0,0 +1,25 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +inherit distutils-r1 + +DESCRIPTION="Library for automatically generating command line interfaces from Python objects" +HOMEPAGE="https://pypi.org/project/python-fire/" +SRC_URI="https://github.com/google/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/six + dev-python/termcolor +" +BDEPEND="" +DEPEND="${RDEPEND}" + +distutils_enable_tests pytest |
