From 262a170a603cee433f640577f13472ab41a5d3aa Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 19 Jun 2023 07:50:17 +0100 Subject: gentoo auto-resync : 19:06:2023 - 07:50:17 --- dev-python/Manifest.gz | Bin 262519 -> 262555 bytes dev-python/ansible-compat/Manifest | 2 - .../ansible-compat/ansible-compat-3.0.1.ebuild | 52 ---- dev-python/apsw/Manifest | 2 - dev-python/apsw/apsw-3.41.2.0.ebuild | 51 ---- dev-python/asteval/Manifest | 2 + dev-python/asteval/asteval-0.9.30.ebuild | 36 +++ dev-python/django-timezone-field/Manifest | 2 + .../django-timezone-field-5.1.ebuild | 43 +++ dev-python/hypothesis/Manifest | 2 + dev-python/hypothesis/hypothesis-6.79.1.ebuild | 97 +++++++ dev-python/importlib-metadata/Manifest | 2 + .../importlib-metadata-6.7.0.ebuild | 50 ++++ dev-python/jaraco-path/Manifest | 2 + dev-python/jaraco-path/jaraco-path-3.6.0.ebuild | 31 +++ dev-python/platformdirs/Manifest | 2 + dev-python/platformdirs/platformdirs-3.6.0.ebuild | 49 ++++ dev-python/pyparsing/Manifest | 2 + dev-python/pyparsing/pyparsing-3.1.0.ebuild | 47 ++++ dev-python/pypdf/Manifest | 2 + dev-python/pypdf/pypdf-3.10.0.ebuild | 54 ++++ dev-python/pypy-exe-bin/Manifest | 18 -- .../pypy-exe-bin/pypy-exe-bin-7.3.12_rc1.ebuild | 79 ------ .../pypy-exe-bin/pypy-exe-bin-7.3.12_rc2.ebuild | 79 ------ dev-python/pypy-exe/Manifest | 6 - dev-python/pypy-exe/pypy-exe-7.3.12_rc1.ebuild | 177 ------------ dev-python/pypy-exe/pypy-exe-7.3.12_rc2.ebuild | 177 ------------ dev-python/pypy/Manifest | 6 - dev-python/pypy/pypy-7.3.12_rc1.ebuild | 301 --------------------- dev-python/pypy/pypy-7.3.12_rc2.ebuild | 301 --------------------- dev-python/pypy3-exe-bin/Manifest | 9 - .../pypy3-exe-bin/pypy3-exe-bin-7.3.12_rc1.ebuild | 82 ------ dev-python/pypy3-exe/Manifest | 3 - dev-python/pypy3-exe/pypy3-exe-7.3.12_rc1.ebuild | 127 --------- dev-python/pypy3/Manifest | 5 - dev-python/pypy3/pypy3-7.3.12_rc1.ebuild | 208 -------------- dev-python/pypy3/pypy3-7.3.12_rc2-r100.ebuild | 26 -- dev-python/pypy3/pypy3-7.3.12_rc2.ebuild | 26 -- dev-python/pypy3_10-exe-bin/Manifest | 9 - .../pypy3_10-exe-bin-7.3.12_rc2.ebuild | 82 ------ dev-python/pypy3_10-exe/Manifest | 3 - .../pypy3_10-exe/pypy3_10-exe-7.3.12_rc2.ebuild | 127 --------- dev-python/pypy3_10/Manifest | 7 +- dev-python/pypy3_10/pypy3_10-7.3.12-r1.ebuild | 209 ++++++++++++++ dev-python/pypy3_10/pypy3_10-7.3.12.ebuild | 208 -------------- dev-python/pypy3_10/pypy3_10-7.3.12_rc2.ebuild | 208 -------------- dev-python/pypy3_10/pypy3_10-7.3.12_rc2_p1.ebuild | 208 -------------- dev-python/pypy3_9-exe-bin/Manifest | 9 - .../pypy3_9-exe-bin-7.3.12_rc2.ebuild | 82 ------ dev-python/pypy3_9-exe/Manifest | 3 - .../pypy3_9-exe/pypy3_9-exe-7.3.12_rc2.ebuild | 127 --------- dev-python/pypy3_9/Manifest | 5 +- dev-python/pypy3_9/pypy3_9-7.3.12-r1.ebuild | 209 ++++++++++++++ dev-python/pypy3_9/pypy3_9-7.3.12.ebuild | 208 -------------- dev-python/pypy3_9/pypy3_9-7.3.12_rc2.ebuild | 208 -------------- dev-python/pytools/Manifest | 2 + dev-python/pytools/pytools-2023.1.ebuild | 33 +++ dev-python/pyupgrade/Manifest | 2 + dev-python/pyupgrade/pyupgrade-3.7.0.ebuild | 30 ++ dev-python/tekore/Manifest | 2 + dev-python/tekore/tekore-5.0.0.ebuild | 50 ++++ dev-python/zeroconf/Manifest | 2 + dev-python/zeroconf/zeroconf-0.69.0.ebuild | 56 ++++ 63 files changed, 1020 insertions(+), 3229 deletions(-) delete mode 100644 dev-python/ansible-compat/ansible-compat-3.0.1.ebuild delete mode 100644 dev-python/apsw/apsw-3.41.2.0.ebuild create mode 100644 dev-python/asteval/asteval-0.9.30.ebuild create mode 100644 dev-python/django-timezone-field/django-timezone-field-5.1.ebuild create mode 100644 dev-python/hypothesis/hypothesis-6.79.1.ebuild create mode 100644 dev-python/importlib-metadata/importlib-metadata-6.7.0.ebuild create mode 100644 dev-python/jaraco-path/jaraco-path-3.6.0.ebuild create mode 100644 dev-python/platformdirs/platformdirs-3.6.0.ebuild create mode 100644 dev-python/pyparsing/pyparsing-3.1.0.ebuild create mode 100644 dev-python/pypdf/pypdf-3.10.0.ebuild delete mode 100644 dev-python/pypy-exe-bin/pypy-exe-bin-7.3.12_rc1.ebuild delete mode 100644 dev-python/pypy-exe-bin/pypy-exe-bin-7.3.12_rc2.ebuild delete mode 100644 dev-python/pypy-exe/pypy-exe-7.3.12_rc1.ebuild delete mode 100644 dev-python/pypy-exe/pypy-exe-7.3.12_rc2.ebuild delete mode 100644 dev-python/pypy/pypy-7.3.12_rc1.ebuild delete mode 100644 dev-python/pypy/pypy-7.3.12_rc2.ebuild delete mode 100644 dev-python/pypy3-exe-bin/pypy3-exe-bin-7.3.12_rc1.ebuild delete mode 100644 dev-python/pypy3-exe/pypy3-exe-7.3.12_rc1.ebuild delete mode 100644 dev-python/pypy3/pypy3-7.3.12_rc1.ebuild delete mode 100644 dev-python/pypy3/pypy3-7.3.12_rc2-r100.ebuild delete mode 100644 dev-python/pypy3/pypy3-7.3.12_rc2.ebuild delete mode 100644 dev-python/pypy3_10-exe-bin/pypy3_10-exe-bin-7.3.12_rc2.ebuild delete mode 100644 dev-python/pypy3_10-exe/pypy3_10-exe-7.3.12_rc2.ebuild create mode 100644 dev-python/pypy3_10/pypy3_10-7.3.12-r1.ebuild delete mode 100644 dev-python/pypy3_10/pypy3_10-7.3.12.ebuild delete mode 100644 dev-python/pypy3_10/pypy3_10-7.3.12_rc2.ebuild delete mode 100644 dev-python/pypy3_10/pypy3_10-7.3.12_rc2_p1.ebuild delete mode 100644 dev-python/pypy3_9-exe-bin/pypy3_9-exe-bin-7.3.12_rc2.ebuild delete mode 100644 dev-python/pypy3_9-exe/pypy3_9-exe-7.3.12_rc2.ebuild create mode 100644 dev-python/pypy3_9/pypy3_9-7.3.12-r1.ebuild delete mode 100644 dev-python/pypy3_9/pypy3_9-7.3.12.ebuild delete mode 100644 dev-python/pypy3_9/pypy3_9-7.3.12_rc2.ebuild create mode 100644 dev-python/pytools/pytools-2023.1.ebuild create mode 100644 dev-python/pyupgrade/pyupgrade-3.7.0.ebuild create mode 100644 dev-python/tekore/tekore-5.0.0.ebuild create mode 100644 dev-python/zeroconf/zeroconf-0.69.0.ebuild (limited to 'dev-python') diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz index 074bbb6ae46e..6a5de52b2420 100644 Binary files a/dev-python/Manifest.gz and b/dev-python/Manifest.gz differ diff --git a/dev-python/ansible-compat/Manifest b/dev-python/ansible-compat/Manifest index 742262293e18..fb118902b03c 100644 --- a/dev-python/ansible-compat/Manifest +++ b/dev-python/ansible-compat/Manifest @@ -1,7 +1,5 @@ -DIST ansible-compat-3.0.1.tar.gz 62676 BLAKE2B a1d08311e1b61d8387ef82db65581df4ab7cb4a2520bff9173845fa5b9fe18d173afd4306874967fb40c007546f36d78349a503bd09ae14257a38a59e1cbb22f SHA512 27183b09f957a79254b5dfa237c2ef789dac95e86f421277878a57487a16684de862f03f6ecee6c57ab5a5dfa8c7ee2802d5e63e74ca0aebc61efa46574f0a61 DIST ansible-compat-3.0.2.tar.gz 63328 BLAKE2B d09ae255e08531b26f8cac7082a3ad0cc24f3772b7769b75d644a846dcc1ec0ff65fe1a7e351eeecadd70caae5ef5b5146396df5ec586e10296e116310333e6b SHA512 79f20a25b25104f4f90a4d52317bd01ceb07c00c69dc2e61b74b4c7448805bd966d001893ccf7530bec819ae9ead2515ae70219a887fda733344245cc025dfeb DIST ansible-compat-4.1.2.tar.gz 66934 BLAKE2B 08d17ce6f83b2ac2fc08fab1b3ef54742e75eb0236792fdcf2791a521bc154184d92f6d1f25b241ac6c524352f9cd39be8d3c74d414625a315a468aeb8ce09a8 SHA512 ef6ad4daf7c565de5b1ef1a5ad204e2b8c938f81ef0a736a1af660836ee557d5c88fc06eced2a8a9fb0c6ac5b48cda243052d5ae0b0f634653c9d41211739e64 -EBUILD ansible-compat-3.0.1.ebuild 1527 BLAKE2B 96e2661ff15393733d6b14ec2c3a3e80a1088c6091c4c18ae890e63209c89da545c9dd6ce43a758d7657172bc99ed337b7cd9854932b1ed5f90c5b1a846e0f01 SHA512 e00b04aae139353bac04b38ca8af9831aa20cba91ca222b7f729079f620f1dcbab67d67b7a55c183ba0908ad9bf2d502cfbe2d934db4ac2075d480c6b37d770e EBUILD ansible-compat-3.0.2.ebuild 1527 BLAKE2B 96e2661ff15393733d6b14ec2c3a3e80a1088c6091c4c18ae890e63209c89da545c9dd6ce43a758d7657172bc99ed337b7cd9854932b1ed5f90c5b1a846e0f01 SHA512 e00b04aae139353bac04b38ca8af9831aa20cba91ca222b7f729079f620f1dcbab67d67b7a55c183ba0908ad9bf2d502cfbe2d934db4ac2075d480c6b37d770e EBUILD ansible-compat-4.1.2.ebuild 1527 BLAKE2B 96e2661ff15393733d6b14ec2c3a3e80a1088c6091c4c18ae890e63209c89da545c9dd6ce43a758d7657172bc99ed337b7cd9854932b1ed5f90c5b1a846e0f01 SHA512 e00b04aae139353bac04b38ca8af9831aa20cba91ca222b7f729079f620f1dcbab67d67b7a55c183ba0908ad9bf2d502cfbe2d934db4ac2075d480c6b37d770e MISC metadata.xml 510 BLAKE2B 3f47270866cb9acc5944b71547640b69003891268ffc07b5cd10e6ba8842b6f644ab4dea3b3da2d20b17f34d90e565b6f03a4dbb8ea38fa282fed283ac22fac1 SHA512 65d8604e46581bf9ecb3d8e358f3a211b18c51beea22c92a1cd3668ba86140e3bd8d91a38c221e73fe13a3e0da1cbfc2030b3f7733ee55e045530b49cd77d46d diff --git a/dev-python/ansible-compat/ansible-compat-3.0.1.ebuild b/dev-python/ansible-compat/ansible-compat-3.0.1.ebuild deleted file mode 100644 index a7845cd7c34b..000000000000 --- a/dev-python/ansible-compat/ansible-compat-3.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_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{10..11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Contains functions that facilitate working with various versions of Ansible" -HOMEPAGE=" - https://pypi.org/project/ansible-compat/ - https://github.com/ansible/ansible-compat/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~riscv" - -RDEPEND=" - >=app-admin/ansible-core-2.12[${PYTHON_USEDEP}] - >=dev-python/jsonschema-4.6.0[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - >=dev-python/subprocess-tee-0.4.1[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/setuptools-scm-7.0.0[${PYTHON_USEDEP}] - test? ( - dev-python/flaky[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/pytest-plus[${PYTHON_USEDEP}] - ) -" - -# All these tests attempt to connect to galaxy.ansible.com -EPYTEST_DESELECT=( - test/test_runtime.py::test_install_collection - test/test_runtime.py::test_install_collection_dest - test/test_runtime.py::test_prepare_environment_with_collections - test/test_runtime.py::test_prerun_reqs_v1 - test/test_runtime.py::test_prerun_reqs_v2 - test/test_runtime.py::test_require_collection_no_cache_dir - test/test_runtime.py::test_require_collection_wrong_version - test/test_runtime.py::test_require_collection - test/test_runtime.py::test_upgrade_collection - test/test_runtime_example.py::test_runtime -) - -distutils_enable_tests pytest diff --git a/dev-python/apsw/Manifest b/dev-python/apsw/Manifest index 2156cc4ae922..737373935802 100644 --- a/dev-python/apsw/Manifest +++ b/dev-python/apsw/Manifest @@ -1,5 +1,3 @@ -DIST apsw-3.41.2.0.gh.tar.gz 871995 BLAKE2B 3d6959133cbfe8914eaadb46543a3a65db24b97aef362eb43e90448be34467a2a9e0f651ff67a9b0ce02df2c6eefa5b5e1c599547e72713e2ddbd1ec6c4f558b SHA512 292ea5a84f406fccb3ba5bf229a38d9c35a32f342b7e1065f08b2758c1d0d9b6517d37c32ce625f9e21cc55339eb2eea35da26a0f17d79a1fc58e1d6b08a8570 DIST apsw-3.42.0.0.gh.tar.gz 863081 BLAKE2B 5eee11867e41c396be7cc9bbde1c4bb82a1e294ddd05613d6fbd50ac95c2d5e374632fde3215a838779253ad0f2eb97a4550771767a9f9f7a53c062c7eee5f7e SHA512 e0afa56d1a1d4e8627fe721c36098182efad23128cb053c7c25fc6412d6fe63a50beb66e0bc8dce527c17ff7bd9adb9e71a35fbc4ee769b5231d4dd941b21572 -EBUILD apsw-3.41.2.0.ebuild 936 BLAKE2B 952874cc784b542c16b4ef8894331f8f3107048118b971da0d6c791a2aec5e95318c2eecd8fbf52438335e4e8fe691e48650af3ad0030059f8e7ea5f1b6fb80e SHA512 78adc5bd5695d84fc9899caa9c14541403e1f88d7aab89d734ad91527588e46e2dbb9e970c353720828f705b270d3a0ea2936bc9ddc0ab26f11712619be8be2e EBUILD apsw-3.42.0.0.ebuild 937 BLAKE2B eb06b97299c588bcd508f66c2b28cf041018e02475c8c1f98ef57162200c73581a5a6c2b597939a1a58cbb6f414d50d39ae6c23f635bcfff59bdb656f8987ee0 SHA512 aa74f1cbbce56f667a266fcdcb1177deb973592b1bf50d19a752497b760e378c9cf14c62da5189f52618584e09612a70b50395ba832d285deb866950313742ab MISC metadata.xml 700 BLAKE2B 258344a1602daf3e081fdb4c94eda8af6e231def3f02fb80d63691b47d0a503c9caad80893386ce7ef42d6be2985906f3fc5cfedfe5a1044aee04c493f3d0683 SHA512 de73b4eb06d0bcf4c81e544a98ad15231b006d62fe22f6bce7e38740b941b98297fa1a38b00060ff83ae9f3259c5020c7071469f2a3f0d9e4f8f0301cb942081 diff --git a/dev-python/apsw/apsw-3.41.2.0.ebuild b/dev-python/apsw/apsw-3.41.2.0.ebuild deleted file mode 100644 index 5befcd36f27b..000000000000 --- a/dev-python/apsw/apsw-3.41.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_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} ) - -inherit distutils-r1 - -DESCRIPTION="APSW - Another Python SQLite Wrapper" -HOMEPAGE=" - https://github.com/rogerbinns/apsw/ - https://pypi.org/project/apsw/ -" -SRC_URI=" - https://github.com/rogerbinns/apsw/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="ZLIB" -SLOT="0" -KEYWORDS="amd64 ~arm ~ppc64 x86" -IUSE="doc" - -DEPEND=" - >=dev-db/sqlite-${PV%.*}:3 -" -RDEPEND=" - ${DEPEND} -" - -src_configure() { - cat >> setup.cfg <<-EOF || die - [build_ext] - enable=load_extension - use_system_sqlite_config=True - EOF -} - -python_test() { - esetup.py build_test_extension - cd "${T}" || die - "${EPYTHON}" -m apsw.tests -v || die "Tests failed under ${EPYTHON}" -} - -python_install_all() { - use doc && local HTML_DOCS=( doc/. ) - distutils-r1_python_install_all -} diff --git a/dev-python/asteval/Manifest b/dev-python/asteval/Manifest index 15a69eddf7cb..5bdf7193daf2 100644 --- a/dev-python/asteval/Manifest +++ b/dev-python/asteval/Manifest @@ -1,3 +1,5 @@ DIST asteval-0.9.29.gh.tar.gz 40010 BLAKE2B 1e2570afefc4ca0abd2a19d3498479a947e1634a550bd14f2efe813e00f3ec37b9f0e417616878a087a110d92474a626ba9b2972f8585f528fa492b99b758f03 SHA512 5afd7fe5349b5611112fc15a980f435e359c5fd81ece77041aed84566703f4621ac360dda2f133f0342a8eefe755820f7544fd5eb8195462cc05281ed0eba5dc +DIST asteval-0.9.30.gh.tar.gz 43185 BLAKE2B e25e22eef482877c9a5373a8f5e67d3abbe3e31d44015c4d23731da0b7346c41a92a204da7c71e28ecee6d571d5bdba2c56662ae798d17c08a1569170bc78dd0 SHA512 aebc9e9e6b2b071f52df9aae9b85acf92b16e0559f93603e1e7393e17ae789db6253db767d214e9b391020f8a295017fa37d5630eeadb00fdc823b38018e76ab EBUILD asteval-0.9.29.ebuild 693 BLAKE2B 1184846d94d967aea832a16717c021aaf5381ef795cb00e277ac69a2ac669e0f3c4e948e5789ebc943d3bc809fe57b8b783afd4e3d301aa2049aa07fc05ef7e1 SHA512 5d74a63ddb98f850a77d58cf0202c000c38760c4884a9db9f92551d1d44978db754d26374666f4fb9e55cefed54da356647780011a2f1d8e839399c0fd16e1c5 +EBUILD asteval-0.9.30.ebuild 694 BLAKE2B 09b73c5bd27a3e22acbacd5f00cb9ba31babda95b2056d150b6764999ea99034ac3fb5e504404ee62a3eaeaa91bbb0e8deb913b578968ed7d474d150ef57f1ad SHA512 100d43a6d64027bd8ab1a229f4e8ebbe81545f3198a0882f426e1d806b0cb14a81d495708a2dc7ae1828fd35a6c2d7bfc98201e14edc0891197bd7abf0c8caac MISC metadata.xml 444 BLAKE2B 4e94bb38294deffce8effd2d4faf797d2721aebd5326fdf103ebd0f57bf4a7fce4b5afc2b75241f271d6d8330faa5e830b35e5e13e7fab60e50fd30ffcf1d516 SHA512 8cfb1554f6905e1771c69cc1be2be3d1e4e104c198367e344559a9e1353c68cff99d80543ac0d0c0fd4a55f67dfed6da0682c5651ff7862ce7583928811e78fc diff --git a/dev-python/asteval/asteval-0.9.30.ebuild b/dev-python/asteval/asteval-0.9.30.ebuild new file mode 100644 index 000000000000..9ce6c80225a3 --- /dev/null +++ b/dev-python/asteval/asteval-0.9.30.ebuild @@ -0,0 +1,36 @@ +# 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_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="Evaluator of Python expression using ast module" +HOMEPAGE=" + https://newville.github.io/asteval/ + https://github.com/newville/asteval/ + https://pypi.org/project/asteval/ +" +SRC_URI=" + https://github.com/newville/asteval/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +python_test() { + epytest -o addopts= +} diff --git a/dev-python/django-timezone-field/Manifest b/dev-python/django-timezone-field/Manifest index 150c094e5c5b..71ec459b8b99 100644 --- a/dev-python/django-timezone-field/Manifest +++ b/dev-python/django-timezone-field/Manifest @@ -1,3 +1,5 @@ DIST django-timezone-field-5.0.gh.tar.gz 33265 BLAKE2B 1d6c12ff6854463070dd6a5019cc2bfaf9514e5f6568057c684c7b061d28cc99416bac2796474fd2d884cd382e2c0e0a77883c35d4f7a7d2bb77a79255379268 SHA512 6fba9333463f1d68c0d5c6c85ad32b0106fa66be38c4e07e802222f25a0d0e024a77f36b17cb2644e89b76ea50ed667a324a9583b7b5dc0be7518ffa593335f8 +DIST django-timezone-field-5.1.gh.tar.gz 37449 BLAKE2B 9676bd686f7a1bfb2d7e5ee53db5ca3818a9bc20c4c759c09c6d602bcb1937098c40b9c07b3db1d7ca8af2f8882d6aaa333f325e422725e3ea7303fc60e9b59c SHA512 518e16b092af00edae9b2488fd4e9380a661864e9f2d2d3ed8ffc6d9188831d4a7b79ed81d553bc41089ac8cb6fab760339af668ce7c2c0218d991b77306c50f EBUILD django-timezone-field-5.0.ebuild 836 BLAKE2B 83e8c92ec024f2c6e8f480c0bc63e82113bddbc59604b528f89dd1c42bbf5d48fbc6487f414faedbb5425aaf1dc9c378c6ecdd780b4535568d1c1bcf28842082 SHA512 a72fba7e0c961616d47d07ae750b59cd71375653b06157e8e26f68cc1e0d5dbb47fcd6bc9c0a12d9103c92254bef475c2f3e6be06e40a42ad15517d7ee092ee2 +EBUILD django-timezone-field-5.1.ebuild 931 BLAKE2B 2dbe3f57ba08a4b6f3eac34b73a4aa0d856893908162f6f647bc0519139005f39b4a1bd26d96c81cfd0588740a82d3944533eddfb09bf4b4fd29b3fad42abdae SHA512 d0f03f584e1ccc22c9e2f5a3bddbcc366eb8fc098d96a091187866a548c2207f6f29ab5af44042baedb3237059f035a8d712c5ca1bbc9f68e6d30cbe4c1aa044 MISC metadata.xml 417 BLAKE2B 8169aa146e3ea17598ed401420f9504deccb4fdf4faea57678073d7fcbf7cf4062aaf4e00d4c2eb80a29276b298b144d013b8baedc8b5277ff30bc65dff4f8c4 SHA512 09c5d7dcbf44b72631d63dcbc98e4dd203c28f24ffb5d5e833f6c36e641b4360b096ace62e12faff182fc26fd60fd5f4f9eb3ebf3e463fd0d1afc66fe9a70e6f diff --git a/dev-python/django-timezone-field/django-timezone-field-5.1.ebuild b/dev-python/django-timezone-field/django-timezone-field-5.1.ebuild new file mode 100644 index 000000000000..e445e9112a8e --- /dev/null +++ b/dev-python/django-timezone-field/django-timezone-field-5.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 + +DESCRIPTION="A Django app providing database and form fields for pytz timezone objects" +HOMEPAGE=" + https://github.com/mfogel/django-timezone-field/ + https://pypi.org/project/django-timezone-field/ +" +SRC_URI=" + https://github.com/mfogel/django-timezone-field/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + =dev-python/django-2.2[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/djangorestframework[${PYTHON_USEDEP}] + dev-python/pytest-django[${PYTHON_USEDEP}] + dev-python/pytest-lazy-fixture[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x DB_ENGINE=sqlite + epytest +} diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index 02673d375db0..b1fe05f91523 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -1,5 +1,7 @@ DIST hypothesis-6.76.0.gh.tar.gz 9373576 BLAKE2B ed580296f163f9808597aa3a7b2ceaf1ea43431a9049ffdba229dc0f7886c8ee42829c45c98cc8ec0aae7d1f41f455f7ffd818beb1a956498ac4d676cd72b678 SHA512 2e46762a3bcc595c92eb57e65b2c7ef07062df1c393033efd2cb6b3c774ecbbe41f672e7b6c63ca0e8afb732c0f5308dddd6908bc2f43eab5c0713a6d688d5f4 DIST hypothesis-6.79.0.gh.tar.gz 9377619 BLAKE2B 8e0650967f8552b3968f8627ef61119ea1532656009fcc83899d4c1e5e97e71e7cb14ffe0864008f7e6c658cff864a7a6d94d04365aba99d38383e3c1b4941a6 SHA512 d4268503425805d7ce0800434474b0f582d6114c3323b36abf6ce58e9f8530d7c11ab634671670f1d67387ac8c90d198303129c552130c8127dc0b3bbad2c766 +DIST hypothesis-6.79.1.gh.tar.gz 9377826 BLAKE2B 13bf9383df81bf8aa504e4f1314958c98612bd507a935c749411008a25c9c1502cb157f4e80ae43b707486cfa5c4706c13118ea4c62d2cf8d7c40a8a811aba98 SHA512 aa52b85162ddb1fd1da8d01de4e47a5426831791c402fe589090474070608b98e40e8fcda197c18d7b8b4d13004afd0b04fb6f65f965e1af05b41005d3b38618 EBUILD hypothesis-6.76.0.ebuild 3046 BLAKE2B 6080dbb1a97b85524998d448d50228069e5e43c3b22cd587f940d3ca8534fc84ac044390f4b504bef025796d277bb05a1ff6e61af546c1e26b6210beccf5f985 SHA512 565f63ff85fdaf0a2c80ff30470ea936ae60396ee0486c47dfa020d574fdce586cf6b7012281112ad38372d24ed4e0f9c558811a037db8159628fd9e9065fa8f EBUILD hypothesis-6.79.0.ebuild 3054 BLAKE2B bf986d67fe5bd3a4ef72229835f97404c73f7beef0b112a45ba958c4385c6197d5567fb8c154d83cb80912c51995106f5d3ed430288776ee0c01bc4e21f8713c SHA512 bd251c47b821ad6eb9ab1e68f08c2542e58724e4cce3384b0ad476b83577fe6135fa0d0abe5494b3c89af38962ba458d53f1e07018dcf04bed15881f26dcd7be +EBUILD hypothesis-6.79.1.ebuild 2837 BLAKE2B b51c8c2a5d7ad3363df503fe930a264cb898236f16f049ef03c4be42fab1844a9666d36b86e43ea70ff7619f8e87abd886e9143c544ad12a332cd965106c3f2e SHA512 4e8781450d232e7ca806b8af7870e04f388fa3c57bf6f84832034d68c259982253f2fc7de05ec1ab49573d5074ae0eb8575e079c42296aff217485092d407f80 MISC metadata.xml 492 BLAKE2B c9e9bbd59af55d1f47e5b7a86933c02b47f832122d03eaca56bd3ec9476cf260d91d4fd2da5068845d4525b7cc9f702b515e8d6a0dffa7923f5898cfd44e12a1 SHA512 166b33d6ac887f52d54fb9d556102038c00650a597d2de1c3aad3f8b5e136e9b6b7db31f05f3379435e4c5f943156d5839d78fc95461af411037a3162ea6705e diff --git a/dev-python/hypothesis/hypothesis-6.79.1.ebuild b/dev-python/hypothesis/hypothesis-6.79.1.ebuild new file mode 100644 index 000000000000..17591ecbb4e4 --- /dev/null +++ b/dev-python/hypothesis/hypothesis-6.79.1.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +CLI_COMPAT=( python3_{10..11} ) +PYTHON_COMPAT=( "${CLI_COMPAT[@]}" python3_12 pypy3 ) +PYTHON_REQ_USE="threads(+),sqlite" + +inherit distutils-r1 multiprocessing optfeature + +TAG=hypothesis-python-${PV} +MY_P=hypothesis-${TAG} +DESCRIPTION="A library for property based testing" +HOMEPAGE=" + https://github.com/HypothesisWorks/hypothesis/ + https://pypi.org/project/hypothesis/ +" +SRC_URI=" + https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/${MY_P}/hypothesis-python" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="cli" + +RDEPEND=" + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}] + ' 3.9 3.10) + cli? ( + $(python_gen_cond_dep ' + dev-python/black[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + ' "${CLI_COMPAT[@]}") + ) +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pexpect[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + !! pyproject.toml <<-EOF || die + [build-system] + requires = ["flit_core >=3.2,<4"] + build-backend = "flit_core.buildapi" + + [project] + name = "importlib_metadata" + version = "${PV}" + description = "Read metadata from Python packages" + EOF +} diff --git a/dev-python/jaraco-path/Manifest b/dev-python/jaraco-path/Manifest index 40f1e9f6717f..09a6db41768a 100644 --- a/dev-python/jaraco-path/Manifest +++ b/dev-python/jaraco-path/Manifest @@ -1,3 +1,5 @@ DIST jaraco.path-3.5.0.tar.gz 11060 BLAKE2B 54048439d0339618a4a22289ade29144df9f821fd4bf46e037af5e89d3e50a0b6d6bbe76330d9d1e4671dc39c60516022ea436e69673dc000ed668165d9ffc84 SHA512 987391bada099d35050a9238e3420cb7815e0851178f33adfcba873b7a8cb56adcbb9d7d15b77404c2140682200960d46ace2031e8152de0866511120715fcfd +DIST jaraco.path-3.6.0.tar.gz 11029 BLAKE2B 2637579456e2d73860efa28827c51a3b871edcb0f86f8cf2f9af33f962980dd476d570750db408d30781e23d25c82b3645af80cefef3c45fc4da77e3182cd10f SHA512 86560abd4816fe490f7933985d8dd4003a61b6713cfa9dca3ad8e58b176adf01039731f779775a5268de4073e1290ef21f12ad02edfae4617e1d0e641eba4a16 EBUILD jaraco-path-3.5.0.ebuild 641 BLAKE2B 7035e13cbf79c5527215dd200215ba8d0363882cdca8bf5336e4d69e47e3aca2a3835db841fc56effd1ec99aba0b3dc14c779d26a1cb8ab8f7c97a969b3991c7 SHA512 fe352988b5019713b6f4655f3bf7c95dc20b5fad231bd23c14cf6a9c7a5c825ebcc8919496d4d0e90018b5f630ba12a551d8611cfb7d6fb0c14ab0de69c3688c +EBUILD jaraco-path-3.6.0.ebuild 650 BLAKE2B d4201288acf9c9088cea4ed122342bd9319278d3d0291f4c0517bf2e252d536a395b8487f10a5d0de787fd5eb0b623c75a67762670039e9bfe499527401baa9e SHA512 741ca06f99ccf2f17d198fe16e7ce6fcf3bc402388937a0eb07429ba45d24497ccc896bd267814580dad6564e2d53046d3810bff61a59f94d1e44ed97f09df2c MISC metadata.xml 397 BLAKE2B 899056eaa6d393d9c624e20ff93a644bd93f39505f701a085f22d4216154a3c1b19bb879bcbe45f077fba7d91ad5e34617283b10f535305b322c580712df10fc SHA512 104c1a8d8a2613ed4355b6537ce0733b36e915d98ad69204d2a7763dd6e7bbdf74c2cc2e66f34000426e04e79f19a84ca1d8a57e504c62adaa4386f372d34dda diff --git a/dev-python/jaraco-path/jaraco-path-3.6.0.ebuild b/dev-python/jaraco-path/jaraco-path-3.6.0.ebuild new file mode 100644 index 000000000000..4b4767844e98 --- /dev/null +++ b/dev-python/jaraco-path/jaraco-path-3.6.0.ebuild @@ -0,0 +1,31 @@ +# 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_{10..12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Miscellaneous path functions" +HOMEPAGE=" + https://github.com/jaraco/jaraco.path/ + https://pypi.org/project/jaraco.path/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_test() { + epytest tests +} diff --git a/dev-python/platformdirs/Manifest b/dev-python/platformdirs/Manifest index a5ffb9df1ed8..db6801c17b9f 100644 --- a/dev-python/platformdirs/Manifest +++ b/dev-python/platformdirs/Manifest @@ -1,7 +1,9 @@ DIST platformdirs-3.5.1.tar.gz 17164 BLAKE2B 7d9aeff02000b75a028e6f75dc4793e53bbe72b5fc069482d5790d9280a92b801dffca847fe64513b8ee3d24b5639681cb1cfcb1f97d85e8e996c7f6cbca2f71 SHA512 e3aa38bc943f9dc709dfaa3c6fe9e11f3b33d4263d1d41f7349d9926db2e41a36dd43c74ea2175ad89b107601f2dffded0f45e7703b9cb8ca9739945dee3c6fb DIST platformdirs-3.5.2.tar.gz 17775 BLAKE2B 2ec36d1efb77cdf5d247dd7e3a731389f4125d9fdb6b3edf8b3c4c1c87f9336ee38ef7923f284193b4105121e3e5ea5d87e07f153ec6eb395f1dca0573282e16 SHA512 68066aa85b44c37cbe602610371866dd5b7e9b6787b27d51379ecb347d27abdabf57da26ae622268df29fd3cfa9892f977060990a5235fb651a694d1a3fd7d99 DIST platformdirs-3.5.3.tar.gz 17780 BLAKE2B bffcc38623022f24175d1cb7097e65f73208b5aefedba2a22a584ea63fafeafe9ec7fd3701f903890282bca33dfd03d11c3070327f7efe474eb64ed548448ac6 SHA512 2510f7e5a260df6ac5d111e80a513979060f7a77c038b79d6db4b42d196ffb8bbacb2db6e986186926931bb28fec867404ed4e23eb3268b6abdbf318d79baa69 +DIST platformdirs-3.6.0.tar.gz 18187 BLAKE2B 22e6da0d01e3862518052eba5a20efca4bb365619a6acdbd7722367b5acc4724a06f3baa8a57e8ba2d1957d9be35fd0074db89cc5732596e05bd44c2b5248a41 SHA512 f760e0fec11ca040e2138fc6c8423f9a39106fdf1f41811a19598892fbda31dc75cdeb4138e6355d87bbeeb879fd42ac2eee6e337e6093e59150ee26e73e4d41 EBUILD platformdirs-3.5.1.ebuild 1326 BLAKE2B 02a40864be04dfe30c609d82652dac8ea264fdcf5e5fa7802cccd67aea42fef23fa674fac448cbe4af75e22a60e029fe00ab49a82529b45e02786d36fbbd6107 SHA512 97ac223f0e44101860803b0a109f3ba4d9f521b43f30d7f3ae79cd6745819bfba6ca46464323da9a0483c8a0f466dfe406d3928fe567323e6579e7adfd4d97ed EBUILD platformdirs-3.5.2.ebuild 1334 BLAKE2B 200f71291e7e4d5986d17b6cdb7f2357eba9560c3b3a827f70ecdd590170b12fcb7a5d349fb249e2dcddcd5be2b17fcbd852bfa637cbf0f94c16ee07d43408c5 SHA512 4e6095aabd727e20f53ee1e381af4782910c33d1806c311f6394740a9b2cdaf7fe5491fc8408a7e0bbb090b8d4da1163404149e6ce1238823eae14a0a02b6772 EBUILD platformdirs-3.5.3.ebuild 1334 BLAKE2B 200f71291e7e4d5986d17b6cdb7f2357eba9560c3b3a827f70ecdd590170b12fcb7a5d349fb249e2dcddcd5be2b17fcbd852bfa637cbf0f94c16ee07d43408c5 SHA512 4e6095aabd727e20f53ee1e381af4782910c33d1806c311f6394740a9b2cdaf7fe5491fc8408a7e0bbb090b8d4da1163404149e6ce1238823eae14a0a02b6772 +EBUILD platformdirs-3.6.0.ebuild 1334 BLAKE2B 200f71291e7e4d5986d17b6cdb7f2357eba9560c3b3a827f70ecdd590170b12fcb7a5d349fb249e2dcddcd5be2b17fcbd852bfa637cbf0f94c16ee07d43408c5 SHA512 4e6095aabd727e20f53ee1e381af4782910c33d1806c311f6394740a9b2cdaf7fe5491fc8408a7e0bbb090b8d4da1163404149e6ce1238823eae14a0a02b6772 MISC metadata.xml 383 BLAKE2B b8c8c1593d154e7a38ca4bc450c14ca21f2411ea1d71f67e9631c1def0acace43ebb6e67adc0c4a1f5f14aadfbce44d0d815fc3696410bef66c826fd5fb00a45 SHA512 f4ba6722e1cf661b3febe10bb15755a9cbc30226a08bdcabfa3d80be87b42d662d6a1edb3412ad79e8f36836a6dd4fd91a83dae29725ec47041056dc1f1f9b75 diff --git a/dev-python/platformdirs/platformdirs-3.6.0.ebuild b/dev-python/platformdirs/platformdirs-3.6.0.ebuild new file mode 100644 index 000000000000..70e821d796fb --- /dev/null +++ b/dev-python/platformdirs/platformdirs-3.6.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="A small Python module for determining appropriate platform-specific dirs" +HOMEPAGE=" + https://pypi.org/project/platformdirs/ + https://github.com/platformdirs/platformdirs/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" + +BDEPEND=" + test? ( + dev-python/appdirs[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_configure() { + grep -q 'build-backend = "hatchling' pyproject.toml || + die "Upstream changed build-backend, recheck" + # write a custom pyproject.toml to ease setuptools bootstrap + cat > pyproject.toml <<-EOF || die + [build-system] + requires = ["flit_core >=3.2,<4"] + build-backend = "flit_core.buildapi" + + [project] + name = "${PN}" + version = "${PV}" + description = 'A small Python package for determining appropriate platform-specific dirs, e.g. a "user data dir".' + EOF + # sigh + cat > src/platformdirs/version.py <<-EOF || die + __version__ = version = '${PV}' + __version_tuple__ = version_tuple = (${PV//./, }) + EOF +} diff --git a/dev-python/pyparsing/Manifest b/dev-python/pyparsing/Manifest index af235b7d9b69..89d7129dcdd7 100644 --- a/dev-python/pyparsing/Manifest +++ b/dev-python/pyparsing/Manifest @@ -1,3 +1,5 @@ +DIST pyparsing-3.1.0.tar.gz 882565 BLAKE2B 8ed2e15e2422ded9a558b866a5cbbdc0fb6c7ce42962710e42cfd751aae7b48bacd3d6201084189a940d262fb7b142ea37b897bae23f97a175f6152c19adb5c9 SHA512 0ad2e8fff93708426b3675e2d41da12b3f09531bf272799db4095ee618bbaa0f4b90e527ff09dda2acbdb923d59117678fbb28b82a7cfd2b395d686f47b61850 DIST pyparsing_3.0.9.gh.tar.gz 967771 BLAKE2B c13c74661b9e0d53b4886c9949b01951d220991f916362a13ce0c32c0ab05a6b1cab4d5e5a626acb7563c0ec1716348ede205cb67bf22c0710904f07404ad82a SHA512 1158f27e31f8eced540217b7234b09005eac416fad74faf59678fdae93fe2f76e0e3b5f4adfd3ceb42c8aef19150950293e989c9a5189741175073eb7a03cd6d EBUILD pyparsing-3.0.9.ebuild 1642 BLAKE2B 95b4ff0514e48edaf573339019df5c42ea04b88cf0fc99e12ed2a7cf631b71c22dd5bd8906b7f586487be29a3e512b94317d69f7c80157aa48f12d76cf225982 SHA512 8c6d90b8804c856dfe2e05d3b59399296098374f7c9289bcc0d1e784e8e79d8b698d1199b3fe786615bde17116b0ed3403f1e7577fc0e08c6f30e8d767f3933e +EBUILD pyparsing-3.1.0.ebuild 1570 BLAKE2B 3de5123b9c263683514e49f91324fd40c8dddca3f68c0f9838fe9861162c46e3cb7f8609119df6076b51c6bf78a3c04bc4d9f2cc24bfe6eee97c45890e509fe5 SHA512 ecab3cb67d45b5599886e2a00fa7eb40ba16544c2c85e34130f137d1068efcc75c1aa8e7faa54ca2fd1fe5ed5ebd3d3852db9615359d0e662bc999f8da6cf8d4 MISC metadata.xml 797 BLAKE2B 9707adcde7106fb0726de82da965fc3aaf7a23b34f4b71cfea4e09bd03cb44c069ccd4d16e6a6f37eca4720ff8c52d0bc11c864bd7dd9e6995d0d25cb92c5cc2 SHA512 0f791598d2b4a37797e7f917be22093f01020cde34876d7d0db3d1b2bf5da8a18d5399d70f381d98ea569f8c3abf7f1cff8b3cc92fbab39bb00f329a58e96229 diff --git a/dev-python/pyparsing/pyparsing-3.1.0.ebuild b/dev-python/pyparsing/pyparsing-3.1.0.ebuild new file mode 100644 index 000000000000..5a9966efcc40 --- /dev/null +++ b/dev-python/pyparsing/pyparsing-3.1.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 2004-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=flit +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Easy-to-use Python module for text parsing" +HOMEPAGE=" + https://github.com/pyparsing/pyparsing/ + https://pypi.org/project/pyparsing/ +" + +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" +IUSE="examples" + +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + # railroad-diagrams not packaged (and not suitable for packaging yet) + tests/test_diagram.py +) + +EPYTEST_DESELECT=( + # also railroad-diagrams + tests/test_examples.py::TestExamples::test_range_check + tests/test_unit.py::Test02_WithoutPackrat::testEmptyExpressionsAreHandledProperly + tests/test_unit.py::Test04_WithPackrat::testEmptyExpressionsAreHandledProperly + tests/test_unit.py::Test06_WithBoundedPackrat::testEmptyExpressionsAreHandledProperly + tests/test_unit.py::Test08_WithUnboundedPackrat::testEmptyExpressionsAreHandledProperly + tests/test_unit.py::Test09_WithLeftRecursionParsing::testEmptyExpressionsAreHandledProperly + tests/test_unit.py::Test10_WithLeftRecursionParsingBoundedMemo::testEmptyExpressionsAreHandledProperly +) + +python_install_all() { + if use examples; then + docompress -x /usr/share/doc/${PF}/examples + dodoc -r examples + fi + distutils-r1_python_install_all +} diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index e841b04076d0..70d78ac4f514 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -1,7 +1,9 @@ +DIST pypdf-3.10.0.gh.tar.gz 7558639 BLAKE2B 4c3bc668ae750e1ff78837459704fa24fbc8cdd90bb43c28e60140b3f3d2282d609460ec184d439d3121b284307236b8768ebc121679ed19e43efe43c5da5533 SHA512 e34072c21aa2caca7a3c99c754175fa3ccd42f69dbaaa92c52fbf1e1fb5e70245d3571305987d79f897769726c075d98313e07e9acf7817763a2522b16ddc424 DIST pypdf-3.8.1.gh.tar.gz 7516880 BLAKE2B 87d8cd66c7efcf9624205da904290fe82f51eeb9b521903ec564467755cc9a824ab0660a41d0cbd4a1ada2e20b4b35e16ce3a73a9933aea9fc5e0f315e613709 SHA512 8b78ccc210b8f34b9556cf69cac8f2af207de9a42840a0b4c822c0ab2c0b2d468c5c20a14704d3f54c6b57bcc451c3f0b7ff54b8149616b539cb07be57482e58 DIST pypdf-3.9.0.gh.tar.gz 7516907 BLAKE2B 12c0a13ee1ca897966bcd2f6a93b50ef1ead8d471ac9543544988a9c03c26a135a91c07b443d3a7b89fd38c302f5c2323994407fdadc23638832ca07eb7571fb SHA512 da9489bfd7c91c497852ce71050548d99fbca8118575c5eec85d55611fdafbe471c1cf7c4c8ef0e46165a89771e557c868f133af325d4672ba897fffffd43c02 DIST pypdf-3.9.1.gh.tar.gz 7517143 BLAKE2B 81e5ff0d8997af2df3709163ad5c319bb5b9a598cfb0a2894850c658ecf3fe6bbeda7cd7f9ffaf23ce015f6235c39220fc244f826edf87114d84859950409fe3 SHA512 414a33ff29e9410b89d5f5939db841f25393bd2c66588aea67da7639517c2fd91f293b6120bd553a8fae4fb23c5b9828dac2a6ec1b649aaf9f7c0737a0f4a05a DIST pypdf-sample-files-69b31cff6b183a42f9081709ef9bee4047976f56.gh.tar.gz 9044391 BLAKE2B 9a9bcfbacabf3c80073a440f54736728cba4ea92d1a817ce98bcaf9375340d95e453f45207f53ac878ef5c13bc4ca7d0d4488b79f205f396e960ed042680ca01 SHA512 32b4572d60a0aadba02485f11c84712c1f5f0a75f7acd6fb27f1df00cb2a8ae338a1001e6519f66c248efbd129aba1a2ad568e930ce90bd542c8dc58f383386a +EBUILD pypdf-3.10.0.ebuild 1124 BLAKE2B c44f7ece585165911c7965a583d25414e0b911ae07bfc3548f7084df7102fcd481bd4c9b4a55f0ae414a74c1e9a113f28e301dfc6ad96f89d03665094b1e5628 SHA512 fd4ffd74c1ecbea51954af7a8dc09aa4d16cd7ea14490622e48fd440259793c76cabbabd1c17529019c98090aff411973e876eaf6c69f527492b8b3b57eefe56 EBUILD pypdf-3.8.1.ebuild 1244 BLAKE2B b464a7c321f5a4f233bbb11b73e91c3e512236ee4799c628ad649770e29ceeec8a7dc390436172b47f70197828973a72d79cedf7b07e7de1e4a164da17094d9f SHA512 e22731975a0a437905e378d683f94c2c82044512712c25e7fa138c671e1c376bfb26eedab371996f38578542d77fa247870d329d5534edc3d11895945c9828ba EBUILD pypdf-3.9.0.ebuild 1124 BLAKE2B c44f7ece585165911c7965a583d25414e0b911ae07bfc3548f7084df7102fcd481bd4c9b4a55f0ae414a74c1e9a113f28e301dfc6ad96f89d03665094b1e5628 SHA512 fd4ffd74c1ecbea51954af7a8dc09aa4d16cd7ea14490622e48fd440259793c76cabbabd1c17529019c98090aff411973e876eaf6c69f527492b8b3b57eefe56 EBUILD pypdf-3.9.1.ebuild 1124 BLAKE2B c44f7ece585165911c7965a583d25414e0b911ae07bfc3548f7084df7102fcd481bd4c9b4a55f0ae414a74c1e9a113f28e301dfc6ad96f89d03665094b1e5628 SHA512 fd4ffd74c1ecbea51954af7a8dc09aa4d16cd7ea14490622e48fd440259793c76cabbabd1c17529019c98090aff411973e876eaf6c69f527492b8b3b57eefe56 diff --git a/dev-python/pypdf/pypdf-3.10.0.ebuild b/dev-python/pypdf/pypdf-3.10.0.ebuild new file mode 100644 index 000000000000..8c79bcacda8e --- /dev/null +++ b/dev-python/pypdf/pypdf-3.10.0.ebuild @@ -0,0 +1,54 @@ +# 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_{10..12} ) + +inherit distutils-r1 + +SAMPLE_COMMIT=69b31cff6b183a42f9081709ef9bee4047976f56 +DESCRIPTION="Python library to work with PDF files" +HOMEPAGE=" + https://pypi.org/project/pypdf/ + https://github.com/py-pdf/pypdf/ +" +SRC_URI=" + https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz + -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz + ) +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +BDEPEND=" + dev-python/pillow[${PYTHON_USEDEP}] + test? ( + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # rely on -Werror + tests/test_utils.py::test_deprecate_no_replacement + tests/test_workflows.py::test_orientations +) + +src_unpack() { + default + if use test; then + mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die + fi +} + +python_test() { + epytest -o addopts= -m "not enable_socket" +} diff --git a/dev-python/pypy-exe-bin/Manifest b/dev-python/pypy-exe-bin/Manifest index 9c3a40cd3bc6..a181622dea31 100644 --- a/dev-python/pypy-exe-bin/Manifest +++ b/dev-python/pypy-exe-bin/Manifest @@ -14,24 +14,6 @@ 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.12_rc1-1.amd64-musl.gpkg.tar 12963840 BLAKE2B 10916895b4261f67a6342f6f46e1837d55e9ba3d3724233c84214b49b52cb31cf538709844aa907d2ea5f97f53f2bf5e1903dafd0f2640da2f4b6addf69e6272 SHA512 d34b14477742492a8f2418e861dd50d1b62e42bfda68d9cecc5e6b516fa1e96d930e3eb6bde0512fd3fd8fd33b53ad771b43314532081cae685f7ea4075e5b1b -DIST pypy-exe-7.3.12_rc1-1.amd64.gpkg.tar 12943360 BLAKE2B d6f5432e3af0416007d363dc9de6e28ec12311c3e5e1116d2a6409142a2ffb6831681443889c3bb4c612eb738886827c0cb8e56ca4855963fc6d41d80491ab5d SHA512 83ab4856b03ede6b86b09c73391be13f809a90fecf4d8c6909402a0f3e8217ed85035a11ce485c5ec8ea41d6bf78d820a9c2f0f8cb1300a92d6138eb9716aee0 -DIST pypy-exe-7.3.12_rc1-1.arm64-musl.gpkg.tar 10905600 BLAKE2B 6709a6533239ae948baa26f864e2d0f03a04421b30928b5f60ef82df096c21ae7087ae7b83fe4aba0165008eb5d3c73b8d01f541a754c4e95a4e5f973698b166 SHA512 6b79574ae8799e26382c602e913ad957262bb6d3c838d0ed285601c575632ada6e88f47bbd8a7193480b91b35fc27451ab1f7a7233ab366e2bfdcc0f870d479b -DIST pypy-exe-7.3.12_rc1-1.arm64.gpkg.tar 10782720 BLAKE2B cb71e7cc1f34f469475f2062bfd4f075620db3c9d807335e38cb3a73cc4d64794211d54c5092e7efa3c3b2e637ab1e63149bdeafc94822c5d863bf53ae69f69e SHA512 ce5c3d199394a74ee09b0d7cfe138478a204ba6e6616961726e1a8816a15def9f9c5a17ac7a8fccac703cef8e57d98fa370c6a6dc8dbfbd70bf3950fb288d671 -DIST pypy-exe-7.3.12_rc1-1.ppc64le-musl.gpkg.tar 6604800 BLAKE2B 91ca6e456c6788d7df19b367905f78f8782586b36c4bed966eaffbbaa9a71f6004d3a20832f2e392983a3114c1b126878dadea1e31107c1eed15a2491b200391 SHA512 9af01dd2598b26c9eeb35c404804b10bb1040aafc17f769d89a274f663ebd0b0145481a23a98ea9ea514dab5aebd5924b2c028923e70745ef3069b4fba3b363f -DIST pypy-exe-7.3.12_rc1-1.ppc64le.gpkg.tar 11038720 BLAKE2B cfea3f2abf4aee74df082e61d0cb235fde08900806d1dd730671a1364aff25e326ce675a483b3ddb05e3305ce74b8031fbdafcb4c5418da1d6ac236b17b98614 SHA512 a6194c321afffe5788e17b876d4f14de5d0686b61fad740ec2bae9b47d27052861742559d7bb8b530cfdc3a880f7291fc5af5768d49ce2c4a40b486585d0dca6 -DIST pypy-exe-7.3.12_rc1-1.x86-musl.gpkg.tar 9748480 BLAKE2B c68992a784786ad6ee0a81891b209507c67ddb084716ba75f8aa55aee01243f144f252726643aa5f641e49fff93eb31ddb9cbab8e767df50ab05ecf0aa4e7e23 SHA512 7f56e4e199fa6893868af8f1c6616c2ab938c143df2b8647995c593532ab13e96d27bfa9bfa344d3967a70e849ca4e1ff5dfb2d8c447edd5c42b036d4afb2119 -DIST pypy-exe-7.3.12_rc1-1.x86.gpkg.tar 9615360 BLAKE2B 466d9bb61c73c583ffccb79596db273fb3450f95fedc6b2b16309a1ca2a13b5ec4916a8015a74ca9fe9a6c98db14b06f125eb861cbdbc32531aaaaea925ba5fa SHA512 dbaddc9a52a4da886913993eade553bea94eae9ab818ecfd6cb12759edd24397d8fbe1b3d5d60dd6285d9b5a4b46444ab67ef85df6610f5061530f0771d8c88b -DIST pypy-exe-7.3.12_rc2-1.amd64-musl.gpkg.tar 12984320 BLAKE2B ea73f2b2f632b5df4f7eacc96ab6c438850b55466981ca2f3d4a39c7fcca784eec17c936d821fee2f83d7fc2962bb8cde4bd863dad37b293d9da20f24af0d6f6 SHA512 9b9ecca8e1de94977380ec6cdba42fa4839e61ec7818b3b2c27687534d15110c41c41e448a85d5e29c19277b9ffbee3c5dbf43d68447a78bb2d042fe8148618b -DIST pypy-exe-7.3.12_rc2-1.amd64.gpkg.tar 12963840 BLAKE2B b63d8788acd20c2b31f353bca4a3cc2b70bbdb6c72b580ef3a726cd42a47cec9884e46a23d4cc35332886745f3232908a88fa0114248ab0c564be1227098b342 SHA512 7cb65f2459e4b245f8d5c34fe5e74d66a8dcaba4e8b24984b4224d246912667516b994196114e5dc4289331d148f36acd298ac0aa6e347177f68f88a9882d8cb -DIST pypy-exe-7.3.12_rc2-1.arm64-musl.gpkg.tar 10885120 BLAKE2B 189566e720774ad9acd6e7c83a1e7e0188f2d17d615fd1370dc127aae9afa79a3e2ff554a1f07fff58c2e9c96aa49618f2e489883c99e16cf26971ba674ea7a1 SHA512 479558250c7bb34b0a0bfecca871b11fc4d0d79031acda5ac82d48258b117566e389b55da7fb14b9986ba41ca880543177b25690686cd24e61b5f8156f95564b -DIST pypy-exe-7.3.12_rc2-1.arm64.gpkg.tar 10895360 BLAKE2B b25f97f04abe581c10aa663ac7cd3e15369aab7f6e6a4cbc76a52c9f156cb8034b42795092420ca9de79bc4bd71aaa55ee9c9b72780e3e55e7ea8af797cc79dd SHA512 2b1908291d01addcec5efac9e98c322fef98733fb32d01c2255bf1192925da306ff8ba357bab27c8f68ca8440dae2ada1045cc545313d935500852cca25d62cc -DIST pypy-exe-7.3.12_rc2-1.ppc64le-musl.gpkg.tar 6594560 BLAKE2B 70571266b9da645ba948a66685686899442d0fd75ecb66295220b65afabef807a878df33090ce41f5e64340c11e72e8561b9f21f862a0ec48309dc14f18488b7 SHA512 b213eacc05bf2e113adc770b5f7d47f5aa3f646de1ef40742338f66192c7fde001b0e4b16e0fbb634bc74c550472ebbdd5aa0ebad2c8e48cc65cc78883d6d2fe -DIST pypy-exe-7.3.12_rc2-1.ppc64le.gpkg.tar 11069440 BLAKE2B 3e6dc47b3c07b2d66a19c34d255a8f716797ac2b66fb73875fd5bf8335b19baae43a1600f65cb263665b9498d34e53acfeb276344e505bf97122dd87f3c82c5c SHA512 eb668b12be1ab866919661f0126b0f76022f74bdc5f75d2762f0aca92487fd6669d78760c4bf243f1d1b4c4616f66f51d1139dad7efc27cfbdd8044ea87a226d -DIST pypy-exe-7.3.12_rc2-1.x86-musl.gpkg.tar 9758720 BLAKE2B 530be9dce21558783e933a5dafd70d928b19df6178c2dcf297e022183a2f2dc5e6eb13577974bffd41ea87b21a703776307d2f2970718740b74700ba9672c9c6 SHA512 c2737e1344d3360e940d4f253b7601ae71b06c27928ee359b9e65484a16be4a8d9770446480608237c42874cb87fc22d888eb4f43cdebc899f2f5aba56b2f872 -DIST pypy-exe-7.3.12_rc2-1.x86.gpkg.tar 9594880 BLAKE2B 8ad400c475f977e7f6655c99a8ff3160ce46475cfe27eb0354139a7b4ac5f01464a453fa47372b25d5249dd43336ead6b5688338f8c96015087543f7a0a285a9 SHA512 99d83ff66083ed6cc31a9587f37b3a6e8e25e8e40591875eb9ff4b5cbf1c4c4417bf6e8ffb7984a51665eed2a6a01171f7d4d93d911a1c0c352c5392872a7b57 EBUILD pypy-exe-bin-7.3.11.ebuild 1947 BLAKE2B ced9c32c68bc0d6991a3c023c5ac6f3952cae5be14c39bbaf498c2efa249715235747526090d59f6a39da4645c83551ebfebabb2a2c7a25343c5acb64d9a1d6e SHA512 3ca0ae4098385dbd208bb3d069b17f9654b2b61b8d85fc822776a91e69341a60492c101310c24fc10a7d0e68b080ce28976d1bc9d5c120dbb40d4af04a7215ae EBUILD pypy-exe-bin-7.3.12.ebuild 1949 BLAKE2B 144e22713546812ee4664e6c7f092188d521a4c5788f2b1473d2e0fe7ad3b49a16f6965ac4ee194e51d5b64e599b5d80f84fce2cc13b1c667f245f6f75e16847 SHA512 a6905d688350e83368fb1ab2ba273b730adf4be279b45ee3d78d2721532cfd0a1919b694be446df9c7cd2c2fbdf023614dcbd9ef5554c006b9fad0fc4f5cdd87 -EBUILD pypy-exe-bin-7.3.12_rc1.ebuild 1924 BLAKE2B b5e1e5fb1312582986443b509caa8b474f61a08a265df9aeb052600ee849f56cd62b342cb3d2fbf4817494ac81ac4c7a5c57eaf4f699facec47b49081faa7512 SHA512 4b3ae540128ead771e4f858f1f86c0965b7cdb95bebaa03ed713118d51f3b1eb65c92ee8652bb53bc3191d93d2eb4b179a0a80a9b3d6eeffa90b9011c8f637c3 -EBUILD pypy-exe-bin-7.3.12_rc2.ebuild 1924 BLAKE2B b5e1e5fb1312582986443b509caa8b474f61a08a265df9aeb052600ee849f56cd62b342cb3d2fbf4817494ac81ac4c7a5c57eaf4f699facec47b49081faa7512 SHA512 4b3ae540128ead771e4f858f1f86c0965b7cdb95bebaa03ed713118d51f3b1eb65c92ee8652bb53bc3191d93d2eb4b179a0a80a9b3d6eeffa90b9011c8f637c3 MISC metadata.xml 241 BLAKE2B 4f18c355c71824c25df283b2d463a5abbf2295446e74b960e868dd78d4910ac066725450478087567a6e66b7a8948d99e053f13a7e58dbf2b89fdaf5c2f3436c SHA512 c46e70ffd66754ad84c64806f2bbff25ba9a688f035176a4565afc95351ce10fffba64bbde89965501460b05978c7e59b3d84db6a8cb6efff4055d4b7a5ab5d8 diff --git a/dev-python/pypy-exe-bin/pypy-exe-bin-7.3.12_rc1.ebuild b/dev-python/pypy-exe-bin/pypy-exe-bin-7.3.12_rc1.ebuild deleted file mode 100644 index 7e8642a993b5..000000000000 --- a/dev-python/pypy-exe-bin/pypy-exe-bin-7.3.12_rc1.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# 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="" - -# 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-bin/pypy-exe-bin-7.3.12_rc2.ebuild b/dev-python/pypy-exe-bin/pypy-exe-bin-7.3.12_rc2.ebuild deleted file mode 100644 index 7e8642a993b5..000000000000 --- a/dev-python/pypy-exe-bin/pypy-exe-bin-7.3.12_rc2.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# 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="" - -# 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 aa7b9db342e1..b334be6a413f 100644 --- a/dev-python/pypy-exe/Manifest +++ b/dev-python/pypy-exe/Manifest @@ -1,13 +1,7 @@ DIST pypy2.7-gentoo-patches-7.3.11.tar.xz 5312 BLAKE2B 3692453a184a88d61fe1dd7aa815aa02a4bdf4b29defd2e98a354261784643f78799b979bb356c19311b40932cc7f8b8e050e10553755a846938951a87021bc9 SHA512 24308317d92b278f9f7d74327303ebba34628a2d8dd5798ae3d472d14fd0519a470b6f9c420da88e07251215342a1e4f5cf8d4230f9663119274d3194d3811a5 DIST pypy2.7-gentoo-patches-7.3.12.tar.xz 5340 BLAKE2B 1a7375412087e8df02e69c80cee6d8246cc444a352323e6a49c1e1a0e6f5d662584c4cce194f03fc139f29de4ecf5d9f68cea5a8c19a720f1a51c1563804e19a SHA512 026a435377f0f04a526d4e0bef1ac832543f24ff2b39579e2cc7ca2cb3eae0415fcdb3c701fc4b85b0659a2ab17180a45469d79920262ed6dfd68d401df85fa1 -DIST pypy2.7-gentoo-patches-7.3.12rc1.tar.xz 5340 BLAKE2B 4631f3daa7002033af7b9a7026777053454bcb20ed03ad551a1df7efc32adef478e78d449d81dfad903c887cca53b9742edcc97e6cd1e368c3803f779fa6ee4d SHA512 b99723360d15e4411f7cf8ea75b6fd8de92acb3c123d2f3893bd3f2b820099a3ddb625e275e95fb858cb3fd5e4fe18dc653faf90509e7593b5088bcdf7c2092d -DIST pypy2.7-gentoo-patches-7.3.12rc2.tar.xz 5340 BLAKE2B 7b0028aa61cc9d0800f23cc9dc3f5e4dccc75cb56e55abc382f322d0eddac9ceeb6419f4aee201a12de006ab30585d5920705f96b5d09519e1c8982253e3472d SHA512 dd9ccbd66874d57e3111923b2171f134ae18ffc73d0b5ce3168cb0bea47048be6840c747f5f0da75d29b298935c873aa345b244b57e265ceafc2ac769f2f2e5c DIST pypy2.7-v7.3.11-src.tar.bz2 19850421 BLAKE2B ed8bd61e3857c37689f24a23d38d5043bd190ee0e6de5d7906284ea2eab5e7aeff5c994c22f97195f5a1ded2867725f74dc562b375c0165b6231eae69213c06e SHA512 31fd93fe3e761fd096ff52c2a0afa40f78e4df700deb911e221d1682b35e8374c9deac7ba19b474f7ca7a366d3ae9b36ebaf78e81c4ec8306431fd0873daea55 DIST pypy2.7-v7.3.12-src.tar.bz2 19904555 BLAKE2B be8677c0632ef331db285938ad6ffbcb1aa70f44422a1ce5ed09b5a557e68d9185a11d1c20a4a3c6cf32ab41e623a2bc7b3ab7485bf270a9a604fb8a5769bf3f SHA512 35ec35376f1e7c1a5dea9dc5bce6819a94c2df2645806c83185487587470b47ab529c25ecb8ca200505319f40789859a2919c61902b693421e2001313b46e5f4 -DIST pypy2.7-v7.3.12rc1-src.tar.bz2 19898483 BLAKE2B a0f618f69fc938ce59148cd98f03bcca09b89fd4f500132d5212212c391c703d64ea04681d5105b252e1efe41f001a8aa9692cfd3c37dfab4ff5af29b276dbfb SHA512 9faa36f27339a14dc5e7b326a0732ab8dc9c4401eabfe5787c14054a0d0961cc07c0d8e49dbaaaeb78a62ccf73e325b1d31731a138e3b24a6032f44550f6b346 -DIST pypy2.7-v7.3.12rc2-src.tar.bz2 19903233 BLAKE2B 3621951e3ec5d65318f31efedfc7f1ea8b1532594a311a832e1e6f9a27be2946e967c63a61cbb18808f7baa7235c757b58153352551d88ca09f69017fd0cb2b0 SHA512 e8845dcd98294a9d715cf962e1b600beb81a18b388617bac7cf8675d99364156ec278166b39d8bc0928f65df63336c8d6571387d95921f613660ec30849e69ce EBUILD pypy-exe-7.3.11.ebuild 4060 BLAKE2B 5c6883e608eba8f972af83966b23dfd3e13edfeeb511d1a47f303b60746d5cb08ab9bdb9914b5b7dd2ff6ef630e15a0fca3a3c3f253e4f76aca7145ff72cf35c SHA512 d5dc8433dd88b0ae58b3283ad233dd7524acf31763e917e46ab8f837623d340f4d487a06fce679a7e91fa96cf89acf98171a423acf4b0251776f1e2abdf41c0c EBUILD pypy-exe-7.3.12.ebuild 4062 BLAKE2B b9437200b3738b7e2d76cc05aee4847d4b4e4757ce3631391f345a66d7dc5ed587bcff75d4c8d2d158181578800dc0aaaca794107170ead0ee0072855164cb1a SHA512 e89eea8f316311d8b84b3e493029579d66774e4f41fb6af9d6ce1696470a8d22c967375bba37cfafa1e6288a04f55f2c199311ad8cc0e5073bc915601193affa -EBUILD pypy-exe-7.3.12_rc1.ebuild 4013 BLAKE2B 753611889ecda52fbe8678be995fae38ee9dd6a82a10a835d1daa568855b1fed55abbfb61b9c9a800386bf787b02261482dcf20808b28dd413c82d386baa89ee SHA512 89d7d24d87664f2f80b805fdac1f43ee2bd7b88d540df9b21a4c9cc596a169993f0aecf597dce0cb77c211eec34c20ac7097e69b46d4b40e6c9ab6a86b4576f6 -EBUILD pypy-exe-7.3.12_rc2.ebuild 4013 BLAKE2B 753611889ecda52fbe8678be995fae38ee9dd6a82a10a835d1daa568855b1fed55abbfb61b9c9a800386bf787b02261482dcf20808b28dd413c82d386baa89ee SHA512 89d7d24d87664f2f80b805fdac1f43ee2bd7b88d540df9b21a4c9cc596a169993f0aecf597dce0cb77c211eec34c20ac7097e69b46d4b40e6c9ab6a86b4576f6 MISC metadata.xml 498 BLAKE2B 8dbcdb7c3a4a2fa5d1a922fd5197fb5e3337adcaec1e7d382f25f8696c80726e5b79843477bf8e5ce131aecde6e2c4c283548c5b337e54cb58aaa066013c445a SHA512 8a9bb514bbf3bf328aa63734e1fdc106f6aaf5ccb88c29ad8a686ab2724f3d1f4727163500013dd16e7b34232b881cf47d2f174212b5428ee076af27cf43628d diff --git a/dev-python/pypy-exe/pypy-exe-7.3.12_rc1.ebuild b/dev-python/pypy-exe/pypy-exe-7.3.12_rc1.ebuild deleted file mode 100644 index 37c1d0145b66..000000000000 --- a/dev-python/pypy-exe/pypy-exe-7.3.12_rc1.ebuild +++ /dev/null @@ -1,177 +0,0 @@ -# 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="" -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/pypy-exe/pypy-exe-7.3.12_rc2.ebuild b/dev-python/pypy-exe/pypy-exe-7.3.12_rc2.ebuild deleted file mode 100644 index 37c1d0145b66..000000000000 --- a/dev-python/pypy-exe/pypy-exe-7.3.12_rc2.ebuild +++ /dev/null @@ -1,177 +0,0 @@ -# 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="" -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/pypy/Manifest b/dev-python/pypy/Manifest index 2847b5f5d350..a0a8aaa9b58d 100644 --- a/dev-python/pypy/Manifest +++ b/dev-python/pypy/Manifest @@ -1,13 +1,7 @@ DIST pypy2.7-gentoo-patches-7.3.11.tar.xz 5312 BLAKE2B 3692453a184a88d61fe1dd7aa815aa02a4bdf4b29defd2e98a354261784643f78799b979bb356c19311b40932cc7f8b8e050e10553755a846938951a87021bc9 SHA512 24308317d92b278f9f7d74327303ebba34628a2d8dd5798ae3d472d14fd0519a470b6f9c420da88e07251215342a1e4f5cf8d4230f9663119274d3194d3811a5 DIST pypy2.7-gentoo-patches-7.3.12.tar.xz 5340 BLAKE2B 1a7375412087e8df02e69c80cee6d8246cc444a352323e6a49c1e1a0e6f5d662584c4cce194f03fc139f29de4ecf5d9f68cea5a8c19a720f1a51c1563804e19a SHA512 026a435377f0f04a526d4e0bef1ac832543f24ff2b39579e2cc7ca2cb3eae0415fcdb3c701fc4b85b0659a2ab17180a45469d79920262ed6dfd68d401df85fa1 -DIST pypy2.7-gentoo-patches-7.3.12rc1.tar.xz 5340 BLAKE2B 4631f3daa7002033af7b9a7026777053454bcb20ed03ad551a1df7efc32adef478e78d449d81dfad903c887cca53b9742edcc97e6cd1e368c3803f779fa6ee4d SHA512 b99723360d15e4411f7cf8ea75b6fd8de92acb3c123d2f3893bd3f2b820099a3ddb625e275e95fb858cb3fd5e4fe18dc653faf90509e7593b5088bcdf7c2092d -DIST pypy2.7-gentoo-patches-7.3.12rc2.tar.xz 5340 BLAKE2B 7b0028aa61cc9d0800f23cc9dc3f5e4dccc75cb56e55abc382f322d0eddac9ceeb6419f4aee201a12de006ab30585d5920705f96b5d09519e1c8982253e3472d SHA512 dd9ccbd66874d57e3111923b2171f134ae18ffc73d0b5ce3168cb0bea47048be6840c747f5f0da75d29b298935c873aa345b244b57e265ceafc2ac769f2f2e5c DIST pypy2.7-v7.3.11-src.tar.bz2 19850421 BLAKE2B ed8bd61e3857c37689f24a23d38d5043bd190ee0e6de5d7906284ea2eab5e7aeff5c994c22f97195f5a1ded2867725f74dc562b375c0165b6231eae69213c06e SHA512 31fd93fe3e761fd096ff52c2a0afa40f78e4df700deb911e221d1682b35e8374c9deac7ba19b474f7ca7a366d3ae9b36ebaf78e81c4ec8306431fd0873daea55 DIST pypy2.7-v7.3.12-src.tar.bz2 19904555 BLAKE2B be8677c0632ef331db285938ad6ffbcb1aa70f44422a1ce5ed09b5a557e68d9185a11d1c20a4a3c6cf32ab41e623a2bc7b3ab7485bf270a9a604fb8a5769bf3f SHA512 35ec35376f1e7c1a5dea9dc5bce6819a94c2df2645806c83185487587470b47ab529c25ecb8ca200505319f40789859a2919c61902b693421e2001313b46e5f4 -DIST pypy2.7-v7.3.12rc1-src.tar.bz2 19898483 BLAKE2B a0f618f69fc938ce59148cd98f03bcca09b89fd4f500132d5212212c391c703d64ea04681d5105b252e1efe41f001a8aa9692cfd3c37dfab4ff5af29b276dbfb SHA512 9faa36f27339a14dc5e7b326a0732ab8dc9c4401eabfe5787c14054a0d0961cc07c0d8e49dbaaaeb78a62ccf73e325b1d31731a138e3b24a6032f44550f6b346 -DIST pypy2.7-v7.3.12rc2-src.tar.bz2 19903233 BLAKE2B 3621951e3ec5d65318f31efedfc7f1ea8b1532594a311a832e1e6f9a27be2946e967c63a61cbb18808f7baa7235c757b58153352551d88ca09f69017fd0cb2b0 SHA512 e8845dcd98294a9d715cf962e1b600beb81a18b388617bac7cf8675d99364156ec278166b39d8bc0928f65df63336c8d6571387d95921f613660ec30849e69ce EBUILD pypy-7.3.11.ebuild 6979 BLAKE2B 686a1e5b5821a0c9552345736bb20bc508840934979c66c3d2199c17f1fd7066dbfabaf1f11925f38cc508efe2390690306fecc967088a187c4ff470fa0f28bc SHA512 1dc67d9882f9a007053b75e39bda286c86aa8a4f3cd010939da3ea056a0c343f04b3958ffbe55d0faeff6f4499bf53ab12097a9fbfae9c079ce687675032529b EBUILD pypy-7.3.12.ebuild 6981 BLAKE2B 08b2bbdf962d3d7daf534b56da6f0f85de7846c785fde3c69a61cfcbefde073f9f5ea28bf1aa57c80f9c8c91d757a59a652584a0e8fd816279fbf5a09f461f78 SHA512 4b6205c8aa6b27fdbcd117ff24cad1bc447d8821b0ca78befdfa6e06758f36e1f30c1dd1f2daf1bbeb53841255d36c3ab261162afc7e1bf0049c8a11d0bb9fde -EBUILD pypy-7.3.12_rc1.ebuild 6932 BLAKE2B 67c9d42ce0c600581c9c5eeedc9f703ef717fd5c999fd6929251e28cb1ddbc26807a02d95ab36713a85460b04027d606673493d13f03fa6d0fa02107ac24b174 SHA512 b5c683680e6dbf0be64c8f92f66668cc16f79c0a0aba6a617382b2f182d8a1bb05a7914074359c8040b2e71cc8d7d5f3357f74a91f75b8b9db0c6ef83903d9b0 -EBUILD pypy-7.3.12_rc2.ebuild 6932 BLAKE2B 67c9d42ce0c600581c9c5eeedc9f703ef717fd5c999fd6929251e28cb1ddbc26807a02d95ab36713a85460b04027d606673493d13f03fa6d0fa02107ac24b174 SHA512 b5c683680e6dbf0be64c8f92f66668cc16f79c0a0aba6a617382b2f182d8a1bb05a7914074359c8040b2e71cc8d7d5f3357f74a91f75b8b9db0c6ef83903d9b0 MISC metadata.xml 565 BLAKE2B 956a62e9d3632a7ab9ade67527bae54fe0b58d79a6c2f26dc7017a6b8d337f7e5a155b747f24b98f345eb9e1d15c3f38d8530212ad16cfa5292d6cb1ecbf3e91 SHA512 6dd5bc7712533a926b7efdba10c3bea32c813d703916f6bf152ff14f7561cdc466354c8fdbb9640afe415daa3cf2d9365351261e89b8aadfae7b74afd48ae061 diff --git a/dev-python/pypy/pypy-7.3.12_rc1.ebuild b/dev-python/pypy/pypy-7.3.12_rc1.ebuild deleted file mode 100644 index f7ee13fcb47a..000000000000 --- a/dev-python/pypy/pypy-7.3.12_rc1.ebuild +++ /dev/null @@ -1,301 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit pax-utils python-utils-r1 - -PYPY_PV=${PV%_p*} -MY_P=pypy2.7-v${PYPY_PV/_} -PATCHSET="pypy2.7-gentoo-patches-${PV/_rc/rc}" - -DESCRIPTION="A fast, compliant alternative implementation of the Python language" -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" -# pypy -c 'import sysconfig; print sysconfig.get_config_var("SOABI")' -SLOT="0/73" -KEYWORDS="" -IUSE="bzip2 full-stdlib gdbm +jit ncurses sqlite tk" -RESTRICT="!full-stdlib? ( test )" - -RDEPEND=" - || ( - >=dev-python/pypy-exe-bin-${PYPY_PV}:${PYPY_PV} - >=dev-python/pypy-exe-${PYPY_PV}:${PYPY_PV}[bzip2?,ncurses?] - ) - dev-libs/openssl:0= - gdbm? ( sys-libs/gdbm:0= ) - sqlite? ( dev-db/sqlite:3= ) - tk? ( - dev-lang/tk:0= - dev-tcltk/tix:0= - ) -" -DEPEND=" - ${RDEPEND} -" - -src_prepare() { - local PATCHES=( - "${WORKDIR}/${PATCHSET}" - ) - default -} - -src_compile() { - # copy over to make sys.prefix happy - cp -p "${BROOT}"/usr/lib/pypy2.7/pypy-c-${PYPY_PV} pypy-c || die - cp -p "${BROOT}"/usr/lib/pypy2.7/include/${PYPY_PV}/* include/ || die - # (not installed by pypy) - rm pypy/module/cpyext/include/_numpypy/numpy/README || die - mv pypy/module/cpyext/include/* include/ || die - mv pypy/module/cpyext/parse/*.h include/ || die - pax-mark m pypy-c - - # verify the subslot - local soabi=$( - ./pypy-c - <<-EOF - import sysconfig - print sysconfig.get_config_var("SOABI") - EOF - ) - [[ ${soabi#pypy-} == ${SLOT#*/} ]] || die "update subslot to ${soabi}" - - einfo "Generating caches and CFFI modules ..." - - if use full-stdlib; then - # Generate Grammar and PatternGrammar pickles. - ./pypy-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 pypy/tool/build_cffi_imports.py! - cffi_targets=( pypy_util ssl audioop syslog pwdgrp resource ) - 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-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=2d3acf18 - local local_cksum=$( - ../pypy-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)),)) - 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 - fi -} - -src_test() { - # (unset) - local -x PYTHONDONTWRITEBYTECODE= - local -x COLUMNS=80 - - local ignored_tests=( - # network - --ignore=lib-python/2.7/test/test_urllibnet.py - --ignore=lib-python/2.7/test/test_urllib2net.py - # lots of free space - --ignore=lib-python/2.7/test/test_zipfile64.py - - # broken by expat-2.4.5 - --ignore=lib-python/2.7/test/test_minidom.py - --ignore=lib-python/2.7/test/test_xml_etree.py - --ignore=lib-python/2.7/test/test_xml_etree_c.py - ) - - ./pypy-c ./pypy/test_all.py --pypy=./pypy-c -vv \ - "${ignored_tests[@]}" lib-python || die -} - -src_install() { - local dest=/usr/lib/pypy2.7 - einfo "Installing PyPy ..." - dosym pypy-c-${PYPY_PV} "${dest}/pypy-c" - insinto "${dest}" - # preserve mtimes to avoid obsoleting caches - insopts -p - if use full-stdlib; then - doins -r include lib_pypy lib-python - - # replace copied headers with symlinks - for x in "${BROOT}"/usr/lib/pypy2.7/include/${PYPY_PV}/*; do - dosym "${PYPY_PV}/${x##*/}" "${dest}/include/${x##*/}" - done - - if ! use gdbm; then - rm -r "${ED}${dest}"/lib_pypy/gdbm.py \ - "${ED}${dest}"/lib-python/*2.7/test/test_gdbm.py || die - fi - if ! use sqlite; then - rm -r "${ED}${dest}"/lib-python/*2.7/sqlite3 \ - "${ED}${dest}"/lib_pypy/_sqlite3.py \ - "${ED}${dest}"/lib-python/*2.7/test/test_sqlite.py || die - fi - if ! use tk; then - rm -r "${ED}${dest}"/lib-python/*2.7/{idlelib,lib-tk} \ - "${ED}${dest}"/lib_pypy/_tkinter \ - "${ED}${dest}"/lib-python/*2.7/test/test_{tcl,tk,ttk*}.py || die - fi - else - # install only the absolutely minimal subset of modules needed - # for pypy3 build - local lib_py_modules=( - # base modules needed to even start pypy (and import site) - codecs.py - copy_reg.py - encodings - genericpath.py - linecache.py - os.py - pkgutil.py - posixpath.py - re.py - runpy.py - site.py - sre_compile.py - sre_constants.py - sre_parse.py - stat.py - string.py - sysconfig.py - traceback.py - warnings.py - UserDict.py - - # needed for python_optimize - compileall.py - getopt.py - py_compile.py - struct.py - - # needed for rpython - argparse.py - atexit.py - base64.py - bdb.py - bisect.py - cmd.py - code.py - codeop.py - collections.py - colorsys.py - contextlib.py - copy.py - ctypes - dis.py - fnmatch.py - functools.py - gettext.py - hashlib.py - heapq.py - inspect.py - io.py - json - keyword.py - locale.py - logging - new.py - opcode.py - optparse.py - pdb.py - pickle.py - platform.py - pprint.py - random.py - repr.py - shlex.py - shutil.py - StringIO.py - subprocess.py - tempfile.py - textwrap.py - threading.py - tokenize.py - weakref.py - zipfile.py - ) - - local distutils_modules=( - # needed by site - __init__.py - errors.py - sysconfig.py - sysconfig_cpython.py - sysconfig_pypy.py - ) - - local lib_pypy_modules=( - # needed by site - _sysconfigdata.py - - # needed by rpython - cffi - _ctypes - _ffi.py - _functools.py - _sha.py - _sha256.py - _sha512.py - - # NB: we're deliberately skipping _hashlib to avoid some deps - ) - - cd lib-python/2.7 || die - insinto "${dest}/lib-python/2.7" - doins -r "${lib_py_modules[@]}" - cd - >/dev/null || die - - cd lib-python/2.7/distutils || die - insinto "${dest}/lib-python/2.7/distutils" - doins -r "${distutils_modules[@]}" - cd - >/dev/null || die - - cd lib_pypy || die - insinto "${dest}/lib_pypy" - doins -r "${lib_pypy_modules[@]}" - cd - >/dev/null || die - fi - - dosym ../lib/pypy2.7/pypy-c /usr/bin/pypy - dodoc README.rst - - local -x EPYTHON=pypy - local -x PYTHON=${ED}${dest}/pypy-c-${PYPY_PV} - # temporarily copy to build tree to facilitate module builds - cp -p "${BROOT}${dest}/pypy-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/pypy/pypy-7.3.12_rc2.ebuild b/dev-python/pypy/pypy-7.3.12_rc2.ebuild deleted file mode 100644 index f7ee13fcb47a..000000000000 --- a/dev-python/pypy/pypy-7.3.12_rc2.ebuild +++ /dev/null @@ -1,301 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit pax-utils python-utils-r1 - -PYPY_PV=${PV%_p*} -MY_P=pypy2.7-v${PYPY_PV/_} -PATCHSET="pypy2.7-gentoo-patches-${PV/_rc/rc}" - -DESCRIPTION="A fast, compliant alternative implementation of the Python language" -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" -# pypy -c 'import sysconfig; print sysconfig.get_config_var("SOABI")' -SLOT="0/73" -KEYWORDS="" -IUSE="bzip2 full-stdlib gdbm +jit ncurses sqlite tk" -RESTRICT="!full-stdlib? ( test )" - -RDEPEND=" - || ( - >=dev-python/pypy-exe-bin-${PYPY_PV}:${PYPY_PV} - >=dev-python/pypy-exe-${PYPY_PV}:${PYPY_PV}[bzip2?,ncurses?] - ) - dev-libs/openssl:0= - gdbm? ( sys-libs/gdbm:0= ) - sqlite? ( dev-db/sqlite:3= ) - tk? ( - dev-lang/tk:0= - dev-tcltk/tix:0= - ) -" -DEPEND=" - ${RDEPEND} -" - -src_prepare() { - local PATCHES=( - "${WORKDIR}/${PATCHSET}" - ) - default -} - -src_compile() { - # copy over to make sys.prefix happy - cp -p "${BROOT}"/usr/lib/pypy2.7/pypy-c-${PYPY_PV} pypy-c || die - cp -p "${BROOT}"/usr/lib/pypy2.7/include/${PYPY_PV}/* include/ || die - # (not installed by pypy) - rm pypy/module/cpyext/include/_numpypy/numpy/README || die - mv pypy/module/cpyext/include/* include/ || die - mv pypy/module/cpyext/parse/*.h include/ || die - pax-mark m pypy-c - - # verify the subslot - local soabi=$( - ./pypy-c - <<-EOF - import sysconfig - print sysconfig.get_config_var("SOABI") - EOF - ) - [[ ${soabi#pypy-} == ${SLOT#*/} ]] || die "update subslot to ${soabi}" - - einfo "Generating caches and CFFI modules ..." - - if use full-stdlib; then - # Generate Grammar and PatternGrammar pickles. - ./pypy-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 pypy/tool/build_cffi_imports.py! - cffi_targets=( pypy_util ssl audioop syslog pwdgrp resource ) - 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-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=2d3acf18 - local local_cksum=$( - ../pypy-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)),)) - 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 - fi -} - -src_test() { - # (unset) - local -x PYTHONDONTWRITEBYTECODE= - local -x COLUMNS=80 - - local ignored_tests=( - # network - --ignore=lib-python/2.7/test/test_urllibnet.py - --ignore=lib-python/2.7/test/test_urllib2net.py - # lots of free space - --ignore=lib-python/2.7/test/test_zipfile64.py - - # broken by expat-2.4.5 - --ignore=lib-python/2.7/test/test_minidom.py - --ignore=lib-python/2.7/test/test_xml_etree.py - --ignore=lib-python/2.7/test/test_xml_etree_c.py - ) - - ./pypy-c ./pypy/test_all.py --pypy=./pypy-c -vv \ - "${ignored_tests[@]}" lib-python || die -} - -src_install() { - local dest=/usr/lib/pypy2.7 - einfo "Installing PyPy ..." - dosym pypy-c-${PYPY_PV} "${dest}/pypy-c" - insinto "${dest}" - # preserve mtimes to avoid obsoleting caches - insopts -p - if use full-stdlib; then - doins -r include lib_pypy lib-python - - # replace copied headers with symlinks - for x in "${BROOT}"/usr/lib/pypy2.7/include/${PYPY_PV}/*; do - dosym "${PYPY_PV}/${x##*/}" "${dest}/include/${x##*/}" - done - - if ! use gdbm; then - rm -r "${ED}${dest}"/lib_pypy/gdbm.py \ - "${ED}${dest}"/lib-python/*2.7/test/test_gdbm.py || die - fi - if ! use sqlite; then - rm -r "${ED}${dest}"/lib-python/*2.7/sqlite3 \ - "${ED}${dest}"/lib_pypy/_sqlite3.py \ - "${ED}${dest}"/lib-python/*2.7/test/test_sqlite.py || die - fi - if ! use tk; then - rm -r "${ED}${dest}"/lib-python/*2.7/{idlelib,lib-tk} \ - "${ED}${dest}"/lib_pypy/_tkinter \ - "${ED}${dest}"/lib-python/*2.7/test/test_{tcl,tk,ttk*}.py || die - fi - else - # install only the absolutely minimal subset of modules needed - # for pypy3 build - local lib_py_modules=( - # base modules needed to even start pypy (and import site) - codecs.py - copy_reg.py - encodings - genericpath.py - linecache.py - os.py - pkgutil.py - posixpath.py - re.py - runpy.py - site.py - sre_compile.py - sre_constants.py - sre_parse.py - stat.py - string.py - sysconfig.py - traceback.py - warnings.py - UserDict.py - - # needed for python_optimize - compileall.py - getopt.py - py_compile.py - struct.py - - # needed for rpython - argparse.py - atexit.py - base64.py - bdb.py - bisect.py - cmd.py - code.py - codeop.py - collections.py - colorsys.py - contextlib.py - copy.py - ctypes - dis.py - fnmatch.py - functools.py - gettext.py - hashlib.py - heapq.py - inspect.py - io.py - json - keyword.py - locale.py - logging - new.py - opcode.py - optparse.py - pdb.py - pickle.py - platform.py - pprint.py - random.py - repr.py - shlex.py - shutil.py - StringIO.py - subprocess.py - tempfile.py - textwrap.py - threading.py - tokenize.py - weakref.py - zipfile.py - ) - - local distutils_modules=( - # needed by site - __init__.py - errors.py - sysconfig.py - sysconfig_cpython.py - sysconfig_pypy.py - ) - - local lib_pypy_modules=( - # needed by site - _sysconfigdata.py - - # needed by rpython - cffi - _ctypes - _ffi.py - _functools.py - _sha.py - _sha256.py - _sha512.py - - # NB: we're deliberately skipping _hashlib to avoid some deps - ) - - cd lib-python/2.7 || die - insinto "${dest}/lib-python/2.7" - doins -r "${lib_py_modules[@]}" - cd - >/dev/null || die - - cd lib-python/2.7/distutils || die - insinto "${dest}/lib-python/2.7/distutils" - doins -r "${distutils_modules[@]}" - cd - >/dev/null || die - - cd lib_pypy || die - insinto "${dest}/lib_pypy" - doins -r "${lib_pypy_modules[@]}" - cd - >/dev/null || die - fi - - dosym ../lib/pypy2.7/pypy-c /usr/bin/pypy - dodoc README.rst - - local -x EPYTHON=pypy - local -x PYTHON=${ED}${dest}/pypy-c-${PYPY_PV} - # temporarily copy to build tree to facilitate module builds - cp -p "${BROOT}${dest}/pypy-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-exe-bin/Manifest b/dev-python/pypy3-exe-bin/Manifest index 6488684fbc03..282ccbda0aa9 100644 --- a/dev-python/pypy3-exe-bin/Manifest +++ b/dev-python/pypy3-exe-bin/Manifest @@ -6,14 +6,5 @@ DIST pypy3-exe-7.3.11-1.ppc64le-musl.gpkg.tar 6492160 BLAKE2B a58cd99780af478369 DIST pypy3-exe-7.3.11-1.ppc64le.gpkg.tar 10127360 BLAKE2B 0ee59ebc8f66b5ba4628cfe7cd64bf3578d756b030bf6ff4681c177d45b23212605a7c605f470631708305d36c146b9c746f043fe169ad6fcce457e224d66d10 SHA512 8049a615299ca033834edcd996744cd125d2f258cac0352448796ea9e9dd51e395af15feb42d27432da04ae58fa6e76a8195a39f74316627b0b3e4e0bd1b43cc DIST pypy3-exe-7.3.11-1.x86-musl.gpkg.tar 8734720 BLAKE2B 563de983b21fa8eece55056af0596abc2fe9679bdc29042a3f9c97710c473e51415d0109a08c2c404ce8cb9296527350deb310c538b52216c8d68e708f8f8f0d SHA512 ddda659acefcd1125c620421b8570495fb26ae85a3a80a622f2e4cec9748a17ab522d37692629fd78fac3067f5db978c8b8cbf1617d1b1b25e267c26dbcc43fb DIST pypy3-exe-7.3.11-1.x86.gpkg.tar 8724480 BLAKE2B f1843bb2302918171a0b6fafa93f3528f85b5d887b8af2cc8c0ea6a03d2f264fde2129299c8301c0a48c6b4e7e75e38d68b9ff8eafa01e58bb79438238c181dc SHA512 2f3ae0dae6cf7353a2ddf2fac37c3f8d947eae62a36b7580722b63a1085174d7ccd16077ad6ca040cf906189c4ab0ac6cf86f573b93f733ee8bb61e203d5044a -DIST pypy3-exe-7.3.12_rc1-1.amd64-musl.gpkg.tar 11919360 BLAKE2B 0e43d5c48d7ffd31ea6d7b179ddd0eb38a0b8df0c8e8a3b6223b117d1e10ee01abeb0be122313979ac55c5576030695f9bb77ca62ac88317e100968e313b0cfa SHA512 7b9a68fae9e2452a7fc83253add74644558d160ca01d5004a84b942bf6d4e54cd0a0af68ac87f2689a1aaec0a70b5560665fe18204f6e6c7d9f17bcbb72b00ab -DIST pypy3-exe-7.3.12_rc1-1.amd64.gpkg.tar 11950080 BLAKE2B fe472ced6af6d1ac5c8ff0985378ff33d717b926f98e6e4ab70c5754e33476f1cea997b137777e743d69e8fbf560b1768ac236da8de13e5a9d703d6839ff81b1 SHA512 c0a7c253e3fbbdf263ca51729c29f8f2026673c5bdbd96e11235031b795e2d7660fe20d61975c1ccbf765d13dce5322c7ce2d090b83dc98f9550a106d9ac3e69 -DIST pypy3-exe-7.3.12_rc1-1.arm64-musl.gpkg.tar 9973760 BLAKE2B 184ff02dd2f2acc7ee1b4a2fa944e5380ff1cc667555b8ca8510d7b722b0d1524a42c33004dee337328297c4e5c8a7ed4a505c3698593518833e303b19de6214 SHA512 ff9455dece6d0c8d1faf06eb9ff032e036b9d1161622cba4f44fd7eec86a9ff2cc292f5b158c10579929d37dd8e69206ced1859d5d859c437c9c1b130bfdd166 -DIST pypy3-exe-7.3.12_rc1-1.arm64.gpkg.tar 9922560 BLAKE2B df63afc3846216e8fd855a6b52ed83e1326f9d6438734dbb428bfc54fb328e1b672fd22d6d5fac15e4b18145eef2e85197b88de5f62118d4ac1fb3f5fb465bc2 SHA512 50794b9c3d23d0643f3ca54888440d1eed4e3c76f220cdeafc4dfa35ef8fe410202ec0fdbb8b5d29c8b3a5a4e9bdb37ddc738395e5d8fa2c424211b21847b215 -DIST pypy3-exe-7.3.12_rc1-1.ppc64le-musl.gpkg.tar 6543360 BLAKE2B e6dfc8012560da9ecf560cce8f7bb36d72a06b001508b4f7a80069b4f0ea20f0638f1b5b5e50a09fd93abbdb7ee4532c4677ccb0d75fc86084eacd225c5fffb9 SHA512 7c4f4aa032370762f3b344c22eed9ba94a75f2118b61b82c3dd0c9c4e9ec682fd3d692d1fd2d6c8c038928f15b11fb353f1d50da461ac6247157ee54b37f70b9 -DIST pypy3-exe-7.3.12_rc1-1.ppc64le.gpkg.tar 10147840 BLAKE2B 6aed4a74f454a0b6970e21fb6b0d7dd904cd44b833581caf7081ed53a855fac6fb6c7b46e3b9f02747666a908180d88cb73b7e24805d22f1d643ada473e16a21 SHA512 8fe3dc76ae177537f6567303aac697c4b4670b72eeb38d383d7452200d27086d511c1c213f6520e8bbb26b7367d017e5077a1396ce87483d77c7a231256385d7 -DIST pypy3-exe-7.3.12_rc1-1.x86-musl.gpkg.tar 8908800 BLAKE2B 4b4900688f60915da23f64a69117270fbff2de44b43d34d086704f7ef39f85fb64c1ca029b114f7aecaade2d3ba8466a986b89b9f6d7e4bc3b335e04987ddf5a SHA512 3135b418925730dc91c2df48bf0668ba73fd352e149d83ea0a831fddb215aba11adc3dd393776da8f770bf63acb85ac77e96ff3a24ce245713f578340eb271a4 -DIST pypy3-exe-7.3.12_rc1-1.x86.gpkg.tar 8826880 BLAKE2B ca4a9da5e48caca57dd264815b81c8f9775c44eee4d1d0aa0c12962e4b2f1b290626e379e707f3caa560df73909be55d0d8e12c8d74887a607ff35f7ae425a3b SHA512 fd1fd115879f29d0e048313477934f0500853186aa0148d92434ea5ce1ff8dd485ab39acd81ec89d0a6e7d6ccbb94ebabdb96ea7d72ed97732f7f538152c7da3 EBUILD pypy3-exe-bin-7.3.11.ebuild 1978 BLAKE2B ead3a080db1801462d7850d892e2f9c5a38f88207d8d72db0d79332152ccf838b6b9f9e6e3d761f64ea382df30093efee3704571945c0110136ab71aff3006f8 SHA512 8f8983c1cae829dc65e0c42e021f4c7912961a21a5908ede07f30d6ad39495adc1087eef78cf73b597c2dbee6ccdc26dbf80766e468a34f17256be7f04390ba6 -EBUILD pypy3-exe-bin-7.3.12_rc1.ebuild 1987 BLAKE2B 94b28760e5456d437a2272e9a09c1883ba5c40a76cee35088c7a15df7a440b4c519670f5f6c1375dea05a8b5573352e6214b60244a4c0295cded7e00bd75287f SHA512 5f174ed7a4e382e13b6780498c97ca1bc8060b97476839048acf4628224a457227f347a8ac525a8af48cb8c6383404c7116aea4e4e31c15b156ae71201e3cb38 MISC metadata.xml 241 BLAKE2B 4f18c355c71824c25df283b2d463a5abbf2295446e74b960e868dd78d4910ac066725450478087567a6e66b7a8948d99e053f13a7e58dbf2b89fdaf5c2f3436c SHA512 c46e70ffd66754ad84c64806f2bbff25ba9a688f035176a4565afc95351ce10fffba64bbde89965501460b05978c7e59b3d84db6a8cb6efff4055d4b7a5ab5d8 diff --git a/dev-python/pypy3-exe-bin/pypy3-exe-bin-7.3.12_rc1.ebuild b/dev-python/pypy3-exe-bin/pypy3-exe-bin-7.3.12_rc1.ebuild deleted file mode 100644 index 368277d5d40a..000000000000 --- a/dev-python/pypy3-exe-bin/pypy3-exe-bin-7.3.12_rc1.ebuild +++ /dev/null @@ -1,82 +0,0 @@ -# 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-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-exe/${MY_P}.gpkg.tar - -> ${MY_P}.amd64.gpkg.tar - ) - arm64? ( - https://dev.gentoo.org/~mgorny/binpkg/arm64/pypy/dev-python/pypy3-exe/${MY_P}.gpkg.tar - -> ${MY_P}.arm64.gpkg.tar - ) - ppc64? ( - https://dev.gentoo.org/~mgorny/binpkg/ppc64le/pypy/dev-python/pypy3-exe/${MY_P}.gpkg.tar - -> ${MY_P}.ppc64le.gpkg.tar - ) - x86? ( - https://dev.gentoo.org/~mgorny/binpkg/x86/pypy/dev-python/pypy3-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-exe/${MY_P}.gpkg.tar - -> ${MY_P}.amd64-musl.gpkg.tar - ) - arm64? ( - https://dev.gentoo.org/~mgorny/binpkg/arm64-musl/pypy/dev-python/pypy3-exe/${MY_P}.gpkg.tar - -> ${MY_P}.arm64-musl.gpkg.tar - ) - ppc64? ( - https://dev.gentoo.org/~mgorny/binpkg/ppc64le-musl/pypy/dev-python/pypy3-exe/${MY_P}.gpkg.tar - -> ${MY_P}.ppc64le-musl.gpkg.tar - ) - x86? ( - https://dev.gentoo.org/~mgorny/binpkg/x86-musl/pypy/dev-python/pypy3-exe/${MY_P}.gpkg.tar - -> ${MY_P}.x86-musl.gpkg.tar - ) - ) -" -S=${WORKDIR}/${MY_P} - -LICENSE="MIT" -SLOT="${PYVER}-${PV%_p*}" -KEYWORDS="" - -# 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-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-exe/Manifest b/dev-python/pypy3-exe/Manifest index 5b2268efb39b..197ff4d857d2 100644 --- a/dev-python/pypy3-exe/Manifest +++ b/dev-python/pypy3-exe/Manifest @@ -1,7 +1,4 @@ -DIST pypy3.10-gentoo-patches-7.3.12rc1.tar.xz 3416 BLAKE2B 1ad7e2f05fa26136f7a89fc36f9bba6247f5e7dab235798d47599d412783802e09fb98453386d546169010b944d6d564ac759eb3329da50c5401957d243a55d0 SHA512 93a7b1d1efcf88e5616f5b149e3b7c2c40c7a42d8b689f02f9ffa8e9d03356dbaba647181dc73c3cc41d0eb8b9a7a83301a9bb5d6224752a4c4d8e0afb4c2eab -DIST pypy3.10-v7.3.12rc1-src.tar.bz2 22994145 BLAKE2B fff1a0c82f60db6abfa1db5b8fc833f62882f98965c3fb6131028e7ccc9f40475d375e7e0f7de564f91dc82840f5b263d097c6cab83458c82298c18498d55d8b SHA512 9f7eb625236d8a1740d80a02cd4e1bebd09ff4f3c5e117881b133c416c615b5a7ca5d5df2cfc42f5aa014905096005fc4ef328d05554d39ef00bae870e30b9c0 DIST pypy3.9-gentoo-patches-7.3.11.tar.xz 6444 BLAKE2B adcc1ae4c3ae2c5317a05d6de51785945625d8bcc7cb35bd6608fa80f09b37c483c95663eacb0353013a5abec308d25b12666699c65512f5f3a6d7345f2b5b18 SHA512 f2064ecffa09ba23f5f8c281ca4c8c0740cb6b57185d66c02eec2bcb77cfb566b1a2db4f52c472bcaf0d5fb759ee8003b27761af37785d12465c2010fd73c49d DIST pypy3.9-v7.3.11-src.tar.bz2 23460769 BLAKE2B fa8a827c28813243926c8689addb008c0a43acdc3f81a18749a8f2c1926b6294f2c0c95a4c315e3b77ce84b4f337af7a0bce5daf8dcb60ead965532d4af183cb SHA512 33c978ffbeeb39453028d1d1646ccfdace062ce48a5d939245bea41643038dd3687e80e34f88fa0622bcb175d7dd78f75cbe36b24229c8052f09d2d17dcdfd8c EBUILD pypy3-exe-7.3.11.ebuild 2595 BLAKE2B 8d9c7bca5a971c04cddf096e062ca0a9b5c7bd179ffaee342ae23b96fea45ffeb88a61a345dbfa83ead8dfed15b397a60a6f45ea36a510d1823e640b283fd7a0 SHA512 893caf597db4d5f36bad0b9329fb0b3aef510adf23b438540449540b8c37bb4f27152770f78bf9f85b694ba4ffd90740a5ba932f9fc509fdc43ff9c450a3e720 -EBUILD pypy3-exe-7.3.12_rc1.ebuild 2602 BLAKE2B f402bbb181bb8328993ecba4a32cb6b61785003ed153b324c59568f3e36e8c7daffcce5ccfca851d30bab072b2469714697712cadfb493252d715593580ab723 SHA512 d611aa8fcddcc2007e287d4ed02f9e6baf6b80985edd346a273c3d5727d714f6834040a0610eb8fe537343d375a143ffed08802a7089346959336f2d0e0cd3d5 MISC metadata.xml 498 BLAKE2B 8dbcdb7c3a4a2fa5d1a922fd5197fb5e3337adcaec1e7d382f25f8696c80726e5b79843477bf8e5ce131aecde6e2c4c283548c5b337e54cb58aaa066013c445a SHA512 8a9bb514bbf3bf328aa63734e1fdc106f6aaf5ccb88c29ad8a686ab2724f3d1f4727163500013dd16e7b34232b881cf47d2f174212b5428ee076af27cf43628d diff --git a/dev-python/pypy3-exe/pypy3-exe-7.3.12_rc1.ebuild b/dev-python/pypy3-exe/pypy3-exe-7.3.12_rc1.ebuild deleted file mode 100644 index 4891a0cfa8db..000000000000 --- a/dev-python/pypy3-exe/pypy3-exe-7.3.12_rc1.ebuild +++ /dev/null @@ -1,127 +0,0 @@ -# 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="${PYVER}-${PYPY_PV}" -KEYWORDS="" -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/Manifest b/dev-python/pypy3/Manifest index 6c5725649581..b3f0102566e4 100644 --- a/dev-python/pypy3/Manifest +++ b/dev-python/pypy3/Manifest @@ -1,10 +1,5 @@ -DIST pypy3.10-gentoo-patches-7.3.12rc1.tar.xz 3416 BLAKE2B 1ad7e2f05fa26136f7a89fc36f9bba6247f5e7dab235798d47599d412783802e09fb98453386d546169010b944d6d564ac759eb3329da50c5401957d243a55d0 SHA512 93a7b1d1efcf88e5616f5b149e3b7c2c40c7a42d8b689f02f9ffa8e9d03356dbaba647181dc73c3cc41d0eb8b9a7a83301a9bb5d6224752a4c4d8e0afb4c2eab -DIST pypy3.10-v7.3.12rc1-src.tar.bz2 22994145 BLAKE2B fff1a0c82f60db6abfa1db5b8fc833f62882f98965c3fb6131028e7ccc9f40475d375e7e0f7de564f91dc82840f5b263d097c6cab83458c82298c18498d55d8b SHA512 9f7eb625236d8a1740d80a02cd4e1bebd09ff4f3c5e117881b133c416c615b5a7ca5d5df2cfc42f5aa014905096005fc4ef328d05554d39ef00bae870e30b9c0 DIST pypy3.9-gentoo-patches-7.3.11_p1.tar.xz 7480 BLAKE2B ffb478402e82244af25dd67bb9e21abb4bb186d98495899f8ca8f323bdf27a77356e40efd33217a5238ef86f6156fc7d85c681a747ea5a35bd73bab659972986 SHA512 6c3ee21b51145907c2434f740e9849ac02ad83203fdcb2802b97ba199f37d08297d8016f659069bea3f0854ace30aefb947af4f057cbc91332106d9fc1389cf4 DIST pypy3.9-v7.3.11-src.tar.bz2 23460769 BLAKE2B fa8a827c28813243926c8689addb008c0a43acdc3f81a18749a8f2c1926b6294f2c0c95a4c315e3b77ce84b4f337af7a0bce5daf8dcb60ead965532d4af183cb SHA512 33c978ffbeeb39453028d1d1646ccfdace062ce48a5d939245bea41643038dd3687e80e34f88fa0622bcb175d7dd78f75cbe36b24229c8052f09d2d17dcdfd8c EBUILD pypy3-7.3.11_p1.ebuild 5860 BLAKE2B 1dc807f5275e756aa18726045ed5770c821c4dc8361c27270d2c2057eca84a49aa7a1557406a01d0b395e5eded2805764532916c81feaf43bebd7bf09362a9b4 SHA512 776b342d4c51e5d42229912afab4deb0ff16e84db5bc7a696e8dcff6e476ad7931bf5b13cd5f8e3b1edc08b51b8f5f4f47cf0637139a9a3af011ed8a98511983 EBUILD pypy3-7.3.12.ebuild 585 BLAKE2B 5c5704a58e65e6d2bc4272988aaf0ca2e4b2bb21aa316c629ebb8594500743add0a901704f0a2ded2aa803841d4ec16a754884f435ece9a8682da1a70a1a2bff SHA512 3513a60f7264acf12d10d9b1921e843460db4aadaca2b0137a624a870a2ee31a44c52ed065d0cab4a9c35c1c24fbaaffbfd1dab838d1e12117ee53e528e8e481 -EBUILD pypy3-7.3.12_rc1.ebuild 5985 BLAKE2B b20531caea85e49ce83733502f76f4870d83d072e77d4d48d0a18ee30db1626600aaf1ba7f8d78e6da201e748d1023036752556a3ddab6ccac87c0ce4c6782c4 SHA512 73f416e974b0c3cd5dd0a8ab378883270fbc61073f375b5076b3dd6e6c1b6bc13d7e8f6919ae26a238d6a31aeb982b113e551ec301550e72276e2752c75917e6 -EBUILD pypy3-7.3.12_rc2-r100.ebuild 536 BLAKE2B 312952cce46085dc1104c15bc077c056a3af6eb47ccd4f69bfa8bbf11a7862d517394a182b1ae7d598174c2803f3a136a384b29b7b28518161b5e4706d2156a1 SHA512 8b099211cb8ca6467f5e0ed33b2a16fd38fb554ebfd3be78ec2c04d656700dcc477604e190e30fdbf81192c7c9f65cf6e4c7a4a685a016af7d27a73f89691717 -EBUILD pypy3-7.3.12_rc2.ebuild 533 BLAKE2B e2e2653f575e2571136cb1d499ea7cec2d31d22c00e7b7e3be0542c7d57a712908d03000084b8cd32a3ec8cebc454d1ec36e9651045bd72a9f12a7e9cb183f59 SHA512 2ce3d7e445d545326a122cf81daf85396fedfef63a2fcb3e4210b2621e9c4d705734c4c213094b1aa62a546dee89e4ad05eb1cea976ebb3e1290743b07754600 MISC metadata.xml 531 BLAKE2B 0f727c7ced9fb24ba0dc0b41d51c177b3711de33b838bf46cfdde5d8b751de9694873c13fe8153747f2cb533c078c54f004ee84b1c3c57b6f8d62128ffb9dba2 SHA512 331b66647a58047ded4bcf1529e3ca16b21cbb37afa82d8be0a4b6ad605e17bf3f1478fad1ea3b9c970bdf5162cb41e6adcb029a261fcbf894e807998b9219f6 diff --git a/dev-python/pypy3/pypy3-7.3.12_rc1.ebuild b/dev-python/pypy3/pypy3-7.3.12_rc1.ebuild deleted file mode 100644 index 88738f20e479..000000000000 --- a/dev-python/pypy3/pypy3-7.3.12_rc1.ebuild +++ /dev/null @@ -1,208 +0,0 @@ -# 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="" -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/pypy3-exe-${PYPY_PV}:${PYVER}-${PYPY_PV}[bzip2(+),ncurses?] - >=dev-python/pypy3-exe-bin-${PYPY_PV}:${PYVER}-${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= - ) -" -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=$( 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=$( 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=$( pypy_incremental_magic -SLOT="0/pypy310-pp73-384" -KEYWORDS="" -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=$( pypy_incremental_magic -SLOT="0/pypy310-pp73-384" -KEYWORDS="" -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=$( 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= + ) + ! 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=$( 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= - ) - ! 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=$( pypy_incremental_magic -SLOT="0/pypy39-pp73-336" -KEYWORDS="" -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= - ) - ! 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=$(