diff options
Diffstat (limited to 'dev-python')
178 files changed, 1636 insertions, 1462 deletions
diff --git a/dev-python/bareos/Manifest b/dev-python/bareos/Manifest index 5b6c99245325..0325b45696fd 100644 --- a/dev-python/bareos/Manifest +++ b/dev-python/bareos/Manifest @@ -1 +1,2 @@ DIST bareos-21.1.2.tar.gz 11582588 BLAKE2B e7e02b3897d7e377cc79d9d0880da821f1b81d1f54891d89e704e78f51471cdf94b5a02ffe2f4ed54dec38bf37ccc757bf1641c3b678a04e401f48484ed3c941 SHA512 acdc787ff828add93c81b2b7d293dec90f2aa22aa3aee3002662bd30e88dc0dc58b753bb63ca7c111fac6c7eeea888938236c1169f92ed6cec27941036c7b6b1 +DIST bareos-21.1.5.tar.gz 11655244 BLAKE2B 18ef42669cfdd7a663910fa1ce9b46f12eab0aa3a2106e9877dc3d341e9a7b309c21bc1768d4873d626938fcbb2084884a85d6dcef0aa2834b117aef1034d28f SHA512 637c6c0500ff31bb2c87f27d87f908d49836191afb880de4b636432b9c20433ec6f32f5805aaa7fb57f2f99a0201c51802c8d213ee5573642698f74da4cb06b7 diff --git a/dev-python/bareos/bareos-21.1.5.ebuild b/dev-python/bareos/bareos-21.1.5.ebuild new file mode 100644 index 000000000000..0da6903b67e2 --- /dev/null +++ b/dev-python/bareos/bareos-21.1.5.ebuild @@ -0,0 +1,18 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +DESCRIPTION="python bindings for bareos network backup suite" +HOMEPAGE="https://www.bareos.com/" +SRC_URI="https://github.com/${PN}/${PN}/archive/Release/${PV}.tar.gz -> ${P}.tar.gz" +S=${WORKDIR}/${PN}-Release-${PV}/python-bareos + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +RESTRICT="mirror test" diff --git a/dev-python/blurhash/Manifest b/dev-python/blurhash/Manifest new file mode 100644 index 000000000000..38372e9d5c63 --- /dev/null +++ b/dev-python/blurhash/Manifest @@ -0,0 +1 @@ +DIST blurhash-1.1.4.tar.gz 4738 BLAKE2B a25804938443e140e6d5a649e52c9c07cc91bb914be81efc33887161113f80362fba0b6711f520063461c7d4645022e559a11ecffdfeac9521a86cb23d279510 SHA512 eacef78927a1299bec19f73709435b1be55797273888e7856bbfd46d2aa1afa02f54505c15b76dcd6bd15a6817da0171aa412570c33c7ad487bfe10940ef3fd6 diff --git a/dev-python/blurhash/blurhash-1.1.4.ebuild b/dev-python/blurhash/blurhash-1.1.4.ebuild new file mode 100644 index 000000000000..44eade6e16a1 --- /dev/null +++ b/dev-python/blurhash/blurhash-1.1.4.ebuild @@ -0,0 +1,36 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +DESCRIPTION="Pure-Python implementation of the blurhash algorithm" +HOMEPAGE=" + https://pypi.org/project/blurhash/ + https://github.com/halcy/blurhash-python +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +# no tests in v1.1.4 tarball +RESTRICT="test" + +BDEPEND=" + test? ( + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + rm setup.cfg || die +} diff --git a/dev-python/blurhash/metadata.xml b/dev-python/blurhash/metadata.xml new file mode 100644 index 000000000000..ddb5b0f1787e --- /dev/null +++ b/dev-python/blurhash/metadata.xml @@ -0,0 +1,10 @@ +<?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> + + <origin>gentoo-guru-overlay</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/boto3/boto3-1.26.8.ebuild b/dev-python/boto3/boto3-1.26.8.ebuild index 3d7d652a3b69..1f8dc6734498 100644 --- a/dev-python/boto3/boto3-1.26.8.ebuild +++ b/dev-python/boto3/boto3-1.26.8.ebuild @@ -25,7 +25,7 @@ else 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" + 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-)" diff --git a/dev-python/botocore/botocore-1.29.8.ebuild b/dev-python/botocore/botocore-1.29.8.ebuild index 4d43aecd8983..b502c7b98b6f 100644 --- a/dev-python/botocore/botocore-1.29.8.ebuild +++ b/dev-python/botocore/botocore-1.29.8.ebuild @@ -24,7 +24,7 @@ else 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" + KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" fi RDEPEND=" diff --git a/dev-python/bpython/bpython-0.23-r1.ebuild b/dev-python/bpython/bpython-0.23-r1.ebuild index 276e5d094c16..72468c470615 100644 --- a/dev-python/bpython/bpython-0.23-r1.ebuild +++ b/dev-python/bpython/bpython-0.23-r1.ebuild @@ -19,7 +19,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" IUSE="clipboard +jedi watch" -KEYWORDS="~amd64 ~riscv ~x86" +KEYWORDS="amd64 ~riscv x86" RDEPEND=" >=dev-python/curtsies-0.4.0[${PYTHON_USEDEP}] diff --git a/dev-python/bpython/bpython-0.23.ebuild b/dev-python/bpython/bpython-0.23.ebuild deleted file mode 100644 index 3a50a6e22e41..000000000000 --- a/dev-python/bpython/bpython-0.23.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# 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="Syntax highlighting and autocompletion for the Python interpreter" -HOMEPAGE=" - https://www.bpython-interpreter.org/ - https://github.com/bpython/bpython/ - https://pypi.org/project/bpython/ -" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -IUSE="clipboard +jedi urwid watch" -KEYWORDS="amd64 ~riscv x86" - -RDEPEND=" - >=dev-python/curtsies-0.4.0[${PYTHON_USEDEP}] - dev-python/cwcwidth[${PYTHON_USEDEP}] - dev-python/greenlet[${PYTHON_USEDEP}] - dev-python/pygments[${PYTHON_USEDEP}] - dev-python/pyxdg[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - clipboard? ( dev-python/pyperclip[${PYTHON_USEDEP}] ) - jedi? ( dev-python/jedi[${PYTHON_USEDEP}] ) - urwid? ( dev-python/urwid[${PYTHON_USEDEP}] ) - watch? ( dev-python/watchdog[${PYTHON_USEDEP}] ) -" -# sphinx is used implicitly to build manpages -BDEPEND=" - dev-python/sphinx[${PYTHON_USEDEP}] -" - -DOCS=( AUTHORS.rst CHANGELOG.rst ) - -distutils_enable_sphinx doc/sphinx/source --no-autodoc -distutils_enable_tests unittest diff --git a/dev-python/bpython/metadata.xml b/dev-python/bpython/metadata.xml index 498ae0e1daef..3e893e902295 100644 --- a/dev-python/bpython/metadata.xml +++ b/dev-python/bpython/metadata.xml @@ -15,8 +15,6 @@ using <pkg>dev-python/pyperclip</pkg></flag> <flag name="jedi">Enable autocompletion using <pkg>dev-python/jedi</pkg></flag> - <flag name="urwid">Ebable - <pkg>dev-python/urwid</pkg>-based interface</flag> <flag name="watch">Enable watching paths using <pkg>dev-python/watchdog</pkg></flag> </use> diff --git a/dev-python/caldav/Manifest b/dev-python/caldav/Manifest index d422b601d283..2df4a23ff04f 100644 --- a/dev-python/caldav/Manifest +++ b/dev-python/caldav/Manifest @@ -1 +1,2 @@ DIST caldav-0.10.gh.tar.gz 121800 BLAKE2B 6398e2e94f40e6c0d8fa757a02ae2aedcdc2bef59be9b6499a9ff86304ee2280222ff4490b9cf6fe2b37bd1e5031e17f472afbd0e42da2a82a27aec87cfecd08 SHA512 1cd98a3f59381c238ba424a30a6596e969c04bcab74cd1f9cbf9bae1da32d23b12a718135252a12fc069091994ef451bf504a05097d9539a79b397370c55609f +DIST caldav-0.11.0.gh.tar.gz 126186 BLAKE2B 0d818ea5e76b88b3ea18f1fd878a297fa88ad9921d994a61d05c02aa80b73ac40bd8cb36810a050d8f6a87009911655b64a8a4ef09133cb751a225adacdd5575 SHA512 761753fa86e2ba9788030df1af482177bd01ee266a7fe8da744ac85eee95a74d1450e1afa0f64109b9c12aaedba0354d76da2ee9b27dec2771141fc453727d4f diff --git a/dev-python/caldav/caldav-0.11.0.ebuild b/dev-python/caldav/caldav-0.11.0.ebuild new file mode 100644 index 000000000000..93b962b59d1d --- /dev/null +++ b/dev-python/caldav/caldav-0.11.0.ebuild @@ -0,0 +1,50 @@ +# 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}] +" +BDEPEND=" + test? ( + dev-python/icalendar[${PYTHON_USEDEP}] + dev-python/tzlocal[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + www-apps/radicale[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # needs unpackaged recurring_ical_events + tests/test_caldav.py::TestLocalRadicale::testTodoDatesearch + tests/test_caldav.py::TestLocalRadicale::testRecurringDateSearch + tests/test_caldav_unit.py::TestExpandRRule::testZero + tests/test_caldav_unit.py::TestExpandRRule::testOne + tests/test_caldav_unit.py::TestExpandRRule::testThree + tests/test_caldav_unit.py::TestExpandRRule::testSplit +) diff --git a/dev-python/celery/celery-5.3.0_beta1.ebuild b/dev-python/celery/celery-5.3.0_beta1.ebuild index babf19a2c160..a080aadd7d47 100644 --- a/dev-python/celery/celery-5.3.0_beta1.ebuild +++ b/dev-python/celery/celery-5.3.0_beta1.ebuild @@ -119,7 +119,6 @@ pkg_postinst() { #optfeature "slmq support" dev-python/softlayer_messaging #optfeature "couchbase support" dev-python/couchbase optfeature "redis support" dev-python/redis-py - optfeature "gevent support" dev-python/gevent optfeature "auth support" dev-python/pyopenssl optfeature "pyro support" dev-python/Pyro4 optfeature "yaml support" dev-python/pyyaml diff --git a/dev-python/cfn-lint/Manifest b/dev-python/cfn-lint/Manifest index f9d6ba51bfaa..cae758275dfa 100644 --- a/dev-python/cfn-lint/Manifest +++ b/dev-python/cfn-lint/Manifest @@ -1,6 +1,3 @@ -DIST cfn-lint-0.67.0.gh.tar.gz 9787161 BLAKE2B 5299c956e7ca7c63c0c7608d51b01487cf4669f7af54c33f3d9917feae85565a2ce73a96a8d0a5d32cfe1c0a6db6d61b118f2994bb66700145787b650eefe6ea SHA512 35d4686da1f610a970dc1976d7a72ff58c884446f5967b069cc4826b2d9a1b75e2b8a10e676585009c918317186b4dac1c6dc78bf26215eefd5aadd4dce03e0e -DIST cfn-lint-0.68.1.gh.tar.gz 9858724 BLAKE2B 469a23daa717add95140913d85861df44445464d80291430ec42aa2a83c2e125fc395428033c5b82c571297200b28412cc8531bf8e26a0491acfbc5536037cd6 SHA512 a81a1877b9efea411b71d485e66965ca6427998ea13d088c67849a2e8c3f9dd1c125ba0531cb48a27ad75638bde54270654b6da8576fc2fdb15088a0bfb543fe -DIST cfn-lint-0.69.0.gh.tar.gz 9862506 BLAKE2B 68e6e5e93d7f07bda3eedda71d79943ef97fd0c2e972f475380f7943f88d843effa8cd23b4534bcf4ce0918ca7a634ecf32cef7c309711f9dbc6f899324f3f97 SHA512 9972fb1be897451116e269245d7302af31a53e54c1615daa65bd6b71b9a0ff3f62c1068d86c239510737ac95a6ab3ba2746838792680f701a404008f35857c64 DIST cfn-lint-0.69.1.gh.tar.gz 9871037 BLAKE2B a6c4d1b3b892eee01231771dfbe7831737f8f6f89cf096a4ea0c1b945aa47574a51938d4b8ecdd7e3c2cd18df87ba343c07f3e379b49b78b07d7ec676f12e0d1 SHA512 1823485a0d2273a6a1c6632944a095bc4f9b7999f4e0dc81a47cb8673a3d02f822865b08ca3dfcf518b38a9c68a0f0bc5c3235904aca5ce94919ec627b9c3ddc DIST cfn-lint-0.70.0.gh.tar.gz 9891445 BLAKE2B 6cdacffb2c3649203046339d088d3e41a4280197a5b23ef5b7cb837d93de62760dbe78a2b92800f11606f3e723f6c9c93d7d08e1379541a1bbbdfc302ae76633 SHA512 456acc59b30b4e4546d07426a7218b7ef2716412c82b12a9f419550d4916121fd0874dfca1725436305309165bb05875c27410a5bdf82ba462157022dc3feed1 DIST cfn-lint-0.70.1.gh.tar.gz 9891593 BLAKE2B 2ee4ba8d688c3888e11e1df52ab26f554f7d13a2f46bc56b5f0d3de7912e8cd99432e7dc174f0072966fd6a586718abe5e9ab11797c5a24480ee508f8819a7df SHA512 c2566ffadf5935b8dfd38eb690f406466aef4d1e0793691547479673bc2519acd8bd5b42ecfb666736c81e9cf3254601542b0a7d4b5257ca626e6e3b194c64da diff --git a/dev-python/cfn-lint/cfn-lint-0.67.0.ebuild b/dev-python/cfn-lint/cfn-lint-0.67.0.ebuild deleted file mode 100644 index 308f4be9ca1e..000000000000 --- a/dev-python/cfn-lint/cfn-lint-0.67.0.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# 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="CloudFormation Linter" -HOMEPAGE=" - https://github.com/aws-cloudformation/cfn-lint/ - https://pypi.org/project/cfn-lint/ -" -SRC_URI=" - https://github.com/aws-cloudformation/cfn-lint/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv x86" - -RDEPEND=" - >=dev-python/aws-sam-translator-1.52.0[${PYTHON_USEDEP}] - dev-python/jsonpatch[${PYTHON_USEDEP}] - >=dev-python/jschema_to_python-1.2.3[${PYTHON_USEDEP}] - >=dev-python/jsonschema-3.0[${PYTHON_USEDEP}] - dev-python/junit-xml[${PYTHON_USEDEP}] - dev-python/networkx[${PYTHON_USEDEP}] - >dev-python/pyyaml-5.4[${PYTHON_USEDEP}] - >=dev-python/requests-2.15.0[${PYTHON_USEDEP}] - >=dev-python/sarif_om-1.0.4[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # TODO - test/unit/module/test_template.py::TestTemplate::test_build_graph - # requires git repo - test/unit/module/maintenance/test_update_documentation.py::TestUpdateDocumentation::test_update_docs - # Internet - test/unit/module/formatters/test_formatters.py::TestFormatters::test_sarif_formatter - test/unit/module/maintenance/test_update_resource_specs.py::TestUpdateResourceSpecs::test_update_resource_specs_python_2 - test/unit/module/maintenance/test_update_resource_specs.py::TestUpdateResourceSpecs::test_update_resource_specs_python_3 -) - -src_prepare() { - # unpin the deps - sed -e 's:~=[0-9.]*::' -i setup.py || die - distutils-r1_src_prepare -} diff --git a/dev-python/cfn-lint/cfn-lint-0.68.1.ebuild b/dev-python/cfn-lint/cfn-lint-0.68.1.ebuild deleted file mode 100644 index 2922e9afcfc6..000000000000 --- a/dev-python/cfn-lint/cfn-lint-0.68.1.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# 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="CloudFormation Linter" -HOMEPAGE=" - https://github.com/aws-cloudformation/cfn-lint/ - https://pypi.org/project/cfn-lint/ -" -SRC_URI=" - https://github.com/aws-cloudformation/cfn-lint/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" - -RDEPEND=" - >=dev-python/aws-sam-translator-1.53.0[${PYTHON_USEDEP}] - dev-python/jsonpatch[${PYTHON_USEDEP}] - >=dev-python/jschema_to_python-1.2.3[${PYTHON_USEDEP}] - >=dev-python/jsonschema-3.0[${PYTHON_USEDEP}] - dev-python/junit-xml[${PYTHON_USEDEP}] - dev-python/networkx[${PYTHON_USEDEP}] - >dev-python/pyyaml-5.4[${PYTHON_USEDEP}] - >=dev-python/requests-2.15.0[${PYTHON_USEDEP}] - >=dev-python/sarif_om-1.0.4[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # TODO - test/unit/module/test_template.py::TestTemplate::test_build_graph - # requires git repo - test/unit/module/maintenance/test_update_documentation.py::TestUpdateDocumentation::test_update_docs - # Internet - test/unit/module/formatters/test_formatters.py::TestFormatters::test_sarif_formatter - test/unit/module/maintenance/test_update_resource_specs.py::TestUpdateResourceSpecs::test_update_resource_specs_python_2 - test/unit/module/maintenance/test_update_resource_specs.py::TestUpdateResourceSpecs::test_update_resource_specs_python_3 -) - -src_prepare() { - # unpin the deps - sed -e 's:~=[0-9.]*::' -i setup.py || die - distutils-r1_src_prepare -} diff --git a/dev-python/cfn-lint/cfn-lint-0.69.0.ebuild b/dev-python/cfn-lint/cfn-lint-0.69.0.ebuild deleted file mode 100644 index 2922e9afcfc6..000000000000 --- a/dev-python/cfn-lint/cfn-lint-0.69.0.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# 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="CloudFormation Linter" -HOMEPAGE=" - https://github.com/aws-cloudformation/cfn-lint/ - https://pypi.org/project/cfn-lint/ -" -SRC_URI=" - https://github.com/aws-cloudformation/cfn-lint/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" - -RDEPEND=" - >=dev-python/aws-sam-translator-1.53.0[${PYTHON_USEDEP}] - dev-python/jsonpatch[${PYTHON_USEDEP}] - >=dev-python/jschema_to_python-1.2.3[${PYTHON_USEDEP}] - >=dev-python/jsonschema-3.0[${PYTHON_USEDEP}] - dev-python/junit-xml[${PYTHON_USEDEP}] - dev-python/networkx[${PYTHON_USEDEP}] - >dev-python/pyyaml-5.4[${PYTHON_USEDEP}] - >=dev-python/requests-2.15.0[${PYTHON_USEDEP}] - >=dev-python/sarif_om-1.0.4[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # TODO - test/unit/module/test_template.py::TestTemplate::test_build_graph - # requires git repo - test/unit/module/maintenance/test_update_documentation.py::TestUpdateDocumentation::test_update_docs - # Internet - test/unit/module/formatters/test_formatters.py::TestFormatters::test_sarif_formatter - test/unit/module/maintenance/test_update_resource_specs.py::TestUpdateResourceSpecs::test_update_resource_specs_python_2 - test/unit/module/maintenance/test_update_resource_specs.py::TestUpdateResourceSpecs::test_update_resource_specs_python_3 -) - -src_prepare() { - # unpin the deps - sed -e 's:~=[0-9.]*::' -i setup.py || die - distutils-r1_src_prepare -} diff --git a/dev-python/cfn-lint/cfn-lint-0.69.1.ebuild b/dev-python/cfn-lint/cfn-lint-0.69.1.ebuild index 2922e9afcfc6..dc1f809632a2 100644 --- a/dev-python/cfn-lint/cfn-lint-0.69.1.ebuild +++ b/dev-python/cfn-lint/cfn-lint-0.69.1.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv x86" RDEPEND=" >=dev-python/aws-sam-translator-1.53.0[${PYTHON_USEDEP}] diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest index e12ba6016e6a..b13bf7c63190 100644 --- a/dev-python/clang-python/Manifest +++ b/dev-python/clang-python/Manifest @@ -2,10 +2,8 @@ DIST llvm-project-14.0.6.src.tar.xz 105618228 BLAKE2B ee67c5407df8cef493b9c0004f DIST llvm-project-14.0.6.src.tar.xz.sig 566 BLAKE2B cb658ad43d8ab6c43a5773aedadf0569c97b5ee4b1bd58eceb10e1879a30880c741c3d66bedd462c892309b688fb7b2673115a62d1f74d71ee375a578de9547f SHA512 b4a7b368532a7a4a24376cfa7db8f6d3478f6d4446474342fc00b474ecf466330cd0f16783209263c4c72d5fc7ddedfb11b95578842e700cfb7ee0bb34cc95d6 DIST llvm-project-15.0.3.src.tar.xz 112069972 BLAKE2B 3d29bab890467ba87fedcc4e76522f444e63e3dfbe546793f8e67821bcd403bad460ea176254c9e0b72d60ea56b8480e498a7f610477c1108732d178804c26cd SHA512 d378d417f01c56534f301cfe6cb4958d811c04ae22acaacc917e7e5f0380859d40ce19dffb265d046b70fff95dbc2e759f492e4d5af0ade52f21ebaa8da65856 DIST llvm-project-15.0.3.src.tar.xz.sig 438 BLAKE2B e7e0614e144eb878f694c12e97cf42ff8476e47cb55e8f259eb2ec52e303463ad753771271512e89baf0137c1382b11cfa028c85324174ebcd054a124000f537 SHA512 41229bebdb0c2df9a5e3a4d6f02d39fac7dc91f21895a659523beab4fa3ef99ff06eff5e4386221369b6e2b6f8fe974d67b7d8496d5911ce484d09ae0db8b916 -DIST llvm-project-15.0.4.src.tar.xz 110936424 BLAKE2B a02b76ad161e352b4d3d84baffdada9c6a0e704de7a2c4017df4d4d05a9e9d02113791cd7d91c3edfa1f5bcb7ab95e1772d60f7061514928c6828600f41a8322 SHA512 9d5b664dd77c08130601636f9d6c006b257f369470ce823aa56d06698a9f0edfec42f2c90da934b9ad52c4d7960d9a024ea46dc9640275be6d191b1ba9869459 -DIST llvm-project-15.0.4.src.tar.xz.sig 566 BLAKE2B f1a7be65fcce932dc125ae2b498f68a14e68dad0d7a1e031343c52c5dafb7b123e346f3efa50a7693584361abf01efe9401b1b5781dee6b92dc1045e538e9b7b SHA512 35899ffbd13fc44cade54246a423450571cb4b62b8d706864daa3eef2377c48e24ef3113218e39e29de995b7f7fa307f9187552766576c9050fd924beb517f6e DIST llvm-project-15.0.5.src.tar.xz 110931004 BLAKE2B d751e3627ee26e60a1a037a4a6cc574a31c4abe038331b86206348ac3ce93a243add2be3a0bbfc2ec5ec3f3562a5b5efea745cb1943c9c9153bc7b0fcf4de22e SHA512 cf2a89ebb6bc9d7e3f1fd09531c84ac9927cdbe5ee13a6fcb8ce4d08e5a9d6d480ad982f62126b9c757beafa283b34f2ba1fbc56223c641e70da2be4627f59a6 DIST llvm-project-15.0.5.src.tar.xz.sig 566 BLAKE2B a6e7204abc912045346a36f2b349e0829a4d5b9efcb230fb0c97caa38d5159ca17ffb47ce0485cbab276a4938ff3a5c05ef9f8b0b75f4c2028d870ee33023431 SHA512 312bc09b54408a9265f8102241089b0f674be0832dd5cb1998ff13dbccbe19324d7060ba2680457118dee96a1ff390b16282677ad825d7230008014ecebe47d5 DIST llvm-project-7b91798a5d3a8432b296778da4efe169012fb7b4.tar.gz 170989337 BLAKE2B 1ab79554a05f8d7a74c0b4bab319c30375475d3fd089764733744fde55c65eb38967cdb19e5b0211a1543549c2bfc3c0f3d43facb7e041f51988e8a65e4448f3 SHA512 4c4d3a748b967cbc75372d0db87ac48d32271a54047ddeeb028d565fa6b7004b2ab3abd82d8ff4621e50c9410fce28c3044550cc94aaf0f6e4f672498f47aba8 -DIST llvm-project-f6f1fd443f48f417de9dfe23353055f1b20d87ef.tar.gz 170625743 BLAKE2B 3add45d7e2f26659f9602b5ccc034033610921ebeb2d6d69d6f5a3d1e3af224d3f5fd42e411d1fe0d5f8249c2ad995d41a236a87eba5a72ea9b20c112faa4c2f SHA512 2b57132d156f3d6d96802f617fff3eec0df6a3b5077ddcc4f31c87829e617f3065074d80e9d26c8c1c64322e76a09321fdfc8ae1d7a84f5da9f8606125e3b635 +DIST llvm-project-959c9cc7acf4d0aa433f2436e2a45b782e18022a.tar.gz 171575300 BLAKE2B 090d41a8913f8e061d297e66ca653d95e18b8da744464d7085d7a199c0a444753a82b6ff6503e142aec81be01b419323cdbe3709497738df74afa886d69fd63d SHA512 fc3b26e148ead7a07b4d1509909a42712a43b179da435b052c26a237b0d2ae88c3c8d76eaa93c415be1ed0f0b5fb55e0ad92f427a18d70bc9634a6e7d1b6a4d9 DIST llvmorg-13.0.1.tar.gz 147290251 BLAKE2B 2a44b012a672501761d0c27c6b3a315b69bfef0cd13b078a7e7d2fccc4a9c8c0f2bee0f164c4271c9106b0a99cb06e8b64986f66253b613336719fb86b82541b SHA512 9a8cb5d11964ba88b7624f19ec861fb28701f23956ea3c92f6ac644332d5f41fde97bd8933dd3ee70ed378058c252fa3a3887c8d1af90d219970c2b27691166f diff --git a/dev-python/clang-python/clang-python-15.0.4.ebuild b/dev-python/clang-python/clang-python-15.0.4.ebuild deleted file mode 100644 index 6df2aac003e1..000000000000 --- a/dev-python/clang-python/clang-python-15.0.4.ebuild +++ /dev/null @@ -1,53 +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 llvm.org python-r1 - -DESCRIPTION="Python bindings for sys-devel/clang" -HOMEPAGE="https://llvm.org/" - -LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -# The module is opening libclang.so directly, and doing some blasphemy -# on top of it. -DEPEND=" - >=sys-devel/clang-${PV}:* - !sys-devel/llvm:0[clang(-),python(-)] - !sys-devel/clang:0[python(-)] -" -RDEPEND=" - ${DEPEND} - ${PYTHON_DEPS} -" -BDEPEND=" - ${PYTHON_DEPS} - test? ( - sys-devel/clang:${LLVM_MAJOR} - ) -" - -LLVM_COMPONENTS=( clang/bindings/python ) -llvm.org_set_globals - -python_test() { - # tests rely on results from a specific clang version, so override - # the search path - local -x CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir) - "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" -} - -src_test() { - python_foreach_impl python_test -} - -src_install() { - python_foreach_impl python_domodule clang -} diff --git a/dev-python/clang-python/clang-python-16.0.0_pre20221113.ebuild b/dev-python/clang-python/clang-python-16.0.0_pre20221126.ebuild index f0edde68d67f..f0edde68d67f 100644 --- a/dev-python/clang-python/clang-python-16.0.0_pre20221113.ebuild +++ b/dev-python/clang-python/clang-python-16.0.0_pre20221126.ebuild diff --git a/dev-python/convertdate/Manifest b/dev-python/convertdate/Manifest index e5acebd36276..edba38e8ed1a 100644 --- a/dev-python/convertdate/Manifest +++ b/dev-python/convertdate/Manifest @@ -1,2 +1,2 @@ DIST convertdate-2.3.2.tar.gz 52155 BLAKE2B 607e5b0ec3c4bc664cec51c32c68ccec0676f72e839c9d094fb901ce1ae154c759f5bded34f5654562ae1e74111c4ee263159ae46cb545b2cfae81af343511f4 SHA512 a1c70564fafc697a5fb941d32603e8bfae565089a1a37bc3c2f8793bf926e6e97c752ffddb9192ae54e37ccafb0a02969b9f9086875595f1eb97cf264f96fde9 -DIST convertdate-2.4.0.tar.gz 52728 BLAKE2B 1ee45f86c1a424f479a0a01d7f048a861cea9a25e82adade8dc26182064428b27dac98012d9a1e6afc7412f27366dd3d06ecc8d881eb6946d24a037305bb5c57 SHA512 d6b63000fd72640d69afa12b5f942684fa1c2f52880bc76e78780f144848040176a7869cd7b95a502abfd5b8fe1ebc3c844f3eb261e2ad547e6be493b11cd432 +DIST convertdate-2.4.0.gh.tar.gz 52728 BLAKE2B 1ee45f86c1a424f479a0a01d7f048a861cea9a25e82adade8dc26182064428b27dac98012d9a1e6afc7412f27366dd3d06ecc8d881eb6946d24a037305bb5c57 SHA512 d6b63000fd72640d69afa12b5f942684fa1c2f52880bc76e78780f144848040176a7869cd7b95a502abfd5b8fe1ebc3c844f3eb261e2ad547e6be493b11cd432 diff --git a/dev-python/convertdate/convertdate-2.4.0.ebuild b/dev-python/convertdate/convertdate-2.4.0.ebuild index 658b53a1fe75..31362c97b175 100644 --- a/dev-python/convertdate/convertdate-2.4.0.ebuild +++ b/dev-python/convertdate/convertdate-2.4.0.ebuild @@ -9,7 +9,7 @@ inherit distutils-r1 DESCRIPTION="Utils for converting between date formats and calculating holidays" HOMEPAGE="https://github.com/fitnr/convertdate" -SRC_URI="https://github.com/fitnr/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI="https://github.com/fitnr/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" LICENSE="MIT" SLOT="0" @@ -19,5 +19,6 @@ RDEPEND="dev-python/pymeeus[${PYTHON_USEDEP}]" distutils_enable_tests pytest -# TODO: requires myst_parser -#distutils_enable_sphinx docs dev-python/sphinx_rtd_theme +distutils_enable_sphinx docs \ + dev-python/myst-parser \ + dev-python/sphinx_rtd_theme diff --git a/dev-python/databases/databases-0.6.1.ebuild b/dev-python/databases/databases-0.6.1.ebuild index 76ac562e5f73..049cfe8e0172 100644 --- a/dev-python/databases/databases-0.6.1.ebuild +++ b/dev-python/databases/databases-0.6.1.ebuild @@ -3,12 +3,12 @@ EAPI=8 -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) -DISTUTILS_USE_PEP517=setuptools - DOCS_BUILDER="mkdocs" +DOCS_AUTODOC=1 DOCS_DEPEND="dev-python/mkdocs-material" +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +DISTUTILS_USE_PEP517=setuptools inherit databases distutils-r1 docs optfeature DESCRIPTION="Async database support for Python" @@ -38,16 +38,6 @@ BDEPEND="test? ( distutils_enable_tests pytest -EEPYTEST_DESELECT=( - tests/test_connection_options.py::test_mysql_pool_size - tests/test_connection_options.py::test_mysql_explicit_pool_size - tests/test_connection_options.py::test_mysql_ssl - tests/test_connection_options.py::test_mysql_explicit_ssl - tests/test_connection_options.py::test_mysql_pool_recycle - tests/test_databases.py - tests/test_integration.py::test_integration -) - python_prepare_all() { # fix tests #sed -i -e '/databases.backends.mysql/d' tests/test_connection_options.py || die diff --git a/dev-python/dateparser/Manifest b/dev-python/dateparser/Manifest new file mode 100644 index 000000000000..bb72cce7d1bb --- /dev/null +++ b/dev-python/dateparser/Manifest @@ -0,0 +1 @@ +DIST dateparser-1.1.4.tar.gz 294406 BLAKE2B 5e13a76f1a11dfdb322494a06f288b404149f22481beaf991b0256874aaabb65120fb3e217da5f18d3152cd1786354e2dc8a237591821458be27d5cbac6beac0 SHA512 a20f821dea1ec8e6eb7033de91b1e74777607c4b31286a87e06d85c7278dad3c164ddc88640e0372d9f32eed72a40e28c58bea26a77fdc01c59d2d9fc70bb2d7 diff --git a/dev-python/dateparser/dateparser-1.1.4.ebuild b/dev-python/dateparser/dateparser-1.1.4.ebuild new file mode 100644 index 000000000000..58e537acd117 --- /dev/null +++ b/dev-python/dateparser/dateparser-1.1.4.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 optfeature + +DESCRIPTION="Date parsing library designed to parse dates from HTML pages" +HOMEPAGE="https://github.com/scrapinghub/dateparser" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD-4" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + dev-python/regex[${PYTHON_USEDEP}] + dev-python/tzlocal[${PYTHON_USEDEP}] +" +BDEPEND="test? ( + dev-libs/fastText[python,${PYTHON_USEDEP}] + dev-python/convertdate[${PYTHON_USEDEP}] + dev-python/hijri-converter[${PYTHON_USEDEP}] + dev-python/langdetect[${PYTHON_USEDEP}] + dev-python/parameterized[${PYTHON_USEDEP}] +)" + +EPYTEST_IGNORE=( + # tests that require network + tests/test_dateparser_data_integrity.py +) + +EPYTEST_DESELECT=( + # tests that require network + tests/test_language_detect.py::CustomLangDetectParserTest::test_custom_language_detect_fast_text_{0,1} +) + +distutils_enable_tests pytest + +distutils_enable_sphinx docs \ + dev-python/sphinx_rtd_theme + +pkg_postinst() { + optfeature "calendars support" "dev-python/hijri-converter dev-python/convertdate" + optfeature "fasttext support" "dev-libs/fastText[python]" + optfeature "langdetect support" dev-python/langdetect +} diff --git a/dev-python/dateparser/metadata.xml b/dev-python/dateparser/metadata.xml new file mode 100644 index 000000000000..ddb5b0f1787e --- /dev/null +++ b/dev-python/dateparser/metadata.xml @@ -0,0 +1,10 @@ +<?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> + + <origin>gentoo-guru-overlay</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/desktop-notifier/Manifest b/dev-python/desktop-notifier/Manifest index da5b9a9c9d52..e87196e9bea6 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.1.gh.tar.gz 4598112 BLAKE2B 8370f92d30bd2f761859890bca8c144237081f973da41a0c259da15c8581f720d34a24793a964985d14c40cb08b9d2871f75667b4d8828376687f7d0d24d9d19 SHA512 ce97b62e9a0ece97c8453e162cb0fd25876e42f4e5d8c5422e1ca896d37541e9c68b01f6d26fb7250f7d991343710ee085550ed0f82318eb5c67914a13399eb6 +DIST desktop-notifier-3.4.2.gh.tar.gz 4598129 BLAKE2B 61f2b7386e351e3f5bb936af147a127e66e16520b92aaedbe2c2570ffb33ca15e13ba3f46f2953c8fafd2e01c9d85bad00505f1e071f63a2412f39828204a6a2 SHA512 e00f3a33f2e6d719b8c293640049ad7238fb071cd2bc73d8b5bde538f761868d1498de110f052764b5be5bf8f42d6055e6364db2fdfaebdeeb0f608bf74dd511 diff --git a/dev-python/desktop-notifier/desktop-notifier-3.4.1.ebuild b/dev-python/desktop-notifier/desktop-notifier-3.4.2.ebuild index 38ea137c4d95..38ea137c4d95 100644 --- a/dev-python/desktop-notifier/desktop-notifier-3.4.1.ebuild +++ b/dev-python/desktop-notifier/desktop-notifier-3.4.2.ebuild diff --git a/dev-python/django-bleach/Manifest b/dev-python/django-bleach/Manifest new file mode 100644 index 000000000000..db9061a7e401 --- /dev/null +++ b/dev-python/django-bleach/Manifest @@ -0,0 +1 @@ +DIST django-bleach-3.0.1.tar.gz 22219 BLAKE2B 34da4564ddf5318d1aac3b3debb5ce4c2e73fba5ddca168e5dea551dd0b569cb491c4cea1ae3be6b8b95874c71ef414350f4561bc3b9c4a41dff82608a63d94e SHA512 2801a9b39fd17aa5374264c693b2847bf0fee16ccbcb6d7e4b007c7707a728b1053094e474442dbd48afaa054de3b682210d5b24a7f237253144c8eced23ebd3 diff --git a/dev-python/django-bleach/django-bleach-3.0.1.ebuild b/dev-python/django-bleach/django-bleach-3.0.1.ebuild new file mode 100644 index 000000000000..31e7d3ef7051 --- /dev/null +++ b/dev-python/django-bleach/django-bleach-3.0.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +DESCRIPTION="Easily use bleach with Django models and templates" +HOMEPAGE=" + https://pypi.org/project/django-bleach/ + https://github.com/marksweb/django-bleach +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-python/bleach[${PYTHON_USEDEP}] + dev-python/django[${PYTHON_USEDEP}] + dev-python/tinycss2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( ${RDEPEND} ) +" + +distutils_enable_sphinx docs + +python_test() { + "${EPYTHON}" testproject/manage.py test -v 2 django_bleach +} diff --git a/dev-python/django-bleach/metadata.xml b/dev-python/django-bleach/metadata.xml new file mode 100644 index 000000000000..ddb5b0f1787e --- /dev/null +++ b/dev-python/django-bleach/metadata.xml @@ -0,0 +1,10 @@ +<?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> + + <origin>gentoo-guru-overlay</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/django-markdownify/Manifest b/dev-python/django-markdownify/Manifest new file mode 100644 index 000000000000..c6cddc2a18c8 --- /dev/null +++ b/dev-python/django-markdownify/Manifest @@ -0,0 +1 @@ +DIST django-markdownify-0.9.2.gh.tar.gz 12143 BLAKE2B 6104d96e9fe1d2d093be8585d7a21c078735ac094ff3454f5403b22f79a8c256504a93a6ae51b58363b4bfe5af2ec7f7c5747b79eb97e6f347a6e6b2f18f985b SHA512 8dfa52942a52b6feb8a1e79edf4bdb334a7ed89ed749c1a664a8264fe0a2686fc9ec6eca30793c0c0d84015c14f4d18b8444ac79952b0f3d60db6e6035182e8c diff --git a/dev-python/django-markdownify/django-markdownify-0.9.2.ebuild b/dev-python/django-markdownify/django-markdownify-0.9.2.ebuild new file mode 100644 index 000000000000..3bd03aa0ca9d --- /dev/null +++ b/dev-python/django-markdownify/django-markdownify-0.9.2.ebuild @@ -0,0 +1,42 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +DESCRIPTION="Markdown template filter for Django" +HOMEPAGE=" + https://pypi.org/project/django-markdownify/ + https://github.com/erwinmatijsen/django-markdownify +" +SRC_URI="https://github.com/erwinmatijsen/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +# No Django settings to run tests +RESTRICT="test" + +RDEPEND=" + dev-python/bleach[${PYTHON_USEDEP}] + dev-python/django[${PYTHON_USEDEP}] + dev-python/markdown[${PYTHON_USEDEP}] + dev-python/tinycss2[${PYTHON_USEDEP}] + !dev-python/markdownify +" +BDEPEND=" + test? ( ${RDEPEND} ) + doc? ( dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}] ) +" + +distutils_enable_sphinx docs/source --no-autodoc + +python_test() { + "${EPYTHON}" -m django test -v 2 --settings test_app.settings || + die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/django-markdownify/metadata.xml b/dev-python/django-markdownify/metadata.xml new file mode 100644 index 000000000000..ddb5b0f1787e --- /dev/null +++ b/dev-python/django-markdownify/metadata.xml @@ -0,0 +1,10 @@ +<?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> + + <origin>gentoo-guru-overlay</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/django-widget-tweaks/Manifest b/dev-python/django-widget-tweaks/Manifest new file mode 100644 index 000000000000..9f05b973ec01 --- /dev/null +++ b/dev-python/django-widget-tweaks/Manifest @@ -0,0 +1 @@ +DIST django-widget-tweaks-1.4.12.gh.tar.gz 13174 BLAKE2B 2583d67aa5e8b96c5f53f363722ecdb2a0d312d66e61cea8e5702d1f5950509416a0b9a7f24936c6148ab5b7cf8a69d7e6843e7d0c5923aad93235b1785d129c SHA512 162f6a6c9ef55e08d49c26c6341766ad04f017157002b5ce8dad9da71eaf921df14b48b7097bcf67cb746861c52c963730b91fc1a736bff199112843bc7a9cca diff --git a/dev-python/django-widget-tweaks/django-widget-tweaks-1.4.12.ebuild b/dev-python/django-widget-tweaks/django-widget-tweaks-1.4.12.ebuild new file mode 100644 index 000000000000..430d26ccb341 --- /dev/null +++ b/dev-python/django-widget-tweaks/django-widget-tweaks-1.4.12.ebuild @@ -0,0 +1,36 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +DESCRIPTION="Tweak the form field rendering in templates" +HOMEPAGE=" + https://pypi.org/project/django-widget-tweaks/ + https://github.com/jazzband/django-widget-tweaks +" +SRC_URI="https://github.com/jazzband/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-python/django[${PYTHON_USEDEP}]" +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( ${RDEPEND} ) +" + +DOCS=( {CHANGES,README}.rst {CODE_OF_CONDUCT,CONTRIBUTING}.md ) + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +python_test() { + "${EPYTHON}" -m django test -v 2 --settings tests.settings || + die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/django-widget-tweaks/metadata.xml b/dev-python/django-widget-tweaks/metadata.xml new file mode 100644 index 000000000000..ddb5b0f1787e --- /dev/null +++ b/dev-python/django-widget-tweaks/metadata.xml @@ -0,0 +1,10 @@ +<?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> + + <origin>gentoo-guru-overlay</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/doubles/doubles-1.5.3.ebuild b/dev-python/doubles/doubles-1.5.3.ebuild index 69c432bce4e9..26c2228f9826 100644 --- a/dev-python/doubles/doubles-1.5.3.ebuild +++ b/dev-python/doubles/doubles-1.5.3.ebuild @@ -3,8 +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 DESCRIPTION="Test doubles for Python" @@ -16,7 +16,11 @@ LICENSE="MIT" KEYWORDS="~amd64" RDEPEND="dev-python/six[${PYTHON_USEDEP}]" -BDEPEND="test? ( dev-python/nose )" +BDEPEND=" + test? ( + dev-python/nose[${PYTHON_USEDEP}] + ) +" DOCS=( CHANGES.rst CONTRIBUTING.rst README.rst ) diff --git a/dev-python/flask-htmlmin/Manifest b/dev-python/flask-htmlmin/Manifest index dd4c6f1b4626..27f83b17100f 100644 --- a/dev-python/flask-htmlmin/Manifest +++ b/dev-python/flask-htmlmin/Manifest @@ -1,2 +1 @@ -DIST Flask-HTMLmin-2.2.0.gh.tar.gz 17637 BLAKE2B 541ae212ba5bfd5e5881adb108d62c994248a7f851512d0fddedb001737620433cb46e267cdd66de73a353c6b357802eb89ea33c771153bc0acf3937c06f83c3 SHA512 24287ef93e99a16e7dde35ba6b7b8fefa06f11ce30fb47969313c3e0e1135ac8a2685aac06bc430d3253162f4f2bc7e8eed90ddda2092bbad092d4e0d09cb4fc DIST Flask-HTMLmin-2.2.1.gh.tar.gz 17550 BLAKE2B 30393f6739ba8bdcfc17586e0955dff4341707b3c5bc27e30e9f9ddd5d4ff5b5b1b71b512b034b3b09cab3bfbcfb47c1651bc8cedba597de8aca5f2c7cfc0907 SHA512 34d5c9e2393901b32ab43c4333d87d75b489a410af2fdb019c180d0cb7bac01074616125486b49ef577782311a394bde6444ce311d5ab4f2ae2852a3ea92f4cd diff --git a/dev-python/flask-htmlmin/flask-htmlmin-2.2.0.ebuild b/dev-python/flask-htmlmin/flask-htmlmin-2.2.0.ebuild deleted file mode 100644 index 0ad31e048245..000000000000 --- a/dev-python/flask-htmlmin/flask-htmlmin-2.2.0.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -MY_P="Flask-HTMLmin-${PV}" - -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) -inherit distutils-r1 - -DESCRIPTION="Minimize your flask rendered html" -HOMEPAGE="https://github.com/hamidfzm/Flask-HTMLmin" -SRC_URI=" - https://github.com/hamidfzm/Flask-HTMLmin/archive/v${PV}.tar.gz - -> ${MY_P}.gh.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 x86" - -RDEPEND=" - app-text/cssmin[${PYTHON_USEDEP}] - app-text/htmlmin[${PYTHON_USEDEP}] - dev-python/flask[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -src_prepare() { - sed -e '/pytest-runner/d' -i setup.py || die - distutils-r1_src_prepare -} diff --git a/dev-python/flask-htmlmin/flask-htmlmin-2.2.1.ebuild b/dev-python/flask-htmlmin/flask-htmlmin-2.2.1.ebuild index 9e758aabb593..bbef50e54f2d 100644 --- a/dev-python/flask-htmlmin/flask-htmlmin-2.2.1.ebuild +++ b/dev-python/flask-htmlmin/flask-htmlmin-2.2.1.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P} LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" RDEPEND=" app-text/cssmin[${PYTHON_USEDEP}] diff --git a/dev-python/fonttools/Manifest b/dev-python/fonttools/Manifest index 71afc9430093..76c427c4e6e1 100644 --- a/dev-python/fonttools/Manifest +++ b/dev-python/fonttools/Manifest @@ -1,2 +1 @@ -DIST fonttools-4.37.4.gh.tar.gz 3595501 BLAKE2B 0b3e9e40ca73e1a612d632116c57d1ef9d641a759bdc570c3389ee603b0d8d98974a41fc0339e6dd4ec0cdbfdb9c5905afcf28b33e39eac6c4dcdba6fe64e860 SHA512 9e9c49732ca1e16a8d5b294423939297278d544456b37f5fd3b1f3eece8d9100834f8d7a8dee5908006a27419fbda06180ac588de5046a59fb243d728314939c DIST fonttools-4.38.0.gh.tar.gz 3603281 BLAKE2B 8ec558c35cc10b32760eb199dce7c40934210db9ba8c9b0ad7a8cd2ca206260d2d73769bd1ff4cb597dd46cd50a42d733c967199120366e22abc5ee2b81e0919 SHA512 438694e7a4c19ee63ab504763793c0219d96fdc58095fe55a4f44726e96a3ec8ae63066aa47a341a059c7a2c9893b9bbbdfc8ab4d75c177cbd90986debc31431 diff --git a/dev-python/fonttools/fonttools-4.37.4.ebuild b/dev-python/fonttools/fonttools-4.37.4.ebuild deleted file mode 100644 index 8dc6759303d7..000000000000 --- a/dev-python/fonttools/fonttools-4.37.4.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# 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} ) -PYTHON_REQ_USE="xml(+)" - -inherit distutils-r1 virtualx - -DESCRIPTION="Library for manipulating TrueType, OpenType, AFM and Type1 fonts" -HOMEPAGE=" - https://github.com/fonttools/fonttools/ - https://pypi.org/project/fonttools/ -" -SRC_URI=" - https://github.com/fonttools/fonttools/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" - -RDEPEND=" - >=dev-python/fs-2.4.9[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/cython[${PYTHON_USEDEP}] - test? ( - app-arch/brotli[python,${PYTHON_USEDEP}] - app-arch/zopfli - ) -" - -distutils_enable_tests pytest - -python_prepare_all() { - # When dev-python/pytest-shutil is installed, we get weird import errors. - # This is due to incomplete nesting in the Tests/ tree: - # - # Tests/feaLib/__init__.py - # Tests/ufoLib/__init__.py - # Tests/svgLib/path/__init__.py - # Tests/otlLib/__init__.py - # Tests/varLib/__init__.py - # - # This tree requires an __init__.py in Tests/svgLib/ too, bug #701148. - touch Tests/svgLib/__init__.py || die - - distutils-r1_python_prepare_all -} - -src_configure() { - export FONTTOOLS_WITH_CYTHON=1 -} - -src_test() { - # virtualx used when matplotlib is installed causing plot module tests to run - virtx distutils-r1_src_test -} - -python_test() { - epytest Tests fontTools || die "Tests failed with ${EPYTHON}" -} diff --git a/dev-python/fonttools/fonttools-4.38.0.ebuild b/dev-python/fonttools/fonttools-4.38.0.ebuild index 3be6ba946b91..8dc6759303d7 100644 --- a/dev-python/fonttools/fonttools-4.38.0.ebuild +++ b/dev-python/fonttools/fonttools-4.38.0.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc ~x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" RDEPEND=" >=dev-python/fs-2.4.9[${PYTHON_USEDEP}] diff --git a/dev-python/fsspec/Manifest b/dev-python/fsspec/Manifest index 443e8838c999..5fcdcba553fb 100644 --- a/dev-python/fsspec/Manifest +++ b/dev-python/fsspec/Manifest @@ -1,3 +1,2 @@ DIST filesystem_spec-2022.10.0.gh.tar.gz 338829 BLAKE2B 93d0f878218d750f605d0f6cb7011504d3b5325ec9d80bad3e4d0f2c51e7494c751478958131bb6522ad5c3144a129a508b948a114f3a6c55d43b9a206b46a2b SHA512 ac8d9118df9b69c082e0707990ff29bdd7576534622be8fc1a10e8cc14d1d3a328fc8e022dc9f316af3da4afb4d38fe3fb533222aa89c47d4d49a296c6b9bf6b DIST filesystem_spec-2022.11.0.gh.tar.gz 341250 BLAKE2B 690528af9882cc8a23f78d215efbeb4f9c9f6f0a04f6a0a6f75d55a5ed8f84f92f988824921f2b26cc4cc0e7a6406d322affe65c9cd99cba7bbe4a6c01ed3382 SHA512 b52af1da0afbc686d288954ac596d9dae23c393c457fcc5ab6a11c7bd8d6a20fa1f631e1837f1d0054534a9a1231afb0cb6f8f899cf169789146309f03699e75 -DIST filesystem_spec-2022.8.2.gh.tar.gz 338446 BLAKE2B 0f3b78794271b367d8e5d26ff889e7d72df7148baa7ca2e7dca3884cbeff74b41f5ce1a532fa768523f29d230f574e630fb3de43b767ace874f831a4d2a47e1f SHA512 696f726000c413ba78380b5e17e312ecca30b51093ebf8d7c3658fb7b82ace57223d3aac471e3a772d350523142bdf983b547277838cca0b182ecb4e0a4b3924 diff --git a/dev-python/fsspec/fsspec-2022.10.0.ebuild b/dev-python/fsspec/fsspec-2022.10.0.ebuild index b8dad9991409..6a068e59068d 100644 --- a/dev-python/fsspec/fsspec-2022.10.0.ebuild +++ b/dev-python/fsspec/fsspec-2022.10.0.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P} LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv x86" BDEPEND=" test? ( diff --git a/dev-python/fsspec/fsspec-2022.8.2-r1.ebuild b/dev-python/fsspec/fsspec-2022.8.2-r1.ebuild deleted file mode 100644 index 6a068e59068d..000000000000 --- a/dev-python/fsspec/fsspec-2022.8.2-r1.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 2020-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 - -MY_P=filesystem_spec-${PV} -DESCRIPTION="A specification that python filesystems should adhere to" -HOMEPAGE=" - https://github.com/fsspec/filesystem_spec/ - https://pypi.org/project/fsspec/ -" -SRC_URI=" - https://github.com/fsspec/filesystem_spec/archive/${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv x86" - -BDEPEND=" - test? ( - dev-python/aiohttp[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/tqdm[${PYTHON_USEDEP}] - dev-vcs/git - ) -" - -distutils_enable_tests pytest - -src_test() { - git config --global user.email "you@example.com" || die - git config --global user.name "Your Name" || die - distutils-r1_src_test -} - -EPYTEST_DESELECT=( - fsspec/tests/test_spec.py::test_find -) - -EPYTEST_IGNORE=( - # sftp and smb require server started via docker - fsspec/implementations/tests/test_dbfs.py - fsspec/implementations/tests/test_sftp.py - fsspec/implementations/tests/test_smb.py - # unhappy about dev-python/fuse-python (?) - fsspec/tests/test_fuse.py -) diff --git a/dev-python/gssapi/Manifest b/dev-python/gssapi/Manifest index dd33dc315b35..edea378bf1b1 100644 --- a/dev-python/gssapi/Manifest +++ b/dev-python/gssapi/Manifest @@ -1,2 +1 @@ -DIST gssapi-1.8.1.gh.tar.gz 114888 BLAKE2B c3e56d00c2266e16eca05262d513e62f30cece88aaea8cd6f0d65059777f55bc1d5218990698855dc2069c6c7d8ca93972a033554d114dce608201404f7f46b4 SHA512 baea4e5cc123006c77e23f6bf2e30bb755df70761a0e5af711594fad6fdbf1b8747cfce45810aa24336f7f7d2171404e9ec137984cb48c59f5df302711f1b185 DIST gssapi-1.8.2.gh.tar.gz 112521 BLAKE2B d7e14c73c346066a58ae3b3cf1faeec2ef7df3d4da3f2c9e3198928225d81d99466185a9dfa06a59ae50beeeed58d4e73f8a668e1ac605e5b9806ed7a0019831 SHA512 6587f1947dc396bf608ba71e77388e6f7d161753005b9b82ea9f3b174c898bb18409a27e9aa035fc782e15fcd2efe7ca5c497d4687d69023034cea59d6a003df diff --git a/dev-python/gssapi/gssapi-1.8.1.ebuild b/dev-python/gssapi/gssapi-1.8.1.ebuild deleted file mode 100644 index 0c1d93398571..000000000000 --- a/dev-python/gssapi/gssapi-1.8.1.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# 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="Low and high level wrappers around the GSSAPI C libraries" -HOMEPAGE="https://github.com/pythongssapi/python-gssapi https://pypi.org/project/gssapi/" -SRC_URI=" - https://github.com/pythongssapi/python-gssapi/releases/download/v${PV}/python-${P}.tar.gz - -> ${P}.gh.tar.gz -" -S="${WORKDIR}"/python-${P} - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~riscv x86" - -RDEPEND=" - dev-python/decorator[${PYTHON_USEDEP}] - virtual/krb5 -" - -BDEPEND=" - dev-python/cython[${PYTHON_USEDEP}] - virtual/krb5 - test? ( - dev-python/k5test[${PYTHON_USEDEP}] - dev-python/parameterized[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - cd "${T}" || die - epytest --pyargs gssapi -} diff --git a/dev-python/gssapi/gssapi-1.8.2.ebuild b/dev-python/gssapi/gssapi-1.8.2.ebuild index a8d10c65cfe2..0c1d93398571 100644 --- a/dev-python/gssapi/gssapi-1.8.2.ebuild +++ b/dev-python/gssapi/gssapi-1.8.2.ebuild @@ -18,7 +18,7 @@ S="${WORKDIR}"/python-${P} LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm arm64 ~riscv ~x86" +KEYWORDS="amd64 ~arm arm64 ~riscv x86" RDEPEND=" dev-python/decorator[${PYTHON_USEDEP}] diff --git a/dev-python/hcloud-python/Manifest b/dev-python/hcloud-python/Manifest index f3fe8c03acb3..150e9e1f1054 100644 --- a/dev-python/hcloud-python/Manifest +++ b/dev-python/hcloud-python/Manifest @@ -1,2 +1 @@ -DIST hcloud-python-1.18.0.gh.tar.gz 99047 BLAKE2B c32b048653bea1910ed8a82d0e08603a154dc89208c0cf8b9e046078277460fedffe6568c7c3cf56a8408bb0423d38464c4fd57dded4523886560823e3ee65da SHA512 8339b5da4df7f5e1f38fbd7a3f205387bfd7a65a7c4eaa757c4c35056b70c06230fe9b8a597b54bac082af975184bd5ef33a6e2747b60a67cc34d6771435452c DIST hcloud-python-1.18.1.gh.tar.gz 99042 BLAKE2B 159b2fb29021ca7993f75c4731867ed1bc57e2c9a3cf68a45acf43bb45e9a0862717907d1dfce45c960064ad82b71422e76b290db3516ea3744be95797db5e1e SHA512 6d172c214d25ae846b5561e4caa6b70d4f4e765e064ae971d5b216ceb743ab269f735e2c9adb68f1cf99ef429621b6998a34c8c7befa6d527dc3b774c0639bae diff --git a/dev-python/hcloud-python/hcloud-python-1.18.0.ebuild b/dev-python/hcloud-python/hcloud-python-1.18.0.ebuild deleted file mode 100644 index 781bf19ef473..000000000000 --- a/dev-python/hcloud-python/hcloud-python-1.18.0.ebuild +++ /dev/null @@ -1,40 +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="Official Hetzner Cloud python library" -HOMEPAGE="https://github.com/hetznercloud/hcloud-python" -SRC_URI=" - https://github.com/hetznercloud/${PN}/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64" -IUSE="doc examples" - -RDEPEND=" - >=dev-python/future-0.17.1[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.7.5[${PYTHON_USEDEP}] - >=dev-python/requests-2.20[${PYTHON_USEDEP}] -" - -distutils_enable_sphinx docs \ - dev-python/sphinx_rtd_theme -distutils_enable_tests pytest - -python_install_all() { - use examples && dodoc -r examples - distutils-r1_python_install_all -} - -python_test() { - # Integration tests need docker: - # https://github.com/hetznercloud/hcloud-python/blob/master/.travis.yml#L16 - epytest --ignore tests/integration -} diff --git a/dev-python/hcloud-python/hcloud-python-1.18.1.ebuild b/dev-python/hcloud-python/hcloud-python-1.18.1.ebuild index 7c1e8644c48b..23fc13e040bb 100644 --- a/dev-python/hcloud-python/hcloud-python-1.18.1.ebuild +++ b/dev-python/hcloud-python/hcloud-python-1.18.1.ebuild @@ -16,7 +16,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="amd64" IUSE="examples" RDEPEND=" diff --git a/dev-python/http_ece/Manifest b/dev-python/http_ece/Manifest new file mode 100644 index 000000000000..c958f55b267c --- /dev/null +++ b/dev-python/http_ece/Manifest @@ -0,0 +1 @@ +DIST http_ece-1.1.0.gh.tar.gz 19406 BLAKE2B 3347d318ac30c14d6d0b6149746c6dd8ad1681664c165a1dd89858cc50b04452db1576841280f44fe701ca0cb662dad6cbf4c44188b24dad9863185f76e0839d SHA512 22e5d23258c8a4216d63ee0c0e2765dfc742a1887baddca337cce090213e78c8849de01e3bd83c92628eb85ecdbcd6ad4e0462a47fde741028b83cb972865908 diff --git a/dev-python/http_ece/http_ece-1.1.0.ebuild b/dev-python/http_ece/http_ece-1.1.0.ebuild new file mode 100644 index 000000000000..daed2fc8047f --- /dev/null +++ b/dev-python/http_ece/http_ece-1.1.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 + +MY_PN="encrypted-content-encoding" +DESCRIPTION="Encrypted Content Encoding for HTTP" +HOMEPAGE=" + https://pypi.org/project/http-ece/ + https://github.com/martinthomson/encrypted-content-encoding +" +SRC_URI="https://github.com/martinthomson/${MY_PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" +S="${WORKDIR}/${MY_PN}-${PV}/python" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="dev-python/cryptography[${PYTHON_USEDEP}]" + +distutils_enable_tests nose diff --git a/dev-python/http_ece/metadata.xml b/dev-python/http_ece/metadata.xml new file mode 100644 index 000000000000..ddb5b0f1787e --- /dev/null +++ b/dev-python/http_ece/metadata.xml @@ -0,0 +1,10 @@ +<?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> + + <origin>gentoo-guru-overlay</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/httpauth/files/httpauth-0.3-remove-nose-dependency.patch b/dev-python/httpauth/files/httpauth-0.3-remove-nose-dependency.patch new file mode 100644 index 000000000000..5cb607c2bb4c --- /dev/null +++ b/dev-python/httpauth/files/httpauth-0.3-remove-nose-dependency.patch @@ -0,0 +1,40 @@ +commit d57060ebaeca8cd38e03cc64f9ee0996e83b50a9 +Author: Jonas Haag <jonas@lophus.org> +Date: Thu Apr 21 08:58:36 2022 +0200 + + Move CI to GHA (#3) + +--- a/tests.py ++++ b/tests.py +@@ -10,7 +10,7 @@ except ImportError: # Python 2 + + from httpauth import DictHttpAuthMiddleware, DigestFileHttpAuthMiddleware, md5_str + +-from nose.tools import raises ++import pytest + + + def parse_dict_header(value): +@@ -121,16 +121,16 @@ def test_without_realm(): + assert 'Digest realm=""' in response.headers['WWW-Authenticate'] + + +-@raises(ValueError) + def test_invalid_digestfile_1(): +- DigestFileHttpAuthMiddleware(StringIO('u::realm:hash'), +- wsgi_app=wsgi_app) ++ with pytest.raises(ValueError): ++ DigestFileHttpAuthMiddleware(StringIO('u::realm:hash'), ++ wsgi_app=wsgi_app) + + +-@raises(ValueError) + def test_invalid_digestfile_2(): +- DigestFileHttpAuthMiddleware(StringIO('u:realm:hash\nu2:realm2:hash2'), +- wsgi_app=wsgi_app) ++ with pytest.raises(ValueError): ++ DigestFileHttpAuthMiddleware(StringIO('u:realm:hash\nu2:realm2:hash2'), ++ wsgi_app=wsgi_app) + + + def test_ticket_1(): diff --git a/dev-python/httpauth/httpauth-0.3-r1.ebuild b/dev-python/httpauth/httpauth-0.3-r1.ebuild index 18c2cd9326b0..743b8b937ad3 100644 --- a/dev-python/httpauth/httpauth-0.3-r1.ebuild +++ b/dev-python/httpauth/httpauth-0.3-r1.ebuild @@ -16,4 +16,12 @@ LICENSE="ISC" SLOT="0" KEYWORDS="~amd64 ~x86" -distutils_enable_tests nose +PATCHES=( + "${FILESDIR}/${P}-remove-nose-dependency.patch" +) + +distutils_enable_tests pytest + +python_test() { + epytest tests.py +} diff --git a/dev-python/httpcore/Manifest b/dev-python/httpcore/Manifest index 0280ae5cd981..822acee8b4a6 100644 --- a/dev-python/httpcore/Manifest +++ b/dev-python/httpcore/Manifest @@ -2,3 +2,4 @@ DIST httpcore-0.15.0-h11-0.14.patch 7087 BLAKE2B 08a7b1a155392637cea9b6d59d01fc6 DIST httpcore-0.15.0.gh.tar.gz 76220 BLAKE2B e9a346d4f77cde82be5a3eb468123ae453753e57b54382f0b2c60b16afd3433cba173d9a796df20d76edbd8b5bcf2d61c32302bdd30c8d587036b3ac6f0425fd SHA512 3c25630d582448e3c7d46176c8862e4d92c6c4aac954bfe46b06e26297b32f996db2e002a87c7187accb5bf4ef86e82d7f9051404bee651ce5254119571d0c95 DIST httpcore-0.16.0.gh.tar.gz 77020 BLAKE2B 0a6000c6e74204a8b90e32739344cca1e76dae73e53c6bee1d2bec16eb7aef11df761cf2cbee879f34a4995b5c8d0fc4a12bec23b07a58c1f06a06e2e1c4166d SHA512 28b6ba9f167f87ba8dadd3187248407c61c9770e27a1a281b6a0eb25e0a8966b3aa80587f00c8d92cdda44ffbe6f4af19adcecaa775ef59fa23492fa35be5323 DIST httpcore-0.16.1.gh.tar.gz 78091 BLAKE2B 21e5ad922c7190299336a4b0a7efc3689027b9f7208f7276526080460aca3a52c32b2c0db80cbae8d9a40e90aca27c03eed6f5e67a8b9d3d28b97e8bb655d7ab SHA512 a160a02b6c33cdedc1cea6b72cca7e8742ac97333b6d1a3931711f10e397d5e0ba03b2c191e0a7700a1ecd667cbcac4246ef29450da8472ebcc7f19602d8b39d +DIST httpcore-0.16.2.gh.tar.gz 78465 BLAKE2B f028bc524dcf865b5213d4ff21dcfff525ac34d4dfa1301ebc56392f3082b3b76b6ec1da5e50a01c416cd09d53ad5edd5f2a6d6d4f9dd78e8a579812c0cebc36 SHA512 d11fe4f6a59e2dc1bce6724941db5978f0863f73e39786121f775d9c1702a32741de2cb4a0588fc907294d1b244713222cc57ef19a0d66e4075075c621f17d9b diff --git a/dev-python/httpcore/httpcore-0.16.2.ebuild b/dev-python/httpcore/httpcore-0.16.2.ebuild new file mode 100644 index 000000000000..5371c53984a9 --- /dev/null +++ b/dev-python/httpcore/httpcore-0.16.2.ebuild @@ -0,0 +1,48 @@ +# 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} pypy3 ) + +inherit distutils-r1 optfeature + +DESCRIPTION="A minimal low-level HTTP client" +HOMEPAGE=" + https://www.encode.io/httpcore/ + https://github.com/encode/httpcore/ + https://pypi.org/project/httpcore/ +" +SRC_URI=" + https://github.com/encode/httpcore/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + <dev-python/anyio-5[${PYTHON_USEDEP}] + dev-python/certifi[${PYTHON_USEDEP}] + <dev-python/h11-0.15[${PYTHON_USEDEP}] + <dev-python/h2-5[${PYTHON_USEDEP}] + =dev-python/sniffio-1*[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-httpbin[${PYTHON_USEDEP}] + dev-python/pytest-trio[${PYTHON_USEDEP}] + dev-python/socksio[${PYTHON_USEDEP}] + dev-python/trio[${PYTHON_USEDEP}] + dev-python/trustme[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +pkg_postinst() { + optfeature "SOCKS support" dev-python/socksio +} diff --git a/dev-python/httpx/httpx-0.23.1.ebuild b/dev-python/httpx/httpx-0.23.1-r1.ebuild index ec11278e081a..5033ca7b5a3b 100644 --- a/dev-python/httpx/httpx-0.23.1.ebuild +++ b/dev-python/httpx/httpx-0.23.1-r1.ebuild @@ -56,8 +56,9 @@ distutils_enable_tests pytest src_prepare() { if ! use cli; then - sed -i -e '/console_scripts/d' setup.py || die + sed -i -e '/^httpx =/d' pyproject.toml || die fi + sed -i -e '/rfc3986/s:,<2::' pyproject.toml || die distutils-r1_src_prepare } diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index 6fe34502be93..3b59d9acd236 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -1,3 +1,4 @@ DIST hypothesis-6.56.4.gh.tar.gz 9333399 BLAKE2B abe041212cff7ab1d6c2684706ae4d297bad160798152ce52dec9b5024a1aef2445947bb6e7c7fa69c1b3e9cd2e9335d7ac7f330e0910b987d3aa3f34f8c2f3e SHA512 80ce1d5c296fc304b4e1a09846db5e88d2f52a1d790a8717a2a4a506cdd08290392036c02339d3f9d8bf236866dbcd9256e543d0808f32896b172ed840165114 DIST hypothesis-6.57.1.gh.tar.gz 9334332 BLAKE2B 5516e9ff84f11909eadc7888f2727f13731ef9d3ad91c15666d5ee11d32bafbc9361171b35d31c5231fe50ac9a734eb3a8edd612ed3f47d3bd6f2a851f751a65 SHA512 3cb24416a10cc1a1419844565913f8bdd95063d12e9ea7cbed16e6583e5d7da8a83d34d1fdb4060cf190341d21947a58f5871f44bc45bc0e84316111d530251d DIST hypothesis-6.58.0.gh.tar.gz 9335693 BLAKE2B 8e72b1ddd2a0c3bd07e5e865147e0befc7bbb42eb16e02704dbb79372e94161b6cc8f1f989b8541331e8488244c3d07e87d118ee43ba07a123de31cdb7b58bbb SHA512 91f128f333144859331e9a841d47d8414964955e14071a49e3d4504a9c9970e5f737c9036be8f20bdda1e620bb428809301d1008bfbd4b0aaa05757abeb8687d +DIST hypothesis-6.58.1.gh.tar.gz 9335673 BLAKE2B 2f4c34f89547c3e05bc9238b9daee864335b89e1c2aab81765aeb0f806c730c33a52fe4820a718df078bb502e507cb954abe4f8528ec8566a366994cadb45d2d SHA512 efcddb49239b10ae851d3c3331629fd41f19d78e30f52f7d672735b397d4cc21fc5e3cabac824046cb391d999605e80abd014d837437593215a3d71aa60b407e diff --git a/dev-python/hypothesis/hypothesis-6.58.1.ebuild b/dev-python/hypothesis/hypothesis-6.58.1.ebuild new file mode 100644 index 000000000000..2ade964b48e2 --- /dev/null +++ b/dev-python/hypothesis/hypothesis-6.58.1.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/identify/Manifest b/dev-python/identify/Manifest index 914e42324ab2..1ec9f34ecaab 100644 --- a/dev-python/identify/Manifest +++ b/dev-python/identify/Manifest @@ -1,4 +1,2 @@ -DIST identify-2.5.6.gh.tar.gz 101460 BLAKE2B c540934d4a482521758a64a1eb5e84b346eef0e0cccecbb9ad06e53e4b6872acb9c6fc94fccab9b75a7cf5658af78ad319d808a17f7ec44dfd08ae9c9a3b9f58 SHA512 9a35eb42767b0d2365b8da7c5aa5d7644272de5b65a505c5876cce0781222d8e52937b5c2d5594e560c5ab2fbbf4329555df15443b8f6110ac48880691af9089 -DIST identify-2.5.7.gh.tar.gz 101472 BLAKE2B 519f35e08258dac5ff4b897f4ee55cf432641e57c55ff1d05d3fdf564aa7eed441ba839f222b430eae96f55a8e6a5d14a9c25fc78b3536dad59c3604a3bff7c2 SHA512 186a0c36e3abadd4b2db1439daa837fed55db706c4eb1821d9ecf1288cd667706b708e1251f84d67a480cdd28e6a57960443b707c327e19a9342f5e2afdb1a7c DIST identify-2.5.8.gh.tar.gz 101476 BLAKE2B 2b59ac3cb416c7e3d6bd4031bfed30594b9be70f94d1e0d8e9f436b76e9241cde32f847c0f6b40607d2cb37ff7d67270a35a4d22be4cd6b216324e4eba30f136 SHA512 b43b8ba50d4d58a6d82c99141c708a45317f64693aea567105ed7f3957446e00102ddd303120a9f1238b04b6e0655e1dd6f807f6d878e972c7967a510f8b24b2 DIST identify-2.5.9.gh.tar.gz 101496 BLAKE2B 045e32b6aa84cedee100332c9b26d1fbbc32f704ef1048ce380fcc40c8a3fcf2e5c96db83058b04d7ead6dea0681ea114e6469d89aa7cd10458ce98cb3f77c58 SHA512 fdecd728bed3828d3a5465943b390ce3aab05255ba06249f462a2367dcd3702ef85fbe57e06562a951e3eeb24f7f417b04d54e30bd711802a8afe37c2e1eb1f0 diff --git a/dev-python/identify/identify-2.5.6.ebuild b/dev-python/identify/identify-2.5.6.ebuild deleted file mode 100644 index 0141bc85640e..000000000000 --- a/dev-python/identify/identify-2.5.6.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# 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="File identification library for Python" -HOMEPAGE=" - https://github.com/pre-commit/identify/ - https://pypi.org/project/identify/ -" -SRC_URI=" - https://github.com/pre-commit/${PN}/archive/v${PV}.tar.gz - -> ${P}.gh.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/identify/identify-2.5.7.ebuild b/dev-python/identify/identify-2.5.7.ebuild deleted file mode 100644 index 83479ee1e55e..000000000000 --- a/dev-python/identify/identify-2.5.7.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# 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="File identification library for Python" -HOMEPAGE=" - https://github.com/pre-commit/identify/ - https://pypi.org/project/identify/ -" -SRC_URI=" - https://github.com/pre-commit/${PN}/archive/v${PV}.tar.gz - -> ${P}.gh.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/identify/identify-2.5.8.ebuild b/dev-python/identify/identify-2.5.8.ebuild index 83479ee1e55e..0141bc85640e 100644 --- a/dev-python/identify/identify-2.5.8.ebuild +++ b/dev-python/identify/identify-2.5.8.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 ~hppa ~ppc ~ppc64 ~riscv x86" RDEPEND=" dev-python/ukkonen[${PYTHON_USEDEP}] diff --git a/dev-python/inscriptis/Manifest b/dev-python/inscriptis/Manifest new file mode 100644 index 000000000000..89d96aaec89b --- /dev/null +++ b/dev-python/inscriptis/Manifest @@ -0,0 +1 @@ +DIST inscriptis-2.3.1.gh.tar.gz 982171 BLAKE2B 632cc80d3de7c770f604c957ea5636260e382406e33157ebf24d75b9690194be72e5dc4b3904410efd0b34a54cced8e84e7d98ddcc48bf0b1a43e824568b00a3 SHA512 c5820f21b7cd79e68042fc13519f1221fbd0897c1a76816293bd569b4b6a3e2945979bd941a8243223254a9687c5063ab77243f9a162baa490585f7f4c14ed8b diff --git a/dev-python/inscriptis/inscriptis-2.3.1.ebuild b/dev-python/inscriptis/inscriptis-2.3.1.ebuild new file mode 100644 index 000000000000..d1fd36d52a2f --- /dev/null +++ b/dev-python/inscriptis/inscriptis-2.3.1.ebuild @@ -0,0 +1,32 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +DESCRIPTION="HTML to text converter" +HOMEPAGE=" + https://pypi.org/project/inscriptis/ + https://github.com/weblyzard/inscriptis +" +SRC_URI="https://github.com/weblyzard/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] +" + +DOCS=( AUTHORS {CONTRIBUTING,RENDERING}.md README.rst TODO.txt ) + +distutils_enable_tests pytest + +distutils_enable_sphinx docs \ + dev-python/myst-parser \ + dev-python/alabaster diff --git a/dev-python/inscriptis/metadata.xml b/dev-python/inscriptis/metadata.xml new file mode 100644 index 000000000000..ddb5b0f1787e --- /dev/null +++ b/dev-python/inscriptis/metadata.xml @@ -0,0 +1,10 @@ +<?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> + + <origin>gentoo-guru-overlay</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/isosurfaces/Manifest b/dev-python/isosurfaces/Manifest index b4c6ce78a3f4..201298e867a8 100644 --- a/dev-python/isosurfaces/Manifest +++ b/dev-python/isosurfaces/Manifest @@ -1 +1 @@ -DIST isosurfaces-0.1.0.tar.gz 53734 BLAKE2B d99b9c54b38031ea8b902d9626212ea63b000d9a23203266edd360142e5fbd36c36006ad5bb153eba17e5f4de7b48980030460ffa0f255ddcb2abdd1e5432d4f SHA512 0331d626dae0f1fd71ce9d9a559aa27d223ebf58c04564dd98b747cb81e6ee259696495c6deb7c6b47cd812647b505c3101486ee704bd9b69656396a6aac23a5 +DIST isosurfaces-0.1.0.gh.tar.gz 53734 BLAKE2B d99b9c54b38031ea8b902d9626212ea63b000d9a23203266edd360142e5fbd36c36006ad5bb153eba17e5f4de7b48980030460ffa0f255ddcb2abdd1e5432d4f SHA512 0331d626dae0f1fd71ce9d9a559aa27d223ebf58c04564dd98b747cb81e6ee259696495c6deb7c6b47cd812647b505c3101486ee704bd9b69656396a6aac23a5 diff --git a/dev-python/isosurfaces/isosurfaces-0.1.0.ebuild b/dev-python/isosurfaces/isosurfaces-0.1.0.ebuild index 45fcb52e0117..d0fa1b3db119 100644 --- a/dev-python/isosurfaces/isosurfaces-0.1.0.ebuild +++ b/dev-python/isosurfaces/isosurfaces-0.1.0.ebuild @@ -8,16 +8,14 @@ PYTHON_COMPAT=( python3_{7,8,9,10,11} ) inherit distutils-r1 DESCRIPTION="Construct isolines/isosurfaces of a 2D/3D scalar field defined by a function" -HOMEPAGE="https://pypi.org/project/isosurfaces/" -SRC_URI="https://github.com/jared-hughes/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +HOMEPAGE=" + https://pypi.org/project/isosurfaces/ + https://github.com/jared-hughes/isosurfaces +" +SRC_URI="https://github.com/jared-hughes/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" -RDEPEND=" - dev-python/numpy -" -BDEPEND="" - -distutils_enable_tests pytest +RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]" diff --git a/dev-python/krb5/Manifest b/dev-python/krb5/Manifest index a39215f8bf30..ee776095b26e 100644 --- a/dev-python/krb5/Manifest +++ b/dev-python/krb5/Manifest @@ -1,2 +1 @@ -DIST krb5-0.4.0.tar.gz 218774 BLAKE2B 44bfe2226eda7b9175b059d4e634c64870ad03a34dcc6595bf7770e21e83b11b000a2bf076a749f88cfb0912b3dcc28974db1ba1273c03bcfab63a868c2165ed SHA512 d51b58b84985ccbb5440bea71a09c23889dd8ee2b14fa594f0f2330b0e318993e8c9627f5cc568585fe5e86847a3eb5f4a4775ea07d7936c03f69ce0fd141950 DIST krb5-0.4.1.tar.gz 218745 BLAKE2B 8b7e6ab921462ec03c4ca23d83dcfbb8f03b2538edac1a920e68bc3f53c518c942a5f54a96c201a11667e0f4d82882d321808683efa0e5ed1d00df569aa73f2f SHA512 089b3abf3a9402248ed04ab4b47672e0de88c5c73c0c705ac129e499ff53931ffcf7fc6a6bdf9b0f9e03e9010f25dcc61b9a2d33c6b67f5b741a477fb5199265 diff --git a/dev-python/krb5/krb5-0.4.0.ebuild b/dev-python/krb5/krb5-0.4.0.ebuild deleted file mode 100644 index e9173cd8e0f7..000000000000 --- a/dev-python/krb5/krb5-0.4.0.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 2021-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="Kerberos API bindings for Python" -HOMEPAGE="https://pypi.org/project/krb5/ https://github.com/jborean93/pykrb5" -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~riscv x86" - -RDEPEND=" - virtual/krb5 -" -BDEPEND=" - dev-python/cython[${PYTHON_USEDEP}] - test? ( dev-python/k5test[${PYTHON_USEDEP}] ) -" - -distutils_enable_tests pytest diff --git a/dev-python/krb5/krb5-0.4.1.ebuild b/dev-python/krb5/krb5-0.4.1.ebuild index ec1df31c6d3e..9abad4e69dad 100644 --- a/dev-python/krb5/krb5-0.4.1.ebuild +++ b/dev-python/krb5/krb5-0.4.1.ebuild @@ -17,7 +17,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm arm64 ~riscv ~x86" +KEYWORDS="amd64 ~arm arm64 ~riscv x86" RDEPEND=" virtual/krb5 diff --git a/dev-python/langdetect/langdetect-1.0.9.ebuild b/dev-python/langdetect/langdetect-1.0.9.ebuild index 007e10668b8c..5777e5514d2b 100644 --- a/dev-python/langdetect/langdetect-1.0.9.ebuild +++ b/dev-python/langdetect/langdetect-1.0.9.ebuild @@ -4,6 +4,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) +DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 DESCRIPTION="Port of Google's language-detection library to Python" @@ -13,7 +14,7 @@ HOMEPAGE=" " SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" -LICENSE="MIT" +LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64" diff --git a/dev-python/lit/Manifest b/dev-python/lit/Manifest index e12ba6016e6a..b13bf7c63190 100644 --- a/dev-python/lit/Manifest +++ b/dev-python/lit/Manifest @@ -2,10 +2,8 @@ DIST llvm-project-14.0.6.src.tar.xz 105618228 BLAKE2B ee67c5407df8cef493b9c0004f DIST llvm-project-14.0.6.src.tar.xz.sig 566 BLAKE2B cb658ad43d8ab6c43a5773aedadf0569c97b5ee4b1bd58eceb10e1879a30880c741c3d66bedd462c892309b688fb7b2673115a62d1f74d71ee375a578de9547f SHA512 b4a7b368532a7a4a24376cfa7db8f6d3478f6d4446474342fc00b474ecf466330cd0f16783209263c4c72d5fc7ddedfb11b95578842e700cfb7ee0bb34cc95d6 DIST llvm-project-15.0.3.src.tar.xz 112069972 BLAKE2B 3d29bab890467ba87fedcc4e76522f444e63e3dfbe546793f8e67821bcd403bad460ea176254c9e0b72d60ea56b8480e498a7f610477c1108732d178804c26cd SHA512 d378d417f01c56534f301cfe6cb4958d811c04ae22acaacc917e7e5f0380859d40ce19dffb265d046b70fff95dbc2e759f492e4d5af0ade52f21ebaa8da65856 DIST llvm-project-15.0.3.src.tar.xz.sig 438 BLAKE2B e7e0614e144eb878f694c12e97cf42ff8476e47cb55e8f259eb2ec52e303463ad753771271512e89baf0137c1382b11cfa028c85324174ebcd054a124000f537 SHA512 41229bebdb0c2df9a5e3a4d6f02d39fac7dc91f21895a659523beab4fa3ef99ff06eff5e4386221369b6e2b6f8fe974d67b7d8496d5911ce484d09ae0db8b916 -DIST llvm-project-15.0.4.src.tar.xz 110936424 BLAKE2B a02b76ad161e352b4d3d84baffdada9c6a0e704de7a2c4017df4d4d05a9e9d02113791cd7d91c3edfa1f5bcb7ab95e1772d60f7061514928c6828600f41a8322 SHA512 9d5b664dd77c08130601636f9d6c006b257f369470ce823aa56d06698a9f0edfec42f2c90da934b9ad52c4d7960d9a024ea46dc9640275be6d191b1ba9869459 -DIST llvm-project-15.0.4.src.tar.xz.sig 566 BLAKE2B f1a7be65fcce932dc125ae2b498f68a14e68dad0d7a1e031343c52c5dafb7b123e346f3efa50a7693584361abf01efe9401b1b5781dee6b92dc1045e538e9b7b SHA512 35899ffbd13fc44cade54246a423450571cb4b62b8d706864daa3eef2377c48e24ef3113218e39e29de995b7f7fa307f9187552766576c9050fd924beb517f6e DIST llvm-project-15.0.5.src.tar.xz 110931004 BLAKE2B d751e3627ee26e60a1a037a4a6cc574a31c4abe038331b86206348ac3ce93a243add2be3a0bbfc2ec5ec3f3562a5b5efea745cb1943c9c9153bc7b0fcf4de22e SHA512 cf2a89ebb6bc9d7e3f1fd09531c84ac9927cdbe5ee13a6fcb8ce4d08e5a9d6d480ad982f62126b9c757beafa283b34f2ba1fbc56223c641e70da2be4627f59a6 DIST llvm-project-15.0.5.src.tar.xz.sig 566 BLAKE2B a6e7204abc912045346a36f2b349e0829a4d5b9efcb230fb0c97caa38d5159ca17ffb47ce0485cbab276a4938ff3a5c05ef9f8b0b75f4c2028d870ee33023431 SHA512 312bc09b54408a9265f8102241089b0f674be0832dd5cb1998ff13dbccbe19324d7060ba2680457118dee96a1ff390b16282677ad825d7230008014ecebe47d5 DIST llvm-project-7b91798a5d3a8432b296778da4efe169012fb7b4.tar.gz 170989337 BLAKE2B 1ab79554a05f8d7a74c0b4bab319c30375475d3fd089764733744fde55c65eb38967cdb19e5b0211a1543549c2bfc3c0f3d43facb7e041f51988e8a65e4448f3 SHA512 4c4d3a748b967cbc75372d0db87ac48d32271a54047ddeeb028d565fa6b7004b2ab3abd82d8ff4621e50c9410fce28c3044550cc94aaf0f6e4f672498f47aba8 -DIST llvm-project-f6f1fd443f48f417de9dfe23353055f1b20d87ef.tar.gz 170625743 BLAKE2B 3add45d7e2f26659f9602b5ccc034033610921ebeb2d6d69d6f5a3d1e3af224d3f5fd42e411d1fe0d5f8249c2ad995d41a236a87eba5a72ea9b20c112faa4c2f SHA512 2b57132d156f3d6d96802f617fff3eec0df6a3b5077ddcc4f31c87829e617f3065074d80e9d26c8c1c64322e76a09321fdfc8ae1d7a84f5da9f8606125e3b635 +DIST llvm-project-959c9cc7acf4d0aa433f2436e2a45b782e18022a.tar.gz 171575300 BLAKE2B 090d41a8913f8e061d297e66ca653d95e18b8da744464d7085d7a199c0a444753a82b6ff6503e142aec81be01b419323cdbe3709497738df74afa886d69fd63d SHA512 fc3b26e148ead7a07b4d1509909a42712a43b179da435b052c26a237b0d2ae88c3c8d76eaa93c415be1ed0f0b5fb55e0ad92f427a18d70bc9634a6e7d1b6a4d9 DIST llvmorg-13.0.1.tar.gz 147290251 BLAKE2B 2a44b012a672501761d0c27c6b3a315b69bfef0cd13b078a7e7d2fccc4a9c8c0f2bee0f164c4271c9106b0a99cb06e8b64986f66253b613336719fb86b82541b SHA512 9a8cb5d11964ba88b7624f19ec861fb28701f23956ea3c92f6ac644332d5f41fde97bd8933dd3ee70ed378058c252fa3a3887c8d1af90d219970c2b27691166f diff --git a/dev-python/lit/lit-15.0.4.ebuild b/dev-python/lit/lit-15.0.4.ebuild deleted file mode 100644 index e43682c3a760..000000000000 --- a/dev-python/lit/lit-15.0.4.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# 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 llvm.org - -DESCRIPTION="A stand-alone install of the LLVM suite testing tool" -HOMEPAGE="https://llvm.org/" - -LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -# Tests require 'FileCheck' and 'not' utilities (from llvm) -BDEPEND=" - test? ( - dev-python/psutil[${PYTHON_USEDEP}] - sys-devel/llvm - ) -" - -LLVM_COMPONENTS=( llvm/utils/lit ) -llvm.org_set_globals - -# TODO: move the manpage generation here (from sys-devel/llvm) - -src_prepare() { - cd "${WORKDIR}" || die - distutils-r1_src_prepare -} - -python_test() { - local -x LIT_PRESERVES_TMP=1 - local litflags=$(get_lit_flags) - ./lit.py ${litflags//;/ } tests || die -} diff --git a/dev-python/lit/lit-15.0.5.ebuild b/dev-python/lit/lit-15.0.5.ebuild index e78306b16c32..0f4a39279af5 100644 --- a/dev-python/lit/lit-15.0.5.ebuild +++ b/dev-python/lit/lit-15.0.5.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/lit/lit-16.0.0_pre20221113.ebuild b/dev-python/lit/lit-16.0.0_pre20221126.ebuild index b8f7eadfb336..321b3a957486 100644 --- a/dev-python/lit/lit-16.0.0_pre20221113.ebuild +++ b/dev-python/lit/lit-16.0.0_pre20221126.ebuild @@ -13,7 +13,7 @@ HOMEPAGE="https://llvm.org/" LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" SLOT="0" -KEYWORDS="" +KEYWORDS="~loong" 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 7d7ff1a4a940..6ae0113b015f 100644 --- a/dev-python/manhole/manhole-1.8.0-r1.ebuild +++ b/dev-python/manhole/manhole-1.8.0-r1.ebuild @@ -3,7 +3,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 @@ -19,18 +19,19 @@ LICENSE="BSD-2" SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~x86" -BDEPEND="test? ( - dev-python/gevent[${PYTHON_USEDEP}] - dev-python/process-tests[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] -) +BDEPEND=" + test? ( + dev-python/process-tests[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + ) " DOCS=( AUTHORS.rst CHANGELOG.rst README.rst ) distutils_enable_tests pytest -distutils_enable_sphinx docs dev-python/sphinx-py3doc-enhanced-theme +distutils_enable_sphinx docs \ + dev-python/sphinx-py3doc-enhanced-theme python_test() { local -x PYTHONPATH="${S}/src:${PYTHONPATH}" @@ -47,7 +48,8 @@ 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/markdownify/Manifest b/dev-python/markdownify/Manifest index 38380c9db038..03c98162c017 100644 --- a/dev-python/markdownify/Manifest +++ b/dev-python/markdownify/Manifest @@ -1 +1 @@ -DIST markdownify-0.11.2.tar.gz 14175 BLAKE2B 5addd3acb21897bcab51d7f4da9c0ea69fb01ed839e02fba3f1f5c5d09e6b6639393f488063083ef6b1e8e08ae9ffb6b1e07792940776995a30d11a080baa9d4 SHA512 93c52eed7cc36f965a74470be33fc02a8fe7c760e76a786ccb7daf6638a1b6d18b22fe78fcd5b2d7af16752c5de5fb971f3716df94ae7e343c19072aa1ad68e9 +DIST markdownify-0.11.6.tar.gz 16183 BLAKE2B 3bd511937043f4b262eb3bea102ad490ccfac3583adaff9120e781fdb308a072fa053595302ffd26d650cf65b3f20dc828cdf3b6755037bfc87afb0cf6dffe4e SHA512 9ab2bf56981081737e5ed95aa96ec16c2644fecca62763a4ea4ba1f6ebb61b671cecc857abd4a92a738a9762104b2d9beb92b320638d80dca3ad4ee7621d02e7 diff --git a/dev-python/markdownify/markdownify-0.11.2.ebuild b/dev-python/markdownify/markdownify-0.11.6.ebuild index 135828ab8f91..fafd7af47f0f 100644 --- a/dev-python/markdownify/markdownify-0.11.2.ebuild +++ b/dev-python/markdownify/markdownify-0.11.6.ebuild @@ -4,26 +4,29 @@ EAPI=8 PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 -DESCRIPTION="Convert some HTML to Markdown" -HOMEPAGE="https://github.com/matthewwithanm/python-markdownify https://pypi.org/project/markdownify/" +DESCRIPTION="Convert HTML to Markdown" +HOMEPAGE=" + https://pypi.org/project/markdownify/ + https://github.com/matthewwithanm/python-markdownify +" SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" -BDEPEND=" - dev-python/flake8[${PYTHON_USEDEP}] -" -RDEPEND=" - dev-python/six[${PYTHON_USEDEP}] - dev-python/beautifulsoup4[${PYTHON_USEDEP}] -" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~x86" -python_install() { - rm -r "${BUILD_DIR}"/lib/tests || die - distutils-r1_python_install -} +RDEPEND=" + dev-python/beautifulsoup4[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + !dev-python/django-markdownify +" distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + mv tests markdownify/tests || die +} diff --git a/dev-python/mastodon-py/Manifest b/dev-python/mastodon-py/Manifest new file mode 100644 index 000000000000..f09b43622b36 --- /dev/null +++ b/dev-python/mastodon-py/Manifest @@ -0,0 +1 @@ +DIST Mastodon.py-1.7.0.tar.gz 8633772 BLAKE2B e27827cf7b5a010616524355c51771709591ee498b398cb009fe73697a96a313880e9f81e138c48c9f144fe9b35222b6852d84a2b4648803604b0a3a9ed190c3 SHA512 faa056fc800104a732524126458baec68ef838fe36fb7df5721262f6faf61e0f5591026efb1a19612ceeaa785eb81b4aab55728479bf216f6d2b9afcfedcdd18 diff --git a/dev-python/mastodon-py/mastodon-py-1.7.0.ebuild b/dev-python/mastodon-py/mastodon-py-1.7.0.ebuild new file mode 100644 index 000000000000..4ca043d548a6 --- /dev/null +++ b/dev-python/mastodon-py/mastodon-py-1.7.0.ebuild @@ -0,0 +1,55 @@ +# 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 optfeature + +MY_PN="Mastodon.py" +MY_P="${MY_PN}-${PV}" +DESCRIPTION="Python wrapper for the Mastodon API" +HOMEPAGE=" + https://pypi.org/project/Mastodon.py/ + https://github.com/halcy/Mastodon.py +" +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/blurhash[${PYTHON_USEDEP}] + dev-python/decorator[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/python-magic[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/http_ece[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-vcr[${PYTHON_USEDEP}] + dev-python/requests-mock[${PYTHON_USEDEP}] + dev-python/vcrpy[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +distutils_enable_sphinx docs + +src_prepare() { + distutils-r1_src_prepare + rm setup.cfg || die +} + +pkg_postinst() { + optfeature "webpush support" "dev-python/cryptography dev-python/http_ece" +} diff --git a/dev-python/mastodon-py/metadata.xml b/dev-python/mastodon-py/metadata.xml new file mode 100644 index 000000000000..ddb5b0f1787e --- /dev/null +++ b/dev-python/mastodon-py/metadata.xml @@ -0,0 +1,10 @@ +<?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> + + <origin>gentoo-guru-overlay</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/mediafile/Manifest b/dev-python/mediafile/Manifest index 9f1e44d06b53..72d5941b038f 100644 --- a/dev-python/mediafile/Manifest +++ b/dev-python/mediafile/Manifest @@ -1,3 +1 @@ -DIST mediafile-0.10.0.gh.tar.gz 568779 BLAKE2B 26e8fed5a0c590bf1d5de1b28c3576573f795a3df74186361318745a6efc375685be95676d3cb6d331cb2fa3db63018dc660dc82ff4f6652d62fb4e14c48ca4a SHA512 b753bc0c97fd47df4626f21199eef5f22bc3d0a08f780524103e2f33a4008a64e2a25556650eb1c1a14e093cb4d3e704ef51910818fab30be723f7aece382b3c DIST mediafile-0.10.1.gh.tar.gz 568722 BLAKE2B 4da5fe76cc6e3e41d8591c962d9cfde1e16a64b57192d795714955aeab4d49d608a977685352de8e55ac83d1dde56435a31c4577a4a4743499393c051c471c7c SHA512 db9d82d23eb3f1a6b2e19f1b635805e84ed54ed06641a0e1ab80d7350415d1297cec64f18c66b38a7552abdaf2c1a8bfc6bb0c8543d9c618368184e6d6bb6405 -DIST mediafile-0.9.0.tar.gz 568726 BLAKE2B 22466b54c890c8a1bef88a0d08e729d0b1efab12309299c64ea227a5662c263402e8e4ace4b7c9d2d0d06ba41b6f74465ebf88d090f0fd4f41d91fb6cba941ef SHA512 8b432d81c7c1fc8340a2003220a0d96b448ac64e551b0b95528a37fa5923a97358fac574573dece344cda88f4f206f1cf7bc457bdd310a7a003c395908864218 diff --git a/dev-python/mediafile/mediafile-0.10.0.ebuild b/dev-python/mediafile/mediafile-0.10.0.ebuild deleted file mode 100644 index 31cb1c2691d6..000000000000 --- a/dev-python/mediafile/mediafile-0.10.0.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - -inherit distutils-r1 - -DESCRIPTION="Read and write audio files' tags in Python" -HOMEPAGE=" - https://github.com/beetbox/mediafile/ - https://pypi.org/project/mediafile/ -" -SRC_URI=" - https://github.com/beetbox/mediafile/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - >=dev-python/six-1.9.0[${PYTHON_USEDEP}] - >=media-libs/mutagen-1.45.0[${PYTHON_USEDEP}] -" - -distutils_enable_sphinx docs -distutils_enable_tests unittest diff --git a/dev-python/mediafile/mediafile-0.10.1.ebuild b/dev-python/mediafile/mediafile-0.10.1.ebuild index 0ae16591abeb..503f6e9e4cf0 100644 --- a/dev-python/mediafile/mediafile-0.10.1.ebuild +++ b/dev-python/mediafile/mediafile-0.10.1.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" RDEPEND=" >=dev-python/six-1.9.0[${PYTHON_USEDEP}] diff --git a/dev-python/mediafile/mediafile-0.9.0-r1.ebuild b/dev-python/mediafile/mediafile-0.9.0-r1.ebuild deleted file mode 100644 index 828c95cac0ef..000000000000 --- a/dev-python/mediafile/mediafile-0.9.0-r1.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) -inherit distutils-r1 - -DESCRIPTION="Read and write audio files' tags in Python" -HOMEPAGE="https://github.com/beetbox/mediafile" -SRC_URI="https://github.com/beetbox/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~x86" - -RDEPEND=" - >=dev-python/six-1.9.0[${PYTHON_USEDEP}] - >=media-libs/mutagen-1.45.0[${PYTHON_USEDEP}] -" - -distutils_enable_sphinx docs -distutils_enable_tests unittest diff --git a/dev-python/miniupnpc/miniupnpc-2.2.3.ebuild b/dev-python/miniupnpc/miniupnpc-2.2.3.ebuild deleted file mode 100644 index 0d370a6d9136..000000000000 --- a/dev-python/miniupnpc/miniupnpc-2.2.3.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) - -inherit distutils-r1 verify-sig - -DESCRIPTION="Python bindings for UPnP client library" -HOMEPAGE="http://miniupnp.free.fr/" -SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz - verify-sig? ( http://miniupnp.free.fr/files/${P}.tar.gz.sig )" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ppc ppc64 x86" -IUSE="" - -RDEPEND=">=net-libs/miniupnpc-${PV}:0=" -DEPEND="${RDEPEND}" -BDEPEND="verify-sig? ( sec-keys/openpgp-keys-miniupnp )" - -VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/miniupnp.asc - -PATCHES=( - "${FILESDIR}"/miniupnpc-2.2.3-shared-lib.patch -) - -# DOCS are installed by net-libs/miniupnpc. -DOCS=() - -# Example test command: -# python -c 'import miniupnpc; u = miniupnpc.UPnP(); u.discover(); u.selectigd(); print(u.externalipaddress())' diff --git a/dev-python/mitype/Manifest b/dev-python/mitype/Manifest new file mode 100644 index 000000000000..4d764241fb42 --- /dev/null +++ b/dev-python/mitype/Manifest @@ -0,0 +1 @@ +DIST v0.2.4.gh.tar.gz 1147995 BLAKE2B e494e4a29ef46ed3b72cf60074ce94890a12b22471aa0e39f2f76f86317042be6cf1a55fbcbc901c086d5f71bceea44355454bd3b4bb8da01be95c0606d280b0 SHA512 ca9e14a60651769de8847ef402ea9d570ace4bfa8e84b8b4b885b5aa0c62fcc653cc60bb1937a45e9e968517f0968c52e32f596ab6f9f9fc110798ac2d717061 diff --git a/dev-python/mitype/metadata.xml b/dev-python/mitype/metadata.xml new file mode 100644 index 000000000000..137044fdb488 --- /dev/null +++ b/dev-python/mitype/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>gasc@eurecom.fr</email> + <name>Gasc Henri</name> + </maintainer> + + <origin>gentoo-guru-overlay</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/mitype/mitype-0.2.4.ebuild b/dev-python/mitype/mitype-0.2.4.ebuild new file mode 100644 index 000000000000..e581945ec1d7 --- /dev/null +++ b/dev-python/mitype/mitype-0.2.4.ebuild @@ -0,0 +1,26 @@ +# Copyright 2021-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="Typing speed test in terminal" +HOMEPAGE="https://github.com/Mithil467/mitype https://pypi.org/project/mitype/" +SRC_URI="https://github.com/Mithil467/mitype/archive/refs/tags/v${PV}.tar.gz -> v${PV}.gh.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" + +RDEPEND=" + doc? ( dev-python/sphinx ) + dev-python/setuptools[${PYTHON_USEDEP}]" +BDEPEND="dev-python/versioneer[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest +distutils_enable_sphinx docs diff --git a/dev-python/mkdocs-render-swagger-plugin/Manifest b/dev-python/mkdocs-render-swagger-plugin/Manifest new file mode 100644 index 000000000000..35056695b31e --- /dev/null +++ b/dev-python/mkdocs-render-swagger-plugin/Manifest @@ -0,0 +1 @@ +DIST mkdocs-render-swagger-plugin-0.0.4.tar.gz 4576 BLAKE2B e9bfafee3d04cc71bd91f6ea2e5a92c1649197a48ce86ff80f23079862dadbbd00f6e557d5f8821951123540e0764118302ee7efbfae6c8865d2cc70ccb45327 SHA512 fab17797aedeb9dbc2790cf31eddef77a78e4a12929aeed88ded2ddefb39a450f076d2e2aaef833e2bc079343fe40d6c9351dee205ca093e15dd5f637d74676a diff --git a/dev-python/mkdocs-render-swagger-plugin/metadata.xml b/dev-python/mkdocs-render-swagger-plugin/metadata.xml new file mode 100644 index 000000000000..ddb5b0f1787e --- /dev/null +++ b/dev-python/mkdocs-render-swagger-plugin/metadata.xml @@ -0,0 +1,10 @@ +<?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> + + <origin>gentoo-guru-overlay</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/mkdocs-render-swagger-plugin/mkdocs-render-swagger-plugin-0.0.4.ebuild b/dev-python/mkdocs-render-swagger-plugin/mkdocs-render-swagger-plugin-0.0.4.ebuild new file mode 100644 index 000000000000..8b595a87e453 --- /dev/null +++ b/dev-python/mkdocs-render-swagger-plugin/mkdocs-render-swagger-plugin-0.0.4.ebuild @@ -0,0 +1,21 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +DESCRIPTION="MKDocs plugin for rendering swagger & openapi files" +HOMEPAGE=" + https://pypi.org/project/mkdocs-render-swagger-plugin/ + https://github.com/bharel/mkdocs-render-swagger-plugin +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="dev-python/mkdocs" diff --git a/dev-python/myst-parser/Manifest b/dev-python/myst-parser/Manifest new file mode 100644 index 000000000000..b45581ab9d6e --- /dev/null +++ b/dev-python/myst-parser/Manifest @@ -0,0 +1 @@ +DIST myst-parser-0.18.1.gh.tar.gz 769288 BLAKE2B 77f21ae4277ef4ed9020caad86ef3ea92a1efca35f7ab61203fe2125e4fab31a74a740db7a1f1d6ea0a576c24706b0997beea296d782eb5a07ba4e91a0a9e52d SHA512 4bc3a89480f175779da4f093aaa99a1516f76ab4107dcf8747b6614f347e91739f8596693f95529d76aedbb0c84b4efde4262517bc445aa7027d51e05e8b48bc diff --git a/dev-python/myst-parser/metadata.xml b/dev-python/myst-parser/metadata.xml new file mode 100644 index 000000000000..3122a9991fd0 --- /dev/null +++ b/dev-python/myst-parser/metadata.xml @@ -0,0 +1,12 @@ +<?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> + <doc>https://myst-parser.readthedocs.io/</doc> + </upstream> + <origin>gentoo-guru-overlay</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/myst-parser/myst-parser-0.18.1.ebuild b/dev-python/myst-parser/myst-parser-0.18.1.ebuild new file mode 100644 index 000000000000..824b4e326b72 --- /dev/null +++ b/dev-python/myst-parser/myst-parser-0.18.1.ebuild @@ -0,0 +1,53 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) +DISTUTILS_USE_PEP517=flit +inherit distutils-r1 optfeature + +MY_PN="MyST-Parser" +DESCRIPTION="An extended commonmark compliant parser, with bridges to docutils & sphinx" +HOMEPAGE=" + https://pypi.org/project/myst-parser/ + https://github.com/executablebooks/MyST-Parser +" +SRC_URI="https://github.com/executablebooks/${MY_PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" +S="${WORKDIR}/${MY_PN}-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/docutils[${PYTHON_USEDEP}] + dev-python/jinja[${PYTHON_USEDEP}] + dev-python/markdown-it-py[${PYTHON_USEDEP}] + dev-python/mdit-py-plugins[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/beautifulsoup4[${PYTHON_USEDEP}] + dev-python/pytest-param-files[${PYTHON_USEDEP}] + dev-python/pytest-regressions[${PYTHON_USEDEP}] + <dev-python/sphinx-5.2[${PYTHON_USEDEP}] + dev-python/sphinx-pytest[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +# TODO: package doc deps +#distutils_enable_sphinx docs \ +# dev-python/sphinx_design \ +# dev-python/sphinxcontrib-mermaid \ +# dev-python/sphinxext-opengraph \ +# dev-python/sphinxext-rediraffe + +pkg_postinst() { + optfeature "linkify plugin support" dev-python/linkify-it-py +} diff --git a/dev-python/nuitka/Manifest b/dev-python/nuitka/Manifest index 28442d2c742f..3d46fd9727dc 100644 --- a/dev-python/nuitka/Manifest +++ b/dev-python/nuitka/Manifest @@ -1,4 +1,4 @@ -DIST Nuitka-1.1.8.tar.gz 3931273 BLAKE2B 19425e5394f02f4e5dab612e17f80de27569a0d364aaf8597c7bf63f0aa271c3f8cfa987c12b1ae09c5449775b6e4e61aa4d733d0ed81231c4df6ef955dc030e SHA512 f1e594499cd9fcd03873646c41b66a4d89980f408412dcd58db45b3c48238503d03ef25a1b230cfa99960df69f2564b74b02c446e0431dd72634ce277347a551 DIST Nuitka-1.2.1.tar.gz 3958041 BLAKE2B 461fd91fc2948aa131a5295f3e2f8c99d8de26b32d0dd3008ee130bdc8b722a469e458a717b5cbdbf45cd3720dfff828c3eade1d57c7f0ee391cd062105b4ad1 SHA512 98a95342a78c935ebea88446ee875122baeb66290148cf8c454c8287ecc40b092015d710a1a25b35c3b6869138800d2c654b09a3424512536f06d27860bfa2bb DIST Nuitka-1.2.2.tar.gz 3958127 BLAKE2B fb4fbbf3537d78b5375ef9e26c65bae5a09db2b8839308b8b1ab847c9e820586e84742fd89aa91f8c0bfb366309cc4106ed2195566762103a54951026f81c3b8 SHA512 4b11e15fbb81d3bbf9c687a05ecd71cec7b4f145ad7f1af5a98eb77ff6e4d93bac5e3af8474b9ba0a7bffb5b191f46960e317b53d315455a1ca2ea0660859357 +DIST Nuitka-1.2.3.tar.gz 3958335 BLAKE2B c2d47e7ff355492fb72f224be92445849c3fce13768ba7957cf4bbbbc9cd4e0ec7c3904e5465ad543e16d1419a01b42cd4399b816e1ff56e2c8ea5c57fddbc04 SHA512 1c842c21764bd0dc9bf68bb26506959b35e54d03c1d6d6b9c179289ec073ed07b75d6709a3c73ac3e14bb988a7b2f5a88f7dfcce55a25eab1c5e4b294b15d4f4 DIST Nuitka-1.2.tar.gz 3957227 BLAKE2B e82c8e30ef326254db255785efd2bab1450c2c496bbef1aae35e6f6c42fee09f2454bdff366ecfcf704aa42bbe9cd62ff5a65f26065b85e95083cb0134829dbc SHA512 65c262109f2341aab607601299ec70c88df46218ecc2bb7a7d39ff66b8d4ec43e44a5d30ac936d6572fb141ca6b19e3c0e0c01975dea82d46a2ec190ed13c21b diff --git a/dev-python/nuitka/nuitka-1.1.8.ebuild b/dev-python/nuitka/nuitka-1.2.3.ebuild index d2196214be46..d2196214be46 100644 --- a/dev-python/nuitka/nuitka-1.1.8.ebuild +++ b/dev-python/nuitka/nuitka-1.2.3.ebuild diff --git a/dev-python/openapi-core/Manifest b/dev-python/openapi-core/Manifest index 84d0fc5323a0..5981a58e627e 100644 --- a/dev-python/openapi-core/Manifest +++ b/dev-python/openapi-core/Manifest @@ -1,2 +1,3 @@ DIST openapi-core-0.14.5.gh.tar.gz 57645 BLAKE2B c5c9c308b93a37e32708677cc7c7a2ccb9ec3f018390e56a251224b6b8776943ccd0ddfb560cdc3f1182cb32a9b2817878a0d4dda3906c179db9841853caf7ac SHA512 69d9fb2cc21dfdb939beae45b1c681faf9f8e3366b36e5907b00be65ac669ec40e3ae3fe910fb2c4f6c70d1412e6a67e4e4e47e3cf2c424716da4c813223295e DIST openapi-core-0.16.1.gh.tar.gz 79002 BLAKE2B 2b64a28c80b64294cdbef2e4fcd08bfdc739c53a6baf0aeacc9e082bc01c8bf1b58da53a8c9b5b80a38600e4ab8bfb67b1d7ebb3a759d60d43748c9cc09c8eba SHA512 87cd47871a939b9f0ab23deafac067d16ba88146e140e7602b8bec5498ea6ed2213ceb530c9448718c5f94b944a954f2d46fab3fb18cacc2764a5cd7bf056dff +DIST openapi-core-0.16.2.gh.tar.gz 79801 BLAKE2B abe2e1521eb27431b386452b0826a99603f35551fca263bdc0e415865c88ba98216bab07f713b50a3ece35493b46d51496a541f1b10787ae27cac155673e5956 SHA512 d70369de21ffecc618fb8b3620f55510dd805304fb27742b48dc6603e03cb9322e2358a349d86de325307b99b26099879aac2f45c8a3d42ad8d464b43f2c5caa diff --git a/dev-python/openapi-core/openapi-core-0.16.2.ebuild b/dev-python/openapi-core/openapi-core-0.16.2.ebuild new file mode 100644 index 000000000000..cc9e86cac556 --- /dev/null +++ b/dev-python/openapi-core/openapi-core-0.16.2.ebuild @@ -0,0 +1,68 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 + +DESCRIPTION="Client-side and server-side support for the OpenAPI Specification v3" +HOMEPAGE=" + https://github.com/p1c2u/openapi-core/ + https://pypi.org/project/openapi-core/ +" +SRC_URI=" + https://github.com/p1c2u/openapi-core/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/pathable-0.4.0[${PYTHON_USEDEP}] + dev-python/isodate[${PYTHON_USEDEP}] + >=dev-python/jsonschema-spec-0.1.1[${PYTHON_USEDEP}] + dev-python/more-itertools[${PYTHON_USEDEP}] + dev-python/parse[${PYTHON_USEDEP}] + <dev-python/openapi-schema-validator-0.4[${PYTHON_USEDEP}] + >=dev-python/openapi-schema-validator-0.3[${PYTHON_USEDEP}] + <dev-python/openapi-spec-validator-0.6[${PYTHON_USEDEP}] + >=dev-python/openapi-spec-validator-0.5[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/asgiref[${PYTHON_USEDEP}] + dev-python/flask[${PYTHON_USEDEP}] + >=dev-python/httpx-0.23.0[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] + >=dev-python/starlette-0.21.0[${PYTHON_USEDEP}] + dev-python/strict-rfc3339[${PYTHON_USEDEP}] + dev-python/webob[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + # falcon is not packaged + tests/integration/contrib/falcon + + # TODO: these tests fail to collect + tests/integration/validation/test_security_override.py + tests/integration/validation/test_read_only_write_only.py + + # unhappy about modern django + tests/integration/contrib/django/test_django_project.py + tests/unit/contrib/django/test_django.py +) + +src_prepare() { + sed -i -e '/--cov/d' pyproject.toml || die + distutils-r1_src_prepare +} diff --git a/dev-python/opentracing/opentracing-2.4.0.ebuild b/dev-python/opentracing/opentracing-2.4.0.ebuild index 623fd0e89ceb..80baaa569d61 100644 --- a/dev-python/opentracing/opentracing-2.4.0.ebuild +++ b/dev-python/opentracing/opentracing-2.4.0.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="8" +EAPI=8 PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - +DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 DESCRIPTION="OpenTracing API for Python" @@ -18,17 +18,21 @@ SLOT="0" LICENSE="Apache-2.0" KEYWORDS="~amd64" -RDEPEND="" DEPEND=" - ${RDEPEND} test? ( dev-python/doubles[${PYTHON_USEDEP}] dev-python/mock[${PYTHON_USEDEP}] dev-python/pytest-mock[${PYTHON_USEDEP}] dev-python/six[${PYTHON_USEDEP}] - dev-python/gevent[${PYTHON_USEDEP}] dev-python/tornado[${PYTHON_USEDEP}] ) " +EPYTEST_IGNORE=( + tests/scope_managers/test_gevent.py +) + distutils_enable_tests pytest + +distutils_enable_sphinx docs \ + dev-python/sphinx_rtd_theme diff --git a/dev-python/parsel/Manifest b/dev-python/parsel/Manifest index 7912a5960bf9..7b4db1cb9845 100644 --- a/dev-python/parsel/Manifest +++ b/dev-python/parsel/Manifest @@ -1 +1,2 @@ DIST parsel-1.6.0.tar.gz 100678 BLAKE2B 9fe937013d84d168cab4e415affecece272f7b2af729448aaf802240d0d7aca553d85de5747cf06ecbd17099e2bd81c741a3afd6bbad803916afdfd3673c07d6 SHA512 d3161522e1102cceeb1f29ab020b33019d4ac7f096cfab8fbe40f54073e49afc24f02aa54206d86f56c8f92e3db2d0d2f8a3dbdfa6417492cf299201f2ae6604 +DIST parsel-1.7.0.tar.gz 46036 BLAKE2B e83b5f7f5a7a4274632a38586641be761482c6978670f6c747249d4063f5596bacc42d698d294da1aa9fb972bbaf21cbe3247e49560f1b9c29a3d79eee4dd00a SHA512 850784cfb32fbf619dbcd53152edb569b199965e59f3ec088892a8d432aaf08c1a61f3562499c5c592d9578fb28f871d519e3d7b344e3b7a12fbaaca57909f89 diff --git a/dev-python/parsel/parsel-1.7.0.ebuild b/dev-python/parsel/parsel-1.7.0.ebuild new file mode 100644 index 000000000000..4caebf005232 --- /dev/null +++ b/dev-python/parsel/parsel-1.7.0.ebuild @@ -0,0 +1,48 @@ +# 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} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +DESCRIPTION="Utility to extract data from XML/HTML documents using XPath or CSS selectors" +HOMEPAGE=" + https://scrapy.org/ + https://pypi.org/project/parsel/ + https://github.com/scrapy/parsel +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT=0 +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/cssselect[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/w3lib[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/sybil[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +distutils_enable_sphinx docs \ + dev-python/sphinx-notfound-page \ + dev-python/sphinx_rtd_theme + +src_prepare() { + distutils-r1_src_prepare + sed "/pytest-runner/d" -i setup.py || die +} + +python_test() { + epytest --ignore=docs +} diff --git a/dev-python/pdm-pep517/Manifest b/dev-python/pdm-pep517/Manifest index 6a13b3af642c..3e0e13c08cf2 100644 --- a/dev-python/pdm-pep517/Manifest +++ b/dev-python/pdm-pep517/Manifest @@ -1,3 +1,2 @@ -DIST pdm-pep517-1.0.4.gh.tar.gz 314677 BLAKE2B dc6fad5bf6bd4aa6d9d490c6fb1df0d1a1543ae93f90ac4d53bbd515de6f6582a4fd032cc5c67aeebf71755fec6aac3b5a462a18eb08087c6a4da279e3c989ad SHA512 4edd016873c054f20efc39b8a044c2ff5dee70509c45ba1227e6982043dabb5ed0353afef4af73c88106ffe5a2c27f569077448fb27a0d58169710d2c6573c2f DIST pdm-pep517-1.0.5.gh.tar.gz 314932 BLAKE2B 5a0adce25de4aaa1d57d859223a3632c01f31d9be947384c9a1707fcb413f0a1d1434c9c6bee868ee0c668fa89cc78ef6d4831a4a2b1150607bc5f8173e61cd9 SHA512 e5cde819476187f4ad5caaa0dddb9409fbefb241e0548fb4ad9df4722de3c7b532aba969b399afade0bfd3d774ee5cdcd3bc9ece3a5ebfb2d5a2a6f3280a6ab5 DIST pdm-pep517-1.0.6.gh.tar.gz 315755 BLAKE2B 7b221d9ddc9683521e901177cafd2ffd2908af4acbe083b4a7d6525a81ece64d3768331135451d45ffc5c40c67c8c72802d75d52fdf85fa89a13f30110436a13 SHA512 5aeef3179d508d2acaedf4b99df41e64b26537120e586a01870651d2b379e2e5a1bf42934ee28a4b285cb83fe10ead073408b6b7d022ca1f55653533d12a2da1 diff --git a/dev-python/pdm-pep517/pdm-pep517-1.0.4.ebuild b/dev-python/pdm-pep517/pdm-pep517-1.0.4.ebuild deleted file mode 100644 index b498794ce33d..000000000000 --- a/dev-python/pdm-pep517/pdm-pep517-1.0.4.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="A PEP 517 backend for PDM that supports PEP 621 metadata" -HOMEPAGE=" - https://pypi.org/project/pdm-pep517/ - https://github.com/pdm-project/pdm-pep517/ -" -SRC_URI=" - https://github.com/pdm-project/pdm-pep517/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv x86" - -RDEPEND=" - >=dev-python/cerberus-1.3.4[${PYTHON_USEDEP}] - dev-python/license-expression[${PYTHON_USEDEP}] - >=dev-python/packaging-21.0[${PYTHON_USEDEP}] - >=dev-python/tomli-2[${PYTHON_USEDEP}] - dev-python/tomli-w[${PYTHON_USEDEP}] -" -BDEPEND=" - ${RDEPEND} - test? ( - dev-vcs/git - ) -" -# setuptools are used to build C extensions -RDEPEND+=" - dev-python/setuptools[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -src_prepare() { - rm -r pdm/pep517/_vendor || die - find -name '*.py' -exec sed \ - -e 's:from pdm\.pep517\._vendor\.:from :' \ - -e 's:from pdm\.pep517\._vendor ::' \ - -i {} + || die - distutils-r1_src_prepare -} - -src_test() { - git config --global user.email "test@example.com" || die - git config --global user.name "Test User" || die - distutils-r1_src_test -} diff --git a/dev-python/pdm-pep517/pdm-pep517-1.0.5.ebuild b/dev-python/pdm-pep517/pdm-pep517-1.0.5.ebuild index 4181d837e649..b498794ce33d 100644 --- a/dev-python/pdm-pep517/pdm-pep517-1.0.5.ebuild +++ b/dev-python/pdm-pep517/pdm-pep517-1.0.5.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv x86" RDEPEND=" >=dev-python/cerberus-1.3.4[${PYTHON_USEDEP}] diff --git a/dev-python/pyicu/Manifest b/dev-python/pyicu/Manifest index 29d997d925e7..fbdf9f62a871 100644 --- a/dev-python/pyicu/Manifest +++ b/dev-python/pyicu/Manifest @@ -1,4 +1 @@ -DIST pyicu-v2.10.1.tar.bz2 192780 BLAKE2B 0a8dea0091e07b889fbe79895b1a1fd030e29f9be02303e9b70b7380defaea14eeecc87031e4c1e57bab4a56680fad51f1489d117f31492a50c0323eefaa288d SHA512 a542fafdd1c64971ac4cf7fe0189324969cc4039319950663819e7040d9406ea200a84d3f2821a9a94c944087d0dbfe74fecebb430a01476114b6963ba83c739 DIST pyicu-v2.10.2.tar.bz2 192890 BLAKE2B b865e2777d922d7ec7ec1abab5e745670affa6e31704db7b23f906eab8ac99ac612c756f433119380a0fed2d180373dba05003722a1ba0990cafc7c4d9d3fbdd SHA512 687f48e0315cc72917b54c7431ee29d503ec79354842e5f6db564cc951a13d32cb4df97435d04c4b125a2a654f70429592ef2197e154624dd9a246b9bacfa4a9 -DIST pyicu-v2.10.tar.bz2 192789 BLAKE2B 824b83177b420bb78633a2d7b93bdcc781ec87ea105e7441be59547c6f56fadf292aa331decac96f095672a4d2741d709ed32dec4841b070bc056e7f0f8d65d0 SHA512 8f752ba97fc5ffc3004591826b47bd76c9b99d73a3784b2bba746cb611969a47a98971c89fe0b35dc817fd14b93b1bf0e85f4bf23986af22bcf5401485899c9e -DIST pyicu-v2.9.tar.bz2 243533 BLAKE2B c2ea32f69637e2d12a57ded96b570ba7fd41c92aed4a0dea36ebe5c224b80fa8d1672251f8218e0a35d463957ab4291cff778c3e690f0763e465dc6f0a1af26d SHA512 f10025afe1a0de5a1726c3d4aaec5b10ba62064c33205117efe643185dcd3560e8971b600606e9699269cca795477bf86ed2f9e604e9c0e04bb75a86f31cd114 diff --git a/dev-python/pyicu/pyicu-2.10.1.ebuild b/dev-python/pyicu/pyicu-2.10.1.ebuild deleted file mode 100644 index e130a58f5083..000000000000 --- a/dev-python/pyicu/pyicu-2.10.1.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 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - -inherit distutils-r1 - -MY_P=${P/-/-v} -DESCRIPTION="Python bindings for dev-libs/icu" -HOMEPAGE=" - https://gitlab.pyicu.org/main/pyicu/ - https://pypi.org/project/PyICU/ -" -SRC_URI=" - https://gitlab.pyicu.org/main/pyicu/-/archive/v${PV}/${MY_P}.tar.bz2 -" -S=${WORKDIR}/${MY_P} - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~riscv ~x86" - -DEPEND=" - dev-libs/icu:= -" -RDEPEND="${DEPEND}" -BDEPEND=" - test? ( - dev-python/six[${PYTHON_USEDEP}] - ) -" - -DOCS=( CHANGES CREDITS README.md ) - -distutils_enable_tests pytest diff --git a/dev-python/pyicu/pyicu-2.10.2.ebuild b/dev-python/pyicu/pyicu-2.10.2.ebuild index e130a58f5083..dbdf16c79198 100644 --- a/dev-python/pyicu/pyicu-2.10.2.ebuild +++ b/dev-python/pyicu/pyicu-2.10.2.ebuild @@ -21,7 +21,7 @@ S=${WORKDIR}/${MY_P} LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~riscv ~x86" +KEYWORDS="amd64 ~riscv x86" DEPEND=" dev-libs/icu:= diff --git a/dev-python/pyicu/pyicu-2.10.ebuild b/dev-python/pyicu/pyicu-2.10.ebuild deleted file mode 100644 index 417a52e91226..000000000000 --- a/dev-python/pyicu/pyicu-2.10.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# 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 - -MY_P=${P/-/-v} -DESCRIPTION="Python bindings for dev-libs/icu" -HOMEPAGE=" - https://gitlab.pyicu.org/main/pyicu/ - https://pypi.org/project/PyICU/ -" -SRC_URI=" - https://gitlab.pyicu.org/main/pyicu/-/archive/v${PV}/${MY_P}.tar.bz2 -" -S=${WORKDIR}/${MY_P} - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~riscv ~x86" - -DEPEND=" - dev-libs/icu:= -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - test? ( - dev-python/six[${PYTHON_USEDEP}] - ) -" - -DOCS=( CHANGES CREDITS README.md ) - -distutils_enable_tests pytest diff --git a/dev-python/pyicu/pyicu-2.9.ebuild b/dev-python/pyicu/pyicu-2.9.ebuild deleted file mode 100644 index bd56cdd35445..000000000000 --- a/dev-python/pyicu/pyicu-2.9.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# 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 - -MY_P=${P/-/-v} -DESCRIPTION="Python bindings for dev-libs/icu" -HOMEPAGE=" - https://gitlab.pyicu.org/main/pyicu/ - https://pypi.org/project/PyICU/ -" -SRC_URI=" - https://gitlab.pyicu.org/main/pyicu/-/archive/v${PV}/${MY_P}.tar.bz2 -" -S=${WORKDIR}/${MY_P} - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~riscv x86" - -RDEPEND=" - dev-libs/icu:= -" -DEPEND=" - ${RDEPEND} -" -BDEPEND=" - test? ( - dev-python/six[${PYTHON_USEDEP}] - ) -" - -DOCS=( CHANGES CREDITS README.md ) - -distutils_enable_tests pytest diff --git a/dev-python/pymediainfo/Manifest b/dev-python/pymediainfo/Manifest index c0da7add8fe8..f2f81ebb4b0f 100644 --- a/dev-python/pymediainfo/Manifest +++ b/dev-python/pymediainfo/Manifest @@ -1 +1,2 @@ DIST pymediainfo-5.1.0.tar.gz 445630 BLAKE2B debef8de004232c4e39bd17018c447474a4f71bc386b01710bea8084febb5353cb70512ee77c33ea8b3e6c7b67baded99aecb77b60c52da58be35ef91919f34a SHA512 d3c48e37f6d59b0f5bc1d66d4fad9fea26724863dc2ae75a30c80d972f68f3be650298d25105d330c20b83083f94d2ff5e2690c29573897e09afa44931f3228e +DIST pymediainfo-6.0.1.tar.gz 446487 BLAKE2B 402c71157e43fd03efe37934932c61e1e22d469c13f5b5e85d7e0f1d52d6e54289860777c1677efeb4710a5c55086a1c7db03da8ad2f88f49d144bd5484f8638 SHA512 7b373b133911eb320248f72627f6aeb6fa04705b55500639d18094ed8227296fd744c2c4b76d765e8b2d98d78f443114e9ca7ef8e2e0eb498d48d2b46956f952 diff --git a/dev-python/pymediainfo/pymediainfo-6.0.1.ebuild b/dev-python/pymediainfo/pymediainfo-6.0.1.ebuild new file mode 100644 index 000000000000..5c91ec7eaa8c --- /dev/null +++ b/dev-python/pymediainfo/pymediainfo-6.0.1.ebuild @@ -0,0 +1,32 @@ +# 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} pypy3 ) +PYTHON_REQ_USE="xml(+)" + +inherit distutils-r1 + +DESCRIPTION="A wrapper around the mediainfo library" +HOMEPAGE="https://github.com/sbraz/pymediainfo" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + media-libs/libmediainfo +" +# tests/test_pymediainfo.py::MediaInfoURLTest::test_parse_url requires libmediainfo with curl support +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + media-libs/libmediainfo[curl] + ) +" + +distutils_enable_sphinx docs dev-python/alabaster +distutils_enable_tests pytest diff --git a/dev-python/pymeeus/pymeeus-0.5.11.ebuild b/dev-python/pymeeus/pymeeus-0.5.11.ebuild index 209072d25e70..1f74916aba7e 100644 --- a/dev-python/pymeeus/pymeeus-0.5.11.ebuild +++ b/dev-python/pymeeus/pymeeus-0.5.11.ebuild @@ -1,15 +1,19 @@ -# Copyright 1999-2021 Gentoo Authors +# 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} ) +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) +DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 MY_PN="PyMeeus" MY_P="${MY_PN}-${PV}" DESCRIPTION="Python implementation of Jean Meeus astronomical routines" -HOMEPAGE="https://github.com/architest/pymeeus" +HOMEPAGE=" + https://pypi.org/project/PyMeeus/ + https://github.com/architest/pymeeus +" SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" S="${WORKDIR}/${MY_P}" @@ -19,4 +23,5 @@ KEYWORDS="~amd64" distutils_enable_tests pytest -distutils_enable_sphinx docs/source dev-python/sphinx_rtd_theme +distutils_enable_sphinx docs/source \ + dev-python/sphinx_rtd_theme diff --git a/dev-python/pymemcache/Manifest b/dev-python/pymemcache/Manifest index 4a94021247dc..d64f511c7898 100644 --- a/dev-python/pymemcache/Manifest +++ b/dev-python/pymemcache/Manifest @@ -1,3 +1 @@ -DIST pymemcache-3.5.1.tar.gz 65073 BLAKE2B cc3e5c6db665716c9f2eb6d99a53108484827fe38b51bdfff7799354a08b212064c71801d50683ea45c0a753ee787a634ef98adb69795e7245c5596a7716a162 SHA512 da69189e7fadc8417395075d033ed3cb72a485d4f2c4ec4deb5e2ec3cb43a34ee5558111903399f27b70f618be771f8c686513c7334d2ef507a0db959c4aa27b -DIST pymemcache-3.5.2.tar.gz 65351 BLAKE2B e515629ffb483ece7b59c43b1cb3bd41ee70a8c1cbbc3b0cde5d41d7a5aa2f74f04a0f1d7eb4c82d77384cc32d3e8199cc78408b29ba689b19f5cd040e97c2f6 SHA512 7089b3fdf424735a1922685022a30f7984686f13401a13101e4745ea1c38a3888b1c380f859653da85889e95829f3b7c6226c3c55f838baf783465321433fda5 DIST pymemcache-4.0.0.tar.gz 70176 BLAKE2B 23f8486138e7e4afa18c0b311887dac5220466df11c476018d34f14a34331c35881bd5c26c58a3214f5d40e9bb639be69a6dfcccd5d6200b9fe81f9aef3f3654 SHA512 1a19d887559630e5b991430b8206c2698909e0d6b234df0380f9da5647574560b0fdd98396959cb96670030a61f7d56fea4ecf3272b5c394fc8c31eb2144e1a3 diff --git a/dev-python/pymemcache/pymemcache-3.5.1.ebuild b/dev-python/pymemcache/pymemcache-3.5.1.ebuild deleted file mode 100644 index 41acd9d513c8..000000000000 --- a/dev-python/pymemcache/pymemcache-3.5.1.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_{7,8,9,10,11} ) - -inherit distutils-r1 - -DESCRIPTION="A comprehensive, fast, pure-Python memcached client" -HOMEPAGE=" - https://github.com/pinterest/pymemcache - https://pypi.org/project/pymemcache/ -" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND="" -DEPEND=" - ${RDEPEND} - dev-python/six[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/future[${PYTHON_USEDEP}] - >=dev-python/gevent-21.12.0[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - >=dev-python/pylibmc-1.6.1[${PYTHON_USEDEP}] - >=dev-python/python-memcached-1.59[${PYTHON_USEDEP}] - ) -" - -PATCHES=( "${FILESDIR}/${P}-no-coverage.patch" ) - -distutils_enable_tests pytest diff --git a/dev-python/pymemcache/pymemcache-3.5.2.ebuild b/dev-python/pymemcache/pymemcache-3.5.2.ebuild deleted file mode 100644 index 756f6f1caa4a..000000000000 --- a/dev-python/pymemcache/pymemcache-3.5.2.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_{7,8,9,10,11} ) - -inherit distutils-r1 - -DESCRIPTION="A comprehensive, fast, pure-Python memcached client" -HOMEPAGE=" - https://github.com/pinterest/pymemcache - https://pypi.org/project/pymemcache/ -" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND="" -DEPEND=" - ${RDEPEND} - dev-python/six[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/future[${PYTHON_USEDEP}] - >=dev-python/gevent-21.12.0[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - >=dev-python/pylibmc-1.6.1[${PYTHON_USEDEP}] - >=dev-python/python-memcached-1.59[${PYTHON_USEDEP}] - ) -" - -PATCHES=( "${FILESDIR}/${PN}-3.5.1-no-coverage.patch" ) - -distutils_enable_tests pytest diff --git a/dev-python/pymemcache/pymemcache-4.0.0.ebuild b/dev-python/pymemcache/pymemcache-4.0.0.ebuild index 50ab3182b45d..507d1a0c8c4e 100644 --- a/dev-python/pymemcache/pymemcache-4.0.0.ebuild +++ b/dev-python/pymemcache/pymemcache-4.0.0.ebuild @@ -21,7 +21,6 @@ KEYWORDS="~amd64" BDEPEND=" test? ( dev-python/Faker[${PYTHON_USEDEP}] - >=dev-python/gevent-21.12.0[${PYTHON_USEDEP}] dev-python/zstd[${PYTHON_USEDEP}] $(ememcached --get-depend) ) diff --git a/dev-python/pytest-check/Manifest b/dev-python/pytest-check/Manifest index 51ee33335cf9..feed46a3459c 100644 --- a/dev-python/pytest-check/Manifest +++ b/dev-python/pytest-check/Manifest @@ -1,3 +1,4 @@ DIST pytest-check-1.0.10.tar.gz 15603 BLAKE2B e51dbb2806bdac73e202b14668c76675979113f661eb339a1a3cff07069d3d4709869d67ea2cb6384483ebde8b68288026df9b7492b17ea67c79ee95e6865809 SHA512 dc3a80b20637eab8adda085ca8172bc3bde75bd47566972a07cf226bb38771933a531d99e139d7c220cc149715fd7d98ab964f72e0b520e8dd3df7633a6e5a90 DIST pytest-check-1.1.2.tar.gz 19090 BLAKE2B 25d483c29f7a357b26d6153582e9ca0a4b6f6c5c97baf9e8a12403de6993f44fa4d4eea370f1c800036062abffb68cbcf826c210f7eb32ef4fefcbfde031674f SHA512 64e74e399cecc6733aeca7ca88dedb110029394548c0b3e27d0f35e034887fbb9a3d6a2da7b30e52a5fa68f535e15373173ffaf391afa02783009e5edb6637d3 DIST pytest-check-1.1.3.tar.gz 19461 BLAKE2B e6ba332f3326992842a50323c6062283c3227d15526cc0f33f51a90455e7a30f0f53e96907896eeecce4a13b8e6fafcc8112eecfc844310200e107e92150d3d0 SHA512 af89cc90de9a72600d79947d2f771fe878dc55add754dae447afe8c0df47745842c35867ebc104825189c119858a7ddde992e91b48dab4f9e74fd71e7b55f51e +DIST pytest-check-1.2.0.tar.gz 20105 BLAKE2B c8f8a8ec38a3f6162fa43b90d757c3fd0867bb3ec2e04f4de2fe194aeb75041d925220f2b6fe222b3ae9d4dde8202680f9712b5b4c9a90224e9f0c0c81925b6d SHA512 585e727a817106f25dbd59aa6ee7f06565d0d216caa189001b18aee1f6e96aacb07e0886af6ca96fd36dacae1246a9acccee9b23341afc51981c7c496602d406 diff --git a/dev-python/pytest-check/pytest-check-1.2.0.ebuild b/dev-python/pytest-check/pytest-check-1.2.0.ebuild new file mode 100644 index 000000000000..66f6721842a6 --- /dev/null +++ b/dev-python/pytest-check/pytest-check-1.2.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 + +DESCRIPTION="pytest plugin that allows multiple failures per test" +HOMEPAGE=" + https://github.com/okken/pytest-check/ + https://pypi.org/project/pytest-check/ +" +SRC_URI="mirror://pypi/${P::1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/colorama-0.4.6[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/pytest-env/Manifest b/dev-python/pytest-env/Manifest index a5869c3c45b1..44208bd460a6 100644 --- a/dev-python/pytest-env/Manifest +++ b/dev-python/pytest-env/Manifest @@ -1,2 +1 @@ -DIST pytest-env-0.6.2.tar.gz 1693 BLAKE2B b303b8b2b486cd5f6c6273fefe709e3986183a56b6758b05f8bde973c561ebba9646538d38783749305740d8bd637966966a109fcd600cd6f6ee059449ffb328 SHA512 0b3bb21fc881023c102b584593c6e28840400ce8190810f33f9a421df4141e17dcfad2943c4159aaab82376b7b47b07b45f97c9cb232a7d17c4d35b55966596d DIST pytest_env-0.8.1.tar.gz 6926 BLAKE2B 1d993947c5d67a57832e170e2cc2cbe56f5f1eef37d96790ec3965e5d7b9489771d1890ef7c6f4ae504e1d6d22845cf9b1b3fccf3caeacb3e6ff33d5f86b9279 SHA512 0c99db9c5467f5fe6f8655e540fff4b91884cef3553daf455298d2dc7bb51439418f3149b941d37a777199f28d82eccb2073fdd5e09bfb97cdf24d3ddb1d21bc diff --git a/dev-python/pytest-env/pytest-env-0.6.2-r1.ebuild b/dev-python/pytest-env/pytest-env-0.6.2-r1.ebuild deleted file mode 100644 index 67f315fc8e01..000000000000 --- a/dev-python/pytest-env/pytest-env-0.6.2-r1.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 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) -inherit distutils-r1 - -DESCRIPTION="py.test plugin that allows you to add environment variables" -HOMEPAGE="https://github.com/MobileDynasty/pytest-env" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~hppa ~ppc ~ppc64 x86" - -RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]" diff --git a/dev-python/pytest-env/pytest-env-0.8.1.ebuild b/dev-python/pytest-env/pytest-env-0.8.1.ebuild index 9a94b4d97b79..a19fbf2227bb 100644 --- a/dev-python/pytest-env/pytest-env-0.8.1.ebuild +++ b/dev-python/pytest-env/pytest-env-0.8.1.ebuild @@ -14,7 +14,7 @@ S="${WORKDIR}/${P/-/_}" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86" +KEYWORDS="amd64 ~hppa ~ppc ~ppc64 x86" RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]" BDEPEND="dev-python/hatch-vcs[${PYTHON_USEDEP}]" diff --git a/dev-python/pytest-httpx/Manifest b/dev-python/pytest-httpx/Manifest index 1ee45fc971e3..c843ffef946c 100644 --- a/dev-python/pytest-httpx/Manifest +++ b/dev-python/pytest-httpx/Manifest @@ -1,3 +1,2 @@ -DIST pytest-httpx-0.21.0.gh.tar.gz 23123 BLAKE2B a9a1bc9effc557829071f13cec76aa1d164ae7040b685390c92f33c644c804448eba1ad3e841abdb667a2c0289abd64f5d3633779bd8b0355a1c03d390d94bd5 SHA512 6be6fb39ad1ef233ce9be7cf510422754b6c97a1b565d49224e82cbe4218ee24051b6c5865215ed575f200446dfe8dd1470908467c67077c51a4f5412b113c2a DIST pytest-httpx-0.21.1.gh.tar.gz 23997 BLAKE2B feba932cd8a4e7e36cbf98a5c07f8e3264c9f95568568dd4ec4b882a509a4feafd740d3c25a547b7ea28f7e5450083a5f5f7afde0b19bfe46f7999b01565fbe3 SHA512 22cd471996202c78c3d3b433f8ed525e0282df431f0923cfbce42fd543b56a2af20723062773a1a3e3f406a0ce6aa6eed27faaa76731472a903cdad6fb13f771 DIST pytest-httpx-0.21.2.gh.tar.gz 24311 BLAKE2B ae1ce7ada3977c3bd68f31b5e20e93ac32f2459359bcff30d1ccf358b07ce269f38acb06b46211ddaed1085a9cf78fcefb921a978a5ca4f6c84fe25b602a3a25 SHA512 d8a9d1381a7c1bb1f907effce48bcd4cad29b2eb135e5d18e7ba3025ba2f18d97c7914f0cfb835416dfa608c59ed51db653b0366d407cfbb82fc520808f3792e diff --git a/dev-python/pytest-httpx/pytest-httpx-0.21.0.ebuild b/dev-python/pytest-httpx/pytest-httpx-0.21.0.ebuild deleted file mode 100644 index 7990a1c18def..000000000000 --- a/dev-python/pytest-httpx/pytest-httpx-0.21.0.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# 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 - -MY_PN="${PN/-/_}" -DESCRIPTION="Send responses to HTTPX using pytest" -HOMEPAGE=" - https://colin-b.github.io/pytest_httpx/ - https://github.com/Colin-b/pytest_httpx/ - https://pypi.org/project/pytest-httpx/ -" -SRC_URI=" - https://github.com/Colin-b/pytest_httpx/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" -S="${WORKDIR}/${MY_PN}-${PV}" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 x86" - -RDEPEND=" - =dev-python/httpx-0.23*[${PYTHON_USEDEP}] - <dev-python/pytest-8[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest diff --git a/dev-python/pytest-httpx/pytest-httpx-0.21.1.ebuild b/dev-python/pytest-httpx/pytest-httpx-0.21.1.ebuild index 4d4084163aab..7990a1c18def 100644 --- a/dev-python/pytest-httpx/pytest-httpx-0.21.1.ebuild +++ b/dev-python/pytest-httpx/pytest-httpx-0.21.1.ebuild @@ -23,7 +23,7 @@ S="${WORKDIR}/${MY_PN}-${PV}" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" RDEPEND=" =dev-python/httpx-0.23*[${PYTHON_USEDEP}] diff --git a/dev-python/pytest-qt/Manifest b/dev-python/pytest-qt/Manifest index ef415126fbe8..8fb49db0827d 100644 --- a/dev-python/pytest-qt/Manifest +++ b/dev-python/pytest-qt/Manifest @@ -1,2 +1 @@ -DIST pytest-qt-4.1.0.tar.gz 119702 BLAKE2B 7c906c94761df6472ae65a6ebb38dff07de8156730e3e10615ea8e08f0bd9f9fee07127ee6e8616055117b1db1911bc9b4486345d84b249664d317561195ad77 SHA512 bfb56abbaac47bf9da26eb19d6913d59872f2a9923da339e9a30a2145d0a094ddec36bcfa21d39c4cf318f95a83c72c249fe70034294a6791f9d84345f77451d DIST pytest-qt-4.2.0.tar.gz 120749 BLAKE2B 1986bbf4ebc578ad548d2fcc8888b0d0fb42f75ad8a03f315f51c04ae466587d3299fca8ec3a49bc5d023fc8ca76cbe6c45728bc88609e20d6f68ea8c6ea204e SHA512 57e175bada0e33101eeb7d85579f6e804658d74168714b117b3a1ba564826405e70860b258caf28c917ddca7acd1842de2133a55b342862762fc37ca1a758b69 diff --git a/dev-python/pytest-qt/pytest-qt-4.1.0.ebuild b/dev-python/pytest-qt/pytest-qt-4.1.0.ebuild deleted file mode 100644 index 2d03fb85c2a4..000000000000 --- a/dev-python/pytest-qt/pytest-qt-4.1.0.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# 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} ) -PYSIDE2_COMPAT=( python3_{8..10} ) - -inherit distutils-r1 virtualx - -DESCRIPTION="Pytest plugin for PyQt5 and PySide2 applications" -HOMEPAGE=" - https://pypi.org/project/pytest-qt/ - https://github.com/pytest-dev/pytest-qt/ -" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm64 x86" - -RDEPEND=" - dev-python/QtPy[gui,testlib,widgets(+),${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/PyQt5[gui,testlib,widgets,${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/pyside2[gui,testlib,widgets,${PYTHON_USEDEP}] - ' "${PYSIDE2_COMPAT[@]}") - ) -" - -distutils_enable_tests pytest -distutils_enable_sphinx docs dev-python/sphinx_rtd_theme - -src_test() { - virtx distutils-r1_src_test -} - -python_test() { - # warnings from other plugins cause the test output matchers to fail - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=pytestqt.plugin - - local EPYTEST_DESELECT=( - # requires the window to be activated; that doesn't seem - # to be possible inside Xvfb - "tests/test_basics.py::test_wait_window[waitActive-True]" - - # we are forcing a specific module via envvar, effectively - # overriding the config - tests/test_basics.py::test_qt_api_ini_config - tests/test_basics.py::test_qt_api_ini_config_with_envvar - ) - - einfo "Testing with PyQt5" - PYTEST_QT_API="pyqt5" epytest || die - # Pyside2 is not compatible with python3.11 - if has "${EPYTHON}" "${PYSIDE2_COMPAT[@]/_/.}"; then - einfo "Testing with PySide2" - PYTEST_QT_API="pyside2" epytest || die - fi -} diff --git a/dev-python/pytest-qt/pytest-qt-4.2.0.ebuild b/dev-python/pytest-qt/pytest-qt-4.2.0.ebuild index af3e892e7451..2d03fb85c2a4 100644 --- a/dev-python/pytest-qt/pytest-qt-4.2.0.ebuild +++ b/dev-python/pytest-qt/pytest-qt-4.2.0.ebuild @@ -18,7 +18,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 ~arm64 x86" RDEPEND=" dev-python/QtPy[gui,testlib,widgets(+),${PYTHON_USEDEP}] diff --git a/dev-python/pytest-vcr/pytest-vcr-1.0.2.ebuild b/dev-python/pytest-vcr/pytest-vcr-1.0.2.ebuild index 9f9b0d0f8513..878df7432c79 100644 --- a/dev-python/pytest-vcr/pytest-vcr-1.0.2.ebuild +++ b/dev-python/pytest-vcr/pytest-vcr-1.0.2.ebuild @@ -28,6 +28,8 @@ DOCS=( docs README.rst ) EPYTEST_DESELECT=( tests/test_vcr.py::test_no_warnings ) +distutils_enable_tests pytest + python_prepare_all() { # pytest.config was removed in >=dev-python/pytest-5.0 sed "/pytest.config/d" -i tests/test_vcr.py || die diff --git a/dev-python/python-ctags/Manifest b/dev-python/python-ctags/Manifest index 3d50d1c72c4b..6b470afec3f7 100644 --- a/dev-python/python-ctags/Manifest +++ b/dev-python/python-ctags/Manifest @@ -1 +1,2 @@ +DIST python-ctags-1.5.0.gh.tar.gz 63921 BLAKE2B 1d25e7bafbdf157f1051321058b39fc9347bc479a61fae637bd11ef8540a3c67e2abd101493668977f05e464a8203b8c518fd1f4433defe5cec9939a200438b2 SHA512 414774c865af51e54c53f66dc7b3cfb5a03b64ea4eb94325658c158542615dfffdd1a5933d9ae03cedf1dbac30e1810d5914fbc3d6ab41e5f708c5d3000d161e DIST python-ctags3-1.5.0.tar.gz 59091 BLAKE2B 303b061e7e660c1ed08c52fa76e4a96e288c6359167006a112de2262eff8c6bb564cb5c5ed310e091a3e88c5d5494e883020e7aa3ed900dc9a316cc8a9f597e8 SHA512 a5f1e2ff49abf9cf471a0139c1d2e1c4f836557386f394a96e67692d6153c60717df16fc7dbf832f69182270842fdc550f77194855111534c3b71b81ac94e483 diff --git a/dev-python/python-ctags/python-ctags-1.5.0-r1.ebuild b/dev-python/python-ctags/python-ctags-1.5.0-r1.ebuild new file mode 100644 index 000000000000..587a7aac9920 --- /dev/null +++ b/dev-python/python-ctags/python-ctags-1.5.0-r1.ebuild @@ -0,0 +1,40 @@ +# 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} pypy3 ) + +inherit distutils-r1 + +MY_PN="${PN}3" +DESCRIPTION="Exuberant Ctags indexing python bindings" +HOMEPAGE="https://github.com/universal-ctags/python-ctags3" +# PyPI tarballs don't contain pyx files +SRC_URI="https://github.com/universal-ctags/python-ctags3/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" +S="${WORKDIR}/${MY_PN}-${PV}" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-util/ctags:=" +BDEPEND="dev-python/cython[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest + +python_prepare_all() { + # We currently need to let Cython regenerate this file to make Python 3.11 + # support work + rm src/_readtags.c || die + cython -3 src/_readtags.pyx || die + distutils-r1_python_prepare_all +} + +python_test() { + # To prevent pytest from importing it and failing with: + # ModuleNotFoundError: No module named 'ctags._readtags' + rm -rf src/ctags || die + epytest +} diff --git a/dev-python/miniupnpc/Manifest b/dev-python/python-miniupnpc/Manifest index a0c91537c286..6f8bb1688fd0 100644 --- a/dev-python/miniupnpc/Manifest +++ b/dev-python/python-miniupnpc/Manifest @@ -1,4 +1,2 @@ -DIST miniupnpc-2.2.3.tar.gz 101360 BLAKE2B d2a7f64d56be524c5c4aadfecd40da4e1ad040fd7eab64be5b5716cb06047e86e3ed6a9c17f697fd3210af0fb0a6ae032b6ef0a5c1f0d96a2e185db97b0d06e8 SHA512 8b9555d336d5dfe8017a16727f964cddacb3f2bf3528fe3dd2416480da5763b24e1740345e470f2123c170d79d88444e41dbbce4536e6069590925e4805bc5ee -DIST miniupnpc-2.2.3.tar.gz.sig 543 BLAKE2B d10bcb765e0d7a1eb68dc6269080b71535fced443e801a09677872bc498c866a02f22d851db963fb126331f28d2314542507713f514560d9d6eca2262287dc8b SHA512 636ad425b430629ee91b2755b543e9754aa88e243972f47839a2ad958757a12ff598f962e9328e5ad0fa3e0b2f895854c9cb3ca099048e7c132c8ce27806986e DIST miniupnpc-2.2.4.tar.gz 102932 BLAKE2B ebfea3fe978280825b7beefb8fe799685a72b0a74c589f5f55c7fde3d8c0d4bbb3d50fa0ff3aed554fa1e24ada0a1ab578328373f0295020415998fe35cde0a0 SHA512 f6515bda86405114016474fef6332c0c09a56b9293cf4391113f549444bab67e7d031af7b94dacff5e7c96d6508527204498c00fb67d6067685ef606b2152595 DIST miniupnpc-2.2.4.tar.gz.sig 543 BLAKE2B 14a1a1979e2d248bb721c66db3e28c1d6f970477e94235bdfa77763d5f9d4c0da42b23d026e861f48cc34a17e009bf8c57aacc648435ec9e31c3c4b6c3347ffb SHA512 476d1a6cfc519f82461bf4d516f73d40cc3ef27886da68d2e805a24d9c4609c53566e258bd2b622e7716f43c81c14bc0f01b189d23b46b87afc3c76d4e6fa23e diff --git a/dev-python/miniupnpc/files/miniupnpc-2.2.3-shared-lib.patch b/dev-python/python-miniupnpc/files/miniupnpc-2.2.3-shared-lib.patch index 6fbb17e60e9f..6fbb17e60e9f 100644 --- a/dev-python/miniupnpc/files/miniupnpc-2.2.3-shared-lib.patch +++ b/dev-python/python-miniupnpc/files/miniupnpc-2.2.3-shared-lib.patch diff --git a/dev-python/miniupnpc/metadata.xml b/dev-python/python-miniupnpc/metadata.xml index 4207c6f887e3..4207c6f887e3 100644 --- a/dev-python/miniupnpc/metadata.xml +++ b/dev-python/python-miniupnpc/metadata.xml diff --git a/dev-python/miniupnpc/miniupnpc-2.2.4.ebuild b/dev-python/python-miniupnpc/python-miniupnpc-2.2.4.ebuild index 0dc3d8c76f52..4412285d4361 100644 --- a/dev-python/miniupnpc/miniupnpc-2.2.4.ebuild +++ b/dev-python/python-miniupnpc/python-miniupnpc-2.2.4.ebuild @@ -8,6 +8,7 @@ PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) inherit distutils-r1 verify-sig +MY_P=${P/python-} DESCRIPTION="Python bindings for UPnP client library" HOMEPAGE=" http://miniupnp.free.fr/ @@ -15,15 +16,16 @@ HOMEPAGE=" https://github.com/miniupnp/miniupnp/ " SRC_URI=" - https://miniupnp.tuxfamily.org/files/${P}.tar.gz + https://miniupnp.tuxfamily.org/files/${MY_P}.tar.gz verify-sig? ( - https://miniupnp.tuxfamily.org/files/${P}.tar.gz.sig + https://miniupnp.tuxfamily.org/files/${MY_P}.tar.gz.sig ) " +S=${WORKDIR}/${MY_P} LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +KEYWORDS="amd64 ppc ppc64 x86" IUSE="" DEPEND=" diff --git a/dev-python/python-multipart/Manifest b/dev-python/python-multipart/Manifest index f2ef213f182f..cdb993e00fa1 100644 --- a/dev-python/python-multipart/Manifest +++ b/dev-python/python-multipart/Manifest @@ -1 +1 @@ -DIST python-multipart-0.0.5.tar.gz 48018 BLAKE2B cfff5c1c57ada3ba3d50da71273435781d62d3907ca1b7e6180cd319f2680258b3e1e278dff760106e7ca9c116f4c5c7adf957601d6d8465bf300e6211b83773 SHA512 c2fabeb77a25119c4bbb71c3faa6de58e27ac2f0c768298eac62b519fc51e5d95fdea05c4f3846ed47205f297802982a001577a73b2feec2d9f585c784d6c3d7 +DIST python-multipart-0.0.5.gh.tar.gz 48018 BLAKE2B cfff5c1c57ada3ba3d50da71273435781d62d3907ca1b7e6180cd319f2680258b3e1e278dff760106e7ca9c116f4c5c7adf957601d6d8465bf300e6211b83773 SHA512 c2fabeb77a25119c4bbb71c3faa6de58e27ac2f0c768298eac62b519fc51e5d95fdea05c4f3846ed47205f297802982a001577a73b2feec2d9f585c784d6c3d7 diff --git a/dev-python/python-multipart/files/python-multipart-0.0.5-pyyaml.patch b/dev-python/python-multipart/files/python-multipart-0.0.5-pyyaml.patch new file mode 100644 index 000000000000..5d189dd5f225 --- /dev/null +++ b/dev-python/python-multipart/files/python-multipart-0.0.5-pyyaml.patch @@ -0,0 +1,29 @@ +From 4831a3f9b5007145f2cb9e3020e83581523d4079 Mon Sep 17 00:00:00 2001 +From: Carl George <carl@george.computer> +Date: Tue, 19 Apr 2022 20:20:49 -0500 +Subject: [PATCH] Use yaml.safe_load instead of yaml.load (#46) + +yaml.load in PyYAML 6 requires a Loader argument. PyYAML recommends +using SafeLoader, which is implied if you call yaml.safe_load instead. + +https://github.com/yaml/pyyaml/pull/561 +https://msg.pyyaml.org/load + +Fixes #41 +--- + multipart/tests/test_multipart.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/multipart/tests/test_multipart.py b/multipart/tests/test_multipart.py +index 0e38c9c..ab33e7c 100644 +--- a/multipart/tests/test_multipart.py ++++ b/multipart/tests/test_multipart.py +@@ -716,7 +716,7 @@ def test_not_aligned(self): + test_data = f.read() + + with open(yaml_file, 'rb') as f: +- yaml_data = yaml.load(f) ++ yaml_data = yaml.safe_load(f) + + http_tests.append({ + 'name': fname, diff --git a/dev-python/python-multipart/metadata.xml b/dev-python/python-multipart/metadata.xml index 5e5b4b197e07..ea8988e8af6a 100644 --- a/dev-python/python-multipart/metadata.xml +++ b/dev-python/python-multipart/metadata.xml @@ -1,10 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person"> - <email>piotr.staroszczyk@get24.org</email> - <name>Piotr Staroszczyk</name> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> </maintainer> - <origin>gentoo-guru-overlay</origin> + <origin>gentoo-staging</origin> + <stabilize-allarches/> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/python-multipart/python-multipart-0.0.5.ebuild b/dev-python/python-multipart/python-multipart-0.0.5.ebuild index 190163d5b62a..c1c0901ecbc1 100644 --- a/dev-python/python-multipart/python-multipart-0.0.5.ebuild +++ b/dev-python/python-multipart/python-multipart-0.0.5.ebuild @@ -1,29 +1,36 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) inherit distutils-r1 DESCRIPTION="A streaming multipart parser for Python" HOMEPAGE=" - https://andrew-d.github.io/python-multipart - https://github.com/andrew-d/python-multipart + https://github.com/andrew-d/python-multipart/ + https://pypi.org/project/python-multipart/ +" +SRC_URI=" + https://github.com/andrew-d/python-multipart/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz " -SRC_URI="https://github.com/andrew-d/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64 ~x86" -# RuntimeError: Unsafe load() call disabled by Gentoo. See bug #659348 -RESTRICT="test" - -RDEPEND="dev-python/six[${PYTHON_USEDEP}]" -BDEPEND="test? ( dev-python/pyyaml[${PYTHON_USEDEP}] )" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + ) +" distutils_enable_tests pytest -distutils_enable_sphinx docs/source dev-python/sphinx-bootstrap-theme +PATCHES=( + "${FILESDIR}"/${P}-pyyaml.patch +) diff --git a/dev-python/pytoolconfig/pytoolconfig-1.2.2-r1.ebuild b/dev-python/pytoolconfig/pytoolconfig-1.2.2-r1.ebuild index 18a6284b4acb..a4eacb7e16e7 100644 --- a/dev-python/pytoolconfig/pytoolconfig-1.2.2-r1.ebuild +++ b/dev-python/pytoolconfig/pytoolconfig-1.2.2-r1.ebuild @@ -17,7 +17,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="LGPL-3" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 ~arm64 ~x86" RDEPEND=" dev-python/packaging[${PYTHON_USEDEP}] diff --git a/dev-python/pytoolconfig/pytoolconfig-1.2.2.ebuild b/dev-python/pytoolconfig/pytoolconfig-1.2.2.ebuild deleted file mode 100644 index b9c2923268a4..000000000000 --- a/dev-python/pytoolconfig/pytoolconfig-1.2.2.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=pdm -PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Python tool configuration" -HOMEPAGE=" - https://pypi.org/project/pytoolconfig/ - https://github.com/bageljrkhanofemus/pytoolconfig/ -" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="LGPL-3" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~x86" - -RDEPEND=" - dev-python/packaging[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/tomli[${PYTHON_USEDEP}] - ' 3.{8..10} ) -" -BDEPEND=" - test? ( - >=dev-python/sphinx-4.5.0[${PYTHON_USEDEP}] - >=dev-python/tabulate-0.8.9[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest diff --git a/dev-python/retrying/Manifest b/dev-python/retrying/Manifest index 8044ec16f43a..ec70ccfe592e 100644 --- a/dev-python/retrying/Manifest +++ b/dev-python/retrying/Manifest @@ -1 +1,2 @@ DIST retrying-1.3.3.tar.gz 11648 BLAKE2B 2c518ca887dddc35bad421ad75c76cb88f08a0965272816af8667b1b151eca2dda1b0b198607f26dcda2df547ba2cb317ac927ebfc5891cd8c6203ded619f1e1 SHA512 e053e62cb71b31573b89b8fffa706c3410794b5cced829582c373a09af78158f7a16948e6ce52078589cf7d8f5bba726c889180588a2628be343f242bc40c035 +DIST retrying-1.3.4.gh.tar.gz 11789 BLAKE2B 8a75a007bfc8333592aa1aed5b7090a44264a3ad46b71d8a494a0033ce94059751e8276c383c7567da8487230ab2877368bed4b15dca6c45cff2d709eebfd6b4 SHA512 80bd19eefdbd8277ec0ba656d1b1d3589b2e3492cbb902c963376b3df475abbe4725c9902426a1784e4dddbd57ea8bc51ea5925a0a72a6f5c11333893314f2c5 diff --git a/dev-python/retrying/metadata.xml b/dev-python/retrying/metadata.xml index 6d24b71f6734..1f7914545fb3 100644 --- a/dev-python/retrying/metadata.xml +++ b/dev-python/retrying/metadata.xml @@ -9,9 +9,10 @@ <email>openstack@gentoo.org</email> <name>Openstack</name> </maintainer> - <longdescription lang="en"> - Retrying is an Apache 2.0 licensed general-purpose retrying library, written in Python, to simplify the task of adding retry behavior to just about anything. - </longdescription> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> <origin>gentoo-staging</origin> <stabilize-allarches/> diff --git a/dev-python/retrying/retrying-1.3.4.ebuild b/dev-python/retrying/retrying-1.3.4.ebuild new file mode 100644 index 000000000000..77df92920beb --- /dev/null +++ b/dev-python/retrying/retrying-1.3.4.ebuild @@ -0,0 +1,29 @@ +# 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} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="General-purpose retrying library" +HOMEPAGE=" + https://github.com/groodt/retrying/ + https://pypi.org/project/retrying/ +" +SRC_URI=" + https://github.com/groodt/retrying/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/six-1.7.0[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/rope/Manifest b/dev-python/rope/Manifest index 2deb9fee33e7..1d7a2eb306db 100644 --- a/dev-python/rope/Manifest +++ b/dev-python/rope/Manifest @@ -2,3 +2,4 @@ DIST rope-1.1.1.tar.gz 274610 BLAKE2B 52354453305ee58db70f86392f7ec27179e1e4a9ec DIST rope-1.3.0.tar.gz 286846 BLAKE2B f8b122a276812638eee76cc235e91e013696f6047c450729edde1b4a5bfdd1d6aa7d1e9ac46048e8205a1f544ee82f740e0f7b20f10769a9a28065a8b9caee6b SHA512 45036cfb3abbe6b00306268f62804d787a633ef8981b23553d57ea18087bfbec33be6346bb59393bb6c3b48020a2da87f759668a57ec8e809ba3666aff0dfd2c DIST rope-1.4.0.tar.gz 287417 BLAKE2B d161e571649be2df7e6012336e7bded844f98f67764740814bfccebc926ff4c5f734cdf26701c9b7cec35bf3178be1f1ebe0d86f3b60259a161d3e87125fc7d5 SHA512 586f6f22fdf4743f71bf7f7505ec49aaced28aff48b5eae4f731eb690edec1ff8c736e3f9f21d7732bf5ea60ced5253e8f0d224a51a6a9bfdf7dd50ab56733ea DIST rope-1.5.0.tar.gz 287817 BLAKE2B fcaf2b9bb1e9e7fd7ad1b433188d9a4d78dbca5af910bce745ecfd8bb32d485d3fe3c85acc4e251e9295422f7a2c0a8d57088f36d5c9d56c72a35dc7eb60d340 SHA512 0fa16d78f2c39bbba5f1559adb83602019d7efb819d4c5b7964f7230af58d21bff1352cb1bdb2e73c5f2e506c8a9aea46d5ccbb412f929d4a0bc21bd28c9f5d6 +DIST rope-1.5.1.tar.gz 288965 BLAKE2B bc912932dec03317a3ea24d2e15f751037d308d58a941305b6155e2f85d2ee81fc82f9d4183a1a416ebda6e791ab8c5408835e7eb36a7fb5a8b71116d5edb24c SHA512 5b7c76f0bfd481978d0e6c23d37f17f9db49fe6affc0f670868deed9a23a95c53f31a578bc7b8cd1c59318b38789a6e264f8fa9d3c7e13e5ce3db80dbadf177f diff --git a/dev-python/rope/rope-1.5.1.ebuild b/dev-python/rope/rope-1.5.1.ebuild new file mode 100644 index 000000000000..e7718cf5b757 --- /dev/null +++ b/dev-python/rope/rope-1.5.1.ebuild @@ -0,0 +1,40 @@ +# 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="Python refactoring library" +HOMEPAGE=" + https://pypi.org/project/rope/ + https://github.com/python-rope/rope/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="doc" + +RDEPEND=" + >=dev-python/pytoolconfig-1.2.2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/build[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # our venv style confuses this comparison + ropetest/contrib/autoimport/utilstest.py::test_get_package_source_typing + ropetest/contrib/autoimport/utilstest.py::test_get_package_tuple_typing + ropetest/contrib/autoimport/utilstest.py::test_get_package_tuple_compiled +) diff --git a/dev-python/rustworkx/Manifest b/dev-python/rustworkx/Manifest index 909deb6ad1b5..afdcf62bb874 100644 --- a/dev-python/rustworkx/Manifest +++ b/dev-python/rustworkx/Manifest @@ -29,6 +29,7 @@ DIST num-integer-0.1.45.crate 22529 BLAKE2B 4da3e801f71ba8f92c692497e200bfc8d321 DIST num-traits-0.2.15.crate 49262 BLAKE2B 942ab170b2acce1cb40e6847f766bf810a79edd293d34f3a27864f464c16fe2b99fb13171ba429cc6d584248de879434beaadf1b231a4001b0e8389ed6c1be04 SHA512 5228498af0f15daeac3c9210f3e6e71cfaaeb30beea81dd37f8eb06b9592c8bf3226a47597cd8592ad4c513964a9a40f1ab2c33102ef3dfe3800d22c8d4528e8 DIST num_cpus-1.13.1.crate 14752 BLAKE2B 27490aeee349d944c29e50b44e9a84371030459353a9316ffaa0245ce499df4424e39c25a81be59cd0f9a19c3214c78bdc7a84b632059282be476d8f918c44d6 SHA512 91ffe0ec792228621d6c2d5cc544ef4744203d19fc9c86e0aad2610038c43aca0448b6c27d82979417a0f6c939ea73523303a44c28df0d1c1b8d09814d5306d9 DIST numpy-0.16.2.crate 51574 BLAKE2B 37ae5a83a1bdaa79595be2004969f0d511d244e58ae39d7d481fc8f6289d9c3f711ca3765ae61b0e9c7ab8e5eea67f426494bfd6474d28b4b6f3c29465c7ee45 SHA512 34f1230fe9ee120642c5a8480077cad9ea004ede34096719546bc368e298c7a0c578eef801a622dec7983119465e90970b3e46ec882787721226d10c43f58428 +DIST numpy-0.17.2.crate 66754 BLAKE2B 5ac3de861fa36e0d27eb117faf2be1e9a872fd507ad847d8fe193f56e309dfbae1fa4a1a77300ae88eecd695ba4578f4dfbe70940cedfb4f332ecf8930862b39 SHA512 b428d290ebf023676af5f7d0f2578e69f195f35213cf4b30c0ab6692428e907dd91afeaf6ced7e89ad46005f99c9653cce362684560f7208aa646243a0b67534 DIST once_cell-1.12.0.crate 31549 BLAKE2B 72a6c2efe279abce207096dfc47d207adae34764642f742bcbddcd8ebab9f78f6c2ea7750bd670844de5f6989e4951904b5f624281c28346cb6c41c585137e91 SHA512 02da0e6eccee2d5246fff5e6323bd7eff0f4641801be5e5910763929a5e9d8b62c07f81001c405cc6aff03f68a14ed5bfebd9900bbdd09568bd1ab9ca9b73093 DIST parking_lot-0.11.2.crate 39869 BLAKE2B 67c555e87b68f5763a7790563fd8d542e126bcb77f91267f3b76c51fd73060a2c32dcb91f9d0db7ea772e555d91576c8d7ff48053a9c35fbd3b749d2459a660c SHA512 526b176363dffa59501c18324bb723a3846ef5b0ff9bf1d890e40ad10e7023284f7c8012eda87520eaa94515ee828d9ef52692a9ed590a55e176383d6d472f9e DIST parking_lot_core-0.8.5.crate 32466 BLAKE2B 44d9cb65444ea93fded7e216e3bdbe2256ba1611f5cb6f80d67a01e71d428b81e6c7fc73cb928e2125f34bac0abf4d1da39f622e813dff89b01fed7632308b7e SHA512 c4315df551748d1ae77655e4d9f8c90f911498856e5358009e9e02e410bb8085f006f369188b0753a298371ebd74a5c383d848b65e31b55f3462381308c83a00 @@ -37,10 +38,15 @@ DIST ppv-lite86-0.2.16.crate 22245 BLAKE2B 03cba61af42dc3a78ab8f6b03d833c028b7ed DIST priority-queue-1.2.0.crate 32057 BLAKE2B b858eac5ca05efcd0d630b0e4ac5a4de60f9fb08a44705e681d045e1cc367b6a08a89cd4178f997f9d9aea7ea2eab6e3422c94f1ee8b951f3256fb4a42fc3394 SHA512 62c84d0f2b81243aa71a631a35cf20b905e130a54da5b29c193afab249a00933d6b63203b81747b6d2007c7b6707cb9039cdb1d356e87b2d551899b5bf3cdf2e DIST proc-macro2-1.0.39.crate 41663 BLAKE2B f7d83709efa289ccf12500389c7a4f4f0e32aa686f2d9c47f0da2a5381981e70e45f1b689023891c2543ce633c593a68a629c6414fbb3c2266e4cd99b8660048 SHA512 cd1572831493f83eb51985eed06d8ef5c0ea96ce4231d5ce3be5af9db97e7dd24400332d3b80e0e9c808091fc11889340dd86d8783ff3d9681dc53b876f49a0e DIST pyo3-0.16.6.crate 364587 BLAKE2B 935b3347770e1fba76f6aee6b4ddc41cf9cb13be77e76d2668985012776a119906403a8fe95ccd0e33b4630bd38936693d2fd1b7b3d11d84a4e53fca021a2f36 SHA512 fe297e4d171ecb5a965ce9f3a0527a086766ac5607ba7b59b2a3a8f6cc66da3959d93f1d6aa688d67ceebde41ac4adefce18c0d52c1b77d0cd95cf1178f52325 +DIST pyo3-0.17.3.crate 408939 BLAKE2B e67ce34c626dbede3c76abf66ba5078827e8a75644ff9fbd83eccf3d53096a3c2e0991da8b3489ea9984c665751308bcf4aa9c3d31dd62c72127694156a7a0a9 SHA512 5c83ea76202edce13c370d023562a9009382e36fdf3fcd7c4dea844ab8e5e048db4cc79a9c0ea98fb7017a83da16924ba0981ad98bd83e75e2fac434738e9740 DIST pyo3-build-config-0.16.6.crate 28891 BLAKE2B 26667482bf9f5b140daab9728f58965a8417e879bfeaf27d9c61f75502150557f3d5952bf52b1d16360ade2f58ed44f99e10a5781a6d241844e9202735c6625e SHA512 a015bb4c328f0d1e643d64831e029bbd66cbf635ab616533f35aefce59abf1c5d596099feaccb81bff02e863867c14f975ce6fc55bc05d99ea47b5f6fdc2da5d +DIST pyo3-build-config-0.17.3.crate 29230 BLAKE2B 193df0c15a2150505c823338e76f4d75e2f28158626edf332da2b10b6a81bfaf7f95a3a32c9f218717504b2f0dd80d3fb61c78ab3df9cb9024c3686f8ca002b0 SHA512 92652ffdfb3f6c3c8a1c2f97f5e2ed19175ba6bad5cd0f0c113b569369193aa18d95adc780bbdb8202d815a1ec0b6aeaf40d93d64faab42f4e8b452c806906a2 DIST pyo3-ffi-0.16.6.crate 60756 BLAKE2B 148e67de195577a1676c80be1a5538d80cf25b0d9eac9facfdcd223dc40484a9c3c7c84377f727e83e50118fa803591acc1d800b93adf29c91e6a15154c2856c SHA512 97c69900e2b355a002d10e48883cc8d4d9245d07f956087fb9c3b0ecfb9039c84c3f3a23f17caf28c637c4522f0fe252fbbb16b543825e4f724ee19232a34d22 +DIST pyo3-ffi-0.17.3.crate 62854 BLAKE2B 3f1c519b210de0aee19b832845c1d44237f780f18173ddc1b1cef5eac1060fab40fd8dbec067a49e4d28fc7edcd0bd751f54438ad42a8b98641de0517052c64b SHA512 c08481d1530207fee544a5dde14253415e5451c1c013b86ac1f0e9bcb3c1df7866764cd11bad523105b6821725560329b89ff689b3aa2f0698cdab148d0fc12e DIST pyo3-macros-0.16.6.crate 8453 BLAKE2B 518809b1236149f14b264d48f642e873aea2b22edb655cf4cf4d6307d2eeb7544228b80ca7559397d3483c837ae2ea9f772a26563d01a95613dad0a1a704c1e9 SHA512 95b6898da9974ef232b04197e47ea4e7d60de9f817da9a9995f07b05ca74965df2b2e8e8267d616b665b04ab810b93ca17255b20df89ac9c71014e5c9fd3a9f1 +DIST pyo3-macros-0.17.3.crate 7257 BLAKE2B 4c5e166a37c31f2cc21b7dce9b46dcdaeea0f12299c421430efe72b47ac954f10680bf6ecb28a5f0058abaf22519f6ce05d21e5de534e362ceb9847049601f4f SHA512 f99d38ea69b1d46599d203908d12eb3fe4869a48b21b3eaba0c9c8e52b9f2b3c5ea72505dcb9b3330450dd724eeba859eef724fe9624ebbd8bd3cbcff7372df1 DIST pyo3-macros-backend-0.16.6.crate 49252 BLAKE2B 9fc531507d4f9d0e7ed183987fbabd043f7c31afe6488c53c6100d98e75e5296e9ee7cc4eb14798967ac62e7d8c31d602eac5166699058def384e4f029a3cf0b SHA512 49d82cff8762eeb27d8220aa98b2be43f614445f156212d45abef052e347ba2f4a7930e7c5c8a9843ea895ac5c223afc6527d036a9cad00efff9bda18907b019 +DIST pyo3-macros-backend-0.17.3.crate 49992 BLAKE2B a922c3c2c1f494002fa8592704c43ddbb4d9bf650187adcfc94f82c1275bcb69d444ede404d1b40bdf1e199427e8de880464b76c7385c2f96633544ad021c4b4 SHA512 b4dbddc3ac7ae542560459376127cabdbb4de83c04d70a4efe0976fa94e6ce94a7a62723f689a8fbb1d795fc235b1ac3611f8b4985ae2af0db4a9dc08de48927 DIST quick-xml-0.22.0.crate 132066 BLAKE2B 1c1d71fdaa022e430e6265530f3e40924c13457fe422e4355eedfcb5ebe8c75d0205f73ffea0968d8196d74804d7d0fbf61954852c98831d510af6c45dcf6923 SHA512 15e56fafc84e62b219977c5ab0f07a021bb71216d7cbb673a7ffec4ec6bda36f97d7b7034751b0b7d745df7c17c1a591a281cf2c97aa4fada7327979711ae3dd DIST quote-1.0.18.crate 28911 BLAKE2B 623872402cb185a57e2ffb1bfe4105c49c152c33c44c8054af59df7bb193d14416ea2caa7b28b3f9b9ae6985bec7fc7825bc946e2e41915d2744c887a51559b6 SHA512 3fa537aa96a8970104411471b0e4b7b9339583d552c1d9297737a59ef5301af41da105b92aeace87376e1395e379153f6551bfcfe9c740e6945064426f5f6f84 DIST rand-0.8.5.crate 87113 BLAKE2B 516f26bb2a969d0d79e957818133f35d2c0b4d9f1b401098ea23c5b80d27599e842b9298c0c5e46e2a6cb6953857bf8a9fb71ec9366c5ce6708cf17df14f179c SHA512 8b33a8988906ba5e2057a9a84bdd11f867a5536c22f5056eec59ed4ec4e3a6da2fd773da4c0510d343762e5a4ea0f007db4c4a7cef87a47f90e36c1a84d86fb2 @@ -52,11 +58,13 @@ DIST rayon-1.5.3.crate 167246 BLAKE2B bb312c9879fea3cedecb70bff78616eb7fc761e220 DIST rayon-core-1.9.3.crate 65300 BLAKE2B de5700c9def379f6a27ee0ac0667f741913c28ba4d98e95d7ae964c32f13967b4ca160d219b53394985ff4557a11a6ab3c242333e2a6d3790801bdffef3f9153 SHA512 4b852f083766e7e414132840cc8dfef148e15db47967eeedc2ddbff9a4372521c296dd4f66e0b6990f49a8ce88ebed9d44e7ad674df42f96b99b24469b1852a5 DIST redox_syscall-0.2.13.crate 23759 BLAKE2B b59c3e923b7bddc84285377eca86e649c21ee7dd61924245d43c6554124adf689f9b92841ca64876b34797249698511b322f6e8e639d71e45e1ae9da5f8b7834 SHA512 6551f503ba52c4edc0cb4a418ff212188ddc7be80dcb39eaf3bfb82faa9a76cdf359f604d6b32be6c6a335b54180c9399a0e32670333a5a08351957308486100 DIST rustworkx-0.12.0.gh.tar.gz 480968 BLAKE2B 36c1e77108d1a9b473210ed80b5970d40a5ba504e1b820dc67478a3e4aaecabb1b279744cc0fca3eda2a839e96cea696b8ea3601fc08a30e44d4a440cbf47356 SHA512 41ca3a29794acde0eb312689b0039a5b1c12fce5ff40488c55839db6e7d35e67cb225af618a020f013367dd7da1f6a840e8d6bc665f35923f9b1fe126b2a7615 +DIST rustworkx-0.12.1.gh.tar.gz 481574 BLAKE2B 7d3c574f09a8661fedc4c03637fae06361d61ce10aed4bd7d0dbeb9814f6cc7666081a9ca2497efc5f94ecd5410ec6fad4722d4f696eb5992d639c2961a5bcca SHA512 07a97e677886bf822d2f943477494c0eb6435d26885bc4190ea31eee6a49bd347af19690e96d0747cb213efb9c6591a0a9606c13558bc4e0692671380f9af223 DIST ryu-1.0.10.crate 48485 BLAKE2B cbc0ab4e0b2031f4ca3a34914bd61395d14706d42e2414757aa23a67530d549382d61b630159c92a169d1dd3315951b0071ff18349d2b090ae262de536aa29e2 SHA512 1bd0af71a20715251dd42596df6e7677e44f712bbb40b0d9544109c1b2478a7bd2c9393535f0d4f3bfe2d1b75b3a2b899044051715a7da7d165d6d586e0775f2 DIST scopeguard-1.1.0.crate 11470 BLAKE2B f774eb90b7d3ffb2efba47518e9d1dead4017ab4b38a4bd74914daa84a5af4bf9eb63da0496e3924499d79cd0439c37447aeda4a21226f95645bddcd6becfabe SHA512 368fa5726df8f42b599993681579a9ffd0196480ee3cd0f9f671e8493f3bedd1e1779bdf2beb329e77e0005fa09b816e3385f309490c0f2781568db275d4d17d DIST serde-1.0.145.crate 76568 BLAKE2B 2d38e4ced18d204d8c36122ad09fc00f0378c7e9014d3bc67fb7c3e5ab0f923aeabb6a5fefc8699e80e220b12601d01dbe3ae5267a124164bee2e4d9897aa0fd SHA512 8146c39249ad54028717bcfd916fa5abd8b1ddaec54c4d0de485bf10cb6a85676a53068a07b9563e1717fedb4746ef672ae0c285a8998543cf92d7a157f2d442 DIST serde_derive-1.0.145.crate 54860 BLAKE2B 0c80f1b8844e044bce28c3fd8e46ac732de21736622fd7b2235c41d9a909d7ad224e8e7ba5fa3e5de2cfba5e48a4116f97e9b7eb31b0201c01bc98d40a78d16d SHA512 267389f8cd6d3a7b7d4a4d3226346999294e2fbef7446ff1cd1183dfb4fd17409f5891f6c2cae113b79cffdaca07f2037fd2f4108f93723e6baa5153bb9a61c6 DIST serde_json-1.0.85.crate 144635 BLAKE2B 03d2de5563c8b8e9150b656b62329a87a5dc42c1fe389e40291a3b2a7232e2342b6e52f6625ecfaa8cde4420017a0db82b2ef332f82f2fc1caa50b98e544031b SHA512 b9ba5c8f5e5c977d31c720995317c99486897a064993784e8abd4e35e0c9ccf20d421552b4436cd88420b5e6fe1d7ebc411bbc2e803cf1732e133c29365834bc +DIST serde_json-1.0.89.crate 144638 BLAKE2B e296fd2fd3054b81349f246d207de4f7f8072e480a34f1c39afc2d46cdb6b861d1514a8bb64f2f68920e8db43b642814f7f4e989dab95cee62485ca2f8db2e8d SHA512 4bafa5693977e129f5787f2ff10f914e2a7740bf7e631bcdf51b27d0d9e5517873184b56649914371e1881107e7ed0a8fedf487617db334d4a7a4bf95c6c16a3 DIST smallvec-1.8.0.crate 27992 BLAKE2B d02897eb4d3901805be86cafd5d3dc6768b31c2ee4d0a9d7eb455e2a21be2864ea83589f4ffde102dbbafb66e3c197707af770b5ef184b8e244d992189644b84 SHA512 17687cfa6aaf95a1df063adc3a412a7c41918a0d003eaac90f7d9e859fb8fa1d652eedee17a4cb3aaae9b33a2043f89e796519e3a7a3992b292f04049bf80b0c DIST syn-1.0.96.crate 236896 BLAKE2B 57445f4925169212c3b794312f388c2829bc343fd60f37f60d46bc944c946c02476b1ec64f17ec8b91e84c112dbbf04bf64feba9a3fd3512dad0d4b3376f4869 SHA512 f53b9e97b6b19d18a35d13aaa9c58b8fdd0da96443aaad76ed027e9ac7d438b574ae052b02b9bef410f25fbab851a5af3cc64fafaefffe47932827e6ca02209c DIST target-lexicon-0.12.4.crate 23020 BLAKE2B ad9780b9478b00b4fdcb07bd016d83216695413090ac29cca06388c3790e2832c978b1c7e69f6d34bb6fc9adc39c0a0b6b6636e50a9715a9f5f16445dba22d19 SHA512 194fe1946ad8d9fdb383bf8a65374e24d216382c1ed5379dabc98d58842512624c32838b8d6d0658d866f6559d37f1343a30c5809e8914dd85790399252b3e06 diff --git a/dev-python/rustworkx/rustworkx-0.12.1.ebuild b/dev-python/rustworkx/rustworkx-0.12.1.ebuild new file mode 100644 index 000000000000..f4daf03bb400 --- /dev/null +++ b/dev-python/rustworkx/rustworkx-0.12.1.ebuild @@ -0,0 +1,131 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" + ahash-0.7.6 + autocfg-1.1.0 + bitflags-1.3.2 + cfg-if-1.0.0 + crossbeam-channel-0.5.4 + crossbeam-deque-0.8.1 + crossbeam-epoch-0.9.8 + crossbeam-utils-0.8.8 + either-1.6.1 + fixedbitset-0.4.2 + getrandom-0.2.6 + hashbrown-0.11.2 + hermit-abi-0.1.19 + indexmap-1.7.0 + indoc-1.0.6 + instant-0.1.12 + itoa-1.0.2 + lazy_static-1.4.0 + libc-0.2.126 + lock_api-0.4.7 + matrixmultiply-0.2.4 + memchr-2.5.0 + memoffset-0.6.5 + ndarray-0.13.1 + num-bigint-0.4.3 + num-complex-0.2.4 + num-complex-0.4.1 + num-integer-0.1.45 + num-traits-0.2.15 + num_cpus-1.13.1 + numpy-0.17.2 + once_cell-1.12.0 + parking_lot-0.11.2 + parking_lot_core-0.8.5 + petgraph-0.6.2 + ppv-lite86-0.2.16 + priority-queue-1.2.0 + proc-macro2-1.0.39 + pyo3-0.17.3 + pyo3-build-config-0.17.3 + pyo3-ffi-0.17.3 + pyo3-macros-0.17.3 + pyo3-macros-backend-0.17.3 + quick-xml-0.22.0 + quote-1.0.18 + rand-0.8.5 + rand_chacha-0.3.1 + rand_core-0.6.3 + rand_pcg-0.3.1 + rawpointer-0.2.1 + rayon-1.5.3 + rayon-core-1.9.3 + redox_syscall-0.2.13 + ryu-1.0.10 + scopeguard-1.1.0 + serde-1.0.145 + serde_derive-1.0.145 + serde_json-1.0.89 + smallvec-1.8.0 + syn-1.0.96 + target-lexicon-0.12.4 + unicode-ident-1.0.0 + unindent-0.1.9 + version_check-0.9.4 + wasi-0.10.2+wasi-snapshot-preview1 + winapi-0.3.9 + winapi-i686-pc-windows-gnu-0.4.0 + winapi-x86_64-pc-windows-gnu-0.4.0 +" + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit cargo distutils-r1 + +DESCRIPTION="A high performance Python graph library implemented in Rust" +HOMEPAGE=" + https://github.com/Qiskit/rustworkx/ + https://pypi.org/project/rustworkx/ +" +SRC_URI=" + https://github.com/Qiskit/rustworkx/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + $(cargo_crate_uris) +" + +LICENSE="Apache-2.0" +# Dependent crate licenses +LICENSE+=" + Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD MIT + || ( LGPL-3 MPL-2.0 ) +" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/numpy-1.16.0[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-rust[${PYTHON_USEDEP}] + test? ( + dev-python/fixtures[${PYTHON_USEDEP}] + dev-python/graphviz[${PYTHON_USEDEP}] + >=dev-python/networkx-2.5[${PYTHON_USEDEP}] + dev-python/stestr[${PYTHON_USEDEP}] + >=dev-python/testtools-2.5.0[${PYTHON_USEDEP}] + media-gfx/graphviz[gts] + ) +" + +# Libraries built with rust do not use CFLAGS and LDFLAGS. +QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/rustworkx/rustworkx.*\\.so" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local EPYTEST_DESELECT=( + # TODO: hangs + tests/retworkx_backwards_compat/visualization/test_mpl.py + tests/rustworkx_tests/visualization/test_mpl.py + ) + rm -rf rustworkx || die + epytest +} diff --git a/dev-python/scipy/scipy-1.9.3.ebuild b/dev-python/scipy/scipy-1.9.3.ebuild index 52913e517077..c860c967d7e9 100644 --- a/dev-python/scipy/scipy-1.9.3.ebuild +++ b/dev-python/scipy/scipy-1.9.3.ebuild @@ -62,6 +62,7 @@ RDEPEND=" BDEPEND=" dev-lang/swig >=dev-python/cython-0.29.18[${PYTHON_USEDEP}] + >=dev-python/meson-python-0.11[${PYTHON_USEDEP}] dev-python/pybind11[${PYTHON_USEDEP}] >=dev-util/meson-0.62.2 dev-util/patchelf @@ -70,10 +71,6 @@ BDEPEND=" fortran? ( dev-python/pythran[${PYTHON_USEDEP}] ) test? ( dev-python/pytest-xdist[${PYTHON_USEDEP}] )" -PATCHES=( - "${FILESDIR}"/${PN}-1.9.9999-meson-options-lapack.patch -) - EPYTEST_DESELECT=( linalg/tests/test_decomp.py::TestSchur::test_sort linalg/tests/test_solvers.py::test_solve_discrete_are @@ -90,9 +87,11 @@ src_unpack() { } python_configure_all() { - # workaround stupid numpy distutils overrides, indirectly via pythran - export SETUPTOOLS_USE_DISTUTILS=stdlib export SCIPY_USE_PYTHRAN=$(usex fortran 1 0) + DISTUTILS_ARGS=( + -Dblas=blas + -Dlapack=lapack + ) } python_test() { diff --git a/dev-python/scipy/scipy-1.9.9999.ebuild b/dev-python/scipy/scipy-1.9.9999.ebuild index d7b924a58664..b70311ff79e4 100644 --- a/dev-python/scipy/scipy-1.9.9999.ebuild +++ b/dev-python/scipy/scipy-1.9.9999.ebuild @@ -62,6 +62,7 @@ RDEPEND=" BDEPEND=" dev-lang/swig >=dev-python/cython-0.29.18[${PYTHON_USEDEP}] + >=dev-python/meson-python-0.11[${PYTHON_USEDEP}] dev-python/pybind11[${PYTHON_USEDEP}] >=dev-util/meson-0.62.2 dev-util/patchelf @@ -70,10 +71,6 @@ BDEPEND=" fortran? ( dev-python/pythran[${PYTHON_USEDEP}] ) test? ( dev-python/pytest-xdist[${PYTHON_USEDEP}] )" -PATCHES=( - "${FILESDIR}"/${PN}-1.9.9999-meson-options-lapack.patch -) - EPYTEST_DESELECT=( linalg/tests/test_decomp.py::TestSchur::test_sort linalg/tests/test_solvers.py::test_solve_discrete_are @@ -90,9 +87,11 @@ src_unpack() { } python_configure_all() { - # workaround stupid numpy distutils overrides, indirectly via pythran - export SETUPTOOLS_USE_DISTUTILS=stdlib export SCIPY_USE_PYTHRAN=$(usex fortran 1 0) + DISTUTILS_ARGS=( + -Dblas=blas + -Dlapack=lapack + ) } python_test() { diff --git a/dev-python/simber/Manifest b/dev-python/simber/Manifest index 5097239f4df7..3d64ac9c0701 100644 --- a/dev-python/simber/Manifest +++ b/dev-python/simber/Manifest @@ -1 +1,2 @@ DIST simber-0.2.4.tar.gz 91600 BLAKE2B 64ef49a8458fc98bfe87ceaeaa7bfcf9f76c8283f8a80cd918dcc8709ca5f4c2b1d657fda345812b3cb280855f3bc7bc9e3d8045b593bc8dd9dbc134f84e0e81 SHA512 17def9e8c6f0695ec36b5e48011d2db892436b7076203fe008aac7c8c2ce0e0ab9cc5be45f6eb136984f41997a7e91549c77cb1761b65694039619bdb8397ae1 +DIST simber-0.2.5.gh.tar.gz 91615 BLAKE2B 7cf1367033cfb174deee87cbc97ca2ec22ba9d12e9be489526d489244ca516ba8af32d409beee88d9dd8ebf60e8d68a25b2cf1111eddd2a118a12ca28ab1a43d SHA512 254b0eca4447ee63eeec8a7e5e3e07667fd6b839c3ae5307dffb5326770807720cb2e3afb5a131721e3c44a9e6ddcbd15e1a36824f0bcf1ac8c7b3c4024e44ea diff --git a/dev-python/simber/simber-0.2.5.ebuild b/dev-python/simber/simber-0.2.5.ebuild new file mode 100644 index 000000000000..6cd2ed54e9fa --- /dev/null +++ b/dev-python/simber/simber-0.2.5.ebuild @@ -0,0 +1,22 @@ +# 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="Simple, minimal and powerful logging library for Python" +HOMEPAGE="https://simber.deepjyoti30.dev/" +SRC_URI="https://github.com/deepjyoti30/${PN}/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-python/colorama[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest diff --git a/dev-python/sphinx-hoverxref/Manifest b/dev-python/sphinx-hoverxref/Manifest new file mode 100644 index 000000000000..2164c9d52159 --- /dev/null +++ b/dev-python/sphinx-hoverxref/Manifest @@ -0,0 +1 @@ +DIST sphinx-hoverxref-1.3.0.gh.tar.gz 1720899 BLAKE2B dae94b9ba8fb46e76d669548d9cfb41cc858756d800c5be8bdc73fb58c44587d56dd1fdb2c402ef8cb685f03f5e09a58852dff51c4670de9116e0f35f39fdb66 SHA512 29b61e9391b973094acccfed8206dd9b49aa1954621727b7bf1e2914bf91f8840b3114937f8fde386f6d9dca680330192df66cade4f9eb9952971111de9f0cf7 diff --git a/dev-python/sphinx-hoverxref/metadata.xml b/dev-python/sphinx-hoverxref/metadata.xml new file mode 100644 index 000000000000..e4ecaa28ea20 --- /dev/null +++ b/dev-python/sphinx-hoverxref/metadata.xml @@ -0,0 +1,12 @@ +<?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> + <doc>https://sphinx-hoverxref.readthedocs.io/en/latest/</doc> + </upstream> + <origin>gentoo-guru-overlay</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/sphinx-hoverxref/sphinx-hoverxref-1.3.0.ebuild b/dev-python/sphinx-hoverxref/sphinx-hoverxref-1.3.0.ebuild new file mode 100644 index 000000000000..0d981cba749f --- /dev/null +++ b/dev-python/sphinx-hoverxref/sphinx-hoverxref-1.3.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +DISTUTILS_USE_PEP517=flit +inherit distutils-r1 + +DESCRIPTION="Sphinx extension to show tooltips with content embedded when hover a reference" +HOMEPAGE=" + https://pypi.org/project/sphinx-hoverxref/ + https://github.com/readthedocs/sphinx-hoverxref +" +SRC_URI="https://github.com/readthedocs/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/sphinxcontrib-jquery[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/sphinxcontrib-bibtex[${PYTHON_USEDEP}] + dev-python/sphinx-testing[${PYTHON_USEDEP}] + ) +" + +EPYTEST_DESELECT=( + # tests that require network + tests/test_htmltag.py::test_intersphinx_default_configs + tests/test_htmltag.py::test_intersphinx_python_mapping + tests/test_htmltag.py::test_intersphinx_all_mappings +) + +distutils_enable_tests pytest + +distutils_enable_sphinx docs \ + dev-python/sphinx-autoapi \ + dev-python/sphinx-notfound-page \ + dev-python/sphinx-prompt \ + dev-python/sphinx-tabs \ + dev-python/sphinx-version-warning \ + dev-python/sphinx_rtd_theme \ + dev-python/sphinxcontrib-bibtex \ + dev-python/sphinxemoji diff --git a/dev-python/sphinx-version-warning/Manifest b/dev-python/sphinx-version-warning/Manifest new file mode 100644 index 000000000000..388a250a9995 --- /dev/null +++ b/dev-python/sphinx-version-warning/Manifest @@ -0,0 +1 @@ +DIST sphinx-version-warning-1.1.2.gh.tar.gz 88859 BLAKE2B 9f5ab5f24ad8ef3784a6f2e8213b57c9f26f79d7d9801dffcf245f74a70938cccf04f7040749eab249034b58ff275e96e06e2272cc229d2605d8474098fbb2e3 SHA512 a629b9271507f812e3e814b4f11f78d1dc3cbd90b8db12b75a680e3d3bb17216bdc52ad246e985392a29cf5f4aa22ba14801019bebc306996d9f58e895b6494d diff --git a/dev-python/sphinx-version-warning/metadata.xml b/dev-python/sphinx-version-warning/metadata.xml new file mode 100644 index 000000000000..affa1be891f9 --- /dev/null +++ b/dev-python/sphinx-version-warning/metadata.xml @@ -0,0 +1,12 @@ +<?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> + <doc>https://sphinx-version-warning.readthedocs.io/</doc> + </upstream> + <origin>gentoo-guru-overlay</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/sphinx-version-warning/sphinx-version-warning-1.1.2.ebuild b/dev-python/sphinx-version-warning/sphinx-version-warning-1.1.2.ebuild new file mode 100644 index 000000000000..d98dd0dc499d --- /dev/null +++ b/dev-python/sphinx-version-warning/sphinx-version-warning-1.1.2.ebuild @@ -0,0 +1,28 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +DESCRIPTION="Sphinx extension to add a warning banner" +HOMEPAGE=" + https://pypi.org/project/sphinx-version-warning/ + https://github.com/humitos/sphinx-version-warning +" +SRC_URI="https://github.com/humitos/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="dev-python/sphinx[${PYTHON_USEDEP}]" + +distutils_enable_sphinx docs \ + dev-python/sphinx-autoapi \ + dev-python/sphinx-prompt \ + dev-python/sphinx-tabs \ + dev-python/sphinx_rtd_theme \ + dev-python/sphinxemoji diff --git a/dev-python/sphinxcontrib-jquery/Manifest b/dev-python/sphinxcontrib-jquery/Manifest new file mode 100644 index 000000000000..128c4662f98d --- /dev/null +++ b/dev-python/sphinxcontrib-jquery/Manifest @@ -0,0 +1 @@ +DIST sphinxcontrib-jquery-3.0.0.gh.tar.gz 121750 BLAKE2B 5b160fa1434b111683824442a0ecb0da230dba7f29161495859845282e1b6471faa256be6fffc2d34c6fc97e4e188bb1247284613bf65bf322fcb77463b6cf83 SHA512 a681f42734f2925b597f8d90c7b90a3f6df9549d1c97195799670542c5eabdc4d4d4aecfef29f56bd74ffad18ab179cc47f27b8395c11388259473690601901a diff --git a/dev-python/sphinxcontrib-jquery/metadata.xml b/dev-python/sphinxcontrib-jquery/metadata.xml new file mode 100644 index 000000000000..ddb5b0f1787e --- /dev/null +++ b/dev-python/sphinxcontrib-jquery/metadata.xml @@ -0,0 +1,10 @@ +<?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> + + <origin>gentoo-guru-overlay</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/sphinxcontrib-jquery/sphinxcontrib-jquery-3.0.0.ebuild b/dev-python/sphinxcontrib-jquery/sphinxcontrib-jquery-3.0.0.ebuild new file mode 100644 index 000000000000..a616c776299d --- /dev/null +++ b/dev-python/sphinxcontrib-jquery/sphinxcontrib-jquery-3.0.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +DISTUTILS_USE_PEP517=flit +inherit distutils-r1 + +MY_PN=${PN#sphinxcontrib-} +DESCRIPTION="Extension to include jQuery on newer Sphinx releases" +HOMEPAGE=" + https://pypi.org/project/sphinxcontrib-jquery/ + https://github.com/sphinx-contrib/jquery +" +SRC_URI="https://github.com/sphinx-contrib/${MY_PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" +S="${WORKDIR}/${MY_PN}-${PV}" + +LICENSE="0BSD" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/sphinx-testing[${PYTHON_USEDEP}] + ) +" + +DOCS=( AUTHORS {CHANGES,README}.rst ) + +distutils_enable_tests pytest diff --git a/dev-python/tinyrpc/Manifest b/dev-python/tinyrpc/Manifest index 200b7ae7f108..c35367b06275 100644 --- a/dev-python/tinyrpc/Manifest +++ b/dev-python/tinyrpc/Manifest @@ -1,2 +1 @@ -DIST tinyrpc-1.1.4.tar.gz 77281 BLAKE2B 880c9e53ba39e1a6e5992d91b3f2d2991117c6122e504f1b4cc2ff685f467ed1592bbd28cbca584ad104b1f5f340272cdffb86ea5ef28940b12dbc60e9a50d7e SHA512 423a76ae12dc7a46579574c12ea12168cf04f71b3988067e2889cacbf67f5575e946f4f6b854a63bac2fb56915f5659669ad7974730cdec5482434403143912e DIST tinyrpc-1.1.5.tar.gz 29134 BLAKE2B 6d0dd14bfcd9804bcc9b2517eaa41808b1018274471d0a82af384c000a9eba0b90f4fa815dc10b704db0331f77f67f765dbfcd486ba15ea3309979fb25acf055 SHA512 885aa07c67aca8071c48f2f3922fbfd59ca085651883dc791ca219afaea28eea76bdb514ba3ef113bbd5fb08c86c7b471518a3c8db0d6ffb05538586b0d97350 diff --git a/dev-python/tinyrpc/tinyrpc-1.1.4.ebuild b/dev-python/tinyrpc/tinyrpc-1.1.4.ebuild deleted file mode 100644 index 4fd0ff5b30b0..000000000000 --- a/dev-python/tinyrpc/tinyrpc-1.1.4.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 2019-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 optfeature - -DESCRIPTION="A protocol neutral RPC library that supports JSON-RPC and zmq" -HOMEPAGE="https://github.com/mbr/tinyrpc" -SRC_URI="https://github.com/mbr/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=">=dev-python/six-1.16.0[${PYTHON_USEDEP}]" -DEPEND=" - ${RDEPEND} - test? ( - >=dev-python/gevent-websocket-0.10.1[${PYTHON_USEDEP}] - >=dev-python/gevent-21.1.2[${PYTHON_USEDEP}] - dev-python/jsonext[${PYTHON_USEDEP}] - >=dev-python/msgpack-1.0.2[${PYTHON_USEDEP}] - >=dev-python/pika-1.2.0[${PYTHON_USEDEP}] - >=dev-python/pyzmq-22.0.3[${PYTHON_USEDEP}] - >=dev-python/requests-2.25.1[${PYTHON_USEDEP}] - dev-python/websocket-client[${PYTHON_USEDEP}] - >=dev-python/werkzeug-2.0.0[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest -distutils_enable_sphinx docs dev-python/sphinx_rtd_theme - -pkg_postinst() { - optfeature "gevent support" dev-python/gevent - optfeature "httpclient support" "dev-python/requests dev-python/websocket-client dev-python/gevent-websocket" - optfeature "websocket support" dev-python/gevent-websocket - optfeature "wsgi support" dev-python/werkzeug - optfeature "zmq support" dev-python/pyzmq - optfeature "jsonext support" dev-python/jsonext -} diff --git a/dev-python/tinyrpc/tinyrpc-1.1.5.ebuild b/dev-python/tinyrpc/tinyrpc-1.1.5.ebuild index db06475396a6..8172f055135b 100644 --- a/dev-python/tinyrpc/tinyrpc-1.1.5.ebuild +++ b/dev-python/tinyrpc/tinyrpc-1.1.5.ebuild @@ -4,23 +4,26 @@ EAPI=8 PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - +DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 optfeature DESCRIPTION="A protocol neutral RPC library that supports JSON-RPC and zmq" -HOMEPAGE="https://github.com/mbr/tinyrpc" +HOMEPAGE=" + https://pypi.org/project/tinyrpc/ + https://github.com/mbr/tinyrpc +" SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" +# no tests in v1.1.5 tarball +RESTRICT="test" + RDEPEND=">=dev-python/six-1.16.0[${PYTHON_USEDEP}]" -DEPEND=" - ${RDEPEND} +BDEPEND=" test? ( - >=dev-python/gevent-websocket-0.10.1[${PYTHON_USEDEP}] - >=dev-python/gevent-21.1.2[${PYTHON_USEDEP}] dev-python/jsonext[${PYTHON_USEDEP}] >=dev-python/msgpack-1.0.2[${PYTHON_USEDEP}] >=dev-python/pika-1.2.0[${PYTHON_USEDEP}] @@ -31,13 +34,17 @@ DEPEND=" ) " +EPYTEST_IGNORE=( + # needs masked dev-python/gevent + tests/test_wsgi_transport.py +) + distutils_enable_tests pytest + distutils_enable_sphinx docs dev-python/sphinx_rtd_theme pkg_postinst() { - optfeature "gevent support" dev-python/gevent optfeature "httpclient support" "dev-python/requests dev-python/websocket-client dev-python/gevent-websocket" - optfeature "websocket support" dev-python/gevent-websocket optfeature "wsgi support" dev-python/werkzeug optfeature "zmq support" dev-python/pyzmq optfeature "jsonext support" dev-python/jsonext diff --git a/dev-python/trimesh/Manifest b/dev-python/trimesh/Manifest index 9c41eb72522d..6c1fbb52b1df 100644 --- a/dev-python/trimesh/Manifest +++ b/dev-python/trimesh/Manifest @@ -1,4 +1,2 @@ -DIST trimesh-3.15.5.gh.tar.gz 11956403 BLAKE2B 5e36a7fd57689f5151ee710a707bf44ff4c9538c3f541cd3d29bb08722b4bfeead7f138dab02a58a80d18b4831044d1ac674e3defd0e378420540976c422fc22 SHA512 4433480ff96be561d32412870c71420699713c53d34b2f84eabb1fa1eaa9e70d74940674e62a547c31e22dd941bb036179785a35ff2c8d27288300033497d5ac -DIST trimesh-3.15.7.gh.tar.gz 11972453 BLAKE2B 0f1c10d096289122bb1cc853f4879718f3e03dd9b4297a25be4db2a232a08b0e8d496ec5cc98b2d4c4214ba296666291fe24b7dcc5d2e430105ba46cb4fb5838 SHA512 c09862de650829e853d7d4f2b53b72ddeac48ad313975dc2919c0bbb11d16d0fe5aa69810d488291b187e827b63caeb03847c143cd6812ae09c2d98d51e42270 DIST trimesh-3.15.8.gh.tar.gz 11972365 BLAKE2B 2dd76c5f3c6949b79992dc23a4a80f3fc80c63c08ac7f8c6c11d6b1209b7b23f4843fe0da74528fbec0738bf83d2791260183cca710d2fe046c1bb8ef747c82b SHA512 806a8a10ff86a5198f7dc134f07fa3fd3f84d8e1b10f2d1f8dbc4a5783d2d24474d7c32f0427fd740f2af63d544fc4f3e710f1904cca0412390e6913092b1741 DIST trimesh-3.16.0.gh.tar.gz 11970053 BLAKE2B 3898dd2fd12fd070bc9a3a10e21bd255b75f7758deb38e0d36314524b4e24b7ada6514865c06677a1db39b1723b918e5ec6dcf491bf0c946c3e22495cf7dcd01 SHA512 7b56a5007614eae8a7cef1a69334ef3b21499572b5bfaa414bd29097a431266e1ec4d7dda540dbf502a57f5b0ce9d3fb3763675821714ac25d924e0d15e22c71 diff --git a/dev-python/trimesh/trimesh-3.15.5.ebuild b/dev-python/trimesh/trimesh-3.15.5.ebuild deleted file mode 100644 index 885721d59c9f..000000000000 --- a/dev-python/trimesh/trimesh-3.15.5.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# 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 optfeature - -DESCRIPTION="Python library for loading and using triangular meshes" -HOMEPAGE=" - https://trimsh.org/ - https://github.com/mikedh/trimesh/ - https://pypi.org/project/trimesh/ -" -SRC_URI=" - https://github.com/mikedh/${PN}/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~x86" - -RDEPEND=" - dev-python/chardet[${PYTHON_USEDEP}] - dev-python/colorlog[${PYTHON_USEDEP}] - dev-python/jsonschema[${PYTHON_USEDEP}] - dev-python/lxml[${PYTHON_USEDEP}] - dev-python/msgpack[${PYTHON_USEDEP}] - dev-python/networkx[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP}] - dev-python/pycollada[${PYTHON_USEDEP}] - dev-python/pyglet[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - >=dev-python/shapely-1.8.2[${PYTHON_USEDEP}] - dev-python/svg-path[${PYTHON_USEDEP}] - dev-python/sympy[${PYTHON_USEDEP}] - dev-python/xxhash[${PYTHON_USEDEP}] - sci-libs/rtree[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - epytest -n "$(makeopts_jobs)" -} - -pkg_postinst() { - optfeature_header "${PN} functionality can be extended by installing the following packages:" - optfeature "making GUI applications with 3D stuff" dev-python/glooey - optfeature "2D triangulations of polygons" dev-python/mapbox_earcut - optfeature "loading a number of additional mesh formats" dev-python/meshio - optfeature "figuring out how much memory we have" dev-python/psutil - optfeature "marching cubes and other nice stuff" sci-libs/scikit-image -} diff --git a/dev-python/trimesh/trimesh-3.15.7.ebuild b/dev-python/trimesh/trimesh-3.15.7.ebuild deleted file mode 100644 index 1c0c0119f89b..000000000000 --- a/dev-python/trimesh/trimesh-3.15.7.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# 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 optfeature - -DESCRIPTION="Python library for loading and using triangular meshes" -HOMEPAGE=" - https://trimsh.org/ - https://github.com/mikedh/trimesh/ - https://pypi.org/project/trimesh/ -" -SRC_URI=" - https://github.com/mikedh/${PN}/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" - -RDEPEND=" - dev-python/chardet[${PYTHON_USEDEP}] - dev-python/colorlog[${PYTHON_USEDEP}] - dev-python/jsonschema[${PYTHON_USEDEP}] - dev-python/lxml[${PYTHON_USEDEP}] - dev-python/msgpack[${PYTHON_USEDEP}] - dev-python/networkx[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP}] - dev-python/pycollada[${PYTHON_USEDEP}] - dev-python/pyglet[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - >=dev-python/shapely-1.8.2[${PYTHON_USEDEP}] - dev-python/svg-path[${PYTHON_USEDEP}] - dev-python/sympy[${PYTHON_USEDEP}] - dev-python/xxhash[${PYTHON_USEDEP}] - sci-libs/rtree[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - epytest -n "$(makeopts_jobs)" -} - -pkg_postinst() { - optfeature_header "${PN} functionality can be extended by installing the following packages:" - optfeature "making GUI applications with 3D stuff" dev-python/glooey - optfeature "2D triangulations of polygons" dev-python/mapbox_earcut - optfeature "loading a number of additional mesh formats" dev-python/meshio - optfeature "figuring out how much memory we have" dev-python/psutil - optfeature "marching cubes and other nice stuff" sci-libs/scikit-image -} diff --git a/dev-python/trimesh/trimesh-3.15.8.ebuild b/dev-python/trimesh/trimesh-3.15.8.ebuild index 1c0c0119f89b..885721d59c9f 100644 --- a/dev-python/trimesh/trimesh-3.15.8.ebuild +++ b/dev-python/trimesh/trimesh-3.15.8.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 ~arm64 ~x86" RDEPEND=" dev-python/chardet[${PYTHON_USEDEP}] diff --git a/dev-python/trio/trio-0.22.0.ebuild b/dev-python/trio/trio-0.22.0-r1.ebuild index 6aaf1cf57c56..bd000024b440 100644 --- a/dev-python/trio/trio-0.22.0.ebuild +++ b/dev-python/trio/trio-0.22.0-r1.ebuild @@ -47,6 +47,13 @@ distutils_enable_sphinx docs/source \ dev-python/sphinx_rtd_theme \ dev-python/towncrier +src_prepare() { + # fix incorrect version + # https://github.com/python-trio/trio/issues/2485 + sed -i -e "s:0.21.0+dev:${PV}:" trio/_version.py || die + distutils-r1_src_prepare +} + python_test() { local EPYTEST_IGNORE=( # these tests require internet access diff --git a/dev-python/websockets/websockets-10.4.ebuild b/dev-python/websockets/websockets-10.4.ebuild index e08e2e3d39cf..755a88f08ba3 100644 --- a/dev-python/websockets/websockets-10.4.ebuild +++ b/dev-python/websockets/websockets-10.4.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc ~x86" +KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc ~x86" distutils_enable_tests pytest diff --git a/dev-python/zipp/Manifest b/dev-python/zipp/Manifest index 3e2876177554..0bbebe67ece8 100644 --- a/dev-python/zipp/Manifest +++ b/dev-python/zipp/Manifest @@ -1 +1,2 @@ DIST zipp-3.10.0.tar.gz 15564 BLAKE2B 145374d6e2e251f588e198a0fd400542b34ff26de4e1240dd30710dc33e884ccde91ca1cc168d5f421aa4e04341c76cfb10fbf176c830ade237be39a886267ab SHA512 2e64b05eb0123eb3c3c87fbfe2da26721eb9e24142a43e794d04e5f86ab5fe4cf3e0e3e3497bfc9631ab61dd64226829772493f26e091a66148ddbdc5dfd8e51 +DIST zipp-3.11.0.tar.gz 16799 BLAKE2B 96cbb86e4c112a2cc0bbd8cf8f7a6d0e7b5a5b4af0857bfea87583341e7d08c9f0879f8455131f81e21ffb75bb362fb312c5575a8ccb2e2996313fe3f95ffe36 SHA512 10e1eca131063d9e34db18320152ea5e2445585802e7814fcb0a0aeddd8eb5481c60c2eaca1f7f2729826aafd4004fc4a0b8ee26896c833f789752a501f77e86 diff --git a/dev-python/zipp/zipp-3.11.0.ebuild b/dev-python/zipp/zipp-3.11.0.ebuild new file mode 100644 index 000000000000..0e1b8c4aee7f --- /dev/null +++ b/dev-python/zipp/zipp-3.11.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 7 -- sys-apps/portage dep +EAPI=7 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Backport of pathlib-compatible object wrapper for zip files" +HOMEPAGE=" + https://github.com/jaraco/zipp/ + https://pypi.org/project/zipp/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +BDEPEND=" + test? ( + dev-python/jaraco-functools[${PYTHON_USEDEP}] + dev-python/jaraco-itertools[${PYTHON_USEDEP}] + dev-python/more-itertools[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # speed tests are flaky by design + tests/test_zipp.py::TestPath::test_implied_dirs_performance +) + +src_prepare() { + # dep of disabled test + sed -i -e '/func_timeout/d' tests/test_zipp.py || die + distutils-r1_src_prepare +} + +src_configure() { + grep -q 'build-backend = "setuptools' pyproject.toml || + die "Upstream changed build-backend, recheck" + # write a custom pyproject.toml to ease setuptools bootstrap + cat > pyproject.toml <<-EOF || die + [build-system] + requires = ["flit_core >=3.2,<4"] + build-backend = "flit_core.buildapi" + + [project] + name = "zipp" + version = "${PV}" + description = "Backport of pathlib-compatible object wrapper for zip files" + EOF +} |
