diff options
Diffstat (limited to 'dev-python')
49 files changed, 212 insertions, 683 deletions
diff --git a/dev-python/aesara/Manifest b/dev-python/aesara/Manifest index 8d635d9c5c0d..6dc788898fba 100644 --- a/dev-python/aesara/Manifest +++ b/dev-python/aesara/Manifest @@ -1,7 +1,2 @@ -DIST aesara-rel-2.3.3.tar.gz 8179684 BLAKE2B ef738190e4169d43bb2323ee9425a1fc6d96a808d439940ead30b487b99fddaff073e3e05a720bcdb1eaed6fa903179be5df975747ac92e2b81256dbca886bea SHA512 f725cd84a598ea94f9cb22de768d004e96a0236fc4b93a9882a57494ce006fa657b1668b52b60d465816bb78c106a8d08a2a30eef2f5f9a55c437e28c94ee458 -DIST aesara-rel-2.3.4.tar.gz 8179596 BLAKE2B 972e05a64da709e171be63d7c077f8b7b00fa3fefb5c0908db0770d6f41afb0960c3659c81a51db37c6ce77ccfef9153de1a47dcf44aa65e9a641c53a74de81e SHA512 1e926a2f9100bf44cf02a6b4ff9563835da64ae62afa0cd43046cfd5b5bbba7f9270ef755a5e9a2a9397626a0e8f9e654df075ec5b5e0629d60c52bfc1d61119 -DIST aesara-rel-2.3.5.tar.gz 8186163 BLAKE2B 04d3c020d7eb68a5d88ba98156fcc5899e019ba747864a4b679074298fddccd6a6fc531c32304f0b5c7a4cc947a864e588a54399e85d30e97972fe8fd9cd9c97 SHA512 97bebb811ef79959106581a5b4021be5d63bb3aaecdf8b8d045de0a8587e795f4d564f19f50c62d65e42bad6c07b0aa81bd0b295f2fbd23fcd58e7347f811439 -DIST aesara-rel-2.3.6.tar.gz 8188713 BLAKE2B a8c9309fdd11e265f73651f1b5e6abac099b12a9cd266200c895f6b235d40eb6a9fa1eb19b9fd8db1c7b0577d1aab8ad4e75093782dd0f6bb9b3b068d4215329 SHA512 ebd55a6738730219d8609d34f2671a381a384c1457860c1bf8f989273456feabe08fa8d5630014c19f40f65b3b220919410649cfba4bea8f3379d939e22474b9 -DIST aesara-rel-2.3.7.tar.gz 8192378 BLAKE2B 586a8dc0f676ed8ec15f884eacd383be8cf5b2ec42d932ad41c5759c2fff922bcfa0ea8a1d8ca1b10c35232877318d0c344ecfe15239f8ba57fed660323a8db5 SHA512 fb01552538845035481a7c00ad71537401da3be7f24e4fd1dc2677a47eda846240f55ff78ce7955b89a8e80c92541335d6d44944c4463b56a25747f373651e9a DIST aesara-rel-2.3.8.tar.gz 8188314 BLAKE2B 9a2e43082a19e432aaab3300fc0c6a0cc96644b00c4646ae7a509cb00cc93e8125cd73e8ed4b341197b7225c66aa33b6156ba034946610aefe178fb0aecc5ce2 SHA512 9ba0ef46e4d51f8a04edcf347e539978e357d839147307127e0c01cbc25f013a00c5d720153c58142194dd38f91c34afbc366029a163f90ab036efbea7f939af DIST aesara-rel-2.4.0.tar.gz 8189236 BLAKE2B 05fd50ddd64ec063b3ea226706d232648e0fc314b754342db9537f1d55abd71a65afee3b3934b41e182fe12c224c8e10e8235ac58ba91c4c9f28d3ad8df1b7ac SHA512 b58e881145e051f97d5065fd46716209e280de46bd49ce6d1294880137aefc550741c6f96a47c8e2dbb54717d7c9f161a92f2cb5d3535687fbb6115641cc714c diff --git a/dev-python/aesara/aesara-2.3.3.ebuild b/dev-python/aesara/aesara-2.3.3.ebuild deleted file mode 100644 index 4a87a48cd4cd..000000000000 --- a/dev-python/aesara/aesara-2.3.3.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.4.ebuild b/dev-python/aesara/aesara-2.3.4.ebuild deleted file mode 100644 index 951b79abc0d6..000000000000 --- a/dev-python/aesara/aesara-2.3.4.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 2021-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -inherit distutils-r1 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.5.ebuild b/dev-python/aesara/aesara-2.3.5.ebuild deleted file mode 100644 index f56e849f85c5..000000000000 --- a/dev-python/aesara/aesara-2.3.5.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 2021-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{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_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 - ) - - epytest -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" -} - -python_compile() { - distutils-r1_python_compile - rm "${BUILD_DIR}/install$(python_get_sitedir)/bin/__init__.py" || die -} - -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.6.ebuild b/dev-python/aesara/aesara-2.3.6.ebuild deleted file mode 100644 index f56e849f85c5..000000000000 --- a/dev-python/aesara/aesara-2.3.6.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 2021-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{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_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 - ) - - epytest -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" -} - -python_compile() { - distutils-r1_python_compile - rm "${BUILD_DIR}/install$(python_get_sitedir)/bin/__init__.py" || die -} - -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.7.ebuild b/dev-python/aesara/aesara-2.3.7.ebuild deleted file mode 100644 index 43e64a0bee8c..000000000000 --- a/dev-python/aesara/aesara-2.3.7.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 2021-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{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_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 - tests/link/test_numba_performance.py - ) - - epytest -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" -} - -python_compile() { - distutils-r1_python_compile - rm "${BUILD_DIR}/install$(python_get_sitedir)/bin/__init__.py" || die -} - -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.8.ebuild b/dev-python/aesara/aesara-2.3.8.ebuild index 43e64a0bee8c..4fcda67d54ca 100644 --- a/dev-python/aesara/aesara-2.3.8.ebuild +++ b/dev-python/aesara/aesara-2.3.8.ebuild @@ -15,7 +15,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/cattrs/Manifest b/dev-python/cattrs/Manifest index 91dd136e7aff..b44f49d62b20 100644 --- a/dev-python/cattrs/Manifest +++ b/dev-python/cattrs/Manifest @@ -1,2 +1 @@ DIST cattrs-1.10.0.gh.tar.gz 100657 BLAKE2B b0475644bdd31e12dabf7b969e1890932309497e66b45a311e97d56062e99837af11677c24e33c6d1bed6ec2c6373eab6535874115960ed450f52804a6e5d73e SHA512 51cda84d30627f9d0eb6842c45f7c91dd2f3d9a21b1a635ad21d0648d409b576f52e6127392d60bdd1b6a803f8f897f970706b9cc64b703c06387bc85cd3740e -DIST cattrs-1.9.0.gh.tar.gz 102241 BLAKE2B 89cc71de97e1e63d3cfe3a4169c20e44d9fb8b85c6f939a0503d569dbf521d97ac325ead7c8bd58d4d32b6c6097a70effdf58553e334300639d6ef6c26b40bc7 SHA512 e1e4e59f802baf63cf931b3798bf39e4f18d5ab12a9aea000c2b649d34905d29ccb94f9ccdc5b2c52e48114fb9b292e59ab86da4c747243cae8a9d9ba25e768c diff --git a/dev-python/cattrs/cattrs-1.10.0.ebuild b/dev-python/cattrs/cattrs-1.10.0.ebuild deleted file mode 100644 index 2bcde0acff19..000000000000 --- a/dev-python/cattrs/cattrs-1.10.0.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_SETUPTOOLS=pyproject.toml -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -inherit distutils-r1 - -DESCRIPTION="Composable complex class support for attrs and dataclasses" -HOMEPAGE=" - https://pypi.org/project/cattrs/ - https://github.com/python-attrs/cattrs/" -SRC_URI=" - https://github.com/python-attrs/cattrs/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - >=dev-python/attrs-20.1.0[${PYTHON_USEDEP}]" -BDEPEND=" - test? ( - dev-python/hypothesis[${PYTHON_USEDEP}] - dev-python/immutables[${PYTHON_USEDEP}] - )" -# test_preconf: -# dev-python/bson[${PYTHON_USEDEP}] -# dev-python/msgpack[${PYTHON_USEDEP}] -# dev-python/orjson[${PYTHON_USEDEP}] -# dev-python/pyyaml[${PYTHON_USEDEP}] -# dev-python/tomlkit[${PYTHON_USEDEP}] -# dev-python/ujson[${PYTHON_USEDEP}] - -distutils_enable_tests pytest - -src_prepare() { - sed -e 's:--benchmark.*::' -e '/addopts/d' -i pyproject.toml || die - distutils-r1_src_prepare -} - -python_test() { - # unpackaged deps, see above - epytest tests --ignore tests/test_preconf.py -} diff --git a/dev-python/cattrs/cattrs-1.9.0.ebuild b/dev-python/cattrs/cattrs-1.9.0.ebuild deleted file mode 100644 index 718480ca18f8..000000000000 --- a/dev-python/cattrs/cattrs-1.9.0.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 2021-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_SETUPTOOLS=pyproject.toml -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -inherit distutils-r1 - -DESCRIPTION="Composable complex class support for attrs and dataclasses" -HOMEPAGE=" - https://pypi.org/project/cattrs/ - https://github.com/python-attrs/cattrs/" -SRC_URI=" - https://github.com/python-attrs/cattrs/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 x86" - -RDEPEND=" - >=dev-python/attrs-20.1.0[${PYTHON_USEDEP}]" -BDEPEND=" - test? ( - dev-python/hypothesis[${PYTHON_USEDEP}] - dev-python/immutables[${PYTHON_USEDEP}] - )" -# test_preconf: -# dev-python/bson[${PYTHON_USEDEP}] -# dev-python/msgpack[${PYTHON_USEDEP}] -# dev-python/orjson[${PYTHON_USEDEP}] -# dev-python/pyyaml[${PYTHON_USEDEP}] -# dev-python/tomlkit[${PYTHON_USEDEP}] -# dev-python/ujson[${PYTHON_USEDEP}] - -distutils_enable_tests pytest - -src_prepare() { - sed -i -e 's:--benchmark.*::' setup.cfg || die - distutils-r1_src_prepare -} - -python_test() { - # unpackaged deps, see above - epytest tests --ignore tests/test_preconf.py -} diff --git a/dev-python/httpcore/httpcore-0.14.7.ebuild b/dev-python/httpcore/httpcore-0.14.7.ebuild index fac18ff32027..8ffe29cfdb4a 100644 --- a/dev-python/httpcore/httpcore-0.14.7.ebuild +++ b/dev-python/httpcore/httpcore-0.14.7.ebuild @@ -15,7 +15,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc x86" +KEYWORDS="amd64 ~arm ~arm64 hppa ~ppc ~ppc64 ~riscv ~sparc x86" RDEPEND=" =dev-python/anyio-3*[${PYTHON_USEDEP}] diff --git a/dev-python/humanize/Manifest b/dev-python/humanize/Manifest index be9a0c66f456..2ec8b83da42e 100644 --- a/dev-python/humanize/Manifest +++ b/dev-python/humanize/Manifest @@ -1,2 +1,3 @@ DIST humanize-3.13.1.tar.gz 72109 BLAKE2B a17033c704fb1a12a82008bf07ed1f672c6d9b8a2a1ee16e34a49b2e9ce697099951f8bad638692b183d424a20836dff42f7fb8fffd1112a8ba9c4f42365db23 SHA512 f2d510347f05f953bb6f67811a7fd062f721c76892388d43ea0f19f826e75853c6f7b6cddcd986c06414dc8a3c8b3c88bee16a61fa23baa24d951ba275114de2 DIST humanize-3.14.0.tar.gz 72030 BLAKE2B a1ba7a664c33551d9d776904b0646aad9077a53fd5a546060a9deb23e9817f1306acaddb6b133be71fdbe2a20dd3c25cef2f41448c0bc0137c657da61aad4b93 SHA512 6c3d4fba1af287023d86cc2b9bcc4b7a2fc1855271fa772b316bfab3bec2f8e0b7a91d8672e156986ccf9044dc937c3fa2e73e4537ebe919eb0869ce59c3ce73 +DIST humanize-4.0.0.tar.gz 71028 BLAKE2B ef11ae45950a4dc7f55bbd380351aa6f6aaccb7410336f3c9187755d619131741cb2932917e9316c86e33f47e0640311cce278ce23046160aa0ffb4c1bdad1bc SHA512 71c528101b62c883de6474d3c31e97f7f54099c3389f7a88a328ef24b40f7a5667db879badd6154d76ce9bb1390a45404e177c50c7c26064c63b654936ba0514 diff --git a/dev-python/humanize/humanize-4.0.0.ebuild b/dev-python/humanize/humanize-4.0.0.ebuild new file mode 100644 index 000000000000..85ebad3f04d5 --- /dev/null +++ b/dev-python/humanize/humanize-4.0.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Common humanization utilities" +HOMEPAGE="https://github.com/jmoiron/humanize/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( dev-python/freezegun[${PYTHON_USEDEP}] ) +" + +distutils_enable_tests pytest diff --git a/dev-python/jupyter_packaging/jupyter_packaging-0.11.1.ebuild b/dev-python/jupyter_packaging/jupyter_packaging-0.11.1.ebuild index 0953cf7a1d5c..fd452393c0cf 100644 --- a/dev-python/jupyter_packaging/jupyter_packaging-0.11.1.ebuild +++ b/dev-python/jupyter_packaging/jupyter_packaging-0.11.1.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" RDEPEND=" dev-python/packaging[${PYTHON_USEDEP}] diff --git a/dev-python/libversion/Manifest b/dev-python/libversion/Manifest index 329bc09c3643..ede9fcda2fe4 100644 --- a/dev-python/libversion/Manifest +++ b/dev-python/libversion/Manifest @@ -1,2 +1 @@ -DIST libversion-1.2.3.tar.gz 7777 BLAKE2B 450851b7438ab673bab82845ce829f00fe28a787021138392dd60f649a227a9c827cd842d17e644037709e696dc0b9edd32b701264f7231e4d3f7fd21f09476d SHA512 921f736866af54b06188843b3619ee1778d4fd48d5d83e3059d36c55372cbe2febdf63c8258710a8c567ffd7b5adb241123641193a6d6f7156be6c67ab829970 DIST libversion-1.2.4.tar.gz 8389 BLAKE2B 998b1a1d1e1666a239f21a9bf84c0ec89b80fa7cb4ae0e7fb773131e561d4598f01e232451201ae06e8aeb0efad89c2ce6661e3f7f14212d564924818ca90d7f SHA512 ab78e65182c6475a174eb31836dcc83c915cb584ebb8dc82a6690d3ee44d77bedae28809648b5c38df640f7fe815a2aadc7954c193e9e0712dc35cbc1d7cd8b2 diff --git a/dev-python/libversion/libversion-1.2.3.ebuild b/dev-python/libversion/libversion-1.2.3.ebuild deleted file mode 100644 index bdd52ca8e4fc..000000000000 --- a/dev-python/libversion/libversion-1.2.3.ebuild +++ /dev/null @@ -1,18 +0,0 @@ -# Copyright 2021 Liguros 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 - -DESCRIPTION="Python bindings for libversion" -HOMEPAGE="https://github.com/repology/py-libversion https://pypi.org/project/libversion/" -#SRC_URI="https://files.pythonhosted.org/packages/72/51/4bf0274f1a0646da112ac197a33ffd10f400349eb1dad570c79245c5b05b/${P}.tar.gz" -SRC_URI="https://github.com/repology/py-${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/py-${P}" -SLOT="0" -LICENSE="MIT" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~amd64-fbsd" - -DEPEND="dev-libs/libversion" diff --git a/dev-python/libversion/libversion-1.2.4.ebuild b/dev-python/libversion/libversion-1.2.4-r1.ebuild index 036198644323..dba2f9600f30 100644 --- a/dev-python/libversion/libversion-1.2.4.ebuild +++ b/dev-python/libversion/libversion-1.2.4-r1.ebuild @@ -1,18 +1,36 @@ -# Copyright 2021 Liguros Authors +# Copyright 2021-2022 Liguros 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=bdepend inherit distutils-r1 +distutils_enable_tests unittest + DESCRIPTION="Python bindings for libversion" HOMEPAGE="https://github.com/repology/py-libversion https://pypi.org/project/libversion/" -#SRC_URI="https://files.pythonhosted.org/packages/72/51/4bf0274f1a0646da112ac197a33ffd10f400349eb1dad570c79245c5b05b/${P}.tar.gz" SRC_URI="https://github.com/repology/py-${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" S="${WORKDIR}/py-${P}" SLOT="0" LICENSE="MIT" KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~amd64-fbsd" -DEPEND="dev-libs/libversion" +DEPEND=" + >=dev-libs/libversion-2.7.0 +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + virtual/pkgconfig +" + +python_compile(){ + PKG_CONFIG_PATH="${EPREFIX}/usr/lib/pkgconfig" distutils-r1_python_compile +} + +python_install(){ + PKG_CONFIG_PATH="${EPREFIX}/usr/lib/pkgconfig" distutils-r1_python_install +} diff --git a/dev-python/mpi4py/mpi4py-3.1.3.ebuild b/dev-python/mpi4py/mpi4py-3.1.3.ebuild index 45201fd95208..a7268ce9c38c 100644 --- a/dev-python/mpi4py/mpi4py-3.1.3.ebuild +++ b/dev-python/mpi4py/mpi4py-3.1.3.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~riscv ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm ~riscv ~x86 ~amd64-linux ~x86-linux" IUSE="doc examples test" RESTRICT="!test? ( test )" diff --git a/dev-python/mypy/mypy-0.931.ebuild b/dev-python/mypy/mypy-0.931.ebuild index 3fc720bdbafe..8b9df931d277 100644 --- a/dev-python/mypy/mypy-0.931.ebuild +++ b/dev-python/mypy/mypy-0.931.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/python/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86" # stubgen collides with this package: https://bugs.gentoo.org/585594 RDEPEND=" diff --git a/dev-python/notebook/notebook-6.4.8.ebuild b/dev-python/notebook/notebook-6.4.8.ebuild index 2fba688a8ad8..28d3a99cf4e2 100644 --- a/dev-python/notebook/notebook-6.4.8.ebuild +++ b/dev-python/notebook/notebook-6.4.8.ebuild @@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" RDEPEND=" >=dev-libs/mathjax-2.4 diff --git a/dev-python/nptyping/nptyping-1.4.4.ebuild b/dev-python/nptyping/nptyping-1.4.4.ebuild index 658b3a16b1ca..eea02fbdc20a 100644 --- a/dev-python/nptyping/nptyping-1.4.4.ebuild +++ b/dev-python/nptyping/nptyping-1.4.4.ebuild @@ -17,7 +17,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 sparc x86" RDEPEND=" dev-python/numpy[${PYTHON_USEDEP}] diff --git a/dev-python/nuitka/Manifest b/dev-python/nuitka/Manifest index 0c41eadbee63..e8c0efcdb677 100644 --- a/dev-python/nuitka/Manifest +++ b/dev-python/nuitka/Manifest @@ -1,3 +1,4 @@ DIST Nuitka-0.6.19.4.tar.gz 3728051 BLAKE2B 561dd0657b0f5f7c10da18d4b78be09337c998951542c767e2888648a76e1332d71b83952cff3aa6fb64ceb5c6f1103f26fa9d9b0661c7b8cdf76c20d75cf51f SHA512 3b7a5a5d5191b93ee96e9cb98822a26462c6a4c5fdbc7abaf9553238653e2debc986a1b307c62ffcaccc8618adadb5c794d436f75c957c733d8471612820c7be DIST Nuitka-0.6.19.5.tar.gz 3728119 BLAKE2B 8300356499e53185cd2b6a547b8deef818bfd2c775e8ee2517bc79d741f81af1a7745b2eac018d0df3b329b7d4719dbac71159d6efd6ef35ccff4c63daf8e4cc SHA512 bc6b7d41af7bfdeb236143640ab1dc6ea0b811f85eaf10c8d232907d53c9643be25b4c0cdc3946204d6501c7009f8e79f36b5b6318d36a6e77052d9e2c1ec986 DIST Nuitka-0.6.19.6.tar.gz 3726831 BLAKE2B d1b10f8a599898824cbc40a43dda6b88d89b8e4e8ae1d32b4458f6f5e9241e088fc2d4b6fb8e68e889abdbb2309f47cba100df78c5fe54a5b5333eb79a2143d7 SHA512 fc537b6c12c2a4f165c59f4fae39fea2894bc2f6221361dac39dc39a120a82b725e22810857c618305799b862b887e314c6dd340650e5c2029923e550143869e +DIST Nuitka-0.6.19.7.tar.gz 3728926 BLAKE2B 56d497b8ef556671f3442952a3af32b9401cd5ec52bc082ace472f644a90d42f16bd3831bd430c887c6bd0fb866bf14fc37ac6662a679856801a16723e4f7401 SHA512 f1921c7717247a139ac0b8f3be9ae4f3d40b928da86fcfc671843e0e0e96184489daf3e2ff8c84f3214e4797cb7d6121c05f5d8bc3fceb0ccd85d81675ade97e diff --git a/dev-python/nuitka/nuitka-0.6.19.7.ebuild b/dev-python/nuitka/nuitka-0.6.19.7.ebuild new file mode 100644 index 000000000000..d40fe11f9db3 --- /dev/null +++ b/dev-python/nuitka/nuitka-0.6.19.7.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{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 "${PN}/build/inline_copy/lib/scons-2.3.2/SCons" || die + eapply_user +} + +python_install() { + distutils-r1_python_install + 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/numpy/numpy-1.22.2.ebuild b/dev-python/numpy/numpy-1.22.2.ebuild index a54da49fd824..2f03071a3036 100644 --- a/dev-python/numpy/numpy-1.22.2.ebuild +++ b/dev-python/numpy/numpy-1.22.2.ebuild @@ -24,7 +24,7 @@ SRC_URI=" )" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~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 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="doc lapack" RDEPEND=" diff --git a/dev-python/prettytable/Manifest b/dev-python/prettytable/Manifest index 38327f8c32b8..e0241d681f74 100644 --- a/dev-python/prettytable/Manifest +++ b/dev-python/prettytable/Manifest @@ -1 +1,2 @@ DIST prettytable-3.0.0.tar.gz 50012 BLAKE2B 9a1c57abf46fd00fa74022ad9a8bd19c5f501610ac4dcd806511f5cd9e0ab17cbf24ce90b8f1c3f98db5601e1df75cf57c7709c84e0c3b703ebe2d69f57294d3 SHA512 f7b03ee1c1371187708b1cd7724f1afead1249a796928d2abdce42fa834ee128e930f20aef1df579426c65f1fb574b1a831e521ade6e9e65977d5dd88bafc5af +DIST prettytable-3.1.0.tar.gz 52695 BLAKE2B 0a1f60ebc27f495f54a645a0e4a363d4bd052933c9e8b66a9ba209f1357e3d50e817cf6384ec99038d13dce03f60b86ececab0e7a76319be9f67869892e56ec0 SHA512 0f1fe86412cc553ef74d264044fd1830c1d5de6914a5a3d7ba3c7e9c92ed5e7b00dcaed1654f819b6a5233b24dfc331453a4ebb86a3e11779ea9932059519a56 diff --git a/dev-python/prettytable/prettytable-3.1.0.ebuild b/dev-python/prettytable/prettytable-3.1.0.ebuild new file mode 100644 index 000000000000..79e2346d9e56 --- /dev/null +++ b/dev-python/prettytable/prettytable-3.1.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{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" + +RDEPEND=" + dev-python/wcwidth[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + $(python_gen_impl_dep sqlite) + dev-python/pytest-lazy-fixture[${PYTHON_USEDEP}] + )" + +distutils_enable_tests pytest diff --git a/dev-python/protobuf-python/protobuf-python-3.19.1.ebuild b/dev-python/protobuf-python/protobuf-python-3.19.1.ebuild index b813d071ae29..aef26b454cd4 100644 --- a/dev-python/protobuf-python/protobuf-python-3.19.1.ebuild +++ b/dev-python/protobuf-python/protobuf-python-3.19.1.ebuild @@ -23,7 +23,7 @@ HOMEPAGE="https://developers.google.com/protocol-buffers/ https://github.com/pro LICENSE="BSD" SLOT="0/30" -KEYWORDS="~alpha amd64 arm ~arm64 -hppa ~ia64 ~mips ppc ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" +KEYWORDS="~alpha amd64 arm ~arm64 -hppa ~ia64 ~mips ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos" BDEPEND="${PYTHON_DEPS} ~dev-libs/protobuf-${PV} diff --git a/dev-python/puremagic/Manifest b/dev-python/puremagic/Manifest index 2e3d2c4c5ae2..8bc3572c0e31 100644 --- a/dev-python/puremagic/Manifest +++ b/dev-python/puremagic/Manifest @@ -1 +1,2 @@ DIST puremagic-1.11.tar.gz 295026 BLAKE2B 4d210807d9f5eb0c2eb88b0c18aa5cdf56170b347de4f95b92c08492d5f038759b39c1aa2d6ed4bc91e96e036e6f4d0891449af8aee3beac65c4d692fa295ec0 SHA512 4d4c9a93cd56a02aefb7090c92b41048f33923bef14022158f39c39ac93326b7180b8cc97495ad5ed3eec7d9f1379a5508829ee779aaba9b8aa8f975e787b1f5 +DIST puremagic-1.12.tar.gz 296831 BLAKE2B cd9979fba1016b1c4cbdd9ef1402d11dbe2faf37767e3232cf400b798cce328d90d224765cc2bf39fd0988abdfe39d1527dd7aa6e31b4737d00c1578f1cc3101 SHA512 b50e22b7597f206e8d6dbc0e2c120af21a7246568f059c6145e45471eedf04c797a9f00864468d5e05c9536f49f7fc6c7b30a83e67bf248e10ebaf8300726fde diff --git a/dev-python/puremagic/puremagic-1.12.ebuild b/dev-python/puremagic/puremagic-1.12.ebuild new file mode 100644 index 000000000000..66f2136a77bb --- /dev/null +++ b/dev-python/puremagic/puremagic-1.12.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="Pure python implementation of magic file detection" +HOMEPAGE="https://github.com/cdgriffith/puremagic" +SRC_URI="https://github.com/cdgriffith/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DOCS=( CHANGELOG.md README.rst ) + +distutils_enable_tests pytest diff --git a/dev-python/pynacl/pynacl-1.5.0.ebuild b/dev-python/pynacl/pynacl-1.5.0.ebuild index fb29cd6979ff..1900a336eb4f 100644 --- a/dev-python/pynacl/pynacl-1.5.0.ebuild +++ b/dev-python/pynacl/pynacl-1.5.0.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/pyca/${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ppc ~ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" RDEPEND=" dev-python/six[${PYTHON_USEDEP}] diff --git a/dev-python/pystring/Manifest b/dev-python/pystring/Manifest deleted file mode 100644 index eb3773a17b36..000000000000 --- a/dev-python/pystring/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST pystring-1.1.3.tar.gz 18364 BLAKE2B caab1a3b1dc688ad6ecbb32e5e8139bb883a88b78ce8a021229924d57376e94b17d89277e2fccf4f7ec478c81ee9259c5e56848f4388c44b2eab9cfb841bcfb8 SHA512 a46bb2e96d6eb351a4a8097cde46ac2877d28e88f9e57e0ac36c42e8fc8543517c4be70306a01e2f88a891fc53c612494aeb37f47a200d94b8e1b050ed16eff6 diff --git a/dev-python/pystring/metadata.xml b/dev-python/pystring/metadata.xml deleted file mode 100644 index f5665a5be028..000000000000 --- a/dev-python/pystring/metadata.xml +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>parona@protonmail.com</email> - <name>Alfred Wingate</name> - </maintainer> - <maintainer type="project"> - <email>dev@liguros.net</email> - <name>Development</name> - </maintainer> - - <origin>ports</origin> -</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/pystring/pystring-1.1.3.ebuild b/dev-python/pystring/pystring-1.1.3.ebuild deleted file mode 100644 index d7d9e531ac6f..000000000000 --- a/dev-python/pystring/pystring-1.1.3.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 2021 Liguros Authors -# Distributed under the terms of the GNU General Public License v2 -EAPI=7 - -DESCRIPTION="C++ functions matching the interface and behavior of python string methods" -HOMEPAGE="https://github.com/imageworks/pystring" - -if [[ "${PV}" == "9999" ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/imageworks/pystring.git" -else - SRC_URI="https://github.com/imageworks/pystring/archive/v"${PV}".tar.gz -> "${P}".tar.gz" - KEYWORDS="~amd64" -fi - -LICENSE="all-rights-reserved" -SLOT="0" - -src_compile() { - emake LIBDIR="${S}" install - mkdir pystring || die - mv pystring.h pystring || die -} - -src_install() { - dolib.so libpystring.so{,.0{,.0.0}} - doheader -r pystring -} diff --git a/dev-python/pytest-regressions/Manifest b/dev-python/pytest-regressions/Manifest index cf92ef8cf28a..a198d56f55c1 100644 --- a/dev-python/pytest-regressions/Manifest +++ b/dev-python/pytest-regressions/Manifest @@ -1,3 +1 @@ -DIST pytest-regressions-2.2.0.tar.gz 98162 BLAKE2B d87b331a35a988e8da6a6c827b594eea6ac64adb17a5b4a054ff0e9526d8d0153d84e0f59ffc805f76a96c1b100961ae12d05849fe2dd35ff4c18f42e235b3b0 SHA512 a4c91590f6e3825eef97da4fb21c1b852b68b60d6dc61ca9e1581737c0cb02831b091ae215aa16a5c50d06d413dabf243de4e98ebd01ce2af7fd2ddbaedec3fb -DIST pytest-regressions-2.3.0.tar.gz 109181 BLAKE2B 1b47d437c46c134b76b724859b6ebdca6aabee9932a7d63b64f3ee1561a2d84dca9c09b5d7fe7847af97814570cfa85a1eb26ef6c0e6bc14f9ce5684cca0874d SHA512 6013f468c522711eade949d814917ffcd77ef2f3505926d9529a8cfea6c8ee33b5520fa48369160767efdd70e6c54230fc8c77a4c5105c783339a3d7fca93bf7 DIST pytest-regressions-2.3.1.tar.gz 109616 BLAKE2B cc1c4f5bb221f9b2e53cd235a135a91a301de955fa46a6ab62ebe900878d22ca7814745df72de9a664e16cfc044d99c9048d637dd4f0e3460af25ff2895b6ca8 SHA512 e6c95a085263c9f67223a342a7495e3e46b6c278ad35af726edf7cd0212e516431626d7655250e68f922417d2224568db15992e15f4f4105aada7180372adb64 diff --git a/dev-python/pytest-regressions/pytest-regressions-2.2.0.ebuild b/dev-python/pytest-regressions/pytest-regressions-2.2.0.ebuild deleted file mode 100644 index 6850b6b5726a..000000000000 --- a/dev-python/pytest-regressions/pytest-regressions-2.2.0.ebuild +++ /dev/null @@ -1,43 +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 - -DESCRIPTION="Easy to use fixtures to write regression tests" -HOMEPAGE="https://github.com/ESSS/pytest-regressions" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~m68k ppc ppc64 ~riscv ~s390 x86" - -RDEPEND=" - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/pytest-datadir[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] -" - -BDEPEND=" - test? ( - dev-python/matplotlib[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP}] - dev-python/tox[${PYTHON_USEDEP}] - )" - -distutils_enable_tests --install pytest -distutils_enable_sphinx doc dev-python/sphinx_rtd_theme - -python_prepare_all() { - # Does not work with the panda's version in ::gentoo - sed -i -e 's:test_non_numeric_data:_&:' \ - -e 's:test_non_pandas_dataframe:_&:' \ - tests/test_dataframe_regression.py || die - - distutils-r1_python_prepare_all -} diff --git a/dev-python/pytest-regressions/pytest-regressions-2.3.0.ebuild b/dev-python/pytest-regressions/pytest-regressions-2.3.0.ebuild deleted file mode 100644 index 38c977fdbb9e..000000000000 --- a/dev-python/pytest-regressions/pytest-regressions-2.3.0.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2022 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 - -DESCRIPTION="Easy to use fixtures to write regression tests" -HOMEPAGE="https://github.com/ESSS/pytest-regressions" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~x86" - -RDEPEND=" - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/pytest-datadir[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] -" - -BDEPEND=" - test? ( - dev-python/matplotlib[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP}] - dev-python/tox[${PYTHON_USEDEP}] - )" - -distutils_enable_tests --install pytest -distutils_enable_sphinx doc dev-python/sphinx_rtd_theme - -python_prepare_all() { - # Does not work with the panda's version in ::gentoo - sed -i -e 's:test_non_numeric_data:_&:' \ - -e 's:test_non_pandas_dataframe:_&:' \ - tests/test_dataframe_regression.py || die - - distutils-r1_python_prepare_all -} diff --git a/dev-python/pytest-subtests/Manifest b/dev-python/pytest-subtests/Manifest index b9caba38ac9b..c5f2c46ed776 100644 --- a/dev-python/pytest-subtests/Manifest +++ b/dev-python/pytest-subtests/Manifest @@ -1,2 +1,3 @@ DIST pytest-subtests-0.5.0.tar.gz 9793 BLAKE2B c671eb14189c0fd34180a636592b20c9e2b4225c5faf3b702103164e60bdbac4c9644e464f1e0c783da3da1263f7b841ea7a4149bcbf1de23325a8ef3ce5c030 SHA512 e3d7e90c3ab66950eb80d25049bc6f6f75b08b3da5ce0de5f3fc55d6a176a8d1fdcb19a19f7d9d137aeadcc82b214550474f76d5611bc5592ca649ddd8257a2a DIST pytest-subtests-0.6.0.gh.tar.gz 9698 BLAKE2B 7b8f8c78ca503d107466d1ff34830aa08c3c5ec9b0f9e962b0e61472bf4f7413eb7e71db5768d898d476eb186a5a14c6703f14a990eb57c8664153a4ac384678 SHA512 9b4fa2e1957388f0e61a13a3cce95976fb5fdea64def627c5a1bf75049a0272e82f19ed9aa117bac0d02c6fd8832f22e7cfe409694ea81920def49742142eb93 +DIST pytest-subtests-0.7.0.gh.tar.gz 9714 BLAKE2B 027badb226c6889ed2fb809eb0b3944ef227a804ea58562fe9337f37526a07a41b11cdfd356d8e9a29f9affc9d0702dead59045db9781504c92186ee613ccb1a SHA512 96531a42c06a20cdf3f3665993d3e80d198a60d536246f4dc46df20b56e47f3f6fdce9478351a8922e370435f974e63d565550213fbbeed8487eedc131f46404 diff --git a/dev-python/pytest-subtests/pytest-subtests-0.7.0.ebuild b/dev-python/pytest-subtests/pytest-subtests-0.7.0.ebuild new file mode 100644 index 000000000000..1816124c2cea --- /dev/null +++ b/dev-python/pytest-subtests/pytest-subtests-0.7.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="unittest subTest() support and subtests fixture" +HOMEPAGE=" + https://github.com/pytest-dev/pytest-subtests/ + https://pypi.org/project/pytest-subtests/" +SRC_URI=" + https://github.com/pytest-dev/pytest-subtests/archive/refs/tags/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=">=dev-python/pytest-7[${PYTHON_USEDEP}]" +# pytest-xdist is used to test compatibility +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-xdist[${PYTHON_USEDEP}] + )" + +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=xdist.plugin,xdist.looponfail,pytest_forked,pytest_subtests + epytest +} diff --git a/dev-python/pyvirtualdisplay/pyvirtualdisplay-3.0.ebuild b/dev-python/pyvirtualdisplay/pyvirtualdisplay-3.0.ebuild index 2192e586ebc6..3908e6f440c5 100644 --- a/dev-python/pyvirtualdisplay/pyvirtualdisplay-3.0.ebuild +++ b/dev-python/pyvirtualdisplay/pyvirtualdisplay-3.0.ebuild @@ -28,7 +28,7 @@ BDEPEND=" dev-python/easyprocess[${PYTHON_USEDEP}] dev-python/entrypoint2[${PYTHON_USEDEP}] dev-python/path-py[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP}] + dev-python/pillow[xcb,${PYTHON_USEDEP}] dev-python/psutil[${PYTHON_USEDEP}] dev-python/pyscreenshot[${PYTHON_USEDEP}] ~dev-python/vncdotool-0.13.0[${PYTHON_USEDEP}] diff --git a/dev-python/qtconsole/qtconsole-5.2.2.ebuild b/dev-python/qtconsole/qtconsole-5.2.2.ebuild index c32be7f4dc60..6f47716285aa 100644 --- a/dev-python/qtconsole/qtconsole-5.2.2.ebuild +++ b/dev-python/qtconsole/qtconsole-5.2.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 arm64 x86" RDEPEND=" >=dev-python/ipykernel-4.1[${PYTHON_USEDEP}] diff --git a/dev-python/reflink/reflink-0.2.1-r1.ebuild b/dev-python/reflink/reflink-0.2.1-r1.ebuild index c4e1038d6460..3bbfef76f4ca 100644 --- a/dev-python/reflink/reflink-0.2.1-r1.ebuild +++ b/dev-python/reflink/reflink-0.2.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2019-2021 Gentoo Authors +# Copyright 2019-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~ppc64" +KEYWORDS="~amd64 ~ppc64 ~x86" RDEPEND="virtual/python-cffi[${PYTHON_USEDEP}]" DEPEND="${RDEPEND}" diff --git a/dev-python/rq/rq-1.10.1-r1.ebuild b/dev-python/rq/rq-1.10.1-r1.ebuild index 471d1163129f..ef981c51b97e 100644 --- a/dev-python/rq/rq-1.10.1-r1.ebuild +++ b/dev-python/rq/rq-1.10.1-r1.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/rq/rq/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~sparc x86" RDEPEND=" >=dev-python/click-5.0[${PYTHON_USEDEP}] diff --git a/dev-python/rq/rq-1.10.1.ebuild b/dev-python/rq/rq-1.10.1.ebuild deleted file mode 100644 index 4c79c8890ac7..000000000000 --- a/dev-python/rq/rq-1.10.1.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -inherit distutils-r1 - -DESCRIPTION="simple, lightweight library for creating and processing background jobs" -HOMEPAGE="https://python-rq.org https://github.com/rq/rq" -SRC_URI="https://github.com/rq/rq/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~sparc x86" - -RDEPEND=" - >=dev-python/click-5.0[${PYTHON_USEDEP}] - >=dev-python/redis-py-3.5.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-db/redis - dev-python/mock[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - dev-python/sentry-sdk[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests --install pytest - -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 - " - - # Spawn Redis itself for testing purposes - # NOTE: On sam@'s machine, spawning Redis can hang in the sandbox. - # I'm not restricting tests yet because this doesn't happen for anyone else AFAICT. - elog "Spawning Redis" - elog "NOTE: Port ${redis_port} must be free" - /usr/sbin/redis-server - <<< "${redis_test_config}" || die - - # Run the actual tests - distutils-r1_src_test - - # Clean up afterwards - kill "$(<"${redis_pid}")" || die -} diff --git a/dev-python/scipy/scipy-1.8.0.ebuild b/dev-python/scipy/scipy-1.8.0.ebuild index 3ff346374073..e66af2a31990 100644 --- a/dev-python/scipy/scipy-1.8.0.ebuild +++ b/dev-python/scipy/scipy-1.8.0.ebuild @@ -125,7 +125,6 @@ python_prepare_all() { -e 's:test_pdist_jensenshannon_iris:_&:' \ -e 's:test_align_vectors_single_vector:_&:' \ scipy/signal/tests/test_spectral.py \ - scipy/sparse/linalg/isolve/tests/test_iterative.py \ scipy/spatial/tests/test_distance.py \ scipy/spatial/transform/tests/test_rotation.py || die fi diff --git a/dev-python/socksio/socksio-1.0.0.ebuild b/dev-python/socksio/socksio-1.0.0.ebuild index 50f9fe47257a..dd7784d837ae 100644 --- a/dev-python/socksio/socksio-1.0.0.ebuild +++ b/dev-python/socksio/socksio-1.0.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 ~hppa ~ppc ~ppc64 ~riscv ~sparc x86" +KEYWORDS="amd64 ~arm ~arm64 hppa ~ppc ~ppc64 ~riscv ~sparc x86" distutils_enable_tests pytest diff --git a/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-1.16.0.ebuild b/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-1.16.0.ebuild index 9ce3d9a87bb7..150a9d52957b 100644 --- a/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-1.16.0.ebuild +++ b/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-1.16.0.ebuild @@ -18,7 +18,7 @@ SRC_URI=" " LICENSE="MIT" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 sparc x86" SLOT="0" RDEPEND=">=dev-python/sphinx-4[${PYTHON_USEDEP}]" diff --git a/dev-python/tree-sitter/tree-sitter-0.20.0.ebuild b/dev-python/tree-sitter/tree-sitter-0.20.0.ebuild index a03bfdb0dba3..d46aa2325b31 100644 --- a/dev-python/tree-sitter/tree-sitter-0.20.0.ebuild +++ b/dev-python/tree-sitter/tree-sitter-0.20.0.ebuild @@ -25,7 +25,7 @@ S=${WORKDIR}/${MY_P} LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ppc ~ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND="dev-libs/tree-sitter:=" DEPEND=${RDEPEND} diff --git a/dev-python/trimesh/trimesh-3.10.0.ebuild b/dev-python/trimesh/trimesh-3.10.0.ebuild index bbb43a8590bd..9c3c135ad450 100644 --- a/dev-python/trimesh/trimesh-3.10.0.ebuild +++ b/dev-python/trimesh/trimesh-3.10.0.ebuild @@ -15,7 +15,7 @@ SRC_URI="https://github.com/mikedh/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}. LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64" +KEYWORDS="~amd64 ~arm64 ~x86" # Almost 70 tests require rtree, which is currently unpackaged RESTRICT="test" diff --git a/dev-python/typish/typish-1.9.3.ebuild b/dev-python/typish/typish-1.9.3.ebuild index bc3c099bb88a..5c8d08f4d9a2 100644 --- a/dev-python/typish/typish-1.9.3.ebuild +++ b/dev-python/typish/typish-1.9.3.ebuild @@ -16,7 +16,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 sparc x86" BDEPEND=" test? ( |
