diff options
Diffstat (limited to 'dev-python')
37 files changed, 147 insertions, 287 deletions
diff --git a/dev-python/aesara/Manifest b/dev-python/aesara/Manifest index 222f2b542e60..52d060705d36 100644 --- a/dev-python/aesara/Manifest +++ b/dev-python/aesara/Manifest @@ -1,3 +1,2 @@ -DIST aesara-rel-2.1.3.tar.gz 8170822 BLAKE2B dbbc4a453c5d7f9cd4ab2c925dd9293e835db23100686a8d7ab2c47182b1bc05f883eeb60d6f47f8f34e4187f3ac07b632cde43fe82a99e2145a2f699a2b3582 SHA512 52d1724eb7b3c9bae4bdbf1735db9ef96cdfa94f3e2281b255201d0baba260fe31f78c00719a53ce3c59ea9c66ff218d8acd7bc012b386942f29806c07ffc466 DIST aesara-rel-2.2.1.tar.gz 8166022 BLAKE2B af3c17029dacb3d365bf49eb01d4d03b5a4f770f66d3e5eba2c4576ef156056bc1aca3571442c1cb7352c358978b47faa7af70ca0da2a2168d8c9bfd47b17138 SHA512 f7bab8ca80e8d13ef7698c1efa56ff37c561786330bf756c7a00c54ae1f131810d68bfd6e328b0705d45788759bd984d42306d2c545d2de6b9a3592b5c021ad8 DIST aesara-rel-2.2.2.tar.gz 8174668 BLAKE2B c95347e8b74f6600c3570177f86b7ebd7511899ed0ceb24a2d79a03a44ee498a8062b92fb79867f59b609f66315704ee92e28e12a5ab600d54d0d35ef799b66b SHA512 d5f62e42c36100b2fd25eba492590eb306b1394aa01bf2e90d43e84ac67701e5b756be6bc08d0e6b82fb1f37689dbbba1d7ef67c8525555a700a634d742056bb diff --git a/dev-python/aesara/aesara-2.1.3.ebuild b/dev-python/aesara/aesara-2.1.3.ebuild deleted file mode 100644 index 4768191dcf39..000000000000 --- a/dev-python/aesara/aesara-2.1.3.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -inherit distutils-r1 optfeature - -MY_P=aesara-rel-${PV} -DESCRIPTION="Library for operating on mathematical expressions with multi-dimensional arrays" -HOMEPAGE="https://github.com/aesara-devs/aesara" -SRC_URI="https://github.com/aesara-devs/aesara/archive/rel-${PV}.tar.gz -> ${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 x86" - -RDEPEND=" - dev-python/filelock[${PYTHON_USEDEP}] - >=dev-python/numpy-1.17.0[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}]" -BDEPEND=" - test? ( - dev-python/pytest-xdist[${PYTHON_USEDEP}] - )" - -distutils_enable_sphinx doc 'dev-python/sphinx_rtd_theme' -distutils_enable_tests pytest - -python_prepare_all() { - sed -i -e "s/tests.\*/tests\*/" setup.py || die - - distutils-r1_python_prepare_all -} - -python_test() { - local exclude=( - # speed tests are unreliable - tests/scan/test_basic.py::test_speed - tests/scan/test_basic.py::test_speed_rnn - tests/scan/test_basic.py::test_speed_batchrnn - tests/link/test_vm.py::test_speed - tests/link/test_vm.py::test_speed_lazy - tests/tensor/test_gc.py::test_merge_opt_runtime - - # rounding problem? - # https://github.com/aesara-devs/aesara/issues/477 - tests/tensor/test_math_scipy.py::TestGammaUBroadcast::test_good - tests/tensor/test_math_scipy.py::TestGammaUInplaceBroadcast::test_good - ) - - distutils_install_for_testing - # we do not package numba - epytest ${exclude[@]/#/--deselect } \ - --ignore tests/link/test_numba.py \ - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" -} - -# https://dev.gentoo.org/~mgorny/python-guide/concept.html#packaging-pkgutil-style-namespaces-in-gentoo -python_install() { - rm "${BUILD_DIR}"/lib/bin/__init__.py || die - distutils-r1_python_install -} - -pkg_postinst() { - optfeature "GPU code generation/execution on NVIDIA gpus" dev-util/nvidia-cuda-toolkit dev-util/nvidia-cuda-sdk - optfeature "GPU/CPU code generation on CUDA and OpenCL devices" dev-libs/libgpuarray dev-python/pycuda -} diff --git a/dev-python/aesara/aesara-2.2.1.ebuild b/dev-python/aesara/aesara-2.2.1.ebuild index 5687dd835470..56d7b770c32b 100644 --- a/dev-python/aesara/aesara-2.2.1.ebuild +++ b/dev-python/aesara/aesara-2.2.1.ebuild @@ -4,7 +4,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -inherit distutils-r1 optfeature +inherit distutils-r1 multiprocessing optfeature MY_P=aesara-rel-${PV} DESCRIPTION="Library for operating on mathematical expressions with multi-dimensional arrays" @@ -14,7 +14,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 x86" RDEPEND=" dev-python/filelock[${PYTHON_USEDEP}] diff --git a/dev-python/aesara/aesara-2.2.2.ebuild b/dev-python/aesara/aesara-2.2.2.ebuild index 5687dd835470..3cf1e5f99421 100644 --- a/dev-python/aesara/aesara-2.2.2.ebuild +++ b/dev-python/aesara/aesara-2.2.2.ebuild @@ -4,7 +4,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -inherit distutils-r1 optfeature +inherit distutils-r1 multiprocessing optfeature MY_P=aesara-rel-${PV} DESCRIPTION="Library for operating on mathematical expressions with multi-dimensional arrays" diff --git a/dev-python/beautifulsoup4/beautifulsoup4-4.10.0.ebuild b/dev-python/beautifulsoup4/beautifulsoup4-4.10.0.ebuild index 6c9601d72f4b..bbe3e615b09e 100644 --- a/dev-python/beautifulsoup4/beautifulsoup4-4.10.0.ebuild +++ b/dev-python/beautifulsoup4/beautifulsoup4-4.10.0.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" RDEPEND=" dev-python/soupsieve[${PYTHON_USEDEP}] diff --git a/dev-python/curtsies/Manifest b/dev-python/curtsies/Manifest index c2d40cad2323..3579c3c90021 100644 --- a/dev-python/curtsies/Manifest +++ b/dev-python/curtsies/Manifest @@ -1 +1,2 @@ DIST curtsies-0.3.5.tar.gz 53472 BLAKE2B 7ff50b8cf4b1b5016f15eee00333a1de38a31d97444f6462c7ec0429a1656bad442126880f770bff575dde8456660169cfadf63fed804b2c7890d700d792cc87 SHA512 e46ab3f79e2385055e4f3f9bc1d2c341605b93c21a0e6c42f4807b1801d37f70cfbdd1006db1ec12257e95d91aedddd95aa31a7de99bbfc09a6f0ee473497747 +DIST curtsies-0.3.6.tar.gz 53259 BLAKE2B 358e4d7a3ad8e5f705041cf8fdab9a26f0829d57dac93d23d1a524cb5bf2ca784aff9ea17d0e1c73ef4112f2b5b826f80d4c8d300ecd4ed53b031b3e81c78052 SHA512 3ba7050a614c992c6117e61758e378c82467f413f507277ddb78e42c03dbefe34c4fc4a60b29a8f8b24e8141b0521c87df81421fce5c7c64c28f6156b5af8207 diff --git a/dev-python/curtsies/curtsies-0.3.6.ebuild b/dev-python/curtsies/curtsies-0.3.6.ebuild new file mode 100644 index 000000000000..047b7c049ce1 --- /dev/null +++ b/dev-python/curtsies/curtsies-0.3.6.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="Curses-like terminal wrapper, with colored strings" +HOMEPAGE="https://github.com/bpython/curtsies" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +SLOT="0" +LICENSE="MIT" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/blessings-1.5[${PYTHON_USEDEP}] + dev-python/cwcwidth[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pyte[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/flufl-i18n/flufl-i18n-3.2.ebuild b/dev-python/flufl-i18n/flufl-i18n-3.2.ebuild index 0f4e5677a2ca..4361b90e3a93 100644 --- a/dev-python/flufl-i18n/flufl-i18n-3.2.ebuild +++ b/dev-python/flufl-i18n/flufl-i18n-3.2.ebuild @@ -7,27 +7,23 @@ PYTHON_COMPAT=( python3_{6,7,8,9,10} ) inherit distutils-r1 MY_P=${P/-/.} + DESCRIPTION="A high level API for Python internationalization" HOMEPAGE="https://gitlab.com/warsaw/flufl.i18n" SRC_URI="mirror://pypi/${PN::1}/${PN/-/.}/${MY_P}.tar.gz" -S=${WORKDIR}/${MY_P} +S="${WORKDIR}/${MY_P}" LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64 ~x86" -RDEPEND=" - dev-python/atpublic[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/typing-extensions[${PYTHON_USEDEP}] - ' python3_7)" -BDEPEND=" - test? ( dev-python/sybil[${PYTHON_USEDEP}] )" +RDEPEND="dev-python/atpublic[${PYTHON_USEDEP}]" +BDEPEND="test? ( dev-python/sybil[${PYTHON_USEDEP}] )" distutils_enable_tests pytest src_prepare() { - sed -i -e 's:--cov=flufl::' setup.cfg || die + sed -e '/addopts/d' -i setup.cfg || die distutils-r1_src_prepare } diff --git a/dev-python/flufl-i18n/metadata.xml b/dev-python/flufl-i18n/metadata.xml index cfd0dbdf4c98..50e5abfe4b26 100644 --- a/dev-python/flufl-i18n/metadata.xml +++ b/dev-python/flufl-i18n/metadata.xml @@ -12,4 +12,5 @@ <remote-id type="pypi">flufl.i18n</remote-id> </upstream> <origin>gentoo-staging</origin> + <stabilize-allarches/> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/flufl-testing/Manifest b/dev-python/flufl-testing/Manifest new file mode 100644 index 000000000000..017ec722019f --- /dev/null +++ b/dev-python/flufl-testing/Manifest @@ -0,0 +1 @@ +DIST flufl.testing-0.8.tar.gz 8754 BLAKE2B 9465f3e1d98c324cac38b06b80d44d050a260d26dae9df5c59147284a0f0cf4c460a3d0048f834bf479c58eb7a631eefd4146a82d490552f6e46e7c9cd96fff2 SHA512 edf491db72cccafef58e08b810e4c29962d14716cda3318a892a3ca36095b95477e7564aa4fe8eb4f3bd7cd9e7896f82282dd2d3a67900932848f1dc265cea61 diff --git a/dev-python/flufl-testing/flufl-testing-0.8.ebuild b/dev-python/flufl-testing/flufl-testing-0.8.ebuild new file mode 100644 index 000000000000..64ea80e353ca --- /dev/null +++ b/dev-python/flufl-testing/flufl-testing-0.8.ebuild @@ -0,0 +1,25 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +MY_P=${P/-/.} + +DESCRIPTION="Small collection of test tool plugins" +HOMEPAGE="https://gitlab.com/warsaw/flufl.testing https://pypi.org/project/flufl.testing/" +SRC_URI="mirror://pypi/${PN::1}/${PN/-/.}/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-python/nose2[${PYTHON_USEDEP}]" + +python_install_all() { + distutils-r1_python_install_all + find "${D}" -name '*.pth' -delete || die +} diff --git a/dev-python/flufl-testing/metadata.xml b/dev-python/flufl-testing/metadata.xml new file mode 100644 index 000000000000..3b02f15aeb3f --- /dev/null +++ b/dev-python/flufl-testing/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <upstream> + <remote-id type="pypi">flufl.testing</remote-id> + </upstream> + <origin>gentoo-staging</origin> + <stabilize-allarches/> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/google-api-python-client/Manifest b/dev-python/google-api-python-client/Manifest index 9cbdaff79d89..a10babbe4505 100644 --- a/dev-python/google-api-python-client/Manifest +++ b/dev-python/google-api-python-client/Manifest @@ -1,5 +1,3 @@ -DIST google-api-python-client-2.14.1.tar.gz 25415625 BLAKE2B 2b843a6ec6345e51c5a92c0285c2b8ae195928bec61b73033fbc64d8e55c34ae39d8d542534d89edac36d6ddc6c12b6acf11a25dbcbc06f72776799a70606659 SHA512 e22600b9b87d646775780d0f45043753e4dea24e898faf16ae49f2c91677282700b45de993d085923c006f2948747a6afa2e58b38f42f934f1602401faa30d22 -DIST google-api-python-client-2.18.0.tar.gz 26442309 BLAKE2B 84f0cadeed015e9e0cafa209f6256b6262822f7161728aa5eba88f0def718b11c555bd0d87867c1e1ebb02e93046cec068e4ac0f855c55b7abf34a8d51d42fdc SHA512 19b06a252c440d5bb8454fc79487f4009ff73a7bd4882b2d33a354d4c4f287a6ea09f30cff94df4c1d1e898ca237d8e118a7fd5e63022133338d944dcec1243c DIST google-api-python-client-2.19.1.tar.gz 26659303 BLAKE2B b1b5064c39b7e0d31e7ee01a7556a9ea6feaac1782d6714e50a32f0dfafedcab59628a1ff32774c426136d7ab796a1a6baf1f9ce7fbd1d233149c3a62648f280 SHA512 85272cd0741caed6ff76b930a69a67f1683886df82681b49f3069243dd40ef3f12febc7c1004ecf230d96bae005a8725d502032a9c85eb1bf9e4ee37af7018b9 DIST google-api-python-client-2.20.0.tar.gz 26723285 BLAKE2B 3c0cb64ea8c58fe20356cd097676bc7741ea454e61d9dc8807689fe2296c3ddd0da1cb208a639e8b47a981437dea39de9a7c26b669c7dc27a79a0c5ca4a6c463 SHA512 bed0b1a0e0c5384c80e337339e9c5526e0cd5b2d39a3bd69fec1c65a3fed5bf26e6f4f983daed7663d2cd6c47b8a2a7ad54395f8e5dada2b49c15d98a9ff04dd DIST google-api-python-client-2.21.0.tar.gz 26754841 BLAKE2B e09b48d80d72e56656b366bd60972cde91d0c705ffe94b61d168e808e575a42f1dbbefdaf21ead1e57bab54a1b2453ba39ed5ae1d2ee616a5ba1418acc9f7534 SHA512 c572e5eab313e01ae94b026e32cf40fb479154942168cc09f2b74f184383ff5fc27cc5c0ae48c34d8ddbd8abe8840520a62a43708bd601341d5b32460f5f07df diff --git a/dev-python/google-api-python-client/google-api-python-client-2.14.1.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.14.1.ebuild deleted file mode 100644 index 9371926f6791..000000000000 --- a/dev-python/google-api-python-client/google-api-python-client-2.14.1.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -inherit distutils-r1 - -DESCRIPTION="Google API Client for Python" -HOMEPAGE="https://github.com/googleapis/google-api-python-client" -SRC_URI="https://github.com/googleapis/google-api-python-client/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 x86" - -RDEPEND=" - >=dev-python/httplib2-0.15[${PYTHON_USEDEP}] - <dev-python/httplib2-1[${PYTHON_USEDEP}] - dev-python/google-api-core[${PYTHON_USEDEP}] - >=dev-python/google-auth-1.16.0[${PYTHON_USEDEP}] - >=dev-python/google-auth-httplib2-0.1.0[${PYTHON_USEDEP}] - >=dev-python/uritemplate-3.0.0[${PYTHON_USEDEP}] - <dev-python/uritemplate-4[${PYTHON_USEDEP}] - " -BDEPEND=" - test? ( - dev-python/mock[${PYTHON_USEDEP}] - dev-python/oauth2client[${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] - dev-python/parameterized[${PYTHON_USEDEP}] - )" - -distutils_enable_tests --install pytest - -src_prepare() { - find tests -name '*.py' -exec \ - sed -i -e 's:unittest2 as ::' {} + || die - distutils-r1_src_prepare -} - -python_test() { - local deselect=( - # require Internet access (and credentials) - tests/test_discovery.py::DiscoveryErrors::test_credentials_and_credentials_file_mutually_exclusive - tests/test_discovery.py::DiscoveryFromDocument::test_api_endpoint_override_from_client_options_mapping_object - ) - - distutils_install_for_testing - epytest tests ${deselect[@]/#/--deselect } -} diff --git a/dev-python/google-api-python-client/google-api-python-client-2.18.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.18.0.ebuild deleted file mode 100644 index 8647284e7595..000000000000 --- a/dev-python/google-api-python-client/google-api-python-client-2.18.0.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -inherit distutils-r1 - -DESCRIPTION="Google API Client for Python" -HOMEPAGE="https://github.com/googleapis/google-api-python-client" -SRC_URI="https://github.com/googleapis/google-api-python-client/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" - -RDEPEND=" - >=dev-python/httplib2-0.15[${PYTHON_USEDEP}] - <dev-python/httplib2-1[${PYTHON_USEDEP}] - dev-python/google-api-core[${PYTHON_USEDEP}] - >=dev-python/google-auth-1.35.0[${PYTHON_USEDEP}] - >=dev-python/google-auth-httplib2-0.1.0[${PYTHON_USEDEP}] - >=dev-python/uritemplate-3.0.0[${PYTHON_USEDEP}] - <dev-python/uritemplate-4[${PYTHON_USEDEP}] - " -BDEPEND=" - test? ( - dev-python/mock[${PYTHON_USEDEP}] - dev-python/oauth2client[${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] - dev-python/parameterized[${PYTHON_USEDEP}] - )" - -distutils_enable_tests --install pytest - -src_prepare() { - find tests -name '*.py' -exec \ - sed -i -e 's:unittest2 as ::' {} + || die - distutils-r1_src_prepare -} - -python_test() { - local deselect=( - # require Internet access (and credentials) - tests/test_discovery.py::DiscoveryErrors::test_credentials_and_credentials_file_mutually_exclusive - tests/test_discovery.py::DiscoveryFromDocument::test_api_endpoint_override_from_client_options_mapping_object - ) - - distutils_install_for_testing - epytest tests ${deselect[@]/#/--deselect } -} diff --git a/dev-python/google-api-python-client/google-api-python-client-2.19.1.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.19.1.ebuild index 8647284e7595..9f965439fe72 100644 --- a/dev-python/google-api-python-client/google-api-python-client-2.19.1.ebuild +++ b/dev-python/google-api-python-client/google-api-python-client-2.19.1.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/googleapis/google-api-python-client/archive/v${PV}.t LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 x86" RDEPEND=" >=dev-python/httplib2-0.15[${PYTHON_USEDEP}] diff --git a/dev-python/huawei-lte-api/Manifest b/dev-python/huawei-lte-api/Manifest index f4e9b31b30e0..427075993def 100644 --- a/dev-python/huawei-lte-api/Manifest +++ b/dev-python/huawei-lte-api/Manifest @@ -1,3 +1 @@ -DIST huawei-lte-api-1.4.18.tar.gz 29701 BLAKE2B 0e242f2f2208646c9f3291dab8397a80934bce3757fb79b58fdcee389a087788962cfaea3350d7b95e53ff3e0f1fbefdf7ea6714266872fc1591848a4fb84462 SHA512 4750fcc84fff46c76f42715e6668d402b9057f8dd826276ad0682e9bac76742c86566794d4aaab7aa9ebf17d06246c4d4cc9385ee1fff9642ff5c995491fc646 DIST huawei-lte-api-1.5.2.tar.gz 31969 BLAKE2B ced0afc9c1b878d30ac4d3fb731cdebd6c2a658a7ace7d74f5e3641c049d5eaeab5fe1edd4678b791da0ebd22c78c4c7b10f56e2bb4f224788d1f1cdd8f31c6a SHA512 7d7b8b0248ef6080aa990ce06e196653f315605d771c312c490976cd950dfa962affe47f8df3366a645e0d499606514618e1e24976f434258ca22bd9ccf34237 -DIST huawei-lte-api-1.5.tar.gz 31741 BLAKE2B eded2f2ba04dfa8973a5ccd627996770b93e2509aeb2d0ff40dafc9a5ee0f6d242d032d310102297a1f56ee255b10f0e6e02c3a0ad687b6006e31ad8b53fb32e SHA512 f235664464abc23da85a36b17f356c7be65e686e06bbaba9aa06c728fa04ae5ab4fa32168c4fb2914a22472564d8f3365f9fe47f33e1892f923e6934dbd692b0 diff --git a/dev-python/huawei-lte-api/huawei-lte-api-1.4.18.ebuild b/dev-python/huawei-lte-api/huawei-lte-api-1.4.18.ebuild deleted file mode 100644 index 61f02b76253a..000000000000 --- a/dev-python/huawei-lte-api/huawei-lte-api-1.4.18.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="API For huawei LAN/WAN LTE Modems" -HOMEPAGE="https://github.com/Salamek/huawei-lte-api" -SRC_URI="https://github.com/Salamek/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="" - -RDEPEND="dev-python/dicttoxml[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/xmltodict[${PYTHON_USEDEP}]" - -python_prepare_all() { - # https://github.com/Salamek/huawei-lte-api/issues/86 - sed "s:'pytest-runner'::" -i setup.py || die - - distutils-r1_python_prepare_all -} - -distutils_enable_tests pytest diff --git a/dev-python/huawei-lte-api/huawei-lte-api-1.5.ebuild b/dev-python/huawei-lte-api/huawei-lte-api-1.5.ebuild deleted file mode 100644 index a862193a8c64..000000000000 --- a/dev-python/huawei-lte-api/huawei-lte-api-1.5.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 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) -inherit distutils-r1 - -DESCRIPTION="API For huawei LAN/WAN LTE Modems" -HOMEPAGE="https://github.com/Salamek/huawei-lte-api" -SRC_URI="https://github.com/Salamek/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="" - -RDEPEND="dev-python/pycryptodome[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/xmltodict[${PYTHON_USEDEP}]" - -python_prepare_all() { - # https://github.com/Salamek/huawei-lte-api/issues/86 - sed "s:'pytest-runner'::" -i setup.py || die - - # make cryptodome-friendly - find -name '*.py' -exec \ - sed -i -e 's:Cryptodome:Crypto:g' {} + || die - - distutils-r1_python_prepare_all -} - -distutils_enable_tests pytest diff --git a/dev-python/lxml/lxml-4.6.3.ebuild b/dev-python/lxml/lxml-4.6.3.ebuild index c694f55598c3..98f6e756a6ae 100644 --- a/dev-python/lxml/lxml-4.6.3.ebuild +++ b/dev-python/lxml/lxml-4.6.3.ebuild @@ -14,7 +14,7 @@ S=${WORKDIR}/lxml-${P} LICENSE="BSD ElementTree GPL-2 PSF-2" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="doc examples +threads test" RESTRICT="!test? ( test )" diff --git a/dev-python/mysqlclient/mysqlclient-2.0.3.ebuild b/dev-python/mysqlclient/mysqlclient-2.0.3.ebuild index ed8a6b19cc08..fc8e15ee3c17 100644 --- a/dev-python/mysqlclient/mysqlclient-2.0.3.ebuild +++ b/dev-python/mysqlclient/mysqlclient-2.0.3.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="GPL-2+" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" RDEPEND=" dev-db/mysql-connector-c:0= diff --git a/dev-python/nose2/nose2-0.10.0.ebuild b/dev-python/nose2/nose2-0.10.0.ebuild index f89ffc6e5bf9..cfe9d846755f 100644 --- a/dev-python/nose2/nose2-0.10.0.ebuild +++ b/dev-python/nose2/nose2-0.10.0.ebuild @@ -13,29 +13,15 @@ SRC_URI="https://github.com/nose-devs/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="amd64 x86" -IUSE="doc" -# Failures need investigating -RESTRICT="test" -BDEPEND=" - doc? ( >=dev-python/sphinx-1.0.5 ) -" -DEPEND=" +RDEPEND=" >=dev-python/coverage-4.4.1[${PYTHON_USEDEP}] - >=dev-python/six-1.1[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] " -RDEPEND="${DEPEND}" -python_compile_all() { - use doc && emake -C docs html -} +distutils_enable_sphinx docs \ + dev-python/sphinx_rtd_theme python_test() { - "${PYTHON}" -m nose2.__main__ || die "tests failed under ${EPYTHON}" -} - -python_install_all() { - use doc && local HTML_DOCS=( docs/_build/html/. ) - - distutils-r1_python_install_all + "${EPYTHON}" -m nose2.__main__ -vv || die "tests failed under ${EPYTHON}" } diff --git a/dev-python/packaging/packaging-21.0.ebuild b/dev-python/packaging/packaging-21.0.ebuild index d02015a9521a..25dedad3a80e 100644 --- a/dev-python/packaging/packaging-21.0.ebuild +++ b/dev-python/packaging/packaging-21.0.ebuild @@ -1,7 +1,8 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=8 +# please keep this ebuild at EAPI 7 -- sys-apps/portage dep +EAPI=7 PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) inherit distutils-r1 diff --git a/dev-python/prettytable/Manifest b/dev-python/prettytable/Manifest index b15e3132566a..f1b0255066cd 100644 --- a/dev-python/prettytable/Manifest +++ b/dev-python/prettytable/Manifest @@ -1,3 +1,4 @@ DIST prettytable-0.7.2.tar.bz2 21755 BLAKE2B 385d5bd6d4ab75a8c7ae96abc9d9e98a66a196265853113e7fb59073876e9f5e9c6c4fba9a30d80cc726a5184e78fb6451ff9a553909704fcc5022b6a08413f4 SHA512 f3a3fe6fa29f4ef090ff6cac06549ebd9db8b387e7b25fc64c4e37c8444586f50355c5573f38caabc72360aa68054aa189a67aa37f0bd13b872862ecd9151e71 DIST prettytable-2.1.0.tar.gz 43306 BLAKE2B e2085003f2720d573e19fb2b03c8aa98262ec9e7a3f7d0a20474cad2fab374a91664bb513d8158cd612e58a47917c3ebe8b43798272f38c182f6cc2472918f55 SHA512 8eaad22c66299ca3f66cc167e1a94aa41e3b2699da4ff48a0e81927ee8cc623d3147ae29a0bef92370d07d6a7fb6b1eac535fca7090562419aed219b9483edd5 DIST prettytable-2.2.0.tar.gz 44939 BLAKE2B eff6eeb98b6accdb5089cfd1ceb09db2e4a0897e9675a07b744a12ab15fb1cb43bd4a411788d8e22662089f68a31c346d79cfaaca44c7f14f452870a7039bdb6 SHA512 df8ae2a1103a4965a351ba16a95ef9659107075bb023090bd9bffd69805ce647dcb26f49164f07f5af0c0b03503373c0353935b32a0fb18edf969dc984aecda7 +DIST prettytable-2.2.1.tar.gz 45102 BLAKE2B 59fe355603791c8b3a584b1d1f2864559a7e2c7249923d5299c967db74dbd37baef9557d8d5511defe54f64e3f4625ef45635cf2f00a051a599177a3774da1a5 SHA512 5496b1525342b9df4b88cc2cd6079d8c329787b20f7e581465dcdf447b90f78aad764c6505aab8a0e3c4cbb44c943720672373cf754d6f7313b68c28005a707c diff --git a/dev-python/prettytable/prettytable-2.2.1.ebuild b/dev-python/prettytable/prettytable-2.2.1.ebuild new file mode 100644 index 000000000000..f383d8b9ee20 --- /dev/null +++ b/dev-python/prettytable/prettytable-2.2.1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) +inherit distutils-r1 + +DESCRIPTION="Easily displaying tabular data in a visually appealing ASCII table format" +HOMEPAGE=" + https://github.com/jazzband/prettytable/ + https://pypi.org/project/prettytable/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + dev-python/wcwidth[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/importlib_metadata[${PYTHON_USEDEP}] + ' pypy3) +" +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + $(python_gen_impl_dep sqlite) + )" + +distutils_enable_tests --install pytest diff --git a/dev-python/pyparsing/pyparsing-2.4.7-r1.ebuild b/dev-python/pyparsing/pyparsing-2.4.7-r1.ebuild index b1d4d0f25185..542bd628b9bb 100644 --- a/dev-python/pyparsing/pyparsing-2.4.7-r1.ebuild +++ b/dev-python/pyparsing/pyparsing-2.4.7-r1.ebuild @@ -1,9 +1,10 @@ # Copyright 2004-2021 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 -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) inherit distutils-r1 MY_P=${P/-/_} diff --git a/dev-python/pytest-datadir/pytest-datadir-1.3.1.ebuild b/dev-python/pytest-datadir/pytest-datadir-1.3.1.ebuild index f9c393f7cfbf..c8bc726194f2 100644 --- a/dev-python/pytest-datadir/pytest-datadir-1.3.1.ebuild +++ b/dev-python/pytest-datadir/pytest-datadir-1.3.1.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 x86" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~m68k ~ppc ~ppc64 ~riscv ~s390 x86" RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]" diff --git a/dev-python/pytest-regressions/pytest-regressions-2.2.0.ebuild b/dev-python/pytest-regressions/pytest-regressions-2.2.0.ebuild index dcb67edb020d..01560da91b04 100644 --- a/dev-python/pytest-regressions/pytest-regressions-2.2.0.ebuild +++ b/dev-python/pytest-regressions/pytest-regressions-2.2.0.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 x86" +KEYWORDS="amd64 ~arm ~arm64 ~m68k ~ppc ~ppc64 ~riscv ~s390 x86" RDEPEND=" dev-python/pytest[${PYTHON_USEDEP}] diff --git a/dev-python/requests-cache/requests-cache-0.7.4.ebuild b/dev-python/requests-cache/requests-cache-0.7.4.ebuild index ea739200c353..41344c1c4ae0 100644 --- a/dev-python/requests-cache/requests-cache-0.7.4.ebuild +++ b/dev-python/requests-cache/requests-cache-0.7.4.ebuild @@ -32,6 +32,7 @@ BDEPEND=" dev-python/requests-mock[${PYTHON_USEDEP}] dev-python/responses[${PYTHON_USEDEP}] dev-python/timeout-decorator[${PYTHON_USEDEP}] + dev-python/ujson[${PYTHON_USEDEP}] )" distutils_enable_tests pytest diff --git a/dev-python/requests-cache/requests-cache-0.7.5.ebuild b/dev-python/requests-cache/requests-cache-0.7.5.ebuild index 5c2349760cbf..179fec38db95 100644 --- a/dev-python/requests-cache/requests-cache-0.7.5.ebuild +++ b/dev-python/requests-cache/requests-cache-0.7.5.ebuild @@ -32,6 +32,7 @@ BDEPEND=" dev-python/requests-mock[${PYTHON_USEDEP}] dev-python/responses[${PYTHON_USEDEP}] dev-python/timeout-decorator[${PYTHON_USEDEP}] + dev-python/ujson[${PYTHON_USEDEP}] )" distutils_enable_tests pytest diff --git a/dev-python/requests-cache/requests-cache-0.8.1.ebuild b/dev-python/requests-cache/requests-cache-0.8.1-r1.ebuild index 5c2349760cbf..2cc1d5bc1409 100644 --- a/dev-python/requests-cache/requests-cache-0.8.1.ebuild +++ b/dev-python/requests-cache/requests-cache-0.8.1-r1.ebuild @@ -7,7 +7,7 @@ DISTUTILS_USE_SETUPTOOLS=pyproject.toml PYTHON_COMPAT=( python3_{6,7,8,9,10} ) PYTHON_REQ_USE="sqlite" -inherit distutils-r1 +inherit distutils-r1 optfeature HOMEPAGE=" https://pypi.org/project/requests-cache/ @@ -22,16 +22,20 @@ SLOT="0" KEYWORDS="~amd64 ~x86" RDEPEND=" + dev-python/attrs[${PYTHON_USEDEP}] + dev-python/appdirs[${PYTHON_USEDEP}] dev-python/cattrs[${PYTHON_USEDEP}] - dev-python/itsdangerous[${PYTHON_USEDEP}] >=dev-python/requests-2.0.0[${PYTHON_USEDEP}] + dev-python/urllib3[${PYTHON_USEDEP}] >=dev-python/url-normalize-1.4[${PYTHON_USEDEP}]" BDEPEND=" test? ( + dev-python/itsdangerous[${PYTHON_USEDEP}] dev-python/pytest-httpbin[${PYTHON_USEDEP}] dev-python/requests-mock[${PYTHON_USEDEP}] dev-python/responses[${PYTHON_USEDEP}] dev-python/timeout-decorator[${PYTHON_USEDEP}] + dev-python/ujson[${PYTHON_USEDEP}] )" distutils_enable_tests pytest @@ -52,3 +56,12 @@ python_test() { local -x USE_PYTEST_HTTPBIN=true epytest } + +pkg_postinst() { + optfeature "redis backend" "dev-python/redis-py" + optfeature "MongoDB backend" "dev-python/pymongo" + + optfeature "JSON serialization" "dev-python/ujson" + optfeature "YAML serialization" "dev-python/pyyaml" + optfeature "signing serialized data" "dev-python/itsdangerous" +} diff --git a/dev-python/snakeoil/snakeoil-0.9.7.ebuild b/dev-python/snakeoil/snakeoil-0.9.7.ebuild index 89dcdb2f9de4..5c3227fb36c7 100644 --- a/dev-python/snakeoil/snakeoil-0.9.7.ebuild +++ b/dev-python/snakeoil/snakeoil-0.9.7.ebuild @@ -11,7 +11,7 @@ if [[ ${PV} == *9999 ]] ; then EGIT_REPO_URI="https://github.com/pkgcore/snakeoil.git" inherit git-r3 else - KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" + KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" fi diff --git a/dev-python/soupsieve/soupsieve-2.2.1.ebuild b/dev-python/soupsieve/soupsieve-2.2.1.ebuild index 30e9b7e58d0e..2cfb1ad81dfa 100644 --- a/dev-python/soupsieve/soupsieve-2.2.1.ebuild +++ b/dev-python/soupsieve/soupsieve-2.2.1.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://github.com/facelessuser/${PN}/archive/${PV}.tar.gz -> ${P}.tar. LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" BDEPEND=" test? ( diff --git a/dev-python/sphinx-tabs/sphinx-tabs-3.1.0.ebuild b/dev-python/sphinx-tabs/sphinx-tabs-3.1.0.ebuild index d6e13ff9ccdb..448c33fccd0d 100644 --- a/dev-python/sphinx-tabs/sphinx-tabs-3.1.0.ebuild +++ b/dev-python/sphinx-tabs/sphinx-tabs-3.1.0.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/executablebooks/sphinx-tabs/archive/v${PV}.tar.gz -> LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~x86" RDEPEND=" dev-python/docutils[${PYTHON_USEDEP}] diff --git a/dev-python/sphinx-testing/sphinx-testing-1.0.1-r1.ebuild b/dev-python/sphinx-testing/sphinx-testing-1.0.1-r1.ebuild index 38ba42a5e97d..f2efe42dca2c 100644 --- a/dev-python/sphinx-testing/sphinx-testing-1.0.1-r1.ebuild +++ b/dev-python/sphinx-testing/sphinx-testing-1.0.1-r1.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD-2" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" dev-python/six[${PYTHON_USEDEP}] diff --git a/dev-python/tomli/tomli-1.2.1.ebuild b/dev-python/tomli/tomli-1.2.1.ebuild index fe7435930e63..164b1f354244 100644 --- a/dev-python/tomli/tomli-1.2.1.ebuild +++ b/dev-python/tomli/tomli-1.2.1.ebuild @@ -1,7 +1,8 @@ # Copyright 2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=8 +# please keep this ebuild at EAPI 7 -- sys-apps/portage dep +EAPI=7 PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) inherit distutils-r1 diff --git a/dev-python/uvloop/uvloop-0.16.0.ebuild b/dev-python/uvloop/uvloop-0.16.0.ebuild index 04c366913487..aaec62d41048 100644 --- a/dev-python/uvloop/uvloop-0.16.0.ebuild +++ b/dev-python/uvloop/uvloop-0.16.0.ebuild @@ -18,7 +18,7 @@ IUSE="doc examples" RDEPEND=">=dev-libs/libuv-1.11.0:=" DEPEND="${RDEPEND}" BDEPEND=" - dev-python/cython[${PYTHON_USEDEP}] + >=dev-python/cython-0.29.24[${PYTHON_USEDEP}] doc? ( >=dev-python/alabaster-0.6.2[${PYTHON_USEDEP}] dev-python/sphinx[${PYTHON_USEDEP}] |
