diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-05-15 01:46:15 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-05-15 01:46:15 +0000 |
| commit | 1d9c80b2db7dab7b69b8b3e9f1c76baf29786d66 (patch) | |
| tree | 15c50a3778348440c5b6bbb4aace1726eb33b080 /dev-python | |
| parent | 96e3c14226e0c93ef15945246ff0717277dcc703 (diff) | |
| download | baldeagleos-repo-1d9c80b2db7dab7b69b8b3e9f1c76baf29786d66.tar.gz baldeagleos-repo-1d9c80b2db7dab7b69b8b3e9f1c76baf29786d66.tar.xz baldeagleos-repo-1d9c80b2db7dab7b69b8b3e9f1c76baf29786d66.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
26 files changed, 497 insertions, 214 deletions
diff --git a/dev-python/Pyro4/Manifest b/dev-python/Pyro4/Manifest deleted file mode 100644 index 629f808f2b5a..000000000000 --- a/dev-python/Pyro4/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST Pyro4-4.82.tar.gz 516110 BLAKE2B ecd7b5cf1469896acfec1db92d99784aa316db5cadbb7fc595a5f9916ac705619d070771549fb8ba7379a7395e4449eabcfc84aa131d4b23b587b7467f4bf196 SHA512 f5916ce37ec52d8cd23bece79325480140621ac8412febb4877a32b1ce54502ef17d20bf591dc30eb20e9619741548b30a78165937d5e69e8d1911d95a23b1e1 diff --git a/dev-python/Pyro4/Pyro4-4.82-r1.ebuild b/dev-python/Pyro4/Pyro4-4.82-r1.ebuild deleted file mode 100644 index 916d8c1c1bce..000000000000 --- a/dev-python/Pyro4/Pyro4-4.82-r1.ebuild +++ /dev/null @@ -1,60 +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_{7,8,9,10,11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Distributed object middleware for Python (RPC)" -HOMEPAGE=" - https://github.com/irmen/Pyro4/ - https://pypi.org/project/Pyro4/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm64 ppc x86" -IUSE="doc examples" - -RDEPEND=" - >=dev-python/serpent-1.27[${PYTHON_USEDEP}] -" -DEPEND=" - test? ( - >=dev-python/cloudpickle-1.2.1[${PYTHON_USEDEP}] - >=dev-python/dill-0.2.6[${PYTHON_USEDEP}] - >=dev-python/msgpack-0.5.2[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # network - tests/PyroTests/test_naming.py - tests/PyroTests/test_naming2.py::OfflineNameServerTests::testStartNSfunc - tests/PyroTests/test_naming2.py::OfflineNameServerTestsDbmStorage::testStartNSfunc - tests/PyroTests/test_naming2.py::OfflineNameServerTestsSqlStorage::testStartNSfunc - tests/PyroTests/test_serialize.py::SerializeTests_dill::testSerCoreOffline - tests/PyroTests/test_serialize.py::SerializeTests_dill::testSerializeDumpsAndDumpsCall - tests/PyroTests/test_socket.py::TestSocketutil::testBroadcast - tests/PyroTests/test_socket.py::TestSocketutil::testGetIP - ) - - cd tests/PyroTests || die - epytest -} - -python_install_all() { - use doc && HTML_DOCS=( docs/. ) - if use examples; then - dodoc -r examples - docompress -x /usr/share/doc/${PF}/examples - fi - distutils-r1_python_install_all -} diff --git a/dev-python/Pyro4/metadata.xml b/dev-python/Pyro4/metadata.xml deleted file mode 100644 index ea8988e8af6a..000000000000 --- a/dev-python/Pyro4/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>python@gentoo.org</email> - <name>Python</name> - </maintainer> - - <origin>gentoo-staging</origin> - <stabilize-allarches/> -</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/django-tagging/Manifest b/dev-python/django-tagging/Manifest deleted file mode 100644 index 389b1d7f8d6a..000000000000 --- a/dev-python/django-tagging/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST django-tagging-0.5.0.tar.gz 42827 BLAKE2B 0889af1ca2943c3bd8e4ffe3aecf8ceec85d2546daf9cccba06bbf9d34943ac7de41240ee79ab77797c6af490dc8dc2d3d9c7249b1c83d71488116e3fb78c0d3 SHA512 7a740c24cb9674f3e9c7f98aeb46f99537ba7afc79bbfd810004b921786e1246fe2ea1f219a2a6c414189497e7b9409bc4f7170714c6c03bb163ccede77c3266 diff --git a/dev-python/django-tagging/django-tagging-0.5.0-r1.ebuild b/dev-python/django-tagging/django-tagging-0.5.0-r1.ebuild deleted file mode 100644 index 3a99fc7e89fe..000000000000 --- a/dev-python/django-tagging/django-tagging-0.5.0-r1.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Generic tagging application for Django" -HOMEPAGE="https://pypi.org/project/django-tagging/ - https://github.com/Fantomas42/django-tagging" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -# wants smart_text which was removed from django-4.0 and up -RDEPEND=">=dev-python/django-1.0[${PYTHON_USEDEP}] - <dev-python/django-4[${PYTHON_USEDEP}]" -BDEPEND=" - test? ( - $(python_gen_impl_dep sqlite) - )" - -distutils_enable_sphinx docs - -python_test() { - local -x DJANGO_SETTINGS_MODULE=tagging.tests.settings - local -x PYTHONPATH=. - django-admin test -v 2 tagging || die "Tests failed with ${EPYTHON}" -} diff --git a/dev-python/django-tagging/metadata.xml b/dev-python/django-tagging/metadata.xml deleted file mode 100644 index ea8988e8af6a..000000000000 --- a/dev-python/django-tagging/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>python@gentoo.org</email> - <name>Python</name> - </maintainer> - - <origin>gentoo-staging</origin> - <stabilize-allarches/> -</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/grpcio-tools/Manifest b/dev-python/grpcio-tools/Manifest index 1ebcf2a59de0..d2991b3f3898 100644 --- a/dev-python/grpcio-tools/Manifest +++ b/dev-python/grpcio-tools/Manifest @@ -1,2 +1,2 @@ -DIST grpcio-tools-1.53.0.tar.gz 2257165 BLAKE2B 963fbc46f26476b0842a411f96c79807d431b3389012f82aba7d612d41fa238c1d93aac8edfec0a6edad4f1f62b308d070703a147e3413ca417f2aa8a71608d7 SHA512 0df41e26f4f5b435f1825055c0608f4b8d34c0f40e7618e62d11d0a1d6418c6daac03647b379e783c37793ddeb1ddec37026740826aacb53bb62281bf9e4b82d DIST grpcio-tools-1.54.0.tar.gz 2259685 BLAKE2B 432b682514a52d0ef2e5244b30e85200a3048e0bab3c87c4b8412d73794aa398002e571363de778acd55679d7765967705c2140ae39abd021cfd2cd77e575902 SHA512 c360ac7f211abc46ebd70ff5cbe0c78fdc1798ec6b202d28628f27e67e508a478a8cb9cd18d5ed0c219c9c8e024d8758d851593cfa2a215082b8e9546f164431 +DIST grpcio-tools-1.54.2.tar.gz 2259586 BLAKE2B efa99e32d3bea5d176856d5befbebff27cef5d67355c4fb6600ec0a05e141d09750ada427bb8a82ecea713e48094b589cee247463a7b1f215c1f56eb346a571c SHA512 7dc849db2fb9d769d66e140d5841fc894acd05d4c20f3a67e472b85121c9718afa56e30175d889eeb76e9f44aea6553a7e915d1502eb7aca721091f5bdd60da9 diff --git a/dev-python/grpcio-tools/grpcio-tools-1.53.0.ebuild b/dev-python/grpcio-tools/grpcio-tools-1.54.2.ebuild index 376320a1788f..dd540e526033 100644 --- a/dev-python/grpcio-tools/grpcio-tools-1.53.0.ebuild +++ b/dev-python/grpcio-tools/grpcio-tools-1.54.2.ebuild @@ -9,7 +9,7 @@ inherit distutils-r1 multiprocessing prefix DESCRIPTION="Protobuf code generator for gRPC" HOMEPAGE="https://grpc.io https://pypi.org/project/grpcio-tools/" -SRC_URI="https://files.pythonhosted.org/packages/81/dc/71fb99bc79deb2cbf2007337b946e463d8a1996d15177db245164f389bc9/grpcio-tools-1.53.0.tar.gz" +SRC_URI="https://files.pythonhosted.org/packages/b1/a9/db4538e727eb0d627a345ab99c22cab041db98aac1eadfbeadbccc0c4376/grpcio-tools-1.54.2.tar.gz" LICENSE="Apache-2.0" SLOT="0" diff --git a/dev-python/grpcio/Manifest b/dev-python/grpcio/Manifest index 2bd41f322c13..99084380338e 100644 --- a/dev-python/grpcio/Manifest +++ b/dev-python/grpcio/Manifest @@ -1,2 +1,2 @@ -DIST grpcio-1.53.0.tar.gz 22407809 BLAKE2B 832bbf5c991b454c1425ab9d6da720aca662e71ed041fd60de87857e947b5d0af5509852bbcb4bfc0d311b22f5091184a61a7c4b670fff487557c3eaf49d201b SHA512 e920adaea9fda28eeb79365e18710d22efc69b0de6297577e1bc37fc6dc3e8f9aaf90e2432024e00e8add473ffd96302b9099361596623ce671a1409a50d8be0 DIST grpcio-1.54.0.tar.gz 23450621 BLAKE2B 45344fb0fd1ef4729d21c6ea2c2200771b92ecd35432d6235c68f506569f5891bf27321c639515459de053528276e61fd6ecf4e6893f4122cf1f0dd10f960039 SHA512 e4fd9d4370c0df5d068f0fd1f1e852165cd58cd12270faac8c68cff69eebc9e1ea13f2e87e681cdd36ac0d6158f03a0b54f2c040446f3eb622acbdd463460221 +DIST grpcio-1.54.2.tar.gz 23458404 BLAKE2B f51be300817e4a253ab6d29d2497991487c348ffa7591c494fa98b4a8cb9d764eed393aaad8650e328e3c18f100a45cf22e4a23d8edd5ec7087e984919e74d66 SHA512 1c7f0df6e8bc86bcbb1edfe53164eed59453816e4c70702b918dccf2f64c902ebd415636ab8848eae90de6e51ef3d2b0c1e2955bd30dbb89972df1e881e66848 diff --git a/dev-python/grpcio/grpcio-1.53.0.ebuild b/dev-python/grpcio/grpcio-1.54.2.ebuild index eb4af3eddb54..5eb650059480 100644 --- a/dev-python/grpcio/grpcio-1.53.0.ebuild +++ b/dev-python/grpcio/grpcio-1.54.2.ebuild @@ -8,7 +8,7 @@ inherit distutils-r1 multiprocessing prefix DESCRIPTION="High-performance RPC framework (python libraries)" HOMEPAGE="https://grpc.io https://pypi.org/project/grpcio/" -SRC_URI="https://files.pythonhosted.org/packages/9d/13/f7e3834ba272c0058c66de57272fb3b20dde69003032fdb6b4d7c36eebed/grpcio-1.53.0.tar.gz" +SRC_URI="https://files.pythonhosted.org/packages/cb/82/f4a1535e6ae5360abd59ab4e8d90a884c680a3997a44c7418364030874dd/grpcio-1.54.2.tar.gz" LICENSE="Apache-2.0" SLOT="0" diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index a11d7c268c91..e9da2ac43cac 100644 --- a/dev-python/langdetect/Manifest +++ b/dev-python/langdetect/Manifest @@ -1 +1,3 @@ DIST langdetect-1.0.9.tar.gz 981474 BLAKE2B ea8a9c3f16a2987c080742473bff4f2c1503f53fb3c2b40b0b1d6212bb6133ea22dce7864ffcfb8968c3a46b157d45cb3e2cf6f84bdbed0266cc716a853b032c SHA512 7558d674c47b080c79e43a00a25d2c7f77188cf60bea2cecb3bebb803d75e1aa42b43c74bd26ea1b541f4cb927421908882cbec01a91f0913984217e71ccc8db +EBUILD langdetect-1.0.9.ebuild 493 BLAKE2B 0df8bce19bc80f79f8e76bcef5a4c2caf333365fe0cb9a3c076b7858bceded5a3e58921474f866a2709dd657b7ed330c1ec4a7f9d7bab0fcf1bc92d77cabc32d SHA512 ea2a1adcb133ac5fc951ba1aa90ef1ce3dfcc424e59727591763d4875aa044a74188be2d15fd89c6b2e83ed6ea04ec3d9851ed584ae79d2c2c127bde7d994b48 +MISC metadata.xml 457 BLAKE2B 630128a3e982b6d60cc7b9f74c79fcb5ee47a71a02c73a50af9da8cedb6fad8e20a7f74b881e5b25c6483b92c9edbd56552cd38b2d9cbfa8b3eb4530facea969 SHA512 674f4f5cd809c6c77bc14e0f5687fa972bef14bdfa0b3343c5d66b7163eef1906eb87d060c8288732f825de71dce291ad0b841a5f2f0dd230f957b5687e45d45 diff --git a/dev-python/langdetect/metadata.xml b/dev-python/langdetect/metadata.xml index ddb5b0f1787e..020e07f2a3dd 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -2,9 +2,11 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>cyber+gentoo@sysrq.in</email> - <name>Anna</name> + <email>marcin.deranek@slonko.net</email> + <name>Marcin Deranek</name> </maintainer> - - <origin>gentoo-guru-overlay</origin> + <upstream> + <bugs-to>https://github.com/Mimino666/langdetect/issues</bugs-to> + </upstream> + <origin>slonko-overlay</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/misaka/Manifest b/dev-python/misaka/Manifest deleted file mode 100644 index ef1ca6921d29..000000000000 --- a/dev-python/misaka/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST misaka-2.1.1.tar.gz 112700 BLAKE2B 0d50cfbfa127a51bc6da2abc3a91c8ce4706b6a1dbbfc4af14f85d47262ab1cca4bdca0ba7056e668570b20bed1f1a150124a2d5da45ff8866cb7007b2b9bca3 SHA512 4b9288d56ddd57e07985043acbb5a2dfec9b7c0bf385b689b17f2b062f5d7aa961e0dab8e237173e714b13aa5eabafc646833d5a78cf728035444d6fbd365bee diff --git a/dev-python/misaka/metadata.xml b/dev-python/misaka/metadata.xml deleted file mode 100644 index 05f394c5ba00..000000000000 --- a/dev-python/misaka/metadata.xml +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>openstack@gentoo.org</email> - <name>Openstack</name> - </maintainer> - <maintainer type="person"> - <email>prometheanfire@gentoo.org</email> - <name>Matthew Thode</name> - </maintainer> - - <origin>gentoo-staging</origin> -</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/misaka/misaka-2.1.1-r1.ebuild b/dev-python/misaka/misaka-2.1.1-r1.ebuild deleted file mode 100644 index e1e47d49f0b8..000000000000 --- a/dev-python/misaka/misaka-2.1.1-r1.ebuild +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - -inherit distutils-r1 - -DESCRIPTION="A CFFI binding for Hoedown, a markdown parsing library" -HOMEPAGE="https://misaka.61924.nl/ https://github.com/FSX/misaka" -SRC_URI="https://github.com/FSX/misaka/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -KEYWORDS="~amd64 ~x86" -IUSE="" -LICENSE="MIT" -SLOT="0" - -RDEPEND="dev-python/cffi[${PYTHON_USEDEP}]" - -# FIXME: tests requires write access outside sandbox -#distutils_enable_tests setup.py diff --git a/dev-python/picklemagic/Manifest b/dev-python/picklemagic/Manifest deleted file mode 100644 index f18140d20c10..000000000000 --- a/dev-python/picklemagic/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST picklemagic-0.0_pre20160415.tar.xz 23364 BLAKE2B 07104393d41c68fabb26d642b6a78b5b5506322edc1322f6a0957c485c2681aafb388488b4d65d920102fb56839ebdeb82cbde909dae3d982311a3d776ca8aca SHA512 0b0866895df5f5f49462d75ad6a435f93796c60eae2442350ea0768872cc1938406b68f5ecb54e1583c245c6ac6d4feada32469184e24186adf78d002adfcd76 diff --git a/dev-python/picklemagic/metadata.xml b/dev-python/picklemagic/metadata.xml deleted file mode 100644 index f86529060cef..000000000000 --- a/dev-python/picklemagic/metadata.xml +++ /dev/null @@ -1,20 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>bircoph@gentoo.org</email> - <name>Andrew Savchenko</name> - </maintainer> - <longdescription> - A set of modules for analyzing and playing with the mechanics of python pickles. - Features: - * Forgiving: Extracts as much data as possible from the pickle, even if class definitions are unavailable. - * Safe: You can safely unpickle data structures from unknown sources - * Easy to use: Tools are provided which make it possible to code around the unpickled datastructures as if they were created from the actual class definitions. - * Customizeable: Most functionality is easily subclassable to suit your needs. - * Create pickles as if you were writing python: Via a few constructs it's possible to create custom pickles with the ease of writing normal python. - * Works in both python 2 and 3 - </longdescription> - - <origin>gentoo-staging</origin> -</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/picklemagic/picklemagic-0.0_pre20160415.ebuild b/dev-python/picklemagic/picklemagic-0.0_pre20160415.ebuild deleted file mode 100644 index 8a24059a9dbe..000000000000 --- a/dev-python/picklemagic/picklemagic-0.0_pre20160415.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) -inherit python-r1 - -DESCRIPTION="A library for analysing python pickles safely" -HOMEPAGE="https://github.com/CensoredUsername/picklemagic" -SRC_URI="https://dev.gentoo.org/~bircoph/distfiles/${P}.tar.xz" - -LICENSE="WTFPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -BDEPEND="doc? ( dev-python/sphinx )" -RDEPEND="${PYTHON_DEPS}" - -src_compile() { - use doc && emake -C doc html -} - -src_install() { - default - python_foreach_impl python_domodule *.py - use doc && dodoc -r doc/build/html -} diff --git a/dev-python/pypy-exe-bin/Manifest b/dev-python/pypy-exe-bin/Manifest index aef267937f1d..36452ff1da37 100644 --- a/dev-python/pypy-exe-bin/Manifest +++ b/dev-python/pypy-exe-bin/Manifest @@ -6,3 +6,11 @@ DIST pypy-exe-7.3.11-1.ppc64le-musl.gpkg.tar 6656000 BLAKE2B 6934c8cf6b0c6ae8f25 DIST pypy-exe-7.3.11-1.ppc64le.gpkg.tar 11110400 BLAKE2B 5c37eec6ee5f38821c9f2a53df525387a1b29535b0063be40de18b4f14d755f4e0568a694a34b00835d905d7d724baf80d4b27a2fcbcb4b35f9366226a42d1e5 SHA512 4e04c388af7cf4c3a3893345a5c02fbe651004237d8dfac00ab61210f387956bd16aacadad2dd288d7d9111d5863f37349d284d405cdef20c11009037700750e DIST pypy-exe-7.3.11-1.x86-musl.gpkg.tar 9758720 BLAKE2B 19fa123ca6d25f90a8b330efe1bf8147a29f7a2038f4c23897442ef9f7fd6a5ea7a56c51e1539ec43e5726d333e7037e4f60999d15b87bd4de0fe336b48bcefa SHA512 e761b37c9fa8801b51015329707e1b92cadd3901937ecc5ccc5ce51a564933553e4b4058092f87930a6da080ab2a608bffb1e76376ef711091cce8d3f773cbdd DIST pypy-exe-7.3.11-1.x86.gpkg.tar 9748480 BLAKE2B 737b88b88c756b084183a30149709d10d868c9a8feb723c6d1ae10fb1cc4b9f5a363e3aba3d2dd2718b5df727e0a6cf4a55efc449b8d2a00ea12bc1a67b9762f SHA512 56518c8142909296e01d716062acc4187d204af958ff197fc3116bfaac47b94abc67f6ba1d8ac0ac74c9a287231af8d35c7511b0f65c9fdf1f93b75294094ccc +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 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 new file mode 100644 index 000000000000..7e8642a993b5 --- /dev/null +++ b/dev-python/pypy-exe-bin/pypy-exe-bin-7.3.12_rc1.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit pax-utils unpacker + +MY_P=pypy-exe-${PV}-1 +DESCRIPTION="PyPy executable (pre-built version)" +HOMEPAGE="https://www.pypy.org/" +SRC_URI=" + elibc_glibc? ( + amd64? ( + https://dev.gentoo.org/~mgorny/binpkg/amd64/pypy/dev-python/pypy-exe/${MY_P}.gpkg.tar + -> ${MY_P}.amd64.gpkg.tar + ) + arm64? ( + https://dev.gentoo.org/~mgorny/binpkg/arm64/pypy/dev-python/pypy-exe/${MY_P}.gpkg.tar + -> ${MY_P}.arm64.gpkg.tar + ) + ppc64? ( + https://dev.gentoo.org/~mgorny/binpkg/ppc64le/pypy/dev-python/pypy-exe/${MY_P}.gpkg.tar + -> ${MY_P}.ppc64le.gpkg.tar + ) + x86? ( + https://dev.gentoo.org/~mgorny/binpkg/x86/pypy/dev-python/pypy-exe/${MY_P}.gpkg.tar + -> ${MY_P}.x86.gpkg.tar + ) + ) + elibc_musl? ( + amd64? ( + https://dev.gentoo.org/~mgorny/binpkg/amd64-musl/pypy/dev-python/pypy-exe/${MY_P}.gpkg.tar + -> ${MY_P}.amd64-musl.gpkg.tar + ) + arm64? ( + https://dev.gentoo.org/~mgorny/binpkg/arm64-musl/pypy/dev-python/pypy-exe/${MY_P}.gpkg.tar + -> ${MY_P}.arm64-musl.gpkg.tar + ) + ppc64? ( + https://dev.gentoo.org/~mgorny/binpkg/ppc64le-musl/pypy/dev-python/pypy-exe/${MY_P}.gpkg.tar + -> ${MY_P}.ppc64le-musl.gpkg.tar + ) + x86? ( + https://dev.gentoo.org/~mgorny/binpkg/x86-musl/pypy/dev-python/pypy-exe/${MY_P}.gpkg.tar + -> ${MY_P}.x86-musl.gpkg.tar + ) + ) +" +S="${WORKDIR}" + +LICENSE="MIT" +SLOT="${PV%_p*}" +KEYWORDS="" + +# 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 54ed0804e7b9..d9b36d5418b0 100644 --- a/dev-python/pypy-exe/Manifest +++ b/dev-python/pypy-exe/Manifest @@ -1,2 +1,4 @@ DIST pypy2.7-gentoo-patches-7.3.11.tar.xz 5312 BLAKE2B 3692453a184a88d61fe1dd7aa815aa02a4bdf4b29defd2e98a354261784643f78799b979bb356c19311b40932cc7f8b8e050e10553755a846938951a87021bc9 SHA512 24308317d92b278f9f7d74327303ebba34628a2d8dd5798ae3d472d14fd0519a470b6f9c420da88e07251215342a1e4f5cf8d4230f9663119274d3194d3811a5 +DIST pypy2.7-gentoo-patches-7.3.12rc1.tar.xz 5340 BLAKE2B 4631f3daa7002033af7b9a7026777053454bcb20ed03ad551a1df7efc32adef478e78d449d81dfad903c887cca53b9742edcc97e6cd1e368c3803f779fa6ee4d SHA512 b99723360d15e4411f7cf8ea75b6fd8de92acb3c123d2f3893bd3f2b820099a3ddb625e275e95fb858cb3fd5e4fe18dc653faf90509e7593b5088bcdf7c2092d DIST pypy2.7-v7.3.11-src.tar.bz2 19850421 BLAKE2B ed8bd61e3857c37689f24a23d38d5043bd190ee0e6de5d7906284ea2eab5e7aeff5c994c22f97195f5a1ded2867725f74dc562b375c0165b6231eae69213c06e SHA512 31fd93fe3e761fd096ff52c2a0afa40f78e4df700deb911e221d1682b35e8374c9deac7ba19b474f7ca7a366d3ae9b36ebaf78e81c4ec8306431fd0873daea55 +DIST pypy2.7-v7.3.12rc1-src.tar.bz2 19898483 BLAKE2B a0f618f69fc938ce59148cd98f03bcca09b89fd4f500132d5212212c391c703d64ea04681d5105b252e1efe41f001a8aa9692cfd3c37dfab4ff5af29b276dbfb SHA512 9faa36f27339a14dc5e7b326a0732ab8dc9c4401eabfe5787c14054a0d0961cc07c0d8e49dbaaaeb78a62ccf73e325b1d31731a138e3b24a6032f44550f6b346 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 new file mode 100644 index 000000000000..37c1d0145b66 --- /dev/null +++ b/dev-python/pypy-exe/pypy-exe-7.3.12_rc1.ebuild @@ -0,0 +1,177 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit check-reqs pax-utils toolchain-funcs + +PYPY_PV=${PV%_p*} +MY_P=pypy2.7-v${PYPY_PV/_} +PATCHSET="pypy2.7-gentoo-patches-${PV/_}" + +DESCRIPTION="PyPy executable (build from source)" +HOMEPAGE="https://www.pypy.org/" +SRC_URI=" + https://buildbot.pypy.org/pypy/${MY_P}-src.tar.bz2 + https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz +" +S="${WORKDIR}/${MY_P}-src" + +LICENSE="MIT" +SLOT="${PYPY_PV}" +KEYWORDS="" +IUSE="bzip2 +jit low-memory ncurses cpu_flags_x86_sse2" + +DEPEND=" + >=sys-libs/zlib-1.1.3:0= + dev-libs/libffi:0= + virtual/libintl:0= + dev-libs/expat:0= + bzip2? ( app-arch/bzip2:0= ) + ncurses? ( sys-libs/ncurses:0= ) +" +RDEPEND=" + ${DEPEND} + !dev-python/pypy-exe-bin:${PYPY_PV} +" +# don't enforce the dep on dev-python/pypy with USE=low-memory +# since it's going to cause circular dep with unhelpful error message +BDEPEND=" + !low-memory? ( + || ( + dev-python/pypy + dev-lang/python:2.7 + ) + ) +" + +check_env() { + if ! has_version -b dev-python/pypy; then + if use low-memory; then + eerror "USE=low-memory requires (a prior version of) dev-python/pypy" + eerror "installed." + else + ewarn "CPython 2.7 will be used to perform the translation. Upstream" + ewarn "recommends using (a prior version of) dev-python/pypy instead." + fi + elog "You can install a prebuilt version of PyPy first using e.g.:" + elog " $ emerge -1v dev-python/pypy dev-python/pypy-exe-bin" + + if use low-memory; then + die "dev-python/pypy needs to be installed for USE=low-memory" + fi + fi + + if use low-memory; then + CHECKREQS_MEMORY="1750M" + use amd64 && CHECKREQS_MEMORY="3500M" + else + CHECKREQS_MEMORY="3G" + use amd64 && CHECKREQS_MEMORY="6G" + fi + + check-reqs_pkg_pretend +} + +pkg_pretend() { + [[ ${MERGE_TYPE} != binary ]] && check_env +} + +pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && check_env +} + +src_prepare() { + local PATCHES=( + "${WORKDIR}/${PATCHSET}" + ) + default +} + +src_configure() { + tc-export CC + + local jit_backend + if use jit; then + jit_backend='--jit-backend=' + + # We only need the explicit sse2 switch for x86. + # On other arches we can rely on autodetection which uses + # compiler macros. Plus, --jit-backend= doesn't accept all + # the modern values... + + if use x86; then + if use cpu_flags_x86_sse2; then + jit_backend+=x86 + else + jit_backend+=x86-without-sse2 + fi + else + jit_backend+=auto + fi + fi + + local args=( + --no-shared + $(usex jit -Ojit -O2) + + ${jit_backend} + + pypy/goal/targetpypystandalone + ) + + # Avoid linking against libraries disabled by use flags + local opts=( + bzip2:bz2 + ncurses:_minimal_curses + ) + + local opt + for opt in "${opts[@]}"; do + local flag=${opt%:*} + local mod=${opt#*:} + + args+=( + $(usex ${flag} --withmod --withoutmod)-${mod} + ) + done + + local interp + if use low-memory || has_version -b dev-python/pypy; then + einfo "Using already-installed PyPy to perform the translation." + interp=( pypy ) + if use low-memory; then + local -x PYPY_GC_MAX_DELTA=200MB + interp+=( --jit loop_longevity=300 ) + fi + else + einfo "Using CPython 2.7 to perform the translation." + interp=( python2.7 ) + + # reuse bundled pycparser to avoid external dep + mkdir -p "${T}"/pymod/cffi || die + : > "${T}"/pymod/cffi/__init__.py || die + cp -r lib_pypy/cffi/_pycparser "${T}"/pymod/cffi/ || die + local -x PYTHONPATH=${T}/pymod:${PYTHONPATH} + fi + + # translate into the C sources + # we're going to build them ourselves since otherwise pypy does not + # free up the unneeded memory before spawning the compiler + set -- "${interp[@]}" rpython/bin/rpython --batch --source "${args[@]}" + echo -e "\033[1m${@}\033[0m" + "${@}" || die "translation failed" +} + +src_compile() { + emake -C "${T}"/usession*-0/testing_1 +} + +src_install() { + local dest=/usr/lib/pypy2.7 + exeinto "${dest}" + newexe "${T}"/usession*-0/testing_1/pypy-c pypy-c-${PYPY_PV} + insinto "${dest}"/include/${PYPY_PV} + doins include/pypy_* + pax-mark m "${ED}${dest}/pypy-c-${PYPY_PV}" +} diff --git a/dev-python/pypy3-exe-bin/Manifest b/dev-python/pypy3-exe-bin/Manifest index 4b3d7bf6b775..11c49c997b11 100644 --- a/dev-python/pypy3-exe-bin/Manifest +++ b/dev-python/pypy3-exe-bin/Manifest @@ -6,3 +6,11 @@ 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 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 new file mode 100644 index 000000000000..368277d5d40a --- /dev/null +++ b/dev-python/pypy3-exe-bin/pypy3-exe-bin-7.3.12_rc1.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit pax-utils unpacker + +PYVER=3.10 +MY_P=pypy3-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 de5d9083b178..8b1ac0bb16cb 100644 --- a/dev-python/pypy3-exe/Manifest +++ b/dev-python/pypy3-exe/Manifest @@ -1,2 +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 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 new file mode 100644 index 000000000000..4891a0cfa8db --- /dev/null +++ b/dev-python/pypy3-exe/pypy3-exe-7.3.12_rc1.ebuild @@ -0,0 +1,127 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit check-reqs pax-utils toolchain-funcs + +PYPY_PV=${PV%_p*} +PYVER=3.10 +MY_P="pypy${PYVER}-v${PYPY_PV/_}" +PATCHSET="pypy${PYVER}-gentoo-patches-${PV/_}" + +DESCRIPTION="PyPy3 executable (build from source)" +HOMEPAGE="https://www.pypy.org/" +SRC_URI=" + https://buildbot.pypy.org/pypy/${MY_P}-src.tar.bz2 + https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz +" +S="${WORKDIR}/${MY_P}-src" + +LICENSE="MIT" +SLOT="${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}" +} |
