diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-12-31 01:37:36 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-12-31 01:37:36 +0000 |
| commit | 3cb95d00be2efe84b834a272ce7abac82d009728 (patch) | |
| tree | 76b994a348ac515a739b3efd2f4029d6ed498ee0 /dev-python | |
| parent | 6ffa8e2a674672f30369a139b2089f197adafb49 (diff) | |
| download | baldeagleos-repo-3cb95d00be2efe84b834a272ce7abac82d009728.tar.gz baldeagleos-repo-3cb95d00be2efe84b834a272ce7abac82d009728.tar.xz baldeagleos-repo-3cb95d00be2efe84b834a272ce7abac82d009728.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
63 files changed, 364 insertions, 1141 deletions
diff --git a/dev-python/aesara/Manifest b/dev-python/aesara/Manifest index 938d01afa877..4ce3ae827775 100644 --- a/dev-python/aesara/Manifest +++ b/dev-python/aesara/Manifest @@ -1,5 +1 @@ -DIST aesara-rel-2.2.6.tar.gz 8180674 BLAKE2B 6d2c237a748aeee524e4182c47b17a9f7e7325d94410f8c9d7e3dea1d22306dbaa32be1b6f3c471baffad30527451772c08eaaed4494bcceba1759e9f7e9c837 SHA512 360f280fb997b33fbcef08a278816e51b26e8ba4f6d9b0681984394f293d342b498d4633d5efc1b92d64b056b4cd63b918ea7dd46d00aa78519e00919586f842 -DIST aesara-rel-2.3.0.tar.gz 8181754 BLAKE2B 7fd60e6ce1243e585a4256f807615a4d120833ed3da2f1b16dbcade99950cc470c0b9df2b3a0e481b1694b9fa17b8de5ce30eeeb53e19b0a3244cc44c199e152 SHA512 1198e6a827210e17febc073d60d84e6e2fb044767a573c1569bacbc2bc3181e5d0820349ca90eafdfd83818b97cda9d3d91c42734c6fb9f8452ce5d24d130543 -DIST aesara-rel-2.3.1.tar.gz 8181777 BLAKE2B 5807cb7c0e263d2fb3559050a9712f8a8827d7ea7e167ca05d8be91abd2cf99db34f050f663002b11bb0d9c70969b257b6f91e1cc436006550ffe02959b8097d SHA512 8a8445c520006b7822968c882117b9286759fdfcde80605d77232e3d1e71987c852ed92c26d7791999a704add8ace5fa4044cf57cba0e0a509ebba356a010710 -DIST aesara-rel-2.3.2.tar.gz 8185666 BLAKE2B e65bdc0e00ed35b333c1b8d580553d5dc39ef65c696807f5b22a998681e563ca93d25f0eb6d79dc3a3b4df3b05907c1d4b00ec7592e842879db91aba4eab53ed SHA512 be56b61c53f870cf76e87793c95c0c2b3e7a9098aaa9179a7643adbeb627dea5055465824ad9c31f65d3b13b664f19f8fc447c2931cb201a0ae3c5c32dda049a DIST aesara-rel-2.3.3.tar.gz 8179684 BLAKE2B ef738190e4169d43bb2323ee9425a1fc6d96a808d439940ead30b487b99fddaff073e3e05a720bcdb1eaed6fa903179be5df975747ac92e2b81256dbca886bea SHA512 f725cd84a598ea94f9cb22de768d004e96a0236fc4b93a9882a57494ce006fa657b1668b52b60d465816bb78c106a8d08a2a30eef2f5f9a55c437e28c94ee458 diff --git a/dev-python/aesara/aesara-2.2.6.ebuild b/dev-python/aesara/aesara-2.2.6.ebuild deleted file mode 100644 index ee76812f80e1..000000000000 --- a/dev-python/aesara/aesara-2.2.6.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# 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 multiprocessing 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 ~riscv 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.3.0.ebuild b/dev-python/aesara/aesara-2.3.0.ebuild deleted file mode 100644 index 18def795e8cb..000000000000 --- a/dev-python/aesara/aesara-2.3.0.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# 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 multiprocessing 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 ~riscv ~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.3.1.ebuild b/dev-python/aesara/aesara-2.3.1.ebuild deleted file mode 100644 index 18def795e8cb..000000000000 --- a/dev-python/aesara/aesara-2.3.1.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# 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 multiprocessing 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 ~riscv ~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.3.2.ebuild b/dev-python/aesara/aesara-2.3.2.ebuild deleted file mode 100644 index 06ab9c0add91..000000000000 --- a/dev-python/aesara/aesara-2.3.2.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# 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 multiprocessing 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 ~riscv ~x86" - -RDEPEND=" - dev-python/cons[${PYTHON_USEDEP}] - dev-python/etuples[${PYTHON_USEDEP}] - dev-python/logical-unification[${PYTHON_USEDEP}] - dev-python/minikanren[${PYTHON_USEDEP}] - 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 EPYTEST_DESELECT=( - # 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 - ) - local EPYTEST_IGNORE=( - # we do not package numba - tests/link/test_numba.py - ) - - distutils_install_for_testing - epytest -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.3.3.ebuild b/dev-python/aesara/aesara-2.3.3.ebuild index b630232a9c4c..4a87a48cd4cd 100644 --- a/dev-python/aesara/aesara-2.3.3.ebuild +++ b/dev-python/aesara/aesara-2.3.3.ebuild @@ -14,7 +14,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~riscv ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~riscv x86" RDEPEND=" dev-python/cons[${PYTHON_USEDEP}] diff --git a/dev-python/black/Manifest b/dev-python/black/Manifest index e6efcb89c777..200f21f8b85d 100644 --- a/dev-python/black/Manifest +++ b/dev-python/black/Manifest @@ -1,4 +1 @@ -DIST black-21.10b0.tar.gz 1171813 BLAKE2B 71bf628aa3b2b0a73c53446061d07ed0074c2e136c6a4dd09feb4b7dcc2b8c8045417e2c6a049a3051bb2e8fc368037c540851384d00ec89ad943d0c8f949c40 SHA512 0e44fe6c34d75f135996bcd62768f3ea02f5ba996992f0173cd28977f6a9ed4fde975e7433439f3b724c54555867f91edcd167fc1c5273308a613a51905323c8 -DIST black-21.11b0.tar.gz 1198297 BLAKE2B 658f20ea9d61e64a34a61663ba4a0b0a5b3329803abab091679a605ca884b918aa0029f23cb02f4f0e150212ec25dad12985a7a2b3c95763f31ca7d4c823b653 SHA512 f3608008893747abbc2d47bf098d963dede57104d15312de6fd86f2f0c025da39a83043f63b29a208350f4eb44cbb7e47a1c8c38ef50414e9c8969feea2edbfc DIST black-21.12b0.tar.gz 1200305 BLAKE2B cd019b230d2ba1fab88075a5e14cb5de88a4ee283b53d869564f071a104d2810ca31c04db09310b99a1610bdace7d5b9b360b2a3a4810822322a4eacc8998ad8 SHA512 1f6e4eeafd653fa9db608585110f5c5067942031b2d67e630befa899d7fca3c35f52cbde8fc91c2697fb294fb16525254756ebce16e556fc139b621f738bfa22 -DIST black-21.9b0.tar.gz 1167869 BLAKE2B 31933de69cc34e23e14b0fdba33da844697816cd3917227c1a16c4d1595435d3715405f7f1df820953e83c30c3947448389a703ee662548226dfc2d278b87844 SHA512 0c8025d64ef9e5da8ad73b1f265b912bcb3d8cb00d8a426a39dd4c70505a77150e02a7f26e3d6842456eea367da9fad29d08f586b175d57d66a09cf389442ed0 diff --git a/dev-python/black/black-21.10_beta0-r1.ebuild b/dev-python/black/black-21.10_beta0-r1.ebuild deleted file mode 100644 index ca97c8f20324..000000000000 --- a/dev-python/black/black-21.10_beta0-r1.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 2020-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 optfeature - -MY_PV="${PV//_beta/b}" -MY_P="${PN}-${MY_PV}" - -DESCRIPTION="The uncompromising Python code formatter" -HOMEPAGE="https://black.readthedocs.io/en/stable/ https://github.com/psf/black" -SRC_URI="https://github.com/psf/${PN}/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" - -RDEPEND=" - >=dev-python/click-8.0.0[${PYTHON_USEDEP}] - >=dev-python/mypy_extensions-0.4.3[${PYTHON_USEDEP}] - >=dev-python/platformdirs-2[${PYTHON_USEDEP}] - dev-python/regex[${PYTHON_USEDEP}] - <dev-python/pathspec-1[${PYTHON_USEDEP}] - <dev-python/tomli-2[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/typing-extensions[${PYTHON_USEDEP}] - ' python3_{8,9}) -" -BDEPEND=" - dev-python/setuptools_scm[${PYTHON_USEDEP}] - dev-python/toml[${PYTHON_USEDEP}] - test? ( - >=dev-python/aiohttp-3.7.4[${PYTHON_USEDEP}] - dev-python/aiohttp-cors[${PYTHON_USEDEP}] - dev-python/colorama[${PYTHON_USEDEP}] - dev-python/parameterized[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -export SETUPTOOLS_SCM_PRETEND_VERSION=${MY_PV} - -src_prepare() { - # remove unnecessary bind that worked around broken 6.1.0/6.2.0 releases - sed -i -e '/setuptools_scm/s:~=:>=:' \ - -e 's/setuptools_scm\[toml\]>=[0-9.]*/setuptools_scm[toml]/' setup.cfg || die - distutils-r1_src_prepare -} - -python_test() { - cp "${S}"/src/black_primer/primer.json \ - "${BUILD_DIR}"/lib/black_primer/primer.json || die - distutils_install_for_testing - epytest -m "not python2" -} - -pkg_postinst() { - optfeature "blackd - HTTP API for black" dev-python/aiohttp dev-python/aiohttp-cors -} diff --git a/dev-python/black/black-21.11_beta0-r1.ebuild b/dev-python/black/black-21.11_beta0-r1.ebuild deleted file mode 100644 index ca97c8f20324..000000000000 --- a/dev-python/black/black-21.11_beta0-r1.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 2020-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 optfeature - -MY_PV="${PV//_beta/b}" -MY_P="${PN}-${MY_PV}" - -DESCRIPTION="The uncompromising Python code formatter" -HOMEPAGE="https://black.readthedocs.io/en/stable/ https://github.com/psf/black" -SRC_URI="https://github.com/psf/${PN}/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" - -RDEPEND=" - >=dev-python/click-8.0.0[${PYTHON_USEDEP}] - >=dev-python/mypy_extensions-0.4.3[${PYTHON_USEDEP}] - >=dev-python/platformdirs-2[${PYTHON_USEDEP}] - dev-python/regex[${PYTHON_USEDEP}] - <dev-python/pathspec-1[${PYTHON_USEDEP}] - <dev-python/tomli-2[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/typing-extensions[${PYTHON_USEDEP}] - ' python3_{8,9}) -" -BDEPEND=" - dev-python/setuptools_scm[${PYTHON_USEDEP}] - dev-python/toml[${PYTHON_USEDEP}] - test? ( - >=dev-python/aiohttp-3.7.4[${PYTHON_USEDEP}] - dev-python/aiohttp-cors[${PYTHON_USEDEP}] - dev-python/colorama[${PYTHON_USEDEP}] - dev-python/parameterized[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -export SETUPTOOLS_SCM_PRETEND_VERSION=${MY_PV} - -src_prepare() { - # remove unnecessary bind that worked around broken 6.1.0/6.2.0 releases - sed -i -e '/setuptools_scm/s:~=:>=:' \ - -e 's/setuptools_scm\[toml\]>=[0-9.]*/setuptools_scm[toml]/' setup.cfg || die - distutils-r1_src_prepare -} - -python_test() { - cp "${S}"/src/black_primer/primer.json \ - "${BUILD_DIR}"/lib/black_primer/primer.json || die - distutils_install_for_testing - epytest -m "not python2" -} - -pkg_postinst() { - optfeature "blackd - HTTP API for black" dev-python/aiohttp dev-python/aiohttp-cors -} diff --git a/dev-python/black/black-21.12_beta0.ebuild b/dev-python/black/black-21.12_beta0.ebuild index c906ce071c1c..74be0cdb6610 100644 --- a/dev-python/black/black-21.12_beta0.ebuild +++ b/dev-python/black/black-21.12_beta0.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~sparc x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv sparc x86 ~x64-macos" RDEPEND=" >=dev-python/click-8.0.0[${PYTHON_USEDEP}] diff --git a/dev-python/black/black-21.9_beta0-r1.ebuild b/dev-python/black/black-21.9_beta0-r1.ebuild deleted file mode 100644 index 09412ea0ce1d..000000000000 --- a/dev-python/black/black-21.9_beta0-r1.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 2020-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 optfeature - -MY_PV="${PV//_beta/b}" -MY_P="${PN}-${MY_PV}" - -DESCRIPTION="The uncompromising Python code formatter" -HOMEPAGE="https://black.readthedocs.io/en/stable/ https://github.com/psf/black" -SRC_URI="https://github.com/psf/${PN}/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv sparc x86 ~x64-macos" - -RDEPEND=" - >=dev-python/click-8.0.0[${PYTHON_USEDEP}] - >=dev-python/mypy_extensions-0.4.3[${PYTHON_USEDEP}] - >=dev-python/platformdirs-2[${PYTHON_USEDEP}] - dev-python/regex[${PYTHON_USEDEP}] - <dev-python/pathspec-1[${PYTHON_USEDEP}] - <dev-python/tomli-2[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/typing-extensions[${PYTHON_USEDEP}] - ' python3_{8,9}) -" -BDEPEND=" - dev-python/setuptools_scm[${PYTHON_USEDEP}] - dev-python/toml[${PYTHON_USEDEP}] - test? ( - dev-python/aiohttp[${PYTHON_USEDEP}] - dev-python/aiohttp-cors[${PYTHON_USEDEP}] - dev-python/colorama[${PYTHON_USEDEP}] - dev-python/parameterized[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -export SETUPTOOLS_SCM_PRETEND_VERSION=${MY_PV} - -src_prepare() { - # remove unnecessary bind that worked around broken 6.1.0/6.2.0 releases - sed -i -e '/setuptools_scm/s:~=:>=:' \ - -e 's/setuptools_scm\[toml\]>=[0-9.]*/setuptools_scm[toml]/' setup.cfg || die - distutils-r1_src_prepare -} - -python_test() { - cp "${S}"/src/black_primer/primer.json \ - "${BUILD_DIR}"/lib/black_primer/primer.json || die - distutils_install_for_testing - epytest -m "not python2" -} - -pkg_postinst() { - optfeature "blackd - HTTP API for black" dev-python/aiohttp dev-python/aiohttp-cors -} diff --git a/dev-python/cons/cons-0.4.4.ebuild b/dev-python/cons/cons-0.4.4.ebuild index 0d12a7af04c8..0fd07e872bd6 100644 --- a/dev-python/cons/cons-0.4.4.ebuild +++ b/dev-python/cons/cons-0.4.4.ebuild @@ -19,7 +19,7 @@ S="${WORKDIR}/python-${P}" LICENSE="LGPL-3" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~riscv ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~riscv x86" RDEPEND="dev-python/logical-unification[${PYTHON_USEDEP}]" diff --git a/dev-python/etuples/etuples-0.3.3.ebuild b/dev-python/etuples/etuples-0.3.3.ebuild index 05c99dcfbb95..9841aef751a0 100644 --- a/dev-python/etuples/etuples-0.3.3.ebuild +++ b/dev-python/etuples/etuples-0.3.3.ebuild @@ -18,7 +18,7 @@ SRC_URI=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~riscv ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~riscv x86" RDEPEND=" dev-python/cons[${PYTHON_USEDEP}] diff --git a/dev-python/eventlet/eventlet-0.33.0.ebuild b/dev-python/eventlet/eventlet-0.33.0.ebuild index 0aa902ced05f..d3c2b78fa015 100644 --- a/dev-python/eventlet/eventlet-0.33.0.ebuild +++ b/dev-python/eventlet/eventlet-0.33.0.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/e/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~amd64 arm arm64 ppc ppc64 ~riscv ~s390 sparc ~x86" IUSE="examples" RDEPEND=" diff --git a/dev-python/fakeredis/Manifest b/dev-python/fakeredis/Manifest index 8e906a712b54..a13e46a82b34 100644 --- a/dev-python/fakeredis/Manifest +++ b/dev-python/fakeredis/Manifest @@ -1,2 +1 @@ -DIST fakeredis-1.6.1.gh.tar.gz 70171 BLAKE2B f10ac8aaec73871153ac7557a40984e6752b7e3720c1890380bda4aad828003403b6207c5e4f4ace18814e6ad33355acca08ff53cc33cb43acb5d9955ea6e5fc SHA512 1a8718d277d15a887901ed29691af83a2aea57605edf8cf2dbdc00c397a62ea8c1ed21440adadcda431a8ae8f33c85b549c5458a958b1fb74996e54ab612cd13 DIST fakeredis-1.7.0.gh.tar.gz 71108 BLAKE2B 64b4c8aa2891ac6afd7789e5a8dce4d1a0ccd6a5083b410fd051d871d4ea9748e9d687eb27bbaeea646747f4bf170089d3ef711d6db0d6a88d8b7e755d165b6d SHA512 a8c67929e63196fea45b85097aaf6bf7402679510e471a8d13bdc0f7320e983107416d3e515fa85b1d6a6217fb82dbda7b4425c3c80ac54a1ac50eee875b0fbd diff --git a/dev-python/fakeredis/fakeredis-1.6.1.ebuild b/dev-python/fakeredis/fakeredis-1.6.1.ebuild deleted file mode 100644 index e2e2c3a21642..000000000000 --- a/dev-python/fakeredis/fakeredis-1.6.1.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 2020-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 optfeature - -DESCRIPTION="Fake implementation of redis API for testing purposes" -HOMEPAGE=" - https://github.com/jamesls/fakeredis/ - https://pypi.org/project/fakeredis/" -SRC_URI=" - https://github.com/jamesls/fakeredis/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~sparc x86" - -RDEPEND=" - dev-python/redis-py[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - dev-python/sortedcontainers[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-db/redis - dev-python/aioredis[${PYTHON_USEDEP}] - dev-python/hypothesis[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - test/test_aioredis2.py::test_blocking_unblock - test/test_aioredis2.py::test_pubsub - "test/test_aioredis2.py::test_repr[fake]" - test/test_hypothesis.py::TestJoint::test - test/test_hypothesis.py::TestFuzz::test -) - -python_test() { - local args=( - # tests requiring lupa (lua support) - -k 'not test_eval and not test_lua and not test_script' - ) - epytest "${args[@]}" -} - -src_test() { - local redis_pid="${T}"/redis.pid - local redis_port=6379 - local redis_test_config=" - daemonize yes - pidfile ${redis_pid} - port ${redis_port} - bind 127.0.0.1 - " - - einfo "Spawning Redis" - einfo "NOTE: Port ${redis_port} must be free" - "${EPREFIX}"/usr/sbin/redis-server - <<< "${redis_test_config}" || die - - # Run the tests - distutils-r1_src_test - - # Clean up afterwards - kill "$(<"${redis_pid}")" || die -} - -pkg_postinst() { - optfeature "Mock aioredis" dev-python/aioredis -} diff --git a/dev-python/fakeredis/fakeredis-1.7.0.ebuild b/dev-python/fakeredis/fakeredis-1.7.0.ebuild index 2faf35949083..e5c2871b1317 100644 --- a/dev-python/fakeredis/fakeredis-1.7.0.ebuild +++ b/dev-python/fakeredis/fakeredis-1.7.0.ebuild @@ -16,7 +16,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~sparc x86" RDEPEND=" dev-python/redis-py[${PYTHON_USEDEP}] diff --git a/dev-python/jaraco-envs/Manifest b/dev-python/jaraco-envs/Manifest index cfedbc64db53..ce338bf6a09a 100644 --- a/dev-python/jaraco-envs/Manifest +++ b/dev-python/jaraco-envs/Manifest @@ -1,2 +1 @@ -DIST jaraco.envs-2.1.1.tar.gz 10190 BLAKE2B 3b191549fe8a5cee1a964559f7ecba8305ac22cc1980191c7fd967a8fb5eac7c81cd8a2752566e2d0e820a9d089422d11fc5529f56d4266cae411ce13e304bb8 SHA512 c71aab9748cfa31c27bb7899117e15d2836851a47a76b638177facc89e894dfa2c4168da2d5b1873b1eeed0d785d23137e56e198f92fb83deb26aab38e342ad2 DIST jaraco.envs-2.2.0.tar.gz 6151 BLAKE2B a620bb64ffad881e9b31569d90b621ac79f27ff78c6531f0e89e7f4cf386a4a8045aa9676e561b51d75ce1bef82b4f86342fb51dfe1a1acc32eeae58b4237373 SHA512 b852168f718c133142b592402d17891cad821493842324263c195d0c6d15592946c89431d278b4860f8802363debce87f35e11f1357a52b94620bcc3f90d99ec diff --git a/dev-python/jaraco-envs/jaraco-envs-2.1.1.ebuild b/dev-python/jaraco-envs/jaraco-envs-2.1.1.ebuild deleted file mode 100644 index f54019576ba1..000000000000 --- a/dev-python/jaraco-envs/jaraco-envs-2.1.1.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) -inherit distutils-r1 - -MY_P=${P/-/.} -DESCRIPTION="Classes for orchestrating Python (virtual) environments" -HOMEPAGE="https://github.com/jaraco/jaraco.envs" -SRC_URI="mirror://pypi/${MY_P::1}/${PN/-/.}/${MY_P}.tar.gz" -S=${WORKDIR}/${MY_P} - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv sparc x86 ~x64-macos" - -RDEPEND=" - dev-python/path-py[${PYTHON_USEDEP}] - $(python_gen_cond_dep 'dev-python/contextlib2[${PYTHON_USEDEP}]' 'python3_[67]')" -# toml is required by setuptools_scm -BDEPEND=" - dev-python/setuptools_scm[${PYTHON_USEDEP}] - dev-python/toml[${PYTHON_USEDEP}]" - -# there are no actual tests, just flake8 etc -RESTRICT="test" diff --git a/dev-python/jaraco-envs/jaraco-envs-2.2.0-r1.ebuild b/dev-python/jaraco-envs/jaraco-envs-2.2.0-r1.ebuild index 5359aa618939..7169e168f182 100644 --- a/dev-python/jaraco-envs/jaraco-envs-2.2.0-r1.ebuild +++ b/dev-python/jaraco-envs/jaraco-envs-2.2.0-r1.ebuild @@ -13,7 +13,7 @@ S=${WORKDIR}/${MY_P} LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv sparc x86 ~x64-macos" RDEPEND=" dev-python/path-py[${PYTHON_USEDEP}] diff --git a/dev-python/keyring/Manifest b/dev-python/keyring/Manifest index f7059690758f..7f5ec820eb14 100644 --- a/dev-python/keyring/Manifest +++ b/dev-python/keyring/Manifest @@ -1,2 +1 @@ -DIST keyring-23.3.0.tar.gz 44669 BLAKE2B 3f6cd3ff558b0a792d405c1c8175bf68c8463f26662d74c1f439e28d7914ef7f26c6091c64ef372e78028eeda04d2a5bcbe253477632b2e53d92d36ade43d47a SHA512 39264abf585949da444fdacbb1195c981157e151d1d14373c5afe0f6547f8da46b2da3e14f47e363bbccd69ee90bc182c287bd963d8b99301a5e919e511426cf DIST keyring-23.4.0.tar.gz 44557 BLAKE2B 1115ecfca9f7d7cd5d28168d9d4198e329217ace82a32fe4db1b40aa96e6a352face46f4e8877407618e701713a8f1347810a24706bbe1872bff758f71ae34f5 SHA512 214041375a1bddda099042168f0f4c5ea4cf24c347a0693ab3efd7eb7a0ab2c36abff33f3d83168cfe5ae5dd971e0f3de4548fb0651e435009766aec740e64eb diff --git a/dev-python/keyring/keyring-23.3.0.ebuild b/dev-python/keyring/keyring-23.3.0.ebuild deleted file mode 100644 index d9fa9834cdcb..000000000000 --- a/dev-python/keyring/keyring-23.3.0.ebuild +++ /dev/null @@ -1,46 +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="Provides access to the system keyring service" -HOMEPAGE="https://github.com/jaraco/keyring" -SRC_URI="https://github.com/jaraco/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -SLOT="0" -LICENSE="PSF-2" -KEYWORDS="~alpha amd64 arm arm64 hppa ppc ppc64 ~riscv sparc x86 ~x64-macos" - -RDEPEND=" - dev-python/secretstorage[${PYTHON_USEDEP}] - dev-python/entrypoints[${PYTHON_USEDEP}] - dev-python/jeepney[${PYTHON_USEDEP}] - dev-python/importlib_metadata[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/setuptools_scm[${PYTHON_USEDEP}] - dev-python/toml[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest -distutils_enable_sphinx docs \ - dev-python/jaraco-packaging \ - dev-python/rst-linker - -export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} - -EPYTEST_DESELECT=( - # this test fails if importlib-metadata returns more than one - # entry, i.e. when keyring is installed already - tests/test_packaging.py::test_entry_point -) - -EPYTEST_IGNORE=( - # apparently does not unlock the keyring properly - tests/backends/test_libsecret.py - # hangs - tests/backends/test_kwallet.py -) diff --git a/dev-python/keyring/keyring-23.4.0.ebuild b/dev-python/keyring/keyring-23.4.0.ebuild index 9c1e19561532..d9fa9834cdcb 100644 --- a/dev-python/keyring/keyring-23.4.0.ebuild +++ b/dev-python/keyring/keyring-23.4.0.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/jaraco/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" SLOT="0" LICENSE="PSF-2" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ppc ppc64 ~riscv sparc x86 ~x64-macos" RDEPEND=" dev-python/secretstorage[${PYTHON_USEDEP}] diff --git a/dev-python/lmdb/Manifest b/dev-python/lmdb/Manifest index 4768a63a03ea..305a7f06d227 100644 --- a/dev-python/lmdb/Manifest +++ b/dev-python/lmdb/Manifest @@ -1,2 +1,3 @@ DIST lmdb-1.2.0.tar.gz 881437 BLAKE2B bcb045868c100bcb82daed99bdbd73699dcb5a0e982679f1d9f49747f468e2ab2cbc412ba020b9deca7263fece501c25d984397ee2969187c8118da920c691aa SHA512 75c7aeb3e98ffddb9e40b4eb7404afd3c6ade93753488eac2cb5facfab3ec9b660d925b8bd1c40ca5f8180cb6ca33483020bb4c5ddc074b841693ba278883529 DIST lmdb-1.2.1.tar.gz 881515 BLAKE2B 76d56e046b5a481411c9a180989da0d1c4b7371058e38abe6d8a6b76f7e2bc62678459241d319850cf739b7b067f3e89d309e5f9a538a187c52c1044fe8b768d SHA512 fa763e24c8f278e0b9c379f39329b7b80051e10d5d8edfdd631486490cfbe5c7bc641d885ffb9f298c0c07f7e6901cc826023c472f98b430a4ec9c0bc71139d5 +DIST lmdb-1.3.0.tar.gz 881422 BLAKE2B ad864956d44ec55e36a856125dd21b8e51af37a274f8b546edc68cd2025b19b97cb60f49f51558345b32922f7c968f442e15cdda84e9416280069adc7371a033 SHA512 31a821641e398087a9b8e76341d693c3be48089ffa5b5624043b276d5acb4d7fa25cbbd156dff39a82bf678402eb64d8ca922252a594ecc098946a67cc4d4cf1 diff --git a/dev-python/lmdb/lmdb-1.3.0.ebuild b/dev-python/lmdb/lmdb-1.3.0.ebuild new file mode 100644 index 000000000000..1af29b1acf8b --- /dev/null +++ b/dev-python/lmdb/lmdb-1.3.0.ebuild @@ -0,0 +1,39 @@ +# 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="Python bindings for the Lightning Database" +HOMEPAGE="https://github.com/jnwatson/py-lmdb/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="OPENLDAP" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-db/lmdb-0.9.28:= + $(python_gen_cond_dep ' + dev-python/cffi[${PYTHON_USEDEP}] + ' 'python*')" +DEPEND="${RDEPEND}" + +distutils_enable_sphinx docs +distutils_enable_tests pytest + +python_compile() { + LMDB_FORCE_SYSTEM=1 distutils-r1_python_compile +} + +python_test() { + epytest tests +} + +python_install() { + # This is required when the CFFI extension is used (for PyPy3) + LMDB_FORCE_SYSTEM=1 distutils-r1_python_install +} diff --git a/dev-python/logical-unification/logical-unification-0.4.4.ebuild b/dev-python/logical-unification/logical-unification-0.4.4.ebuild index b1fbcad68039..382885fd2697 100644 --- a/dev-python/logical-unification/logical-unification-0.4.4.ebuild +++ b/dev-python/logical-unification/logical-unification-0.4.4.ebuild @@ -19,7 +19,7 @@ S="${WORKDIR}/unification-${PV}" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~riscv ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~riscv x86" RDEPEND=" dev-python/multipledispatch[${PYTHON_USEDEP}] diff --git a/dev-python/minikanren/minikanren-1.0.2.ebuild b/dev-python/minikanren/minikanren-1.0.2.ebuild index 969dc9f25f1a..3a8c7264f8dc 100644 --- a/dev-python/minikanren/minikanren-1.0.2.ebuild +++ b/dev-python/minikanren/minikanren-1.0.2.ebuild @@ -19,7 +19,7 @@ S="${WORKDIR}/kanren-${PV}" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~riscv ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~riscv x86" RDEPEND=" dev-python/cons[${PYTHON_USEDEP}] diff --git a/dev-python/mistune/Manifest b/dev-python/mistune/Manifest index 6d4612e7afbf..32f73a261a25 100644 --- a/dev-python/mistune/Manifest +++ b/dev-python/mistune/Manifest @@ -1,2 +1,3 @@ DIST mistune-0.8.4.tar.gz 58322 BLAKE2B e65d45c5c95706a49a7fd407afe5f10e82a475766ca272ec3bebba8c89e670fe6efced7b09537efb69d3fd36e75091e370170a15ad7488b5cbe9186e2ccaf4db SHA512 36c3ef5d5537f5cceaa43e4da20a84b27c378cb744a93f0380024faefde490bcb42c453f79002ca049083fc437278f4afb3e10de5462f9eeb9077ca2a2fcaea7 DIST mistune-2.0.0.tar.gz 75635 BLAKE2B 0704b5043178c553961bfd5d99ea92ee097849e6a4cc6196c7e97e0caa4560541b4ae4b9e61e62e21592be6f2f0c142081200c5a398e68d7b7f7d54f0bbade15 SHA512 cdb1ad001a95680b048f4363e95c00e4d597007fc2ae72adeca483ffed3fae3aa55c7774d96a1dd7400568b24c73cc6f877bb7b0f63b48689a97a1e4ce0b1c5d +DIST mistune-2.0.1.tar.gz 75657 BLAKE2B 399ad8902aeb88e8e3645f5200bbfea5011157d3251af33188d2a0298c46dfb5f8e70cd951b216762942a84d29df1bc12e0750bc928f2e0c8e96034246438f53 SHA512 f6a0e08fecfeaad7d4eb0cae155bdd5ab67c66ae15a3a067c9f6cbf47a229cb9b540d49ecdb5c2fa98c8344863e1249ef86f84bc4d966fe473ade18a266c1ec6 diff --git a/dev-python/mistune/mistune-2.0.1.ebuild b/dev-python/mistune/mistune-2.0.1.ebuild new file mode 100644 index 000000000000..06bc82b27e96 --- /dev/null +++ b/dev-python/mistune/mistune-2.0.1.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_SETUPTOOLS=pyproject.toml +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) +inherit distutils-r1 + +DESCRIPTION="The fastest markdown parser in pure Python" +HOMEPAGE="https://pypi.org/project/mistune/ https://github.com/lepture/mistune" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +SLOT="0" +LICENSE="BSD" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" + +distutils_enable_tests pytest diff --git a/dev-python/multipledispatch/multipledispatch-0.6.0.ebuild b/dev-python/multipledispatch/multipledispatch-0.6.0.ebuild index da37cf557140..2163aa54e820 100644 --- a/dev-python/multipledispatch/multipledispatch-0.6.0.ebuild +++ b/dev-python/multipledispatch/multipledispatch-0.6.0.ebuild @@ -18,7 +18,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~riscv ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~riscv x86" RDEPEND="dev-python/six[${PYTHON_USEDEP}]" diff --git a/dev-python/nuitka/Manifest b/dev-python/nuitka/Manifest index 4d87693a2589..f345646cf4f0 100644 --- a/dev-python/nuitka/Manifest +++ b/dev-python/nuitka/Manifest @@ -5,4 +5,5 @@ DIST Nuitka-0.6.18.2.tar.gz 3690219 BLAKE2B 416e23500ce7739858e6393eef9783a38522 DIST Nuitka-0.6.18.3.tar.gz 3690647 BLAKE2B 7ab4fd2b788a63819b3cbd146e8508d781beb14eec3f0fc724fb4eb0e4805fb17917ab685ab2e28ea50d06c4235be1aa05a694b19e1a2cafd8542d8133aa3496 SHA512 b2aa249dff42c17e0f1c6a33e57cb5e40e17f4043c54467af68071e674ccbe01fd446bfce1e4f0488fd0094561c51ed9f1322e73b049ef19c3f2a9d4f0a6fc44 DIST Nuitka-0.6.18.4.tar.gz 3690751 BLAKE2B 209a7b0d981f9ba777c53b80708e7f5b09e65565246e9d06b7a0ad6155d3cb5b57e2191406e304be585b326a917f8787c4635c326b5e8ad9254d5ade40cf1ec6 SHA512 9cf404e985dcdc11416218e30340c5d52b6a835d1d1a94d9b5cedfcea774abc7ed848a5c4bd5783a9a1898f469e519148ed195945d3d8e7b9043da00ea38c7f0 DIST Nuitka-0.6.18.5.tar.gz 3692319 BLAKE2B f60d1516cad1f82c75d63164d93072e6841f092e71bdfadfc713ef4d10838d33c786094f8e326c413bd63cdd561ac6af7a265344cafa9ab45eece630e4e0ce24 SHA512 4dcccf492b0858482b62736478aec0566f11fc8c548ca478b6055b12d694ca1736f495e11c6e4240281fbb11685f043393a1db839dae590dee821a98b4712c87 +DIST Nuitka-0.6.18.6.tar.gz 3674413 BLAKE2B 68f163071ff451a91bcdd9b556ea3732c3c3997df61addb190a39d40c3a25ce266596e45f5e618369a8db913ee45746a63b9eff675671afc77df8d5247bc3a18 SHA512 e0324f03cd1a5dcae50a54d3a9ffba11db6b10044d855e18a5678ce3469620014be087f1e93f7654c5e9117dacd39970f28284424f91f7a2d5ffd72fda9f3f92 DIST Nuitka-0.6.18.tar.gz 3687825 BLAKE2B f2c5655c610083065cc205c0a92ff9c57edfc87a479592f435c3dd194e2d6d71ff0ee9866bc97f222b3936190a4420e7d69cf9413b5b2a5e9439448dda82004f SHA512 df4c81d890ce9c5dc24e648f65137d4bb91dcb92917859976a3400ace6c297f985cee4932b50cb3c2aedb2eaa806be7529a98a75a32fe3f59ec718ed3281003b diff --git a/dev-python/nuitka/nuitka-0.6.18.6.ebuild b/dev-python/nuitka/nuitka-0.6.18.6.ebuild new file mode 100644 index 000000000000..e7fb8e91318b --- /dev/null +++ b/dev-python/nuitka/nuitka-0.6.18.6.ebuild @@ -0,0 +1,48 @@ +# 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 flag-o-matic optfeature + +DESCRIPTION="Python to native compiler" +HOMEPAGE="https://www.nuitka.net" +SRC_URI="https://nuitka.net/releases/${P^}.tar.gz" +S="${WORKDIR}/${P^}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-util/scons[${PYTHON_USEDEP}]" +BDEPEND=" + ${RDEPEND} + test? ( dev-util/ccache ) +" + +DOCS=( Changelog.pdf Developer_Manual.pdf README.pdf ) + +distutils-r1_src_prepare() { + # remove vendored version of SCons that is Python2 only + # this should be removed when upstream removes support for Python2 + rm -vR "${S}/${PN}/build/inline_copy/lib/scons-2.3.2/SCons" || die + eapply_user +} + +python_install() { + distutils-r1_python_install + python_optimize + doman doc/nuitka3.1 doc/nuitka3-run.1 +} + +python_test() { + append-ldflags -Wl,--no-warn-search-mismatch + ./tests/basics/run_all.py search || die +} + +pkg_postinst() { + optfeature "support for stand-alone executables" app-admin/chrpath +} diff --git a/dev-python/pikepdf/Manifest b/dev-python/pikepdf/Manifest index 80c10ef9b2f6..89db62ca5d77 100644 --- a/dev-python/pikepdf/Manifest +++ b/dev-python/pikepdf/Manifest @@ -1,3 +1,4 @@ DIST pikepdf-4.0.2.tar.gz 2336204 BLAKE2B d7c8e0c16195b2738302ebc4d29f898a590716ddcf382776a8ea55c75bb39a491473f552bf51b1daad76e74999e2c006282f4b861ce0c8bc967bc4a94740af46 SHA512 a2f1df8d6ae427e59a03232bead0034ef27ff68123efdb522da6ceaeb0d213182b8f6cce11bf89f0c39b464a8569e40164e2b028e2fd6b8b166ab45bf89aff11 DIST pikepdf-4.1.0.tar.gz 2336449 BLAKE2B 78f8fe63f1a6d95e08f2ffc079bd76d2416c1b67969d6267b1e9641d339d1a0699471440236dbe572449f813ffb8d659466db741f000354799df35b4189019df SHA512 da7fd1ab0a159e280eec858700af0cd13adf4b649149944499e344ef3c54297838297827f4a86ff59a156440d80b684791fa021c5d09340994da69820bdae260 DIST pikepdf-4.2.0.tar.gz 2337822 BLAKE2B ca966ae2c1be1805cc6ce99e34eb6692fe89bf29f1e6a3161eb04daa52e3890ae8d8859e4165801395efc5d3364d215ea5fc659fb344388a36bf32b638ad72bf SHA512 a01e2b0defbf6689b7d47346a85c07ae575ae57833d5be93e4099890ed5bb5b205595dc43ddd917ab4adc87ad591199c728c886358b8d4c03b1522193428e23d +DIST pikepdf-4.3.0.tar.gz 2348313 BLAKE2B 8e3a98fae1406a1c704d0c2341eebf142ab5d774f861e85ee83605ea56a433d96b85ec501171d4c8f9b2e905b7d06b8075191efea7e58e80f86abf046c2c698d SHA512 c23866e2e9cc36916823d6740f63900d0d1bf3fa7fb226c7f3ae2e0f1bda2808f2ac469ec38a3c147cf124d7473d63cd13ee34a09d9bf74cef29b76589c93ff4 diff --git a/dev-python/pikepdf/pikepdf-4.3.0.ebuild b/dev-python/pikepdf/pikepdf-4.3.0.ebuild new file mode 100644 index 000000000000..5e40ef59ccec --- /dev/null +++ b/dev-python/pikepdf/pikepdf-4.3.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +MY_P=${P/_p/.post} +DESCRIPTION="Python library to work with pdf files based on qpdf" +HOMEPAGE="https://pypi.org/project/pikepdf/ https://github.com/pikepdf/pikepdf" +SRC_URI=" + https://github.com/${PN}/${PN}/archive/v${PV/_p/.post}.tar.gz + -> ${MY_P}.tar.gz" +S=${WORKDIR}/${MY_P} + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND=">=app-text/qpdf-10.3.1:0=" +RDEPEND="${DEPEND} + >=dev-python/pillow-7[${PYTHON_USEDEP}] + >=dev-python/lxml-4.0[${PYTHON_USEDEP}] + >=dev-python/packaging-20[${PYTHON_USEDEP}] + >=dev-python/pybind11-2.7.1[${PYTHON_USEDEP}]" +BDEPEND=" + >=dev-python/pybind11-2.7.1[${PYTHON_USEDEP}] + >=dev-python/setuptools_scm-4.1[${PYTHON_USEDEP}] + dev-python/toml[${PYTHON_USEDEP}] + dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}] + test? ( + >=dev-python/attrs-20.2.0[${PYTHON_USEDEP}] + >=dev-python/hypothesis-5[${PYTHON_USEDEP}] + >=dev-python/pillow-5.0.0[${PYTHON_USEDEP},jpeg,lcms,tiff] + >=dev-python/psutil-5[${PYTHON_USEDEP}] + >=dev-python/pytest-6[${PYTHON_USEDEP}] + >=dev-python/pytest-timeout-1.4.2[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.8.0[${PYTHON_USEDEP}] + >=dev-python/python-xmp-toolkit-2.0.1[${PYTHON_USEDEP}] + )" + +#distutils_enable_sphinx docs \ +# dev-python/ipython \ +# dev-python/matplotlib \ +# dev-python/sphinx_rtd_theme +distutils_enable_tests pytest + +src_prepare() { + sed -i -e '/-n auto/d' pyproject.toml || die + distutils-r1_src_prepare +} diff --git a/dev-python/pip/pip-21.3.1-r1.ebuild b/dev-python/pip/pip-21.3.1-r1.ebuild index ffba48dceac1..11abe1e55fb3 100644 --- a/dev-python/pip/pip-21.3.1-r1.ebuild +++ b/dev-python/pip/pip-21.3.1-r1.ebuild @@ -32,7 +32,7 @@ SRC_URI=" " LICENSE="MIT" -KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~sparc x86" +KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv sparc x86" SLOT="0" IUSE="test vanilla" RESTRICT="!test? ( test )" diff --git a/dev-python/pygame/pygame-2.1.0.ebuild b/dev-python/pygame/pygame-2.1.0.ebuild index 65852dd11411..cf5cd6b7f313 100644 --- a/dev-python/pygame/pygame-2.1.0.ebuild +++ b/dev-python/pygame/pygame-2.1.0.ebuild @@ -17,7 +17,7 @@ S=${WORKDIR}/${MY_P} LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ppc64 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~ppc ppc64 ~sparc ~x86" IUSE="doc examples midi opengl test X" RESTRICT="!test? ( test )" diff --git a/dev-python/pygments/Manifest b/dev-python/pygments/Manifest index 7dc75c3a306e..1a193655cf06 100644 --- a/dev-python/pygments/Manifest +++ b/dev-python/pygments/Manifest @@ -1 +1,2 @@ DIST Pygments-2.10.0.tar.gz 4052321 BLAKE2B 003d13344a2c5fe448a23d7bb45a401dc839cac10be262f5831c9547444d395811c92b74d1b18663a11a2e6cedf29b5a74cbd75267157429d61375bd9df6eb49 SHA512 28fdf35e333717795f199e0ef936d6df16ac0752324839ac36cabd2f9f6759a57663527d37f1c2f470258d63c3cf190f6dd4b631b21c849fc76575036fbdae12 +DIST Pygments-2.11.0.tar.gz 4157814 BLAKE2B de70a1de48083a9a0f281e4eb7f164cb551bd2fa2e7682c26c4513e1ebadf9da4ba6b2ccb50cc16955df484d313dff2b0431d6de2f5590c59c775f9ebd3884db SHA512 761b722cdcbc41bc730843e8120ae3c0d634db9918c1c1870d89b79002b55f245c896ed9301c44b665e573a8584d5f8504623fe9d4c63820b57a2cfcae576b33 diff --git a/dev-python/pygments/pygments-2.11.0.ebuild b/dev-python/pygments/pygments-2.11.0.ebuild new file mode 100644 index 000000000000..6c99c401147d --- /dev/null +++ b/dev-python/pygments/pygments-2.11.0.ebuild @@ -0,0 +1,34 @@ +# 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 bash-completion-r1 + +MY_P=${P^} +DESCRIPTION="Pygments is a syntax highlighting package written in Python" +HOMEPAGE=" + https://pygments.org/ + https://github.com/pygments/pygments/ + https://pypi.org/project/Pygments/" +SRC_URI="mirror://pypi/${MY_P:0:1}/${PN^}/${MY_P}.tar.gz" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +BDEPEND=" + test? ( + dev-python/wcag-contrast-ratio[${PYTHON_USEDEP}] + virtual/ttf-fonts + )" + +distutils_enable_sphinx doc +distutils_enable_tests pytest + +python_install_all() { + distutils-r1_python_install_all + newbashcomp external/pygments.bashcomp pygmentize +} diff --git a/dev-python/pylast/Manifest b/dev-python/pylast/Manifest index ec7950c90739..54435402bb07 100644 --- a/dev-python/pylast/Manifest +++ b/dev-python/pylast/Manifest @@ -1,2 +1 @@ -DIST pylast-4.3.0.tar.gz 39875 BLAKE2B 9b51c44295babc54207593e43d70ec121ddc4c4e5bea8a0936691d02c2cf996869cc3995f5b069bfe3a9208754705a716716cb6bb8aefef142723687dc07a16a SHA512 2880e142da2841775f2c48f2d5ad0adc39e6b65073a76dd6af24c65f420948755b25f7a630b95315ffbdd1f7536d9ac4570b3df01d6837f77faccf89aaf41f33 DIST pylast-4.4.0.tar.gz 39793 BLAKE2B 13a2bd4652b0dee142442f8bc6bf922f544b093be207efe8661f5355e37ff59a5c0d9c844193d2d3e4f22ccafc10993b8cced6872d4f0fece42c37524bee8beb SHA512 341b3f8a6691699b9581769d1f06908df8ec694a22d8918e4ed37af1f47287577c5fc156f3807c744aa9774d69e23570036f06a8e9921f3c7c7d21b53b8eb041 diff --git a/dev-python/pylast/pylast-4.3.0.ebuild b/dev-python/pylast/pylast-4.3.0.ebuild deleted file mode 100644 index 60d5f24a4139..000000000000 --- a/dev-python/pylast/pylast-4.3.0.ebuild +++ /dev/null @@ -1,25 +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="Python interface to last.fm and other api-compatible websites" -HOMEPAGE="https://github.com/pylast/pylast" -SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86" - -RDEPEND="dev-python/six[${PYTHON_USEDEP}]" -BDEPEND=" - dev-python/setuptools_scm[${PYTHON_USEDEP}] - test? ( dev-python/flaky[${PYTHON_USEDEP}] ) -" - -distutils_enable_tests --install pytest - -export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} diff --git a/dev-python/pylast/pylast-4.4.0.ebuild b/dev-python/pylast/pylast-4.4.0.ebuild index 54cd25b55248..129398569292 100644 --- a/dev-python/pylast/pylast-4.4.0.ebuild +++ b/dev-python/pylast/pylast-4.4.0.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86" BDEPEND=" dev-python/setuptools_scm[${PYTHON_USEDEP}] diff --git a/dev-python/pymongo/pymongo-4.0.1.ebuild b/dev-python/pymongo/pymongo-4.0.1.ebuild index b2be9e591082..3aecc480dd09 100644 --- a/dev-python/pymongo/pymongo-4.0.1.ebuild +++ b/dev-python/pymongo/pymongo-4.0.1.ebuild @@ -16,7 +16,7 @@ S=${WORKDIR}/${MY_P} LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~hppa ~riscv ~x86" +KEYWORDS="~amd64 arm64 ~hppa ~riscv ~x86" IUSE="doc kerberos" RDEPEND=" diff --git a/dev-python/python-lsp-server/Manifest b/dev-python/python-lsp-server/Manifest index ad77e8554d4e..3255446725a5 100644 --- a/dev-python/python-lsp-server/Manifest +++ b/dev-python/python-lsp-server/Manifest @@ -1,4 +1 @@ -DIST python-lsp-server-1.2.4.tar.gz 62073 BLAKE2B b1426d71a4da5ac29fa6b3e956010625d594eee7924a51eb5074933866254189a9738895bc5dd4aae8acc1733b9f162b73646d9a3eee3ac17a587456f2da00e4 SHA512 862d59426c6e7c19f9d3d2766ec5f9ec818d29988ee72cde9553e4b1725fbbe4230ed2f6d7e8d08983c9ef1ced8d5afe42d6751ea529d3d8799c8930b1e10a26 -DIST python-lsp-server-1.3.1.tar.gz 62464 BLAKE2B 89bcd96aab49c1819df29f5535d527669ce6a1face08647247fb9fe3700882b95afb4c32e8c5b6cab81148476b71b5645a6290a2ab2252fdeb93691430dd7b4b SHA512 45327254b0826d2883d0838734eb97a53fb4c6f61fe72c397de903107dbb852834a4c363aa34189a06a5f40cadb3644cb940fd69c969210c287cd3c21b81283c -DIST python-lsp-server-1.3.2.tar.gz 62480 BLAKE2B 309b36190b3924846d919182fe971a9f201f4f7f788dee814faa2748d4d04ac15e2eabc5a7102afb0e728bd5a9b343859b5c0634999a8233fa17c906536a6e89 SHA512 9d918787648849cad54e7253f69c87aa82418c592a66e2929f678b5f8e127b52ccb4591dc83467158f776afa0f7fd9ccd3eaf6be3f6663ef434153cc66276179 DIST python-lsp-server-1.3.3.tar.gz 62604 BLAKE2B 16f49013ccefc0dabcf58c6007c05828a930d0bc873805543fde79630bdc8bd020cb63d0d0ba56c181282a96c57c6084acde30dc2a8011d208040c2a93c3644b SHA512 94e9bf1e74799c395589451c02c1220bc79336e1c1cdc243e95e891f61c7977b2438d78da3db3da572022870e67305b8caca22241e0cfab23d3b546639c69aa7 diff --git a/dev-python/python-lsp-server/python-lsp-server-1.2.4.ebuild b/dev-python/python-lsp-server/python-lsp-server-1.2.4.ebuild deleted file mode 100644 index f36180769f20..000000000000 --- a/dev-python/python-lsp-server/python-lsp-server-1.2.4.ebuild +++ /dev/null @@ -1,86 +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} ) - -DISTUTILS_USE_SETUPTOOLS=rdepend -inherit distutils-r1 optfeature - -DESCRIPTION="Python Language Server for the Language Server Protocol" -HOMEPAGE="https://github.com/python-lsp/python-lsp-server" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm64 x86" - -IUSE="all-plugins" - -BDEPEND=" - test? ( - dev-python/autopep8[${PYTHON_USEDEP}] - dev-python/flaky[${PYTHON_USEDEP}] - >=dev-python/flake8-3.8.0[${PYTHON_USEDEP}] - <dev-python/flake8-4.0.0[${PYTHON_USEDEP}] - dev-python/matplotlib[${PYTHON_USEDEP}] - >=dev-python/mccabe-0.6.0[${PYTHON_USEDEP}] - <dev-python/mccabe-0.7.0[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] - >=dev-python/pycodestyle-2.7.0[${PYTHON_USEDEP}] - >=dev-python/pydocstyle-2.0.0[${PYTHON_USEDEP}] - >=dev-python/pyflakes-2.3.0[${PYTHON_USEDEP}] - <dev-python/pyflakes-2.4.0[${PYTHON_USEDEP}] - >=dev-python/pylint-2.5.0[${PYTHON_USEDEP}] - dev-python/QtPy[gui,testlib,${PYTHON_USEDEP}] - >=dev-python/rope-0.10.5[${PYTHON_USEDEP}] - dev-python/yapf[${PYTHON_USEDEP}] - )" - -RDEPEND=" - >=dev-python/jedi-0.17.2[${PYTHON_USEDEP}] - <dev-python/jedi-0.19.0[${PYTHON_USEDEP}] - >=dev-python/python-lsp-jsonrpc-1.0.0[${PYTHON_USEDEP}] - dev-python/pluggy[${PYTHON_USEDEP}] - all-plugins? ( - dev-python/autopep8[${PYTHON_USEDEP}] - >=dev-python/flake8-3.8.0[${PYTHON_USEDEP}] - <dev-python/flake8-4.0.0[${PYTHON_USEDEP}] - >=dev-python/mccabe-0.6.0[${PYTHON_USEDEP}] - <dev-python/mccabe-0.7.0[${PYTHON_USEDEP}] - >=dev-python/pycodestyle-2.7.0[${PYTHON_USEDEP}] - >=dev-python/pydocstyle-2.0.0[${PYTHON_USEDEP}] - >=dev-python/pyflakes-2.3.0[${PYTHON_USEDEP}] - <dev-python/pyflakes-2.4.0[${PYTHON_USEDEP}] - >=dev-python/pylint-2.5.0[${PYTHON_USEDEP}] - >=dev-python/rope-0.10.5[${PYTHON_USEDEP}] - dev-python/yapf[${PYTHON_USEDEP}] - ) -" - -PATCHES=( - "${FILESDIR}/${P}-unpin-pylint.patch" -) - -distutils_enable_tests pytest - -python_prepare_all() { - # remove pytest-cov dep - sed -i -e '0,/addopts/I!d' setup.cfg || die - - distutils-r1_python_prepare_all -} - -pkg_postinst() { - optfeature "Automatically formats Python code to conform to the PEP 8 style guide" dev-python/autopep8 - optfeature "A wrapper around PyFlakes, pep8 & mccabe" dev-python/flake8 - optfeature "flake8 plugin: McCabe complexity checker" dev-python/mccabe - optfeature "Python style guide checker (fka pep8)" dev-python/pycodestyle - optfeature "Python docstring style checker" dev-python/pydocstyle - optfeature "Passive checker for Python programs" dev-python/pyflakes - optfeature "Python code static checker" dev-python/pylint - optfeature "Python refactoring library" dev-python/rope - optfeature "A formatter for Python files" dev-python/yapf -} diff --git a/dev-python/python-lsp-server/python-lsp-server-1.3.1.ebuild b/dev-python/python-lsp-server/python-lsp-server-1.3.1.ebuild deleted file mode 100644 index f66537ca1b97..000000000000 --- a/dev-python/python-lsp-server/python-lsp-server-1.3.1.ebuild +++ /dev/null @@ -1,91 +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} ) - -DISTUTILS_USE_SETUPTOOLS=rdepend -inherit distutils-r1 optfeature - -DESCRIPTION="Python Language Server for the Language Server Protocol" -HOMEPAGE="https://github.com/python-lsp/python-lsp-server" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" - -IUSE="all-plugins" - -BDEPEND=" - test? ( - >=dev-python/autopep8-1.6.0[${PYTHON_USEDEP}] - <dev-python/autopep8-1.7.0[${PYTHON_USEDEP}] - dev-python/flaky[${PYTHON_USEDEP}] - >=dev-python/flake8-4.0.0[${PYTHON_USEDEP}] - <dev-python/flake8-4.1.0[${PYTHON_USEDEP}] - dev-python/matplotlib[${PYTHON_USEDEP}] - >=dev-python/mccabe-0.6.0[${PYTHON_USEDEP}] - <dev-python/mccabe-0.7.0[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] - >=dev-python/pycodestyle-2.8.0[${PYTHON_USEDEP}] - <dev-python/pycodestyle-2.9.0[${PYTHON_USEDEP}] - >=dev-python/pydocstyle-2.0.0[${PYTHON_USEDEP}] - >=dev-python/pyflakes-2.4.0[${PYTHON_USEDEP}] - <dev-python/pyflakes-2.5.0[${PYTHON_USEDEP}] - >=dev-python/pylint-2.5.0[${PYTHON_USEDEP}] - dev-python/QtPy[gui,testlib,${PYTHON_USEDEP}] - >=dev-python/rope-0.10.5[${PYTHON_USEDEP}] - dev-python/yapf[${PYTHON_USEDEP}] - )" - -RDEPEND=" - >=dev-python/jedi-0.17.2[${PYTHON_USEDEP}] - <dev-python/jedi-0.19.0[${PYTHON_USEDEP}] - >=dev-python/python-lsp-jsonrpc-1.0.0[${PYTHON_USEDEP}] - dev-python/pluggy[${PYTHON_USEDEP}] - all-plugins? ( - >=dev-python/autopep8-1.6.0[${PYTHON_USEDEP}] - <dev-python/autopep8-1.7.0[${PYTHON_USEDEP}] - >=dev-python/flake8-4.0.0[${PYTHON_USEDEP}] - <dev-python/flake8-4.1.0[${PYTHON_USEDEP}] - >=dev-python/mccabe-0.6.0[${PYTHON_USEDEP}] - <dev-python/mccabe-0.7.0[${PYTHON_USEDEP}] - >=dev-python/pycodestyle-2.8.0[${PYTHON_USEDEP}] - <dev-python/pycodestyle-2.9.0[${PYTHON_USEDEP}] - >=dev-python/pydocstyle-2.0.0[${PYTHON_USEDEP}] - >=dev-python/pyflakes-2.4.0[${PYTHON_USEDEP}] - <dev-python/pyflakes-2.5.0[${PYTHON_USEDEP}] - >=dev-python/pylint-2.5.0[${PYTHON_USEDEP}] - >=dev-python/rope-0.10.5[${PYTHON_USEDEP}] - dev-python/yapf[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_prepare_all() { - # remove pytest-cov dep - sed -i -e '0,/addopts/I!d' setup.cfg || die - - # This fails with py3.10, but it is not important. Instead of - # 'invalid syntax' we now get 'syntax-error' - sed -i -e 's/test_syntax_error_pylint_py3/_&/' \ - test/plugins/test_pylint_lint.py || die - - distutils-r1_python_prepare_all -} - -pkg_postinst() { - optfeature "Automatically formats Python code to conform to the PEP 8 style guide" dev-python/autopep8 - optfeature "A wrapper around PyFlakes, pep8 & mccabe" dev-python/flake8 - optfeature "flake8 plugin: McCabe complexity checker" dev-python/mccabe - optfeature "Python style guide checker (fka pep8)" dev-python/pycodestyle - optfeature "Python docstring style checker" dev-python/pydocstyle - optfeature "Passive checker for Python programs" dev-python/pyflakes - optfeature "Python code static checker" dev-python/pylint - optfeature "Python refactoring library" dev-python/rope - optfeature "A formatter for Python files" dev-python/yapf -} diff --git a/dev-python/python-lsp-server/python-lsp-server-1.3.2.ebuild b/dev-python/python-lsp-server/python-lsp-server-1.3.2.ebuild deleted file mode 100644 index f66537ca1b97..000000000000 --- a/dev-python/python-lsp-server/python-lsp-server-1.3.2.ebuild +++ /dev/null @@ -1,91 +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} ) - -DISTUTILS_USE_SETUPTOOLS=rdepend -inherit distutils-r1 optfeature - -DESCRIPTION="Python Language Server for the Language Server Protocol" -HOMEPAGE="https://github.com/python-lsp/python-lsp-server" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" - -IUSE="all-plugins" - -BDEPEND=" - test? ( - >=dev-python/autopep8-1.6.0[${PYTHON_USEDEP}] - <dev-python/autopep8-1.7.0[${PYTHON_USEDEP}] - dev-python/flaky[${PYTHON_USEDEP}] - >=dev-python/flake8-4.0.0[${PYTHON_USEDEP}] - <dev-python/flake8-4.1.0[${PYTHON_USEDEP}] - dev-python/matplotlib[${PYTHON_USEDEP}] - >=dev-python/mccabe-0.6.0[${PYTHON_USEDEP}] - <dev-python/mccabe-0.7.0[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] - >=dev-python/pycodestyle-2.8.0[${PYTHON_USEDEP}] - <dev-python/pycodestyle-2.9.0[${PYTHON_USEDEP}] - >=dev-python/pydocstyle-2.0.0[${PYTHON_USEDEP}] - >=dev-python/pyflakes-2.4.0[${PYTHON_USEDEP}] - <dev-python/pyflakes-2.5.0[${PYTHON_USEDEP}] - >=dev-python/pylint-2.5.0[${PYTHON_USEDEP}] - dev-python/QtPy[gui,testlib,${PYTHON_USEDEP}] - >=dev-python/rope-0.10.5[${PYTHON_USEDEP}] - dev-python/yapf[${PYTHON_USEDEP}] - )" - -RDEPEND=" - >=dev-python/jedi-0.17.2[${PYTHON_USEDEP}] - <dev-python/jedi-0.19.0[${PYTHON_USEDEP}] - >=dev-python/python-lsp-jsonrpc-1.0.0[${PYTHON_USEDEP}] - dev-python/pluggy[${PYTHON_USEDEP}] - all-plugins? ( - >=dev-python/autopep8-1.6.0[${PYTHON_USEDEP}] - <dev-python/autopep8-1.7.0[${PYTHON_USEDEP}] - >=dev-python/flake8-4.0.0[${PYTHON_USEDEP}] - <dev-python/flake8-4.1.0[${PYTHON_USEDEP}] - >=dev-python/mccabe-0.6.0[${PYTHON_USEDEP}] - <dev-python/mccabe-0.7.0[${PYTHON_USEDEP}] - >=dev-python/pycodestyle-2.8.0[${PYTHON_USEDEP}] - <dev-python/pycodestyle-2.9.0[${PYTHON_USEDEP}] - >=dev-python/pydocstyle-2.0.0[${PYTHON_USEDEP}] - >=dev-python/pyflakes-2.4.0[${PYTHON_USEDEP}] - <dev-python/pyflakes-2.5.0[${PYTHON_USEDEP}] - >=dev-python/pylint-2.5.0[${PYTHON_USEDEP}] - >=dev-python/rope-0.10.5[${PYTHON_USEDEP}] - dev-python/yapf[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_prepare_all() { - # remove pytest-cov dep - sed -i -e '0,/addopts/I!d' setup.cfg || die - - # This fails with py3.10, but it is not important. Instead of - # 'invalid syntax' we now get 'syntax-error' - sed -i -e 's/test_syntax_error_pylint_py3/_&/' \ - test/plugins/test_pylint_lint.py || die - - distutils-r1_python_prepare_all -} - -pkg_postinst() { - optfeature "Automatically formats Python code to conform to the PEP 8 style guide" dev-python/autopep8 - optfeature "A wrapper around PyFlakes, pep8 & mccabe" dev-python/flake8 - optfeature "flake8 plugin: McCabe complexity checker" dev-python/mccabe - optfeature "Python style guide checker (fka pep8)" dev-python/pycodestyle - optfeature "Python docstring style checker" dev-python/pydocstyle - optfeature "Passive checker for Python programs" dev-python/pyflakes - optfeature "Python code static checker" dev-python/pylint - optfeature "Python refactoring library" dev-python/rope - optfeature "A formatter for Python files" dev-python/yapf -} diff --git a/dev-python/python-lsp-server/python-lsp-server-1.3.3.ebuild b/dev-python/python-lsp-server/python-lsp-server-1.3.3.ebuild index f66537ca1b97..2437ba1d68ff 100644 --- a/dev-python/python-lsp-server/python-lsp-server-1.3.3.ebuild +++ b/dev-python/python-lsp-server/python-lsp-server-1.3.3.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 ~arm64 x86" IUSE="all-plugins" diff --git a/dev-python/reportlab/Manifest b/dev-python/reportlab/Manifest index a3bc1e24e39f..3d086e057d76 100644 --- a/dev-python/reportlab/Manifest +++ b/dev-python/reportlab/Manifest @@ -1,3 +1,4 @@ DIST pfbfer-20070710.zip 677333 BLAKE2B 100214476a361a5e5d1f3da0999591345f6e3a3f8c6bc3f6a3e9eca734190c6259758a43302c6e41254d33491fe535eb7d5dd07aa9727c912424bebc31fc18df SHA512 6fd4a5d955464b10d13a7b748703450c1fe120d5ed09e8cfa1b4dfa9c183c59fe001df29433af551796b0df62544b7ddc364f9bb1bdcc2cd300434340ffcc4f2 DIST reportlab-3.6.2.tar.gz 4501397 BLAKE2B 725b1142b54f2968d01f788949b9bd4a9208353710724bb7e647be5652b4bb01c37d344db1975f906e83c1265b9dd294fbbfbbb5c1960d25503a255ea32269de SHA512 5a8f22c50bbfcd1e76671e3337df5a740f6451ae42795288c0a0855167d0369543983e895317f1f6cbd14231bc664cea62e5a3b8ccd99775c423074b8c347b68 DIST reportlab-3.6.3.tar.gz 4502282 BLAKE2B 32f096eaa6526eaa3460f85f85e9e2e3947a4f774cce4306248fabd061e0acce3ffcc711552928ddf7d7d6b0cbb8e6629fbf35cbd15176972e0739cf6fd4751e SHA512 7e2f284a322371aa217ed60b966721b0ea5e2419e76bcc50ade9924e0ce6c3f5f9858500b17457883c41738ce5989624b87d26408a8afb65f737e82884b9c7df +DIST reportlab-3.6.5.tar.gz 4503259 BLAKE2B a394be1fb12808c31aa452da864103487e7d3f04aa3bb173f104e08ff83601da3c9c985c60b0a7b06d9795f87afbafec5a5d0ce1b615e64d1fd648109313eb04 SHA512 47579a5997f4a2f1fc7f2fb2cba7ca6e27913308926dc1e024a169f6ae52a11d62198c56ab9f0e3aae25a12b6c235fd8d4943f8400e8a9bcec937501aa406d76 diff --git a/dev-python/reportlab/reportlab-3.6.3.ebuild b/dev-python/reportlab/reportlab-3.6.3.ebuild index 05b4f8f567b8..f50f40d140e3 100644 --- a/dev-python/reportlab/reportlab-3.6.3.ebuild +++ b/dev-python/reportlab/reportlab-3.6.3.ebuild @@ -16,7 +16,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc ~x86 ~amd64-linux ~x86-linux" DEPEND=" media-libs/freetype diff --git a/dev-python/reportlab/reportlab-3.6.5.ebuild b/dev-python/reportlab/reportlab-3.6.5.ebuild new file mode 100644 index 000000000000..05b4f8f567b8 --- /dev/null +++ b/dev-python/reportlab/reportlab-3.6.5.ebuild @@ -0,0 +1,56 @@ +# 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="Tools for generating printable PDF documents from any data source" +HOMEPAGE=" + https://www.reportlab.com/ + https://pypi.org/project/reportlab/" +SRC_URI=" + mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz + https://www.reportlab.com/ftp/fonts/pfbfer-20070710.zip" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +DEPEND=" + media-libs/freetype + media-libs/libart_lgpl + sys-libs/zlib:=" +RDEPEND=" + ${DEPEND} + dev-python/pillow[tiff,truetype,jpeg(+),${PYTHON_USEDEP}]" +BDEPEND=" + app-arch/unzip" + +distutils_enable_sphinx docs/source +distutils_enable_tests unittest + +PATCHES=( + # bug 738312, remove -L/usr/lib from link line + "${FILESDIR}"/${PN}-3.5.48-usr-lib-LLD.patch +) + +src_unpack() { + unpack ${P}.tar.gz + cd ${P}/src/reportlab/fonts || die + unpack pfbfer-20070710.zip +} + +src_configure() { + DISTUTILS_ARGS=( + --no-download-t1-files + --use-system-libart + ) +} + +python_test() { + pushd tests >/dev/null || die + "${EPYTHON}" runAll.py -v || die "Testing failed with ${EPYTHON}" + popd >/dev/null || die +} diff --git a/dev-python/sphinxcontrib-spelling/Manifest b/dev-python/sphinxcontrib-spelling/Manifest index 3f8598b49bb2..75c6e3d66352 100644 --- a/dev-python/sphinxcontrib-spelling/Manifest +++ b/dev-python/sphinxcontrib-spelling/Manifest @@ -1,3 +1,4 @@ DIST sphinxcontrib-spelling-7.2.1.tar.gz 49584 BLAKE2B 7211acfe344b157c0d44f356aef4c31fabcb1b30256cec1693fa67d2652d80c8f3657441c193f82ef26e0e7acd7d141732bef0704462a292355d70a18ab3c2be SHA512 e9b9709b627545e1191d64753c97c0cf65e100d5379e7cc1da46faf9c5d5ea0eeb6c7aafe99331f9518488fb0801c245e0c1fa9853360bb6cf373515a4fed2ed DIST sphinxcontrib-spelling-7.3.0.tar.gz 49853 BLAKE2B 3bf7c6433a5de6b109891f1546f109ce7dc5870c0932f49a2dfbc1356c365ba48f885af21e0873284112d8b7b67dbb24730373a16e6786ba7e15f2bc23dc8360 SHA512 25b1902547e4ed172ec437aca0868f458c60aab8dacbeeec7ec1c57a93716672986b815aadb9c129fc6b068b5e4d7e96f6200160c0b688e67314abf290e4ff17 DIST sphinxcontrib-spelling-7.3.1.tar.gz 51104 BLAKE2B 8d757b492ce5bcb103bc604923da928f0440d4d0b882743d14b60fef21cfb423ea93a1e79f309b7cf27e8385ac94c01b24163a17407609ee20b9ec82dff63f62 SHA512 53f2532ff31a82c1cf568400a6066f319da3331c960446478bcd37e9293f4d080061b9c4914ac308e89878f432b6573ff782c5faba0f557384da55f202e68479 +DIST sphinxcontrib-spelling-7.3.2.tar.gz 51813 BLAKE2B 7c96f3b102fa33ea4d9e35100930a157200a1c01c51d8ec5145c45c5a24e3b5de35f6c4669177363c6098cb96275e10c39ff660c36d209cb6fa658e50cb8e169 SHA512 043a50f694366de4a3aedc24ca2ea7d89c85087097264f4e4fc860f68a3df5a67f19ec7172e4a67074377846d013d24edecd751885136c7263bc30b034c0f0e9 diff --git a/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-7.3.2.ebuild b/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-7.3.2.ebuild new file mode 100644 index 000000000000..c25857ab8950 --- /dev/null +++ b/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-7.3.2.ebuild @@ -0,0 +1,46 @@ +# 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="Sphinx spelling extension" +HOMEPAGE="https://github.com/sphinx-contrib/spelling" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + dev-python/pyenchant[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/pbr[${PYTHON_USEDEP}] + test? ( + app-dicts/myspell-en + ) +" + +# The doc can only be built from a git repository +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # requires the git repo + tests/test_filter.py::test_contributors +) + +# We don't want distutils_enable_tests to add the namespace +# package to BDEPEND under "test?". Therefore we add it to RDEPEND +# after running distutils_enable_tests. +RDEPEND+=" + dev-python/namespace-sphinxcontrib[${PYTHON_USEDEP}] +" + +python_install_all() { + distutils-r1_python_install_all + find "${ED}" -name '*.pth' -delete || die +} diff --git a/dev-python/symengine/Manifest b/dev-python/symengine/Manifest index 376b7f28db12..283b375f1542 100644 --- a/dev-python/symengine/Manifest +++ b/dev-python/symengine/Manifest @@ -1,2 +1 @@ -DIST symengine.py-0.7.2.tar.gz 107747 BLAKE2B cacd11f316df5132b6bbee356fd7a4c2d3fa30e80b144c5d8982fec1b6856ca3c839ef7a6f8daf4e70a27462fc43870d05fa76ece085e5577a1672b8e9910127 SHA512 afde47e5f6274a02c6ca138a6316bf0f7ec1c7585acaf4ab19ba849280dfee9ba937c3f8f5117e70f2a6377224f6dab9757958272f4facbafdc11d7965ee7a84 DIST symengine.py-0.8.1.tar.gz 108857 BLAKE2B ff721982af3448d63074e599d56d38eef3002b4e8073fc22740ae61b288b863ed856d849675cbb1286f1b9bdd2263aa1e531635a0b074a7de6909a604e6b57e9 SHA512 73af12f686dcb495aef06964c76e6f31ef242bbba2e3b2fd545594fbf1902487edd021cc25b0a8324a7ac014e90ee85f64e388e092d36e8796db4c1ed53e75c7 diff --git a/dev-python/symengine/files/symengine-0.7.2-metadata.patch b/dev-python/symengine/files/symengine-0.7.2-metadata.patch deleted file mode 100644 index 965751a41e7a..000000000000 --- a/dev-python/symengine/files/symengine-0.7.2-metadata.patch +++ /dev/null @@ -1,68 +0,0 @@ -From 01b2f6255e05a808b14a9541b7a762277e409edb Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> -Date: Sat, 29 May 2021 19:37:04 +0200 -Subject: [PATCH] Fix python_requires to unbreak installed package metadata - -The '>=3.6.*' entry in python_requires is invalid and results in broken -metadata being installed. This in turn causes distlib to break. -To reproduce: - - $ pip install distlib symengine - $ python -c "import distlib.database; \ - distlib.database.DistributionPath().get_distribution('symengine')" - Traceback (most recent call last): - File "/tmp/venv3/lib/python3.9/site-packages/distlib/metadata.py", line 677, in __init__ - self._data = json.loads(data) - File "/usr/lib/python3.9/json/__init__.py", line 346, in loads - return _default_decoder.decode(s) - File "/usr/lib/python3.9/json/decoder.py", line 337, in decode - obj, end = self.raw_decode(s, idx=_w(s, 0).end()) - File "/usr/lib/python3.9/json/decoder.py", line 355, in raw_decode - raise JSONDecodeError("Expecting value", s, err.value) from None - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) - - During handling of the above exception, another exception occurred: - - Traceback (most recent call last): - File "<string>", line 1, in <module> - File "/tmp/venv3/lib/python3.9/site-packages/distlib/database.py", line 240, in get_distribution - self._generate_cache() - File "/tmp/venv3/lib/python3.9/site-packages/distlib/database.py", line 167, in _generate_cache - for dist in self._yield_distributions(): - File "/tmp/venv3/lib/python3.9/site-packages/distlib/database.py", line 148, in _yield_distributions - metadata = Metadata(fileobj=stream, scheme='legacy') - File "/tmp/venv3/lib/python3.9/site-packages/distlib/metadata.py", line 686, in __init__ - self._legacy = LegacyMetadata(fileobj=StringIO(data), - File "/tmp/venv3/lib/python3.9/site-packages/distlib/metadata.py", line 261, in __init__ - self.read_file(fileobj) - File "/tmp/venv3/lib/python3.9/site-packages/distlib/metadata.py", line 359, in read_file - self.set(field, value) - File "/tmp/venv3/lib/python3.9/site-packages/distlib/metadata.py", line 459, in set - if not scheme.is_valid_constraint_list(value): - File "/tmp/venv3/lib/python3.9/site-packages/distlib/version.py", line 716, in is_valid_constraint_list - return self.is_valid_matcher('dummy_name (%s)' % s) - File "/tmp/venv3/lib/python3.9/site-packages/distlib/version.py", line 703, in is_valid_matcher - self.matcher(s) - File "/tmp/venv3/lib/python3.9/site-packages/distlib/version.py", line 115, in __init__ - raise ValueError('\'.*\' not allowed for ' - ValueError: '.*' not allowed for '>=' constraints ---- - setup.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/setup.py b/setup.py -index 8e64d93..7b2a2d7 100644 ---- a/setup.py -+++ b/setup.py -@@ -222,7 +222,7 @@ setup(name="symengine", - author_email="symengine@googlegroups.com", - license="MIT", - url="https://github.com/symengine/symengine.py", -- python_requires='>=3.6.*,<4', -+ python_requires='>=3.6,<4', - zip_safe=False, - cmdclass = cmdclass, - classifiers=[ --- -2.31.1 - diff --git a/dev-python/symengine/symengine-0.7.2-r2.ebuild b/dev-python/symengine/symengine-0.7.2-r2.ebuild deleted file mode 100644 index a2e613c813ee..000000000000 --- a/dev-python/symengine/symengine-0.7.2-r2.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 - -MY_P=${PN}.py-${PV} -DESCRIPTION="Python wrappers to the symengine C++ library" -HOMEPAGE="https://github.com/symengine/symengine.py/" -SRC_URI=" - https://github.com/symengine/symengine.py/archive/v${PV}.tar.gz - -> ${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~riscv x86 ~amd64-linux ~x86-linux" - -BDEPEND=" - dev-util/cmake - dev-python/cython[${PYTHON_USEDEP}] - test? ( - dev-python/sympy[${PYTHON_USEDEP}] - ) -" -# See bug #786582 for symengine constraint -RDEPEND=" - dev-python/numpy[${PYTHON_USEDEP}] - >=sci-libs/symengine-$(ver_cut 1-2) -" - -distutils_enable_tests pytest - -# the C library installs the same docs -DOCS=() - -PATCHES=( - "${FILESDIR}"/${P}-metadata.patch -) - -src_prepare() { - default - - # Don't install tests - > "${S}/symengine/tests/CMakeLists.txt" || die -} - -python_test() { - cd "${BUILD_DIR}" || die - epytest -} - -python_install() { - distutils-r1_python_install - python_optimize -} diff --git a/dev-python/symengine/symengine-0.8.1.ebuild b/dev-python/symengine/symengine-0.8.1.ebuild index 312ddc112159..edc2a92e5f6d 100644 --- a/dev-python/symengine/symengine-0.8.1.ebuild +++ b/dev-python/symengine/symengine-0.8.1.ebuild @@ -17,7 +17,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm ~arm64 ~riscv x86 ~amd64-linux ~x86-linux" BDEPEND=" dev-util/cmake diff --git a/dev-python/sympy/Manifest b/dev-python/sympy/Manifest index f549c6299d54..f45377a0b2be 100644 --- a/dev-python/sympy/Manifest +++ b/dev-python/sympy/Manifest @@ -1,2 +1 @@ -DIST sympy-1.8.tar.gz 7167842 BLAKE2B 878c6daf0584c9da54f82b9c68c62715792db428ab4ebfb355f0368c52edb254947d1ce1919e651279b767295ecb00a76b8cbbaa1fbe9c97915221c7403c3ded SHA512 61141e1d0a6105e725fb415edbdf981b3aa95debcfe73f9da5ca36afc7a70e91b5c28ed45454054c1b9a8d45e42bfe724e5b20da717746c301fd095da17f4db7 DIST sympy-1.9.tar.gz 7476018 BLAKE2B 5ab9920bf6d16eaed3af30100e7593551a4dce29dc76605ccf87d55e8a7c14514b5733c9456353403cfc96008fd5d046ce04f44bb7e69f844d545bdd3e55e7e0 SHA512 139712219ba6bf420ba89b3f8d086ab8883c5ab965e9308ba9ee665ac3ac69a9b16fa30c6f5dfbc77dd34873ff3ff95c0d058954d7f9d853f5e9537efc24dd3c diff --git a/dev-python/sympy/sympy-1.8.ebuild b/dev-python/sympy/sympy-1.8.ebuild deleted file mode 100644 index 8a24a6330b8e..000000000000 --- a/dev-python/sympy/sympy-1.8.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 virtualx - -DESCRIPTION="Computer Algebra System in pure Python" -HOMEPAGE="https://www.sympy.org/" -SRC_URI="https://github.com/sympy/sympy/archive/${P}.tar.gz" -S="${WORKDIR}/${PN}-${P}" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" -IUSE="aesara examples imaging ipython latex mathml opengl pdf png pyglet symengine test texmacs" - -RDEPEND=" - dev-python/mpmath[${PYTHON_USEDEP}] - dev-python/pexpect[${PYTHON_USEDEP}] - aesara? ( dev-python/aesara[${PYTHON_USEDEP}] ) - imaging? ( dev-python/pillow[${PYTHON_USEDEP}] ) - ipython? ( dev-python/ipython[${PYTHON_USEDEP}] ) - latex? ( - virtual/latex-base - dev-texlive/texlive-fontsextra - png? ( app-text/dvipng ) - pdf? ( app-text/ghostscript-gpl ) - ) - mathml? ( dev-libs/libxml2:2[${PYTHON_USEDEP}] ) - opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] ) - pyglet? ( dev-python/pyglet[${PYTHON_USEDEP}] ) - symengine? ( dev-python/symengine[${PYTHON_USEDEP}] ) - texmacs? ( app-office/texmacs ) -" - -distutils_enable_tests pytest - -python_test() { - virtx esetup.py test -} - -python_install_all() { - local DOCS=( AUTHORS README.md ) - - if use examples; then - dodoc -r examples - docompress -x /usr/share/doc/${PF}/examples - fi - - distutils-r1_python_install_all - - if use texmacs; then - exeinto /usr/libexec/TeXmacs/bin/ - doexe data/TeXmacs/bin/tm_sympy - insinto /usr/share/TeXmacs/plugins/sympy/ - doins -r data/TeXmacs/progs - fi -} diff --git a/dev-python/sympy/sympy-1.9.ebuild b/dev-python/sympy/sympy-1.9.ebuild index 59f4bb9d28e8..b67be3a1fca2 100644 --- a/dev-python/sympy/sympy-1.9.ebuild +++ b/dev-python/sympy/sympy-1.9.ebuild @@ -14,7 +14,7 @@ S="${WORKDIR}/${PN}-${P}" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +KEYWORDS="amd64 ~arm ~arm64 ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" IUSE="aesara examples imaging ipython latex mathml opengl pdf png pyglet symengine test texmacs" RDEPEND=" diff --git a/dev-python/tomli-w/tomli-w-1.0.0.ebuild b/dev-python/tomli-w/tomli-w-1.0.0.ebuild index 59d47f5917e3..228e289904d6 100644 --- a/dev-python/tomli-w/tomli-w-1.0.0.ebuild +++ b/dev-python/tomli-w/tomli-w-1.0.0.ebuild @@ -18,7 +18,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~sparc x86" +KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv sparc x86" BDEPEND=" test? ( dev-python/tomli[${PYTHON_USEDEP}] )" diff --git a/dev-python/wcag-contrast-ratio/Manifest b/dev-python/wcag-contrast-ratio/Manifest new file mode 100644 index 000000000000..64dc19f7685d --- /dev/null +++ b/dev-python/wcag-contrast-ratio/Manifest @@ -0,0 +1 @@ +DIST wcag-contrast-ratio-0.9.gh.tar.gz 3347 BLAKE2B c32765e7011faf9128bd4c53673c4663b972e225e0f7249dd1b9f07b4184ae9ca93116f31de6a0538f04612a72ee1e805b37e1070ae62347508f29df2bbf9ec4 SHA512 70ff827b092cec884ba7e969deb8b5de944844b8d5536669f2c607061fbf569c217cec93268215deb9fdebc041efd992ed0cc89e0da013f9a1be8eeeb420cec5 diff --git a/dev-python/wcag-contrast-ratio/metadata.xml b/dev-python/wcag-contrast-ratio/metadata.xml new file mode 100644 index 000000000000..e150b27c72fd --- /dev/null +++ b/dev-python/wcag-contrast-ratio/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">wcag-contrast-ratio</remote-id> + </upstream> + <origin>gentoo-staging</origin> + <stabilize-allarches/> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/wcag-contrast-ratio/wcag-contrast-ratio-0.9.ebuild b/dev-python/wcag-contrast-ratio/wcag-contrast-ratio-0.9.ebuild new file mode 100644 index 000000000000..27d9cbdfd834 --- /dev/null +++ b/dev-python/wcag-contrast-ratio/wcag-contrast-ratio-0.9.ebuild @@ -0,0 +1,30 @@ +# 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} pypy3 ) +inherit distutils-r1 + +DESCRIPTION="A library for computing contrast ratios, as required by WCAG 2.0" +HOMEPAGE=" + https://github.com/gsnedders/wcag-contrast-ratio/ + https://pypi.org/project/wcag-contrast-ratio/" +SRC_URI=" + https://github.com/gsnedders/wcag-contrast-ratio/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +BDEPEND=" + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + )" + +distutils_enable_tests pytest + +python_test() { + epytest test.py +} |
