diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-06-19 07:50:17 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-06-19 07:50:17 +0100 |
commit | 262a170a603cee433f640577f13472ab41a5d3aa (patch) | |
tree | c8cd6d9417b8a1f2275883279d2ceaedba7207f3 /dev-python/pypy3 | |
parent | 37cd441738bc6681ca075c01b6dd06056a27abbf (diff) |
gentoo auto-resync : 19:06:2023 - 07:50:17
Diffstat (limited to 'dev-python/pypy3')
-rw-r--r-- | dev-python/pypy3/Manifest | 5 | ||||
-rw-r--r-- | dev-python/pypy3/pypy3-7.3.12_rc1.ebuild | 208 | ||||
-rw-r--r-- | dev-python/pypy3/pypy3-7.3.12_rc2-r100.ebuild | 26 | ||||
-rw-r--r-- | dev-python/pypy3/pypy3-7.3.12_rc2.ebuild | 26 |
4 files changed, 0 insertions, 265 deletions
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=$(<pybuilddir.txt) || die - cp "${outdir}"/_sysconfigdata__*.py lib-python/3/ || die - - # Generate Grammar and PatternGrammar pickles. - ./pypy${PYVER}-c - <<-EOF || die "Generation of Grammar and PatternGrammar pickles failed" - import lib2to3.pygram - import lib2to3.patcomp - lib2to3.patcomp.PatternCompiler() - EOF - - # Generate cffi modules - # Please keep in sync with lib_pypy/pypy_tools/build_cffi_imports.py! - # (NB: we build CFFI modules first to avoid error log when importing - # build_cffi_imports). - cffi_targets=( - pypy_util blake2/_blake2 sha3/_sha3 ssl - audioop syslog pwdgrp resource lzma posixshmem - ) - use gdbm && cffi_targets+=( gdbm ) - use ncurses && cffi_targets+=( curses ) - use sqlite && cffi_targets+=( sqlite3 ) - use tk && cffi_targets+=( tkinter/tklib ) - - local t - # all modules except tkinter output to . - # tkinter outputs to the correct dir ... - cd lib_pypy || die - for t in "${cffi_targets[@]}"; do - # tkinter doesn't work via -m - ../pypy${PYVER}-c "_${t}_build.py" || die "Failed to build CFFI bindings for ${t}" - done - - # Verify that CFFI module list is up-to-date - local expected_cksum=63d4659f - local local_cksum=$( - ../pypy${PYVER}-c - <<-EOF - import binascii - import json - from pypy_tools.build_cffi_imports import cffi_build_scripts as x - print("%08x" % (binascii.crc32(json.dumps(x).encode()),)) - EOF - ) - if [[ ${local_cksum} != ${expected_cksum} ]]; then - die "Please verify cffi_targets and update checksum to ${local_cksum}" - fi - - # Cleanup temporary objects - find -name "*_cffi.[co]" -delete || die - find -type d -empty -delete || die -} - -src_install() { - einfo "Installing PyPy ..." - dodir /usr/bin - dosym pypy${PYVER}-c-${PYPY_PV} /usr/bin/pypy${PYVER} - dosym pypy${PYVER} /usr/bin/pypy3 - insinto /usr/lib/pypy${PYVER} - # preserve mtimes to avoid obsoleting caches - insopts -p - doins -r lib-python/3/. lib_pypy/. - insinto /usr/include - doins -r include/pypy${PYVER} - - # replace copied headers with symlinks - for x in "${BROOT}"/usr/include/pypy${PYVER}/${PYPY_PV}/*; do - dosym "${PYPY_PV}/${x##*/}" "/usr/include/pypy${PYVER}/${x##*/}" - done - - dodoc README.rst - - local dest=/usr/lib/pypy${PYVER} - rm -r "${ED}${dest}"/ensurepip/_bundled || die - if ! use ensurepip; then - rm -r "${ED}${dest}"/ensurepip || die - fi - if ! use gdbm; then - rm -r "${ED}${dest}"/_gdbm* || die - fi - if ! use sqlite; then - rm -r "${ED}${dest}"/sqlite3 \ - "${ED}${dest}"/_sqlite3* \ - "${ED}${dest}"/test/test_sqlite.py || die - fi - if ! use tk; then - rm -r "${ED}${dest}"/{idlelib,tkinter} \ - "${ED}${dest}"/_tkinter \ - "${ED}${dest}"/test/test_{tcl,tk,ttk*}.py || die - fi - dosym ../python/EXTERNALLY-MANAGED "${dest}/EXTERNALLY-MANAGED" - - local -x EPYTHON=pypy3 - local -x PYTHON=${ED}/usr/bin/pypy${PYVER}-c-${PYPY_PV} - # temporarily copy to build tree to facilitate module builds - cp -p "${BROOT}/usr/bin/pypy${PYVER}-c-${PYPY_PV}" "${PYTHON}" || die - - einfo "Byte-compiling Python standard library..." - python_optimize "${ED}${dest}" - - # remove to avoid collisions - rm "${PYTHON}" || die -} diff --git a/dev-python/pypy3/pypy3-7.3.12_rc2-r100.ebuild b/dev-python/pypy3/pypy3-7.3.12_rc2-r100.ebuild deleted file mode 100644 index 07644e35c8be..000000000000 --- a/dev-python/pypy3/pypy3-7.3.12_rc2-r100.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYVER=3.10 -DESCRIPTION="A fast, compliant alternative implementation of the Python (${PYVER}) language" -HOMEPAGE=" - https://www.pypy.org/ - https://foss.heptapod.net/pypy/pypy/ -" -S=${WORKDIR} - -LICENSE="MIT" -SLOT="0/pypy310-pp73-384" -KEYWORDS="" -IUSE="+gdbm ncurses sqlite tk" - -RDEPEND=" - =dev-python/pypy3_10-${PV}*:${SLOT}[gdbm?,ncurses?,sqlite?,tk?] -" - -src_install() { - dodir /usr/bin - dosym pypy${PYVER} /usr/bin/pypy3 -} diff --git a/dev-python/pypy3/pypy3-7.3.12_rc2.ebuild b/dev-python/pypy3/pypy3-7.3.12_rc2.ebuild deleted file mode 100644 index 974f09d809f6..000000000000 --- a/dev-python/pypy3/pypy3-7.3.12_rc2.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYVER=3.9 -DESCRIPTION="A fast, compliant alternative implementation of the Python (${PYVER}) language" -HOMEPAGE=" - https://www.pypy.org/ - https://foss.heptapod.net/pypy/pypy/ -" -S=${WORKDIR} - -LICENSE="MIT" -SLOT="0/pypy39-pp73-336" -KEYWORDS="" -IUSE="+gdbm ncurses sqlite tk" - -RDEPEND=" - =dev-python/pypy3_9-${PV}*:${SLOT}[gdbm?,ncurses?,sqlite?,tk?] -" - -src_install() { - dodir /usr/bin - dosym pypy${PYVER} /usr/bin/pypy3 -} |