diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-09-30 18:31:59 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-09-30 18:31:59 +0000 |
| commit | 293a959ad8d531550fff59b47c93e1648ac4f49f (patch) | |
| tree | f44c92c48fe8bcea820f40be8449f94037cf0305 /dev-python | |
| parent | db0b5bc27fe6db0fb5c625d6d1ba368339698a7b (diff) | |
| download | baldeagleos-repo-293a959ad8d531550fff59b47c93e1648ac4f49f.tar.gz baldeagleos-repo-293a959ad8d531550fff59b47c93e1648ac4f49f.tar.xz baldeagleos-repo-293a959ad8d531550fff59b47c93e1648ac4f49f.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
142 files changed, 1614 insertions, 4020 deletions
diff --git a/dev-python/aesara/Manifest b/dev-python/aesara/Manifest index 4d967877b2a9..14978b32a779 100644 --- a/dev-python/aesara/Manifest +++ b/dev-python/aesara/Manifest @@ -1,2 +1 @@ -DIST aesara-2.9.1.tar.gz 4423120 BLAKE2B 7a9b789cf455a85baa48be20112e42a5449c955a57327125356968cbc8a9657d083a7aaa47048d322be05a822250f6c5cb50ff838b957595814d19499166e555 SHA512 17aa8f901a3194f82e4e47c78f23c91bb07ccfed7664e807537cd9db8d92f892357b1a7219b58881c16308b13689d088eaadcf113e17389e3f1297fc1d5e9381 DIST aesara-2.9.2.tar.gz 4424417 BLAKE2B d5e40ecdba51d32ee160efe287d11ee96cf00fbea2882a5bfbba08099edf12e449f56eb3af636cb50b675d6aacc4270ee57c30d3c6848abd9a925285a91df7ae SHA512 91cf78fe4ee107895f91365adce6b4446c0a6908e36ebba407a9ad896af9dd38d035c0cd08515ca7789a052ad1c1f34930b46e8196768ebbcf27e8f37c1053a3 diff --git a/dev-python/aesara/aesara-2.9.1.ebuild b/dev-python/aesara/aesara-2.9.1.ebuild deleted file mode 100644 index 1a84f9a84493..000000000000 --- a/dev-python/aesara/aesara-2.9.1.ebuild +++ /dev/null @@ -1,105 +0,0 @@ -# Copyright 2021-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 multiprocessing optfeature pypi - -DESCRIPTION="Library for operating on mathematical expressions with multi-dimensional arrays" -HOMEPAGE=" - https://github.com/aesara-devs/aesara/ - https://pypi.org/project/aesara/ -" - -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.25[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - dev-python/typing-extensions[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/hatch-vcs[${PYTHON_USEDEP}] - test? ( - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) -" - -PATCHES=( - "${FILESDIR}"/aesara-2.6.5-compiledir-tid.patch - "${FILESDIR}"/aesara-2.8.10-fix-tuple.patch -) - -distutils_enable_tests pytest - -src_prepare() { - # do not claim "bin" package (sic!) - rm bin/__init__.py || die - distutils-r1_src_prepare -} - -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 - - # Deprecation warning causes unexpected additional output - tests/tensor/test_basic.py::TestLongTensor::test_fit_int64 - - # dunno - tests/tensor/test_elemwise.py::TestDimShuffle::test_memory_leak - tests/tensor/signal/test_pool.py::TestDownsampleFactorMax::test_DownsampleFactorMaxGradGrad_grad - - # TODO - tests/link/c/test_op.py::test_ExternalCOp_c_code_cache_version - tests/sparse/sandbox/test_sp.py::TestSP::test_multilayer_conv - tests/sparse/sandbox/test_sp.py::TestSP::test_maxpool - - # TODO: Package pytest-benchmark - tests/scan/test_basic.py::TestExamples::test_reordering - tests/scan/test_basic.py::TestExamples::test_scan_as_tensor_on_gradients - tests/scan/test_basic.py::TestExamples::test_multiple_outs_taps - tests/scan/test_rewriting.py::TestPushOutAddScan::test_pregreedy_optimizer - tests/scan/test_rewriting.py::TestSaveMem::test_savemem_opt - tests/scan/test_basic.py::test_cython_performance - ) - local EPYTEST_IGNORE=( - # we do not package jax or numba - tests/link/jax - tests/link/numba - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x AESARA_FLAGS="cxx=${CXX}" - AESARA_FLAGS+=",config.gcc__cxxflags=\"${CXXFLAGS}\"" - AESARA_FLAGS+=',compiledir_format="compiledir_%(thread_id)s"' - - epytest -p xdist.plugin -n "$(makeopts_jobs)" --dist=worksteal - # clean up the compiledir, as it can grow pretty large - rm -r "${HOME}"/.aesara || die -} - -pkg_postinst() { - optfeature "GPU code generation/execution on NVIDIA gpus" dev-util/nvidia-cuda-toolkit - optfeature "GPU/CPU code generation on CUDA and OpenCL devices" dev-libs/libgpuarray dev-python/pycuda -} diff --git a/dev-python/aesara/aesara-2.9.2.ebuild b/dev-python/aesara/aesara-2.9.2.ebuild index c3c58346c306..c184cde70c3d 100644 --- a/dev-python/aesara/aesara-2.9.2.ebuild +++ b/dev-python/aesara/aesara-2.9.2.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" 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/async-lru/Manifest b/dev-python/async-lru/Manifest index cab249d7fec0..be356de12eb5 100644 --- a/dev-python/async-lru/Manifest +++ b/dev-python/async-lru/Manifest @@ -1,2 +1 @@ -DIST async-lru-2.0.3.gh.tar.gz 12592 BLAKE2B 3b434ebcb5f4db754ca93dae3e597490b07ce6d84d573529343a540b77fc9116f329f641fb97639dce6903384e52433dc48aabb7927266e8bcc18ce9fbaa85ac SHA512 8a3685bccb09ae268a713b3796f1f945bc9f9beff14530eb997722c6a0546bb39860492eadc1a46fca6ed549352e20cd9983396127ee9edfbd50657b5e5dd58f DIST async-lru-2.0.4.gh.tar.gz 13084 BLAKE2B dc3316e63783f36a446fc0d3565e018340787822b4a2663b9759d8bf5222277526b9a1285a34c3d84ccd245f75c6a53d9a693cc13c2b101bcb4bc97fa31835bf SHA512 aed4a043bfb323c1fc01f93def11fe597141778bd8437bd90189e2b6da26b0bb412fa72fb0d12a40b771571f3cb5f06fed8302379aec2e8e0318eab179b64912 diff --git a/dev-python/async-lru/async-lru-2.0.3.ebuild b/dev-python/async-lru/async-lru-2.0.3.ebuild deleted file mode 100644 index fefab1d1c2dc..000000000000 --- a/dev-python/async-lru/async-lru-2.0.3.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 2021-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Simple lru_cache for asyncio" -HOMEPAGE=" - https://github.com/aio-libs/async-lru/ - https://pypi.org/project/async-lru/ -" -SRC_URI=" - https://github.com/aio-libs/async-lru/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - $(python_gen_cond_dep ' - >=dev-python/typing-extensions-4.0.0[${PYTHON_USEDEP}] - ' 3.10) -" -BDEPEND=" - test? ( - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - sed -e 's:--cache-clear::' \ - -e 's:--no-cov-on-fail --cov=async_lru --cov-report=term --cov-report=html::' \ - -i setup.cfg || die - - distutils-r1_src_prepare -} diff --git a/dev-python/chameleon/Manifest b/dev-python/chameleon/Manifest index 5d678f37f684..d621465896a3 100644 --- a/dev-python/chameleon/Manifest +++ b/dev-python/chameleon/Manifest @@ -1,3 +1,2 @@ -DIST Chameleon-4.0.1.tar.gz 173650 BLAKE2B f5457ad7749ec98a0d80fd54b5b867d47f74bbf672abc1b4ad0e8c1bed5eaac93ea135801565a1a3fc72a8b930e67fa23d81c32bf866516bf9a16d1ef3b76ad7 SHA512 1cad12e13e5b90150c0d801951398fb68c2c05b9c7264697629fb21b0bb16325bfbf23f911c320c1464e78d6d275a565f0555474ac6d8e36b706b0eb7248d731 DIST Chameleon-4.1.0.tar.gz 174877 BLAKE2B 00f0d6964f01ec375a18954a8f8f1f5f11da3a4af75b3d575a81d0458b25f98b1e8a399203147da90e60fad85d2a9df8da4123a86f0fda0e63a1c106a720bfc0 SHA512 7dc83ebf838ce9cc38093a08750145135e768352f74afd57f16e6f1c5dc5d24b482e56d40d088a204d72d8689aa978196fa2dd6e4cf89c872597286d85dc7594 DIST Chameleon-4.2.0.tar.gz 176515 BLAKE2B 6be07b88e962ca155d390e9f4d5070ca4116993568840c50fd94b0569721983084065bdc2dbebf4d573ff511f41456fc54d40442a505ea891be6eee947b9b690 SHA512 bedbf6bad35370ccb449151098d04e6f8fee917128bcd18a6694ae7df57c15e005c34696c50da43ede2b42d593a2772c55691978982d8a2d83380df29ff7406b diff --git a/dev-python/chameleon/chameleon-4.0.1.ebuild b/dev-python/chameleon/chameleon-4.0.1.ebuild deleted file mode 100644 index b21aa2854fde..000000000000 --- a/dev-python/chameleon/chameleon-4.0.1.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYPI_PN=${PN^} -PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Fast HTML/XML template compiler for Python" -HOMEPAGE=" - https://github.com/malthe/chameleon/ - https://pypi.org/project/Chameleon/ -" - -LICENSE="repoze" -SLOT="0" -KEYWORDS="amd64 x86" - -distutils_enable_tests unittest - -src_test() { - cd src || die - distutils-r1_src_test -} diff --git a/dev-python/chameleon/chameleon-4.1.0.ebuild b/dev-python/chameleon/chameleon-4.1.0.ebuild index 4c6c46c03f2c..b21aa2854fde 100644 --- a/dev-python/chameleon/chameleon-4.1.0.ebuild +++ b/dev-python/chameleon/chameleon-4.1.0.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="repoze" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" distutils_enable_tests unittest diff --git a/dev-python/charset-normalizer/Manifest b/dev-python/charset-normalizer/Manifest index a19ce3ed9c3e..0c484b26c2b9 100644 --- a/dev-python/charset-normalizer/Manifest +++ b/dev-python/charset-normalizer/Manifest @@ -1 +1,2 @@ DIST charset-normalizer-3.2.0.tar.gz 97063 BLAKE2B 2192401d74abab5f7ccd434c5493ae59b449df9a6ab90190a236b3f665e3a940e15d00803a2477a7c2996030fa1e5bf725fc15b6373040f29f27feab9df6e1e1 SHA512 0e3967b489561394ca848c1fe7dfaa72a330a3f645e9386c1d2d2dc8c2e35a34a8186e6f3377eda2aed503a3e7e626fe116d7b34c2f4a3fd8446a4c1a8fb74cc +DIST charset-normalizer-3.3.0.tar.gz 103776 BLAKE2B f793f8611abf724f08bc9dc1c16558847fdf13f887d511e57744577ca0237a043b2553a1a4bd6e7a37eeb38beb02f51716d88b6aec04f166858277b10f9b08a5 SHA512 c12bf31250ad03be6e4e78f056242bf4c61aaf33e73a3f9514ee6288b61aa94ca0d97bb2b237e89ab9139da54169bc6b1b51155903257272f954dfc3da65b25f diff --git a/dev-python/charset-normalizer/charset-normalizer-3.3.0.ebuild b/dev-python/charset-normalizer/charset-normalizer-3.3.0.ebuild new file mode 100644 index 000000000000..eea8433343cd --- /dev/null +++ b/dev-python/charset-normalizer/charset-normalizer-3.3.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 8 -- sys-apps/portage dep +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="The Real First Universal Charset Detector" +HOMEPAGE=" + https://pypi.org/project/charset-normalizer/ + https://github.com/Ousret/charset_normalizer/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -o addopts= +} diff --git a/dev-python/click-help-colors/click-help-colors-0.9.2.ebuild b/dev-python/click-help-colors/click-help-colors-0.9.2.ebuild index cf1f7a20e116..177af8f16ec9 100644 --- a/dev-python/click-help-colors/click-help-colors-0.9.2.ebuild +++ b/dev-python/click-help-colors/click-help-colors-0.9.2.ebuild @@ -19,7 +19,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~riscv" +KEYWORDS="amd64 ~riscv" IUSE="examples" RDEPEND=" diff --git a/dev-python/cython/cython-3.0.2-r1.ebuild b/dev-python/cython/cython-3.0.2-r1.ebuild index 30c0e817b523..b419798f1be4 100644 --- a/dev-python/cython/cython-3.0.2-r1.ebuild +++ b/dev-python/cython/cython-3.0.2-r1.ebuild @@ -26,7 +26,7 @@ S=${WORKDIR}/${MY_P} LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/dask/dask-2023.9.3.ebuild b/dev-python/dask/dask-2023.9.3.ebuild index e115a3b90562..b74c3ac733a8 100644 --- a/dev-python/dask/dask-2023.9.3.ebuild +++ b/dev-python/dask/dask-2023.9.3.ebuild @@ -6,7 +6,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{8,9,10,11} ) -inherit distutils-r1 +inherit distutils-r1 multiprocessing DESCRIPTION="Task scheduling and blocked algorithms for parallel processing" HOMEPAGE=" @@ -42,6 +42,7 @@ BDEPEND=" dev-python/moto[${PYTHON_USEDEP}] dev-python/numexpr[${PYTHON_USEDEP}] dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] dev-python/scipy[${PYTHON_USEDEP}] ) " @@ -81,5 +82,6 @@ python_test() { fi local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p pytest_rerunfailures -m "not network" + epytest -p pytest_rerunfailures -m "not network" \ + -p xdist -n "$(makeopts_jobs)" } diff --git a/dev-python/executing/Manifest b/dev-python/executing/Manifest index 2a0f954d4868..bfb122cb3092 100644 --- a/dev-python/executing/Manifest +++ b/dev-python/executing/Manifest @@ -1 +1,2 @@ DIST executing-1.2.0.gh.tar.gz 663650 BLAKE2B ba9420bfcf3805223e6b7e84d65499f3a73ef3156480586d2c5ffde4e438fcf8474f4f02c123953d04ee253de7a6a3a1b2587e57fcae546f3dae7af70a1aaa98 SHA512 c841958cc499b2d78c94570bf0556933d4a58ca5541f7a59e591be6036926ab79d5ae86bb95bbf649f3c3fb729109fe50cf04fbc72692e0cfe12edaa995ea0a6 +DIST executing-2.0.0.gh.tar.gz 837310 BLAKE2B d402a605ce80170e1789e7eec65e89da64fcbb70bbc7fcf9fb86dd6e4575312154fd969d3126ed7d88f7f9d0303304969544ad39c2161524e4157d7d1658a0bf SHA512 5c02ffafaa6993b783d013c1be0c92651af598bf872a10c3f6ea84c5e709cd1b22d9c37a778e5aaccfb05533b3c88395031c50ca722e1f780fc828256e8b201e diff --git a/dev-python/executing/executing-2.0.0.ebuild b/dev-python/executing/executing-2.0.0.ebuild new file mode 100644 index 000000000000..4953c6639913 --- /dev/null +++ b/dev-python/executing/executing-2.0.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11} ) + +inherit distutils-r1 optfeature + +DESCRIPTION="Get information about what a Python frame is currently doing" +HOMEPAGE=" + https://github.com/alexmojaki/executing/ + https://pypi.org/project/executing/ +" +SRC_URI=" + https://github.com/alexmojaki/executing/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" + +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + >=dev-python/asttokens-2.1.0[${PYTHON_USEDEP}] + dev-python/ipython[${PYTHON_USEDEP}] + dev-python/littleutils[${PYTHON_USEDEP}] + dev-python/rich[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} + +pkg_postinst() { + optfeature "getting node's source code" dev-python/asttokens +} diff --git a/dev-python/filelock/Manifest b/dev-python/filelock/Manifest index 99d02f485bd6..48f4527fe3f6 100644 --- a/dev-python/filelock/Manifest +++ b/dev-python/filelock/Manifest @@ -1,3 +1 @@ -DIST filelock-3.12.2.tar.gz 12441 BLAKE2B a54eb7841bd037caf537144829818ab25acf7b5a916c6fc2a296a937f36a36b7846cce3b35e751041ccc1dfc5c5c4be1b6031a261927c152657f968bb465915b SHA512 0753743338c4937f57176ef2291f44a919d949c7b3aa73e3210572d670949a60a9ad3efaaaeff198704e1308c169807655bb90d399c1158e4f5c9aae4adcd486 -DIST filelock-3.12.3.tar.gz 13746 BLAKE2B 59c66cbbd8e48b262abe3a95232ba873d4402429c79cf1eb985d08ee27f54ee4991a2e81e328378b800fecfbb359fa445979f97c953232f17fe8f4169b376eb7 SHA512 b759ea6dd943da0bfd8eb375dadc277fe83ebdca8b46989bb96fe5dea1ea5637a66729ce3f283b6858db81c9998655bd9efcc6bbe36a998f18bed5bdf9219c88 DIST filelock-3.12.4.tar.gz 13758 BLAKE2B b1898870928fcc40055274ef2cbe58b818f5aca30dc3864bd8b00c1f88b50050e1aac4380c5b0ba850b52aed4862a3c5ad2090f1d786df3cfe70d10116e4f1b2 SHA512 1ea0769afdbddc030f078a87a669b17425389526a6ba7f7577b350e0206efa6a54b284f1dbd7dfba0bda6e2450a181f5e4ab7cec2ca6ba09830bafad52128e86 diff --git a/dev-python/filelock/filelock-3.12.2.ebuild b/dev-python/filelock/filelock-3.12.2.ebuild deleted file mode 100644 index c4592e256be0..000000000000 --- a/dev-python/filelock/filelock-3.12.2.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 2018-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="A platform independent file lock for Python" -HOMEPAGE=" - https://github.com/tox-dev/py-filelock/ - https://pypi.org/project/filelock/ -" - -LICENSE="Unlicense" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" - -BDEPEND=" - dev-python/hatch-vcs[${PYTHON_USEDEP}] - test? ( - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/pytest-timeout[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest diff --git a/dev-python/filelock/filelock-3.12.3.ebuild b/dev-python/filelock/filelock-3.12.3.ebuild deleted file mode 100644 index 20319c3b411c..000000000000 --- a/dev-python/filelock/filelock-3.12.3.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 2018-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="A platform independent file lock for Python" -HOMEPAGE=" - https://github.com/tox-dev/filelock/ - https://pypi.org/project/filelock/ -" - -LICENSE="Unlicense" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" - -RDEPEND=" - $(python_gen_cond_dep ' - >=dev-python/typing-extensions-4.7.1[${PYTHON_USEDEP}] - ' 3.10) -" -BDEPEND=" - dev-python/hatch-vcs[${PYTHON_USEDEP}] - test? ( - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/pytest-timeout[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest diff --git a/dev-python/filelock/filelock-3.12.4.ebuild b/dev-python/filelock/filelock-3.12.4.ebuild index adbfe5f31651..381795880d54 100644 --- a/dev-python/filelock/filelock-3.12.4.ebuild +++ b/dev-python/filelock/filelock-3.12.4.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="Unlicense" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" BDEPEND=" dev-python/hatch-vcs[${PYTHON_USEDEP}] diff --git a/dev-python/flask/Manifest b/dev-python/flask/Manifest index 61c3955a27ec..03dde47b4e02 100644 --- a/dev-python/flask/Manifest +++ b/dev-python/flask/Manifest @@ -1,2 +1,3 @@ DIST Flask-2.3.2.tar.gz 686251 BLAKE2B d81553b100e88ab79218422d6d39bb8b186f436c3729985504d1f54536b5e0f783509dcfbf0791890e7c03928131ddd4b8894db51f27e4075c50248ebd7846a2 SHA512 7917c3658a1dec77decad2dbc067a1ae602a66007573f1ff26527c214dede2c455ca5e6490159922fac967ceea99bd880cf929d05e21ed49b08abf501d96e8f8 DIST flask-2.3.3.tar.gz 672756 BLAKE2B 70feb2f1ec8bc4742e8da978b7e1063c5f0bcbfda5321f397cba121283376b5b10a275635eac76383945415dbba3b2c4f917e1495851ee1dfd745db97caddec5 SHA512 801b2521c42de7a4cd16005ea6ea7737aaef6c88edacb38ab03e2d78bb4e080e35e540c23e157e2bcdb43e4818b4b7a856c50c6cf41bb17f0b7b2590c0c6aff2 +DIST flask-3.0.0.tar.gz 674171 BLAKE2B 5ae270b429d6ea344828bead0cab855b42f4c28821c843a7754f4741ef0320c190e386a08adb4c6a5018e6a2cc7be588d955ebd4edf31ae59ea9d511c9cd93cb SHA512 dab4f97909619e380e9d8f14cea346dbda8932f3e9d19ee45e3651faf51b94aa5ccaa658116c69abae680f5357235842c63f0c6ff2a191de70cc103f0e7624a4 diff --git a/dev-python/flask/flask-2.3.3.ebuild b/dev-python/flask/flask-2.3.3.ebuild index 0df04e42a242..4d5a0e1cdbec 100644 --- a/dev-python/flask/flask-2.3.3.ebuild +++ b/dev-python/flask/flask-2.3.3.ebuild @@ -19,7 +19,7 @@ if [[ ${PV} == *9999* ]]; then inherit git-r3 else inherit pypi - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" fi LICENSE="BSD" diff --git a/dev-python/flask/flask-3.0.0.ebuild b/dev-python/flask/flask-3.0.0.ebuild new file mode 100644 index 000000000000..128d112220ba --- /dev/null +++ b/dev-python/flask/flask-3.0.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="A microframework based on Werkzeug, Jinja2 and good intentions" +HOMEPAGE=" + https://palletsprojects.com/p/flask/ + https://github.com/pallets/flask/ + https://pypi.org/project/Flask/ +" +if [[ ${PV} == *9999* ]]; then + EGIT_REPO_URI="https://github.com/mitsuhiko/flask.git" + inherit git-r3 +else + inherit pypi + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +fi + +LICENSE="BSD" +SLOT="0" +IUSE="examples" + +RDEPEND=" + >=dev-python/blinker-1.6.2[${PYTHON_USEDEP}] + >=dev-python/click-8.1.3[${PYTHON_USEDEP}] + >=dev-python/itsdangerous-2.1.2[${PYTHON_USEDEP}] + >=dev-python/jinja-3.1.2[${PYTHON_USEDEP}] + >=dev-python/werkzeug-3.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/asgiref-3.2[${PYTHON_USEDEP}] + !!dev-python/shiboken2[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs \ + dev-python/pallets-sphinx-themes \ + dev-python/sphinx-issues \ + dev-python/sphinx-tabs \ + dev-python/sphinxcontrib-log-cabinet +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} + +python_install_all() { + use examples && dodoc -r examples + distutils-r1_python_install_all +} diff --git a/dev-python/gssapi/Manifest b/dev-python/gssapi/Manifest index 9bca8b556b54..c3e1194be67c 100644 --- a/dev-python/gssapi/Manifest +++ b/dev-python/gssapi/Manifest @@ -1,2 +1 @@ -DIST gssapi-1.8.2.gh.tar.gz 112521 BLAKE2B d7e14c73c346066a58ae3b3cf1faeec2ef7df3d4da3f2c9e3198928225d81d99466185a9dfa06a59ae50beeeed58d4e73f8a668e1ac605e5b9806ed7a0019831 SHA512 6587f1947dc396bf608ba71e77388e6f7d161753005b9b82ea9f3b174c898bb18409a27e9aa035fc782e15fcd2efe7ca5c497d4687d69023034cea59d6a003df DIST gssapi-1.8.3.gh.tar.gz 113958 BLAKE2B e830ae4ee0f22ef85c4ae193cb62ad3ebec222cd4ea9c9b9531b621b358bc71a9e46440ed673f888837a5d42746a6c9d4033fed1db5f1dc044e982cd5d63e3d8 SHA512 f08a318beac4b2807f33f5c30ccdafeafed0971537456a477138fe783f7fd9f05ab59cff74030c3041504302b0922307e5c391cd5d0e8b4f370f0036a5ef45b8 diff --git a/dev-python/gssapi/gssapi-1.8.2-r1.ebuild b/dev-python/gssapi/gssapi-1.8.2-r1.ebuild deleted file mode 100644 index 4a2cce81cfda..000000000000 --- a/dev-python/gssapi/gssapi-1.8.2-r1.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 - -DESCRIPTION="Low and high level wrappers around the GSSAPI C libraries" -HOMEPAGE=" - https://github.com/pythongssapi/python-gssapi/ - https://pypi.org/project/gssapi/ -" -SRC_URI=" - https://github.com/pythongssapi/python-gssapi/releases/download/v${PV}/python-${P}.tar.gz - -> ${P}.gh.tar.gz -" -S="${WORKDIR}"/python-${P} - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~riscv x86" - -RDEPEND=" - dev-python/decorator[${PYTHON_USEDEP}] - virtual/krb5 -" - -# cython-3 produces a broken extension still -# https://github.com/pythongssapi/python-gssapi/issues/327 -BDEPEND=" - <dev-python/cython-3[${PYTHON_USEDEP}] - virtual/krb5 - test? ( - dev-python/k5test[${PYTHON_USEDEP}] - dev-python/parameterized[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - cd "${T}" || die - epytest --pyargs gssapi -} diff --git a/dev-python/gssapi/gssapi-1.8.3-r1.ebuild b/dev-python/gssapi/gssapi-1.8.3-r1.ebuild index 8ce735f44f5a..ede97222db6f 100644 --- a/dev-python/gssapi/gssapi-1.8.3-r1.ebuild +++ b/dev-python/gssapi/gssapi-1.8.3-r1.ebuild @@ -22,7 +22,7 @@ S="${WORKDIR}"/python-${P} LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +KEYWORDS="amd64 ~arm arm64 ~riscv x86" RDEPEND=" dev-python/decorator[${PYTHON_USEDEP}] diff --git a/dev-python/gssapi/gssapi-1.8.3.ebuild b/dev-python/gssapi/gssapi-1.8.3.ebuild deleted file mode 100644 index acec68d86e2d..000000000000 --- a/dev-python/gssapi/gssapi-1.8.3.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 - -DESCRIPTION="Low and high level wrappers around the GSSAPI C libraries" -HOMEPAGE=" - https://github.com/pythongssapi/python-gssapi/ - https://pypi.org/project/gssapi/ -" -SRC_URI=" - https://github.com/pythongssapi/python-gssapi/releases/download/v${PV}/python-${P}.tar.gz - -> ${P}.gh.tar.gz -" -S="${WORKDIR}"/python-${P} - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" - -RDEPEND=" - dev-python/decorator[${PYTHON_USEDEP}] - virtual/krb5 -" - -# cython-3 produces a broken extension still -# https://github.com/pythongssapi/python-gssapi/issues/327 -BDEPEND=" - <dev-python/cython-3[${PYTHON_USEDEP}] - virtual/krb5 - test? ( - dev-python/k5test[${PYTHON_USEDEP}] - dev-python/parameterized[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - cd "${T}" || die - epytest --pyargs gssapi -} diff --git a/dev-python/ipython/ipython-8.14.0.ebuild b/dev-python/ipython/ipython-8.14.0.ebuild index 268d3faabadd..c3adf62e001b 100644 --- a/dev-python/ipython/ipython-8.14.0.ebuild +++ b/dev-python/ipython/ipython-8.14.0.ebuild @@ -34,7 +34,7 @@ RDEPEND=" <dev-python/prompt-toolkit-3.1[${PYTHON_USEDEP}] >=dev-python/pygments-2.4.0[${PYTHON_USEDEP}] dev-python/setuptools[${PYTHON_USEDEP}] - dev-python/stack_data[${PYTHON_USEDEP}] + dev-python/stack-data[${PYTHON_USEDEP}] >=dev-python/traitlets-5.0[${PYTHON_USEDEP}] " diff --git a/dev-python/ipython/ipython-8.15.0.ebuild b/dev-python/ipython/ipython-8.15.0.ebuild index d8c72c787806..624da5551b2b 100644 --- a/dev-python/ipython/ipython-8.15.0.ebuild +++ b/dev-python/ipython/ipython-8.15.0.ebuild @@ -34,7 +34,7 @@ RDEPEND=" <dev-python/prompt-toolkit-3.1[${PYTHON_USEDEP}] >=dev-python/pygments-2.4.0[${PYTHON_USEDEP}] dev-python/setuptools[${PYTHON_USEDEP}] - dev-python/stack_data[${PYTHON_USEDEP}] + dev-python/stack-data[${PYTHON_USEDEP}] >=dev-python/traitlets-5.0[${PYTHON_USEDEP}] $(python_gen_cond_dep ' dev-python/exceptiongroup[${PYTHON_USEDEP}] diff --git a/dev-python/ipython/ipython-8.16.0.ebuild b/dev-python/ipython/ipython-8.16.0.ebuild index d8c72c787806..624da5551b2b 100644 --- a/dev-python/ipython/ipython-8.16.0.ebuild +++ b/dev-python/ipython/ipython-8.16.0.ebuild @@ -34,7 +34,7 @@ RDEPEND=" <dev-python/prompt-toolkit-3.1[${PYTHON_USEDEP}] >=dev-python/pygments-2.4.0[${PYTHON_USEDEP}] dev-python/setuptools[${PYTHON_USEDEP}] - dev-python/stack_data[${PYTHON_USEDEP}] + dev-python/stack-data[${PYTHON_USEDEP}] >=dev-python/traitlets-5.0[${PYTHON_USEDEP}] $(python_gen_cond_dep ' dev-python/exceptiongroup[${PYTHON_USEDEP}] diff --git a/dev-python/jsonschema/Manifest b/dev-python/jsonschema/Manifest index c37fb059a403..b07eac69894b 100644 --- a/dev-python/jsonschema/Manifest +++ b/dev-python/jsonschema/Manifest @@ -1,8 +1,2 @@ DIST jsonschema-4.17.3.tar.gz 297785 BLAKE2B a0383bf5612ae50e94c95dbc1774d796b62c74a7aae3056a40edb7e042ad07fd7885e61d86220120a906a4017afe30d8ee8edbbf0cf01a6dec1f212984ff1c1e SHA512 626fc913c37d2e49e4b47c9e058aab4a96c1dc50c35d8def0b2ea0ca464dc25e3318d4fde4927c11ca38068743cd81779d5189464b821407ac1de1788bad30e2 -DIST jsonschema-4.18.0.tar.gz 315551 BLAKE2B 0f885362b6c1af6385be88770b1f332f38e270ea48c81d2ab6ab37503b007bf2d7a3419c9d435e919fea7c6f6d4b3d1c84a5fd4f196237507c9803473a879f4d SHA512 83eee5a752f14475b32405a916790f033eaeb4cc4b69625abb4915972e5832878a0aa2c51c5c782169bfef5537f3072bd41682e2752380435f7de1162e66f4c1 -DIST jsonschema-4.18.2.tar.gz 314916 BLAKE2B 4e63e56ea34b0f315e0ee6e506157c294030e181aa6f06d523d70b24060618f9cf7cfaf6d3c6ef4fc93950dd42b628f62a488c3636cbe636e463b8a31b661a3a SHA512 38e2fb03836b8021c5f3a4db4e8d98922d565ae8bb2843cbb9b93b8be26f003b356c635d6b00d9881fcd438ed5a5304536fcad4acbc69d1de51c838cc3cd217a -DIST jsonschema-4.18.3.tar.gz 315165 BLAKE2B 486e36cab882628a9f720c098f91f1bafbc34f6e91391f3b4d2c1895e38c6dc8b4c554e37acab23da743c29fe6fefe28243aa6e32da7322a4e2ed1b1f490fad6 SHA512 ae8c18a102b778fe99030082ec0343af0d1c5bead923c431d3242687bf8406bff0d1c7ee6c8dfce56b41bddbfdd47af67129d229903bde051920c900229a4c58 -DIST jsonschema-4.18.4.tar.gz 315212 BLAKE2B f931a5469653cb9ecba50b8e79ddf70b1f2b730db6bce3a91a374ae177dfb812f4492fd53a16f2a563787682c2c34618cac16adbc891d59089eb03fcdb8a46a4 SHA512 b7c3805460d5d49c48039f50e616ee35204cb3222384cd1f57029a04fd19c4dcab5a700770ad36c3616cce85cce902abddf4361f7a7fa044318255967ecbfcf5 -DIST jsonschema-4.18.6.tar.gz 316619 BLAKE2B 1036a340b5605107855565ce68403acbfee85f736c8ded4debfa3bd680014f69308f86ee1514907dc67683658cf23d298cf506cf23ec19d5a4eb2816c034a050 SHA512 92a3b6b06c94426d7851547c4ea6d3c6e4eb12fb45b58030f10cc5772d1ec2ca332d443e82bd7f448e83fabaebbe0be7e3c0266569bcd815d1e36970f6966fe9 -DIST jsonschema-4.19.0.tar.gz 317546 BLAKE2B a554e5c26fe13c09f6e050c193c6608e9286660e75d555dad574b16b32a24667b5450d452079b714dace657f2aade7621c0c79b4585c4a8ac659f9242ed528f0 SHA512 95cc156fe0505da469600cdbaaf921853a983d45f6b8570e5bbffe9ee41abbf5757b2ccddde443b0d833a3ebdcbff321bda54b136b47d7650d3a40f6402338fb DIST jsonschema-4.19.1.tar.gz 318089 BLAKE2B 63ddd573ec47bc1c58c2b1bc4a20dd833c4c041de69b8c2e3cfa24c3494d3879fb09914491758ef38e8ae775b347f68d1d9c2e4d3cfc087dbd8c55d381cccd66 SHA512 60fa769faf6e3fc2c14eb9acd189c86e9d366b157230a5681d36552af0c159cb1ad33fd920668a36afdab98bc97253f91501704c5c07b5009fdaf9d29b52060d diff --git a/dev-python/jsonschema/jsonschema-4.18.0.ebuild b/dev-python/jsonschema/jsonschema-4.18.0.ebuild deleted file mode 100644 index 9e0c599a8e28..000000000000 --- a/dev-python/jsonschema/jsonschema-4.18.0.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="An implementation of JSON-Schema validation for Python" -HOMEPAGE=" - https://pypi.org/project/jsonschema/ - https://github.com/python-jsonschema/jsonschema/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" - -RDEPEND=" - >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] - >=dev-python/jsonschema-specifications-2023.03.6[${PYTHON_USEDEP}] - >=dev-python/referencing-0.28.4[${PYTHON_USEDEP}] - >=dev-python/rpds-py-0.7.1[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/hatch-vcs[${PYTHON_USEDEP}] - dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}] -" - -# formatter deps -RDEPEND+=" - dev-python/fqdn[${PYTHON_USEDEP}] - dev-python/idna[${PYTHON_USEDEP}] - dev-python/isoduration[${PYTHON_USEDEP}] - >=dev-python/jsonpointer-1.13[${PYTHON_USEDEP}] - dev-python/rfc3339-validator[${PYTHON_USEDEP}] - dev-python/rfc3986-validator[${PYTHON_USEDEP}] - dev-python/rfc3987[${PYTHON_USEDEP}] - dev-python/uri-template[${PYTHON_USEDEP}] - >=dev-python/webcolors-1.11[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # requires pip, does not make much sense for the users - jsonschema/tests/test_cli.py::TestCLIIntegration::test_license - # fragile warning tests - jsonschema/tests/test_deprecations.py - # wtf? - jsonschema/tests/test_jsonschema_test_suite.py::test_suite_bug -) diff --git a/dev-python/jsonschema/jsonschema-4.18.2.ebuild b/dev-python/jsonschema/jsonschema-4.18.2.ebuild deleted file mode 100644 index 9e0c599a8e28..000000000000 --- a/dev-python/jsonschema/jsonschema-4.18.2.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="An implementation of JSON-Schema validation for Python" -HOMEPAGE=" - https://pypi.org/project/jsonschema/ - https://github.com/python-jsonschema/jsonschema/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" - -RDEPEND=" - >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] - >=dev-python/jsonschema-specifications-2023.03.6[${PYTHON_USEDEP}] - >=dev-python/referencing-0.28.4[${PYTHON_USEDEP}] - >=dev-python/rpds-py-0.7.1[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/hatch-vcs[${PYTHON_USEDEP}] - dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}] -" - -# formatter deps -RDEPEND+=" - dev-python/fqdn[${PYTHON_USEDEP}] - dev-python/idna[${PYTHON_USEDEP}] - dev-python/isoduration[${PYTHON_USEDEP}] - >=dev-python/jsonpointer-1.13[${PYTHON_USEDEP}] - dev-python/rfc3339-validator[${PYTHON_USEDEP}] - dev-python/rfc3986-validator[${PYTHON_USEDEP}] - dev-python/rfc3987[${PYTHON_USEDEP}] - dev-python/uri-template[${PYTHON_USEDEP}] - >=dev-python/webcolors-1.11[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # requires pip, does not make much sense for the users - jsonschema/tests/test_cli.py::TestCLIIntegration::test_license - # fragile warning tests - jsonschema/tests/test_deprecations.py - # wtf? - jsonschema/tests/test_jsonschema_test_suite.py::test_suite_bug -) diff --git a/dev-python/jsonschema/jsonschema-4.18.3.ebuild b/dev-python/jsonschema/jsonschema-4.18.3.ebuild deleted file mode 100644 index 9e0c599a8e28..000000000000 --- a/dev-python/jsonschema/jsonschema-4.18.3.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="An implementation of JSON-Schema validation for Python" -HOMEPAGE=" - https://pypi.org/project/jsonschema/ - https://github.com/python-jsonschema/jsonschema/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" - -RDEPEND=" - >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] - >=dev-python/jsonschema-specifications-2023.03.6[${PYTHON_USEDEP}] - >=dev-python/referencing-0.28.4[${PYTHON_USEDEP}] - >=dev-python/rpds-py-0.7.1[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/hatch-vcs[${PYTHON_USEDEP}] - dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}] -" - -# formatter deps -RDEPEND+=" - dev-python/fqdn[${PYTHON_USEDEP}] - dev-python/idna[${PYTHON_USEDEP}] - dev-python/isoduration[${PYTHON_USEDEP}] - >=dev-python/jsonpointer-1.13[${PYTHON_USEDEP}] - dev-python/rfc3339-validator[${PYTHON_USEDEP}] - dev-python/rfc3986-validator[${PYTHON_USEDEP}] - dev-python/rfc3987[${PYTHON_USEDEP}] - dev-python/uri-template[${PYTHON_USEDEP}] - >=dev-python/webcolors-1.11[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # requires pip, does not make much sense for the users - jsonschema/tests/test_cli.py::TestCLIIntegration::test_license - # fragile warning tests - jsonschema/tests/test_deprecations.py - # wtf? - jsonschema/tests/test_jsonschema_test_suite.py::test_suite_bug -) diff --git a/dev-python/jsonschema/jsonschema-4.18.4.ebuild b/dev-python/jsonschema/jsonschema-4.18.4.ebuild deleted file mode 100644 index 72c11c0a82d6..000000000000 --- a/dev-python/jsonschema/jsonschema-4.18.4.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="An implementation of JSON-Schema validation for Python" -HOMEPAGE=" - https://pypi.org/project/jsonschema/ - https://github.com/python-jsonschema/jsonschema/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86" - -RDEPEND=" - >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] - >=dev-python/jsonschema-specifications-2023.03.6[${PYTHON_USEDEP}] - >=dev-python/referencing-0.28.4[${PYTHON_USEDEP}] - >=dev-python/rpds-py-0.7.1[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/hatch-vcs[${PYTHON_USEDEP}] - dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}] -" - -# formatter deps -RDEPEND+=" - dev-python/fqdn[${PYTHON_USEDEP}] - dev-python/idna[${PYTHON_USEDEP}] - dev-python/isoduration[${PYTHON_USEDEP}] - >=dev-python/jsonpointer-1.13[${PYTHON_USEDEP}] - dev-python/rfc3339-validator[${PYTHON_USEDEP}] - dev-python/rfc3986-validator[${PYTHON_USEDEP}] - dev-python/rfc3987[${PYTHON_USEDEP}] - dev-python/uri-template[${PYTHON_USEDEP}] - >=dev-python/webcolors-1.11[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # requires pip, does not make much sense for the users - jsonschema/tests/test_cli.py::TestCLIIntegration::test_license - # fragile warning tests - jsonschema/tests/test_deprecations.py - # wtf? - jsonschema/tests/test_jsonschema_test_suite.py::test_suite_bug -) diff --git a/dev-python/jsonschema/jsonschema-4.18.6.ebuild b/dev-python/jsonschema/jsonschema-4.18.6.ebuild deleted file mode 100644 index ff50f54285df..000000000000 --- a/dev-python/jsonschema/jsonschema-4.18.6.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="An implementation of JSON-Schema validation for Python" -HOMEPAGE=" - https://pypi.org/project/jsonschema/ - https://github.com/python-jsonschema/jsonschema/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -RDEPEND=" - >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] - >=dev-python/jsonschema-specifications-2023.03.6[${PYTHON_USEDEP}] - >=dev-python/referencing-0.28.4[${PYTHON_USEDEP}] - >=dev-python/rpds-py-0.7.1[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/hatch-vcs[${PYTHON_USEDEP}] - dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}] -" - -# formatter deps -RDEPEND+=" - dev-python/fqdn[${PYTHON_USEDEP}] - dev-python/idna[${PYTHON_USEDEP}] - dev-python/isoduration[${PYTHON_USEDEP}] - >=dev-python/jsonpointer-1.13[${PYTHON_USEDEP}] - dev-python/rfc3339-validator[${PYTHON_USEDEP}] - dev-python/rfc3986-validator[${PYTHON_USEDEP}] - dev-python/rfc3987[${PYTHON_USEDEP}] - dev-python/uri-template[${PYTHON_USEDEP}] - >=dev-python/webcolors-1.11[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # requires pip, does not make much sense for the users - jsonschema/tests/test_cli.py::TestCLIIntegration::test_license - # fragile warning tests - jsonschema/tests/test_deprecations.py - # wtf? - jsonschema/tests/test_jsonschema_test_suite.py::test_suite_bug -) diff --git a/dev-python/jsonschema/jsonschema-4.19.0.ebuild b/dev-python/jsonschema/jsonschema-4.19.0.ebuild deleted file mode 100644 index ff50f54285df..000000000000 --- a/dev-python/jsonschema/jsonschema-4.19.0.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="An implementation of JSON-Schema validation for Python" -HOMEPAGE=" - https://pypi.org/project/jsonschema/ - https://github.com/python-jsonschema/jsonschema/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -RDEPEND=" - >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] - >=dev-python/jsonschema-specifications-2023.03.6[${PYTHON_USEDEP}] - >=dev-python/referencing-0.28.4[${PYTHON_USEDEP}] - >=dev-python/rpds-py-0.7.1[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/hatch-vcs[${PYTHON_USEDEP}] - dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}] -" - -# formatter deps -RDEPEND+=" - dev-python/fqdn[${PYTHON_USEDEP}] - dev-python/idna[${PYTHON_USEDEP}] - dev-python/isoduration[${PYTHON_USEDEP}] - >=dev-python/jsonpointer-1.13[${PYTHON_USEDEP}] - dev-python/rfc3339-validator[${PYTHON_USEDEP}] - dev-python/rfc3986-validator[${PYTHON_USEDEP}] - dev-python/rfc3987[${PYTHON_USEDEP}] - dev-python/uri-template[${PYTHON_USEDEP}] - >=dev-python/webcolors-1.11[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # requires pip, does not make much sense for the users - jsonschema/tests/test_cli.py::TestCLIIntegration::test_license - # fragile warning tests - jsonschema/tests/test_deprecations.py - # wtf? - jsonschema/tests/test_jsonschema_test_suite.py::test_suite_bug -) diff --git a/dev-python/jupyter-client/Manifest b/dev-python/jupyter-client/Manifest index 017faf3fca70..8b1f8774005a 100644 --- a/dev-python/jupyter-client/Manifest +++ b/dev-python/jupyter-client/Manifest @@ -1,2 +1 @@ -DIST jupyter_client-8.3.0.tar.gz 335973 BLAKE2B dd4b60994f5c2ba19d41f87dbbee1291e85595908e5b1fce77876d8164bc21bd65b257a65b333e2e3277fff66869d445fcd87c3c1a16166fa71da24d26b1e96e SHA512 2348cf67344cb9bbb9b020ef5570f5ca354c8acb00b9fb0d148b9419ec2efb922b1364ed3c2c2429ad66548af5dd90f232be1d56728ef09bd833312f13c07f77 DIST jupyter_client-8.3.1.tar.gz 337007 BLAKE2B fdb0535ccda1ca13e2ead09c6df9f30c8c7d258dbfa4882a758b3923fd5bdf6afa80859f941bcc3e1a602de31c6ceef06b7a5d360d64ceab34e40de65dc65174 SHA512 ce600985ed9d36d4a96bbed6142b46988d46ea468d8f266fd3c9a7357f60d5e2a9bddb11c912a3c137079322e4363b975c4b43b1a53e65b5d649d367a098a52d diff --git a/dev-python/jupyter-client/jupyter-client-8.3.0.ebuild b/dev-python/jupyter-client/jupyter-client-8.3.0.ebuild deleted file mode 100644 index 0c329c5446c1..000000000000 --- a/dev-python/jupyter-client/jupyter-client-8.3.0.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{8,9,10,11} ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 pypi - -DESCRIPTION="Jupyter protocol implementation and client libraries" -HOMEPAGE=" - https://jupyter.org/ - https://github.com/jupyter/jupyter_client/ - https://pypi.org/project/jupyter-client/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" - -RDEPEND=" - >=dev-python/jupyter-core-5.1[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.8.2[${PYTHON_USEDEP}] - >=dev-python/pyzmq-23.0[${PYTHON_USEDEP}] - >=dev-python/tornado-6.0[${PYTHON_USEDEP}] - dev-python/traitlets[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/importlib-metadata-4.8.3[${PYTHON_USEDEP}] - ' 3.{8,9}) -" -BDEPEND=" - test? ( - >=dev-python/ipykernel-6.14[${PYTHON_USEDEP}] - >=dev-python/pytest-asyncio-0.18[${PYTHON_USEDEP}] - >=dev-python/pytest-jupyter-0.4.1[${PYTHON_USEDEP}] - dev-python/pytest-timeout[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # TODO: times out - tests/test_client.py::TestAsyncKernelClient::test_input_request - # TODO - tests/test_multikernelmanager.py::TestKernelManager::test_tcp_cinfo -) diff --git a/dev-python/jupyter-client/jupyter-client-8.3.1.ebuild b/dev-python/jupyter-client/jupyter-client-8.3.1.ebuild index a3345dc19e03..0c329c5446c1 100644 --- a/dev-python/jupyter-client/jupyter-client-8.3.1.ebuild +++ b/dev-python/jupyter-client/jupyter-client-8.3.1.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" +KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" RDEPEND=" >=dev-python/jupyter-core-5.1[${PYTHON_USEDEP}] diff --git a/dev-python/jupyterlab/Manifest b/dev-python/jupyterlab/Manifest index 8268aa4b79aa..f8da3ab75569 100644 --- a/dev-python/jupyterlab/Manifest +++ b/dev-python/jupyterlab/Manifest @@ -1,5 +1,2 @@ DIST jupyterlab-3.6.3.tar.gz 16847186 BLAKE2B 6916722469ab100a1a240b8a565c9800f35535b2a9b2c39a6bfd275b078d88df9faa1f12d4ce3819155af7b0ed22282836f9b233534bd3e63d8a330d1cd7cd21 SHA512 3d6b4781f9fab02504b2c0223a4d060d80c3442fa6ac53ae326296d69942d68f8545450f671f6ba65c7c4e218aad62ef4f4ceb658899c21aaff3640c3055d364 -DIST jupyterlab-4.0.3.tar.gz 18222352 BLAKE2B 7dee4109e94173d35794c2b3a05de5cbab145fc031b22628ca4b5c1d97497658807b0a9b713d58a7aae3a38a64a37e04e535988d727cab6ba3c3aebe2ff6c0a2 SHA512 cb7694c1398cbf1b061d385518d08d5ff4411bc7f53828d99edd3cf8420d39c09d99e1ee061d60a86d83e640c37777bfd4f98ce71276366f291f784f23740d4d -DIST jupyterlab-4.0.4.tar.gz 18223782 BLAKE2B 8f2b157d27c68fba62fcfdeeb055b0c9b646987d2f31447b87720110ec2331ddad90c0288ad7554faa26674bf810d92d99f1924e2d34f81d2303a4ab6b213cd9 SHA512 23479cee2405ddc42a11c477cb93fad6cb5481a70766d48c1f7f1e498481c36a0dca47c5523ff3fc97aacfd86a37debd53cc3570e3e0916cc0a6cb526d99a574 -DIST jupyterlab-4.0.5.tar.gz 18235811 BLAKE2B c1847bc3b9cb420d987c1ffd6d00951946c7312dbc94f49e3a4fadc85f4059c6d76294e78be4a629a4d2565bac5b569d957521aa26b4bd2365528cae7548b074 SHA512 befb13b653037511651387e339b8e41c17989c146080ad41c68b60f415a4c3c539d666719ba3256b341998fa13fe414c28c78159429d26f7000d0e01bba41ecc DIST jupyterlab-4.0.6.tar.gz 18236816 BLAKE2B e39e7cb6fbdecfee0b5e592091f989fe94907369d057457130f8bc2f391ca4c83cc09542bc9da766413821eb4c4e9eaaca3adfeccf26b0b2f61ab5e65dac9e45 SHA512 fc4acde65f2bb24adbf95e5cde17e0225390a0c8aca10e04b7c9cf5b2bcebe529608b53ce259f081508b86216b94c71fb260c857b9fe3a2bef16cb4e7af3dcda diff --git a/dev-python/jupyterlab/jupyterlab-4.0.3.ebuild b/dev-python/jupyterlab/jupyterlab-4.0.3.ebuild deleted file mode 100644 index ebfe969bd91b..000000000000 --- a/dev-python/jupyterlab/jupyterlab-4.0.3.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8,9,10,11} ) -DISTUTILS_USE_PEP517=hatchling - -inherit distutils-r1 pypi xdg - -DESCRIPTION="JupyterLab computational environment" -HOMEPAGE=" - https://jupyter.org/ - https://github.com/jupyterlab/jupyterlab/ - https://pypi.org/project/jupyterlab/ -" - -LICENSE="BSD MIT GPL-3 Apache-2.0" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - dev-python/async-lru[${PYTHON_USEDEP}] - dev-python/ipykernel[${PYTHON_USEDEP}] - >=dev-python/jinja-3.0.3[${PYTHON_USEDEP}] - dev-python/jupyter-core[${PYTHON_USEDEP}] - >=dev-python/jupyter-lsp-2.0.0[${PYTHON_USEDEP}] - >=dev-python/jupyter-server-2.4.0[${PYTHON_USEDEP}] - <dev-python/jupyter-server-3[${PYTHON_USEDEP}] - >=dev-python/jupyterlab-server-2.19[${PYTHON_USEDEP}] - <dev-python/jupyterlab-server-3[${PYTHON_USEDEP}] - >=dev-python/notebook-shim-0.2[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - dev-python/tomli[${PYTHON_USEDEP}] - >=dev-python/tornado-6.2[${PYTHON_USEDEP}] - dev-python/traitlets[${PYTHON_USEDEP}] - net-libs/nodejs -" - -BDEPEND=" - dev-python/hatch-jupyter-builder[${PYTHON_USEDEP}] - test? ( - dev-python/pytest-console-scripts[${PYTHON_USEDEP}] - >=dev-python/pytest-jupyter-0.5.3[${PYTHON_USEDEP}] - dev-python/pytest-tornasync[${PYTHON_USEDEP}] - dev-python/pytest-timeout[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/requests-cache[${PYTHON_USEDEP}] - dev-python/virtualenv[${PYTHON_USEDEP}] - ) -" - -EPYTEST_DESELECT=( - # These tests call npm and want internet - jupyterlab/tests/test_jupyterlab.py::TestExtension::test_uninstall_core_extension - jupyterlab/tests/test_jupyterlab.py::TestExtension::test_install_and_uninstall_pinned_folder - jupyterlab/tests/test_jupyterlab.py::TestExtension::test_install_and_uninstall_pinned - jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build_custom_minimal_core_config - jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build_custom - jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build_check - jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build - jupyterlab/tests/test_build_api.py::TestBuildAPI::test_clear - jupyterlab/tests/test_build_api.py::TestBuildAPI::test_build -) - -EPYTEST_IGNORE=( - jupyterlab/tests/test_announcements.py -) - -distutils_enable_tests pytest -# TODO: package sphinx_copybutton -#distutils_enable_sphinx docs/source dev-python/sphinx-rtd-theme dev-python/myst-parser - -python_install_all() { - distutils-r1_python_install_all - mv "${ED}/usr/etc" "${ED}/etc" || die -} diff --git a/dev-python/jupyterlab/jupyterlab-4.0.4.ebuild b/dev-python/jupyterlab/jupyterlab-4.0.4.ebuild deleted file mode 100644 index 12d82fc8aea8..000000000000 --- a/dev-python/jupyterlab/jupyterlab-4.0.4.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8,9,10,11} ) -DISTUTILS_USE_PEP517=hatchling - -inherit distutils-r1 pypi xdg - -DESCRIPTION="JupyterLab computational environment" -HOMEPAGE=" - https://jupyter.org/ - https://github.com/jupyterlab/jupyterlab/ - https://pypi.org/project/jupyterlab/ -" - -LICENSE="BSD MIT GPL-3 Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" - -RDEPEND=" - dev-python/async-lru[${PYTHON_USEDEP}] - dev-python/ipykernel[${PYTHON_USEDEP}] - >=dev-python/jinja-3.0.3[${PYTHON_USEDEP}] - dev-python/jupyter-core[${PYTHON_USEDEP}] - >=dev-python/jupyter-lsp-2.0.0[${PYTHON_USEDEP}] - >=dev-python/jupyter-server-2.4.0[${PYTHON_USEDEP}] - <dev-python/jupyter-server-3[${PYTHON_USEDEP}] - >=dev-python/jupyterlab-server-2.19[${PYTHON_USEDEP}] - <dev-python/jupyterlab-server-3[${PYTHON_USEDEP}] - >=dev-python/notebook-shim-0.2[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - dev-python/tomli[${PYTHON_USEDEP}] - >=dev-python/tornado-6.2[${PYTHON_USEDEP}] - dev-python/traitlets[${PYTHON_USEDEP}] - net-libs/nodejs -" - -BDEPEND=" - dev-python/hatch-jupyter-builder[${PYTHON_USEDEP}] - test? ( - dev-python/pytest-console-scripts[${PYTHON_USEDEP}] - >=dev-python/pytest-jupyter-0.5.3[${PYTHON_USEDEP}] - dev-python/pytest-tornasync[${PYTHON_USEDEP}] - dev-python/pytest-timeout[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/requests-cache[${PYTHON_USEDEP}] - dev-python/virtualenv[${PYTHON_USEDEP}] - ) -" - -EPYTEST_DESELECT=( - # These tests call npm and want internet - jupyterlab/tests/test_jupyterlab.py::TestExtension::test_uninstall_core_extension - jupyterlab/tests/test_jupyterlab.py::TestExtension::test_install_and_uninstall_pinned_folder - jupyterlab/tests/test_jupyterlab.py::TestExtension::test_install_and_uninstall_pinned - jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build_custom_minimal_core_config - jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build_custom - jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build_check - jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build - jupyterlab/tests/test_build_api.py::TestBuildAPI::test_clear - jupyterlab/tests/test_build_api.py::TestBuildAPI::test_build -) - -EPYTEST_IGNORE=( - jupyterlab/tests/test_announcements.py -) - -distutils_enable_tests pytest -# TODO: package sphinx_copybutton -#distutils_enable_sphinx docs/source dev-python/sphinx-rtd-theme dev-python/myst-parser - -python_install_all() { - distutils-r1_python_install_all - mv "${ED}/usr/etc" "${ED}/etc" || die -} diff --git a/dev-python/jupyterlab/jupyterlab-4.0.5.ebuild b/dev-python/jupyterlab/jupyterlab-4.0.5.ebuild deleted file mode 100644 index 50bbfa7df101..000000000000 --- a/dev-python/jupyterlab/jupyterlab-4.0.5.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8,9,10,11} ) -DISTUTILS_USE_PEP517=hatchling - -inherit distutils-r1 pypi xdg - -DESCRIPTION="JupyterLab computational environment" -HOMEPAGE=" - https://jupyter.org/ - https://github.com/jupyterlab/jupyterlab/ - https://pypi.org/project/jupyterlab/ -" - -LICENSE="BSD MIT GPL-3 Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" - -RDEPEND=" - dev-python/async-lru[${PYTHON_USEDEP}] - dev-python/ipykernel[${PYTHON_USEDEP}] - >=dev-python/jinja-3.0.3[${PYTHON_USEDEP}] - dev-python/jupyter-core[${PYTHON_USEDEP}] - >=dev-python/jupyter-lsp-2.0.0[${PYTHON_USEDEP}] - >=dev-python/jupyter-server-2.4.0[${PYTHON_USEDEP}] - <dev-python/jupyter-server-3[${PYTHON_USEDEP}] - >=dev-python/jupyterlab-server-2.19[${PYTHON_USEDEP}] - <dev-python/jupyterlab-server-3[${PYTHON_USEDEP}] - >=dev-python/notebook-shim-0.2[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - dev-python/tomli[${PYTHON_USEDEP}] - >=dev-python/tornado-6.2[${PYTHON_USEDEP}] - dev-python/traitlets[${PYTHON_USEDEP}] - net-libs/nodejs -" - -BDEPEND=" - dev-python/hatch-jupyter-builder[${PYTHON_USEDEP}] - test? ( - dev-python/pytest-console-scripts[${PYTHON_USEDEP}] - >=dev-python/pytest-jupyter-0.5.3[${PYTHON_USEDEP}] - dev-python/pytest-tornasync[${PYTHON_USEDEP}] - dev-python/pytest-timeout[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/requests-cache[${PYTHON_USEDEP}] - dev-python/virtualenv[${PYTHON_USEDEP}] - ) -" - -EPYTEST_DESELECT=( - # These tests call npm and want internet - jupyterlab/tests/test_jupyterlab.py::TestExtension::test_uninstall_core_extension - jupyterlab/tests/test_jupyterlab.py::TestExtension::test_install_and_uninstall_pinned_folder - jupyterlab/tests/test_jupyterlab.py::TestExtension::test_install_and_uninstall_pinned - jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build_custom_minimal_core_config - jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build_custom - jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build_check - jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build - jupyterlab/tests/test_build_api.py::TestBuildAPI::test_clear - jupyterlab/tests/test_build_api.py::TestBuildAPI::test_build -) - -EPYTEST_IGNORE=( - jupyterlab/tests/test_announcements.py -) - -distutils_enable_tests pytest -# TODO: package sphinx_copybutton -#distutils_enable_sphinx docs/source dev-python/sphinx-rtd-theme dev-python/myst-parser - -python_install_all() { - distutils-r1_python_install_all - mv "${ED}/usr/etc" "${ED}/etc" || die -} diff --git a/dev-python/kaptan/Manifest b/dev-python/kaptan/Manifest index a50de8395983..07ed224e1e0b 100644 --- a/dev-python/kaptan/Manifest +++ b/dev-python/kaptan/Manifest @@ -1,2 +1 @@ -DIST kaptan-0.5.12.tar.gz 10539 BLAKE2B 678e1aae6053a7075218a0fd9ef928685e7ce9ebf385c6953275b06d1bbf67d4c8434838a7a8f0b0ec8b02e7bef434d7f68698060bea2b4232cd5ef7fa83f0b3 SHA512 fccf767749e9473947bd7cb493ddb30f7dc1b2e10ce932ca327ae3423bc023fa9c76910ac249269ee546eb9162e4ce151e2ad0b9685d888854a7185c855ae143 DIST kaptan-0.6.0.tar.gz 11861 BLAKE2B e2ce4775716fd3bdd286c3edf0f04ee842cbcd7b1347b6ccf6590ede024769561e2302c685afe9148a8141ce24aa14fdd5037354b548069ec91fcac427a6de78 SHA512 8c65ef67069178ff5480e68c5247e19a4700f26b0f8fa9030631f4103ea235491b238bd673e01c09c7cac7133689940236cbc9b21a92bb4536b902ca239cf7df diff --git a/dev-python/kaptan/kaptan-0.5.12-r4.ebuild b/dev-python/kaptan/kaptan-0.5.12-r4.ebuild deleted file mode 100644 index 2958c9c37b36..000000000000 --- a/dev-python/kaptan/kaptan-0.5.12-r4.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 2019-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Configuration manager in your pocket" -HOMEPAGE=" - https://github.com/emre/kaptan/ - https://pypi.org/project/kaptan/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86" - -RDEPEND=" - >=dev-python/pyyaml-3.13[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -src_prepare() { - # remove pinned deps - > requirements/base.txt || die - distutils-r1_src_prepare -} diff --git a/dev-python/kaptan/kaptan-0.6.0.ebuild b/dev-python/kaptan/kaptan-0.6.0.ebuild index b38fe0527d6e..c9231470d979 100644 --- a/dev-python/kaptan/kaptan-0.6.0.ebuild +++ b/dev-python/kaptan/kaptan-0.6.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86" RDEPEND=" >=dev-python/pyyaml-3.13[${PYTHON_USEDEP}] diff --git a/dev-python/krb5/Manifest b/dev-python/krb5/Manifest index 4de6bdabb2b8..3e65c0787c02 100644 --- a/dev-python/krb5/Manifest +++ b/dev-python/krb5/Manifest @@ -1,2 +1 @@ -DIST krb5-0.5.0.tar.gz 220969 BLAKE2B e492220906afff138a35e0545a9fec4d802e37e17d776fa5448361f1d62a93500063f783e638bbf903165a1998f9d2eaa1444d3bf5ce8446b781c69596c53080 SHA512 a5e8dc16026602373a00aae9188256b586a9f02cee7a413b7bc8ff0525660c416256179b56795cb9a69ca9dab0afff258f803a810220472e086c1c497d044567 DIST krb5-0.5.1.tar.gz 221059 BLAKE2B ca7bff0caa192af0493b58e5254bcc45f43aece32ae2d57950d6293506ff8261a53d5990905d4d3a974c9843f6435dd6526c3d3210b9ebe8cda76d640410f213 SHA512 474484d2ffcf94e9855b017a7f8ca29894c4e3c1f4c0d872952bb1b7c1772b319b7a358c5e44cb3be036ea707a58fc1c526f8abb2c3d1d9b8af8525bb769923f diff --git a/dev-python/krb5/files/krb5-0.5.0-cython-3.patch b/dev-python/krb5/files/krb5-0.5.0-cython-3.patch deleted file mode 100644 index 6d9d34dad659..000000000000 --- a/dev-python/krb5/files/krb5-0.5.0-cython-3.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 0e843062ac3916ee0a36f59ba53caabba64cb062 Mon Sep 17 00:00:00 2001 -From: Matus Valo <matusvalo@gmail.com> -Date: Wed, 15 Mar 2023 21:02:10 +0100 -Subject: [PATCH] Declare the function as noexcept when it is not raising - exception. - -Cython 3 will require noexcept keyword in the declaraction of the function not raising -an exceptions. ---- - pyproject.toml | 2 +- - src/krb5/_creds.pyx | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/src/krb5/_creds.pyx b/src/krb5/_creds.pyx -index a4a8a33..5b550e6 100644 ---- a/src/krb5/_creds.pyx -+++ b/src/krb5/_creds.pyx -@@ -263,7 +263,7 @@ cdef krb5_error_code prompt_callback( - const char *banner, - int num_prompts, - krb5_prompt *prompts, --) with gil: -+) noexcept with gil: - try: - prompter = <Krb5Prompt>data - diff --git a/dev-python/krb5/krb5-0.5.0.ebuild b/dev-python/krb5/krb5-0.5.0.ebuild deleted file mode 100644 index 0b84c4bc86bc..000000000000 --- a/dev-python/krb5/krb5-0.5.0.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 2021-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Kerberos API bindings for Python" -HOMEPAGE=" - https://github.com/jborean93/pykrb5/ - https://pypi.org/project/krb5/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~riscv x86" - -RDEPEND=" - virtual/krb5 -" -BDEPEND=" - dev-python/cython[${PYTHON_USEDEP}] - test? ( - dev-python/k5test[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -PATCHES=( - # https://github.com/jborean93/pykrb5/pull/27 - "${FILESDIR}/${P}-cython-3.patch" -) diff --git a/dev-python/krb5/krb5-0.5.1.ebuild b/dev-python/krb5/krb5-0.5.1.ebuild index a9de57339e60..a8b48761502e 100644 --- a/dev-python/krb5/krb5-0.5.1.ebuild +++ b/dev-python/krb5/krb5-0.5.1.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +KEYWORDS="amd64 ~arm arm64 ~riscv x86" RDEPEND=" virtual/krb5 diff --git a/dev-python/matplotlib/matplotlib-3.8.0.ebuild b/dev-python/matplotlib/matplotlib-3.8.0.ebuild index c664cde51d96..c0ecbded3eac 100644 --- a/dev-python/matplotlib/matplotlib-3.8.0.ebuild +++ b/dev-python/matplotlib/matplotlib-3.8.0.ebuild @@ -30,7 +30,7 @@ SRC_URI+=" # Fonts: BitstreamVera, OFL-1.1 LICENSE="BitstreamVera BSD matplotlib MIT OFL-1.1" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 sparc ~x86 ~arm64-macos ~x64-macos" IUSE="cairo doc excel gtk3 latex qt5 tk webagg wxwidgets" # internal copy of pycxx highly patched diff --git a/dev-python/moto/Manifest b/dev-python/moto/Manifest index 67f8a84f32ca..7d19887289f9 100644 --- a/dev-python/moto/Manifest +++ b/dev-python/moto/Manifest @@ -11,3 +11,4 @@ DIST moto-4.1.9.tar.gz 3537033 BLAKE2B fda091585fd331ff68127290426bb1f5418b118b9 DIST moto-4.2.2.tar.gz 3646677 BLAKE2B 142d66f069a8a461f26959be5ec63cbd8dac7c5f4e752be3f78a728ee262a50b9505c7e1631da3fe98ac7b7d0044bcf4dd31edeb936798722d3c5fac0f062908 SHA512 76d3b7f575f70a0ce51dfca0918c036f791ea74be2194a96210bf92ce628f873458f1eb5d2a04308d5b0805f4469f7cf0d50eef845830a0ee1fa85b96bfb4104 DIST moto-4.2.3.tar.gz 4693815 BLAKE2B 3163376f5dd645af9fb9cd1a9af459ec76c6fd3c6f908d72429c2f72e5b4c2e8864afc0afbabe344524c403da0bf19477491b44bba2f29f422c38334595d0fc8 SHA512 a9a45fdb05722466f29e1a66b59637aa839960922b5992ad0aca6523edbe0c3b6c4e4724311d74d5b18cebdbf3fb26dd64887b2fea83ab5cc5487728f18a4c0e DIST moto-4.2.4.tar.gz 4705570 BLAKE2B b9e6e60b147320b8393ca6cfe1c985d9814b18be0b8722cd960cae66530d0b5f23d9005a4a57fd224a3ec82b6108275832ef10633dafb3e2735f78be22e4d225 SHA512 d733a73d90f6c0dd5f5ce7f626792a5e6f672f9a951b4a841a2ef342f7350bdfbc7caf7e39e06acacedc7153c641565c6339b881487cb80c42adb42bd0a37880 +DIST moto-4.2.5.tar.gz 4721089 BLAKE2B 475a26ac75ed1e7e7fc00302b824ed473950c2916281456c1270f1489ab7c225468f2cd193b99f9589e8bf996590520abccdda8bc33278951696e8322ee6a1a8 SHA512 15211c367011acc049840555e2706d16a520226a1b9de0860977c90167b66702b06e7187af537da8c6312b0d8dcf50130e2a293120230d836b1e77691179827e diff --git a/dev-python/moto/moto-4.2.5.ebuild b/dev-python/moto/moto-4.2.5.ebuild new file mode 100644 index 000000000000..6427650611d9 --- /dev/null +++ b/dev-python/moto/moto-4.2.5.ebuild @@ -0,0 +1,120 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11} ) + +inherit distutils-r1 multiprocessing pypi + +DESCRIPTION="Mock library for boto" +HOMEPAGE=" + https://github.com/getmoto/moto/ + https://pypi.org/project/moto/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/aws-xray-sdk-0.93[${PYTHON_USEDEP}] + >=dev-python/cfn-lint-0.40.0[${PYTHON_USEDEP}] + >=dev-python/cryptography-3.3.1[${PYTHON_USEDEP}] + dev-python/cookies[${PYTHON_USEDEP}] + >=dev-python/docker-3.0.0[${PYTHON_USEDEP}] + >=dev-python/idna-2.5[${PYTHON_USEDEP}] + >=dev-python/jinja-2.10.1[${PYTHON_USEDEP}] + >=dev-python/jsondiff-1.1.2[${PYTHON_USEDEP}] + dev-python/boto3[${PYTHON_USEDEP}] + dev-python/botocore[${PYTHON_USEDEP}] + dev-python/flask[${PYTHON_USEDEP}] + dev-python/flask-cors[${PYTHON_USEDEP}] + dev-python/more-itertools[${PYTHON_USEDEP}] + >=dev-python/pyparsing-3.0.7[${PYTHON_USEDEP}] + >=dev-python/openapi-spec-validator-0.2.8[${PYTHON_USEDEP}] + dev-python/pyaml[${PYTHON_USEDEP}] + >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/python-jose[${PYTHON_USEDEP}] + dev-python/python-sshpubkeys[${PYTHON_USEDEP}] + >=dev-python/responses-0.9.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.5[${PYTHON_USEDEP}] + dev-python/xmltodict[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] + dev-python/zipp[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] + >=dev-python/sure-1.4.11[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # TODO + tests/test_firehose/test_firehose_put.py::test_put_record_http_destination + tests/test_firehose/test_firehose_put.py::test_put_record_batch_http_destination + # broken code (local variable used referenced before definition) + tests/test_appsync/test_appsync_schema.py + # Needs network (or docker?) but not marked as such, bug #807031 + # TODO: report upstream + tests/test_awslambda/test_lambda_layers_invoked.py::test_invoke_local_lambda_layers + tests/test_batch/test_batch_jobs.py::test_cancel_pending_job + tests/test_batch/test_batch_jobs.py::test_cancel_running_job + tests/test_batch/test_batch_jobs.py::test_container_overrides + tests/test_batch/test_batch_jobs.py::test_dependencies + tests/test_batch/test_batch_jobs.py::test_failed_dependencies + tests/test_batch/test_batch_jobs.py::test_failed_job + tests/test_batch/test_batch_jobs.py::test_terminate_job + tests/test_cloudformation/test_cloudformation_custom_resources.py::test_create_custom_lambda_resource__verify_cfnresponse_failed + + tests/test_cloudformation/test_cloudformation_stack_integration.py::test_lambda_function + tests/test_core/test_docker.py::test_docker_is_running_and_available + tests/test_events/test_events_lambdatriggers_integration.py::test_creating_bucket__invokes_lambda + "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events0-ObjectCreated:Put]" + "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events1-ObjectCreated:Put]" + "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events3-ObjectCreated:Put]" + # TODO + tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_queue + tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_fifo_queue + # require py_partiql_parser + tests/test_s3/test_s3_select.py + tests/test_dynamodb/test_dynamodb_statements.py + # broken by new urllib3 + tests/test_moto_api/recorder/test_recorder.py::TestRecorder::test_s3_upload_data + tests/test_moto_api/recorder/test_recorder.py::TestRecorder::test_s3_upload_file_using_requests + tests/test_s3/test_s3.py::test_upload_from_file_to_presigned_url + tests/test_s3/test_s3.py::test_put_chunked_with_v4_signature_in_body + tests/test_s3/test_s3.py::test_presigned_put_url_with_approved_headers + tests/test_s3/test_s3.py::test_presigned_put_url_with_custom_headers + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x TZ=UTC + + local serial_tests=( + # these tests set up credentials that are needed by the tests below + tests/test_core/test_importorder.py + # these tests apparently rely on some other test setting credentials + # up for them, so they need to be run separately, after the above + tests/test_redshiftdata + tests/test_resourcegroupstaggingapi/test_server.py::test_resourcegroupstaggingapi_list + tests/test_s3/test_s3.py::test_delete_bucket_cors + tests/test_s3/test_s3.py::test_delete_versioned_bucket_returns_metadata + tests/test_s3/test_s3_file_handles.py::TestS3FileHandleClosuresUsingMocks + tests/test_utilities/test_threaded_server.py::TestThreadedMotoServer::test_server_can_handle_multiple_services + ) + + epytest "${serial_tests[@]}" + + EPYTEST_DESELECT+=( "${serial_tests[@]}" ) + epytest -m 'not network' -p xdist -n "$(makeopts_jobs)" --dist=worksteal +} diff --git a/dev-python/nbsphinx/Manifest b/dev-python/nbsphinx/Manifest index 20c7e0c40643..5303aeb0d518 100644 --- a/dev-python/nbsphinx/Manifest +++ b/dev-python/nbsphinx/Manifest @@ -1,2 +1 @@ -DIST nbsphinx-0.9.2.tar.gz 171754 BLAKE2B 6bb73034b7f24c39c2d79e9beab623c46c07d9dd583a71920b83a6561e7f2899474db3edbb7b64386f4f41e1fb7960e942ea8327387ef2e0f1d3745627a3ade4 SHA512 b5e371e3177f03e72d87059d0c06cb4787afe255926e9f2440ea0c753f5457974535f42c98bd5bb289752151400612f28de98e1b36e6865b26790e56d1f78b80 DIST nbsphinx-0.9.3.tar.gz 171956 BLAKE2B 404e1692259b963f5ad9ad1ad370da1ff21ad93ac6b1081256d18cd66e2057eba8b4fec5e6ea987f73c3dea2a197108de6388e26b22eef46a8dd29800db4554d SHA512 a1dd3f96b1a7ad38cbe860eab620dda859fdad3bc22d07ddd4fc1bb9a3c7e9f66d24412370cb7701182d31870153e6388381574359356a1f0a0055111b404a7a diff --git a/dev-python/nbsphinx/nbsphinx-0.9.2.ebuild b/dev-python/nbsphinx/nbsphinx-0.9.2.ebuild deleted file mode 100644 index abbbcdaf94f4..000000000000 --- a/dev-python/nbsphinx/nbsphinx-0.9.2.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Jupyter Notebook Tools for Sphinx" -HOMEPAGE=" - https://github.com/spatialaudio/nbsphinx/ - https://pypi.org/project/nbsphinx/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" - -RDEPEND=" - dev-python/docutils[${PYTHON_USEDEP}] - dev-python/jinja[${PYTHON_USEDEP}] - dev-python/nbconvert[${PYTHON_USEDEP}] - dev-python/nbformat[${PYTHON_USEDEP}] - >=dev-python/sphinx-1.8[${PYTHON_USEDEP}] - >=dev-python/traitlets-5[${PYTHON_USEDEP}] -" diff --git a/dev-python/nbsphinx/nbsphinx-0.9.3.ebuild b/dev-python/nbsphinx/nbsphinx-0.9.3.ebuild index 7b49ace4b35d..abbbcdaf94f4 100644 --- a/dev-python/nbsphinx/nbsphinx-0.9.3.ebuild +++ b/dev-python/nbsphinx/nbsphinx-0.9.3.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" RDEPEND=" dev-python/docutils[${PYTHON_USEDEP}] diff --git a/dev-python/numpy/Manifest b/dev-python/numpy/Manifest index 85c584125f58..854b68b844c1 100644 --- a/dev-python/numpy/Manifest +++ b/dev-python/numpy/Manifest @@ -1,9 +1,3 @@ -DIST numpy-1.24.0.tar.gz 10897101 BLAKE2B 59e2b913f90de76589d8fbb2f07e2d389012c7f6ce9bd641bc4837776465ce9c41c34f19f92bee55d4bae6245c1d2c84315b359ef0b089fd68d31cd7e7ec44b1 SHA512 3b4e6255b8d39e8504a50ecd3c2ba09d5b16d3f6c70b23b67e4dbf03d1fe390c55030f46090341d39a1ee8228c61ad6212fdc6e4579fcec9e26b4dbe70268661 -DIST numpy-1.24.2.tar.gz 10906862 BLAKE2B e48f65eab709f0c57ec378d813a7b65bcaca6d5960b559d6db1c60726e5cf12517f4b2e1636b0ff815a2109925edccba200270db5170fd0aff5fd635919165ac SHA512 145fd7fb3919a185f75076d51b92c54a7fb1b776b637752ca15fdee15b239d6a517ef1bb8cded7c92e059cf6cda0146c24943c042d19b791e81125bc0ad4b820 -DIST numpy-1.24.4.tar.gz 10911229 BLAKE2B 2f054b4ede249653707c3df8ccf6df31b747c0625891ae6e01134f84b02d1300e1d7a88b5741e0e0f05218673d95374f263e5bfddbf17c9510aa93bac002eafc SHA512 89eb90548ad4f38cfe0a5077eef426058eed08ca17633024887e4d0ff5bdfe98736b1ad6850fe643bc0035d55ac4cd39b5971895eea9dcf247b5ff186654ed68 -DIST numpy-1.25.1.tar.gz 10428993 BLAKE2B ee3edaf5416ac858b995f0cb8df75962af01619969a2c70fa10b4e0d0a1c96a3b441ee470a463cdb7c60910d8823af1c41d37933f87bcaa0a724655d052ed20a SHA512 69cc5426f657a21a6a1fb3bb043b8acec90b87969f90177abb6d7294ca96d04f723ddf90fa40822704b16147a390abafbcda9702e40405ea6b6e22377aade71d DIST numpy-1.25.2-patches.tar.xz 7212 BLAKE2B 718331b2d9f8380df239bf2ad9c24d79924e08797825d7c8655124a55e059790f96641633cdb42c597646764ca9efcaf277d5f5b75f042f533c28f2a81d5a5a8 SHA512 bcc0c55710b8d874e1dd9a57fad5698e09e3c96254922db32a8beeae9a5a54532cb0660d3ce43ca68e70fa7227bca9e0d12a0298aa6972ad2cbcecfe4aee3e85 DIST numpy-1.25.2.tar.gz 10805282 BLAKE2B f138eaf237f3e8052cafbe9fc98b4b62fb0748079df8599fc0950624c856294157410a2ec6fe381eaa8386b1530a39f7037ae1887c9fcfe2e77a3d7ad1ca0171 SHA512 6846d558c227329b6e700965ffa4c7886a7ca5f35234a56d734bc8201d19f7ac87d8ea081094bca13685130dce7bfb98ee4aa3a9dbd538288f10f1d9d82fb699 DIST numpy-1.26.0.tar.gz 15633455 BLAKE2B 9cd8693d1303bc9ac6d95a6cd57440839adbd648efae7052cf9b73f833eb8ebb2a0ad09fcc638e51b481b4c049a02304eeef34a7566609ae2cbab3278d033a97 SHA512 0d500c623b274a219740c78ae2febb32a2f167016a9ff529678526e6b3e89a5b732c41defa23460a5da6f7f89d4a7d827f44fa9a1334c78e204b00ce164fb40c -DIST numpy-1.26.0b1.tar.gz 15632046 BLAKE2B 72991e0a1a9b63ac9a3014b78348aa0bc512c2e22c3959d5466f92e2df8649aea56dd949e8954921fc29302f84e38748665597319fa9baa8154a85b34527e12f SHA512 c099a61ad58e142b29eac891b746c93425a337912df8da5e5a6b36c53f9069f56dd7ee0807b1773eca23a7e39b355e6c13d419cbdd36d35c2ab0a77cb14bb5b5 -DIST numpy-1.26.0rc1.tar.gz 15634820 BLAKE2B db9d9d6288681c1a49d612599c206c6f0964010222f24e0507e500cdb34a504b07202b561d14cd7b06c587668b2ad46c8bb72ecfe0e64a86cd3bbb498c9c2b5a SHA512 1c0e3009d2a45b0cf65aa95e317510a200e7cf9a5b985bed428ad1d65180b6df37cc3a597039335c5147cad23770e56e0bfef8ebb920b7e62c4b75664189a234 diff --git a/dev-python/numpy/files/numpy-1.22.0-no-hardcode-blasv2.patch b/dev-python/numpy/files/numpy-1.22.0-no-hardcode-blasv2.patch deleted file mode 100644 index d87a16a4b6c9..000000000000 --- a/dev-python/numpy/files/numpy-1.22.0-no-hardcode-blasv2.patch +++ /dev/null @@ -1,50 +0,0 @@ -Originally added in: https://gitweb.gentoo.org/repo/gentoo.git/commit/dev-python/numpy/files?id=e5ce90a04e79f6413604e96e4803cb95ada7c859 -https://bugs.gentoo.org/567938 ---- a/numpy/distutils/system_info.py -+++ b/numpy/distutils/system_info.py -@@ -505,33 +505,7 @@ def get_info(name, notfound_action=0): - 'blas_armpl': blas_armpl_info, - 'lapack_armpl': lapack_armpl_info, - 'fftw3_armpl': fftw3_armpl_info, -- 'atlas': atlas_info, # use lapack_opt or blas_opt instead -- 'atlas_threads': atlas_threads_info, # ditto -- 'atlas_blas': atlas_blas_info, -- 'atlas_blas_threads': atlas_blas_threads_info, -- 'lapack_atlas': lapack_atlas_info, # use lapack_opt instead -- 'lapack_atlas_threads': lapack_atlas_threads_info, # ditto -- 'atlas_3_10': atlas_3_10_info, # use lapack_opt or blas_opt instead -- 'atlas_3_10_threads': atlas_3_10_threads_info, # ditto -- 'atlas_3_10_blas': atlas_3_10_blas_info, -- 'atlas_3_10_blas_threads': atlas_3_10_blas_threads_info, -- 'lapack_atlas_3_10': lapack_atlas_3_10_info, # use lapack_opt instead -- 'lapack_atlas_3_10_threads': lapack_atlas_3_10_threads_info, # ditto -- 'flame': flame_info, # use lapack_opt instead -- 'mkl': mkl_info, -- # openblas which may or may not have embedded lapack -- 'openblas': openblas_info, # use blas_opt instead -- # openblas with embedded lapack -- 'openblas_lapack': openblas_lapack_info, # use blas_opt instead -- 'openblas_clapack': openblas_clapack_info, # use blas_opt instead -- 'blis': blis_info, # use blas_opt instead -- 'lapack_mkl': lapack_mkl_info, # use lapack_opt instead -- 'blas_mkl': blas_mkl_info, # use blas_opt instead - 'accelerate': accelerate_info, # use blas_opt instead -- 'openblas64_': openblas64__info, -- 'openblas64__lapack': openblas64__lapack_info, -- 'openblas_ilp64': openblas_ilp64_info, -- 'openblas_ilp64_lapack': openblas_ilp64_lapack_info, - 'x11': x11_info, - 'fft_opt': fft_opt_info, - 'fftw': fftw_info, -@@ -951,10 +925,7 @@ class system_info: - return [b for b in [a.strip() for a in libs.split(',')] if b] - - def get_libraries(self, key='libraries'): -- if hasattr(self, '_lib_names'): -- return self.get_libs(key, default=self._lib_names) -- else: -- return self.get_libs(key, '') -+ return self.get_libs(key, '') - - def library_extensions(self): - c = customized_ccompiler() diff --git a/dev-python/numpy/files/numpy-1.24.3-fix-c++-linkage.patch b/dev-python/numpy/files/numpy-1.24.3-fix-c++-linkage.patch deleted file mode 100644 index ae7d5ba0ea49..000000000000 --- a/dev-python/numpy/files/numpy-1.24.3-fix-c++-linkage.patch +++ /dev/null @@ -1,25 +0,0 @@ -https://bugs.gentoo.org/893962 -https://github.com/numpy/numpy/issues/23122 -https://github.com/numpy/numpy/pull/23601 - -From 0a0240bcdad5daa0b84781719b3f8a002ef0f82b Mon Sep 17 00:00:00 2001 -From: Ralf Gommers <ralf.gommers@gmail.com> -Date: Sun, 16 Apr 2023 22:23:38 +0100 -Subject: [PATCH] BLD: use the C++ linker to link `_multiarray_umath.so` - -This gets rid of undefined symbol issues for `assert`. - -Closes gh-23122 -Closes gh-23595 ---- a/numpy/core/setup.py -+++ b/numpy/core/setup.py -@@ -1010,9 +1010,6 @@ def generate_umath_doc_header(ext, build_dir): - svml_objs.sort() - - config.add_extension('_multiarray_umath', -- # Forcing C language even though we have C++ sources. -- # It forces the C linker and don't link C++ runtime. -- language = 'c', - sources=multiarray_src + umath_src + - common_src + - [generate_config_h, diff --git a/dev-python/numpy/files/numpy-1.25.0-skip-python3.12-irrelevant-tests.patch b/dev-python/numpy/files/numpy-1.25.0-skip-python3.12-irrelevant-tests.patch deleted file mode 100644 index cd829c5ef08e..000000000000 --- a/dev-python/numpy/files/numpy-1.25.0-skip-python3.12-irrelevant-tests.patch +++ /dev/null @@ -1,187 +0,0 @@ -https://github.com/numpy/numpy/commit/515403f2c637cb58f8dc326d88dd6f768f027cf4 -https://github.com/numpy/numpy/commit/b0872b858e2e6ebc394e95c81a024dcf1573c690 -https://github.com/numpy/numpy/commit/e42fc93b54a6d41dab72d86921f96e5ebc4c4198 -https://github.com/numpy/numpy/commit/4552b6cb0083502f731794e961cd30b9b62ba2e3 - -From 515403f2c637cb58f8dc326d88dd6f768f027cf4 Mon Sep 17 00:00:00 2001 -From: Ralf Gommers <ralf.gommers@gmail.com> -Date: Sun, 18 Jun 2023 15:56:23 +0200 -Subject: [PATCH] TST: disable `test_new_policy` test for memory allocator. - -This is way too slow, running a large part of the test suite twice. -Issue 23975 tracks changing how this feature is tested. ---- - numpy/core/tests/test_mem_policy.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/numpy/core/tests/test_mem_policy.py b/numpy/core/tests/test_mem_policy.py -index b4e2f65916c..0855d60771a 100644 ---- a/numpy/core/tests/test_mem_policy.py -+++ b/numpy/core/tests/test_mem_policy.py -@@ -359,7 +359,7 @@ def test_thread_locality(get_module): - assert np.core.multiarray.get_handler_name() == orig_policy_name - - --@pytest.mark.slow -+@pytest.mark.skip(reason="too slow, see gh-23975") - def test_new_policy(get_module): - a = np.arange(10) - orig_policy_name = np.core.multiarray.get_handler_name(a) - -From b0872b858e2e6ebc394e95c81a024dcf1573c690 Mon Sep 17 00:00:00 2001 -From: Ralf Gommers <ralf.gommers@gmail.com> -Date: Mon, 19 Jun 2023 11:07:19 +0200 -Subject: [PATCH] TST: skip refcount related tests on py312 - -Python 3.12 has immortal refcounts; the initial and final -values will be the same when accessing `sys.getrefcount` inside a -test. - -Closes gh-23986 ---- a/numpy/core/tests/test_dtype.py -+++ b/numpy/core/tests/test_dtype.py -@@ -755,6 +755,11 @@ def iter_struct_object_dtypes(): - yield pytest.param(dt, p, 12, obj, id="<structured subarray 2>") - - -+@pytest.mark.skipif( -+ sys.version_info >= (3, 12), -+ reason="Python 3.12 has immortal refcounts, this test will no longer " -+ "work. See gh-23986" -+) - @pytest.mark.skipif(not HAS_REFCOUNT, reason="Python lacks refcounts") - class TestStructuredObjectRefcounting: - """These tests cover various uses of complicated structured types which ---- a/numpy/core/tests/test_regression.py -+++ b/numpy/core/tests/test_regression.py -@@ -1465,6 +1465,10 @@ def test_structured_arrays_with_objects1(self): - x[x.nonzero()] = x.ravel()[:1] - assert_(x[0, 1] == x[0, 0]) - -+ @pytest.mark.skipif( -+ sys.version_info >= (3, 12), -+ reason="Python 3.12 has immortal refcounts, this test no longer works." -+ ) - @pytest.mark.skipif(not HAS_REFCOUNT, reason="Python lacks refcounts") - def test_structured_arrays_with_objects2(self): - # Ticket #1299 second test - -From e42fc93b54a6d41dab72d86921f96e5ebc4c4198 Mon Sep 17 00:00:00 2001 -From: Ralf Gommers <ralf.gommers@gmail.com> -Date: Mon, 19 Jun 2023 11:14:38 +0200 -Subject: [PATCH] TST: skip memory allocator and `array_interface` tests on - py312 - -They require numpy.distutils, which isn't available on >=3.12 -The `numpy.testing.extbuild` utility will need changing to make this -work again. Could either use plain `setuptools` or `meson`. ---- a/numpy/core/tests/test_array_interface.py -+++ b/numpy/core/tests/test_array_interface.py -@@ -128,6 +128,9 @@ def get_module(tmp_path): - more_init=more_init) - - -+# FIXME: numpy.testing.extbuild uses `numpy.distutils`, so this won't work on -+# Python 3.12 and up. -+@pytest.mark.skipif(sys.version_info >= (3, 12), reason="no numpy.distutils") - @pytest.mark.slow - def test_cstruct(get_module): - ---- a/numpy/core/tests/test_mem_policy.py -+++ b/numpy/core/tests/test_mem_policy.py -@@ -9,6 +9,11 @@ - import sys - - -+# FIXME: numpy.testing.extbuild uses `numpy.distutils`, so this won't work on -+# Python 3.12 and up. It's an internal test utility, so for now we just skip -+# these tests. -+ -+ - @pytest.fixture - def get_module(tmp_path): - """ Add a memory policy that returns a false pointer 64 bytes into the -@@ -213,6 +218,7 @@ def get_module(tmp_path): - more_init=more_init) - - -+@pytest.mark.skipif(sys.version_info >= (3, 12), reason="no numpy.distutils") - def test_set_policy(get_module): - - get_handler_name = np.core.multiarray.get_handler_name -@@ -241,6 +247,7 @@ def test_set_policy(get_module): - assert get_handler_name() == orig_policy_name - - -+@pytest.mark.skipif(sys.version_info >= (3, 12), reason="no numpy.distutils") - def test_default_policy_singleton(get_module): - get_handler_name = np.core.multiarray.get_handler_name - -@@ -262,6 +269,7 @@ def test_default_policy_singleton(get_module): - assert def_policy_1 is def_policy_2 is get_module.get_default_policy() - - -+@pytest.mark.skipif(sys.version_info >= (3, 12), reason="no numpy.distutils") - def test_policy_propagation(get_module): - # The memory policy goes hand-in-hand with flags.owndata - -@@ -320,6 +328,7 @@ async def async_test_context_locality(get_module): - assert np.core.multiarray.get_handler_name() == orig_policy_name - - -+@pytest.mark.skipif(sys.version_info >= (3, 12), reason="no numpy.distutils") - def test_context_locality(get_module): - if (sys.implementation.name == 'pypy' - and sys.pypy_version_info[:3] < (7, 3, 6)): -@@ -341,6 +350,7 @@ def concurrent_thread2(get_module, event): - get_module.set_secret_data_policy() - - -+@pytest.mark.skipif(sys.version_info >= (3, 12), reason="no numpy.distutils") - def test_thread_locality(get_module): - orig_policy_name = np.core.multiarray.get_handler_name() - -@@ -359,6 +369,7 @@ def test_thread_locality(get_module): - assert np.core.multiarray.get_handler_name() == orig_policy_name - - -+@pytest.mark.skipif(sys.version_info >= (3, 12), reason="no numpy.distutils") - @pytest.mark.skip(reason="too slow, see gh-23975") - def test_new_policy(get_module): - a = np.arange(10) -@@ -388,6 +399,8 @@ def test_new_policy(get_module): - c = np.arange(10) - assert np.core.multiarray.get_handler_name(c) == orig_policy_name - -+ -+@pytest.mark.skipif(sys.version_info >= (3, 12), reason="no numpy.distutils") - @pytest.mark.xfail(sys.implementation.name == "pypy", - reason=("bad interaction between getenv and " - "os.environ inside pytest")) -@@ -420,6 +433,8 @@ def test_switch_owner(get_module, policy): - else: - os.environ['NUMPY_WARN_IF_NO_MEM_POLICY'] = oldval - -+ -+@pytest.mark.skipif(sys.version_info >= (3, 12), reason="no numpy.distutils") - def test_owner_is_base(get_module): - a = get_module.get_array_with_base() - with pytest.warns(UserWarning, match='warn_on_free'): - - -From 4552b6cb0083502f731794e961cd30b9b62ba2e3 Mon Sep 17 00:00:00 2001 -From: Ralf Gommers <ralf.gommers@gmail.com> -Date: Mon, 19 Jun 2023 12:07:32 +0200 -Subject: [PATCH] TST: skip test using `np.load` on py2-saved .npy file on - py312 - ---- a/numpy/lib/tests/test_format.py -+++ b/numpy/lib/tests/test_format.py -@@ -527,6 +527,7 @@ def test_load_padded_dtype(tmpdir, dt): - assert_array_equal(arr, arr1) - - -+@pytest.mark.skipif(sys.version_info >= (3, 12), reason="see gh-23988") - @pytest.mark.xfail(IS_WASM, reason="Emscripten NODEFS has a buggy dup") - def test_python2_python3_interoperability(): - fname = 'win64python2.npy' diff --git a/dev-python/numpy/files/numpy-1.25.0_rc1-meson-pyproject.toml.patch b/dev-python/numpy/files/numpy-1.25.0_rc1-meson-pyproject.toml.patch deleted file mode 100644 index b42e6cec1c73..000000000000 --- a/dev-python/numpy/files/numpy-1.25.0_rc1-meson-pyproject.toml.patch +++ /dev/null @@ -1,392 +0,0 @@ -https://github.com/numpy/numpy/pull/23838 - -From 669c1a16f9e905b5b33017aa1a17cc59716ccfc7 Mon Sep 17 00:00:00 2001 -From: Ralf Gommers <ralf.gommers@gmail.com> -Date: Mon, 29 May 2023 16:16:41 +0200 -Subject: [PATCH 01/11] BLD: default to using meson-python as build backend - ---- - pyproject.toml | 137 ++++++++++++++++----------------- - 3 files changed, 66 insertions(+), 77 deletions(-) - -diff --git a/pyproject.toml b/pyproject.toml -index 759b538fb6e..9f03fa8d0e5 100644 ---- a/pyproject.toml -+++ b/pyproject.toml -@@ -1,79 +1,72 @@ - [build-system] --# Uncomment this line, the `meson-python` requires line, and the [project] and --# [project.urls] tables below in order to build with Meson by default --#build-backend = "mesonpy" -+build-backend = "mesonpy" - requires = [ -- # setuptools, wheel and Cython are needed for the setup.py based build -- "setuptools==59.2.0", -- # `wheel` is needed for non-isolated builds, given that `meson-python` -- # doesn't list it as a runtime requirement (at least in 0.11.0) - it's -- # likely to be removed as a dependency in meson-python 0.12.0. -- "wheel==0.38.1", -- "Cython>=0.29.34,<3.0", --# "meson-python>=0.10.0", -+ "Cython>=0.29.34", -+ "meson-python>=0.13.1", - ] - --#[project] --#name = "numpy" --# --## Using https://peps.python.org/pep-0639/ --## which is still in draft --#license = {text = "BSD-3-Clause"} --## Note: needed for Meson, but setuptools errors on it. Uncomment once Meson is default. --##license-files.paths = [ --## "LICENSE.txt", --## "LICENSES_bundles.txt" --##] --# --#description = "Fundamental package for array computing in Python" --#authors = [{name = "Travis E. Oliphant et al."}] --#maintainers = [ --# {name = "NumPy Developers", email="numpy-discussion@python.org"}, --#] --#requires-python = ">=3.9" --#readme = "README.md" --#classifiers = [ --# 'Development Status :: 5 - Production/Stable', --# 'Intended Audience :: Science/Research', --# 'Intended Audience :: Developers', --# 'License :: OSI Approved :: BSD License', --# 'Programming Language :: C', --# 'Programming Language :: Python', --# 'Programming Language :: Python :: 3', --# 'Programming Language :: Python :: 3.9', --# 'Programming Language :: Python :: 3.10', --# 'Programming Language :: Python :: 3.11', --# 'Programming Language :: Python :: 3 :: Only', --# 'Programming Language :: Python :: Implementation :: CPython', --# 'Topic :: Software Development', --# 'Topic :: Scientific/Engineering', --# 'Typing :: Typed', --# 'Operating System :: Microsoft :: Windows', --# 'Operating System :: POSIX', --# 'Operating System :: Unix', --# 'Operating System :: MacOS', --#] --#dynamic = ["version", "scripts"] --# --#[project.scripts] --## Note: this is currently dynamic, see setup.py. Can we get rid of that? --## see commit f22a33b71 for rationale for dynamic behavior --#'f2py = numpy.f2py.f2py2e:main' --#'f2py3 = numpy.f2py.f2py2e:main' --#'f2py3.MINOR_VERSION = numpy.f2py.f2py2e:main' --# --# When enabling this stanza, make sure to remove the meson-specific xfail from --# numpy/tests/test_public_api.py --#[project.entry-points] --#'array_api': 'numpy = numpy.array_api' --#'pyinstaller40': 'hook-dirs = numpy:_pyinstaller_hooks_dir' --# --#[project.urls] --#homepage = "https://numpy.org" --#documentation = "https://numpy.org/doc/" --#source = "https://github.com/numpy/numpy" --#download = "https://pypi.org/project/numpy/#files" --#tracker = "https://github.com/numpy/numpy/issues" -+[project] -+name = "numpy" -+version = "2.0.0.dev0" -+ -+# Using https://peps.python.org/pep-0639/ which is still in draft -+license = {text = "BSD-3-Clause"} -+license-files.paths = [ -+ "LICENSE.txt", -+ "LICENSES_bundles.txt" -+] -+ -+description = "Fundamental package for array computing in Python" -+authors = [{name = "Travis E. Oliphant et al."}] -+maintainers = [ -+ {name = "NumPy Developers", email="numpy-discussion@python.org"}, -+] -+requires-python = ">=3.9" -+readme = "README.md" -+classifiers = [ -+ 'Development Status :: 5 - Production/Stable', -+ 'Intended Audience :: Science/Research', -+ 'Intended Audience :: Developers', -+ 'License :: OSI Approved :: BSD License', -+ 'Programming Language :: C', -+ 'Programming Language :: Python', -+ 'Programming Language :: Python :: 3', -+ 'Programming Language :: Python :: 3.9', -+ 'Programming Language :: Python :: 3.10', -+ 'Programming Language :: Python :: 3.11', -+ 'Programming Language :: Python :: 3.12', -+ 'Programming Language :: Python :: 3 :: Only', -+ 'Programming Language :: Python :: Implementation :: CPython', -+ 'Topic :: Software Development', -+ 'Topic :: Scientific/Engineering', -+ 'Typing :: Typed', -+ 'Operating System :: Microsoft :: Windows', -+ 'Operating System :: POSIX', -+ 'Operating System :: Unix', -+ 'Operating System :: MacOS', -+] -+#dynamic = ["scripts"] -+ -+[project.scripts] -+# TODO: this is currently dynamic for minor version support. See also the same -+# thing in setup.py. Can we get rid of that? see commit f22a33b71 for rationale -+# for dynamic behavior. -+f2py = 'numpy.f2py.f2py2e:main' -+f2py3 = 'numpy.f2py.f2py2e:main' -+#f2py3.MINOR_VERSION = 'numpy.f2py.f2py2e:main' -+ -+[project.entry-points.array_api] -+numpy = 'numpy.array_api' -+ -+[project.entry-points.pyinstaller40] -+hook-dirs = 'numpy:_pyinstaller_hooks_dir' -+ -+[project.urls] -+homepage = "https://numpy.org" -+documentation = "https://numpy.org/doc/" -+source = "https://github.com/numpy/numpy" -+download = "https://pypi.org/project/numpy/#files" -+tracker = "https://github.com/numpy/numpy/issues" - - [tool.towncrier] - # Do no set this since it is hard to import numpy inside the source directory - -From 02cae331443d6955dba8ce5e981c24a7b6c01ec6 Mon Sep 17 00:00:00 2001 -From: Ralf Gommers <ralf.gommers@gmail.com> -Date: Mon, 29 May 2023 18:51:54 +0200 -Subject: [PATCH 04/11] BLD: fix bug with CMake fallback detection of - BLAS/LAPACK - ---- - numpy/meson.build | 11 +++++++---- - 1 file changed, 7 insertions(+), 4 deletions(-) - -diff --git a/numpy/meson.build b/numpy/meson.build -index 7b85d8e92f5..ad1829a78db 100644 ---- a/numpy/meson.build -+++ b/numpy/meson.build -@@ -198,10 +198,13 @@ foreach name, dep : dependency_map - if dep.found() - conf_data.set(name + '_VERSION', dep.version()) - conf_data.set(name + '_TYPE_NAME', dep.type_name()) -- conf_data.set(name + '_INCLUDEDIR', dep.get_variable('includedir')) -- conf_data.set(name + '_LIBDIR', dep.get_variable('libdir')) -- conf_data.set(name + '_OPENBLAS_CONFIG', dep.get_variable('openblas_config')) -- conf_data.set(name + '_PCFILEDIR', dep.get_variable('pcfiledir')) -+ if dep.type_name() == 'pkgconfig' -+ # CMake detection yields less info, so we need to leave it blank there -+ conf_data.set(name + '_INCLUDEDIR', dep.get_variable('includedir')) -+ conf_data.set(name + '_LIBDIR', dep.get_variable('libdir')) -+ conf_data.set(name + '_OPENBLAS_CONFIG', dep.get_variable('openblas_config')) -+ conf_data.set(name + '_PCFILEDIR', dep.get_variable('pcfiledir')) -+ endif - endif - endforeach - - -From 84bea46fab251edd31bee8d8eae174cf2cb9315b Mon Sep 17 00:00:00 2001 -From: Ralf Gommers <ralf.gommers@gmail.com> -Date: Mon, 29 May 2023 19:15:29 +0200 -Subject: [PATCH 06/11] CI: keep the Emscripten/Pyodide job on a setup.py-based - build - ---- - pyproject.toml.setuppy | 9 +++++++++ - 2 files changed, 14 insertions(+), 1 deletion(-) - create mode 100644 pyproject.toml.setuppy - -diff --git a/pyproject.toml.setuppy b/pyproject.toml.setuppy -new file mode 100644 -index 00000000000..b28d93c8d52 ---- /dev/null -+++ b/pyproject.toml.setuppy -@@ -0,0 +1,9 @@ -+# pyproject.toml needed to build with setup.py -+# This file is used temporarily to replace the main pyproject.toml when needing -+# to avoid building with Meson (e.g., in the Emscripten/Pyodide CI job) -+[build-system] -+requires = [ -+ "setuptools==59.2.0", -+ "wheel==0.38.1", -+ "Cython>=0.29.34,<3.0", -+] - -From 027de0ab6d24e6336682ef6fa150ae09f007a5da Mon Sep 17 00:00:00 2001 -From: mattip <matti.picus@gmail.com> -Date: Sun, 11 Jun 2023 16:11:34 +0300 -Subject: [PATCH 07/11] use MSVC and force 64-bit OpenBLAS interfaces - ---- - pyproject.toml | 5 +++++ - 1 file changed, 5 insertions(+) - -diff --git a/pyproject.toml b/pyproject.toml -index 9f03fa8d0e5..6cef90c6962 100644 ---- a/pyproject.toml -+++ b/pyproject.toml -@@ -167,6 +167,11 @@ environment = { OPENBLAS64_="openblas", OPENBLAS="", NPY_USE_BLAS_ILP64="1", CFL - select = "*-win32" - environment = { OPENBLAS64_="", OPENBLAS="openblas", NPY_USE_BLAS_ILP64="0", CFLAGS="-m32", LDFLAGS="-m32" } - -+[tool.meson-python.args] -+setup = ['--vsenv'] -+# This should not be set on 32-bit builds... -+compile = ['-DBLAS_SYMBOL_SUFFIX=64_'] -+ - [tool.spin] - package = 'numpy' - - -From 9ce0d806a881c87a203efccf106cf5d3d6bb46e0 Mon Sep 17 00:00:00 2001 -From: mattip <matti.picus@gmail.com> -Date: Sun, 11 Jun 2023 16:28:35 +0300 -Subject: [PATCH 08/11] drop rtools in wheel builds, do - -DDBLAS_SYMBOL_SUFFIX=64_ differently - ---- - pyproject.toml | 8 +++----- - 2 files changed, 3 insertions(+), 16 deletions(-) - -diff --git a/pyproject.toml b/pyproject.toml -index 6cef90c6962..a9d7f87b2b5 100644 ---- a/pyproject.toml -+++ b/pyproject.toml -@@ -147,7 +147,7 @@ test-command = "bash {project}/tools/wheels/cibw_test_command.sh {project}" - manylinux-x86_64-image = "manylinux2014" - manylinux-aarch64-image = "manylinux2014" - musllinux-x86_64-image = "musllinux_1_1" --environment = { CFLAGS="-std=c99 -fno-strict-aliasing", LDFLAGS="-Wl,--strip-debug", OPENBLAS64_="/usr/local", NPY_USE_BLAS_ILP64="1", RUNNER_OS="Linux" } -+environment = { CFLAGS="-std=c99 -fno-strict-aliasing -DDBLAS_SYMBOL_SUFFIX=64_", LDFLAGS="-Wl,--strip-debug", OPENBLAS64_="/usr/local", NPY_USE_BLAS_ILP64="1", RUNNER_OS="Linux" } - - [tool.cibuildwheel.macos] - # For universal2 wheels, we will need to fuse them manually -@@ -158,10 +158,10 @@ environment = { CFLAGS="-std=c99 -fno-strict-aliasing", LDFLAGS="-Wl,--strip-deb - archs = "x86_64 arm64" - test-skip = "*_universal2:arm64" - # MACOS linker doesn't support stripping symbols --environment = { CFLAGS="-std=c99 -fno-strict-aliasing", OPENBLAS64_="/usr/local", NPY_USE_BLAS_ILP64="1", CC="clang", CXX = "clang++", RUNNER_OS="macOS" } -+environment = { CFLAGS="-std=c99 -fno-strict-aliasing -DDBLAS_SYMBOL_SUFFIX=64_", OPENBLAS64_="/usr/local", NPY_USE_BLAS_ILP64="1", CC="clang", CXX = "clang++", RUNNER_OS="macOS" } - - [tool.cibuildwheel.windows] --environment = { OPENBLAS64_="openblas", OPENBLAS="", NPY_USE_BLAS_ILP64="1", CFLAGS="", LDFLAGS="" } -+environment = { OPENBLAS64_="openblas", OPENBLAS="", NPY_USE_BLAS_ILP64="1", CFLAGS="-DDBLAS_SYMBOL_SUFFIX=64_", LDFLAGS="" } - - [[tool.cibuildwheel.overrides]] - select = "*-win32" -@@ -169,8 +169,6 @@ environment = { OPENBLAS64_="", OPENBLAS="openblas", NPY_USE_BLAS_ILP64="0", CFL - - [tool.meson-python.args] - setup = ['--vsenv'] --# This should not be set on 32-bit builds... --compile = ['-DBLAS_SYMBOL_SUFFIX=64_'] - - [tool.spin] - package = 'numpy' - -From 067e51454eeff3ce302144803baef92add308668 Mon Sep 17 00:00:00 2001 -From: mattip <matti.picus@gmail.com> -Date: Sun, 11 Jun 2023 17:05:02 +0300 -Subject: [PATCH 09/11] typo, install pkg-config on windows - ---- - pyproject.toml | 6 +++--- - 2 files changed, 8 insertions(+), 3 deletions(-) - -diff --git a/pyproject.toml b/pyproject.toml -index a9d7f87b2b5..a0b645938d1 100644 ---- a/pyproject.toml -+++ b/pyproject.toml -@@ -147,7 +147,7 @@ test-command = "bash {project}/tools/wheels/cibw_test_command.sh {project}" - manylinux-x86_64-image = "manylinux2014" - manylinux-aarch64-image = "manylinux2014" - musllinux-x86_64-image = "musllinux_1_1" --environment = { CFLAGS="-std=c99 -fno-strict-aliasing -DDBLAS_SYMBOL_SUFFIX=64_", LDFLAGS="-Wl,--strip-debug", OPENBLAS64_="/usr/local", NPY_USE_BLAS_ILP64="1", RUNNER_OS="Linux" } -+environment = { CFLAGS="-std=c99 -fno-strict-aliasing -DBLAS_SYMBOL_SUFFIX=64_", LDFLAGS="-Wl,--strip-debug", OPENBLAS64_="/usr/local", NPY_USE_BLAS_ILP64="1", RUNNER_OS="Linux" } - - [tool.cibuildwheel.macos] - # For universal2 wheels, we will need to fuse them manually -@@ -158,10 +158,10 @@ environment = { CFLAGS="-std=c99 -fno-strict-aliasing -DDBLAS_SYMBOL_SUFFIX=64_" - archs = "x86_64 arm64" - test-skip = "*_universal2:arm64" - # MACOS linker doesn't support stripping symbols --environment = { CFLAGS="-std=c99 -fno-strict-aliasing -DDBLAS_SYMBOL_SUFFIX=64_", OPENBLAS64_="/usr/local", NPY_USE_BLAS_ILP64="1", CC="clang", CXX = "clang++", RUNNER_OS="macOS" } -+environment = { CFLAGS="-std=c99 -fno-strict-aliasing -DBLAS_SYMBOL_SUFFIX=64_", OPENBLAS64_="/usr/local", NPY_USE_BLAS_ILP64="1", CC="clang", CXX = "clang++", RUNNER_OS="macOS" } - - [tool.cibuildwheel.windows] --environment = { OPENBLAS64_="openblas", OPENBLAS="", NPY_USE_BLAS_ILP64="1", CFLAGS="-DDBLAS_SYMBOL_SUFFIX=64_", LDFLAGS="" } -+environment = { OPENBLAS64_="openblas", OPENBLAS="", NPY_USE_BLAS_ILP64="1", CFLAGS="-DBLAS_SYMBOL_SUFFIX=64_", LDFLAGS="" } - - [[tool.cibuildwheel.overrides]] - select = "*-win32" - -From 9999c3f3a8c7facef77dc9859a8a25f39f14f7fd Mon Sep 17 00:00:00 2001 -From: mattip <matti.picus@gmail.com> -Date: Sun, 11 Jun 2023 22:18:57 +0300 -Subject: [PATCH 10/11] set PKG_CONFIG_PATH for windows, add CXXFLAGS - ---- - pyproject.toml | 6 +++--- - 2 files changed, 4 insertions(+), 3 deletions(-) - -diff --git a/pyproject.toml b/pyproject.toml -index a0b645938d1..32bde348d7d 100644 ---- a/pyproject.toml -+++ b/pyproject.toml -@@ -147,7 +147,7 @@ test-command = "bash {project}/tools/wheels/cibw_test_command.sh {project}" - manylinux-x86_64-image = "manylinux2014" - manylinux-aarch64-image = "manylinux2014" - musllinux-x86_64-image = "musllinux_1_1" --environment = { CFLAGS="-std=c99 -fno-strict-aliasing -DBLAS_SYMBOL_SUFFIX=64_", LDFLAGS="-Wl,--strip-debug", OPENBLAS64_="/usr/local", NPY_USE_BLAS_ILP64="1", RUNNER_OS="Linux" } -+environment = { CFLAGS="-std=c99 -fno-strict-aliasing -DBLAS_SYMBOL_SUFFIX=64_ -DHAVE_BLAS_ILP64", LDFLAGS="-Wl,--strip-debug", CXXFLAGS="-DBLAS_SYMBOL_SUFFIX=64_ -DHAVE_BLAS_ILP64", OPENBLAS64_="/usr/local", NPY_USE_BLAS_ILP64="1", RUNNER_OS="Linux"} - - [tool.cibuildwheel.macos] - # For universal2 wheels, we will need to fuse them manually -@@ -158,10 +158,10 @@ environment = { CFLAGS="-std=c99 -fno-strict-aliasing -DBLAS_SYMBOL_SUFFIX=64_", - archs = "x86_64 arm64" - test-skip = "*_universal2:arm64" - # MACOS linker doesn't support stripping symbols --environment = { CFLAGS="-std=c99 -fno-strict-aliasing -DBLAS_SYMBOL_SUFFIX=64_", OPENBLAS64_="/usr/local", NPY_USE_BLAS_ILP64="1", CC="clang", CXX = "clang++", RUNNER_OS="macOS" } -+environment = { CFLAGS="-std=c99 -fno-strict-aliasing -DBLAS_SYMBOL_SUFFIX=64_ -DHAVE_BLAS_ILP64", CXXFLAGS="-DBLAS_SYMBOL_SUFFIX=64_ -DHAVE_BLAS_ILP64", OPENBLAS64_="/usr/local", NPY_USE_BLAS_ILP64="1", CC="clang", CXX = "clang++", RUNNER_OS="macOS"} - - [tool.cibuildwheel.windows] --environment = { OPENBLAS64_="openblas", OPENBLAS="", NPY_USE_BLAS_ILP64="1", CFLAGS="-DBLAS_SYMBOL_SUFFIX=64_", LDFLAGS="" } -+environment = { OPENBLAS64_="openblas", OPENBLAS="", NPY_USE_BLAS_ILP64="1", CFLAGS="-DBLAS_SYMBOL_SUFFIX=64_ -DHAVE_BLAS_ILP64", CXXFLAGS="-DBLAS_SYMBOL_SUFFIX=64_ -DHAVE_BLAS_ILP64", LDFLAGS=""} - - [[tool.cibuildwheel.overrides]] - select = "*-win32" - -From ffcd334bd9da7ce4779e79636ecd047e2f20dd5b Mon Sep 17 00:00:00 2001 -From: mattip <matti.picus@gmail.com> -Date: Sun, 11 Jun 2023 23:17:00 +0300 -Subject: [PATCH 11/11] disable pypy builds, move PKG_CONFIG_PATH for windows - ---- - pyproject.toml | 4 ++-- - 3 files changed, 4 insertions(+), 5 deletions(-) - -diff --git a/pyproject.toml b/pyproject.toml -index 32bde348d7d..55065d1362f 100644 ---- a/pyproject.toml -+++ b/pyproject.toml -@@ -161,11 +161,11 @@ test-skip = "*_universal2:arm64" - environment = { CFLAGS="-std=c99 -fno-strict-aliasing -DBLAS_SYMBOL_SUFFIX=64_ -DHAVE_BLAS_ILP64", CXXFLAGS="-DBLAS_SYMBOL_SUFFIX=64_ -DHAVE_BLAS_ILP64", OPENBLAS64_="/usr/local", NPY_USE_BLAS_ILP64="1", CC="clang", CXX = "clang++", RUNNER_OS="macOS"} - - [tool.cibuildwheel.windows] --environment = { OPENBLAS64_="openblas", OPENBLAS="", NPY_USE_BLAS_ILP64="1", CFLAGS="-DBLAS_SYMBOL_SUFFIX=64_ -DHAVE_BLAS_ILP64", CXXFLAGS="-DBLAS_SYMBOL_SUFFIX=64_ -DHAVE_BLAS_ILP64", LDFLAGS=""} -+environment = { OPENBLAS64_="openblas", OPENBLAS="", NPY_USE_BLAS_ILP64="1", CFLAGS="-DBLAS_SYMBOL_SUFFIX=64_ -DHAVE_BLAS_ILP64", CXXFLAGS="-DBLAS_SYMBOL_SUFFIX=64_ -DHAVE_BLAS_ILP64", LDFLAGS="", PKG_CONFIG_PATH="D:\\a\\numpy\\numpy\\openblas\\lib\\pkgconfig;"} - - [[tool.cibuildwheel.overrides]] - select = "*-win32" --environment = { OPENBLAS64_="", OPENBLAS="openblas", NPY_USE_BLAS_ILP64="0", CFLAGS="-m32", LDFLAGS="-m32" } -+environment = { OPENBLAS64_="", OPENBLAS="openblas", NPY_USE_BLAS_ILP64="0", CFLAGS="-m32", LDFLAGS="-m32", PKG_CONFIG_PATH="D:\\a\\numpy\\numpy\\openblas\\lib\\pkgconfig;"} - - [tool.meson-python.args] - setup = ['--vsenv'] diff --git a/dev-python/numpy/files/numpy-1.25.1-fix-scalartypes.patch b/dev-python/numpy/files/numpy-1.25.1-fix-scalartypes.patch deleted file mode 100644 index aa381d243d88..000000000000 --- a/dev-python/numpy/files/numpy-1.25.1-fix-scalartypes.patch +++ /dev/null @@ -1,69 +0,0 @@ -https://bugs.gentoo.org/910739 -https://github.com/numpy/numpy/issues/24239 -https://github.com/numpy/numpy/pull/24240 -https://github.com/numpy/numpy/commit/d9c0c96582373de0990908c89ed75ae16279e8e5 - -From d9c0c96582373de0990908c89ed75ae16279e8e5 Mon Sep 17 00:00:00 2001 -From: Sam James <sam@gentoo.org> -Date: Sun, 23 Jul 2023 21:31:08 +0100 -Subject: [PATCH] BUG: Fix C types in scalartypes - -https://github.com/numpy/numpy/pull/23746 introduced a fast path for scalar -int conversions, but the map between Python types and C types was subtly -wrong. - -This fixes tests on at least ppc32 (big-endian). - -Many thanks to Sebastian Berg for debugging this with me and pointing out -what needed to be fixed. - -Closes #24239. - -Fixes: 81caed6e3c34c4bf4b22b4f6167e816ba2a3f73c ---- a/numpy/core/src/multiarray/scalartypes.c.src -+++ b/numpy/core/src/multiarray/scalartypes.c.src -@@ -283,34 +283,34 @@ genint_type_str(PyObject *self) - void *val = scalar_value(self, descr); - switch (descr->type_num) { - case NPY_BYTE: -- item = PyLong_FromLong(*(int8_t *)val); -+ item = PyLong_FromLong(*(npy_byte *)val); - break; - case NPY_UBYTE: -- item = PyLong_FromUnsignedLong(*(uint8_t *)val); -+ item = PyLong_FromUnsignedLong(*(npy_ubyte *)val); - break; - case NPY_SHORT: -- item = PyLong_FromLong(*(int16_t *)val); -+ item = PyLong_FromLong(*(npy_short *)val); - break; - case NPY_USHORT: -- item = PyLong_FromUnsignedLong(*(uint16_t *)val); -+ item = PyLong_FromUnsignedLong(*(npy_ushort *)val); - break; - case NPY_INT: -- item = PyLong_FromLong(*(int32_t *)val); -+ item = PyLong_FromLong(*(npy_int *)val); - break; - case NPY_UINT: -- item = PyLong_FromUnsignedLong(*(uint32_t *)val); -+ item = PyLong_FromUnsignedLong(*(npy_uint *)val); - break; - case NPY_LONG: -- item = PyLong_FromLong(*(int64_t *)val); -+ item = PyLong_FromLong(*(npy_long *)val); - break; - case NPY_ULONG: -- item = PyLong_FromUnsignedLong(*(uint64_t *)val); -+ item = PyLong_FromUnsignedLong(*(npy_ulong *)val); - break; - case NPY_LONGLONG: -- item = PyLong_FromLongLong(*(long long *)val); -+ item = PyLong_FromLongLong(*(npy_longlong *)val); - break; - case NPY_ULONGLONG: -- item = PyLong_FromUnsignedLongLong(*(unsigned long long *)val); -+ item = PyLong_FromUnsignedLongLong(*(npy_ulonglong *)val); - break; - default: - item = gentype_generic_method(self, NULL, NULL, "item"); diff --git a/dev-python/numpy/files/numpy-1.26.0_beta1-npy_cast_info.patch b/dev-python/numpy/files/numpy-1.26.0_beta1-npy_cast_info.patch deleted file mode 100644 index cd09573deb7f..000000000000 --- a/dev-python/numpy/files/numpy-1.26.0_beta1-npy_cast_info.patch +++ /dev/null @@ -1,44 +0,0 @@ -From 9cfb416aad45260e1cc837029638d6b39cea9e38 Mon Sep 17 00:00:00 2001 -From: Nathan Goldbaum <nathan.goldbaum@gmail.com> -Date: Mon, 21 Aug 2023 15:45:11 -0600 -Subject: [PATCH] BUG: fix NPY_cast_info error handling in choose - ---- - numpy/core/src/multiarray/item_selection.c | 2 +- - numpy/core/tests/test_multiarray.py | 6 ++++++ - 2 files changed, 7 insertions(+), 1 deletion(-) - -diff --git a/numpy/core/src/multiarray/item_selection.c b/numpy/core/src/multiarray/item_selection.c -index e935a27edb6..c1d4a950815 100644 ---- a/numpy/core/src/multiarray/item_selection.c -+++ b/numpy/core/src/multiarray/item_selection.c -@@ -968,6 +968,7 @@ PyArray_Choose(PyArrayObject *ip, PyObject *op, PyArrayObject *out, - PyArrayObject **mps, *ap; - PyArrayMultiIterObject *multi = NULL; - npy_intp mi; -+ NPY_cast_info cast_info = {.func = NULL}; - ap = NULL; - - /* -@@ -1045,7 +1046,6 @@ PyArray_Choose(PyArrayObject *ip, PyObject *op, PyArrayObject *out, - npy_intp transfer_strides[2] = {elsize, elsize}; - npy_intp one = 1; - NPY_ARRAYMETHOD_FLAGS transfer_flags = 0; -- NPY_cast_info cast_info = {.func = NULL}; - if (PyDataType_REFCHK(dtype)) { - int is_aligned = IsUintAligned(obj); - PyArray_GetDTypeTransferFunction( -diff --git a/numpy/core/tests/test_multiarray.py b/numpy/core/tests/test_multiarray.py -index 966b75cc122..2836c8985c9 100644 ---- a/numpy/core/tests/test_multiarray.py -+++ b/numpy/core/tests/test_multiarray.py -@@ -10043,3 +10043,9 @@ def test_gh_22683(): - np.choose(np.zeros(10000, dtype=int), [a], out=a) - refc_end = sys.getrefcount(b) - assert refc_end - refc_start < 10 -+ -+ -+def test_gh_24459(): -+ a = np.zeros((50, 3), dtype=np.float64) -+ with pytest.raises(TypeError): -+ np.choose(a, [3, -1]) diff --git a/dev-python/numpy/files/replace_cpuflags.awk b/dev-python/numpy/files/replace_cpuflags.awk deleted file mode 100644 index 11b8bd53b2c3..000000000000 --- a/dev-python/numpy/files/replace_cpuflags.awk +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/awk -f - -{ - GENTOO_ENABLE=1; - if (match($0, /flags="([^"=]*)"/, cflags)) { - split(cflags[1], fields); - for (i in fields) { - if (match(fields[i], /-m([[:graph:]]*)/, inst)) { - if (!index(enabled_flags, inst[1])) { - GENTOO_ENABLE=0; - }}}} - if (!GENTOO_ENABLE) { sub(cflags[1], "-mGENTOO_DISABLE"); } - print; -} diff --git a/dev-python/numpy/numpy-1.24.0.ebuild b/dev-python/numpy/numpy-1.24.0.ebuild deleted file mode 100644 index 474b73722a7b..000000000000 --- a/dev-python/numpy/numpy-1.24.0.ebuild +++ /dev/null @@ -1,161 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8,9,10,11} ) -PYTHON_REQ_USE="threads(+)" - -FORTRAN_NEEDED=lapack - -inherit distutils-r1 flag-o-matic fortran-2 pypi toolchain-funcs - -DOC_PV=${PV} -DESCRIPTION="Fast array and numerical python library" -HOMEPAGE=" - https://numpy.org/ - https://github.com/numpy/numpy/ - https://pypi.org/project/numpy/ -" -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="lapack" - -RDEPEND=" - lapack? ( - >=virtual/cblas-3.8 - >=virtual/lapack-3.8 - ) -" -BDEPEND=" - ${RDEPEND} - >=dev-python/cython-0.29.30[${PYTHON_USEDEP}] - lapack? ( - virtual/pkgconfig - ) - test? ( - >=dev-python/hypothesis-5.8.0[${PYTHON_USEDEP}] - >=dev-python/pytz-2019.3[${PYTHON_USEDEP}] - >=dev-python/cffi-1.14.0[${PYTHON_USEDEP}] - ) -" - -PATCHES=( - "${FILESDIR}"/numpy-1.22.0-no-hardcode-blasv2.patch -) - -distutils_enable_tests pytest - -python_prepare_all() { - # Allow use with setuptools 60.x - # See numpy-1.22.1-revert-setuptools-upper-bound.patch for details - export SETUPTOOLS_USE_DISTUTILS=stdlib - - if use lapack; then - local incdir="${EPREFIX}"/usr/include - local libdir="${EPREFIX}"/usr/$(get_libdir) - cat >> site.cfg <<-EOF || die - [blas] - include_dirs = ${incdir} - library_dirs = ${libdir} - blas_libs = cblas,blas - [lapack] - library_dirs = ${libdir} - lapack_libs = lapack - EOF - else - export {ATLAS,PTATLAS,BLAS,LAPACK,MKL}=None - fi - - export CC="$(tc-getCC) ${CFLAGS}" - - append-flags -fno-strict-aliasing - - # See progress in http://projects.scipy.org/scipy/numpy/ticket/573 - # with the subtle difference that we don't want to break Darwin where - # -shared is not a valid linker argument - if [[ ${CHOST} != *-darwin* ]]; then - append-ldflags -shared - fi - - # only one fortran to link with: - # linking with cblas and lapack library will force - # autodetecting and linking to all available fortran compilers - append-fflags -fPIC - if use lapack; then - NUMPY_FCONFIG="config_fc --noopt --noarch" - # workaround bug 335908 - [[ $(tc-getFC) == *gfortran* ]] && NUMPY_FCONFIG+=" --fcompiler=gnu95" - fi - - # don't version f2py, we will handle it. - sed -i -e '/f2py_exe/s: + os\.path.*$::' numpy/f2py/setup.py || die - - distutils-r1_python_prepare_all -} - -python_compile() { - export MAKEOPTS=-j1 #660754 - - distutils-r1_python_compile ${NUMPY_FCONFIG} -} - -python_test() { - local EPYTEST_DESELECT=( - # very disk- and memory-hungry - numpy/lib/tests/test_io.py::test_large_zip - - # precision problems - numpy/core/tests/test_umath_accuracy.py::TestAccuracy::test_validate_transcendentals - - # runs the whole test suite recursively, that's just crazy - numpy/core/tests/test_mem_policy.py::test_new_policy - - # very slow, unlikely to be practically useful - numpy/typing/tests/test_typing.py - ) - - if use arm && [[ $(uname -m || echo "unknown") == "armv8l" ]] ; then - # Degenerate case. arm32 chroot on arm64. - # bug #774108 - EPYTEST_DESELECT+=( - numpy/core/tests/test_cpu_features.py::Test_ARM_Features::test_features - ) - fi - - if use x86 ; then - EPYTEST_DESELECT+=( - # https://github.com/numpy/numpy/issues/18388 - numpy/core/tests/test_umath.py::TestRemainder::test_float_remainder_overflow - # https://github.com/numpy/numpy/issues/18387 - numpy/random/tests/test_generator_mt19937.py::TestRandomDist::test_pareto - # more precision problems - numpy/core/tests/test_einsum.py::TestEinsum::test_einsum_sums_int16 - ) - fi - if use arm || use x86 ; then - EPYTEST_DESELECT+=( - # too large for 32-bit platforms - numpy/core/tests/test_ufunc.py::TestUfunc::test_identityless_reduction_huge_array - ) - fi - - distutils_install_for_testing --single-version-externally-managed \ - --record "${TMPDIR}/record.txt" ${NUMPY_FCONFIG} - - cd "${TEST_DIR}/lib" || die - epytest -k "not _fuzz" -} - -python_install() { - # https://github.com/numpy/numpy/issues/16005 - local mydistutilsargs=( build_src ) - distutils-r1_python_install ${NUMPY_FCONFIG} - python_optimize -} - -python_install_all() { - local DOCS=( LICENSE.txt README.md THANKS.txt ) - distutils-r1_python_install_all -} diff --git a/dev-python/numpy/numpy-1.24.2.ebuild b/dev-python/numpy/numpy-1.24.2.ebuild deleted file mode 100644 index 8a80cdee8e02..000000000000 --- a/dev-python/numpy/numpy-1.24.2.ebuild +++ /dev/null @@ -1,166 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) -PYTHON_REQ_USE="threads(+)" - -FORTRAN_NEEDED=lapack - -inherit distutils-r1 flag-o-matic fortran-2 pypi toolchain-funcs - -DOC_PV=${PV} -DESCRIPTION="Fast array and numerical python library" -HOMEPAGE=" - https://numpy.org/ - https://github.com/numpy/numpy/ - https://pypi.org/project/numpy/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="lapack" - -RDEPEND=" - lapack? ( - >=virtual/cblas-3.8 - >=virtual/lapack-3.8 - ) -" -BDEPEND=" - ${RDEPEND} - >=dev-python/cython-0.29.30[${PYTHON_USEDEP}] - lapack? ( - virtual/pkgconfig - ) - test? ( - $(python_gen_cond_dep ' - >=dev-python/cffi-1.14.0[${PYTHON_USEDEP}] - ' 'python*') - dev-python/charset-normalizer[${PYTHON_USEDEP}] - >=dev-python/hypothesis-5.8.0[${PYTHON_USEDEP}] - >=dev-python/pytz-2019.3[${PYTHON_USEDEP}] - ) -" - -PATCHES=( - "${FILESDIR}"/numpy-1.22.0-no-hardcode-blasv2.patch -) - -distutils_enable_tests pytest - -python_prepare_all() { - # Allow use with setuptools 60.x - # See numpy-1.22.1-revert-setuptools-upper-bound.patch for details - export SETUPTOOLS_USE_DISTUTILS=stdlib - - if use lapack; then - local incdir="${EPREFIX}"/usr/include - local libdir="${EPREFIX}"/usr/$(get_libdir) - cat >> site.cfg <<-EOF || die - [blas] - include_dirs = ${incdir} - library_dirs = ${libdir} - blas_libs = cblas,blas - [lapack] - library_dirs = ${libdir} - lapack_libs = lapack - EOF - else - export {ATLAS,PTATLAS,BLAS,LAPACK,MKL}=None - fi - - export CC="$(tc-getCC) ${CFLAGS}" - - append-flags -fno-strict-aliasing - - # See progress in http://projects.scipy.org/scipy/numpy/ticket/573 - # with the subtle difference that we don't want to break Darwin where - # -shared is not a valid linker argument - if [[ ${CHOST} != *-darwin* ]]; then - append-ldflags -shared - fi - - # only one fortran to link with: - # linking with cblas and lapack library will force - # autodetecting and linking to all available fortran compilers - append-fflags -fPIC - if use lapack; then - NUMPY_FCONFIG="config_fc --noopt --noarch" - # workaround bug 335908 - [[ $(tc-getFC) == *gfortran* ]] && NUMPY_FCONFIG+=" --fcompiler=gnu95" - fi - - # don't version f2py, we will handle it. - sed -i -e '/f2py_exe/s: + os\.path.*$::' numpy/f2py/setup.py || die - - distutils-r1_python_prepare_all -} - -python_compile() { - export MAKEOPTS=-j1 #660754 - - distutils-r1_python_compile ${NUMPY_FCONFIG} -} - -python_test() { - local EPYTEST_DESELECT=( - # very disk- and memory-hungry - numpy/lib/tests/test_histograms.py::TestHistogram::test_big_arrays - numpy/lib/tests/test_io.py::test_large_zip - - # precision problems - numpy/core/tests/test_umath_accuracy.py::TestAccuracy::test_validate_transcendentals - - # runs the whole test suite recursively, that's just crazy - numpy/core/tests/test_mem_policy.py::test_new_policy - - # very slow, unlikely to be practically useful - numpy/typing/tests/test_typing.py - ) - - if use arm && [[ $(uname -m || echo "unknown") == "armv8l" ]] ; then - # Degenerate case. arm32 chroot on arm64. - # bug #774108 - EPYTEST_DESELECT+=( - numpy/core/tests/test_cpu_features.py::Test_ARM_Features::test_features - ) - fi - - if use x86 ; then - EPYTEST_DESELECT+=( - # https://github.com/numpy/numpy/issues/18388 - numpy/core/tests/test_umath.py::TestRemainder::test_float_remainder_overflow - # https://github.com/numpy/numpy/issues/18387 - numpy/random/tests/test_generator_mt19937.py::TestRandomDist::test_pareto - # more precision problems - numpy/core/tests/test_einsum.py::TestEinsum::test_einsum_sums_int16 - ) - fi - if use arm || use x86 ; then - EPYTEST_DESELECT+=( - # too large for 32-bit platforms - numpy/core/tests/test_ufunc.py::TestUfunc::test_identityless_reduction_huge_array - ) - fi - - distutils_install_for_testing --single-version-externally-managed \ - --record "${TMPDIR}/record.txt" ${NUMPY_FCONFIG} - - cd "${TEST_DIR}/lib" || die - epytest -k "not _fuzz" -} - -python_install() { - # https://github.com/numpy/numpy/issues/16005 - local mydistutilsargs=( build_src ) - distutils-r1_python_install ${NUMPY_FCONFIG} - python_optimize -} - -python_install_all() { - local DOCS=( LICENSE.txt README.md THANKS.txt ) - distutils-r1_python_install_all -} diff --git a/dev-python/numpy/numpy-1.24.4-r1.ebuild b/dev-python/numpy/numpy-1.24.4-r1.ebuild deleted file mode 100644 index 4c97778bb798..000000000000 --- a/dev-python/numpy/numpy-1.24.4-r1.ebuild +++ /dev/null @@ -1,187 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) -PYTHON_REQ_USE="threads(+)" - -FORTRAN_NEEDED=lapack - -inherit distutils-r1 flag-o-matic fortran-2 multiprocessing pypi -inherit toolchain-funcs - -DOC_PV=${PV} -DESCRIPTION="Fast array and numerical python library" -HOMEPAGE=" - https://numpy.org/ - https://github.com/numpy/numpy/ - https://pypi.org/project/numpy/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" -CPU_FLAGS_X86=( avx avx2 avx512dq avx512f avx512vl f16c fma4 popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3 xop ) -IUSE="lapack $(printf "cpu_flags_x86_%s\n" ${CPU_FLAGS_X86[@]})" - -RDEPEND=" - lapack? ( - >=virtual/cblas-3.8 - >=virtual/lapack-3.8 - ) -" -BDEPEND=" - ${RDEPEND} - <dev-python/cython-3[${PYTHON_USEDEP}] - >=dev-python/cython-0.29.30[${PYTHON_USEDEP}] - lapack? ( - virtual/pkgconfig - ) - test? ( - $(python_gen_cond_dep ' - >=dev-python/cffi-1.14.0[${PYTHON_USEDEP}] - ' 'python*') - dev-python/charset-normalizer[${PYTHON_USEDEP}] - >=dev-python/hypothesis-5.8.0[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - >=dev-python/pytz-2019.3[${PYTHON_USEDEP}] - ) -" - -PATCHES=( - "${FILESDIR}"/numpy-1.22.0-no-hardcode-blasv2.patch - "${FILESDIR}"/numpy-1.24.3-fix-c++-linkage.patch -) - -distutils_enable_tests pytest - -python_prepare_all() { - # Allow use with setuptools 60.x - # See numpy-1.22.1-revert-setuptools-upper-bound.patch for details - export SETUPTOOLS_USE_DISTUTILS=stdlib - - if use lapack; then - local incdir="${EPREFIX}"/usr/include - local libdir="${EPREFIX}"/usr/$(get_libdir) - cat >> site.cfg <<-EOF || die - [blas] - include_dirs = ${incdir} - library_dirs = ${libdir} - blas_libs = cblas,blas - [lapack] - library_dirs = ${libdir} - lapack_libs = lapack - EOF - else - export {ATLAS,PTATLAS,BLAS,LAPACK,MKL}=None - fi - - export CC="$(tc-getCC) ${CFLAGS}" - - append-flags -fno-strict-aliasing - - # See progress in http://projects.scipy.org/scipy/numpy/ticket/573 - # with the subtle difference that we don't want to break Darwin where - # -shared is not a valid linker argument - if [[ ${CHOST} != *-darwin* ]]; then - append-ldflags -shared - fi - - # only one fortran to link with: - # linking with cblas and lapack library will force - # autodetecting and linking to all available fortran compilers - append-fflags -fPIC - if use lapack; then - NUMPY_FCONFIG="config_fc --noopt --noarch" - # workaround bug 335908 - [[ $(tc-getFC) == *gfortran* ]] && NUMPY_FCONFIG+=" --fcompiler=gnu95" - fi - - # don't version f2py, we will handle it. - sed -i -e '/f2py_exe/s: + os\.path.*$::' numpy/f2py/setup.py || die - - # The following has no effect on architectures other than x86 and amd64. - local flag enabled_flags=() - for flag in "${CPU_FLAGS_X86[@]}"; do - use cpu_flags_x86_${flag} && enabled_flags+=( ${flag/_/.} ) - done - gawk -i inplace -v "enabled_flags=${enabled_flags[*]}" \ - -f "${FILESDIR}"/replace_cpuflags.awk \ - numpy/distutils/ccompiler_opt.py || die - rm -f numpy/distutils/tests/test_ccompiler_opt.py || die - - distutils-r1_python_prepare_all -} - -python_compile() { - local -x MAKEOPTS=-j1 #660754 - - distutils-r1_python_compile ${NUMPY_FCONFIG} -} - -python_test() { - local EPYTEST_DESELECT=( - # very disk- and memory-hungry - numpy/lib/tests/test_histograms.py::TestHistogram::test_big_arrays - numpy/lib/tests/test_io.py::test_large_zip - - # precision problems - numpy/core/tests/test_umath_accuracy.py::TestAccuracy::test_validate_transcendentals - - # runs the whole test suite recursively, that's just crazy - numpy/core/tests/test_mem_policy.py::test_new_policy - - # very slow, unlikely to be practically useful - numpy/typing/tests/test_typing.py - ) - - if use arm && [[ $(uname -m || echo "unknown") == "armv8l" ]] ; then - # Degenerate case. arm32 chroot on arm64. - # bug #774108 - EPYTEST_DESELECT+=( - numpy/core/tests/test_cpu_features.py::Test_ARM_Features::test_features - ) - fi - - if use x86 ; then - EPYTEST_DESELECT+=( - # https://github.com/numpy/numpy/issues/18388 - numpy/core/tests/test_umath.py::TestRemainder::test_float_remainder_overflow - # https://github.com/numpy/numpy/issues/18387 - numpy/random/tests/test_generator_mt19937.py::TestRandomDist::test_pareto - # more precision problems - numpy/core/tests/test_einsum.py::TestEinsum::test_einsum_sums_int16 - ) - fi - - case "${ABI}" in - alpha|arm|hppa|m68k|o32|ppc|s390|sh|sparc|x86) - EPYTEST_DESELECT+=( - # too large for 32-bit platforms - numpy/core/tests/test_ufunc.py::TestUfunc::test_identityless_reduction_huge_array - ) - ;; - *) - ;; - esac - - distutils_install_for_testing --single-version-externally-managed \ - --record "${TMPDIR}/record.txt" ${NUMPY_FCONFIG} - - cd "${TEST_DIR}/lib" || die - epytest -k "not _fuzz" -n "$(makeopts_jobs)" -} - -python_install() { - # https://github.com/numpy/numpy/issues/16005 - local mydistutilsargs=( build_src ) - distutils-r1_python_install ${NUMPY_FCONFIG} - python_optimize -} - -python_install_all() { - local DOCS=( LICENSE.txt README.md THANKS.txt ) - distutils-r1_python_install_all -} diff --git a/dev-python/numpy/numpy-1.24.4.ebuild b/dev-python/numpy/numpy-1.24.4.ebuild deleted file mode 100644 index 458593409e58..000000000000 --- a/dev-python/numpy/numpy-1.24.4.ebuild +++ /dev/null @@ -1,176 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) -PYTHON_REQ_USE="threads(+)" - -FORTRAN_NEEDED=lapack - -inherit distutils-r1 flag-o-matic fortran-2 multiprocessing pypi -inherit toolchain-funcs - -DOC_PV=${PV} -DESCRIPTION="Fast array and numerical python library" -HOMEPAGE=" - https://numpy.org/ - https://github.com/numpy/numpy/ - https://pypi.org/project/numpy/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="lapack" - -RDEPEND=" - lapack? ( - >=virtual/cblas-3.8 - >=virtual/lapack-3.8 - ) -" -BDEPEND=" - ${RDEPEND} - <dev-python/cython-3[${PYTHON_USEDEP}] - >=dev-python/cython-0.29.30[${PYTHON_USEDEP}] - lapack? ( - virtual/pkgconfig - ) - test? ( - $(python_gen_cond_dep ' - >=dev-python/cffi-1.14.0[${PYTHON_USEDEP}] - ' 'python*') - dev-python/charset-normalizer[${PYTHON_USEDEP}] - >=dev-python/hypothesis-5.8.0[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - >=dev-python/pytz-2019.3[${PYTHON_USEDEP}] - ) -" - -PATCHES=( - "${FILESDIR}"/numpy-1.22.0-no-hardcode-blasv2.patch - "${FILESDIR}"/numpy-1.24.3-fix-c++-linkage.patch -) - -distutils_enable_tests pytest - -python_prepare_all() { - # Allow use with setuptools 60.x - # See numpy-1.22.1-revert-setuptools-upper-bound.patch for details - export SETUPTOOLS_USE_DISTUTILS=stdlib - - if use lapack; then - local incdir="${EPREFIX}"/usr/include - local libdir="${EPREFIX}"/usr/$(get_libdir) - cat >> site.cfg <<-EOF || die - [blas] - include_dirs = ${incdir} - library_dirs = ${libdir} - blas_libs = cblas,blas - [lapack] - library_dirs = ${libdir} - lapack_libs = lapack - EOF - else - export {ATLAS,PTATLAS,BLAS,LAPACK,MKL}=None - fi - - export CC="$(tc-getCC) ${CFLAGS}" - - append-flags -fno-strict-aliasing - - # See progress in http://projects.scipy.org/scipy/numpy/ticket/573 - # with the subtle difference that we don't want to break Darwin where - # -shared is not a valid linker argument - if [[ ${CHOST} != *-darwin* ]]; then - append-ldflags -shared - fi - - # only one fortran to link with: - # linking with cblas and lapack library will force - # autodetecting and linking to all available fortran compilers - append-fflags -fPIC - if use lapack; then - NUMPY_FCONFIG="config_fc --noopt --noarch" - # workaround bug 335908 - [[ $(tc-getFC) == *gfortran* ]] && NUMPY_FCONFIG+=" --fcompiler=gnu95" - fi - - # don't version f2py, we will handle it. - sed -i -e '/f2py_exe/s: + os\.path.*$::' numpy/f2py/setup.py || die - - distutils-r1_python_prepare_all -} - -python_compile() { - local -x MAKEOPTS=-j1 #660754 - - distutils-r1_python_compile ${NUMPY_FCONFIG} -} - -python_test() { - local EPYTEST_DESELECT=( - # very disk- and memory-hungry - numpy/lib/tests/test_histograms.py::TestHistogram::test_big_arrays - numpy/lib/tests/test_io.py::test_large_zip - - # precision problems - numpy/core/tests/test_umath_accuracy.py::TestAccuracy::test_validate_transcendentals - - # runs the whole test suite recursively, that's just crazy - numpy/core/tests/test_mem_policy.py::test_new_policy - - # very slow, unlikely to be practically useful - numpy/typing/tests/test_typing.py - ) - - if use arm && [[ $(uname -m || echo "unknown") == "armv8l" ]] ; then - # Degenerate case. arm32 chroot on arm64. - # bug #774108 - EPYTEST_DESELECT+=( - numpy/core/tests/test_cpu_features.py::Test_ARM_Features::test_features - ) - fi - - if use x86 ; then - EPYTEST_DESELECT+=( - # https://github.com/numpy/numpy/issues/18388 - numpy/core/tests/test_umath.py::TestRemainder::test_float_remainder_overflow - # https://github.com/numpy/numpy/issues/18387 - numpy/random/tests/test_generator_mt19937.py::TestRandomDist::test_pareto - # more precision problems - numpy/core/tests/test_einsum.py::TestEinsum::test_einsum_sums_int16 - ) - fi - - case "${ABI}" in - alpha|arm|hppa|m68k|o32|ppc|s390|sh|sparc|x86) - EPYTEST_DESELECT+=( - # too large for 32-bit platforms - numpy/core/tests/test_ufunc.py::TestUfunc::test_identityless_reduction_huge_array - ) - ;; - *) - ;; - esac - - distutils_install_for_testing --single-version-externally-managed \ - --record "${TMPDIR}/record.txt" ${NUMPY_FCONFIG} - - cd "${TEST_DIR}/lib" || die - epytest -k "not _fuzz" -n "$(makeopts_jobs)" -} - -python_install() { - # https://github.com/numpy/numpy/issues/16005 - local mydistutilsargs=( build_src ) - distutils-r1_python_install ${NUMPY_FCONFIG} - python_optimize -} - -python_install_all() { - local DOCS=( LICENSE.txt README.md THANKS.txt ) - distutils-r1_python_install_all -} diff --git a/dev-python/numpy/numpy-1.25.1-r3.ebuild b/dev-python/numpy/numpy-1.25.1-r3.ebuild deleted file mode 100644 index 1f3ce7265898..000000000000 --- a/dev-python/numpy/numpy-1.25.1-r3.ebuild +++ /dev/null @@ -1,159 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=meson-python -PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) -PYTHON_REQ_USE="threads(+)" -FORTRAN_NEEDED=lapack - -inherit distutils-r1 flag-o-matic fortran-2 multiprocessing pypi toolchain-funcs - -DESCRIPTION="Fast array and numerical python library" -HOMEPAGE=" - https://numpy.org/ - https://github.com/numpy/numpy/ - https://pypi.org/project/numpy/ -" - -LICENSE="BSD" -SLOT="0" -IUSE="lapack" -if [[ ${PV} != *_rc* ]] ; then - KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -fi - -RDEPEND=" - lapack? ( - >=virtual/cblas-3.8 - >=virtual/lapack-3.8 - ) -" -BDEPEND=" - ${RDEPEND} - >=dev-util/meson-1.1.0 - >=dev-python/cython-0.29.30[${PYTHON_USEDEP}] - lapack? ( - virtual/pkgconfig - ) - test? ( - $(python_gen_cond_dep ' - >=dev-python/cffi-1.14.0[${PYTHON_USEDEP}] - ' 'python*') - dev-python/charset-normalizer[${PYTHON_USEDEP}] - >=dev-python/hypothesis-5.8.0[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - >=dev-python/pytz-2019.3[${PYTHON_USEDEP}] - ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-1.25.0_rc1-meson-pyproject.toml.patch - "${FILESDIR}"/${PN}-1.25.0-skip-python3.12-irrelevant-tests.patch - "${FILESDIR}"/${PN}-1.25.1-fix-scalartypes.patch -) - -distutils_enable_tests pytest - -python_prepare_all() { - append-flags -fno-strict-aliasing - - distutils-r1_python_prepare_all - - # TODO: Please drop once 1.25.0_rc1-meson-pyproject.toml.patch is gone - sed -i -e "s:version = \"2.0.0.dev0\":version = \"${PV}\":" pyproject.toml || die -} - -python_configure_all() { - DISTUTILS_ARGS=( - -Dblas=$(usev lapack cblas) - -Dlapack=$(usev lapack lapack) - ) -} - -python_test() { - local EPYTEST_DESELECT=( - # very disk-and-memory-hungry - lib/tests/test_io.py::test_large_zip - - # precision problems - core/tests/test_umath_accuracy.py::TestAccuracy::test_validate_transcendentals - - # runs the whole test suite recursively, that's just crazy - core/tests/test_mem_policy.py::test_new_policy - - # XXX: I've no idea why this ends up being needed in deselect and not ignore - typing/tests/test_typing.py - ) - - if [[ ${EPYTHON} == pypy3 ]]; then - EPYTEST_DESELECT+=( - # TODO: crashed - lib/tests/test_histograms.py::TestHistogram::test_big_arrays - ) - fi - - if use arm && [[ $(uname -m || echo "unknown") == "armv8l" ]] ; then - # Degenerate case of arm32 chroot on arm64, bug #774108 - EPYTEST_DESELECT+=( - core/tests/test_cpu_features.py::Test_ARM_Features::test_features - ) - fi - - if use x86 ; then - EPYTEST_DESELECT+=( - # https://github.com/numpy/numpy/issues/18388 - core/tests/test_umath.py::TestRemainder::test_float_remainder_overflow - # https://github.com/numpy/numpy/issues/18387 - random/tests/test_generator_mt19937.py::TestRandomDist::test_pareto - # more precision problems - core/tests/test_einsum.py::TestEinsum::test_einsum_sums_int16 - ) - fi - - if use hppa ; then - EPYTEST_DESELECT+=( - # TODO: Get selectedrealkind updated! - # bug #907228 - # https://github.com/numpy/numpy/issues/3424 (https://github.com/numpy/numpy/issues/3424#issuecomment-412369029) - # https://github.com/numpy/numpy/pull/21785 - f2py/tests/test_kind.py::TestKind::test_real - f2py/tests/test_kind.py::TestKind::test_quad_precision - ) - fi - - if [[ $(tc-endian) == "big" ]] ; then - # https://github.com/numpy/numpy/issues/11831 and bug #707116 - EPYTEST_DESELECT+=( - 'f2py/tests/test_return_character.py::TestFReturnCharacter::test_all_f77[s1]' - 'f2py/tests/test_return_character.py::TestFReturnCharacter::test_all_f90[t1]' - 'f2py/tests/test_return_character.py::TestFReturnCharacter::test_all_f90[s1]' - 'f2py/tests/test_return_character.py::TestFReturnCharacter::test_all_f77[t1]' - f2py/tests/test_kind.py::TestKind::test_int - ) - fi - - case "${ABI}" in - alpha|arm|hppa|m68k|o32|ppc|s390|sh|sparc|x86) - EPYTEST_DESELECT+=( - # too large for 32-bit platforms - core/tests/test_ufunc.py::TestUfunc::test_identityless_reduction_huge_array - 'core/tests/test_multiarray.py::TestDot::test_huge_vectordot[float64]' - 'core/tests/test_multiarray.py::TestDot::test_huge_vectordot[complex128]' - lib/tests/test_histograms.py::TestHistogram::test_big_arrays - ) - ;; - *) - ;; - esac - - rm -rf numpy || die - epytest -n "$(makeopts_jobs)" --pyargs numpy -} - -python_install_all() { - local DOCS=( LICENSE.txt README.md THANKS.txt ) - distutils-r1_python_install_all -} diff --git a/dev-python/numpy/numpy-1.25.2.ebuild b/dev-python/numpy/numpy-1.25.2.ebuild index 6516386337b3..a0524dab4db3 100644 --- a/dev-python/numpy/numpy-1.25.2.ebuild +++ b/dev-python/numpy/numpy-1.25.2.ebuild @@ -23,7 +23,7 @@ LICENSE="BSD" SLOT="0" IUSE="lapack" if [[ ${PV} != *_rc* ]] ; then - KEYWORDS="amd64 ~arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc ~x86" + KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86" fi RDEPEND=" diff --git a/dev-python/numpy/numpy-1.26.0_beta1-r1.ebuild b/dev-python/numpy/numpy-1.26.0_beta1-r1.ebuild deleted file mode 100644 index e35736dbefae..000000000000 --- a/dev-python/numpy/numpy-1.26.0_beta1-r1.ebuild +++ /dev/null @@ -1,154 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=meson-python -PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) -PYTHON_REQ_USE="threads(+)" -FORTRAN_NEEDED=lapack - -inherit distutils-r1 flag-o-matic fortran-2 multiprocessing pypi toolchain-funcs - -DESCRIPTION="Fast array and numerical python library" -HOMEPAGE=" - https://numpy.org/ - https://github.com/numpy/numpy/ - https://pypi.org/project/numpy/ -" - -LICENSE="BSD" -SLOT="0" -IUSE="lapack" -if [[ ${PV} != *_[rab]* ]] ; then - KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -fi - -RDEPEND=" - lapack? ( - >=virtual/cblas-3.8 - >=virtual/lapack-3.8 - ) -" -BDEPEND=" - ${RDEPEND} - >=dev-util/meson-1.1.0 - >=dev-python/cython-3.0.0[${PYTHON_USEDEP}] - lapack? ( - virtual/pkgconfig - ) - test? ( - $(python_gen_cond_dep ' - >=dev-python/cffi-1.14.0[${PYTHON_USEDEP}] - ' 'python*') - dev-python/charset-normalizer[${PYTHON_USEDEP}] - >=dev-python/hypothesis-5.8.0[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - >=dev-python/pytz-2019.3[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_prepare_all() { - local PATCHES=( - # https://github.com/numpy/numpy/pull/24484 - "${FILESDIR}/${P}-npy_cast_info.patch" - ) - - append-flags -fno-strict-aliasing - - distutils-r1_python_prepare_all -} - -python_configure_all() { - DISTUTILS_ARGS=( - -Dblas=$(usev lapack cblas) - -Dlapack=$(usev lapack lapack) - # TODO: cpu-* options - ) -} - -python_test() { - local EPYTEST_DESELECT=( - # Very disk-and-memory-hungry - lib/tests/test_io.py::TestSaveTxt::test_large_zip - lib/tests/test_io.py::TestSavezLoad::test_closing_fid - lib/tests/test_io.py::TestSavezLoad::test_closing_zipfile_after_load - - # Precision problems - core/tests/test_umath_accuracy.py::TestAccuracy::test_validate_transcendentals - - # Runs the whole test suite recursively, that's just crazy - core/tests/test_mem_policy.py::test_new_policy - - typing/tests/test_typing.py - # Uses huge amount of memory - core/tests/test_mem_overlap.py - - # TODO: crashes - lib/tests/test_histograms.py::TestHistogram::test_big_arrays - ) - - if use arm && [[ $(uname -m || echo "unknown") == "armv8l" ]] ; then - # Degenerate case of arm32 chroot on arm64, bug #774108 - EPYTEST_DESELECT+=( - core/tests/test_cpu_features.py::Test_ARM_Features::test_features - ) - fi - - if use x86 ; then - EPYTEST_DESELECT+=( - # https://github.com/numpy/numpy/issues/18388 - core/tests/test_umath.py::TestRemainder::test_float_remainder_overflow - # https://github.com/numpy/numpy/issues/18387 - random/tests/test_generator_mt19937.py::TestRandomDist::test_pareto - # more precision problems - core/tests/test_einsum.py::TestEinsum::test_einsum_sums_int16 - ) - fi - - if use hppa ; then - EPYTEST_DESELECT+=( - # TODO: Get selectedrealkind updated! - # bug #907228 - # https://github.com/numpy/numpy/issues/3424 (https://github.com/numpy/numpy/issues/3424#issuecomment-412369029) - # https://github.com/numpy/numpy/pull/21785 - f2py/tests/test_kind.py::TestKind::test_real - f2py/tests/test_kind.py::TestKind::test_quad_precision - ) - fi - - if [[ $(tc-endian) == "big" ]] ; then - # https://github.com/numpy/numpy/issues/11831 and bug #707116 - EPYTEST_DESELECT+=( - 'f2py/tests/test_return_character.py::TestFReturnCharacter::test_all_f77[s1]' - 'f2py/tests/test_return_character.py::TestFReturnCharacter::test_all_f90[t1]' - 'f2py/tests/test_return_character.py::TestFReturnCharacter::test_all_f90[s1]' - 'f2py/tests/test_return_character.py::TestFReturnCharacter::test_all_f77[t1]' - f2py/tests/test_kind.py::TestKind::test_int - ) - fi - - case "${ABI}" in - alpha|arm|hppa|m68k|o32|ppc|s390|sh|sparc|x86) - EPYTEST_DESELECT+=( - # too large for 32-bit platforms - core/tests/test_ufunc.py::TestUfunc::test_identityless_reduction_huge_array - 'core/tests/test_multiarray.py::TestDot::test_huge_vectordot[float64]' - 'core/tests/test_multiarray.py::TestDot::test_huge_vectordot[complex128]' - ) - ;; - *) - ;; - esac - - rm -rf numpy || die - epytest -n "$(makeopts_jobs)" --pyargs numpy -} - -python_install_all() { - local DOCS=( LICENSE.txt README.md THANKS.txt ) - distutils-r1_python_install_all -} diff --git a/dev-python/numpy/numpy-1.26.0_beta1.ebuild b/dev-python/numpy/numpy-1.26.0_beta1.ebuild deleted file mode 100644 index 21aa6ca025c4..000000000000 --- a/dev-python/numpy/numpy-1.26.0_beta1.ebuild +++ /dev/null @@ -1,149 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=meson-python -PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) -PYTHON_REQ_USE="threads(+)" -FORTRAN_NEEDED=lapack - -inherit distutils-r1 flag-o-matic fortran-2 multiprocessing pypi toolchain-funcs - -DESCRIPTION="Fast array and numerical python library" -HOMEPAGE=" - https://numpy.org/ - https://github.com/numpy/numpy/ - https://pypi.org/project/numpy/ -" - -LICENSE="BSD" -SLOT="0" -IUSE="lapack" -if [[ ${PV} != *_[rab]* ]] ; then - KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -fi - -RDEPEND=" - lapack? ( - >=virtual/cblas-3.8 - >=virtual/lapack-3.8 - ) -" -BDEPEND=" - ${RDEPEND} - >=dev-util/meson-1.1.0 - >=dev-python/cython-3.0.0[${PYTHON_USEDEP}] - lapack? ( - virtual/pkgconfig - ) - test? ( - $(python_gen_cond_dep ' - >=dev-python/cffi-1.14.0[${PYTHON_USEDEP}] - ' 'python*') - dev-python/charset-normalizer[${PYTHON_USEDEP}] - >=dev-python/hypothesis-5.8.0[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - >=dev-python/pytz-2019.3[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_prepare_all() { - append-flags -fno-strict-aliasing - - distutils-r1_python_prepare_all -} - -python_configure_all() { - DISTUTILS_ARGS=( - -Dblas=$(usev lapack cblas) - -Dlapack=$(usev lapack lapack) - # TODO: cpu-* options - ) -} - -python_test() { - local EPYTEST_DESELECT=( - # Very disk-and-memory-hungry - lib/tests/test_io.py::TestSaveTxt::test_large_zip - lib/tests/test_io.py::TestSavezLoad::test_closing_fid - lib/tests/test_io.py::TestSavezLoad::test_closing_zipfile_after_load - - # Precision problems - core/tests/test_umath_accuracy.py::TestAccuracy::test_validate_transcendentals - - # Runs the whole test suite recursively, that's just crazy - core/tests/test_mem_policy.py::test_new_policy - - typing/tests/test_typing.py - # Uses huge amount of memory - core/tests/test_mem_overlap.py - - # TODO: crashes - lib/tests/test_histograms.py::TestHistogram::test_big_arrays - ) - - if use arm && [[ $(uname -m || echo "unknown") == "armv8l" ]] ; then - # Degenerate case of arm32 chroot on arm64, bug #774108 - EPYTEST_DESELECT+=( - core/tests/test_cpu_features.py::Test_ARM_Features::test_features - ) - fi - - if use x86 ; then - EPYTEST_DESELECT+=( - # https://github.com/numpy/numpy/issues/18388 - core/tests/test_umath.py::TestRemainder::test_float_remainder_overflow - # https://github.com/numpy/numpy/issues/18387 - random/tests/test_generator_mt19937.py::TestRandomDist::test_pareto - # more precision problems - core/tests/test_einsum.py::TestEinsum::test_einsum_sums_int16 - ) - fi - - if use hppa ; then - EPYTEST_DESELECT+=( - # TODO: Get selectedrealkind updated! - # bug #907228 - # https://github.com/numpy/numpy/issues/3424 (https://github.com/numpy/numpy/issues/3424#issuecomment-412369029) - # https://github.com/numpy/numpy/pull/21785 - f2py/tests/test_kind.py::TestKind::test_real - f2py/tests/test_kind.py::TestKind::test_quad_precision - ) - fi - - if [[ $(tc-endian) == "big" ]] ; then - # https://github.com/numpy/numpy/issues/11831 and bug #707116 - EPYTEST_DESELECT+=( - 'f2py/tests/test_return_character.py::TestFReturnCharacter::test_all_f77[s1]' - 'f2py/tests/test_return_character.py::TestFReturnCharacter::test_all_f90[t1]' - 'f2py/tests/test_return_character.py::TestFReturnCharacter::test_all_f90[s1]' - 'f2py/tests/test_return_character.py::TestFReturnCharacter::test_all_f77[t1]' - f2py/tests/test_kind.py::TestKind::test_int - ) - fi - - case "${ABI}" in - alpha|arm|hppa|m68k|o32|ppc|s390|sh|sparc|x86) - EPYTEST_DESELECT+=( - # too large for 32-bit platforms - core/tests/test_ufunc.py::TestUfunc::test_identityless_reduction_huge_array - 'core/tests/test_multiarray.py::TestDot::test_huge_vectordot[float64]' - 'core/tests/test_multiarray.py::TestDot::test_huge_vectordot[complex128]' - ) - ;; - *) - ;; - esac - - rm -rf numpy || die - epytest -n "$(makeopts_jobs)" --pyargs numpy -} - -python_install_all() { - local DOCS=( LICENSE.txt README.md THANKS.txt ) - distutils-r1_python_install_all -} diff --git a/dev-python/numpy/numpy-1.26.0_rc1.ebuild b/dev-python/numpy/numpy-1.26.0_rc1.ebuild deleted file mode 100644 index 21aa6ca025c4..000000000000 --- a/dev-python/numpy/numpy-1.26.0_rc1.ebuild +++ /dev/null @@ -1,149 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=meson-python -PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) -PYTHON_REQ_USE="threads(+)" -FORTRAN_NEEDED=lapack - -inherit distutils-r1 flag-o-matic fortran-2 multiprocessing pypi toolchain-funcs - -DESCRIPTION="Fast array and numerical python library" -HOMEPAGE=" - https://numpy.org/ - https://github.com/numpy/numpy/ - https://pypi.org/project/numpy/ -" - -LICENSE="BSD" -SLOT="0" -IUSE="lapack" -if [[ ${PV} != *_[rab]* ]] ; then - KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -fi - -RDEPEND=" - lapack? ( - >=virtual/cblas-3.8 - >=virtual/lapack-3.8 - ) -" -BDEPEND=" - ${RDEPEND} - >=dev-util/meson-1.1.0 - >=dev-python/cython-3.0.0[${PYTHON_USEDEP}] - lapack? ( - virtual/pkgconfig - ) - test? ( - $(python_gen_cond_dep ' - >=dev-python/cffi-1.14.0[${PYTHON_USEDEP}] - ' 'python*') - dev-python/charset-normalizer[${PYTHON_USEDEP}] - >=dev-python/hypothesis-5.8.0[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - >=dev-python/pytz-2019.3[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_prepare_all() { - append-flags -fno-strict-aliasing - - distutils-r1_python_prepare_all -} - -python_configure_all() { - DISTUTILS_ARGS=( - -Dblas=$(usev lapack cblas) - -Dlapack=$(usev lapack lapack) - # TODO: cpu-* options - ) -} - -python_test() { - local EPYTEST_DESELECT=( - # Very disk-and-memory-hungry - lib/tests/test_io.py::TestSaveTxt::test_large_zip - lib/tests/test_io.py::TestSavezLoad::test_closing_fid - lib/tests/test_io.py::TestSavezLoad::test_closing_zipfile_after_load - - # Precision problems - core/tests/test_umath_accuracy.py::TestAccuracy::test_validate_transcendentals - - # Runs the whole test suite recursively, that's just crazy - core/tests/test_mem_policy.py::test_new_policy - - typing/tests/test_typing.py - # Uses huge amount of memory - core/tests/test_mem_overlap.py - - # TODO: crashes - lib/tests/test_histograms.py::TestHistogram::test_big_arrays - ) - - if use arm && [[ $(uname -m || echo "unknown") == "armv8l" ]] ; then - # Degenerate case of arm32 chroot on arm64, bug #774108 - EPYTEST_DESELECT+=( - core/tests/test_cpu_features.py::Test_ARM_Features::test_features - ) - fi - - if use x86 ; then - EPYTEST_DESELECT+=( - # https://github.com/numpy/numpy/issues/18388 - core/tests/test_umath.py::TestRemainder::test_float_remainder_overflow - # https://github.com/numpy/numpy/issues/18387 - random/tests/test_generator_mt19937.py::TestRandomDist::test_pareto - # more precision problems - core/tests/test_einsum.py::TestEinsum::test_einsum_sums_int16 - ) - fi - - if use hppa ; then - EPYTEST_DESELECT+=( - # TODO: Get selectedrealkind updated! - # bug #907228 - # https://github.com/numpy/numpy/issues/3424 (https://github.com/numpy/numpy/issues/3424#issuecomment-412369029) - # https://github.com/numpy/numpy/pull/21785 - f2py/tests/test_kind.py::TestKind::test_real - f2py/tests/test_kind.py::TestKind::test_quad_precision - ) - fi - - if [[ $(tc-endian) == "big" ]] ; then - # https://github.com/numpy/numpy/issues/11831 and bug #707116 - EPYTEST_DESELECT+=( - 'f2py/tests/test_return_character.py::TestFReturnCharacter::test_all_f77[s1]' - 'f2py/tests/test_return_character.py::TestFReturnCharacter::test_all_f90[t1]' - 'f2py/tests/test_return_character.py::TestFReturnCharacter::test_all_f90[s1]' - 'f2py/tests/test_return_character.py::TestFReturnCharacter::test_all_f77[t1]' - f2py/tests/test_kind.py::TestKind::test_int - ) - fi - - case "${ABI}" in - alpha|arm|hppa|m68k|o32|ppc|s390|sh|sparc|x86) - EPYTEST_DESELECT+=( - # too large for 32-bit platforms - core/tests/test_ufunc.py::TestUfunc::test_identityless_reduction_huge_array - 'core/tests/test_multiarray.py::TestDot::test_huge_vectordot[float64]' - 'core/tests/test_multiarray.py::TestDot::test_huge_vectordot[complex128]' - ) - ;; - *) - ;; - esac - - rm -rf numpy || die - epytest -n "$(makeopts_jobs)" --pyargs numpy -} - -python_install_all() { - local DOCS=( LICENSE.txt README.md THANKS.txt ) - distutils-r1_python_install_all -} diff --git a/dev-python/openstackdocstheme/Manifest b/dev-python/openstackdocstheme/Manifest index 4dcc6f121946..bd23e2b87cba 100644 --- a/dev-python/openstackdocstheme/Manifest +++ b/dev-python/openstackdocstheme/Manifest @@ -1,2 +1 @@ -DIST openstackdocstheme-3.1.1.tar.gz 1256245 BLAKE2B e0f1a9b13fe7e28e851eddcbf73a87b28509b9ea3d597a4680b3c8b39d309700f7fde8cf9fe9a63d6ec7210e505d24d541e1592553b8a8c9cd85b38de09a4442 SHA512 b620486617f5ab2e5ce149030a9bd79408a856709603725b2e17400253aaadee732c2ea5954d80c9ab384ac266d85e7e6698f3b525115183b38693718b3f195b DIST openstackdocstheme-3.2.0.tar.gz 1256119 BLAKE2B b4e0536d9846270597f9456998a9e38d728acee1f992793354dd814596dbc8b189e7e86d1aab4d85b97abdf9a0a502cdef884447fe66b8b57836cf07bec26f67 SHA512 8a9cff0ef68c78917a8a18653567683dda269ea1c4c915d183324ad28ecdfc111083c94082b4e47a88f46f8990a20e3d277478ac02febb3ea0c31067069f315b diff --git a/dev-python/openstackdocstheme/openstackdocstheme-3.1.1.ebuild b/dev-python/openstackdocstheme/openstackdocstheme-3.1.1.ebuild deleted file mode 100644 index ca833e8ae39d..000000000000 --- a/dev-python/openstackdocstheme/openstackdocstheme-3.1.1.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Theme and extension support for Sphinx documentation" -HOMEPAGE=" - https://docs.openstack.org/openstackdocstheme/latest/ - https://opendev.org/openstack/openstackdocstheme/ - https://github.com/openstack/openstackdocstheme/ - https://pypi.org/project/openstackdocstheme/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~ppc64 ~riscv ~s390 x86" - -BDEPEND=" - >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] -" -RDEPEND=" - ${BDEPEND} - >=dev-python/dulwich-0.15.0[${PYTHON_USEDEP}] -" diff --git a/dev-python/openstackdocstheme/openstackdocstheme-3.2.0.ebuild b/dev-python/openstackdocstheme/openstackdocstheme-3.2.0.ebuild index 88561c09f9e7..ca833e8ae39d 100644 --- a/dev-python/openstackdocstheme/openstackdocstheme-3.2.0.ebuild +++ b/dev-python/openstackdocstheme/openstackdocstheme-3.2.0.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc64 ~riscv ~s390 ~x86" +KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~ppc64 ~riscv ~s390 x86" BDEPEND=" >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] diff --git a/dev-python/oslo-concurrency/Manifest b/dev-python/oslo-concurrency/Manifest index 43f188acc845..94df29bc43f0 100644 --- a/dev-python/oslo-concurrency/Manifest +++ b/dev-python/oslo-concurrency/Manifest @@ -1,2 +1 @@ -DIST oslo.concurrency-5.1.1.tar.gz 59787 BLAKE2B 630e5bef3a4a49d0f7b8b7f79643ef5f737248ec45de0e801107142b898a252fe7c67be6e0f6db4b968e5a163a47d63bc5f756c592d4f729f62c24aa9aeca172 SHA512 2eac13529f1635d39b5866d20d1f077ddcb2a676e78f4f50abe1df13c2fbf9f85aea1b360fde01e983459dcdc4958783477a87eb8fad106362e81e0f77b36561 DIST oslo.concurrency-5.2.0.tar.gz 60052 BLAKE2B 9f45af8beaa5fc145963e3e12818325dff2a00178c3154a4cf7ce2950ca90d9771be590593cc195c2909930416501da1042768da9ba653c0126437bb518a338e SHA512 9f645aa611882e1b7218a7fbf65b54fef523d9cf067f894e9441c0a8de3ab80495ec8a167604412385edf12fc7a53b73ac0ef63e977889db7021dd5b93b0d72f diff --git a/dev-python/oslo-concurrency/oslo-concurrency-5.1.1.ebuild b/dev-python/oslo-concurrency/oslo-concurrency-5.1.1.ebuild deleted file mode 100644 index cd5579afe9ba..000000000000 --- a/dev-python/oslo-concurrency/oslo-concurrency-5.1.1.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 2021-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYPI_PN=${PN/-/.} -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Oslo Concurrency library" -HOMEPAGE=" - https://opendev.org/openstack/oslo.concurrency/ - https://github.com/openstack/oslo.concurrency/ - https://pypi.org/project/oslo.concurrency/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~riscv x86" - -RDEPEND=" - >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] - >=dev-python/oslo-config-5.2.0[${PYTHON_USEDEP}] - >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] - >=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}] - >=dev-python/fasteners-0.7.0[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/pbr-2.1.0[${PYTHON_USEDEP}] - test? ( - >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] - >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests unittest - -src_prepare() { - # fails, then hangs - rm oslo_concurrency/tests/unit/test_lockutils_eventlet.py || die - distutils-r1_src_prepare -} - -python_test() { - cd "${BUILD_DIR}/install$(python_get_sitedir)" || die - eunittest -} diff --git a/dev-python/oslo-concurrency/oslo-concurrency-5.2.0.ebuild b/dev-python/oslo-concurrency/oslo-concurrency-5.2.0.ebuild index 537d54179d71..cd5579afe9ba 100644 --- a/dev-python/oslo-concurrency/oslo-concurrency-5.2.0.ebuild +++ b/dev-python/oslo-concurrency/oslo-concurrency-5.2.0.ebuild @@ -19,7 +19,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +KEYWORDS="amd64 ~arm arm64 ~riscv x86" RDEPEND=" >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] diff --git a/dev-python/oslo-config/Manifest b/dev-python/oslo-config/Manifest index da42115c7e82..b501381d7c71 100644 --- a/dev-python/oslo-config/Manifest +++ b/dev-python/oslo-config/Manifest @@ -1,2 +1 @@ -DIST oslo.config-9.1.1.tar.gz 160964 BLAKE2B 180b76d9425b9be72dac22379618b69265ab7016044ac81ed826134036aa988d867882116a50597df62b702bfff4460ac17e7c1d435ff9a1f0028a2ff64b7a2f SHA512 820da069642a663cad0787ee4e100720dcc9870faeaa208c8aa5be5f3c6bbbf1e5e3d2cb8c5d86765fd4114744e2fd1a00902d79200ddeba5fcec2ed61405e4e DIST oslo.config-9.2.0.tar.gz 161235 BLAKE2B 186b79bab199db9369dd53952a9c6f54fafe17f950d7b66ed753f173a24726a6dbd06b794c73387f5ea6e77aa54a4d5bd0ef4752a5c564dfeea4e729fdf151e7 SHA512 69d8461f4ed5d4988fe527e4022c528244e9ecf76913a7af572e8073c0218987a69e6094edc56ff14eaf1b05fc5ffe7d81bb26ff17f87e4bd29a78d7959a3935 diff --git a/dev-python/oslo-config/oslo-config-9.1.1.ebuild b/dev-python/oslo-config/oslo-config-9.1.1.ebuild deleted file mode 100644 index 7e6f6af37d68..000000000000 --- a/dev-python/oslo-config/oslo-config-9.1.1.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYPI_PN=${PN/-/.} -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Oslo Configuration API" -HOMEPAGE=" - https://opendev.org/openstack/oslo.config/ - https://github.com/openstack/oslo.config/ - https://pypi.org/project/oslo.config/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~riscv x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - >=dev-python/pbr-1.3[${PYTHON_USEDEP}] - >=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}] - >=dev-python/netaddr-0.7.18[${PYTHON_USEDEP}] - >=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}] - >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] - >=dev-python/rfc3986-1.2.0[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] - >=dev-python/requests-2.18.0[${PYTHON_USEDEP}] - dev-python/importlib-metadata[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/pbr-1.3[${PYTHON_USEDEP}] - test? ( - >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] - >=dev-python/oslo-log-3.36.0[${PYTHON_USEDEP}] - >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] - >=dev-python/requests-mock-1.5.0[${PYTHON_USEDEP}] - >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] - >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests unittest - -src_prepare() { - # broken by some dep upgrade - sed -i -e '/DeprecationWarningTestsNoOsloLog/,$d' \ - oslo_config/tests/test_cfg.py || die - distutils-r1_src_prepare -} - -python_test() { - local -x COLUMNS=80 - eunittest -b -} diff --git a/dev-python/oslo-config/oslo-config-9.2.0.ebuild b/dev-python/oslo-config/oslo-config-9.2.0.ebuild index 96f8928a8965..7e6f6af37d68 100644 --- a/dev-python/oslo-config/oslo-config-9.2.0.ebuild +++ b/dev-python/oslo-config/oslo-config-9.2.0.ebuild @@ -19,7 +19,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm arm64 ~riscv x86 ~amd64-linux ~x86-linux" RDEPEND=" >=dev-python/pbr-1.3[${PYTHON_USEDEP}] diff --git a/dev-python/oslo-context/Manifest b/dev-python/oslo-context/Manifest index 1b59d35dbbee..60eef0b94c70 100644 --- a/dev-python/oslo-context/Manifest +++ b/dev-python/oslo-context/Manifest @@ -1,2 +1 @@ -DIST oslo.context-5.1.1.tar.gz 33596 BLAKE2B ec16afb8af4c8532ee865a2184ff7d85845d826146482113d1c3e2e7ec43bb26d4e23b73f0de7589b9e1c82f6ef6f441bbff6c153f6c2dc4a1f81efe1ced6de1 SHA512 49e411b33dbe66ed20851a830db3fb52dc19ace786f7ba9b07be772390791d914eb7dd8424d38d48540c82a8cdccaf6a5eb70f8d2ca6f81ce24dfa72e6a8fa3a DIST oslo.context-5.2.0.tar.gz 33729 BLAKE2B 3ad22132b4951d00e5e884e77fc3e5acc122c43a09176886a7ef1f7aba3ed8bd0df562295fd2107edc8178b791101ef45bf1b44681dfbc6de49a06661a44ebd4 SHA512 d79c34a5f30a2e8ef2d44678f2e8200ab96aa5ceca501152461ea0d9e9eedcfccc563a075bbc7b85a5deba9165890d29e8e604f278a374b0f90c973ee4265c3e diff --git a/dev-python/oslo-context/oslo-context-5.1.1.ebuild b/dev-python/oslo-context/oslo-context-5.1.1.ebuild deleted file mode 100644 index 689ac8504053..000000000000 --- a/dev-python/oslo-context/oslo-context-5.1.1.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYPI_PN=${PN/-/.} -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Helpers to maintain useful information about a request context" -HOMEPAGE=" - https://opendev.org/openstack/oslo.context/ - https://github.com/openstack/oslo.context/ - https://pypi.org/project/oslo.context/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~riscv x86" - -RDEPEND=" - >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] - >=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}] -" -BDEPEND=" - >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] - test? ( - >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] - >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests unittest -distutils_enable_sphinx doc/source \ - dev-python/openstackdocstheme diff --git a/dev-python/oslo-context/oslo-context-5.2.0.ebuild b/dev-python/oslo-context/oslo-context-5.2.0.ebuild index e72eb2364827..689ac8504053 100644 --- a/dev-python/oslo-context/oslo-context-5.2.0.ebuild +++ b/dev-python/oslo-context/oslo-context-5.2.0.ebuild @@ -19,7 +19,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +KEYWORDS="amd64 ~arm arm64 ~riscv x86" RDEPEND=" >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] diff --git a/dev-python/oslo-i18n/Manifest b/dev-python/oslo-i18n/Manifest index 6698d2387d86..34105b1d5a5f 100644 --- a/dev-python/oslo-i18n/Manifest +++ b/dev-python/oslo-i18n/Manifest @@ -1,2 +1 @@ -DIST oslo.i18n-6.0.0.tar.gz 47479 BLAKE2B c49b3b1e79a5f72d6ebaeafa3024f891c72da4058eca711400d581eb5bf0a0dfd5f87ce0685f96a54aa06140fc4a5fa213220017b26a55a8d3ef72c3db397226 SHA512 50179ada0449e216ec0a269ed928ca196158fc576a4ee9e0ab4e916fea595bec261cdba90b0adcd3cd089ada4ee47d24c756e9142ebf49e3a446472141db1638 DIST oslo.i18n-6.1.0.tar.gz 48031 BLAKE2B da2a03eb382154be31dfc09636395cc5f1c816972e81829181b7745b5f35693069fbe68b6b6223d9188d08a0e1ba277a137290810da9aebf3af49a9b4f2069ea SHA512 6ac6a4c7ea5e43d57c04765f0b0ae90047042ead81c086aa3229d8ffe5402a836e82238f6689d6f6d1a503d8abf147605dc1aab8b8bb4d738e575fb7948fd7e3 diff --git a/dev-python/oslo-i18n/oslo-i18n-6.0.0.ebuild b/dev-python/oslo-i18n/oslo-i18n-6.0.0.ebuild deleted file mode 100644 index e521921e819c..000000000000 --- a/dev-python/oslo-i18n/oslo-i18n-6.0.0.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYPI_PN=${PN/-/.} -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Oslo i18n library" -HOMEPAGE=" - https://opendev.org/openstack/oslo.i18n/ - https://github.com/openstack/oslo.i18n/ - https://pypi.org/project/oslo.i18n/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~riscv x86" - -PATCHES=( - "${FILESDIR}/${PN}-5.1.0-fix-py3.11.patch" -) - -RDEPEND=" - >=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] -" -BDEPEND=" - ${RDEPEND} - test? ( - >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] - >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests unittest diff --git a/dev-python/oslo-i18n/oslo-i18n-6.1.0.ebuild b/dev-python/oslo-i18n/oslo-i18n-6.1.0.ebuild index 1fa57558c349..e521921e819c 100644 --- a/dev-python/oslo-i18n/oslo-i18n-6.1.0.ebuild +++ b/dev-python/oslo-i18n/oslo-i18n-6.1.0.ebuild @@ -19,7 +19,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +KEYWORDS="amd64 ~arm arm64 ~riscv x86" PATCHES=( "${FILESDIR}/${PN}-5.1.0-fix-py3.11.patch" diff --git a/dev-python/oslo-log/Manifest b/dev-python/oslo-log/Manifest index bbced50794d8..9e62338349f8 100644 --- a/dev-python/oslo-log/Manifest +++ b/dev-python/oslo-log/Manifest @@ -1,2 +1 @@ -DIST oslo.log-5.2.0.tar.gz 93528 BLAKE2B d52ee82e9e2d422649e9bc0baab77c8f72e3640cfba44d326daa759e746d8f83aa04fd5f3f6b7b9e2ffcced910706b85407f3f3f4f83755b48f7883d2150ac61 SHA512 171606a0e93f2a354c8b4369e6674d25b4f2e25a5c91ca3760beb753d7cc9b0d64754ec4ccb10785db3e5b40655be5f0c5f17bf5a3095af6077771a9cd7c2f4b DIST oslo.log-5.3.0.tar.gz 96999 BLAKE2B de8e6173bbea2bf30eb0da056144b25f7da74cfcaf2f6ce70619da86ec3babeda5c5c4784c055950bbfef724a807db6e25cb9792eecdf242ae2bcca00e3810fb SHA512 7db802c9c753562351c34feb63ebdff1306911ef392e4742fb08cfda08d8b09a81cb0e3ff85162ecd54a164a9c38a3a6f5a4d7cfc26bbd9ee84fefd172ca2fbd diff --git a/dev-python/oslo-log/oslo-log-5.2.0.ebuild b/dev-python/oslo-log/oslo-log-5.2.0.ebuild deleted file mode 100644 index e5748b2e6393..000000000000 --- a/dev-python/oslo-log/oslo-log-5.2.0.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYPI_PN=${PN/-/.} -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="OpenStack logging config library, configuration for all openstack projects" -HOMEPAGE=" - https://opendev.org/openstack/oslo.log/ - https://github.com/openstack/oslo.log/ - https://pypi.org/project/oslo.log/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~riscv x86" - -RDEPEND=" - >=dev-python/pbr-3.1.1[${PYTHON_USEDEP}] - >=dev-python/oslo-config-5.2.0[${PYTHON_USEDEP}] - >=dev-python/oslo-context-2.20.0[${PYTHON_USEDEP}] - >=dev-python/oslo-i18n-3.20.0[${PYTHON_USEDEP}] - >=dev-python/oslo-utils-3.36.0[${PYTHON_USEDEP}] - >=dev-python/oslo-serialization-1.25.0[${PYTHON_USEDEP}] - >=dev-python/debtcollector-1.19.0[${PYTHON_USEDEP}] - >=dev-python/pyinotify-0.9.6[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.7.0[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/pbr-3.1.1[${PYTHON_USEDEP}] - test? ( - >=dev-python/testtools-2.3.0[${PYTHON_USEDEP}] - >=dev-python/oslotest-3.3.0[${PYTHON_USEDEP}] - >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests unittest -distutils_enable_sphinx doc/source \ - dev-python/openstackdocstheme \ - dev-python/oslo-config - -python_test() { - eunittest -b -} diff --git a/dev-python/oslo-log/oslo-log-5.3.0.ebuild b/dev-python/oslo-log/oslo-log-5.3.0.ebuild index bfbc1d9405e9..545e9c5b69ae 100644 --- a/dev-python/oslo-log/oslo-log-5.3.0.ebuild +++ b/dev-python/oslo-log/oslo-log-5.3.0.ebuild @@ -19,7 +19,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +KEYWORDS="amd64 ~arm arm64 ~riscv x86" RDEPEND=" >=dev-python/pbr-3.1.1[${PYTHON_USEDEP}] diff --git a/dev-python/pluggy/Manifest b/dev-python/pluggy/Manifest index 1df39936022b..7d94b559f754 100644 --- a/dev-python/pluggy/Manifest +++ b/dev-python/pluggy/Manifest @@ -1,2 +1 @@ -DIST pluggy-1.2.0.tar.gz 61613 BLAKE2B f1c9d7ca593cd3eaae2f035c8e2d2da09b179991a134e0c0be17642940a853194124b638e208c32b7f8e5250d30d138f4bb79cb414573c0103e6b5024f52abc9 SHA512 b2b6a80737c06e1507eb12513ed7f5ce508fd4a139c559a3a15d9f173f4455ef3847783efb91c32eca6e26cbe37b0336467d50c5db0563d8dbd17bd825cd7407 DIST pluggy-1.3.0.tar.gz 63670 BLAKE2B afa28641ec0a93e97fed2a03655c76077d046b05f49c4e584df3486dd007fb20296f61b001664d8cbb50d4400f1132f75d5de932caa1d3f92e349f78158d7ade SHA512 d4dbb449f533649da161d7e49f82da5800dabdace4f7aa239c412290470612a45a3ba3c50cafd7bd9ed26cb3aa14648bfa3ed3f41fc0db9ae9399fd7f5933d5f diff --git a/dev-python/pluggy/pluggy-1.2.0.ebuild b/dev-python/pluggy/pluggy-1.2.0.ebuild deleted file mode 100644 index 83be27ff72a9..000000000000 --- a/dev-python/pluggy/pluggy-1.2.0.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Plugin and hook calling mechanisms for Python" -HOMEPAGE=" - https://pluggy.readthedocs.io/ - https://github.com/pytest-dev/pluggy/ - https://pypi.org/project/pluggy/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" - -BDEPEND=" - dev-python/setuptools-scm[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest diff --git a/dev-python/pluggy/pluggy-1.3.0.ebuild b/dev-python/pluggy/pluggy-1.3.0.ebuild index 5fdf74d2445f..83be27ff72a9 100644 --- a/dev-python/pluggy/pluggy-1.3.0.ebuild +++ b/dev-python/pluggy/pluggy-1.3.0.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" BDEPEND=" dev-python/setuptools-scm[${PYTHON_USEDEP}] diff --git a/dev-python/pymdown-extensions/Manifest b/dev-python/pymdown-extensions/Manifest index c15c70c31bea..a3a174c6e18c 100644 --- a/dev-python/pymdown-extensions/Manifest +++ b/dev-python/pymdown-extensions/Manifest @@ -1,4 +1 @@ -DIST pymdown_extensions-10.1.tar.gz 783894 BLAKE2B debe9415329ac5eb663924697529f456fddbc2870188864741003a5f9a3e6c44741188c90db5147d65fe8570f8a2acfc70ef8e12cf7ecfce7f3f051f25ac8c02 SHA512 c7692c7688b7d9764460b274a5cf609c3638a171f8ebb10d265a0e78d1f3b7b418f9712e6d7597e091181caa82e7fca9120e388f2ee80bd9299e9b70492084af -DIST pymdown_extensions-10.2.1.tar.gz 784912 BLAKE2B 73752d7a064d209dd107a61428b22fe00b12874e2d40f05c9f3361d83f26728b175aaa1936ae33793068d9ec56b6e54df2f9f587316a5549e86f581b420b1a95 SHA512 35a6b8b47209621982016174ee12cd59a9161f064212784c811c9a02d46e514a5bae4d830484f1e44dd6fd76dc16d21804e5e135905980c310ef496a9c8d4f18 -DIST pymdown_extensions-10.2.tar.gz 784781 BLAKE2B eb91408b0005ae417bdb781a82f2611569a5a33452eee03baf1ce22af45c502b45c3c3d034c6ba4d9b56c330fee38742ea5f08f4d1b584e6a4dcf447c719252a SHA512 37798e0d5df8c06be3f9a9d523af50f252eaf90b21332ed0c73641af5e41a4794c643ffc181513aa783544a227eaec3cb3f2d8face3a7d3dba8122de0ac9d436 DIST pymdown_extensions-10.3.tar.gz 784920 BLAKE2B 25b859dcba00d690bea3c9830542af52391f4941e8470d541e9bc0fdad12b6f20cf7350df237962fba502dbe72c8e4934446e3e5fdb6712ef9701f3654a4fda5 SHA512 28f1942baf0ed67b4d6bf80d1ac095a034d0afecd508ce13c8a8deabde4c7f6f89895c1a0509c576fa4884fc04f8800839b4a9a622910d3ed8914e0ac7f0ca27 diff --git a/dev-python/pymdown-extensions/pymdown-extensions-10.1.ebuild b/dev-python/pymdown-extensions/pymdown-extensions-10.1.ebuild deleted file mode 100644 index cfc17155ef14..000000000000 --- a/dev-python/pymdown-extensions/pymdown-extensions-10.1.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Extensions for Python Markdown" -HOMEPAGE=" - https://github.com/facelessuser/pymdown-extensions/ - https://pypi.org/project/pymdown-extensions/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv x86" - -RDEPEND=" - >=dev-python/markdown-3.2[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] -" - -BDEPEND=" - test? ( - >=dev-python/pygments-2.12.0[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest diff --git a/dev-python/pymdown-extensions/pymdown-extensions-10.2.1.ebuild b/dev-python/pymdown-extensions/pymdown-extensions-10.2.1.ebuild deleted file mode 100644 index 026a617de38e..000000000000 --- a/dev-python/pymdown-extensions/pymdown-extensions-10.2.1.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Extensions for Python Markdown" -HOMEPAGE=" - https://github.com/facelessuser/pymdown-extensions/ - https://pypi.org/project/pymdown-extensions/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" - -RDEPEND=" - >=dev-python/markdown-3.2[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] -" - -BDEPEND=" - test? ( - >=dev-python/pygments-2.12.0[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest diff --git a/dev-python/pymdown-extensions/pymdown-extensions-10.2.ebuild b/dev-python/pymdown-extensions/pymdown-extensions-10.2.ebuild deleted file mode 100644 index 026a617de38e..000000000000 --- a/dev-python/pymdown-extensions/pymdown-extensions-10.2.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Extensions for Python Markdown" -HOMEPAGE=" - https://github.com/facelessuser/pymdown-extensions/ - https://pypi.org/project/pymdown-extensions/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" - -RDEPEND=" - >=dev-python/markdown-3.2[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] -" - -BDEPEND=" - test? ( - >=dev-python/pygments-2.12.0[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest diff --git a/dev-python/pymdown-extensions/pymdown-extensions-10.3.ebuild b/dev-python/pymdown-extensions/pymdown-extensions-10.3.ebuild index 026a617de38e..cfc17155ef14 100644 --- a/dev-python/pymdown-extensions/pymdown-extensions-10.3.ebuild +++ b/dev-python/pymdown-extensions/pymdown-extensions-10.3.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv x86" RDEPEND=" >=dev-python/markdown-3.2[${PYTHON_USEDEP}] diff --git a/dev-python/pypy-exe-bin/Manifest b/dev-python/pypy-exe-bin/Manifest index 8f3209e43e98..cb38b1bbc366 100644 --- a/dev-python/pypy-exe-bin/Manifest +++ b/dev-python/pypy-exe-bin/Manifest @@ -6,3 +6,11 @@ DIST pypy-exe-7.3.12-1.ppc64le-musl.gpkg.tar 6604800 BLAKE2B 221372df3496c615472 DIST pypy-exe-7.3.12-1.ppc64le.gpkg.tar 10967040 BLAKE2B 36e3ac01761215ea3fc189397d68ebc44e36e7e26321b4ee63523cd444b8266691ce91237a9baa6b2a658036bd4083a99b99e9937298f1a823d9cd9346ccacba SHA512 f6b9b1ff1a5bf9da56c76df4e7f1348bc09db91cdc8e981cc48dde46fa3583d2f1aba04931fa46e61c237ea76f85db0eb18537ec44b12d02a1952ea42e0991b3 DIST pypy-exe-7.3.12-1.x86-musl.gpkg.tar 9758720 BLAKE2B 188951a20efc67031969755530edcf8a3e68711e05f37563420419b3f90f4a04ce3692ab8640693121c8ffcc507e6cfed196b261dfd34a751263203f0b602e5f SHA512 c5683f03ed4620ddf370583da3395ef691afc29cd71ece934ccf004ecac5800c29dcea7ee5b0dd1d88cea7283fc6d8efa2989d56af4fe8ab376de66e8b7569e4 DIST pypy-exe-7.3.12-1.x86.gpkg.tar 9615360 BLAKE2B 0496855e1b745ca78692459c2287d4c69116c84ff60dff8e91eb6a8d29845201946845ec9e8431764986c6bbf58be46195091ff8aced8fe5928e3015b91ec800 SHA512 36b322d8548600b531ecbc9fb256ed068852d2a24d376a61b317fefd16b23c22ba875f4debf591516717fbcd5217ac6b9251d30027ba690fd7ec1e2dee42210b +DIST pypy-exe-7.3.13-1.amd64-musl.gpkg.tar 12922880 BLAKE2B 8dce9b4f2e86ca93d92aac337f29aad79cb0f494cc4639cabedb5ee3b91963b127a62ec43466e41b5f443a0bd14427f60cbe7f3d70410143a6cb7bebc543f2f6 SHA512 7b8baf7fcc36b13c97a2e9e4f3e0d101537069c2685b1ecde8dce27281f7b36db49adc3cc8007caebad09f5106f42f4c840bb1f66b46ad5bf1543aad45cbca9c +DIST pypy-exe-7.3.13-1.amd64.gpkg.tar 12871680 BLAKE2B 539d3025c42a7feec95f62ce005da7eeab05159b9750b6009230b6830a13579be336d41def05b20aacbdaef6ae585f8e0ee1f063e10e4c2c6adc55fcb12a6311 SHA512 977033104d086611452c98fe4b12b51fc6abcc49af282bc1a966a0fe92a42d04e89073f49660e032e5a7092603d8049243987a4ed10528a110cdf333dad687ab +DIST pypy-exe-7.3.13-1.arm64-musl.gpkg.tar 10782720 BLAKE2B 90398b3859831a2bafa6a25ed18ee05e27b91c3c4b7d54e153a0dfb04e0ca4ed8e035da14d9e8743dee23c1925ec118b6b8985a64649b4ad56e46a54d70f3137 SHA512 d36e53174dcb00bd6feab4ce168dfeb8d688874a5a5fc45049cf32e89095d532635bb23cdf34a9a70f471e70003564f7117a6fcd6ab17584a72da4ec2848f4d6 +DIST pypy-exe-7.3.13-1.arm64.gpkg.tar 10752000 BLAKE2B 7dbe18bf22b503c585e4fccce8661ec3057d01aa614b806164bd1d418c0ddceb3bc7b629d3efb619b55259e5408dcf42b05c29ebffcb0b75acf845a369d80ffd SHA512 0ee6dc95200cef8d0dfc6bde77d55d548d557ca2ef27b0061c5909a964395aa5870bf3cfa689d2e696dc43c5c19fdd3d55975cd0630189a2ba3f390872dde9ba +DIST pypy-exe-7.3.13-1.ppc64le-musl.gpkg.tar 6563840 BLAKE2B cc7938c4a9f3b80a9b7eb51402e22cca6d786d1098ecd1fe459623881822036b811d63c7b964e0360a40a8628265e2e3a88f170ac254502febf76158d41b31d4 SHA512 cef5e8fb7474a30682b4890be58ab01b7432701706982452891bfbcd67a5ba94f7a2ca5b21c6adc9ea7570a3875964e8198685d6e4aceff4871195d392a6ca11 +DIST pypy-exe-7.3.13-1.ppc64le.gpkg.tar 10936320 BLAKE2B eaacb2af2c5f62fd487893e4d97ab288ead1c81a0b3ba99782f11ab95ac525c81bc37af5093e76843a17c8ce792aa601befe51b6774908a5328fd4ad449651f8 SHA512 733ec08aa5ab055ec4983e677c8261a4b62006c88a01f0e9ff9abed45781da5144eb4acd41ed7203f74622cd35cbb89c1384ec113c915e38a8d9d81288952b19 +DIST pypy-exe-7.3.13-1.x86-musl.gpkg.tar 9656320 BLAKE2B 61f608aaaa316a64de7445fd856aedf34e11bb08d5f1d7819faa198c7014d397244acd54eb35fe95fc79ef53c5ff770f6e608a0868508422386f110c4357fb69 SHA512 0c3799d15688496ff67007323e0398e7b82becb83d77db4585b5439107f3b4244cff658b908d125d1615391265cc5add2ba5116027bf67c7603c49de54b73f02 +DIST pypy-exe-7.3.13-1.x86.gpkg.tar 9574400 BLAKE2B 29b9d82995b503f5fa933c0ab3ea988b0321768692974d232040afc1b24fb45905f1ae526f57e443110e7341ed310753e4a0ffd161979b0bdc8e6cf1374ca540 SHA512 9046ae99f4996188c04a098e5d716e885545437f5e31e1c75268b45f80d4743b1c431a2aeed990746530ce3c6077a985ff535f813fabcf2ccac91ed8dbc4f2ef diff --git a/dev-python/pypy-exe-bin/pypy-exe-bin-7.3.13.ebuild b/dev-python/pypy-exe-bin/pypy-exe-bin-7.3.13.ebuild new file mode 100644 index 000000000000..577201cf8c2d --- /dev/null +++ b/dev-python/pypy-exe-bin/pypy-exe-bin-7.3.13.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit pax-utils unpacker + +MY_P=pypy-exe-${PV}-1 +DESCRIPTION="PyPy executable (pre-built version)" +HOMEPAGE="https://www.pypy.org/" +SRC_URI=" + elibc_glibc? ( + amd64? ( + https://dev.gentoo.org/~mgorny/binpkg/amd64/pypy/dev-python/pypy-exe/${MY_P}.gpkg.tar + -> ${MY_P}.amd64.gpkg.tar + ) + arm64? ( + https://dev.gentoo.org/~mgorny/binpkg/arm64/pypy/dev-python/pypy-exe/${MY_P}.gpkg.tar + -> ${MY_P}.arm64.gpkg.tar + ) + ppc64? ( + https://dev.gentoo.org/~mgorny/binpkg/ppc64le/pypy/dev-python/pypy-exe/${MY_P}.gpkg.tar + -> ${MY_P}.ppc64le.gpkg.tar + ) + x86? ( + https://dev.gentoo.org/~mgorny/binpkg/x86/pypy/dev-python/pypy-exe/${MY_P}.gpkg.tar + -> ${MY_P}.x86.gpkg.tar + ) + ) + elibc_musl? ( + amd64? ( + https://dev.gentoo.org/~mgorny/binpkg/amd64-musl/pypy/dev-python/pypy-exe/${MY_P}.gpkg.tar + -> ${MY_P}.amd64-musl.gpkg.tar + ) + arm64? ( + https://dev.gentoo.org/~mgorny/binpkg/arm64-musl/pypy/dev-python/pypy-exe/${MY_P}.gpkg.tar + -> ${MY_P}.arm64-musl.gpkg.tar + ) + ppc64? ( + https://dev.gentoo.org/~mgorny/binpkg/ppc64le-musl/pypy/dev-python/pypy-exe/${MY_P}.gpkg.tar + -> ${MY_P}.ppc64le-musl.gpkg.tar + ) + x86? ( + https://dev.gentoo.org/~mgorny/binpkg/x86-musl/pypy/dev-python/pypy-exe/${MY_P}.gpkg.tar + -> ${MY_P}.x86-musl.gpkg.tar + ) + ) +" +S="${WORKDIR}" + +LICENSE="MIT" +SLOT="${PV%_p*}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +# sys-devel/gcc for libgcc_s.so +RDEPEND=" + app-arch/bzip2:0/1 + dev-libs/expat:0/0 + dev-libs/libffi:0/8 + sys-libs/ncurses:0/6 + >=sys-libs/zlib-1.1.3:0/1 + virtual/libintl:0/0 + elibc_glibc? ( + sys-devel/gcc + >=sys-libs/glibc-2.35 + ) + !dev-python/pypy-exe:${SLOT} +" + +QA_PREBUILT=" + usr/lib/pypy2.7/pypy-c-${SLOT} +" + +src_install() { + insinto / + doins -r */image/usr + fperms +x "/usr/lib/pypy2.7/pypy-c-${SLOT}" + pax-mark m "${ED}/usr/lib/pypy2.7/pypy-c-${SLOT}" +} diff --git a/dev-python/pypy-exe/Manifest b/dev-python/pypy-exe/Manifest index b82df40c843a..8cef9defe619 100644 --- a/dev-python/pypy-exe/Manifest +++ b/dev-python/pypy-exe/Manifest @@ -1,2 +1,4 @@ DIST pypy2.7-gentoo-patches-7.3.12.tar.xz 5340 BLAKE2B 1a7375412087e8df02e69c80cee6d8246cc444a352323e6a49c1e1a0e6f5d662584c4cce194f03fc139f29de4ecf5d9f68cea5a8c19a720f1a51c1563804e19a SHA512 026a435377f0f04a526d4e0bef1ac832543f24ff2b39579e2cc7ca2cb3eae0415fcdb3c701fc4b85b0659a2ab17180a45469d79920262ed6dfd68d401df85fa1 +DIST pypy2.7-gentoo-patches-7.3.13.tar.xz 5340 BLAKE2B 843a7a5e4c2fd56fc4db51ba388736c0aa6593d45b145503f6428783a9fd815a77e2a06809077effced6fccf75c0dd38527a0695211852fd2a4c61b34e40c15c SHA512 cc8f6fc69f00030609a8d79f05a60b2e185141e9fc70a53b476b60a183dd0500627023658c6a57c2412f32af1db6fae91a361a4992d84e7dfbadb7eb4a98b8a1 DIST pypy2.7-v7.3.12-src.tar.bz2 19904555 BLAKE2B be8677c0632ef331db285938ad6ffbcb1aa70f44422a1ce5ed09b5a557e68d9185a11d1c20a4a3c6cf32ab41e623a2bc7b3ab7485bf270a9a604fb8a5769bf3f SHA512 35ec35376f1e7c1a5dea9dc5bce6819a94c2df2645806c83185487587470b47ab529c25ecb8ca200505319f40789859a2919c61902b693421e2001313b46e5f4 +DIST pypy2.7-v7.3.13-src.tar.bz2 19907651 BLAKE2B ce80db193afadbc721e781cbfe3d72bfe420eef3ede408f23213ab5d87a9a42c025d3c31c742dcb55a039b618930ebc4899d704f060d294f2e492d4d754effba SHA512 deeca234abbe526102cec637dc88399f462f64ae66c38782e6f3372b484d25fa4e88b906f783ba515bed17d2e82626d1c94fd6ee9b8b64e393f9bc0f5ee2b07b diff --git a/dev-python/pypy-exe/pypy-exe-7.3.13.ebuild b/dev-python/pypy-exe/pypy-exe-7.3.13.ebuild new file mode 100644 index 000000000000..6f7eef22f3b8 --- /dev/null +++ b/dev-python/pypy-exe/pypy-exe-7.3.13.ebuild @@ -0,0 +1,177 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit check-reqs pax-utils toolchain-funcs + +PYPY_PV=${PV%_p*} +MY_P=pypy2.7-v${PYPY_PV/_} +PATCHSET="pypy2.7-gentoo-patches-${PV/_}" + +DESCRIPTION="PyPy executable (build from source)" +HOMEPAGE="https://www.pypy.org/" +SRC_URI=" + https://buildbot.pypy.org/pypy/${MY_P}-src.tar.bz2 + https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz +" +S="${WORKDIR}/${MY_P}-src" + +LICENSE="MIT" +SLOT="${PYPY_PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="bzip2 +jit low-memory ncurses cpu_flags_x86_sse2" + +DEPEND=" + >=sys-libs/zlib-1.1.3:0= + dev-libs/libffi:0= + virtual/libintl:0= + dev-libs/expat:0= + bzip2? ( app-arch/bzip2:0= ) + ncurses? ( sys-libs/ncurses:0= ) +" +RDEPEND=" + ${DEPEND} + !dev-python/pypy-exe-bin:${PYPY_PV} +" +# don't enforce the dep on dev-python/pypy with USE=low-memory +# since it's going to cause circular dep with unhelpful error message +BDEPEND=" + !low-memory? ( + || ( + dev-python/pypy + dev-lang/python:2.7 + ) + ) +" + +check_env() { + if ! has_version -b dev-python/pypy; then + if use low-memory; then + eerror "USE=low-memory requires (a prior version of) dev-python/pypy" + eerror "installed." + else + ewarn "CPython 2.7 will be used to perform the translation. Upstream" + ewarn "recommends using (a prior version of) dev-python/pypy instead." + fi + elog "You can install a prebuilt version of PyPy first using e.g.:" + elog " $ emerge -1v dev-python/pypy dev-python/pypy-exe-bin" + + if use low-memory; then + die "dev-python/pypy needs to be installed for USE=low-memory" + fi + fi + + if use low-memory; then + CHECKREQS_MEMORY="1750M" + use amd64 && CHECKREQS_MEMORY="3500M" + else + CHECKREQS_MEMORY="3G" + use amd64 && CHECKREQS_MEMORY="6G" + fi + + check-reqs_pkg_pretend +} + +pkg_pretend() { + [[ ${MERGE_TYPE} != binary ]] && check_env +} + +pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && check_env +} + +src_prepare() { + local PATCHES=( + "${WORKDIR}/${PATCHSET}" + ) + default +} + +src_configure() { + tc-export CC + + local jit_backend + if use jit; then + jit_backend='--jit-backend=' + + # We only need the explicit sse2 switch for x86. + # On other arches we can rely on autodetection which uses + # compiler macros. Plus, --jit-backend= doesn't accept all + # the modern values... + + if use x86; then + if use cpu_flags_x86_sse2; then + jit_backend+=x86 + else + jit_backend+=x86-without-sse2 + fi + else + jit_backend+=auto + fi + fi + + local args=( + --no-shared + $(usex jit -Ojit -O2) + + ${jit_backend} + + pypy/goal/targetpypystandalone + ) + + # Avoid linking against libraries disabled by use flags + local opts=( + bzip2:bz2 + ncurses:_minimal_curses + ) + + local opt + for opt in "${opts[@]}"; do + local flag=${opt%:*} + local mod=${opt#*:} + + args+=( + $(usex ${flag} --withmod --withoutmod)-${mod} + ) + done + + local interp + if use low-memory || has_version -b dev-python/pypy; then + einfo "Using already-installed PyPy to perform the translation." + interp=( pypy ) + if use low-memory; then + local -x PYPY_GC_MAX_DELTA=200MB + interp+=( --jit loop_longevity=300 ) + fi + else + einfo "Using CPython 2.7 to perform the translation." + interp=( python2.7 ) + + # reuse bundled pycparser to avoid external dep + mkdir -p "${T}"/pymod/cffi || die + : > "${T}"/pymod/cffi/__init__.py || die + cp -r lib_pypy/cffi/_pycparser "${T}"/pymod/cffi/ || die + local -x PYTHONPATH=${T}/pymod:${PYTHONPATH} + fi + + # translate into the C sources + # we're going to build them ourselves since otherwise pypy does not + # free up the unneeded memory before spawning the compiler + set -- "${interp[@]}" rpython/bin/rpython --batch --source "${args[@]}" + echo -e "\033[1m${@}\033[0m" + "${@}" || die "translation failed" +} + +src_compile() { + emake -C "${T}"/usession*-0/testing_1 +} + +src_install() { + local dest=/usr/lib/pypy2.7 + exeinto "${dest}" + newexe "${T}"/usession*-0/testing_1/pypy-c pypy-c-${PYPY_PV} + insinto "${dest}"/include/${PYPY_PV} + doins include/pypy_* + pax-mark m "${ED}${dest}/pypy-c-${PYPY_PV}" +} diff --git a/dev-python/pypy3_10-exe-bin/Manifest b/dev-python/pypy3_10-exe-bin/Manifest index 4ba40d8da6ca..9d4a8387a1da 100644 --- a/dev-python/pypy3_10-exe-bin/Manifest +++ b/dev-python/pypy3_10-exe-bin/Manifest @@ -6,3 +6,11 @@ DIST pypy3_10-exe-7.3.12_p2-1.ppc64le-musl.gpkg.tar 6502400 BLAKE2B fb3c6cf03114 DIST pypy3_10-exe-7.3.12_p2-1.ppc64le.gpkg.tar 10250240 BLAKE2B 277add3cb777d2eb75538ddd73da80108bde6f2f6fc5fa3574c4f62a6bce4916e1f04bcb03407d946db90e09a0e873ee8d7d11e853fac2a0db9651d8ec0b0855 SHA512 44e6c2f38e31b34b9d74492464cdf56e0be5e3df06b7c247411668c04519d9c17fa7f8d49784e53484a3e59dc20b1ded4a0ae81f9bdcb87654d8107e798e1597 DIST pypy3_10-exe-7.3.12_p2-1.x86-musl.gpkg.tar 8826880 BLAKE2B 1e4e8cf6448410d256f625e68db6c7d82d99bd7f64bfec6572c4bc99b55e78fd0ca4af9eddddfd872837dfa971d065d4f52f792d4c12ab3ca3c44fdb732e7452 SHA512 cd22319feb39f3a2f8e5d8796f9dae82dc9ca808ea5579bdb1f12a6daf9f9a7adc2e33accf6814a4e0e762bc03569f0c0539b99d4eba3e6cec085e45e5d3d702 DIST pypy3_10-exe-7.3.12_p2-1.x86.gpkg.tar 8826880 BLAKE2B 7fb7af7e5bd07a91312a21f443a1c58ad828d66a29e67af2b39162e2d7c74965b1f8dfb52169fd71b6b6466aa20ea579723d27520c019bb46211f34e74c4abc2 SHA512 fa7f5cd600efd4f26a7abe27b482b0277a10de7bceaf12d781a96e9916cb37d7166f5afc6c13d941aecda51783e9e2ad853076545575daec14fba50b10fca3ab +DIST pypy3_10-exe-7.3.13-1.amd64-musl.gpkg.tar 11898880 BLAKE2B ac08e64b7a3a3d1b9c6f4242e373a3c836933c46619f17ee584fb2d1f9b2ea59934d143418c0a410cd3d3cd74621f82ee941fc6ba5e9f54aab94159b2dc43424 SHA512 5b058142664ac7c5cce09eaf3e6e052190336f4a7ef991fb02f6da03258a01f2d8f351aafeed7d49113bed263e2950f03e91c1c41c0c755b7c7c92daa1dbd2d0 +DIST pypy3_10-exe-7.3.13-1.amd64.gpkg.tar 11898880 BLAKE2B c218dcddfd5e532ed25f49c90ada70352af93ba4cd5ccb99d8b79b6cd006e3848cda6d282f4581b64b239c9f298a334ce54ca51e529fab7313caa09ec5a58f02 SHA512 4c64d9187bfc9cba096401ee4e2acae61d8ccf661c34ba43ced66bd1778abc60496626082d4ab57aa4ad16360692f9c2469124741290294754a0607849885ffe +DIST pypy3_10-exe-7.3.13-1.arm64-musl.gpkg.tar 9891840 BLAKE2B 36eb4e1d801da9dc47335e8202d83088c1f06db0c9627e04724bb9e10cd12335d103fa27ada7151d687988320160466b2c7733f48875e76e50204dbd1dd54e3b SHA512 eb526efe6a4d54bd39455baf412cf8bf63c73f48b15813d176f51395b120e9b89c6f2914204e6ffd4658c1e232f1c07b6b4276cb0918c498cd8d03ab3410ba4a +DIST pypy3_10-exe-7.3.13-1.arm64.gpkg.tar 9871360 BLAKE2B ac8f2e53f315e2b393698cad78d7a544cbce20294b47e7aba5dee9328f18177cfb77b7e7a99a25502399e354cdf8a68d003c9b54a82b1fe6d7e80b0977357c51 SHA512 ec0e95ed428f80ef1c39efa2c22c0cc34996df8d5bcf924d843ac6b876cb22fe3b3e89bb86d520f08b9da9e28c66c9a9c6bffa5c6cb0aeb827186455ca121bb2 +DIST pypy3_10-exe-7.3.13-1.ppc64le-musl.gpkg.tar 6512640 BLAKE2B 9611d47f890ccd237fa441aa6c741566cec70b2bbe0c7921530b39cfbba8eb918fb68d89274bf1b3dacd2bcc4d44ff56b851b78fa4e96f446e4f64cf3ea58d1e SHA512 2c06eb7a0795167a292fc5729bf2602c9ec1c166d2bb3b6c63dbb588be736cd900ab03bf1339f0b3e555e7c67b3b6d43d53028961606e1a346662e9f37cc405a +DIST pypy3_10-exe-7.3.13-1.ppc64le.gpkg.tar 10219520 BLAKE2B 95ccc9bf239e77e6cd8821ba45fa1df36f4986b8b9dbe5b3291173a5a1c421eb57c9b7070b63be494e054c76ed233cd87f163a21368b404a853375d14404efa5 SHA512 0f43fe01ce92ee6d714067fe60035e3f9595f18b695004e7a0ad7ef82af9bfb46c96978b45eb5e85424b0c700a2d3672dfd8c63215dc98acf7471f0c174f4898 +DIST pypy3_10-exe-7.3.13-1.x86-musl.gpkg.tar 8744960 BLAKE2B 362a7b6d3ed33623bb3adb94e62498b8c8794cef1354a3fd5579b2e647a8a74f38b44d470598d06a1a2645fee7b70a711f50f8c5e7648eae7e3a97b105fed632 SHA512 8f0109ed58a1344f44cb94aa360b2be82bff885a3fb1984c816d12069d9517e6a49c675d7eeb36d8f6c6869db13d4ec002a12795e72977e296122bf62f21f53f +DIST pypy3_10-exe-7.3.13-1.x86.gpkg.tar 8796160 BLAKE2B 9a838af1cd63249a55cc7f0849ddd783bd425d4c3a253583b590162ba1dccc5a8811222fb45121999a08a0935f9d61142efb6bbbf71a30e574f21a7b2e1e51b7 SHA512 3d67657e5ba8628ea6049bf74d5da29b32690e997993c37c7bd1166d6460bea8153c52bfea25066a38e7fe97b4612d64fd98b70c3b958a3862603299719bcbda diff --git a/dev-python/pypy3_10-exe-bin/pypy3_10-exe-bin-7.3.13.ebuild b/dev-python/pypy3_10-exe-bin/pypy3_10-exe-bin-7.3.13.ebuild new file mode 100644 index 000000000000..77878f3bc763 --- /dev/null +++ b/dev-python/pypy3_10-exe-bin/pypy3_10-exe-bin-7.3.13.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit pax-utils unpacker + +PYVER=3.10 +MY_P=pypy3_10-exe-${PV}-1 + +DESCRIPTION="PyPy3 executable (pre-built version)" +HOMEPAGE="https://www.pypy.org/" +SRC_URI=" + elibc_glibc? ( + amd64? ( + https://dev.gentoo.org/~mgorny/binpkg/amd64/pypy/dev-python/pypy3_10-exe/${MY_P}.gpkg.tar + -> ${MY_P}.amd64.gpkg.tar + ) + arm64? ( + https://dev.gentoo.org/~mgorny/binpkg/arm64/pypy/dev-python/pypy3_10-exe/${MY_P}.gpkg.tar + -> ${MY_P}.arm64.gpkg.tar + ) + ppc64? ( + https://dev.gentoo.org/~mgorny/binpkg/ppc64le/pypy/dev-python/pypy3_10-exe/${MY_P}.gpkg.tar + -> ${MY_P}.ppc64le.gpkg.tar + ) + x86? ( + https://dev.gentoo.org/~mgorny/binpkg/x86/pypy/dev-python/pypy3_10-exe/${MY_P}.gpkg.tar + -> ${MY_P}.x86.gpkg.tar + ) + ) + elibc_musl? ( + amd64? ( + https://dev.gentoo.org/~mgorny/binpkg/amd64-musl/pypy/dev-python/pypy3_10-exe/${MY_P}.gpkg.tar + -> ${MY_P}.amd64-musl.gpkg.tar + ) + arm64? ( + https://dev.gentoo.org/~mgorny/binpkg/arm64-musl/pypy/dev-python/pypy3_10-exe/${MY_P}.gpkg.tar + -> ${MY_P}.arm64-musl.gpkg.tar + ) + ppc64? ( + https://dev.gentoo.org/~mgorny/binpkg/ppc64le-musl/pypy/dev-python/pypy3_10-exe/${MY_P}.gpkg.tar + -> ${MY_P}.ppc64le-musl.gpkg.tar + ) + x86? ( + https://dev.gentoo.org/~mgorny/binpkg/x86-musl/pypy/dev-python/pypy3_10-exe/${MY_P}.gpkg.tar + -> ${MY_P}.x86-musl.gpkg.tar + ) + ) +" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="${PV%_p*}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +# sys-devel/gcc for libgcc_s.so +RDEPEND=" + app-arch/bzip2:0/1 + dev-libs/expat:0/0 + dev-libs/libffi:0/8 + sys-libs/ncurses:0/6 + >=sys-libs/zlib-1.1.3:0/1 + virtual/libintl:0/0 + elibc_glibc? ( + sys-devel/gcc + >=sys-libs/glibc-2.35 + ) + !dev-python/pypy3_10-exe:${SLOT} +" + +PYPY_PV=${PV%_p*} +QA_PREBUILT=" + usr/bin/pypy${PYVER}-c-${PYPY_PV} +" + +src_install() { + insinto / + doins -r image/usr + fperms +x "/usr/bin/pypy${PYVER}-c-${PYPY_PV}" + pax-mark m "${ED}/usr/bin/pypy${PYVER}-c-${PYPY_PV}" +} diff --git a/dev-python/pypy3_10-exe/Manifest b/dev-python/pypy3_10-exe/Manifest index d68b6ec64f85..ff398049b4a2 100644 --- a/dev-python/pypy3_10-exe/Manifest +++ b/dev-python/pypy3_10-exe/Manifest @@ -1,2 +1,4 @@ DIST pypy3.10-gentoo-patches-7.3.12_p2.tar.xz 7184 BLAKE2B dae373bee65ede20c1e8bc29faedd5413c832bd105045d6953c8c1eca99955de1bab5dfcddacc612874616dabbb58921bebddc2a62177edc822247e6c2eba9c7 SHA512 b4476dc96dfd79a15218e2b7b60f289abeb10605e01a96746c04b9449c201aa8ee032dc3145c36b0b64d07e3948e828b49a874132d595b26e4dd95140d428942 +DIST pypy3.10-gentoo-patches-7.3.13.tar.xz 4776 BLAKE2B 9f0ef159c8aa2d3edb5ee0e14be694c4a7c1165d70b16e9b13b6e59da7334354cc8593186a2ff47d4a0ce8c76abdf4a3c12ec3ffdd7a90cc4f30b39c259c3ee7 SHA512 86bfbf7f26f259c0850074c9062544ee091f7a65359cb17dae3ec287841e7a812d7185cb552f3546acdde3965efe0e6c0fb728c30b64779fca10be2f7c4d634f DIST pypy3.10-v7.3.12-src.tar.bz2 23009064 BLAKE2B ad45d90de9ae51803ebcfa202763889f92f7e5c2939331433a496e53ca67dd6eeaf9c61e16cb648945409dff3c6dd6b8a2a01dfe1bed6cd6a9df98f112bff181 SHA512 080520c7de267e17a2823f06cd0a15c108a2c32fc296d6e24782050eb546fa74852d948ede2c381dba110774121b20efc3a07b553acd0ac0db4a844dfc09069e +DIST pypy3.10-v7.3.13-src.tar.bz2 23067819 BLAKE2B 6e2bfd83bcf16feef006dad39ab6d8f452418ee6bc4043edaa590db702f39275e775004bdba762736a901da94cb5274cd34f2811461048d46ac0f4af04158702 SHA512 16fbc76558152b3eadca999d56197a6bf906cbb7bb75035ccd3501372af0f0c22533d22ba231a40b7c02afa11f0d692a6ae85ba6d5e1607b737b8c68209b7c43 diff --git a/dev-python/pypy3_10-exe/pypy3_10-exe-7.3.13.ebuild b/dev-python/pypy3_10-exe/pypy3_10-exe-7.3.13.ebuild new file mode 100644 index 000000000000..a9b71592d810 --- /dev/null +++ b/dev-python/pypy3_10-exe/pypy3_10-exe-7.3.13.ebuild @@ -0,0 +1,127 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit check-reqs pax-utils toolchain-funcs + +PYPY_PV=${PV%_p*} +PYVER=3.10 +MY_P="pypy${PYVER}-v${PYPY_PV/_}" +PATCHSET="pypy${PYVER}-gentoo-patches-${PV}" + +DESCRIPTION="PyPy3 executable (build from source)" +HOMEPAGE="https://www.pypy.org/" +SRC_URI=" + https://buildbot.pypy.org/pypy/${MY_P}-src.tar.bz2 + https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz +" +S="${WORKDIR}/${MY_P}-src" + +LICENSE="MIT" +SLOT="${PYPY_PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="+jit low-memory ncurses cpu_flags_x86_sse2" + +RDEPEND=" + app-arch/bzip2:0= + dev-libs/expat:0= + dev-libs/libffi:0= + >=sys-libs/zlib-1.1.3:0= + virtual/libintl:0= + ncurses? ( sys-libs/ncurses:0= ) + !dev-python/pypy3-exe-bin:${SLOT} +" +DEPEND=" + ${RDEPEND} +" +BDEPEND=" + dev-python/pypy +" + +check_env() { + if use low-memory; then + CHECKREQS_MEMORY="1750M" + use amd64 && CHECKREQS_MEMORY="3500M" + else + CHECKREQS_MEMORY="3G" + use amd64 && CHECKREQS_MEMORY="6G" + fi + + check-reqs_pkg_pretend +} + +pkg_pretend() { + [[ ${MERGE_TYPE} != binary ]] && check_env +} + +pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && check_env +} + +src_prepare() { + local PATCHES=( + "${WORKDIR}/${PATCHSET}" + ) + default +} + +src_configure() { + tc-export CC + + local jit_backend + if use jit; then + jit_backend='--jit-backend=' + + # We only need the explicit sse2 switch for x86. + # On other arches we can rely on autodetection which uses + # compiler macros. Plus, --jit-backend= doesn't accept all + # the modern values... + + if use x86; then + if use cpu_flags_x86_sse2; then + jit_backend+=x86 + else + jit_backend+=x86-without-sse2 + fi + else + jit_backend+=auto + fi + fi + + local args=( + --no-shared + $(usex jit -Ojit -O2) + + ${jit_backend} + + pypy/goal/targetpypystandalone + --withmod-bz2 + $(usex ncurses --with{,out}mod-_minimal_curses) + ) + + local interp=( pypy ) + if use low-memory; then + local -x PYPY_GC_MAX_DELTA=200MB + interp+=( --jit loop_longevity=300 ) + fi + + # translate into the C sources + # we're going to build them ourselves since otherwise pypy does not + # free up the unneeded memory before spawning the compiler + set -- "${interp[@]}" rpython/bin/rpython --batch --source "${args[@]}" + echo -e "\033[1m${@}\033[0m" + "${@}" || die "translation failed" +} + +src_compile() { + emake -C "${T}"/usession*-0/testing_1 +} + +src_install() { + cd "${T}"/usession*-0 || die + newbin "testing_1/pypy${PYVER}-c" "pypy${PYVER}-c-${PYPY_PV}" + insinto "/usr/include/pypy${PYVER}/${PYPY_PV}" + doins *.h + pax-mark m "${ED}/usr/bin/pypy${PYVER}-c-${PYPY_PV}" +} diff --git a/dev-python/pypy3_10/Manifest b/dev-python/pypy3_10/Manifest index f6b22071af8a..4d519779c8fe 100644 --- a/dev-python/pypy3_10/Manifest +++ b/dev-python/pypy3_10/Manifest @@ -1,2 +1,4 @@ DIST pypy3.10-gentoo-patches-7.3.12_p5.tar.xz 15404 BLAKE2B d9aa579b82f6bfafc3bdbd1f818d9cc85e3d33e6e72ec8dd65486e6239184dbd6720af1819493016c03e0898dec0c4f4fe361ef4ecdc63a365bc37a9452f1d2a SHA512 a705dd608d2a0027979d20301ec23aebc4a1ff20a826f2572fbdd702b079303797926e3908fd2afd7d4b0d165ffc1f4988a1c5181dd0f8ce7a7a2cc725630e23 +DIST pypy3.10-gentoo-patches-7.3.13.tar.xz 4776 BLAKE2B 9f0ef159c8aa2d3edb5ee0e14be694c4a7c1165d70b16e9b13b6e59da7334354cc8593186a2ff47d4a0ce8c76abdf4a3c12ec3ffdd7a90cc4f30b39c259c3ee7 SHA512 86bfbf7f26f259c0850074c9062544ee091f7a65359cb17dae3ec287841e7a812d7185cb552f3546acdde3965efe0e6c0fb728c30b64779fca10be2f7c4d634f DIST pypy3.10-v7.3.12-src.tar.bz2 23009064 BLAKE2B ad45d90de9ae51803ebcfa202763889f92f7e5c2939331433a496e53ca67dd6eeaf9c61e16cb648945409dff3c6dd6b8a2a01dfe1bed6cd6a9df98f112bff181 SHA512 080520c7de267e17a2823f06cd0a15c108a2c32fc296d6e24782050eb546fa74852d948ede2c381dba110774121b20efc3a07b553acd0ac0db4a844dfc09069e +DIST pypy3.10-v7.3.13-src.tar.bz2 23067819 BLAKE2B 6e2bfd83bcf16feef006dad39ab6d8f452418ee6bc4043edaa590db702f39275e775004bdba762736a901da94cb5274cd34f2811461048d46ac0f4af04158702 SHA512 16fbc76558152b3eadca999d56197a6bf906cbb7bb75035ccd3501372af0f0c22533d22ba231a40b7c02afa11f0d692a6ae85ba6d5e1607b737b8c68209b7c43 diff --git a/dev-python/pypy3_10/pypy3_10-7.3.13.ebuild b/dev-python/pypy3_10/pypy3_10-7.3.13.ebuild new file mode 100644 index 000000000000..c3cd1b2bb121 --- /dev/null +++ b/dev-python/pypy3_10/pypy3_10-7.3.13.ebuild @@ -0,0 +1,209 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit pax-utils python-utils-r1 toolchain-funcs + +PYPY_PV=${PV%_p*} +PYVER=3.10 +MY_P="pypy${PYVER}-v${PYPY_PV/_}" +PATCHSET="pypy${PYVER}-gentoo-patches-${PV/_rc/rc}" + +DESCRIPTION="A fast, compliant alternative implementation of the Python (${PYVER}) language" +HOMEPAGE=" + https://www.pypy.org/ + https://foss.heptapod.net/pypy/pypy/ +" +SRC_URI=" + https://buildbot.pypy.org/pypy/${MY_P}-src.tar.bz2 + https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz +" +S="${WORKDIR}/${MY_P}-src" + +LICENSE="MIT" +# pypy3 -c 'import sysconfig; print(sysconfig.get_config_var("SOABI"))' +# also check pypy/interpreter/pycode.py -> pypy_incremental_magic +SLOT="0/pypy310-pp73-384" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="+ensurepip gdbm +jit ncurses sqlite tk" +# many tests are failing upstream +# see https://buildbot.pypy.org/summary?branch=py${PYVER} +RESTRICT="test" + +RDEPEND=" + || ( + >=dev-python/${PN}-exe-${PYPY_PV}:${PYPY_PV}[bzip2(+),ncurses?] + >=dev-python/${PN}-exe-bin-${PYPY_PV}:${PYPY_PV} + ) + dev-lang/python-exec[python_targets_pypy3(-)] + dev-libs/openssl:0= + dev-python/gentoo-common + ensurepip? ( dev-python/ensurepip-wheels ) + gdbm? ( sys-libs/gdbm:0= ) + sqlite? ( dev-db/sqlite:3= ) + tk? ( + dev-lang/tk:0= + dev-tcltk/tix:0= + ) + !~dev-python/pypy3-7.3.12_rc1 +" +DEPEND=" + ${RDEPEND} +" + +src_prepare() { + local PATCHES=( + "${WORKDIR}/${PATCHSET}" + ) + default + + eapply_user +} + +src_configure() { + tc-export CC +} + +src_compile() { + mkdir bin || die + # switch to the layout expected for cffi module builds + mkdir include/pypy${PYVER} || die + # copy over to make sys.prefix happy + cp -p "${BROOT}"/usr/bin/pypy${PYVER}-c-${PYPY_PV} pypy${PYVER}-c || die + cp -p "${BROOT}"/usr/include/pypy${PYVER}/${PYPY_PV}/* include/pypy${PYVER}/ || die + # (not installed by pypy-exe) + rm pypy/module/cpyext/include/_numpypy/numpy/README || die + mv pypy/module/cpyext/include/* include/pypy${PYVER}/ || die + mv pypy/module/cpyext/parse/*.h include/pypy${PYVER}/ || die + pax-mark m pypy${PYVER}-c + + # verify the subslot + local soabi=$( + ./pypy${PYVER}-c - <<-EOF + import importlib.util + import sysconfig + soabi = sysconfig.get_config_var("SOABI") + magic = importlib.util._RAW_MAGIC_NUMBER & 0xffff + print(f"{soabi}-{magic}") + EOF + ) + [[ ${soabi} == ${SLOT#*/} ]] || die "update subslot to ${soabi}" + + # Add epython.py to the distribution + echo 'EPYTHON="pypy3"' > lib-python/3/epython.py || die + + einfo "Generating caches and CFFI modules ..." + + # Generate sysconfig data + local host_gnu_type=$(sh pypy/tool/release/config.guess) + local overrides=( + HOST_GNU_TYPE "${host_gnu_type:-unknown}" + INCLUDEPY "${EPREFIX}/usr/include/pypy${PYVER}" + LIBDIR "${EPREFIX}/usr/$(get_libdir)" + TZPATH "${EPREFIX}/usr/share/zoneinfo" + WHEEL_PKG_DIR "${EPREFIX}/usr/lib/python/ensurepip" + ) + ./pypy${PYVER}-c -m sysconfig --generate-posix-vars "${overrides[@]}" || die + local outdir + outdir=$(<pybuilddir.txt) || die + cp "${outdir}"/_sysconfigdata__*.py lib-python/3/ || die + + # Generate Grammar and PatternGrammar pickles. + ./pypy${PYVER}-c - <<-EOF || die "Generation of Grammar and PatternGrammar pickles failed" + import lib2to3.pygram + import lib2to3.patcomp + lib2to3.patcomp.PatternCompiler() + EOF + + # Generate cffi modules + # Please keep in sync with lib_pypy/pypy_tools/build_cffi_imports.py! + # (NB: we build CFFI modules first to avoid error log when importing + # build_cffi_imports). + cffi_targets=( + pypy_util blake2/_blake2 sha3/_sha3 ssl + audioop syslog pwdgrp resource lzma posixshmem + testmultiphase + ) + use gdbm && cffi_targets+=( gdbm ) + use ncurses && cffi_targets+=( curses ) + use sqlite && cffi_targets+=( sqlite3 ) + use tk && cffi_targets+=( tkinter/tklib ) + + local t + # all modules except tkinter output to . + # tkinter outputs to the correct dir ... + cd lib_pypy || die + for t in "${cffi_targets[@]}"; do + # tkinter doesn't work via -m + ../pypy${PYVER}-c "_${t}_build.py" || die "Failed to build CFFI bindings for ${t}" + done + + # Verify that CFFI module list is up-to-date + local expected_cksum=63d4659f + local local_cksum=$( + ../pypy${PYVER}-c - <<-EOF + import binascii + import json + from pypy_tools.build_cffi_imports import cffi_build_scripts as x + print("%08x" % (binascii.crc32(json.dumps(x).encode()),)) + EOF + ) + if [[ ${local_cksum} != ${expected_cksum} ]]; then + die "Please verify cffi_targets and update checksum to ${local_cksum}" + fi + + # Cleanup temporary objects + find -name "*_cffi.[co]" -delete || die + find -type d -empty -delete || die +} + +src_install() { + einfo "Installing PyPy ..." + dodir /usr/bin + dosym pypy${PYVER}-c-${PYPY_PV} /usr/bin/pypy${PYVER} + insinto /usr/lib/pypy${PYVER} + # preserve mtimes to avoid obsoleting caches + insopts -p + doins -r lib-python/3/. lib_pypy/. + insinto /usr/include + doins -r include/pypy${PYVER} + + # replace copied headers with symlinks + for x in "${BROOT}"/usr/include/pypy${PYVER}/${PYPY_PV}/*; do + dosym "${PYPY_PV}/${x##*/}" "/usr/include/pypy${PYVER}/${x##*/}" + done + + dodoc README.rst + + local dest=/usr/lib/pypy${PYVER} + rm -r "${ED}${dest}"/ensurepip/_bundled || die + if ! use ensurepip; then + rm -r "${ED}${dest}"/ensurepip || die + fi + if ! use gdbm; then + rm -r "${ED}${dest}"/_gdbm* || die + fi + if ! use sqlite; then + rm -r "${ED}${dest}"/sqlite3 \ + "${ED}${dest}"/_sqlite3* \ + "${ED}${dest}"/test/test_sqlite.py || die + fi + if ! use tk; then + rm -r "${ED}${dest}"/{idlelib,tkinter} \ + "${ED}${dest}"/_tkinter \ + "${ED}${dest}"/test/test_{tcl,tk,ttk*}.py || die + fi + dosym ../python/EXTERNALLY-MANAGED "${dest}/EXTERNALLY-MANAGED" + + local -x EPYTHON=pypy3 + local -x PYTHON=${ED}/usr/bin/pypy${PYVER}-c-${PYPY_PV} + # temporarily copy to build tree to facilitate module builds + cp -p "${BROOT}/usr/bin/pypy${PYVER}-c-${PYPY_PV}" "${PYTHON}" || die + + einfo "Byte-compiling Python standard library..." + python_optimize "${ED}${dest}" + + # remove to avoid collisions + rm "${PYTHON}" || die +} diff --git a/dev-python/pypy3_9-exe-bin/Manifest b/dev-python/pypy3_9-exe-bin/Manifest index b86a0c8a349e..4bb3956e3e5c 100644 --- a/dev-python/pypy3_9-exe-bin/Manifest +++ b/dev-python/pypy3_9-exe-bin/Manifest @@ -6,3 +6,11 @@ DIST pypy3_9-exe-7.3.12-1.ppc64le-musl.gpkg.tar 6359040 BLAKE2B 44c5c98a1b21e136 DIST pypy3_9-exe-7.3.12-1.ppc64le.gpkg.tar 10106880 BLAKE2B fb6b6520b30ef7db9be1737b4b09a793f6312e37a26aff40e60b509c9b90356dbe376da2679891c4e6a1e469e2877ff5791b25955f25f39d1ad698760d288662 SHA512 3ef689bce8b30e50eef81da6ce6989540d2008b214074933d71bfcb9622ab2d233dc24d36db4b94a4940546b5c398cfd726bec9d82515326cf18507ed9a4c1a5 DIST pypy3_9-exe-7.3.12-1.x86-musl.gpkg.tar 8775680 BLAKE2B 159b68f1ff2b27ec172dd3feb2eb1e44e30ab16e9bfe0dce887e79eb8cc2ceb438735614f9b1681976fc6304fef798cac23cc81379edd84bfcbbcb65280aada7 SHA512 86b91e6323b8e25af30bc237eeda24f213592b5d2a6f52a89e71cdcb6b83a2b1b9ff35f46ee5e4a50d74852f1a2075749f775ff1a3ce02cd05f8e9e13f14a03e DIST pypy3_9-exe-7.3.12-1.x86.gpkg.tar 8714240 BLAKE2B 60847cfad5d5c8d988ab3b4f79c508e47445ab8321fa4700c3bfc3727a57d55a201bff0d74740e9ffc5d2e679bb1653b81ab22a35f8fb71bfb43c2d1add5e4c9 SHA512 bc04225b35b82b917d8186c1ed7fa892beaedcafb831f1eb6a134f54778ff973888d51f9107a892c7d6a3fbfc7c792f4089ba9e76fcdb18b6f1d53d98b9037d3 +DIST pypy3_9-exe-7.3.13-1.amd64-musl.gpkg.tar 11765760 BLAKE2B da943b5076815132a99de6d7a4a5f7c0ddb468802fa53a9c5348ac9447562e1716c171dd0cddba6445e6e284562bf662e069444b85054a6d98b5d15c48d6a1ee SHA512 a26e835001728b31128a9cb485575a179de040ac0a6f77ac7fc80520c74c902b98011433aad49834cd86ad877917b9a5ad057dee328b9e15a8a2d68054e243ac +DIST pypy3_9-exe-7.3.13-1.amd64.gpkg.tar 11745280 BLAKE2B 2bfeec0f00e099b1ce41436943dba305f12d39802237b9da6749c06a82f5dfab52b06286fa7cdc6314b0c48c5bacd458dd304386a16c4061d40120c2ceac8f93 SHA512 1dbff0d9ba0e5309e50d7d6c6d0fc043c6ddad55a2eb4d8fa4c12146c3577d8f5d3046949434c4bea03c654fe1a435133add567a1adf8bfa30e1519a739fa8eb +DIST pypy3_9-exe-7.3.13-1.arm64-musl.gpkg.tar 9779200 BLAKE2B 3f0e43c0a5e948fece7b3a338d2ce5d326efbeabef4a876678ee37317c022b156d59bb2f3eb7909476abc869616806b0c0da0a6170d9fe2bfa00a689b315779e SHA512 539284698c256d60e3f34190d5cfd54999574e7d5ccb37a3695a7e08dc5018f680215fbad4b6118c11d9606ec65e5d79bcbcd1e02264b989bde4b85d683aaff6 +DIST pypy3_9-exe-7.3.13-1.arm64.gpkg.tar 9799680 BLAKE2B bd32484e9a576bcf2c36df0558a08eddde37b89d7f4e9aa86db61db7646a3adb4a5984f8dcbdef0135c8507a92b367047c77fdf90a5df438ee3c740aee9c2125 SHA512 cbb6a64452ffa80e2cb9d3c9a24f24ee4b7f0718e48ae03bbbe7a2dffbc200fff83c43b11c2b226392850c898ca7ce6427256354eceb9a4260d6633815a84319 +DIST pypy3_9-exe-7.3.13-1.ppc64le-musl.gpkg.tar 6389760 BLAKE2B 1eb0a9aed7e282277fc8afaee1cb3db20f93363fb93c16b69c1398b6a859bcddaab1e219eccfee466bff657ef253f826886bc13cbc034b885314200d9b9ec9be SHA512 48f1655a610b3a1fac8b8d559659ae524e57535e1a72c0daa4d2742119de6172f2d81c4f28cee90bbf7c43b1de3350dfff74b0d50107afd17009cd10c7223632 +DIST pypy3_9-exe-7.3.13-1.ppc64le.gpkg.tar 9963520 BLAKE2B 07e02711f40e336077162887f1e39e761c295ef13300be46871082a4ecc998bedabbca38aba2a22d76899dd367d25194cf60f5ebe75fd89306c6661beaf4383e SHA512 939850b6d1c4acf634e9fb7eacabefb4888938fda2e333dd658e46304b281619b737cf3b5c1969c4114269a5a2ad90a193a1e7ca3bf57d67c4b777d308997cdf +DIST pypy3_9-exe-7.3.13-1.x86-musl.gpkg.tar 8704000 BLAKE2B 22e5b403fe30d147d4eeff43b4ff010f5234a759a4383d2131a04e871039ac19f0c9918f43d2958554c0d25c2a1ad5532ab90a11bb2b401ec00f804b8a4f0b58 SHA512 3e9f5f3529473beaa13e1c473743449d08eb636f45fe6f94ecd5dc3560f2b48bd46ba9dc7aef9fbb54c94fd822e1835f0b58b611522a5349d54e5c509a5c1384 +DIST pypy3_9-exe-7.3.13-1.x86.gpkg.tar 8642560 BLAKE2B c5f481f79ba67c5250d6d72d3582ff72be3f55516f14acbfe6720b65d7d6b1464c9a2703f7bb75e9479c5a1e83b07f0c6fa628a55a019eeb9ac939cb68275e99 SHA512 0eadc7cf710c2c02ef9c0ba7ae0c45a9055bb65f0f341d5039e41934d3217b0cd92ee169569205a7b14217f92e91da9b8d376b0dfb25c6c41be150771711ba36 diff --git a/dev-python/pypy3_9-exe-bin/pypy3_9-exe-bin-7.3.13.ebuild b/dev-python/pypy3_9-exe-bin/pypy3_9-exe-bin-7.3.13.ebuild new file mode 100644 index 000000000000..cb99c4b6d977 --- /dev/null +++ b/dev-python/pypy3_9-exe-bin/pypy3_9-exe-bin-7.3.13.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit pax-utils unpacker + +PYVER=3.9 +MY_P=pypy3_9-exe-${PV}-1 + +DESCRIPTION="PyPy3 executable (pre-built version)" +HOMEPAGE="https://www.pypy.org/" +SRC_URI=" + elibc_glibc? ( + amd64? ( + https://dev.gentoo.org/~mgorny/binpkg/amd64/pypy/dev-python/pypy3_9-exe/${MY_P}.gpkg.tar + -> ${MY_P}.amd64.gpkg.tar + ) + arm64? ( + https://dev.gentoo.org/~mgorny/binpkg/arm64/pypy/dev-python/pypy3_9-exe/${MY_P}.gpkg.tar + -> ${MY_P}.arm64.gpkg.tar + ) + ppc64? ( + https://dev.gentoo.org/~mgorny/binpkg/ppc64le/pypy/dev-python/pypy3_9-exe/${MY_P}.gpkg.tar + -> ${MY_P}.ppc64le.gpkg.tar + ) + x86? ( + https://dev.gentoo.org/~mgorny/binpkg/x86/pypy/dev-python/pypy3_9-exe/${MY_P}.gpkg.tar + -> ${MY_P}.x86.gpkg.tar + ) + ) + elibc_musl? ( + amd64? ( + https://dev.gentoo.org/~mgorny/binpkg/amd64-musl/pypy/dev-python/pypy3_9-exe/${MY_P}.gpkg.tar + -> ${MY_P}.amd64-musl.gpkg.tar + ) + arm64? ( + https://dev.gentoo.org/~mgorny/binpkg/arm64-musl/pypy/dev-python/pypy3_9-exe/${MY_P}.gpkg.tar + -> ${MY_P}.arm64-musl.gpkg.tar + ) + ppc64? ( + https://dev.gentoo.org/~mgorny/binpkg/ppc64le-musl/pypy/dev-python/pypy3_9-exe/${MY_P}.gpkg.tar + -> ${MY_P}.ppc64le-musl.gpkg.tar + ) + x86? ( + https://dev.gentoo.org/~mgorny/binpkg/x86-musl/pypy/dev-python/pypy3_9-exe/${MY_P}.gpkg.tar + -> ${MY_P}.x86-musl.gpkg.tar + ) + ) +" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="${PV%_p*}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +# sys-devel/gcc for libgcc_s.so +RDEPEND=" + app-arch/bzip2:0/1 + dev-libs/expat:0/0 + dev-libs/libffi:0/8 + sys-libs/ncurses:0/6 + >=sys-libs/zlib-1.1.3:0/1 + virtual/libintl:0/0 + elibc_glibc? ( + sys-devel/gcc + >=sys-libs/glibc-2.35 + ) + !dev-python/pypy3_9-exe:${SLOT} +" + +PYPY_PV=${PV%_p*} +QA_PREBUILT=" + usr/bin/pypy${PYVER}-c-${PYPY_PV} +" + +src_install() { + insinto / + doins -r image/usr + fperms +x "/usr/bin/pypy${PYVER}-c-${PYPY_PV}" + pax-mark m "${ED}/usr/bin/pypy${PYVER}-c-${PYPY_PV}" +} diff --git a/dev-python/pypy3_9-exe/Manifest b/dev-python/pypy3_9-exe/Manifest index d6ecf4eb15a9..201370adbea6 100644 --- a/dev-python/pypy3_9-exe/Manifest +++ b/dev-python/pypy3_9-exe/Manifest @@ -1,2 +1,4 @@ DIST pypy3.9-gentoo-patches-7.3.12.tar.xz 7472 BLAKE2B 3948dc62af0b48c77e86cf25113363984ffcf118ca0ea797807a34d509223c6449edc66a835bd550cbdbb41c2c7386f2c56479b26e60effcf1c3a315ed113d0e SHA512 37f935d02a08c88aeab0337eb48a543c02cae37af5c0e692dda899f1b7acb811cf7d6c4d162829d6876d926d9cf376c522ec28ea7fb8957ca9a3ea7654262302 +DIST pypy3.9-gentoo-patches-7.3.13.tar.xz 7476 BLAKE2B 70f80c489686e92e933a200d2e92a095a80e2300814ec4e1f3cb31ec5f5500a45667f7bfe9570ea5eef3933fdda33a9930bdf2cf683c28e3ddb610bebeeca6dd SHA512 5170f5141beb93b3b37cc94f85324c88182967eaff2f8ca26b81d63d5b0d20414a139ca44c250c07b46c747e27c97fd0fe5a2365f6636aba2dd28df3bc55cdca DIST pypy3.9-v7.3.12-src.tar.bz2 23528145 BLAKE2B 28cc42b10d6a84c441af673e1a0dc6d19e09daa1da9249a7fec39a9aaccbe5010a3586068ae0b10cd402b72e5acc58998469d5c99019caa41399951c2a221e26 SHA512 8e819a1ec3f3ce7fc5f901fb554660288a57e2a4834a3da35c1a57faf88ef4129240628a58334d2e0c2b1dda412da5d85ec943abe8046c0ce5d0cd0a0f7fc42a +DIST pypy3.9-v7.3.13-src.tar.bz2 23452374 BLAKE2B b5ce8dd78e4851b5c7fa6aa0c6f2f5c198a3b2d1e4691ccb20d1b229397d60ac41eaecef37f7c76e4de837876bdd6c1e4276302afc292080e0a38f1a58869580 SHA512 04b184050625f06d2acaa836a786db788c4f658f3384ebde176d0acc95044ee83dbf7193ebab1e4fd6275bed7a590d3945482294be32d8f94e8c541e053dce59 diff --git a/dev-python/pypy3_9-exe/pypy3_9-exe-7.3.13.ebuild b/dev-python/pypy3_9-exe/pypy3_9-exe-7.3.13.ebuild new file mode 100644 index 000000000000..b9174fee3c95 --- /dev/null +++ b/dev-python/pypy3_9-exe/pypy3_9-exe-7.3.13.ebuild @@ -0,0 +1,127 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit check-reqs pax-utils toolchain-funcs + +PYPY_PV=${PV%_p*} +PYVER=3.9 +MY_P="pypy${PYVER}-v${PYPY_PV/_}" +PATCHSET="pypy${PYVER}-gentoo-patches-${PV/_}" + +DESCRIPTION="PyPy3 executable (build from source)" +HOMEPAGE="https://www.pypy.org/" +SRC_URI=" + https://buildbot.pypy.org/pypy/${MY_P}-src.tar.bz2 + https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz +" +S="${WORKDIR}/${MY_P}-src" + +LICENSE="MIT" +SLOT="${PYPY_PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="+jit low-memory ncurses cpu_flags_x86_sse2" + +RDEPEND=" + app-arch/bzip2:0= + dev-libs/expat:0= + dev-libs/libffi:0= + >=sys-libs/zlib-1.1.3:0= + virtual/libintl:0= + ncurses? ( sys-libs/ncurses:0= ) + !dev-python/pypy3-exe-bin:${SLOT} +" +DEPEND=" + ${RDEPEND} +" +BDEPEND=" + dev-python/pypy +" + +check_env() { + if use low-memory; then + CHECKREQS_MEMORY="1750M" + use amd64 && CHECKREQS_MEMORY="3500M" + else + CHECKREQS_MEMORY="3G" + use amd64 && CHECKREQS_MEMORY="6G" + fi + + check-reqs_pkg_pretend +} + +pkg_pretend() { + [[ ${MERGE_TYPE} != binary ]] && check_env +} + +pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && check_env +} + +src_prepare() { + local PATCHES=( + "${WORKDIR}/${PATCHSET}" + ) + default +} + +src_configure() { + tc-export CC + + local jit_backend + if use jit; then + jit_backend='--jit-backend=' + + # We only need the explicit sse2 switch for x86. + # On other arches we can rely on autodetection which uses + # compiler macros. Plus, --jit-backend= doesn't accept all + # the modern values... + + if use x86; then + if use cpu_flags_x86_sse2; then + jit_backend+=x86 + else + jit_backend+=x86-without-sse2 + fi + else + jit_backend+=auto + fi + fi + + local args=( + --no-shared + $(usex jit -Ojit -O2) + + ${jit_backend} + + pypy/goal/targetpypystandalone + --withmod-bz2 + $(usex ncurses --with{,out}mod-_minimal_curses) + ) + + local interp=( pypy ) + if use low-memory; then + local -x PYPY_GC_MAX_DELTA=200MB + interp+=( --jit loop_longevity=300 ) + fi + + # translate into the C sources + # we're going to build them ourselves since otherwise pypy does not + # free up the unneeded memory before spawning the compiler + set -- "${interp[@]}" rpython/bin/rpython --batch --source "${args[@]}" + echo -e "\033[1m${@}\033[0m" + "${@}" || die "translation failed" +} + +src_compile() { + emake -C "${T}"/usession*-0/testing_1 +} + +src_install() { + cd "${T}"/usession*-0 || die + newbin "testing_1/pypy${PYVER}-c" "pypy${PYVER}-c-${PYPY_PV}" + insinto "/usr/include/pypy${PYVER}/${PYPY_PV}" + doins *.h + pax-mark m "${ED}/usr/bin/pypy${PYVER}-c-${PYPY_PV}" +} diff --git a/dev-python/pypy3_9/Manifest b/dev-python/pypy3_9/Manifest index 7d957b38afeb..2703fd7cce07 100644 --- a/dev-python/pypy3_9/Manifest +++ b/dev-python/pypy3_9/Manifest @@ -1,2 +1,4 @@ DIST pypy3.9-gentoo-patches-7.3.12_p2.tar.xz 14832 BLAKE2B e142221967f501dea771c8e02b7e57f704945b9c2a4fa7f84d2a702f911cc798ffafafc88bbe04ef89a71d218d28ad98b4cbee9fe822e81199d55c9891292967 SHA512 2e3a1a972775a89e9cf42d8177f607fe4aa4f245261dd9e3e8256697ddaf5271a2aa3d73bdb62e93de9c62fa4e6969d517e812507e865947fd1b649ec0f1d426 +DIST pypy3.9-gentoo-patches-7.3.13.tar.xz 7476 BLAKE2B 70f80c489686e92e933a200d2e92a095a80e2300814ec4e1f3cb31ec5f5500a45667f7bfe9570ea5eef3933fdda33a9930bdf2cf683c28e3ddb610bebeeca6dd SHA512 5170f5141beb93b3b37cc94f85324c88182967eaff2f8ca26b81d63d5b0d20414a139ca44c250c07b46c747e27c97fd0fe5a2365f6636aba2dd28df3bc55cdca DIST pypy3.9-v7.3.12-src.tar.bz2 23528145 BLAKE2B 28cc42b10d6a84c441af673e1a0dc6d19e09daa1da9249a7fec39a9aaccbe5010a3586068ae0b10cd402b72e5acc58998469d5c99019caa41399951c2a221e26 SHA512 8e819a1ec3f3ce7fc5f901fb554660288a57e2a4834a3da35c1a57faf88ef4129240628a58334d2e0c2b1dda412da5d85ec943abe8046c0ce5d0cd0a0f7fc42a +DIST pypy3.9-v7.3.13-src.tar.bz2 23452374 BLAKE2B b5ce8dd78e4851b5c7fa6aa0c6f2f5c198a3b2d1e4691ccb20d1b229397d60ac41eaecef37f7c76e4de837876bdd6c1e4276302afc292080e0a38f1a58869580 SHA512 04b184050625f06d2acaa836a786db788c4f658f3384ebde176d0acc95044ee83dbf7193ebab1e4fd6275bed7a590d3945482294be32d8f94e8c541e053dce59 diff --git a/dev-python/pypy3_9/pypy3_9-7.3.13.ebuild b/dev-python/pypy3_9/pypy3_9-7.3.13.ebuild new file mode 100644 index 000000000000..1c6eec918ff3 --- /dev/null +++ b/dev-python/pypy3_9/pypy3_9-7.3.13.ebuild @@ -0,0 +1,209 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit pax-utils python-utils-r1 toolchain-funcs + +PYPY_PV=${PV%_p*} +PYVER=3.9 +MY_P="pypy${PYVER}-v${PYPY_PV/_}" +PATCHSET="pypy${PYVER}-gentoo-patches-${PV/_rc/rc}" + +DESCRIPTION="A fast, compliant alternative implementation of the Python (${PYVER}) language" +HOMEPAGE=" + https://www.pypy.org/ + https://foss.heptapod.net/pypy/pypy/ +" +SRC_URI=" + https://buildbot.pypy.org/pypy/${MY_P}-src.tar.bz2 + https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz +" +S="${WORKDIR}/${MY_P}-src" + +LICENSE="MIT" +# pypy3 -c 'import sysconfig; print(sysconfig.get_config_var("SOABI"))' +# also check pypy/interpreter/pycode.py -> pypy_incremental_magic +SLOT="0/pypy39-pp73-336" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="+ensurepip gdbm +jit ncurses sqlite tk" +# many tests are failing upstream +# see https://buildbot.pypy.org/summary?branch=py${PYVER} +RESTRICT="test" + +RDEPEND=" + || ( + >=dev-python/${PN}-exe-${PYPY_PV}:${PYPY_PV}[bzip2(+),ncurses?] + >=dev-python/${PN}-exe-bin-${PYPY_PV}:${PYPY_PV} + ) + dev-lang/python-exec[python_targets_pypy3(-)] + dev-libs/openssl:0= + dev-python/gentoo-common + ensurepip? ( dev-python/ensurepip-wheels ) + gdbm? ( sys-libs/gdbm:0= ) + sqlite? ( dev-db/sqlite:3= ) + tk? ( + dev-lang/tk:0= + dev-tcltk/tix:0= + ) + !<dev-python/pypy3-7.3.12_rc +" +DEPEND=" + ${RDEPEND} +" + +src_prepare() { + local PATCHES=( + "${WORKDIR}/${PATCHSET}" + ) + default + + eapply_user +} + +src_configure() { + tc-export CC +} + +src_compile() { + mkdir bin || die + # switch to the layout expected for cffi module builds + mkdir include/pypy${PYVER} || die + # copy over to make sys.prefix happy + cp -p "${BROOT}"/usr/bin/pypy${PYVER}-c-${PYPY_PV} pypy${PYVER}-c || die + cp -p "${BROOT}"/usr/include/pypy${PYVER}/${PYPY_PV}/* include/pypy${PYVER}/ || die + # (not installed by pypy-exe) + rm pypy/module/cpyext/include/_numpypy/numpy/README || die + mv pypy/module/cpyext/include/* include/pypy${PYVER}/ || die + mv pypy/module/cpyext/parse/*.h include/pypy${PYVER}/ || die + pax-mark m pypy${PYVER}-c + + # verify the subslot + local soabi=$( + ./pypy${PYVER}-c - <<-EOF + import importlib.util + import sysconfig + soabi = sysconfig.get_config_var("SOABI") + magic = importlib.util._RAW_MAGIC_NUMBER & 0xffff + print(f"{soabi}-{magic}") + EOF + ) + [[ ${soabi} == ${SLOT#*/} ]] || die "update subslot to ${soabi}" + + # Add epython.py to the distribution + echo 'EPYTHON="pypy3"' > lib-python/3/epython.py || die + + einfo "Generating caches and CFFI modules ..." + + # Generate sysconfig data + local host_gnu_type=$(sh pypy/tool/release/config.guess) + local overrides=( + HOST_GNU_TYPE "${host_gnu_type:-unknown}" + INCLUDEPY "${EPREFIX}/usr/include/pypy${PYVER}" + LIBDIR "${EPREFIX}/usr/$(get_libdir)" + TZPATH "${EPREFIX}/usr/share/zoneinfo" + WHEEL_PKG_DIR "${EPREFIX}/usr/lib/python/ensurepip" + ) + ./pypy${PYVER}-c -m sysconfig --generate-posix-vars "${overrides[@]}" || die + local outdir + outdir=$(<pybuilddir.txt) || die + cp "${outdir}"/_sysconfigdata__*.py lib-python/3/ || die + + # Generate Grammar and PatternGrammar pickles. + ./pypy${PYVER}-c - <<-EOF || die "Generation of Grammar and PatternGrammar pickles failed" + import lib2to3.pygram + import lib2to3.patcomp + lib2to3.patcomp.PatternCompiler() + EOF + + # Generate cffi modules + # Please keep in sync with lib_pypy/pypy_tools/build_cffi_imports.py! + # (NB: we build CFFI modules first to avoid error log when importing + # build_cffi_imports). + cffi_targets=( + pypy_util blake2/_blake2 sha3/_sha3 ssl + audioop syslog pwdgrp resource lzma posixshmem + testmultiphase + ) + use gdbm && cffi_targets+=( gdbm ) + use ncurses && cffi_targets+=( curses ) + use sqlite && cffi_targets+=( sqlite3 ) + use tk && cffi_targets+=( tkinter/tklib ) + + local t + # all modules except tkinter output to . + # tkinter outputs to the correct dir ... + cd lib_pypy || die + for t in "${cffi_targets[@]}"; do + # tkinter doesn't work via -m + ../pypy${PYVER}-c "_${t}_build.py" || die "Failed to build CFFI bindings for ${t}" + done + + # Verify that CFFI module list is up-to-date + local expected_cksum=63d4659f + local local_cksum=$( + ../pypy${PYVER}-c - <<-EOF + import binascii + import json + from pypy_tools.build_cffi_imports import cffi_build_scripts as x + print("%08x" % (binascii.crc32(json.dumps(x).encode()),)) + EOF + ) + if [[ ${local_cksum} != ${expected_cksum} ]]; then + die "Please verify cffi_targets and update checksum to ${local_cksum}" + fi + + # Cleanup temporary objects + find -name "*_cffi.[co]" -delete || die + find -type d -empty -delete || die +} + +src_install() { + einfo "Installing PyPy ..." + dodir /usr/bin + dosym pypy${PYVER}-c-${PYPY_PV} /usr/bin/pypy${PYVER} + insinto /usr/lib/pypy${PYVER} + # preserve mtimes to avoid obsoleting caches + insopts -p + doins -r lib-python/3/. lib_pypy/. + insinto /usr/include + doins -r include/pypy${PYVER} + + # replace copied headers with symlinks + for x in "${BROOT}"/usr/include/pypy${PYVER}/${PYPY_PV}/*; do + dosym "${PYPY_PV}/${x##*/}" "/usr/include/pypy${PYVER}/${x##*/}" + done + + dodoc README.rst + + local dest=/usr/lib/pypy${PYVER} + rm -r "${ED}${dest}"/ensurepip/_bundled || die + if ! use ensurepip; then + rm -r "${ED}${dest}"/ensurepip || die + fi + if ! use gdbm; then + rm -r "${ED}${dest}"/_gdbm* || die + fi + if ! use sqlite; then + rm -r "${ED}${dest}"/sqlite3 \ + "${ED}${dest}"/_sqlite3* \ + "${ED}${dest}"/test/test_sqlite.py || die + fi + if ! use tk; then + rm -r "${ED}${dest}"/{idlelib,tkinter} \ + "${ED}${dest}"/_tkinter \ + "${ED}${dest}"/test/test_{tcl,tk,ttk*}.py || die + fi + dosym ../python/EXTERNALLY-MANAGED "${dest}/EXTERNALLY-MANAGED" + + local -x EPYTHON=pypy3 + local -x PYTHON=${ED}/usr/bin/pypy${PYVER}-c-${PYPY_PV} + # temporarily copy to build tree to facilitate module builds + cp -p "${BROOT}/usr/bin/pypy${PYVER}-c-${PYPY_PV}" "${PYTHON}" || die + + einfo "Byte-compiling Python standard library..." + python_optimize "${ED}${dest}" + + # remove to avoid collisions + rm "${PYTHON}" || die +} diff --git a/dev-python/pyspnego/Manifest b/dev-python/pyspnego/Manifest index 396548043ecc..9fb842d68e17 100644 --- a/dev-python/pyspnego/Manifest +++ b/dev-python/pyspnego/Manifest @@ -1,4 +1,2 @@ DIST pyspnego-0.10.0.tar.gz 221948 BLAKE2B b98ec74c4e0896a27ef718a426bd030113b57397b5fc8337d826a71dc3ff5068b95c8ee439615c7ab067ed4caf8f5801f3430bd3dce67286a14952e7797c2941 SHA512 4ab2c1e51c1e79a9b241600aa40d4a0ed70958d4cd9c2dba0f11e02e980810c0bc67cdb89b10eea3c42c84dcb8f98e284c108cfee75ae87a3107870cab854209 DIST pyspnego-0.10.1.tar.gz 222011 BLAKE2B d7089023cf968029d6ec29216bda154824f19a504ab76ad9f3032fcb6c821ca67435bff7c54a86a881fd802787433e61530a458b797d8c91d19ae25b8766b016 SHA512 881291d3d5f81d0970f1b2cea201c055baf3973aae84cf15995e6f2c5a0ac8a23686e49b163f7d85b8fd0226f98de59bafc939c6983d1a81e954a3f22b34714e -DIST pyspnego-0.9.1.tar.gz 233824 BLAKE2B c36d2ee697ed9dcb7a3c7d3a3ec2bc58b88ac6ba5a020c852b4ba7d0a01d3dd4a3801d91a9456f3f4710684df16a3a4c7d449cfa58e141ae5085bef0f0fe6f21 SHA512 6c516cae43bff523ec19b6ef52e7691a688bada027a183b98e0121bdd4f44f887a5fa87f3ab173dff1e18d84a7886a2a04de80dbd6873cc1dafb1d7369a9d932 -DIST pyspnego-0.9.2.tar.gz 233819 BLAKE2B e4fc4b8cd760210c2e4dd188a651725fa6579fe429ca227e8a5cc1f46111e3e8e6cb07bc4256f60560d86bcd0a2b2e621efbd0dc193d3f67f66a1fdb79ef8f9e SHA512 6775efa12b1f93addf9257145d020e5fcb5139edf8ffcbdca03cd55de7ee992b47af5278206de85e50a824abbf0a037a50dc7e47ca5b6f79b2f4e854d926a8f3 diff --git a/dev-python/pyspnego/pyspnego-0.10.0.ebuild b/dev-python/pyspnego/pyspnego-0.10.0.ebuild index a0739911dc94..fa7475a441a2 100644 --- a/dev-python/pyspnego/pyspnego-0.10.0.ebuild +++ b/dev-python/pyspnego/pyspnego-0.10.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +KEYWORDS="amd64 ~arm arm64 ~riscv x86" RDEPEND=" dev-python/cryptography[${PYTHON_USEDEP}] diff --git a/dev-python/pyspnego/pyspnego-0.9.1.ebuild b/dev-python/pyspnego/pyspnego-0.9.1.ebuild deleted file mode 100644 index 7818c0a7f7e0..000000000000 --- a/dev-python/pyspnego/pyspnego-0.9.1.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 2021-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 optfeature pypi - -DESCRIPTION="Library to handle SPNEGO and CredSSP authentication" -HOMEPAGE=" - https://github.com/jborean93/pyspnego/ - https://pypi.org/project/pyspnego/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~riscv x86" - -RDEPEND=" - dev-python/cryptography[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/cython[${PYTHON_USEDEP}] - test? ( - dev-python/gssapi[${PYTHON_USEDEP}] - >=dev-python/krb5-0.3.0[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/ruamel-yaml[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -pkg_postinst() { - optfeature "Kerberos authentication" "dev-python/gssapi >=dev-python/krb5-0.3.0" - optfeature "YAML output support" "dev-python/ruamel-yaml" -} diff --git a/dev-python/pyspnego/pyspnego-0.9.2.ebuild b/dev-python/pyspnego/pyspnego-0.9.2.ebuild deleted file mode 100644 index 401598b97784..000000000000 --- a/dev-python/pyspnego/pyspnego-0.9.2.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 2021-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 optfeature pypi - -DESCRIPTION="Library to handle SPNEGO and CredSSP authentication" -HOMEPAGE=" - https://github.com/jborean93/pyspnego/ - https://pypi.org/project/pyspnego/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" - -RDEPEND=" - dev-python/cryptography[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/cython[${PYTHON_USEDEP}] - test? ( - dev-python/gssapi[${PYTHON_USEDEP}] - >=dev-python/krb5-0.3.0[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/ruamel-yaml[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -pkg_postinst() { - optfeature "Kerberos authentication" "dev-python/gssapi >=dev-python/krb5-0.3.0" - optfeature "YAML output support" "dev-python/ruamel-yaml" -} diff --git a/dev-python/python-box/Manifest b/dev-python/python-box/Manifest index fe800b65b7b7..19f8e6c78cf2 100644 --- a/dev-python/python-box/Manifest +++ b/dev-python/python-box/Manifest @@ -1,2 +1 @@ -DIST Box-7.0.1.gh.tar.gz 86746 BLAKE2B 33288c89d1b285d1c04ebb00d56a26d451f7b22eefbcef12219108975aa610054af67f69153436033a183c7b26cf216649ddc75b4354f2ff4f02f2a6fc2903bd SHA512 fe08fbca79fa02e53bc4208387162e49917f302e1595d924d4290d690092a9f7fae3f0cac66de1fd48ef16e627c4fbc2b2babed52b04381b24dab9b083040cf7 DIST Box-7.1.1.gh.tar.gz 87515 BLAKE2B 388944c3a577105ce1e12e9abff7da148d028db88d8070a09e6abe190882acdbfa4cf9d773af6cbae7e945603dc13d3d853253dc18b0d2d2b17c678293583b8a SHA512 60e44eda013a5ab1de2215d156caf2567a24b0471ee20e52096137ad761e92c3ca20d9f3967a21e38ac924488a2b76399c4ea1bc86b652dd72d7494ce22effee diff --git a/dev-python/python-box/python-box-7.0.1.ebuild b/dev-python/python-box/python-box-7.0.1.ebuild deleted file mode 100644 index cd8ca9e682b0..000000000000 --- a/dev-python/python-box/python-box-7.0.1.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 - -MY_P=Box-${PV} -DESCRIPTION="Python dictionaries with advanced dot notation access" -HOMEPAGE=" - https://github.com/cdgriffith/Box/ - https://pypi.org/project/python-box/ -" -SRC_URI=" - https://github.com/cdgriffith/Box/archive/${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64" - -RDEPEND=" - dev-python/msgpack[${PYTHON_USEDEP}] - dev-python/ruamel-yaml[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/tomli[${PYTHON_USEDEP}] - ' 3.8 3.9 3.10) - dev-python/tomli-w[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/cython[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # looks like broken tests - # https://github.com/cdgriffith/Box/issues/257 - test/test_box.py::TestBox::test_box_kwargs_should_not_be_included - test/test_box.py::TestBox::test_box_namespace - ) - - rm -rf box || die - epytest -} diff --git a/dev-python/python-box/python-box-7.1.1.ebuild b/dev-python/python-box/python-box-7.1.1.ebuild index 2590fc215425..87fd133e41c9 100644 --- a/dev-python/python-box/python-box-7.1.1.ebuild +++ b/dev-python/python-box/python-box-7.1.1.ebuild @@ -23,7 +23,7 @@ S=${WORKDIR}/${MY_P} LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="amd64" IUSE="+native-extensions" RDEPEND=" diff --git a/dev-python/rich/Manifest b/dev-python/rich/Manifest index d11c9cc27921..bc93688baf06 100644 --- a/dev-python/rich/Manifest +++ b/dev-python/rich/Manifest @@ -1,3 +1,4 @@ DIST rich-13.4.2.gh.tar.gz 15063000 BLAKE2B f65079440bc7d89a3ff03be01fa71e076493ae50f22ae8781be2448a7ff2769c174d6654db3a835d34720c34cd8cbecfdd6b13e3064cf7fdcade71806563309d SHA512 17052a9fb0e1d89b31a00d8a719214719891d048fd805185b2d4258c8766130f44bf2280c9567bc162f3b34d9bf2eb7d747d6a37d910c81cd53d3003b51f70bd DIST rich-13.5.2.gh.tar.gz 15064941 BLAKE2B 64f7e879588c42db9ac4f2173647143722c1de4865479b975ac5362e8073f60b493193abb0f50fb0d85923fdbe4145b2331fff7564ab78e3b43bc3a1be9d461c SHA512 60dfc66836f277763695611f6a3890da21afbb84bd85f38952efdac78680a8e3faca2e8c0aa937d618f876df1f36d3e67986979aa4fa9b6cb7dfb214f348b8aa DIST rich-13.5.3.gh.tar.gz 15065440 BLAKE2B cba268b36499c0f65980ba7b7ce327c53d598b856a39e6c69989b55d488eb0bbe305b6ebf1ca0370251aa8f9ec7dacc6bdee612587a9ace9c66f19d91fdc20b8 SHA512 acae49b796c8ff310b272bca43ce925fe717ddc6252dec20784a4730e63e9c0f81f459ee40b152c001ad0a512e47dddaadbb8fbb949ced262e2d5429b6396344 +DIST rich-13.6.0.gh.tar.gz 15055370 BLAKE2B f9182d45ee5ebd802e0b5a02de7a8c27b98770fc97be7ad098aa0c77076bfe38af8d9434bcf961dd300718e1f4e14ee8bf669a89e8f7a24cd4d9817e11552f81 SHA512 6b954205b3cf5f2b7afd35b2b4f022c973206c8073e6c3f20979e015ebd64359576962d5bd3b29e5feb1dfed54f72def6c7c5d51d7940ed280022cf273b515ec diff --git a/dev-python/rich/rich-13.6.0.ebuild b/dev-python/rich/rich-13.6.0.ebuild new file mode 100644 index 000000000000..8a748f543f0d --- /dev/null +++ b/dev-python/rich/rich-13.6.0.ebuild @@ -0,0 +1,55 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) + +inherit distutils-r1 optfeature + +DESCRIPTION="Python library for rendering rich text, tables, etc. to the terminal" +HOMEPAGE=" + https://github.com/Textualize/rich/ + https://pypi.org/project/rich/ +" +SRC_URI=" + https://github.com/Textualize/rich/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/colorama[${PYTHON_USEDEP}] + >=dev-python/markdown-it-py-2.2.0[${PYTHON_USEDEP}] + >=dev-python/pygments-2.13.0[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # TODO + tests/test_console.py::test_size_can_fall_back_to_std_descriptors + ) + # version-specific output -- the usual deal + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + # pypy3.10, to be more precise + tests/test_inspect.py::test_inspect_integer_with_methods_python310only + ) + ;; + esac + + local -x COLUMNS=80 + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} + +pkg_postinst() { + optfeature "integration with HTML widgets for Jupyter" dev-python/ipywidgets +} diff --git a/dev-python/sentry-sdk/Manifest b/dev-python/sentry-sdk/Manifest index 7b0ad40a7874..dce2ef9be5d6 100644 --- a/dev-python/sentry-sdk/Manifest +++ b/dev-python/sentry-sdk/Manifest @@ -1,3 +1 @@ -DIST sentry-python-1.29.2.gh.tar.gz 382177 BLAKE2B 1fa42e53ed1115fb50b3a5d4a49ca7f851cc487ecb638b7add2d261ed207c9c8d4ccc1ca20760516e82e5a5cd52b1582271b81e52977b87944b0df55365a9800 SHA512 56fd53f3a43acc1c2fe5bd6f44c7a5a63b4ab944919fa5a4539239230c3c64eb75e75414e26809d12bcb601a779b661d6dec73dededa07e10f120438ea3ad5c7 -DIST sentry-python-1.30.0.gh.tar.gz 387394 BLAKE2B 2b3e41e209d162406b3c2d216ca65616b88db137f51bda8b22fb8be730deb07ffa05d75e674e86a94b772e739ec5b8d1c0c96efe20cb49355d8d96271af3169d SHA512 50590b0553b803b0555b9e562eda4d84edc8bfd02a7beaf9e0a17dec76ff5c22b4d618a7dfc4fc05ad9c2c0d14f8e34f9c5a39795aacb9e8872c1a3e3f9a0219 DIST sentry-python-1.31.0.gh.tar.gz 399341 BLAKE2B e5162a619335bd7e089ed01c938d29233b5a19315f11e414a1e51d4539ea3a371a3dd743ad0dafedaff7bf8ca801855e016ea62d38a02fcab8702c8fbf879e0b SHA512 29504e3f94d994512e52c18df7dc156fcf86a67e68c2f11f0be007577b61e4a3b606cf7b58ef0488c3b764fa9193d8f7672e2c9515c0099a9a44574fd8c5c07e diff --git a/dev-python/sentry-sdk/sentry-sdk-1.29.2.ebuild b/dev-python/sentry-sdk/sentry-sdk-1.29.2.ebuild deleted file mode 100644 index c929214cb3e5..000000000000 --- a/dev-python/sentry-sdk/sentry-sdk-1.29.2.ebuild +++ /dev/null @@ -1,118 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 - -MY_P=sentry-python-${PV} -DESCRIPTION="Python client for Sentry" -HOMEPAGE=" - https://sentry.io/ - https://github.com/getsentry/sentry-python/ - https://pypi.org/project/sentry-sdk/ -" -SRC_URI=" - https://github.com/getsentry/sentry-python/archive/${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="PSF-2" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86" - -RDEPEND=" - dev-python/urllib3[${PYTHON_USEDEP}] - dev-python/certifi[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/asttokens[${PYTHON_USEDEP}] - dev-python/django[${PYTHON_USEDEP}] - dev-python/executing[${PYTHON_USEDEP}] - dev-python/fakeredis[${PYTHON_USEDEP}] - dev-python/flask-login[${PYTHON_USEDEP}] - dev-python/jsonschema[${PYTHON_USEDEP}] - dev-python/pyrsistent[${PYTHON_USEDEP}] - dev-python/pytest-aiohttp[${PYTHON_USEDEP}] - dev-python/pytest-django[${PYTHON_USEDEP}] - dev-python/pytest-forked[${PYTHON_USEDEP}] - dev-python/pytest-localserver[${PYTHON_USEDEP}] - dev-python/python-socks[${PYTHON_USEDEP}] - dev-python/responses[${PYTHON_USEDEP}] - dev-python/werkzeug[${PYTHON_USEDEP}] - dev-python/zope-event[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -PATCHES=( - "${FILESDIR}/sentry-sdk-1.21.0-ignore-warnings.patch" -) - -EPYTEST_IGNORE=( - # tests require Internet access - tests/integrations/httpx/test_httpx.py - tests/integrations/requests/test_requests.py - tests/integrations/stdlib/test_httplib.py - tests/integrations/flask/test_flask.py - tests/integrations/django/test_basic.py - tests/integrations/socket/test_socket.py - # wtf is it supposed to do?! - tests/integrations/gcp/test_gcp.py - # broken by rq-1.10.1 (optional dep) - tests/integrations/rq/test_rq.py - # fastapi is not packaged - tests/integrations/asgi/test_fastapi.py - # TODO - tests/integrations/bottle - # TODO: causes breakage in other tests - tests/integrations/starlette - # TODO - tests/integrations/tornado - # requires mockupdb - tests/integrations/pymongo -) - -EPYTEST_DESELECT=( - # hangs - 'tests/test_transport.py::test_transport_works' - # TODO - 'tests/test_basics.py::test_auto_enabling_integrations_catches_import_error' - tests/test_client.py::test_databag_depth_stripping - tests/test_client.py::test_databag_string_stripping - tests/test_client.py::test_databag_breadth_stripping - tests/integrations/asgi/test_asgi.py::test_auto_session_tracking_with_aggregates - tests/integrations/asgi/test_asgi.py::test_websocket - tests/integrations/aiohttp/test_aiohttp.py::test_transaction_style - tests/integrations/aiohttp/test_aiohttp.py::test_traces_sampler_gets_request_object_in_sampling_context - tests/integrations/django/test_data_scrubbing.py::test_scrub_django_custom_session_cookies_filtered - # incompatible version? - tests/integrations/falcon/test_falcon.py - tests/integrations/sqlalchemy/test_sqlalchemy.py::test_large_event_not_truncated - # test_circular_references: apparently fragile - 'tests/integrations/threading/test_threading.py::test_circular_references' - # test for new feature, fails with IndexError - tests/integrations/wsgi/test_wsgi.py::test_session_mode_defaults_to_request_mode_in_wsgi_handler - # TODO - tests/integrations/wsgi/test_wsgi.py::test_auto_session_tracking_with_aggregates - tests/integrations/wsgi/test_wsgi.py::test_profile_sent_when_profiling_enabled - tests/test_profiler.py::test_sample_buffer - tests/test_profiler.py::test_thread_scheduler_takes_first_samples - tests/test_profiler.py::test_thread_scheduler_takes_more_samples - tests/test_profiler.py::test_thread_scheduler_single_background_thread - # broken with py3.11, *shrug* - tests/test_profiler.py::test_extract_stack_with_max_depth - # TODO - tests/integrations/sqlalchemy/test_sqlalchemy.py::test_long_sql_query_preserved - tests/integrations/sqlalchemy/test_sqlalchemy.py::test_engine_name_not_string - tests/test_scrubber.py::test_breadcrumb_extra_scrubbing - tests/test_scrubber.py::test_span_data_scrubbing - # this is not even funny - tests/integrations/modules/test_modules.py::test_installed_modules -) diff --git a/dev-python/sentry-sdk/sentry-sdk-1.30.0.ebuild b/dev-python/sentry-sdk/sentry-sdk-1.30.0.ebuild deleted file mode 100644 index 8c4141d9b27c..000000000000 --- a/dev-python/sentry-sdk/sentry-sdk-1.30.0.ebuild +++ /dev/null @@ -1,118 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 - -MY_P=sentry-python-${PV} -DESCRIPTION="Python client for Sentry" -HOMEPAGE=" - https://sentry.io/ - https://github.com/getsentry/sentry-python/ - https://pypi.org/project/sentry-sdk/ -" -SRC_URI=" - https://github.com/getsentry/sentry-python/archive/${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="PSF-2" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" - -RDEPEND=" - dev-python/urllib3[${PYTHON_USEDEP}] - dev-python/certifi[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/asttokens[${PYTHON_USEDEP}] - dev-python/django[${PYTHON_USEDEP}] - dev-python/executing[${PYTHON_USEDEP}] - dev-python/fakeredis[${PYTHON_USEDEP}] - dev-python/flask-login[${PYTHON_USEDEP}] - dev-python/jsonschema[${PYTHON_USEDEP}] - dev-python/pyrsistent[${PYTHON_USEDEP}] - dev-python/pytest-aiohttp[${PYTHON_USEDEP}] - dev-python/pytest-django[${PYTHON_USEDEP}] - dev-python/pytest-forked[${PYTHON_USEDEP}] - dev-python/pytest-localserver[${PYTHON_USEDEP}] - dev-python/python-socks[${PYTHON_USEDEP}] - dev-python/responses[${PYTHON_USEDEP}] - dev-python/werkzeug[${PYTHON_USEDEP}] - dev-python/zope-event[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -PATCHES=( - "${FILESDIR}/sentry-sdk-1.21.0-ignore-warnings.patch" -) - -EPYTEST_IGNORE=( - # tests require Internet access - tests/integrations/httpx/test_httpx.py - tests/integrations/requests/test_requests.py - tests/integrations/stdlib/test_httplib.py - tests/integrations/flask/test_flask.py - tests/integrations/django/test_basic.py - tests/integrations/socket/test_socket.py - # wtf is it supposed to do?! - tests/integrations/gcp/test_gcp.py - # broken by rq-1.10.1 (optional dep) - tests/integrations/rq/test_rq.py - # fastapi is not packaged - tests/integrations/asgi/test_fastapi.py - # TODO - tests/integrations/bottle - # TODO: causes breakage in other tests - tests/integrations/starlette - # TODO - tests/integrations/tornado - # requires mockupdb - tests/integrations/pymongo -) - -EPYTEST_DESELECT=( - # hangs - 'tests/test_transport.py::test_transport_works' - # TODO - 'tests/test_basics.py::test_auto_enabling_integrations_catches_import_error' - tests/test_client.py::test_databag_depth_stripping - tests/test_client.py::test_databag_string_stripping - tests/test_client.py::test_databag_breadth_stripping - tests/integrations/asgi/test_asgi.py::test_auto_session_tracking_with_aggregates - tests/integrations/asgi/test_asgi.py::test_websocket - tests/integrations/aiohttp/test_aiohttp.py::test_transaction_style - tests/integrations/aiohttp/test_aiohttp.py::test_traces_sampler_gets_request_object_in_sampling_context - tests/integrations/django/test_data_scrubbing.py::test_scrub_django_custom_session_cookies_filtered - # incompatible version? - tests/integrations/falcon/test_falcon.py - tests/integrations/sqlalchemy/test_sqlalchemy.py::test_large_event_not_truncated - # test_circular_references: apparently fragile - 'tests/integrations/threading/test_threading.py::test_circular_references' - # test for new feature, fails with IndexError - tests/integrations/wsgi/test_wsgi.py::test_session_mode_defaults_to_request_mode_in_wsgi_handler - # TODO - tests/integrations/wsgi/test_wsgi.py::test_auto_session_tracking_with_aggregates - tests/integrations/wsgi/test_wsgi.py::test_profile_sent_when_profiling_enabled - tests/test_profiler.py::test_sample_buffer - tests/test_profiler.py::test_thread_scheduler_takes_first_samples - tests/test_profiler.py::test_thread_scheduler_takes_more_samples - tests/test_profiler.py::test_thread_scheduler_single_background_thread - # broken with py3.11, *shrug* - tests/test_profiler.py::test_extract_stack_with_max_depth - # TODO - tests/integrations/sqlalchemy/test_sqlalchemy.py::test_long_sql_query_preserved - tests/integrations/sqlalchemy/test_sqlalchemy.py::test_engine_name_not_string - tests/test_scrubber.py::test_breadcrumb_extra_scrubbing - tests/test_scrubber.py::test_span_data_scrubbing - # this is not even funny - tests/integrations/modules/test_modules.py::test_installed_modules -) diff --git a/dev-python/sentry-sdk/sentry-sdk-1.31.0.ebuild b/dev-python/sentry-sdk/sentry-sdk-1.31.0.ebuild index 38aaf0e96a4f..9344b59d84bd 100644 --- a/dev-python/sentry-sdk/sentry-sdk-1.31.0.ebuild +++ b/dev-python/sentry-sdk/sentry-sdk-1.31.0.ebuild @@ -23,7 +23,7 @@ S=${WORKDIR}/${MY_P} LICENSE="PSF-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86" RDEPEND=" dev-python/urllib3[${PYTHON_USEDEP}] diff --git a/dev-python/stack_data/Manifest b/dev-python/stack-data/Manifest index 49fbecb4576b..2ebcdccea8df 100644 --- a/dev-python/stack_data/Manifest +++ b/dev-python/stack-data/Manifest @@ -1 +1,2 @@ DIST stack_data-0.6.2.tar.gz 44146 BLAKE2B 1344b48a597af3df3a00036412c513faa97824f183a4337566a1a8efafcb6ec6597cf5fad3c6d532e8df2173900bdf87d0071efc66a801bd93743a92619fb5dd SHA512 cdc623f8efc2fc4a968fd537c2147f4de90c0878554b3d3d741cf916ae549da8756d6ac943dbdee94721cc6a0c433d04d73e30bccee2b4ec1f5027efc3c9b90d +DIST stack_data-0.6.3.tar.gz 44707 BLAKE2B d50e8c8e925cd9a4a19f883422aa487543836b36e20861f9bdf41551484ba02f7bdfb729f8bc051b3a97e76b4df7e7833b53bd3c47daf85dc2aa4e8d5d1c11b1 SHA512 629c112c09a1f69566160039c4d5fd49e59bdc206ad76799c67418e08b93a0990dd802078b646da175ab719b448394b723aab37479be14d09c0fb1c72cdbd0b8 diff --git a/dev-python/stack_data/files/stack_data-0.6.2-pygments-2.14.0.patch b/dev-python/stack-data/files/stack-data-0.6.2-pygments-2.14.0.patch index 6d1909bd8382..6d1909bd8382 100644 --- a/dev-python/stack_data/files/stack_data-0.6.2-pygments-2.14.0.patch +++ b/dev-python/stack-data/files/stack-data-0.6.2-pygments-2.14.0.patch diff --git a/dev-python/stack_data/metadata.xml b/dev-python/stack-data/metadata.xml index ea8988e8af6a..ea8988e8af6a 100644 --- a/dev-python/stack_data/metadata.xml +++ b/dev-python/stack-data/metadata.xml diff --git a/dev-python/stack_data/stack_data-0.6.2.ebuild b/dev-python/stack-data/stack-data-0.6.2.ebuild index 755fdadf8cbb..755fdadf8cbb 100644 --- a/dev-python/stack_data/stack_data-0.6.2.ebuild +++ b/dev-python/stack-data/stack-data-0.6.2.ebuild diff --git a/dev-python/stack-data/stack-data-0.6.3.ebuild b/dev-python/stack-data/stack-data-0.6.3.ebuild new file mode 100644 index 000000000000..f63b3e310752 --- /dev/null +++ b/dev-python/stack-data/stack-data-0.6.3.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Extract data from Python tracebacks for informative displays" +HOMEPAGE=" + https://github.com/alexmojaki/stack_data/ + https://pypi.org/project/stack-data/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" + +RDEPEND=" + >=dev-python/asttokens-2.1.0[${PYTHON_USEDEP}] + >=dev-python/executing-1.2.0[${PYTHON_USEDEP}] + dev-python/pure_eval[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/cython[${PYTHON_USEDEP}] + dev-python/typeguard[${PYTHON_USEDEP}] + dev-python/littleutils[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # Cython looks for the module in the wrong directory, for some reason + tests/test_formatter.py::test_example +) diff --git a/dev-python/starlette/Manifest b/dev-python/starlette/Manifest index cfdc752c1bda..6375f2f86a41 100644 --- a/dev-python/starlette/Manifest +++ b/dev-python/starlette/Manifest @@ -1,2 +1 @@ -DIST starlette-0.30.0.gh.tar.gz 2844387 BLAKE2B 00457d4913bd1c99fc6972baae56c5ebe84ba8215c6dd4f7875f6d93856ba40454d8a72828e715624bb945dce4abfbe407ed16e289a393af7be980f36389f9ae SHA512 751077fcfe3d344584d8986f3fc2bc25208716ca215db8ce62dfc752008dacd95f4834367f0921ceacaafa6b20409a9912f49ceabc23d7e9e5f636c6fb3646b2 DIST starlette-0.31.1.gh.tar.gz 2846196 BLAKE2B 08ebe13d4b9716c6ff74a4f9ca6333f5e6dc31c6ce359b39cbf8e9822fad2e8c8a111788a37893ad687f4d3ffb3bef1e21146f3769b3ac07f083b1c454c07fa3 SHA512 8501b1f40fea9351eba8366dfe1adcb27d19a64a2f547153f3106f8d6828a47c850d6ffb634d6ce60e74fc02d510afda22bca33e07631b72f9a5558e977ea0f6 diff --git a/dev-python/starlette/starlette-0.30.0.ebuild b/dev-python/starlette/starlette-0.30.0.ebuild deleted file mode 100644 index 17481f4908d9..000000000000 --- a/dev-python/starlette/starlette-0.30.0.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) - -inherit distutils-r1 - -MY_P=${P/_p/.post} -DESCRIPTION="The little ASGI framework that shines" -HOMEPAGE=" - https://www.starlette.io/ - https://github.com/encode/starlette/ - https://pypi.org/project/starlette/ -" -# no docs or tests in sdist, as of 0.27.0 -SRC_URI=" - https://github.com/encode/starlette/archive/${PV/_p/.post}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - <dev-python/anyio-5[${PYTHON_USEDEP}] - >=dev-python/anyio-3.4.0[${PYTHON_USEDEP}] - >=dev-python/httpx-0.22.0[${PYTHON_USEDEP}] - dev-python/itsdangerous[${PYTHON_USEDEP}] - dev-python/jinja[${PYTHON_USEDEP}] - dev-python/python-multipart[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/trio[${PYTHON_USEDEP}] - ) -" - -EPYTEST_IGNORE=( - # Unpackaged 'databases' dependency - tests/test_database.py -) - -distutils_enable_tests pytest diff --git a/dev-python/starlette/starlette-0.31.1.ebuild b/dev-python/starlette/starlette-0.31.1.ebuild index ecb77a7198b8..17481f4908d9 100644 --- a/dev-python/starlette/starlette-0.31.1.ebuild +++ b/dev-python/starlette/starlette-0.31.1.ebuild @@ -24,7 +24,7 @@ S=${WORKDIR}/${MY_P} LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" <dev-python/anyio-5[${PYTHON_USEDEP}] diff --git a/dev-python/typeguard/typeguard-4.1.4.ebuild b/dev-python/typeguard/typeguard-4.1.4.ebuild index 18d69019e2e3..91d473f8f18f 100644 --- a/dev-python/typeguard/typeguard-4.1.4.ebuild +++ b/dev-python/typeguard/typeguard-4.1.4.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" $(python_gen_cond_dep ' diff --git a/dev-python/wcwidth/Manifest b/dev-python/wcwidth/Manifest index fca5e63e18b8..2b52a325d2fa 100644 --- a/dev-python/wcwidth/Manifest +++ b/dev-python/wcwidth/Manifest @@ -1,2 +1,3 @@ DIST wcwidth-0.2.6.gh.tar.gz 51990 BLAKE2B 8561e06aaf92f48246bacfb4012358067d81d4d9eeb33a0406eb012b5c22841ac66ff5760df2d5ea6a5d48a1880b4b9cbbcddf7a5eba5f663f6a559005f657ad SHA512 1f97cb6ef6a804da1d062b8dafb146a3e21261e63a644bad88bed74101be1371c753c2645db5ad25868fe9641fce9b13bd5dc920496b00e1d73d406f69631ac9 DIST wcwidth-0.2.7.gh.tar.gz 54601 BLAKE2B 5ffd919e38c1e6f160e4c5ac007c42635d93fb9300338f51928db8bf19c25fc4ac6624e8633d2166435878090a130ea2cd2a0b854db10519983f0fe4d0307a6d SHA512 3044d66bd97b05904766fa29fe3c66599767bf79361081a55f4e605f2015c990b0f1934ae875f853f4f6e8acbef1f6a56492ba63eda5b5a14dd83d0cc34588d2 +DIST wcwidth-0.2.8.tar.gz 61713 BLAKE2B ca3d0c58e2ccab0fbb5493aacc8df81e9dc1faf7572543b7aa277875d617e0d4dc0c5ff6032f5f0f3846f52f26c407ddc5dd941780411572bce8ddc467a33dd7 SHA512 4a9ac4a3068c8ac25a7073d6c5e5782c3915184929ee191a2169eca510668e6e0b15856e71bd8b8d4c580767542d695b25a370329e95da317295104b962737f1 diff --git a/dev-python/wcwidth/wcwidth-0.2.8.ebuild b/dev-python/wcwidth/wcwidth-0.2.8.ebuild new file mode 100644 index 000000000000..8fe047aa6032 --- /dev/null +++ b/dev-python/wcwidth/wcwidth-0.2.8.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Measures number of Terminal column cells of wide-character codes" +HOMEPAGE=" + https://pypi.org/project/wcwidth/ + https://github.com/jquast/wcwidth/ +" + +SLOT="0" +LICENSE="MIT" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" + +distutils_enable_tests pytest + +src_prepare() { + sed -e 's:--cov-append::' \ + -e 's:--cov-report=html::' \ + -e 's:--cov=wcwidth::' \ + -i tox.ini || die + distutils-r1_src_prepare +} + +python_install_all() { + docinto docs + dodoc docs/intro.rst + distutils-r1_python_install_all +} diff --git a/dev-python/werkzeug/Manifest b/dev-python/werkzeug/Manifest index 95e1677e4072..e070e980a140 100644 --- a/dev-python/werkzeug/Manifest +++ b/dev-python/werkzeug/Manifest @@ -1,2 +1,3 @@ DIST werkzeug-2.3.6.gh.tar.gz 833832 BLAKE2B 8bf2598ee2ff63a4515357802749f952ba68a484e52f9a488efc3e49ad54e9764334d14a7b57584c1dd610f5e7922023d6ac08d8b3cc433c4789554205e43294 SHA512 a7563eeb70b465580a136ae4e4e51afcd14d0760deedac619d469a5be85eb500fec456056371921317511c986f4f4453d1f86e408378e6062b6aa40b8365ca8f DIST werkzeug-2.3.7.gh.tar.gz 834304 BLAKE2B 331ffe1f7f079defbd639f391522facfd98cad704da0ed92235f111f401c40b3d06c40b2e0f5c0d0ac8d798335171870a6ce221d02810a8cf3d25f480ee7f7f8 SHA512 76daba77523f486a56f945f54b9f317589d72e36458d7dce975ae597835de8936242edd6ceafa8913d00021557a9da2acfe9619be562fe7b482858daf84dfd2f +DIST werkzeug-3.0.0.gh.tar.gz 817103 BLAKE2B d606b5c8956b69f32fd944c1a55b2ea0815f97d02665e6fa430a66a8ca64021d6f1263262971f59e5d4f69ece36053138504c81d7392edc09ca4c8337be104be SHA512 d220a38e0fbc4e5da8f705f9d53fb9a22a7ff1643cfd4ba35101cb9c814fa31b0a6f58bb1f024108ff5c3571f4b0333e58fb6c1b331f5caf44d89fac03dd5ad7 diff --git a/dev-python/werkzeug/werkzeug-2.3.7.ebuild b/dev-python/werkzeug/werkzeug-2.3.7.ebuild index 8133e2b9fba5..7a7d7133dcef 100644 --- a/dev-python/werkzeug/werkzeug-2.3.7.ebuild +++ b/dev-python/werkzeug/werkzeug-2.3.7.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" IUSE="test-rust" RDEPEND=" diff --git a/dev-python/werkzeug/werkzeug-3.0.0.ebuild b/dev-python/werkzeug/werkzeug-3.0.0.ebuild new file mode 100644 index 000000000000..40fd14c54e50 --- /dev/null +++ b/dev-python/werkzeug/werkzeug-3.0.0.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Collection of various utilities for WSGI applications" +HOMEPAGE=" + https://palletsprojects.com/p/werkzeug/ + https://pypi.org/project/Werkzeug/ + https://github.com/pallets/werkzeug/ +" +SRC_URI=" + https://github.com/pallets/werkzeug/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="test-rust" + +RDEPEND=" + >=dev-python/markupsafe-2.1.1[${PYTHON_USEDEP}] +" +# NOTE: remove the loong mask after greenlet gains support for loong +# see https://github.com/python-greenlet/greenlet/pull/257 +BDEPEND=" + test? ( + dev-python/ephemeral-port-reserve[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/pytest-xprocess[${PYTHON_USEDEP}] + >=dev-python/watchdog-2.3[${PYTHON_USEDEP}] + test-rust? ( + dev-python/cryptography[${PYTHON_USEDEP}] + ) + !hppa? ( !ia64? ( !loong? ( + $(python_gen_cond_dep ' + dev-python/greenlet[${PYTHON_USEDEP}] + ' python3_{10..11}) + ) ) ) + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=() + if ! has_version "dev-python/cryptography[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + "tests/test_serving.py::test_server[https]" + tests/test_serving.py::test_ssl_dev_cert + tests/test_serving.py::test_ssl_object + ) + fi + + # the default portage tempdir is too long for AF_UNIX sockets + local -x TMPDIR=/tmp + epytest -p no:django -p no:httpbin tests +} |
