commit: bef29fc717e8e5fc51b702785ed92a812d9d4fb7 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Wed Oct 23 08:23:50 2024 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Wed Oct 23 08:23:57 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bef29fc7
dev-python/pypy3_9-exe: Remove last-rited pkg Closes: https://bugs.gentoo.org/939951 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/pypy3_9-exe/Manifest | 2 - dev-python/pypy3_9-exe/metadata.xml | 16 --- dev-python/pypy3_9-exe/pypy3_9-exe-7.3.16.ebuild | 132 ----------------------- profiles/package.mask | 6 -- 4 files changed, 156 deletions(-) diff --git a/dev-python/pypy3_9-exe/Manifest b/dev-python/pypy3_9-exe/Manifest deleted file mode 100644 index 615238c4ba6a..000000000000 --- a/dev-python/pypy3_9-exe/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST pypy3.9-gentoo-patches-7.3.16.tar.xz 5764 BLAKE2B 094740bc594bc63648bba997e2a8a8eddd857e6f63594fc3d5f3bca9e74bce101ab56ddf59afd75d62e91c17d89271d7f8b52da6b19adf480dd9fab9f0c6dc2c SHA512 efbe3ac941be19b270336e7b31999114d4334cfd3cc0ab5f2499e41825a51bc7c005e10302114813741772ae0412466c000ab33b64f01d639d5689460f8befcb -DIST pypy3.9-v7.3.16-src.tar.bz2 23686849 BLAKE2B 736b173d8bd6b19785e64827d289feb39e30e93caaef3071a5185cc5cbaab4aed23b9da89e34a464dad0c0d5142db9dc238a1dd221aea299f95bea2e47299a81 SHA512 bd13cddb0b4cab4e200d2eafd8239c76209a49f8e847193c5ed0fe446ca46271446fc762cafd2aa8f410d022bc65abcd48ba7148502b70b901565e187058310d diff --git a/dev-python/pypy3_9-exe/metadata.xml b/dev-python/pypy3_9-exe/metadata.xml deleted file mode 100644 index 3f2aeb55aa5e..000000000000 --- a/dev-python/pypy3_9-exe/metadata.xml +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>[email protected]</email> - <name>Python</name> - </maintainer> - <upstream> - <remote-id type="github">pypy/pypy</remote-id> - </upstream> - <use> - <flag name="low-memory">Build using PyPy with the engine configured towards low memory footprint. - This makes it possible to build PyPy using ~3.5G of RAM on amd64 and ~half of that on x86, - at the cost of lengthened build time.</flag> - </use> -</pkgmetadata> diff --git a/dev-python/pypy3_9-exe/pypy3_9-exe-7.3.16.ebuild b/dev-python/pypy3_9-exe/pypy3_9-exe-7.3.16.ebuild deleted file mode 100644 index b75e5d8f5409..000000000000 --- a/dev-python/pypy3_9-exe/pypy3_9-exe-7.3.16.ebuild +++ /dev/null @@ -1,132 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit check-reqs pax-utils toolchain-funcs - -PYPY_PV=${PV%_p*} -PYVER=3.9 -MY_P="pypy${PYVER}-v${PYPY_PV/_}" -PATCHSET="pypy${PYVER}-gentoo-patches-${PV/_}" - -DESCRIPTION="PyPy3.9 executable (build from source)" -HOMEPAGE=" - https://www.pypy.org/ - https://github.com/pypy/pypy/ -" -SRC_URI=" - https://downloads.python.org/pypy/${MY_P}-src.tar.bz2 - https://buildbot.pypy.org/pypy/${MY_P}-src.tar.bz2 - https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz -" -S="${WORKDIR}/${MY_P}-src" - -LICENSE="MIT" -SLOT="${PYPY_PV}" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux" -IUSE="+jit low-memory ncurses cpu_flags_x86_sse2" - -RDEPEND=" - app-arch/bzip2:0= - dev-libs/expat:0= - dev-libs/libffi:0= - >=sys-libs/zlib-1.1.3:0= - virtual/libintl:0= - ncurses? ( sys-libs/ncurses:0= ) - !dev-python/pypy3_9-exe-bin:${SLOT} -" -DEPEND=" - ${RDEPEND} -" -BDEPEND=" - dev-python/pypy - virtual/pkgconfig -" - -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/profiles/package.mask b/profiles/package.mask index 141c520d2806..24d6c6a4066d 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -230,12 +230,6 @@ dev-util/biew # Beware that if you upgrade to it, you may need to reset your keyrings. >=app-crypt/gnupg-2.5 -# Michał Górny <[email protected]> (2024-09-21) -# Discontinued upstream. Since 7.3.17, only 2.7 and 3.10 are released. -# Vulnerable. -# Removal on 2024-10-21. Bug #939951. -dev-python/pypy3_9-exe - # Eli Schwartz <[email protected]> (2024-09-19) # Breaks parallel builds with fatal compiler errors. # Bug #939798, #939875.
