[gentoo-commits] repo/gentoo:master commit in: dev-python/pypy3_9-exe-bin/

2024-04-24 Thread Michał Górny
commit: 79518e18fe26268aa6ff50c922f3a0dcc46e7c04
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Apr 25 03:37:07 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Apr 25 03:37:07 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79518e18

dev-python/pypy3_9-exe-bin: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pypy3_9-exe-bin/Manifest|  8 --
 .../pypy3_9-exe-bin/pypy3_9-exe-bin-7.3.15.ebuild  | 85 --
 2 files changed, 93 deletions(-)

diff --git a/dev-python/pypy3_9-exe-bin/Manifest 
b/dev-python/pypy3_9-exe-bin/Manifest
index 2bef3092572c..f5c0867beee2 100644
--- a/dev-python/pypy3_9-exe-bin/Manifest
+++ b/dev-python/pypy3_9-exe-bin/Manifest
@@ -1,11 +1,3 @@
-DIST pypy3_9-exe-7.3.15-1.amd64-musl.gpkg.tar 11847680 BLAKE2B 
6e2e13c6ef1faaa9ba451727a64a1749f3e2ab4645d4206420c6ee2c186438817f2a77c9a7939d485a4f04fd5b1f39d0886a42c32969e9869b44ca16fbf60be9
 SHA512 
fd757c68631381400901ecc2f18299eba701baa5086fb0c77ac2fbedbd7f188061c16ec0e4c84c8864ed5d235e4f98d8c5f9f26843f9acc881e2fa661d3e0131
-DIST pypy3_9-exe-7.3.15-1.amd64.gpkg.tar 11857920 BLAKE2B 
052bb16e6c983ac32a860b5de1532fca6158510364ddc52f9992b1c69b948f6d6e7ba32fbaaba86597fa73db5f09a19c3e6a0208f624c9d3bbc28c43b056c886
 SHA512 
336f484699f89e5e3fa8bab7c8468d4e1a6cf957f947a727858b59cd9b372c94a07f5304b1f367b0bd3cd443d688fbfbe17fd23e6939988d0270c4be6df9f7a9
-DIST pypy3_9-exe-7.3.15-1.arm64-musl.gpkg.tar 9943040 BLAKE2B 
701257e473f784e367a9e984dfe6af7d50ee42b214e8ebf0aa4e761102ef83b48c88ad69ea601c52b17333527bf45f908754da7e128659bd79b1849a4041612a
 SHA512 
0bb71f3acd90f3a45dd802d1108da13b0b4c41ecbf212fa5aec22633daab85b8420c37a58bfc52dfaaa2f577ea5885df588750e634a51e165bf7fc933e5de4cb
-DIST pypy3_9-exe-7.3.15-1.arm64.gpkg.tar 9973760 BLAKE2B 
fdacf63806aa759c7ffd3a574d1f6d8a52448d14461414e5d6aa853097d49e6bca18202af71370f340de8b8ec126b1d75c40b585b9a1d1526400236c6a050de5
 SHA512 
0cc8c1b96b15f4540ecbef149507bbc9f5e54258f6c7887f60c4441bf77f5dad3476e10c110d3f9c483a2abad90d513062791235810f9353d294c0c61c1c03e5
-DIST pypy3_9-exe-7.3.15-1.ppc64le-musl.gpkg.tar 6635520 BLAKE2B 
89974e2537e9c2f12b0e7f0b2a92b1140ec0351c28b8b72f41b97bc4ea201b8a2f1d7bd2f71d9e47ab5775ee623167242799f051ba43421a524a897d837984d6
 SHA512 
c7ec389bb6a097ad023cc962989e18f45f9851e599b979c486d487048517e2d02655e90f74328f39d765d421eae1e338a73a31bf4e9c9e269941905bc9f9acec
-DIST pypy3_9-exe-7.3.15-1.ppc64le.gpkg.tar 10301440 BLAKE2B 
0a1a6f625a0929a65bfe01b333143d1ebe6c6c89a9a9bc1ec0c2a9274f897c56e8e080fecfbf6066d0b033d84582c7d71fbf03cb6310c01393e7f28d2e4aa2c1
 SHA512 
256fa79652a070747a865728f7e53e5b6d6ee4f8cdaca7cbbcf310cec883f8ed9606756bd1cb3d628fa7ba8e55f9fb7f2fa497e93c82567ff285c8ae913a3da2
-DIST pypy3_9-exe-7.3.15-1.x86-musl.gpkg.tar 8919040 BLAKE2B 
58f523aa9082284adc5b4fb131023adbeba411654501e71ba286abe5e0501d070180a44236c57f39bc310ad35f5734f314139b9701c4e48ae304674eeae5ec4e
 SHA512 
9dda550b304e73453e5eea8a5243ac2796576cb3e70ba770c8096d3077c99a0663d6a5d3f2ade3e88b6e814f994e71d5b56dfe779c3d2fc51242c01f8602bcb2
-DIST pypy3_9-exe-7.3.15-1.x86.gpkg.tar 8898560 BLAKE2B 
c8d3fcb749e5317e5bdd37981318cdea6ed801fccfdcf19dbc2c40457ac32e2d02e8ec500f25149172daea91decf79e62f7fd410512cf9d3e63c31f1d7c323b8
 SHA512 
1a547f42b739095658d96e1c8432b43f49913e0053f7ec596b2f409d6428c6291f741b56addcf88dac97f053089ca37c66b46a44b4284b00dc37b1918a5fdeff
 DIST pypy3_9-exe-7.3.16-1.amd64-musl.gpkg.tar 11939840 BLAKE2B 
7467d16c97696cf2c75f2840a0e898c56325f4766ffdd5c2193ca3908a7fce243ee9354d03d75b410d3b7290ebb5be6365bca892cebecf3f7c76053c33883c03
 SHA512 
ccac91b61018eac95cb394e8bd696ab72295cc7d607fc183d95ffde630ef01823a46f1a5ab6043eb88beacd54bbc368894ad038b40e8c3b19c66beff8a5d568e
 DIST pypy3_9-exe-7.3.16-1.amd64.gpkg.tar 11950080 BLAKE2B 
92b1ad6e13dfb221258452c684d95ee30a673c964e502cd1e3b9358220280eff16f2e070469e6a4a2167cb907a4aafb537a56a9ab623595bbaa003f6ae5264e8
 SHA512 
b0716129d93e450c68710971ab4251e7955e5fb16dc3edf0fdea5ef7ad0babc3243e84398754a9afd85e9f463a6d0a9427f8ca8867006c7c5354adad023da051
 DIST pypy3_9-exe-7.3.16-1.arm64-musl.gpkg.tar 10076160 BLAKE2B 
a7423e9708f3d3b300b8556ae985843539bf8f13974645073df09107e27ff4d2fb62b21f345966ba2356ddf3e45d4172350393875d0948ca083e9dc4c46adffa
 SHA512 
49549b5b87360be6f09b3ad41a31cd60367f4cced75dc0b32f8267d0a1da4e04efd258ca593304b4dc998e8627e7b81fd6e15110d44ab101cd9108fd4e14f2c0

diff --git a/dev-python/pypy3_9-exe-bin/pypy3_9-exe-bin-7.3.15.ebuild 
b/dev-python/pypy3_9-exe-bin/pypy3_9-exe-bin-7.3.15.ebuild
deleted file mode 100644
index b4d8e231b125..
--- a/dev-python/pypy3_9-exe-bin/pypy3_9-exe-bin-7.3.15.ebuild
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit pax-utils unpacker
-
-PYVER=3.9
-MY_P=pypy3_9-exe-${PV}-1
-
-DESCRIPTION="PyPy3.9 executable (pre-built version)"
-HOMEPAGE="
-   https://www.pypy.org/
-   

[gentoo-commits] repo/gentoo:master commit in: dev-python/pypy3_9-exe/

2024-04-24 Thread Michał Górny
commit: 140730035c10d63979293bbca348fc0bd8125d81
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Apr 25 03:37:00 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Apr 25 03:37:00 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14073003

dev-python/pypy3_9-exe: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pypy3_9-exe/Manifest  |   2 -
 dev-python/pypy3_9-exe/pypy3_9-exe-7.3.15.ebuild | 132 ---
 2 files changed, 134 deletions(-)

diff --git a/dev-python/pypy3_9-exe/Manifest b/dev-python/pypy3_9-exe/Manifest
index 9901e21f155e..615238c4ba6a 100644
--- a/dev-python/pypy3_9-exe/Manifest
+++ b/dev-python/pypy3_9-exe/Manifest
@@ -1,4 +1,2 @@
-DIST pypy3.9-gentoo-patches-7.3.15.tar.xz 5800 BLAKE2B 
e3466eb528c7cfaa8a189552041852d29bbacb45e08dc967deec1d8486107725ab2b2b1e65c98307983ff1f3ad038d3e54bf84eaadc32060185661c8023dea06
 SHA512 
c834433bfaaa1cd081fb71f9e122810b66fbd0a52f8473b6ec02a8615f0b0328da51ca1e3f0f209d325d9884876b634dbd1ec202f428620044fe5e60b4ce910a
 DIST pypy3.9-gentoo-patches-7.3.16.tar.xz 5764 BLAKE2B 
094740bc594bc63648bba997e2a8a8eddd857e6f63594fc3d5f3bca9e74bce101ab56ddf59afd75d62e91c17d89271d7f8b52da6b19adf480dd9fab9f0c6dc2c
 SHA512 
efbe3ac941be19b270336e7b31999114d4334cfd3cc0ab5f2499e41825a51bc7c005e10302114813741772ae0412466c000ab33b64f01d639d5689460f8befcb
-DIST pypy3.9-v7.3.15-src.tar.bz2 24694333 BLAKE2B 
151c3c8b828c7a35cfd63dd73b8683c3fe5529c5f6df7cc628d2967e5c61e16490b8663efe838fc6efd9f0b4a08fde8c9315e2f0a471bb62a2395055f2f130c6
 SHA512 
64faca74c507ef3e8dd2df34ad81874c24bc336e79ecf5343c21adebdea60efafe6ad38bdbf15bc2a677980d7db2c2c0affa04beb7e7e1b739d85e17f333
 DIST pypy3.9-v7.3.16-src.tar.bz2 23686849 BLAKE2B 
736b173d8bd6b19785e64827d289feb39e30e93caaef3071a5185cc5cbaab4aed23b9da89e34a464dad0c0d5142db9dc238a1dd221aea299f95bea2e47299a81
 SHA512 
bd13cddb0b4cab4e200d2eafd8239c76209a49f8e847193c5ed0fe446ca46271446fc762cafd2aa8f410d022bc65abcd48ba7148502b70b901565e187058310d

diff --git a/dev-python/pypy3_9-exe/pypy3_9-exe-7.3.15.ebuild 
b/dev-python/pypy3_9-exe/pypy3_9-exe-7.3.15.ebuild
deleted file mode 100644
index 9cff29fef442..
--- a/dev-python/pypy3_9-exe/pypy3_9-exe-7.3.15.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-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)
-  

[gentoo-commits] repo/gentoo:master commit in: dev-python/pypy3_9/

2024-04-24 Thread Michał Górny
commit: bc9c495bb9673ac61bafdf3e2140c8a989cfb5c6
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Apr 25 03:36:54 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Apr 25 03:36:54 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc9c495b

dev-python/pypy3_9: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pypy3_9/Manifest  |   2 -
 dev-python/pypy3_9/pypy3_9-7.3.15.ebuild | 211 ---
 2 files changed, 213 deletions(-)

diff --git a/dev-python/pypy3_9/Manifest b/dev-python/pypy3_9/Manifest
index 9901e21f155e..615238c4ba6a 100644
--- a/dev-python/pypy3_9/Manifest
+++ b/dev-python/pypy3_9/Manifest
@@ -1,4 +1,2 @@
-DIST pypy3.9-gentoo-patches-7.3.15.tar.xz 5800 BLAKE2B 
e3466eb528c7cfaa8a189552041852d29bbacb45e08dc967deec1d8486107725ab2b2b1e65c98307983ff1f3ad038d3e54bf84eaadc32060185661c8023dea06
 SHA512 
c834433bfaaa1cd081fb71f9e122810b66fbd0a52f8473b6ec02a8615f0b0328da51ca1e3f0f209d325d9884876b634dbd1ec202f428620044fe5e60b4ce910a
 DIST pypy3.9-gentoo-patches-7.3.16.tar.xz 5764 BLAKE2B 
094740bc594bc63648bba997e2a8a8eddd857e6f63594fc3d5f3bca9e74bce101ab56ddf59afd75d62e91c17d89271d7f8b52da6b19adf480dd9fab9f0c6dc2c
 SHA512 
efbe3ac941be19b270336e7b31999114d4334cfd3cc0ab5f2499e41825a51bc7c005e10302114813741772ae0412466c000ab33b64f01d639d5689460f8befcb
-DIST pypy3.9-v7.3.15-src.tar.bz2 24694333 BLAKE2B 
151c3c8b828c7a35cfd63dd73b8683c3fe5529c5f6df7cc628d2967e5c61e16490b8663efe838fc6efd9f0b4a08fde8c9315e2f0a471bb62a2395055f2f130c6
 SHA512 
64faca74c507ef3e8dd2df34ad81874c24bc336e79ecf5343c21adebdea60efafe6ad38bdbf15bc2a677980d7db2c2c0affa04beb7e7e1b739d85e17f333
 DIST pypy3.9-v7.3.16-src.tar.bz2 23686849 BLAKE2B 
736b173d8bd6b19785e64827d289feb39e30e93caaef3071a5185cc5cbaab4aed23b9da89e34a464dad0c0d5142db9dc238a1dd221aea299f95bea2e47299a81
 SHA512 
bd13cddb0b4cab4e200d2eafd8239c76209a49f8e847193c5ed0fe446ca46271446fc762cafd2aa8f410d022bc65abcd48ba7148502b70b901565e187058310d

diff --git a/dev-python/pypy3_9/pypy3_9-7.3.15.ebuild 
b/dev-python/pypy3_9/pypy3_9-7.3.15.ebuild
deleted file mode 100644
index cd6b3d3e3ed8..
--- a/dev-python/pypy3_9/pypy3_9-7.3.15.ebuild
+++ /dev/null
@@ -1,211 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit multiprocessing pax-utils toolchain-funcs
-
-PYPY_PV=${PV%_p*}
-PYVER=3.9
-MY_P="pypy${PYVER}-v${PYPY_PV/_}"
-PATCHSET="pypy${PYVER}-gentoo-patches-${PV/_rc/rc}"
-
-DESCRIPTION="A fast, compliant alternative implementation of the Python 
(${PYVER}) language"
-HOMEPAGE="
-   https://www.pypy.org/
-   https://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"
-# pypy3 -c 'import sysconfig; print(sysconfig.get_config_var("SOABI"))'
-# also check pypy/interpreter/pycode.py -> pypy_incremental_magic
-SLOT="0/pypy39-pp73-336"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="+ensurepip gdbm +jit ncurses sqlite tk"
-# many tests are failing upstream
-# see https://buildbot.pypy.org/summary?branch=py${PYVER}
-RESTRICT="test"
-
-RDEPEND="
-   || (
-   >=dev-python/${PN}-exe-${PYPY_PV}:${PYPY_PV}[bzip2(+),ncurses?]
-   >=dev-python/${PN}-exe-bin-${PYPY_PV}:${PYPY_PV}
-   )
-   dev-lang/python-exec[python_targets_pypy3(-)]
-   dev-libs/openssl:0=
-   dev-python/gentoo-common
-   ensurepip? ( dev-python/ensurepip-wheels )
-   gdbm? ( sys-libs/gdbm:0= )
-   sqlite? ( dev-db/sqlite:3= )
-   tk? (
-   dev-lang/tk:0=
-   dev-tcltk/tix:0=
-   )
-"
-DEPEND="
-   ${RDEPEND}
-"
-
-src_prepare() {
-   local PATCHES=(
-   "${WORKDIR}/${PATCHSET}"
-   )
-   default
-}
-
-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 = 

[gentoo-commits] repo/gentoo:master commit in: dev-python/pypy3_9-exe-bin/

2024-04-24 Thread Michał Górny
commit: 0a2eadaeff903721e10df5f24e9888150cfef29e
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Apr 24 15:05:58 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Apr 24 15:08:29 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a2eadae

dev-python/pypy3_9-exe-bin: Bump to 7.3.16

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pypy3_9-exe-bin/Manifest|  8 ++
 .../pypy3_9-exe-bin/pypy3_9-exe-bin-7.3.16.ebuild  | 85 ++
 2 files changed, 93 insertions(+)

diff --git a/dev-python/pypy3_9-exe-bin/Manifest 
b/dev-python/pypy3_9-exe-bin/Manifest
index 4f56a7eaa2ca..2bef3092572c 100644
--- a/dev-python/pypy3_9-exe-bin/Manifest
+++ b/dev-python/pypy3_9-exe-bin/Manifest
@@ -6,3 +6,11 @@ DIST pypy3_9-exe-7.3.15-1.ppc64le-musl.gpkg.tar 6635520 
BLAKE2B 89974e2537e9c2f1
 DIST pypy3_9-exe-7.3.15-1.ppc64le.gpkg.tar 10301440 BLAKE2B 
0a1a6f625a0929a65bfe01b333143d1ebe6c6c89a9a9bc1ec0c2a9274f897c56e8e080fecfbf6066d0b033d84582c7d71fbf03cb6310c01393e7f28d2e4aa2c1
 SHA512 
256fa79652a070747a865728f7e53e5b6d6ee4f8cdaca7cbbcf310cec883f8ed9606756bd1cb3d628fa7ba8e55f9fb7f2fa497e93c82567ff285c8ae913a3da2
 DIST pypy3_9-exe-7.3.15-1.x86-musl.gpkg.tar 8919040 BLAKE2B 
58f523aa9082284adc5b4fb131023adbeba411654501e71ba286abe5e0501d070180a44236c57f39bc310ad35f5734f314139b9701c4e48ae304674eeae5ec4e
 SHA512 
9dda550b304e73453e5eea8a5243ac2796576cb3e70ba770c8096d3077c99a0663d6a5d3f2ade3e88b6e814f994e71d5b56dfe779c3d2fc51242c01f8602bcb2
 DIST pypy3_9-exe-7.3.15-1.x86.gpkg.tar 8898560 BLAKE2B 
c8d3fcb749e5317e5bdd37981318cdea6ed801fccfdcf19dbc2c40457ac32e2d02e8ec500f25149172daea91decf79e62f7fd410512cf9d3e63c31f1d7c323b8
 SHA512 
1a547f42b739095658d96e1c8432b43f49913e0053f7ec596b2f409d6428c6291f741b56addcf88dac97f053089ca37c66b46a44b4284b00dc37b1918a5fdeff
+DIST pypy3_9-exe-7.3.16-1.amd64-musl.gpkg.tar 11939840 BLAKE2B 
7467d16c97696cf2c75f2840a0e898c56325f4766ffdd5c2193ca3908a7fce243ee9354d03d75b410d3b7290ebb5be6365bca892cebecf3f7c76053c33883c03
 SHA512 
ccac91b61018eac95cb394e8bd696ab72295cc7d607fc183d95ffde630ef01823a46f1a5ab6043eb88beacd54bbc368894ad038b40e8c3b19c66beff8a5d568e
+DIST pypy3_9-exe-7.3.16-1.amd64.gpkg.tar 11950080 BLAKE2B 
92b1ad6e13dfb221258452c684d95ee30a673c964e502cd1e3b9358220280eff16f2e070469e6a4a2167cb907a4aafb537a56a9ab623595bbaa003f6ae5264e8
 SHA512 
b0716129d93e450c68710971ab4251e7955e5fb16dc3edf0fdea5ef7ad0babc3243e84398754a9afd85e9f463a6d0a9427f8ca8867006c7c5354adad023da051
+DIST pypy3_9-exe-7.3.16-1.arm64-musl.gpkg.tar 10076160 BLAKE2B 
a7423e9708f3d3b300b8556ae985843539bf8f13974645073df09107e27ff4d2fb62b21f345966ba2356ddf3e45d4172350393875d0948ca083e9dc4c46adffa
 SHA512 
49549b5b87360be6f09b3ad41a31cd60367f4cced75dc0b32f8267d0a1da4e04efd258ca593304b4dc998e8627e7b81fd6e15110d44ab101cd9108fd4e14f2c0
+DIST pypy3_9-exe-7.3.16-1.arm64.gpkg.tar 10035200 BLAKE2B 
39830cf926e990cf2e70baa97e5d486ae171287a4a459501b41fb3849e55cf5cacc07d53054d8470f8ea0265a0b9b8af9a451ee97dc717d7afc70fee0c470578
 SHA512 
1e93d709dd452b5e4d2b996419ea24450fb96b02e88dd0317f83539f89904ace54defa23888c6eb777237143b7cf1caef6d502013d06cf8ff5365c73cb38
+DIST pypy3_9-exe-7.3.16-1.ppc64le-musl.gpkg.tar 6676480 BLAKE2B 
0822479c1ea9b51ff6996cd9b5484506e2419977fa23a156d72b84f3d7e4d6475f8f1638954e9de98bf8c07c1c4c8e22dd06a7d501940d4cbc5a60d91049a055
 SHA512 
662284692e9b253c3f43244d4ffc2d837f2dd5f3324b0cf6b035104a2ecdeca6e678767da53f638ed59b8d84d1b99a63ddc8740c943eb16f5714f2bed5ef9f91
+DIST pypy3_9-exe-7.3.16-1.ppc64le.gpkg.tar 10229760 BLAKE2B 
8062194aa43492a9d8c0762ae0c76db0f1f5c74250c27da9eec052c1822548ad93a69f729d6130be969e50c17b6c601dcee8a11e9a2721390f53f8bf248f002f
 SHA512 
4e78792c8bc62e56cd5e4e3ff6824d477c48d2aa79f6efb6402c59c05fd1a8b572e8df6e5c269d4dc5ecbe2118db12dea1ba8c8f7970ce63f34a7a005e1d6280
+DIST pypy3_9-exe-7.3.16-1.x86-musl.gpkg.tar 8949760 BLAKE2B 
75f1713623ee220ad8bb5fd74cc0c5647cdb753a94c927a0030a102e1d721c8a4195248fe8ba4c833657fccdeeb74557cae389f11d5faf5b31166dea5afbb532
 SHA512 
9ad3c42756a6d23e1af0c9241da8989b6af90baf88062148b35934a6873967d41577857d845c07655243c4a840a501f60ba690326f593edfad2a5207adc0aefd
+DIST pypy3_9-exe-7.3.16-1.x86.gpkg.tar 8970240 BLAKE2B 
bafdc25fbf3baaff5a2dc7867edef2f90d17045e51a8eed212fd00e22643aebc492d972f60867d221b3fdf4c3502c387d95f123ba6d34641ccbbf0e606ba0d89
 SHA512 
bb6f57982c01c6cb372afe7bebef2e1c240e3ef67d75c7ff36d999b7ddc64c12b75a5b0fad528a6dd05a4680e44dafdaa5f1d6534f7ba15a3f77629d02f30310

diff --git a/dev-python/pypy3_9-exe-bin/pypy3_9-exe-bin-7.3.16.ebuild 
b/dev-python/pypy3_9-exe-bin/pypy3_9-exe-bin-7.3.16.ebuild
new file mode 100644
index ..b4d8e231b125
--- /dev/null
+++ b/dev-python/pypy3_9-exe-bin/pypy3_9-exe-bin-7.3.16.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit pax-utils unpacker
+
+PYVER=3.9
+MY_P=pypy3_9-exe-${PV}-1
+
+DESCRIPTION="PyPy3.9 executable (pre-built 

[gentoo-commits] repo/gentoo:master commit in: dev-python/pypy3_9-exe/

2024-04-24 Thread Michał Górny
commit: b0a59314b76f45026e6d21d0fb7404e4d5d70c7f
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Apr 24 11:14:22 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Apr 24 15:08:22 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0a59314

dev-python/pypy3_9-exe: Bump to 7.3.16

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pypy3_9-exe/Manifest  |   2 +
 dev-python/pypy3_9-exe/pypy3_9-exe-7.3.16.ebuild | 132 +++
 2 files changed, 134 insertions(+)

diff --git a/dev-python/pypy3_9-exe/Manifest b/dev-python/pypy3_9-exe/Manifest
index 3e201830e36d..9901e21f155e 100644
--- a/dev-python/pypy3_9-exe/Manifest
+++ b/dev-python/pypy3_9-exe/Manifest
@@ -1,2 +1,4 @@
 DIST pypy3.9-gentoo-patches-7.3.15.tar.xz 5800 BLAKE2B 
e3466eb528c7cfaa8a189552041852d29bbacb45e08dc967deec1d8486107725ab2b2b1e65c98307983ff1f3ad038d3e54bf84eaadc32060185661c8023dea06
 SHA512 
c834433bfaaa1cd081fb71f9e122810b66fbd0a52f8473b6ec02a8615f0b0328da51ca1e3f0f209d325d9884876b634dbd1ec202f428620044fe5e60b4ce910a
+DIST pypy3.9-gentoo-patches-7.3.16.tar.xz 5764 BLAKE2B 
094740bc594bc63648bba997e2a8a8eddd857e6f63594fc3d5f3bca9e74bce101ab56ddf59afd75d62e91c17d89271d7f8b52da6b19adf480dd9fab9f0c6dc2c
 SHA512 
efbe3ac941be19b270336e7b31999114d4334cfd3cc0ab5f2499e41825a51bc7c005e10302114813741772ae0412466c000ab33b64f01d639d5689460f8befcb
 DIST pypy3.9-v7.3.15-src.tar.bz2 24694333 BLAKE2B 
151c3c8b828c7a35cfd63dd73b8683c3fe5529c5f6df7cc628d2967e5c61e16490b8663efe838fc6efd9f0b4a08fde8c9315e2f0a471bb62a2395055f2f130c6
 SHA512 
64faca74c507ef3e8dd2df34ad81874c24bc336e79ecf5343c21adebdea60efafe6ad38bdbf15bc2a677980d7db2c2c0affa04beb7e7e1b739d85e17f333
+DIST pypy3.9-v7.3.16-src.tar.bz2 23686849 BLAKE2B 
736b173d8bd6b19785e64827d289feb39e30e93caaef3071a5185cc5cbaab4aed23b9da89e34a464dad0c0d5142db9dc238a1dd221aea299f95bea2e47299a81
 SHA512 
bd13cddb0b4cab4e200d2eafd8239c76209a49f8e847193c5ed0fe446ca46271446fc762cafd2aa8f410d022bc65abcd48ba7148502b70b901565e187058310d

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
new file mode 100644
index ..b75e5d8f5409
--- /dev/null
+++ b/dev-python/pypy3_9-exe/pypy3_9-exe-7.3.16.ebuild
@@ -0,0 +1,132 @@
+# 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)

[gentoo-commits] repo/gentoo:master commit in: dev-python/pypy3_9/

2024-04-24 Thread Michał Górny
commit: e0ebee16da8a2ce090c447a8b0369504c05d9f73
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Apr 24 11:14:42 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Apr 24 15:08:23 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0ebee16

dev-python/pypy3_9: Bump to 7.3.16

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pypy3_9/Manifest  |   2 +
 dev-python/pypy3_9/pypy3_9-7.3.16.ebuild | 211 +++
 2 files changed, 213 insertions(+)

diff --git a/dev-python/pypy3_9/Manifest b/dev-python/pypy3_9/Manifest
index 3e201830e36d..9901e21f155e 100644
--- a/dev-python/pypy3_9/Manifest
+++ b/dev-python/pypy3_9/Manifest
@@ -1,2 +1,4 @@
 DIST pypy3.9-gentoo-patches-7.3.15.tar.xz 5800 BLAKE2B 
e3466eb528c7cfaa8a189552041852d29bbacb45e08dc967deec1d8486107725ab2b2b1e65c98307983ff1f3ad038d3e54bf84eaadc32060185661c8023dea06
 SHA512 
c834433bfaaa1cd081fb71f9e122810b66fbd0a52f8473b6ec02a8615f0b0328da51ca1e3f0f209d325d9884876b634dbd1ec202f428620044fe5e60b4ce910a
+DIST pypy3.9-gentoo-patches-7.3.16.tar.xz 5764 BLAKE2B 
094740bc594bc63648bba997e2a8a8eddd857e6f63594fc3d5f3bca9e74bce101ab56ddf59afd75d62e91c17d89271d7f8b52da6b19adf480dd9fab9f0c6dc2c
 SHA512 
efbe3ac941be19b270336e7b31999114d4334cfd3cc0ab5f2499e41825a51bc7c005e10302114813741772ae0412466c000ab33b64f01d639d5689460f8befcb
 DIST pypy3.9-v7.3.15-src.tar.bz2 24694333 BLAKE2B 
151c3c8b828c7a35cfd63dd73b8683c3fe5529c5f6df7cc628d2967e5c61e16490b8663efe838fc6efd9f0b4a08fde8c9315e2f0a471bb62a2395055f2f130c6
 SHA512 
64faca74c507ef3e8dd2df34ad81874c24bc336e79ecf5343c21adebdea60efafe6ad38bdbf15bc2a677980d7db2c2c0affa04beb7e7e1b739d85e17f333
+DIST pypy3.9-v7.3.16-src.tar.bz2 23686849 BLAKE2B 
736b173d8bd6b19785e64827d289feb39e30e93caaef3071a5185cc5cbaab4aed23b9da89e34a464dad0c0d5142db9dc238a1dd221aea299f95bea2e47299a81
 SHA512 
bd13cddb0b4cab4e200d2eafd8239c76209a49f8e847193c5ed0fe446ca46271446fc762cafd2aa8f410d022bc65abcd48ba7148502b70b901565e187058310d

diff --git a/dev-python/pypy3_9/pypy3_9-7.3.16.ebuild 
b/dev-python/pypy3_9/pypy3_9-7.3.16.ebuild
new file mode 100644
index ..cd6b3d3e3ed8
--- /dev/null
+++ b/dev-python/pypy3_9/pypy3_9-7.3.16.ebuild
@@ -0,0 +1,211 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit multiprocessing pax-utils toolchain-funcs
+
+PYPY_PV=${PV%_p*}
+PYVER=3.9
+MY_P="pypy${PYVER}-v${PYPY_PV/_}"
+PATCHSET="pypy${PYVER}-gentoo-patches-${PV/_rc/rc}"
+
+DESCRIPTION="A fast, compliant alternative implementation of the Python 
(${PYVER}) language"
+HOMEPAGE="
+   https://www.pypy.org/
+   https://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"
+# pypy3 -c 'import sysconfig; print(sysconfig.get_config_var("SOABI"))'
+# also check pypy/interpreter/pycode.py -> pypy_incremental_magic
+SLOT="0/pypy39-pp73-336"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="+ensurepip gdbm +jit ncurses sqlite tk"
+# many tests are failing upstream
+# see https://buildbot.pypy.org/summary?branch=py${PYVER}
+RESTRICT="test"
+
+RDEPEND="
+   || (
+   >=dev-python/${PN}-exe-${PYPY_PV}:${PYPY_PV}[bzip2(+),ncurses?]
+   >=dev-python/${PN}-exe-bin-${PYPY_PV}:${PYPY_PV}
+   )
+   dev-lang/python-exec[python_targets_pypy3(-)]
+   dev-libs/openssl:0=
+   dev-python/gentoo-common
+   ensurepip? ( dev-python/ensurepip-wheels )
+   gdbm? ( sys-libs/gdbm:0= )
+   sqlite? ( dev-db/sqlite:3= )
+   tk? (
+   dev-lang/tk:0=
+   dev-tcltk/tix:0=
+   )
+"
+DEPEND="
+   ${RDEPEND}
+"
+
+src_prepare() {
+   local PATCHES=(
+   "${WORKDIR}/${PATCHSET}"
+   )
+   default
+}
+
+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 = 

[gentoo-commits] repo/gentoo:master commit in: dev-python/pypy3_9/

2024-02-03 Thread Michał Górny
commit: 9a07f030cb533a41ffb46a7ca682e94f9d5e2937
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Feb  3 14:52:54 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Feb  3 15:01:44 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a07f030

dev-python/pypy3_9: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pypy3_9/Manifest  |   2 -
 dev-python/pypy3_9/pypy3_9-7.3.14.ebuild | 211 ---
 2 files changed, 213 deletions(-)

diff --git a/dev-python/pypy3_9/Manifest b/dev-python/pypy3_9/Manifest
index 755616050e96..3e201830e36d 100644
--- a/dev-python/pypy3_9/Manifest
+++ b/dev-python/pypy3_9/Manifest
@@ -1,4 +1,2 @@
-DIST pypy3.9-gentoo-patches-7.3.14.tar.xz 5808 BLAKE2B 
92ab7e9129838ff22cc13a64fe1ffe9ffd3af45ec777bde531ce2e15b87681e17fca2f1dc037ee4798bca5a9312ca4c961ec97b0a53bf5e6dc36fd12241151c9
 SHA512 
dffd17558d5ec2625682e5476ea53a9fe273f553b94d2589628e23ac3b45c50b5bf3ba9c7d92935e477374d9220af6ed310abae1270175f091a8c5a267a4bacd
 DIST pypy3.9-gentoo-patches-7.3.15.tar.xz 5800 BLAKE2B 
e3466eb528c7cfaa8a189552041852d29bbacb45e08dc967deec1d8486107725ab2b2b1e65c98307983ff1f3ad038d3e54bf84eaadc32060185661c8023dea06
 SHA512 
c834433bfaaa1cd081fb71f9e122810b66fbd0a52f8473b6ec02a8615f0b0328da51ca1e3f0f209d325d9884876b634dbd1ec202f428620044fe5e60b4ce910a
-DIST pypy3.9-v7.3.14-src.tar.bz2 24683302 BLAKE2B 
318fe17b423ce9c5b374cbceacf480ddbad7862bd6507d74289bbc0bd8ba8cf350ad21297b1e2dab7dfe6e7f542d929259be8d57867420b8a9a59284532aa9e2
 SHA512 
77db85092ca8ce419e30b274ec001566bbd275d88e74e5a3a3d0d557b18beb5a1e98428487f338e46f64893e54bf426464d372056c37a87a2b42b36c7d0fb536
 DIST pypy3.9-v7.3.15-src.tar.bz2 24694333 BLAKE2B 
151c3c8b828c7a35cfd63dd73b8683c3fe5529c5f6df7cc628d2967e5c61e16490b8663efe838fc6efd9f0b4a08fde8c9315e2f0a471bb62a2395055f2f130c6
 SHA512 
64faca74c507ef3e8dd2df34ad81874c24bc336e79ecf5343c21adebdea60efafe6ad38bdbf15bc2a677980d7db2c2c0affa04beb7e7e1b739d85e17f333

diff --git a/dev-python/pypy3_9/pypy3_9-7.3.14.ebuild 
b/dev-python/pypy3_9/pypy3_9-7.3.14.ebuild
deleted file mode 100644
index 6a263ec2fbb4..
--- a/dev-python/pypy3_9/pypy3_9-7.3.14.ebuild
+++ /dev/null
@@ -1,211 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit multiprocessing pax-utils toolchain-funcs
-
-PYPY_PV=${PV%_p*}
-PYVER=3.9
-MY_P="pypy${PYVER}-v${PYPY_PV/_}"
-PATCHSET="pypy${PYVER}-gentoo-patches-${PV/_rc/rc}"
-
-DESCRIPTION="A fast, compliant alternative implementation of the Python 
(${PYVER}) language"
-HOMEPAGE="
-   https://www.pypy.org/
-   https://foss.heptapod.net/pypy/pypy/
-"
-SRC_URI="
-   https://buildbot.pypy.org/pypy/${MY_P}-src.tar.bz2
-   https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz
-"
-S="${WORKDIR}/${MY_P}-src"
-
-LICENSE="MIT"
-# pypy3 -c 'import sysconfig; print(sysconfig.get_config_var("SOABI"))'
-# also check pypy/interpreter/pycode.py -> pypy_incremental_magic
-SLOT="0/pypy39-pp73-336"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="+ensurepip gdbm +jit ncurses sqlite tk"
-# many tests are failing upstream
-# see https://buildbot.pypy.org/summary?branch=py${PYVER}
-RESTRICT="test"
-
-RDEPEND="
-   || (
-   >=dev-python/${PN}-exe-${PYPY_PV}:${PYPY_PV}[bzip2(+),ncurses?]
-   >=dev-python/${PN}-exe-bin-${PYPY_PV}:${PYPY_PV}
-   )
-   dev-lang/python-exec[python_targets_pypy3(-)]
-   dev-libs/openssl:0=
-   dev-python/gentoo-common
-   ensurepip? ( dev-python/ensurepip-wheels )
-   gdbm? ( sys-libs/gdbm:0= )
-   sqlite? ( dev-db/sqlite:3= )
-   tk? (
-   dev-lang/tk:0=
-   dev-tcltk/tix:0=
-   )
-   ! 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=$(

[gentoo-commits] repo/gentoo:master commit in: dev-python/pypy3_9-exe-bin/

2024-02-03 Thread Michał Górny
commit: 1d3a0e280d430b9ed4ec7032ac6ad21d001f1cd1
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Feb  3 14:53:12 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Feb  3 15:01:45 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d3a0e28

dev-python/pypy3_9-exe-bin: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pypy3_9-exe-bin/Manifest| 16 -
 .../pypy3_9-exe-bin/pypy3_9-exe-bin-7.3.13.ebuild  | 82 --
 .../pypy3_9-exe-bin/pypy3_9-exe-bin-7.3.14.ebuild  | 82 --
 3 files changed, 180 deletions(-)

diff --git a/dev-python/pypy3_9-exe-bin/Manifest 
b/dev-python/pypy3_9-exe-bin/Manifest
index c6f26aa2a384..4f56a7eaa2ca 100644
--- a/dev-python/pypy3_9-exe-bin/Manifest
+++ b/dev-python/pypy3_9-exe-bin/Manifest
@@ -1,19 +1,3 @@
-DIST pypy3_9-exe-7.3.13-1.amd64-musl.gpkg.tar 11765760 BLAKE2B 
da943b5076815132a99de6d7a4a5f7c0ddb468802fa53a9c5348ac9447562e1716c171dd0cddba6445e6e284562bf662e069444b85054a6d98b5d15c48d6a1ee
 SHA512 
a26e835001728b31128a9cb485575a179de040ac0a6f77ac7fc80520c74c902b98011433aad49834cd86ad877917b9a5ad057dee328b9e15a8a2d68054e243ac
-DIST pypy3_9-exe-7.3.13-1.amd64.gpkg.tar 11745280 BLAKE2B 
2bfeec0f00e099b1ce41436943dba305f12d39802237b9da6749c06a82f5dfab52b06286fa7cdc6314b0c48c5bacd458dd304386a16c4061d40120c2ceac8f93
 SHA512 
1dbff0d9ba0e5309e50d7d6c6d0fc043c6ddad55a2eb4d8fa4c12146c3577d8f5d3046949434c4bea03c654fe1a435133add567a1adf8bfa30e1519a739fa8eb
-DIST pypy3_9-exe-7.3.13-1.arm64-musl.gpkg.tar 9779200 BLAKE2B 
3f0e43c0a5e948fece7b3a338d2ce5d326efbeabef4a876678ee37317c022b156d59bb2f3eb7909476abc869616806b0c0da0a6170d9fe2bfa00a689b315779e
 SHA512 
539284698c256d60e3f34190d5cfd54999574e7d5ccb37a3695a7e08dc5018f680215fbad4b6118c11d9606ec65e5d79bcbcd1e02264b989bde4b85d683aaff6
-DIST pypy3_9-exe-7.3.13-1.arm64.gpkg.tar 9799680 BLAKE2B 
bd32484e9a576bcf2c36df0558a08eddde37b89d7f4e9aa86db61db7646a3adb4a5984f8dcbdef0135c8507a92b367047c77fdf90a5df438ee3c740aee9c2125
 SHA512 
cbb6a64452ffa80e2cb9d3c9a24f24ee4b7f0718e48ae03bbbe7a2dffbc200fff83c43b11c2b226392850c898ca7ce6427256354eceb9a4260d6633815a84319
-DIST pypy3_9-exe-7.3.13-1.ppc64le-musl.gpkg.tar 6389760 BLAKE2B 
1eb0a9aed7e282277fc8afaee1cb3db20f93363fb93c16b69c1398b6a859bcddaab1e219eccfee466bff657ef253f826886bc13cbc034b885314200d9b9ec9be
 SHA512 
48f1655a610b3a1fac8b8d559659ae524e57535e1a72c0daa4d2742119de6172f2d81c4f28cee90bbf7c43b1de3350dfff74b0d50107afd17009cd10c7223632
-DIST pypy3_9-exe-7.3.13-1.ppc64le.gpkg.tar 9963520 BLAKE2B 
07e02711f40e336077162887f1e39e761c295ef13300be46871082a4ecc998bedabbca38aba2a22d76899dd367d25194cf60f5ebe75fd89306c6661beaf4383e
 SHA512 
939850b6d1c4acf634e9fb7eacabefb4888938fda2e333dd658e46304b281619b737cf3b5c1969c4114269a5a2ad90a193a1e7ca3bf57d67c4b777d308997cdf
-DIST pypy3_9-exe-7.3.13-1.x86-musl.gpkg.tar 8704000 BLAKE2B 
22e5b403fe30d147d4eeff43b4ff010f5234a759a4383d2131a04e871039ac19f0c9918f43d2958554c0d25c2a1ad5532ab90a11bb2b401ec00f804b8a4f0b58
 SHA512 
3e9f5f3529473beaa13e1c473743449d08eb636f45fe6f94ecd5dc3560f2b48bd46ba9dc7aef9fbb54c94fd822e1835f0b58b611522a5349d54e5c509a5c1384
-DIST pypy3_9-exe-7.3.13-1.x86.gpkg.tar 8642560 BLAKE2B 
c5f481f79ba67c5250d6d72d3582ff72be3f55516f14acbfe6720b65d7d6b1464c9a2703f7bb75e9479c5a1e83b07f0c6fa628a55a019eeb9ac939cb68275e99
 SHA512 
0eadc7cf710c2c02ef9c0ba7ae0c45a9055bb65f0f341d5039e41934d3217b0cd92ee169569205a7b14217f92e91da9b8d376b0dfb25c6c41be150771711ba36
-DIST pypy3_9-exe-7.3.14-1.amd64-musl.gpkg.tar 11878400 BLAKE2B 
200c9e8ad15eff269c26edb0db30fb642502f969a35290e86d1aa1814a1b331dbf2b5cbb7848164b2383f2e7b1bd03ed69f44c010c8240bc34d9ca44d638c5a0
 SHA512 
7e41264432aab6f70e552931e27be8ee0126b9eb530a8d7b5f7cac32f1e5778965481f92c92cb1ab485a6d3f0196300741d591e20ce2f0c53af08e6f25224236
-DIST pypy3_9-exe-7.3.14-1.amd64.gpkg.tar 11857920 BLAKE2B 
e65451a17c7c253ccf6865e0c1e4767cc382322f0d3d6d476e847db0f0535eb82db5ff1716f1e5114fb73fee9f9fa2ac8b3251cd53ba3a271e0a6a9170b38a85
 SHA512 
2e0c1fbff05f8b3f24b442f53cbe2c937d108176b86195483b2de718b48c198a3efd2916d1206bbf2b8579b93657a954b688445918ff306dcde1d0157dd3f84f
-DIST pypy3_9-exe-7.3.14-1.arm64-musl.gpkg.tar 10024960 BLAKE2B 
68191a2c591d88dda53064572e85a4df07fd72c4219a89e73bcb03b87cee307aa385f4d8d366edf6ae7338b2f494d73c06e2b7f74f9251787d3fba9b92ba98bc
 SHA512 
90870861fc0e9d70ab750b2ef259c056019173b475b514edf563231e05488cd3fd47d61ccd2d7742482b2c463fcb5280daf1f48089f16ef99eb43f9b24e69cc8
-DIST pypy3_9-exe-7.3.14-1.arm64.gpkg.tar 10024960 BLAKE2B 
7e386315979ce7f4da6883906c3c754ad021df0ca7e5a9b57d81dc2bb1c09158d81b9960320bbdab47433d5b45d84f8024dc575a6f215c5e502bda3828797b60
 SHA512 
5311e5d8a6196398bc891b24d2b2ac0efe8ff64d254d27d04fae7e1d20418d77a19408a4276830b90951c1baf5f331bf4632476ac1e3845cbc8e4d47d0e578e5
-DIST pypy3_9-exe-7.3.14-1.ppc64le-musl.gpkg.tar 6584320 BLAKE2B 

[gentoo-commits] repo/gentoo:master commit in: dev-python/pypy3_9-exe/

2024-02-03 Thread Michał Górny
commit: 55c221a2e620d2963b0a4f80bc91ffd29c6db130
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Feb  3 14:53:04 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Feb  3 15:01:44 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55c221a2

dev-python/pypy3_9-exe: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pypy3_9-exe/Manifest  |   4 -
 dev-python/pypy3_9-exe/pypy3_9-exe-7.3.13.ebuild | 128 ---
 dev-python/pypy3_9-exe/pypy3_9-exe-7.3.14.ebuild | 128 ---
 3 files changed, 260 deletions(-)

diff --git a/dev-python/pypy3_9-exe/Manifest b/dev-python/pypy3_9-exe/Manifest
index 01463537cdc5..3e201830e36d 100644
--- a/dev-python/pypy3_9-exe/Manifest
+++ b/dev-python/pypy3_9-exe/Manifest
@@ -1,6 +1,2 @@
-DIST pypy3.9-gentoo-patches-7.3.13.tar.xz 7476 BLAKE2B 
70f80c489686e92e933a200d2e92a095a80e2300814ec4e1f3cb31ec5f5500a45667f7bfe9570ea5eef3933fdda33a9930bdf2cf683c28e3ddb610bebeeca6dd
 SHA512 
5170f5141beb93b3b37cc94f85324c88182967eaff2f8ca26b81d63d5b0d20414a139ca44c250c07b46c747e27c97fd0fe5a2365f6636aba2dd28df3bc55cdca
-DIST pypy3.9-gentoo-patches-7.3.14.tar.xz 5808 BLAKE2B 
92ab7e9129838ff22cc13a64fe1ffe9ffd3af45ec777bde531ce2e15b87681e17fca2f1dc037ee4798bca5a9312ca4c961ec97b0a53bf5e6dc36fd12241151c9
 SHA512 
dffd17558d5ec2625682e5476ea53a9fe273f553b94d2589628e23ac3b45c50b5bf3ba9c7d92935e477374d9220af6ed310abae1270175f091a8c5a267a4bacd
 DIST pypy3.9-gentoo-patches-7.3.15.tar.xz 5800 BLAKE2B 
e3466eb528c7cfaa8a189552041852d29bbacb45e08dc967deec1d8486107725ab2b2b1e65c98307983ff1f3ad038d3e54bf84eaadc32060185661c8023dea06
 SHA512 
c834433bfaaa1cd081fb71f9e122810b66fbd0a52f8473b6ec02a8615f0b0328da51ca1e3f0f209d325d9884876b634dbd1ec202f428620044fe5e60b4ce910a
-DIST pypy3.9-v7.3.13-src.tar.bz2 23452374 BLAKE2B 
b5ce8dd78e4851b5c7fa6aa0c6f2f5c198a3b2d1e4691ccb20d1b229397d60ac41eaecef37f7c76e4de837876bdd6c1e4276302afc292080e0a38f1a58869580
 SHA512 
04b184050625f06d2acaa836a786db788c4f658f3384ebde176d0acc95044ee83dbf7193ebab1e4fd6275bed7a590d3945482294be32d8f94e8c541e053dce59
-DIST pypy3.9-v7.3.14-src.tar.bz2 24683302 BLAKE2B 
318fe17b423ce9c5b374cbceacf480ddbad7862bd6507d74289bbc0bd8ba8cf350ad21297b1e2dab7dfe6e7f542d929259be8d57867420b8a9a59284532aa9e2
 SHA512 
77db85092ca8ce419e30b274ec001566bbd275d88e74e5a3a3d0d557b18beb5a1e98428487f338e46f64893e54bf426464d372056c37a87a2b42b36c7d0fb536
 DIST pypy3.9-v7.3.15-src.tar.bz2 24694333 BLAKE2B 
151c3c8b828c7a35cfd63dd73b8683c3fe5529c5f6df7cc628d2967e5c61e16490b8663efe838fc6efd9f0b4a08fde8c9315e2f0a471bb62a2395055f2f130c6
 SHA512 
64faca74c507ef3e8dd2df34ad81874c24bc336e79ecf5343c21adebdea60efafe6ad38bdbf15bc2a677980d7db2c2c0affa04beb7e7e1b739d85e17f333

diff --git a/dev-python/pypy3_9-exe/pypy3_9-exe-7.3.13.ebuild 
b/dev-python/pypy3_9-exe/pypy3_9-exe-7.3.13.ebuild
deleted file mode 100644
index a6d7ba06e1b1..
--- a/dev-python/pypy3_9-exe/pypy3_9-exe-7.3.13.ebuild
+++ /dev/null
@@ -1,128 +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.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/;
-SRC_URI="
-   https://buildbot.pypy.org/pypy/${MY_P}-src.tar.bz2
-   https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz
-"
-S="${WORKDIR}/${MY_P}-src"
-
-LICENSE="MIT"
-SLOT="${PYPY_PV}"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="+jit low-memory ncurses cpu_flags_x86_sse2"
-
-RDEPEND="
-   app-arch/bzip2:0=
-   dev-libs/expat:0=
-   dev-libs/libffi:0=
-   >=sys-libs/zlib-1.1.3:0=
-   virtual/libintl:0=
-   ncurses? ( sys-libs/ncurses:0= )
-   !dev-python/pypy3-exe-bin:${SLOT}
-"
-DEPEND="
-   ${RDEPEND}
-"
-BDEPEND="
-   dev-python/pypy
-   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...
-
-

[gentoo-commits] repo/gentoo:master commit in: dev-python/pypy3_9-exe-bin/

2024-01-15 Thread Michał Górny
commit: 6ca1bb6dd842fc2d648f7abfe4afe142763d23e6
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jan 15 21:15:09 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jan 15 21:23:59 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ca1bb6d

dev-python/pypy3_9-exe-bin: Bump to 7.3.15

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pypy3_9-exe-bin/Manifest|  8 ++
 dev-python/pypy3_9-exe-bin/metadata.xml|  3 +
 .../pypy3_9-exe-bin/pypy3_9-exe-bin-7.3.15.ebuild  | 85 ++
 3 files changed, 96 insertions(+)

diff --git a/dev-python/pypy3_9-exe-bin/Manifest 
b/dev-python/pypy3_9-exe-bin/Manifest
index 17aa6a91cb8e..c6f26aa2a384 100644
--- a/dev-python/pypy3_9-exe-bin/Manifest
+++ b/dev-python/pypy3_9-exe-bin/Manifest
@@ -14,3 +14,11 @@ DIST pypy3_9-exe-7.3.14-1.ppc64le-musl.gpkg.tar 6584320 
BLAKE2B 7fdcf4a6ed39a0c2
 DIST pypy3_9-exe-7.3.14-1.ppc64le.gpkg.tar 10260480 BLAKE2B 
94ec718a5c37dbf6b15e91346147918284e9778b8f5240dc0169fe13cd2356fbea87ae0c24a718f86e04929cc63a8e8e0b5291da4c257338c7f4f419448848ef
 SHA512 
809f76e514ef3a050be570b81e56a872573a7125c55581104057505a13d11580d2f0f71a3e59c6fd22b2dcd3fb3cd1e2ae046ff4dcb9bf2c791675e112ff6526
 DIST pypy3_9-exe-7.3.14-1.x86-musl.gpkg.tar 320 BLAKE2B 
6aa189e8a5e80bbed01216808d2b7b543831a19e0039f7e8ed037881ea6a5a22ecc3acb1179a7892a4896dd2ef783ce169689a8f6c45bbaef662528cc2b74264
 SHA512 
4b68eae8185ece64a59b0ba952779f8fa31594f874dbccf125a9243ff656b86e0381d4ac39f70f2456edf58a2715277e0ee29840126437643587c4dfcf065904
 DIST pypy3_9-exe-7.3.14-1.x86.gpkg.tar 8919040 BLAKE2B 
3896f0db4893fb54bc085f79a861cafc2395a3160efe8efe344530052e5c9e4547121e6e3263e4e1ad36ea7aa45de62b454bd89a5ddefd999d088be612b9d97a
 SHA512 
1dd32f1e05817f18ca76a3c5ad38b100ac8601a2df20307fbec1336b0139a7e2a701759a833b5991875458a117a772bb94b7aba80f7a2712ff380a2e3d9be62e
+DIST pypy3_9-exe-7.3.15-1.amd64-musl.gpkg.tar 11847680 BLAKE2B 
6e2e13c6ef1faaa9ba451727a64a1749f3e2ab4645d4206420c6ee2c186438817f2a77c9a7939d485a4f04fd5b1f39d0886a42c32969e9869b44ca16fbf60be9
 SHA512 
fd757c68631381400901ecc2f18299eba701baa5086fb0c77ac2fbedbd7f188061c16ec0e4c84c8864ed5d235e4f98d8c5f9f26843f9acc881e2fa661d3e0131
+DIST pypy3_9-exe-7.3.15-1.amd64.gpkg.tar 11857920 BLAKE2B 
052bb16e6c983ac32a860b5de1532fca6158510364ddc52f9992b1c69b948f6d6e7ba32fbaaba86597fa73db5f09a19c3e6a0208f624c9d3bbc28c43b056c886
 SHA512 
336f484699f89e5e3fa8bab7c8468d4e1a6cf957f947a727858b59cd9b372c94a07f5304b1f367b0bd3cd443d688fbfbe17fd23e6939988d0270c4be6df9f7a9
+DIST pypy3_9-exe-7.3.15-1.arm64-musl.gpkg.tar 9943040 BLAKE2B 
701257e473f784e367a9e984dfe6af7d50ee42b214e8ebf0aa4e761102ef83b48c88ad69ea601c52b17333527bf45f908754da7e128659bd79b1849a4041612a
 SHA512 
0bb71f3acd90f3a45dd802d1108da13b0b4c41ecbf212fa5aec22633daab85b8420c37a58bfc52dfaaa2f577ea5885df588750e634a51e165bf7fc933e5de4cb
+DIST pypy3_9-exe-7.3.15-1.arm64.gpkg.tar 9973760 BLAKE2B 
fdacf63806aa759c7ffd3a574d1f6d8a52448d14461414e5d6aa853097d49e6bca18202af71370f340de8b8ec126b1d75c40b585b9a1d1526400236c6a050de5
 SHA512 
0cc8c1b96b15f4540ecbef149507bbc9f5e54258f6c7887f60c4441bf77f5dad3476e10c110d3f9c483a2abad90d513062791235810f9353d294c0c61c1c03e5
+DIST pypy3_9-exe-7.3.15-1.ppc64le-musl.gpkg.tar 6635520 BLAKE2B 
89974e2537e9c2f12b0e7f0b2a92b1140ec0351c28b8b72f41b97bc4ea201b8a2f1d7bd2f71d9e47ab5775ee623167242799f051ba43421a524a897d837984d6
 SHA512 
c7ec389bb6a097ad023cc962989e18f45f9851e599b979c486d487048517e2d02655e90f74328f39d765d421eae1e338a73a31bf4e9c9e269941905bc9f9acec
+DIST pypy3_9-exe-7.3.15-1.ppc64le.gpkg.tar 10301440 BLAKE2B 
0a1a6f625a0929a65bfe01b333143d1ebe6c6c89a9a9bc1ec0c2a9274f897c56e8e080fecfbf6066d0b033d84582c7d71fbf03cb6310c01393e7f28d2e4aa2c1
 SHA512 
256fa79652a070747a865728f7e53e5b6d6ee4f8cdaca7cbbcf310cec883f8ed9606756bd1cb3d628fa7ba8e55f9fb7f2fa497e93c82567ff285c8ae913a3da2
+DIST pypy3_9-exe-7.3.15-1.x86-musl.gpkg.tar 8919040 BLAKE2B 
58f523aa9082284adc5b4fb131023adbeba411654501e71ba286abe5e0501d070180a44236c57f39bc310ad35f5734f314139b9701c4e48ae304674eeae5ec4e
 SHA512 
9dda550b304e73453e5eea8a5243ac2796576cb3e70ba770c8096d3077c99a0663d6a5d3f2ade3e88b6e814f994e71d5b56dfe779c3d2fc51242c01f8602bcb2
+DIST pypy3_9-exe-7.3.15-1.x86.gpkg.tar 8898560 BLAKE2B 
c8d3fcb749e5317e5bdd37981318cdea6ed801fccfdcf19dbc2c40457ac32e2d02e8ec500f25149172daea91decf79e62f7fd410512cf9d3e63c31f1d7c323b8
 SHA512 
1a547f42b739095658d96e1c8432b43f49913e0053f7ec596b2f409d6428c6291f741b56addcf88dac97f053089ca37c66b46a44b4284b00dc37b1918a5fdeff

diff --git a/dev-python/pypy3_9-exe-bin/metadata.xml 
b/dev-python/pypy3_9-exe-bin/metadata.xml
index efd7c8c21836..2ed15cb705e2 100644
--- a/dev-python/pypy3_9-exe-bin/metadata.xml
+++ b/dev-python/pypy3_9-exe-bin/metadata.xml
@@ -5,4 +5,7 @@
pyt...@gentoo.org
Python

+   
+   pypy/pypy
+   
 

diff --git a/dev-python/pypy3_9-exe-bin/pypy3_9-exe-bin-7.3.15.ebuild 

[gentoo-commits] repo/gentoo:master commit in: dev-python/pypy3_9/

2024-01-15 Thread Michał Górny
commit: f0f52f15d47497c65557d741b9d708b6f904078c
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jan 15 16:55:29 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jan 15 21:23:56 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0f52f15

dev-python/pypy3_9: Bump to 7.3.15

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pypy3_9/Manifest  |   2 +
 dev-python/pypy3_9/metadata.xml  |   6 +-
 dev-python/pypy3_9/pypy3_9-7.3.15.ebuild | 211 +++
 3 files changed, 216 insertions(+), 3 deletions(-)

diff --git a/dev-python/pypy3_9/Manifest b/dev-python/pypy3_9/Manifest
index dde316b9d375..755616050e96 100644
--- a/dev-python/pypy3_9/Manifest
+++ b/dev-python/pypy3_9/Manifest
@@ -1,2 +1,4 @@
 DIST pypy3.9-gentoo-patches-7.3.14.tar.xz 5808 BLAKE2B 
92ab7e9129838ff22cc13a64fe1ffe9ffd3af45ec777bde531ce2e15b87681e17fca2f1dc037ee4798bca5a9312ca4c961ec97b0a53bf5e6dc36fd12241151c9
 SHA512 
dffd17558d5ec2625682e5476ea53a9fe273f553b94d2589628e23ac3b45c50b5bf3ba9c7d92935e477374d9220af6ed310abae1270175f091a8c5a267a4bacd
+DIST pypy3.9-gentoo-patches-7.3.15.tar.xz 5800 BLAKE2B 
e3466eb528c7cfaa8a189552041852d29bbacb45e08dc967deec1d8486107725ab2b2b1e65c98307983ff1f3ad038d3e54bf84eaadc32060185661c8023dea06
 SHA512 
c834433bfaaa1cd081fb71f9e122810b66fbd0a52f8473b6ec02a8615f0b0328da51ca1e3f0f209d325d9884876b634dbd1ec202f428620044fe5e60b4ce910a
 DIST pypy3.9-v7.3.14-src.tar.bz2 24683302 BLAKE2B 
318fe17b423ce9c5b374cbceacf480ddbad7862bd6507d74289bbc0bd8ba8cf350ad21297b1e2dab7dfe6e7f542d929259be8d57867420b8a9a59284532aa9e2
 SHA512 
77db85092ca8ce419e30b274ec001566bbd275d88e74e5a3a3d0d557b18beb5a1e98428487f338e46f64893e54bf426464d372056c37a87a2b42b36c7d0fb536
+DIST pypy3.9-v7.3.15-src.tar.bz2 24694333 BLAKE2B 
151c3c8b828c7a35cfd63dd73b8683c3fe5529c5f6df7cc628d2967e5c61e16490b8663efe838fc6efd9f0b4a08fde8c9315e2f0a471bb62a2395055f2f130c6
 SHA512 
64faca74c507ef3e8dd2df34ad81874c24bc336e79ecf5343c21adebdea60efafe6ad38bdbf15bc2a677980d7db2c2c0affa04beb7e7e1b739d85e17f333

diff --git a/dev-python/pypy3_9/metadata.xml b/dev-python/pypy3_9/metadata.xml
index 279dc3f87516..2a6a5bdac475 100644
--- a/dev-python/pypy3_9/metadata.xml
+++ b/dev-python/pypy3_9/metadata.xml
@@ -5,6 +5,9 @@
pyt...@gentoo.org
Python

+   
+   pypy/pypy
+   


Install the ensurepip module that uses bundled wheels
@@ -12,7 +15,4 @@
be only possible to use venv `--without-pip`)


-   
-   pypy/pypy
-   
 

diff --git a/dev-python/pypy3_9/pypy3_9-7.3.15.ebuild 
b/dev-python/pypy3_9/pypy3_9-7.3.15.ebuild
new file mode 100644
index ..cd6b3d3e3ed8
--- /dev/null
+++ b/dev-python/pypy3_9/pypy3_9-7.3.15.ebuild
@@ -0,0 +1,211 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit multiprocessing pax-utils toolchain-funcs
+
+PYPY_PV=${PV%_p*}
+PYVER=3.9
+MY_P="pypy${PYVER}-v${PYPY_PV/_}"
+PATCHSET="pypy${PYVER}-gentoo-patches-${PV/_rc/rc}"
+
+DESCRIPTION="A fast, compliant alternative implementation of the Python 
(${PYVER}) language"
+HOMEPAGE="
+   https://www.pypy.org/
+   https://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"
+# pypy3 -c 'import sysconfig; print(sysconfig.get_config_var("SOABI"))'
+# also check pypy/interpreter/pycode.py -> pypy_incremental_magic
+SLOT="0/pypy39-pp73-336"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="+ensurepip gdbm +jit ncurses sqlite tk"
+# many tests are failing upstream
+# see https://buildbot.pypy.org/summary?branch=py${PYVER}
+RESTRICT="test"
+
+RDEPEND="
+   || (
+   >=dev-python/${PN}-exe-${PYPY_PV}:${PYPY_PV}[bzip2(+),ncurses?]
+   >=dev-python/${PN}-exe-bin-${PYPY_PV}:${PYPY_PV}
+   )
+   dev-lang/python-exec[python_targets_pypy3(-)]
+   dev-libs/openssl:0=
+   dev-python/gentoo-common
+   ensurepip? ( dev-python/ensurepip-wheels )
+   gdbm? ( sys-libs/gdbm:0= )
+   sqlite? ( dev-db/sqlite:3= )
+   tk? (
+   dev-lang/tk:0=
+   dev-tcltk/tix:0=
+   )
+"
+DEPEND="
+   ${RDEPEND}
+"
+
+src_prepare() {
+   local PATCHES=(
+   "${WORKDIR}/${PATCHSET}"
+   )
+   default
+}
+
+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 

[gentoo-commits] repo/gentoo:master commit in: dev-python/pypy3_9-exe/

2024-01-15 Thread Michał Górny
commit: 7ef657e2a4b50498c56ceb4c3b89906d0455868e
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jan 15 16:54:30 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jan 15 21:23:56 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ef657e2

dev-python/pypy3_9-exe: Bump to 7.3.15

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pypy3_9-exe/Manifest  |   2 +
 dev-python/pypy3_9-exe/metadata.xml  |   3 +
 dev-python/pypy3_9-exe/pypy3_9-exe-7.3.15.ebuild | 132 +++
 3 files changed, 137 insertions(+)

diff --git a/dev-python/pypy3_9-exe/Manifest b/dev-python/pypy3_9-exe/Manifest
index 398f5084298e..01463537cdc5 100644
--- a/dev-python/pypy3_9-exe/Manifest
+++ b/dev-python/pypy3_9-exe/Manifest
@@ -1,4 +1,6 @@
 DIST pypy3.9-gentoo-patches-7.3.13.tar.xz 7476 BLAKE2B 
70f80c489686e92e933a200d2e92a095a80e2300814ec4e1f3cb31ec5f5500a45667f7bfe9570ea5eef3933fdda33a9930bdf2cf683c28e3ddb610bebeeca6dd
 SHA512 
5170f5141beb93b3b37cc94f85324c88182967eaff2f8ca26b81d63d5b0d20414a139ca44c250c07b46c747e27c97fd0fe5a2365f6636aba2dd28df3bc55cdca
 DIST pypy3.9-gentoo-patches-7.3.14.tar.xz 5808 BLAKE2B 
92ab7e9129838ff22cc13a64fe1ffe9ffd3af45ec777bde531ce2e15b87681e17fca2f1dc037ee4798bca5a9312ca4c961ec97b0a53bf5e6dc36fd12241151c9
 SHA512 
dffd17558d5ec2625682e5476ea53a9fe273f553b94d2589628e23ac3b45c50b5bf3ba9c7d92935e477374d9220af6ed310abae1270175f091a8c5a267a4bacd
+DIST pypy3.9-gentoo-patches-7.3.15.tar.xz 5800 BLAKE2B 
e3466eb528c7cfaa8a189552041852d29bbacb45e08dc967deec1d8486107725ab2b2b1e65c98307983ff1f3ad038d3e54bf84eaadc32060185661c8023dea06
 SHA512 
c834433bfaaa1cd081fb71f9e122810b66fbd0a52f8473b6ec02a8615f0b0328da51ca1e3f0f209d325d9884876b634dbd1ec202f428620044fe5e60b4ce910a
 DIST pypy3.9-v7.3.13-src.tar.bz2 23452374 BLAKE2B 
b5ce8dd78e4851b5c7fa6aa0c6f2f5c198a3b2d1e4691ccb20d1b229397d60ac41eaecef37f7c76e4de837876bdd6c1e4276302afc292080e0a38f1a58869580
 SHA512 
04b184050625f06d2acaa836a786db788c4f658f3384ebde176d0acc95044ee83dbf7193ebab1e4fd6275bed7a590d3945482294be32d8f94e8c541e053dce59
 DIST pypy3.9-v7.3.14-src.tar.bz2 24683302 BLAKE2B 
318fe17b423ce9c5b374cbceacf480ddbad7862bd6507d74289bbc0bd8ba8cf350ad21297b1e2dab7dfe6e7f542d929259be8d57867420b8a9a59284532aa9e2
 SHA512 
77db85092ca8ce419e30b274ec001566bbd275d88e74e5a3a3d0d557b18beb5a1e98428487f338e46f64893e54bf426464d372056c37a87a2b42b36c7d0fb536
+DIST pypy3.9-v7.3.15-src.tar.bz2 24694333 BLAKE2B 
151c3c8b828c7a35cfd63dd73b8683c3fe5529c5f6df7cc628d2967e5c61e16490b8663efe838fc6efd9f0b4a08fde8c9315e2f0a471bb62a2395055f2f130c6
 SHA512 
64faca74c507ef3e8dd2df34ad81874c24bc336e79ecf5343c21adebdea60efafe6ad38bdbf15bc2a677980d7db2c2c0affa04beb7e7e1b739d85e17f333

diff --git a/dev-python/pypy3_9-exe/metadata.xml 
b/dev-python/pypy3_9-exe/metadata.xml
index 9f1f42740089..3f2aeb55aa5e 100644
--- a/dev-python/pypy3_9-exe/metadata.xml
+++ b/dev-python/pypy3_9-exe/metadata.xml
@@ -5,6 +5,9 @@
pyt...@gentoo.org
Python

+   
+   pypy/pypy
+   

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,

diff --git a/dev-python/pypy3_9-exe/pypy3_9-exe-7.3.15.ebuild 
b/dev-python/pypy3_9-exe/pypy3_9-exe-7.3.15.ebuild
new file mode 100644
index ..9cff29fef442
--- /dev/null
+++ b/dev-python/pypy3_9-exe/pypy3_9-exe-7.3.15.ebuild
@@ -0,0 +1,132 @@
+# 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-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
+}
+

[gentoo-commits] repo/gentoo:master commit in: dev-python/pypy3_9/

2023-12-30 Thread Michał Górny
commit: 678e575ba1df623bafba6a0e8d0e89f6244c0b4f
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Dec 30 18:31:06 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Dec 30 18:31:06 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=678e575b

dev-python/pypy3_9: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pypy3_9/Manifest |   2 -
 dev-python/pypy3_9/pypy3_9-7.3.13-r1.ebuild | 211 
 2 files changed, 213 deletions(-)

diff --git a/dev-python/pypy3_9/Manifest b/dev-python/pypy3_9/Manifest
index 398f5084298e..dde316b9d375 100644
--- a/dev-python/pypy3_9/Manifest
+++ b/dev-python/pypy3_9/Manifest
@@ -1,4 +1,2 @@
-DIST pypy3.9-gentoo-patches-7.3.13.tar.xz 7476 BLAKE2B 
70f80c489686e92e933a200d2e92a095a80e2300814ec4e1f3cb31ec5f5500a45667f7bfe9570ea5eef3933fdda33a9930bdf2cf683c28e3ddb610bebeeca6dd
 SHA512 
5170f5141beb93b3b37cc94f85324c88182967eaff2f8ca26b81d63d5b0d20414a139ca44c250c07b46c747e27c97fd0fe5a2365f6636aba2dd28df3bc55cdca
 DIST pypy3.9-gentoo-patches-7.3.14.tar.xz 5808 BLAKE2B 
92ab7e9129838ff22cc13a64fe1ffe9ffd3af45ec777bde531ce2e15b87681e17fca2f1dc037ee4798bca5a9312ca4c961ec97b0a53bf5e6dc36fd12241151c9
 SHA512 
dffd17558d5ec2625682e5476ea53a9fe273f553b94d2589628e23ac3b45c50b5bf3ba9c7d92935e477374d9220af6ed310abae1270175f091a8c5a267a4bacd
-DIST pypy3.9-v7.3.13-src.tar.bz2 23452374 BLAKE2B 
b5ce8dd78e4851b5c7fa6aa0c6f2f5c198a3b2d1e4691ccb20d1b229397d60ac41eaecef37f7c76e4de837876bdd6c1e4276302afc292080e0a38f1a58869580
 SHA512 
04b184050625f06d2acaa836a786db788c4f658f3384ebde176d0acc95044ee83dbf7193ebab1e4fd6275bed7a590d3945482294be32d8f94e8c541e053dce59
 DIST pypy3.9-v7.3.14-src.tar.bz2 24683302 BLAKE2B 
318fe17b423ce9c5b374cbceacf480ddbad7862bd6507d74289bbc0bd8ba8cf350ad21297b1e2dab7dfe6e7f542d929259be8d57867420b8a9a59284532aa9e2
 SHA512 
77db85092ca8ce419e30b274ec001566bbd275d88e74e5a3a3d0d557b18beb5a1e98428487f338e46f64893e54bf426464d372056c37a87a2b42b36c7d0fb536

diff --git a/dev-python/pypy3_9/pypy3_9-7.3.13-r1.ebuild 
b/dev-python/pypy3_9/pypy3_9-7.3.13-r1.ebuild
deleted file mode 100644
index 0c66221371e4..
--- a/dev-python/pypy3_9/pypy3_9-7.3.13-r1.ebuild
+++ /dev/null
@@ -1,211 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit multiprocessing pax-utils toolchain-funcs
-
-PYPY_PV=${PV%_p*}
-PYVER=3.9
-MY_P="pypy${PYVER}-v${PYPY_PV/_}"
-PATCHSET="pypy${PYVER}-gentoo-patches-${PV/_rc/rc}"
-
-DESCRIPTION="A fast, compliant alternative implementation of the Python 
(${PYVER}) language"
-HOMEPAGE="
-   https://www.pypy.org/
-   https://foss.heptapod.net/pypy/pypy/
-"
-SRC_URI="
-   https://buildbot.pypy.org/pypy/${MY_P}-src.tar.bz2
-   https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz
-"
-S="${WORKDIR}/${MY_P}-src"
-
-LICENSE="MIT"
-# pypy3 -c 'import sysconfig; print(sysconfig.get_config_var("SOABI"))'
-# also check pypy/interpreter/pycode.py -> pypy_incremental_magic
-SLOT="0/pypy39-pp73-336"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="+ensurepip gdbm +jit ncurses sqlite tk"
-# many tests are failing upstream
-# see https://buildbot.pypy.org/summary?branch=py${PYVER}
-RESTRICT="test"
-
-RDEPEND="
-   || (
-   >=dev-python/${PN}-exe-${PYPY_PV}:${PYPY_PV}[bzip2(+),ncurses?]
-   >=dev-python/${PN}-exe-bin-${PYPY_PV}:${PYPY_PV}
-   )
-   dev-lang/python-exec[python_targets_pypy3(-)]
-   dev-libs/openssl:0=
-   dev-python/gentoo-common
-   ensurepip? ( dev-python/ensurepip-wheels )
-   gdbm? ( sys-libs/gdbm:0= )
-   sqlite? ( dev-db/sqlite:3= )
-   tk? (
-   dev-lang/tk:0=
-   dev-tcltk/tix:0=
-   )
-   ! 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=$(

[gentoo-commits] repo/gentoo:master commit in: dev-python/pypy3_9/

2023-12-25 Thread Michał Górny
commit: 4e45232f88d04785e237282aae20304c504c4d59
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Dec 25 16:00:46 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Dec 25 20:26:30 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e45232f

dev-python/pypy3_9: Bump to 7.3.14

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pypy3_9/Manifest  |   2 +
 dev-python/pypy3_9/pypy3_9-7.3.14.ebuild | 211 +++
 2 files changed, 213 insertions(+)

diff --git a/dev-python/pypy3_9/Manifest b/dev-python/pypy3_9/Manifest
index ef3b3502ebdf..398f5084298e 100644
--- a/dev-python/pypy3_9/Manifest
+++ b/dev-python/pypy3_9/Manifest
@@ -1,2 +1,4 @@
 DIST pypy3.9-gentoo-patches-7.3.13.tar.xz 7476 BLAKE2B 
70f80c489686e92e933a200d2e92a095a80e2300814ec4e1f3cb31ec5f5500a45667f7bfe9570ea5eef3933fdda33a9930bdf2cf683c28e3ddb610bebeeca6dd
 SHA512 
5170f5141beb93b3b37cc94f85324c88182967eaff2f8ca26b81d63d5b0d20414a139ca44c250c07b46c747e27c97fd0fe5a2365f6636aba2dd28df3bc55cdca
+DIST pypy3.9-gentoo-patches-7.3.14.tar.xz 5808 BLAKE2B 
92ab7e9129838ff22cc13a64fe1ffe9ffd3af45ec777bde531ce2e15b87681e17fca2f1dc037ee4798bca5a9312ca4c961ec97b0a53bf5e6dc36fd12241151c9
 SHA512 
dffd17558d5ec2625682e5476ea53a9fe273f553b94d2589628e23ac3b45c50b5bf3ba9c7d92935e477374d9220af6ed310abae1270175f091a8c5a267a4bacd
 DIST pypy3.9-v7.3.13-src.tar.bz2 23452374 BLAKE2B 
b5ce8dd78e4851b5c7fa6aa0c6f2f5c198a3b2d1e4691ccb20d1b229397d60ac41eaecef37f7c76e4de837876bdd6c1e4276302afc292080e0a38f1a58869580
 SHA512 
04b184050625f06d2acaa836a786db788c4f658f3384ebde176d0acc95044ee83dbf7193ebab1e4fd6275bed7a590d3945482294be32d8f94e8c541e053dce59
+DIST pypy3.9-v7.3.14-src.tar.bz2 24683302 BLAKE2B 
318fe17b423ce9c5b374cbceacf480ddbad7862bd6507d74289bbc0bd8ba8cf350ad21297b1e2dab7dfe6e7f542d929259be8d57867420b8a9a59284532aa9e2
 SHA512 
77db85092ca8ce419e30b274ec001566bbd275d88e74e5a3a3d0d557b18beb5a1e98428487f338e46f64893e54bf426464d372056c37a87a2b42b36c7d0fb536

diff --git a/dev-python/pypy3_9/pypy3_9-7.3.14.ebuild 
b/dev-python/pypy3_9/pypy3_9-7.3.14.ebuild
new file mode 100644
index ..6a263ec2fbb4
--- /dev/null
+++ b/dev-python/pypy3_9/pypy3_9-7.3.14.ebuild
@@ -0,0 +1,211 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit multiprocessing pax-utils toolchain-funcs
+
+PYPY_PV=${PV%_p*}
+PYVER=3.9
+MY_P="pypy${PYVER}-v${PYPY_PV/_}"
+PATCHSET="pypy${PYVER}-gentoo-patches-${PV/_rc/rc}"
+
+DESCRIPTION="A fast, compliant alternative implementation of the Python 
(${PYVER}) language"
+HOMEPAGE="
+   https://www.pypy.org/
+   https://foss.heptapod.net/pypy/pypy/
+"
+SRC_URI="
+   https://buildbot.pypy.org/pypy/${MY_P}-src.tar.bz2
+   https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz
+"
+S="${WORKDIR}/${MY_P}-src"
+
+LICENSE="MIT"
+# pypy3 -c 'import sysconfig; print(sysconfig.get_config_var("SOABI"))'
+# also check pypy/interpreter/pycode.py -> pypy_incremental_magic
+SLOT="0/pypy39-pp73-336"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="+ensurepip gdbm +jit ncurses sqlite tk"
+# many tests are failing upstream
+# see https://buildbot.pypy.org/summary?branch=py${PYVER}
+RESTRICT="test"
+
+RDEPEND="
+   || (
+   >=dev-python/${PN}-exe-${PYPY_PV}:${PYPY_PV}[bzip2(+),ncurses?]
+   >=dev-python/${PN}-exe-bin-${PYPY_PV}:${PYPY_PV}
+   )
+   dev-lang/python-exec[python_targets_pypy3(-)]
+   dev-libs/openssl:0=
+   dev-python/gentoo-common
+   ensurepip? ( dev-python/ensurepip-wheels )
+   gdbm? ( sys-libs/gdbm:0= )
+   sqlite? ( dev-db/sqlite:3= )
+   tk? (
+   dev-lang/tk:0=
+   dev-tcltk/tix:0=
+   )
+   ! 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=$(

[gentoo-commits] repo/gentoo:master commit in: dev-python/pypy3_9-exe-bin/

2023-12-25 Thread Michał Górny
commit: a03ff9aa6f14067c69d4b00a541acc12ccb1cad4
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Dec 25 20:16:20 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Dec 25 20:26:33 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a03ff9aa

dev-python/pypy3_9-exe-bin: Bump to 7.3.14

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pypy3_9-exe-bin/Manifest|  8 +++
 .../pypy3_9-exe-bin/pypy3_9-exe-bin-7.3.14.ebuild  | 82 ++
 2 files changed, 90 insertions(+)

diff --git a/dev-python/pypy3_9-exe-bin/Manifest 
b/dev-python/pypy3_9-exe-bin/Manifest
index e63e559e559e..17aa6a91cb8e 100644
--- a/dev-python/pypy3_9-exe-bin/Manifest
+++ b/dev-python/pypy3_9-exe-bin/Manifest
@@ -6,3 +6,11 @@ DIST pypy3_9-exe-7.3.13-1.ppc64le-musl.gpkg.tar 6389760 
BLAKE2B 1eb0a9aed7e28227
 DIST pypy3_9-exe-7.3.13-1.ppc64le.gpkg.tar 9963520 BLAKE2B 
07e02711f40e336077162887f1e39e761c295ef13300be46871082a4ecc998bedabbca38aba2a22d76899dd367d25194cf60f5ebe75fd89306c6661beaf4383e
 SHA512 
939850b6d1c4acf634e9fb7eacabefb4888938fda2e333dd658e46304b281619b737cf3b5c1969c4114269a5a2ad90a193a1e7ca3bf57d67c4b777d308997cdf
 DIST pypy3_9-exe-7.3.13-1.x86-musl.gpkg.tar 8704000 BLAKE2B 
22e5b403fe30d147d4eeff43b4ff010f5234a759a4383d2131a04e871039ac19f0c9918f43d2958554c0d25c2a1ad5532ab90a11bb2b401ec00f804b8a4f0b58
 SHA512 
3e9f5f3529473beaa13e1c473743449d08eb636f45fe6f94ecd5dc3560f2b48bd46ba9dc7aef9fbb54c94fd822e1835f0b58b611522a5349d54e5c509a5c1384
 DIST pypy3_9-exe-7.3.13-1.x86.gpkg.tar 8642560 BLAKE2B 
c5f481f79ba67c5250d6d72d3582ff72be3f55516f14acbfe6720b65d7d6b1464c9a2703f7bb75e9479c5a1e83b07f0c6fa628a55a019eeb9ac939cb68275e99
 SHA512 
0eadc7cf710c2c02ef9c0ba7ae0c45a9055bb65f0f341d5039e41934d3217b0cd92ee169569205a7b14217f92e91da9b8d376b0dfb25c6c41be150771711ba36
+DIST pypy3_9-exe-7.3.14-1.amd64-musl.gpkg.tar 11878400 BLAKE2B 
200c9e8ad15eff269c26edb0db30fb642502f969a35290e86d1aa1814a1b331dbf2b5cbb7848164b2383f2e7b1bd03ed69f44c010c8240bc34d9ca44d638c5a0
 SHA512 
7e41264432aab6f70e552931e27be8ee0126b9eb530a8d7b5f7cac32f1e5778965481f92c92cb1ab485a6d3f0196300741d591e20ce2f0c53af08e6f25224236
+DIST pypy3_9-exe-7.3.14-1.amd64.gpkg.tar 11857920 BLAKE2B 
e65451a17c7c253ccf6865e0c1e4767cc382322f0d3d6d476e847db0f0535eb82db5ff1716f1e5114fb73fee9f9fa2ac8b3251cd53ba3a271e0a6a9170b38a85
 SHA512 
2e0c1fbff05f8b3f24b442f53cbe2c937d108176b86195483b2de718b48c198a3efd2916d1206bbf2b8579b93657a954b688445918ff306dcde1d0157dd3f84f
+DIST pypy3_9-exe-7.3.14-1.arm64-musl.gpkg.tar 10024960 BLAKE2B 
68191a2c591d88dda53064572e85a4df07fd72c4219a89e73bcb03b87cee307aa385f4d8d366edf6ae7338b2f494d73c06e2b7f74f9251787d3fba9b92ba98bc
 SHA512 
90870861fc0e9d70ab750b2ef259c056019173b475b514edf563231e05488cd3fd47d61ccd2d7742482b2c463fcb5280daf1f48089f16ef99eb43f9b24e69cc8
+DIST pypy3_9-exe-7.3.14-1.arm64.gpkg.tar 10024960 BLAKE2B 
7e386315979ce7f4da6883906c3c754ad021df0ca7e5a9b57d81dc2bb1c09158d81b9960320bbdab47433d5b45d84f8024dc575a6f215c5e502bda3828797b60
 SHA512 
5311e5d8a6196398bc891b24d2b2ac0efe8ff64d254d27d04fae7e1d20418d77a19408a4276830b90951c1baf5f331bf4632476ac1e3845cbc8e4d47d0e578e5
+DIST pypy3_9-exe-7.3.14-1.ppc64le-musl.gpkg.tar 6584320 BLAKE2B 
7fdcf4a6ed39a0c25be6dac0c3b5880e7aa7f5ea179b8790ac9d520b69fc1165554094d783d9d9327a3b3305b839c5ff3d94bcae04139606d6f10290f263c5c2
 SHA512 
299b851b509ef0905313761f82d89034cfe3cae5defeeb938635cb6a5d456ff9f3254b3875177d3720622168fdd0e8d635c62ddb6179d1ff2652ea333e1e730a
+DIST pypy3_9-exe-7.3.14-1.ppc64le.gpkg.tar 10260480 BLAKE2B 
94ec718a5c37dbf6b15e91346147918284e9778b8f5240dc0169fe13cd2356fbea87ae0c24a718f86e04929cc63a8e8e0b5291da4c257338c7f4f419448848ef
 SHA512 
809f76e514ef3a050be570b81e56a872573a7125c55581104057505a13d11580d2f0f71a3e59c6fd22b2dcd3fb3cd1e2ae046ff4dcb9bf2c791675e112ff6526
+DIST pypy3_9-exe-7.3.14-1.x86-musl.gpkg.tar 320 BLAKE2B 
6aa189e8a5e80bbed01216808d2b7b543831a19e0039f7e8ed037881ea6a5a22ecc3acb1179a7892a4896dd2ef783ce169689a8f6c45bbaef662528cc2b74264
 SHA512 
4b68eae8185ece64a59b0ba952779f8fa31594f874dbccf125a9243ff656b86e0381d4ac39f70f2456edf58a2715277e0ee29840126437643587c4dfcf065904
+DIST pypy3_9-exe-7.3.14-1.x86.gpkg.tar 8919040 BLAKE2B 
3896f0db4893fb54bc085f79a861cafc2395a3160efe8efe344530052e5c9e4547121e6e3263e4e1ad36ea7aa45de62b454bd89a5ddefd999d088be612b9d97a
 SHA512 
1dd32f1e05817f18ca76a3c5ad38b100ac8601a2df20307fbec1336b0139a7e2a701759a833b5991875458a117a772bb94b7aba80f7a2712ff380a2e3d9be62e

diff --git a/dev-python/pypy3_9-exe-bin/pypy3_9-exe-bin-7.3.14.ebuild 
b/dev-python/pypy3_9-exe-bin/pypy3_9-exe-bin-7.3.14.ebuild
new file mode 100644
index ..d714e8dea6e4
--- /dev/null
+++ b/dev-python/pypy3_9-exe-bin/pypy3_9-exe-bin-7.3.14.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit pax-utils unpacker
+
+PYVER=3.9
+MY_P=pypy3_9-exe-${PV}-1
+
+DESCRIPTION="PyPy3.9 executable (pre-built 

[gentoo-commits] repo/gentoo:master commit in: dev-python/pypy3_9-exe/

2023-12-25 Thread Michał Górny
commit: 437e55dab15e9591b3de7cf75912fc35cf0d2130
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Dec 25 16:00:17 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Dec 25 20:26:29 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=437e55da

dev-python/pypy3_9-exe: Bump to 7.3.14

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pypy3_9-exe/Manifest  |   2 +
 dev-python/pypy3_9-exe/pypy3_9-exe-7.3.14.ebuild | 128 +++
 2 files changed, 130 insertions(+)

diff --git a/dev-python/pypy3_9-exe/Manifest b/dev-python/pypy3_9-exe/Manifest
index ef3b3502ebdf..398f5084298e 100644
--- a/dev-python/pypy3_9-exe/Manifest
+++ b/dev-python/pypy3_9-exe/Manifest
@@ -1,2 +1,4 @@
 DIST pypy3.9-gentoo-patches-7.3.13.tar.xz 7476 BLAKE2B 
70f80c489686e92e933a200d2e92a095a80e2300814ec4e1f3cb31ec5f5500a45667f7bfe9570ea5eef3933fdda33a9930bdf2cf683c28e3ddb610bebeeca6dd
 SHA512 
5170f5141beb93b3b37cc94f85324c88182967eaff2f8ca26b81d63d5b0d20414a139ca44c250c07b46c747e27c97fd0fe5a2365f6636aba2dd28df3bc55cdca
+DIST pypy3.9-gentoo-patches-7.3.14.tar.xz 5808 BLAKE2B 
92ab7e9129838ff22cc13a64fe1ffe9ffd3af45ec777bde531ce2e15b87681e17fca2f1dc037ee4798bca5a9312ca4c961ec97b0a53bf5e6dc36fd12241151c9
 SHA512 
dffd17558d5ec2625682e5476ea53a9fe273f553b94d2589628e23ac3b45c50b5bf3ba9c7d92935e477374d9220af6ed310abae1270175f091a8c5a267a4bacd
 DIST pypy3.9-v7.3.13-src.tar.bz2 23452374 BLAKE2B 
b5ce8dd78e4851b5c7fa6aa0c6f2f5c198a3b2d1e4691ccb20d1b229397d60ac41eaecef37f7c76e4de837876bdd6c1e4276302afc292080e0a38f1a58869580
 SHA512 
04b184050625f06d2acaa836a786db788c4f658f3384ebde176d0acc95044ee83dbf7193ebab1e4fd6275bed7a590d3945482294be32d8f94e8c541e053dce59
+DIST pypy3.9-v7.3.14-src.tar.bz2 24683302 BLAKE2B 
318fe17b423ce9c5b374cbceacf480ddbad7862bd6507d74289bbc0bd8ba8cf350ad21297b1e2dab7dfe6e7f542d929259be8d57867420b8a9a59284532aa9e2
 SHA512 
77db85092ca8ce419e30b274ec001566bbd275d88e74e5a3a3d0d557b18beb5a1e98428487f338e46f64893e54bf426464d372056c37a87a2b42b36c7d0fb536

diff --git a/dev-python/pypy3_9-exe/pypy3_9-exe-7.3.14.ebuild 
b/dev-python/pypy3_9-exe/pypy3_9-exe-7.3.14.ebuild
new file mode 100644
index ..a6d7ba06e1b1
--- /dev/null
+++ b/dev-python/pypy3_9-exe/pypy3_9-exe-7.3.14.ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit check-reqs pax-utils toolchain-funcs
+
+PYPY_PV=${PV%_p*}
+PYVER=3.9
+MY_P="pypy${PYVER}-v${PYPY_PV/_}"
+PATCHSET="pypy${PYVER}-gentoo-patches-${PV/_}"
+
+DESCRIPTION="PyPy3.9 executable (build from source)"
+HOMEPAGE="https://www.pypy.org/;
+SRC_URI="
+   https://buildbot.pypy.org/pypy/${MY_P}-src.tar.bz2
+   https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz
+"
+S="${WORKDIR}/${MY_P}-src"
+
+LICENSE="MIT"
+SLOT="${PYPY_PV}"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="+jit low-memory ncurses cpu_flags_x86_sse2"
+
+RDEPEND="
+   app-arch/bzip2:0=
+   dev-libs/expat:0=
+   dev-libs/libffi:0=
+   >=sys-libs/zlib-1.1.3:0=
+   virtual/libintl:0=
+   ncurses? ( sys-libs/ncurses:0= )
+   !dev-python/pypy3-exe-bin:${SLOT}
+"
+DEPEND="
+   ${RDEPEND}
+"
+BDEPEND="
+   dev-python/pypy
+   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 

[gentoo-commits] repo/gentoo:master commit in: dev-python/pypy3_9/

2023-12-20 Thread Michał Górny
commit: 6c1904c6b07950e29ad308eb6bbe4175368440e8
Author: Eli Schwartz  gmail  com>
AuthorDate: Mon Dec 18 19:32:07 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Dec 21 03:27:23 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c1904c6

dev-python/pypy3_9: fixup compileall call excludes

There's a bunch of testdata that isn't supposed to be compiled. The
CPython build system automatically excludes it, but PyPy doesn't have a
build system so we must do it manually.

The original implementation passes the excludes args after the operand,
which is unreliable across PyPy versions. For consistency, specify them
before.

Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pypy3_9/pypy3_9-7.3.13-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/pypy3_9/pypy3_9-7.3.13-r1.ebuild 
b/dev-python/pypy3_9/pypy3_9-7.3.13-r1.ebuild
index 4cf1093bca1d..0c66221371e4 100644
--- a/dev-python/pypy3_9/pypy3_9-7.3.13-r1.ebuild
+++ b/dev-python/pypy3_9/pypy3_9-7.3.13-r1.ebuild
@@ -203,8 +203,8 @@ src_install() {
einfo "Byte-compiling Python standard library..."
# exclude list from CPython Makefile.pre.in
"${PYTHON}" -m compileall -j "$(makeopts_jobs)" -o 0 -o 1 -o 2 \
-   --hardlink-dupes -q -f -d "${dest}" "${ED}${dest}" \
-   -x 'bad_coding|badsyntax|site-packages|lib2to3/tests/data' || 
die
+   -x 'bad_coding|badsyntax|site-packages|lib2to3/tests/data' \
+   --hardlink-dupes -q -f -d "${dest}" "${ED}${dest}" || die
 
# remove to avoid collisions
rm "${PYTHON}" || die



[gentoo-commits] repo/gentoo:master commit in: dev-python/pypy3_9/

2023-12-20 Thread Michał Górny
commit: 3ab1e36629fe2d62c47f5b6bf5933767cffdfdb6
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Dec 20 16:51:46 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Dec 20 16:55:42 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ab1e366

dev-python/pypy3_9: Remove duplicate eapply_user

Thanks to arkamar for noticing.

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pypy3_9/pypy3_9-7.3.13-r1.ebuild | 2 --
 1 file changed, 2 deletions(-)

diff --git a/dev-python/pypy3_9/pypy3_9-7.3.13-r1.ebuild 
b/dev-python/pypy3_9/pypy3_9-7.3.13-r1.ebuild
index 661ab0988ec8..4cf1093bca1d 100644
--- a/dev-python/pypy3_9/pypy3_9-7.3.13-r1.ebuild
+++ b/dev-python/pypy3_9/pypy3_9-7.3.13-r1.ebuild
@@ -57,8 +57,6 @@ src_prepare() {
"${WORKDIR}/${PATCHSET}"
)
default
-
-   eapply_user
 }
 
 src_configure() {



[gentoo-commits] repo/gentoo:master commit in: dev-python/pypy3_9/

2023-12-18 Thread Michał Górny
commit: 022c8c77160c70887b66c76a835b356111202ce0
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Dec 18 15:55:25 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Dec 18 15:59:10 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=022c8c77

dev-python/pypy3_9: Inline compileall call, add excludes

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pypy3_9/pypy3_9-7.3.13-r1.ebuild | 8 +---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/dev-python/pypy3_9/pypy3_9-7.3.13-r1.ebuild 
b/dev-python/pypy3_9/pypy3_9-7.3.13-r1.ebuild
index b75fb0c938f5..661ab0988ec8 100644
--- a/dev-python/pypy3_9/pypy3_9-7.3.13-r1.ebuild
+++ b/dev-python/pypy3_9/pypy3_9-7.3.13-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit pax-utils python-utils-r1 toolchain-funcs
+inherit multiprocessing pax-utils toolchain-funcs
 
 PYPY_PV=${PV%_p*}
 PYVER=3.9
@@ -198,13 +198,15 @@ src_install() {
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}"
+   # exclude list from CPython Makefile.pre.in
+   "${PYTHON}" -m compileall -j "$(makeopts_jobs)" -o 0 -o 1 -o 2 \
+   --hardlink-dupes -q -f -d "${dest}" "${ED}${dest}" \
+   -x 'bad_coding|badsyntax|site-packages|lib2to3/tests/data' || 
die
 
# remove to avoid collisions
rm "${PYTHON}" || die



[gentoo-commits] repo/gentoo:master commit in: dev-python/pypy3_9-exe/

2023-12-01 Thread Michał Górny
commit: 8d409c9e96a9b214130a5978d04a7174fa9af375
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Dec  1 20:28:31 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Dec  1 21:58:02 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d409c9e

dev-python/pypy3_9-exe: Specify PyPy branch in DESCRIPTION

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pypy3_9-exe/pypy3_9-exe-7.3.13.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pypy3_9-exe/pypy3_9-exe-7.3.13.ebuild 
b/dev-python/pypy3_9-exe/pypy3_9-exe-7.3.13.ebuild
index fd6aec5a2638..a6d7ba06e1b1 100644
--- a/dev-python/pypy3_9-exe/pypy3_9-exe-7.3.13.ebuild
+++ b/dev-python/pypy3_9-exe/pypy3_9-exe-7.3.13.ebuild
@@ -10,7 +10,7 @@ PYVER=3.9
 MY_P="pypy${PYVER}-v${PYPY_PV/_}"
 PATCHSET="pypy${PYVER}-gentoo-patches-${PV/_}"
 
-DESCRIPTION="PyPy3 executable (build from source)"
+DESCRIPTION="PyPy3.9 executable (build from source)"
 HOMEPAGE="https://www.pypy.org/;
 SRC_URI="
https://buildbot.pypy.org/pypy/${MY_P}-src.tar.bz2



[gentoo-commits] repo/gentoo:master commit in: dev-python/pypy3_9-exe-bin/

2023-12-01 Thread Michał Górny
commit: d8f0b076e5e5f05be2fc35d750cec003c35539ff
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Dec  1 20:28:42 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Dec  1 21:58:03 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8f0b076

dev-python/pypy3_9-exe-bin: Specify PyPy branch in DESCRIPTION

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pypy3_9-exe-bin/pypy3_9-exe-bin-7.3.13.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pypy3_9-exe-bin/pypy3_9-exe-bin-7.3.13.ebuild 
b/dev-python/pypy3_9-exe-bin/pypy3_9-exe-bin-7.3.13.ebuild
index cb99c4b6d977..d714e8dea6e4 100644
--- a/dev-python/pypy3_9-exe-bin/pypy3_9-exe-bin-7.3.13.ebuild
+++ b/dev-python/pypy3_9-exe-bin/pypy3_9-exe-bin-7.3.13.ebuild
@@ -8,7 +8,7 @@ inherit pax-utils unpacker
 PYVER=3.9
 MY_P=pypy3_9-exe-${PV}-1
 
-DESCRIPTION="PyPy3 executable (pre-built version)"
+DESCRIPTION="PyPy3.9 executable (pre-built version)"
 HOMEPAGE="https://www.pypy.org/;
 SRC_URI="
elibc_glibc? (



[gentoo-commits] repo/gentoo:master commit in: dev-python/pypy3_9-exe/

2023-11-21 Thread Michał Górny
commit: 2738a6f05b78fe95eabf31dddb9ccdaa5b148f45
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Nov 22 07:22:20 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Nov 22 07:48:40 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2738a6f0

dev-python/pypy3_9-exe: Add missing virtual/pkgconfig BDEP

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pypy3_9-exe/pypy3_9-exe-7.3.13.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/pypy3_9-exe/pypy3_9-exe-7.3.13.ebuild 
b/dev-python/pypy3_9-exe/pypy3_9-exe-7.3.13.ebuild
index b9174fee3c95..fd6aec5a2638 100644
--- a/dev-python/pypy3_9-exe/pypy3_9-exe-7.3.13.ebuild
+++ b/dev-python/pypy3_9-exe/pypy3_9-exe-7.3.13.ebuild
@@ -37,6 +37,7 @@ DEPEND="
 "
 BDEPEND="
dev-python/pypy
+   virtual/pkgconfig
 "
 
 check_env() {



[gentoo-commits] repo/gentoo:master commit in: dev-python/pypy3_9/

2023-11-02 Thread Michał Górny
commit: 82d89b4972db3531ea4fe1df8812bcd7cec5d7e8
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Nov  2 12:53:10 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Nov  2 12:58:11 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82d89b49

dev-python/pypy3_9: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pypy3_9/Manifest |   2 -
 dev-python/pypy3_9/pypy3_9-7.3.12_p2.ebuild | 209 
 2 files changed, 211 deletions(-)

diff --git a/dev-python/pypy3_9/Manifest b/dev-python/pypy3_9/Manifest
index 2703fd7cce07..ef3b3502ebdf 100644
--- a/dev-python/pypy3_9/Manifest
+++ b/dev-python/pypy3_9/Manifest
@@ -1,4 +1,2 @@
-DIST pypy3.9-gentoo-patches-7.3.12_p2.tar.xz 14832 BLAKE2B 
e142221967f501dea771c8e02b7e57f704945b9c2a4fa7f84d2a702f911cc798ffafafc88bbe04ef89a71d218d28ad98b4cbee9fe822e81199d55c9891292967
 SHA512 
2e3a1a972775a89e9cf42d8177f607fe4aa4f245261dd9e3e8256697ddaf5271a2aa3d73bdb62e93de9c62fa4e6969d517e812507e865947fd1b649ec0f1d426
 DIST pypy3.9-gentoo-patches-7.3.13.tar.xz 7476 BLAKE2B 
70f80c489686e92e933a200d2e92a095a80e2300814ec4e1f3cb31ec5f5500a45667f7bfe9570ea5eef3933fdda33a9930bdf2cf683c28e3ddb610bebeeca6dd
 SHA512 
5170f5141beb93b3b37cc94f85324c88182967eaff2f8ca26b81d63d5b0d20414a139ca44c250c07b46c747e27c97fd0fe5a2365f6636aba2dd28df3bc55cdca
-DIST pypy3.9-v7.3.12-src.tar.bz2 23528145 BLAKE2B 
28cc42b10d6a84c441af673e1a0dc6d19e09daa1da9249a7fec39a9aaccbe5010a3586068ae0b10cd402b72e5acc58998469d5c99019caa41399951c2a221e26
 SHA512 
8e819a1ec3f3ce7fc5f901fb554660288a57e2a4834a3da35c1a57faf88ef4129240628a58334d2e0c2b1dda412da5d85ec943abe8046c0ce5d0cd0a0f7fc42a
 DIST pypy3.9-v7.3.13-src.tar.bz2 23452374 BLAKE2B 
b5ce8dd78e4851b5c7fa6aa0c6f2f5c198a3b2d1e4691ccb20d1b229397d60ac41eaecef37f7c76e4de837876bdd6c1e4276302afc292080e0a38f1a58869580
 SHA512 
04b184050625f06d2acaa836a786db788c4f658f3384ebde176d0acc95044ee83dbf7193ebab1e4fd6275bed7a590d3945482294be32d8f94e8c541e053dce59

diff --git a/dev-python/pypy3_9/pypy3_9-7.3.12_p2.ebuild 
b/dev-python/pypy3_9/pypy3_9-7.3.12_p2.ebuild
deleted file mode 100644
index 1c6eec918ff3..
--- a/dev-python/pypy3_9/pypy3_9-7.3.12_p2.ebuild
+++ /dev/null
@@ -1,209 +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.9
-MY_P="pypy${PYVER}-v${PYPY_PV/_}"
-PATCHSET="pypy${PYVER}-gentoo-patches-${PV/_rc/rc}"
-
-DESCRIPTION="A fast, compliant alternative implementation of the Python 
(${PYVER}) language"
-HOMEPAGE="
-   https://www.pypy.org/
-   https://foss.heptapod.net/pypy/pypy/
-"
-SRC_URI="
-   https://buildbot.pypy.org/pypy/${MY_P}-src.tar.bz2
-   https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz
-"
-S="${WORKDIR}/${MY_P}-src"
-
-LICENSE="MIT"
-# pypy3 -c 'import sysconfig; print(sysconfig.get_config_var("SOABI"))'
-# also check pypy/interpreter/pycode.py -> pypy_incremental_magic
-SLOT="0/pypy39-pp73-336"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="+ensurepip gdbm +jit ncurses sqlite tk"
-# many tests are failing upstream
-# see https://buildbot.pypy.org/summary?branch=py${PYVER}
-RESTRICT="test"
-
-RDEPEND="
-   || (
-   >=dev-python/${PN}-exe-${PYPY_PV}:${PYPY_PV}[bzip2(+),ncurses?]
-   >=dev-python/${PN}-exe-bin-${PYPY_PV}:${PYPY_PV}
-   )
-   dev-lang/python-exec[python_targets_pypy3(-)]
-   dev-libs/openssl:0=
-   dev-python/gentoo-common
-   ensurepip? ( dev-python/ensurepip-wheels )
-   gdbm? ( sys-libs/gdbm:0= )
-   sqlite? ( dev-db/sqlite:3= )
-   tk? (
-   dev-lang/tk:0=
-   dev-tcltk/tix:0=
-   )
-   ! 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=$(

[gentoo-commits] repo/gentoo:master commit in: dev-python/pypy3_9-exe/

2023-11-02 Thread Michał Górny
commit: 54c9c7a89244719377bcfb296641c49a5ad43f59
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Nov  2 12:53:21 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Nov  2 12:58:12 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54c9c7a8

dev-python/pypy3_9-exe: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pypy3_9-exe/Manifest  |   2 -
 dev-python/pypy3_9-exe/pypy3_9-exe-7.3.12.ebuild | 127 ---
 2 files changed, 129 deletions(-)

diff --git a/dev-python/pypy3_9-exe/Manifest b/dev-python/pypy3_9-exe/Manifest
index 201370adbea6..ef3b3502ebdf 100644
--- a/dev-python/pypy3_9-exe/Manifest
+++ b/dev-python/pypy3_9-exe/Manifest
@@ -1,4 +1,2 @@
-DIST pypy3.9-gentoo-patches-7.3.12.tar.xz 7472 BLAKE2B 
3948dc62af0b48c77e86cf25113363984ffcf118ca0ea797807a34d509223c6449edc66a835bd550cbdbb41c2c7386f2c56479b26e60effcf1c3a315ed113d0e
 SHA512 
37f935d02a08c88aeab0337eb48a543c02cae37af5c0e692dda899f1b7acb811cf7d6c4d162829d6876d926d9cf376c522ec28ea7fb8957ca9a3ea7654262302
 DIST pypy3.9-gentoo-patches-7.3.13.tar.xz 7476 BLAKE2B 
70f80c489686e92e933a200d2e92a095a80e2300814ec4e1f3cb31ec5f5500a45667f7bfe9570ea5eef3933fdda33a9930bdf2cf683c28e3ddb610bebeeca6dd
 SHA512 
5170f5141beb93b3b37cc94f85324c88182967eaff2f8ca26b81d63d5b0d20414a139ca44c250c07b46c747e27c97fd0fe5a2365f6636aba2dd28df3bc55cdca
-DIST pypy3.9-v7.3.12-src.tar.bz2 23528145 BLAKE2B 
28cc42b10d6a84c441af673e1a0dc6d19e09daa1da9249a7fec39a9aaccbe5010a3586068ae0b10cd402b72e5acc58998469d5c99019caa41399951c2a221e26
 SHA512 
8e819a1ec3f3ce7fc5f901fb554660288a57e2a4834a3da35c1a57faf88ef4129240628a58334d2e0c2b1dda412da5d85ec943abe8046c0ce5d0cd0a0f7fc42a
 DIST pypy3.9-v7.3.13-src.tar.bz2 23452374 BLAKE2B 
b5ce8dd78e4851b5c7fa6aa0c6f2f5c198a3b2d1e4691ccb20d1b229397d60ac41eaecef37f7c76e4de837876bdd6c1e4276302afc292080e0a38f1a58869580
 SHA512 
04b184050625f06d2acaa836a786db788c4f658f3384ebde176d0acc95044ee83dbf7193ebab1e4fd6275bed7a590d3945482294be32d8f94e8c541e053dce59

diff --git a/dev-python/pypy3_9-exe/pypy3_9-exe-7.3.12.ebuild 
b/dev-python/pypy3_9-exe/pypy3_9-exe-7.3.12.ebuild
deleted file mode 100644
index b9174fee3c95..
--- a/dev-python/pypy3_9-exe/pypy3_9-exe-7.3.12.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.9
-MY_P="pypy${PYVER}-v${PYPY_PV/_}"
-PATCHSET="pypy${PYVER}-gentoo-patches-${PV/_}"
-
-DESCRIPTION="PyPy3 executable (build from source)"
-HOMEPAGE="https://www.pypy.org/;
-SRC_URI="
-   https://buildbot.pypy.org/pypy/${MY_P}-src.tar.bz2
-   https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz
-"
-S="${WORKDIR}/${MY_P}-src"
-
-LICENSE="MIT"
-SLOT="${PYPY_PV}"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="+jit low-memory ncurses cpu_flags_x86_sse2"
-
-RDEPEND="
-   app-arch/bzip2:0=
-   dev-libs/expat:0=
-   dev-libs/libffi:0=
-   >=sys-libs/zlib-1.1.3:0=
-   virtual/libintl:0=
-   ncurses? ( sys-libs/ncurses:0= )
-   !dev-python/pypy3-exe-bin:${SLOT}
-"
-DEPEND="
-   ${RDEPEND}
-"
-BDEPEND="
-   dev-python/pypy
-"
-
-check_env() {
-   if use low-memory; then
-   CHECKREQS_MEMORY="1750M"
-   use amd64 && CHECKREQS_MEMORY="3500M"
-   else
-   CHECKREQS_MEMORY="3G"
-   use amd64 && CHECKREQS_MEMORY="6G"
-   fi
-
-   check-reqs_pkg_pretend
-}
-
-pkg_pretend() {
-   [[ ${MERGE_TYPE} != binary ]] && check_env
-}
-
-pkg_setup() {
-   [[ ${MERGE_TYPE} != binary ]] && check_env
-}
-
-src_prepare() {
-   local PATCHES=(
-   "${WORKDIR}/${PATCHSET}"
-   )
-   default
-}
-
-src_configure() {
-   tc-export CC
-
-   local jit_backend
-   if use jit; then
-   jit_backend='--jit-backend='
-
-   # We only need the explicit sse2 switch for x86.
-   # On other arches we can rely on autodetection which uses
-   # compiler macros. Plus, --jit-backend= doesn't accept all
-   # the modern values...
-
-   if use x86; then
-   if use cpu_flags_x86_sse2; then
-   jit_backend+=x86
-   else
-   jit_backend+=x86-without-sse2
-   fi
-   else
-   jit_backend+=auto
-   fi
-   fi
-
-   local args=(
-   --no-shared
-   $(usex jit -Ojit -O2)
-
-   ${jit_backend}
-
-   pypy/goal/targetpypystandalone
-   --withmod-bz2
-   $(usex ncurses --with{,out}mod-_minimal_curses)
-   )
-
-   local interp=( pypy )
-   if use low-memory; then
-   local -x PYPY_GC_MAX_DELTA=200MB
-   

[gentoo-commits] repo/gentoo:master commit in: dev-python/pypy3_9-exe-bin/

2023-11-02 Thread Michał Górny
commit: 786ee7b92802c3853c144d53861955fc571f4b51
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Nov  2 12:53:29 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Nov  2 12:58:12 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=786ee7b9

dev-python/pypy3_9-exe-bin: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pypy3_9-exe-bin/Manifest|  8 ---
 .../pypy3_9-exe-bin/pypy3_9-exe-bin-7.3.12.ebuild  | 82 --
 2 files changed, 90 deletions(-)

diff --git a/dev-python/pypy3_9-exe-bin/Manifest 
b/dev-python/pypy3_9-exe-bin/Manifest
index 4bb3956e3e5c..e63e559e559e 100644
--- a/dev-python/pypy3_9-exe-bin/Manifest
+++ b/dev-python/pypy3_9-exe-bin/Manifest
@@ -1,11 +1,3 @@
-DIST pypy3_9-exe-7.3.12-1.amd64-musl.gpkg.tar 11776000 BLAKE2B 
cf5527ce75ae59ff056489ab5456ac15eeb8e71028834b77266e99f5ec85e77651839a1e4956fd7600a3a8aaed031379b5cee38afd98656da3921e971739c061
 SHA512 
5537fe441b7f12cc99ccbf5d6efcc02e03efe1925fd11e42234d1ad040f0ab75f058cc4937233a3e1e967e58ae9a91cdd807f2edec932752975f9dba1ed1378c
-DIST pypy3_9-exe-7.3.12-1.amd64.gpkg.tar 11765760 BLAKE2B 
fa4f6d2da905c70517fac775caa85e2f9903318c87b04e5d450efedc0b566785ec0f2b2ee2df428cb613643b293681d45d267a1eae57a504d6af4b8ce4f7d9d2
 SHA512 
4f1c995599d699238ce89380eff96afd0ec86850c02f023a7cfa84ec975c3b8a17e90e5b23a1f00cfd4ef8625891e00e1244d07a5a72f9380184c0fdaba30c73
-DIST pypy3_9-exe-7.3.12-1.arm64-musl.gpkg.tar 9830400 BLAKE2B 
6f3af7ba9d825489399bea27b78602662a45806cc07c34d85878ffb246c9bea0f4f262b6b47dd358aff1a3df2676eb47ee411bbd781a97cb587c7a569dbefdb4
 SHA512 
18c752e15eb6714bf2d89922dce52d3e1e9a87a32f96752cc135354465976757c4847da5682bce33e7db5ee938d87014558c99d5d62f4b320a518038d9c17da8
-DIST pypy3_9-exe-7.3.12-1.arm64.gpkg.tar 9830400 BLAKE2B 
68d29046f528e2081ed1a141f7d7a8adbd0a101390622d19546bcd6a87fbcfedb9966d3a0c1b95a4d2feb4b1a43bddb99229460e41da6f66b801fee7cddb16da
 SHA512 
091e4592dd976cabc957ffc8dae0aeb7e43eb2ae5091e041c92007c5e8444fbe34d1d6251e0d047b75055f34342f209d28cbbc994b63c33d5558939d79127f00
-DIST pypy3_9-exe-7.3.12-1.ppc64le-musl.gpkg.tar 6359040 BLAKE2B 
44c5c98a1b21e13638f6fc78fa65f8d2a1805bb814a695a0e1a1e729b590e66254b0ae96ae53ee77f8b3cecaf164d27d36a497333030d73e2afeb295f67b
 SHA512 
f5fda1d200f29986e48aab03db0adcd0051cdf4795f231c453462fddeaaf75c4a2e4bcb4e08f997f1672e1fcf2652a02635eea5cd124d990de76e93409faef0c
-DIST pypy3_9-exe-7.3.12-1.ppc64le.gpkg.tar 10106880 BLAKE2B 
fb6b6520b30ef7db9be1737b4b09a793f6312e37a26aff40e60b509c9b90356dbe376da2679891c4e6a1e469e2877ff5791b25955f25f39d1ad698760d288662
 SHA512 
3ef689bce8b30e50eef81da6ce6989540d2008b214074933d71bfcb9622ab2d233dc24d36db4b94a4940546b5c398cfd726bec9d82515326cf18507ed9a4c1a5
-DIST pypy3_9-exe-7.3.12-1.x86-musl.gpkg.tar 8775680 BLAKE2B 
159b68f1ff2b27ec172dd3feb2eb1e44e30ab16e9bfe0dce887e79eb8cc2ceb438735614f9b1681976fc6304fef798cac23cc81379edd84bfcbbcb65280aada7
 SHA512 
86b91e6323b8e25af30bc237eeda24f213592b5d2a6f52a89e71cdcb6b83a2b1b9ff35f46ee5e4a50d74852f1a2075749f775ff1a3ce02cd05f8e9e13f14a03e
-DIST pypy3_9-exe-7.3.12-1.x86.gpkg.tar 8714240 BLAKE2B 
60847cfad5d5c8d988ab3b4f79c508e47445ab8321fa4700c3bfc3727a57d55a201bff0d74740e9ffc5d2e679bb1653b81ab22a35f8fb71bfb43c2d1add5e4c9
 SHA512 
bc04225b35b82b917d8186c1ed7fa892beaedcafb831f1eb6a134f54778ff973888d51f9107a892c7d6a3fbfc7c792f4089ba9e76fcdb18b6f1d53d98b9037d3
 DIST pypy3_9-exe-7.3.13-1.amd64-musl.gpkg.tar 11765760 BLAKE2B 
da943b5076815132a99de6d7a4a5f7c0ddb468802fa53a9c5348ac9447562e1716c171dd0cddba6445e6e284562bf662e069444b85054a6d98b5d15c48d6a1ee
 SHA512 
a26e835001728b31128a9cb485575a179de040ac0a6f77ac7fc80520c74c902b98011433aad49834cd86ad877917b9a5ad057dee328b9e15a8a2d68054e243ac
 DIST pypy3_9-exe-7.3.13-1.amd64.gpkg.tar 11745280 BLAKE2B 
2bfeec0f00e099b1ce41436943dba305f12d39802237b9da6749c06a82f5dfab52b06286fa7cdc6314b0c48c5bacd458dd304386a16c4061d40120c2ceac8f93
 SHA512 
1dbff0d9ba0e5309e50d7d6c6d0fc043c6ddad55a2eb4d8fa4c12146c3577d8f5d3046949434c4bea03c654fe1a435133add567a1adf8bfa30e1519a739fa8eb
 DIST pypy3_9-exe-7.3.13-1.arm64-musl.gpkg.tar 9779200 BLAKE2B 
3f0e43c0a5e948fece7b3a338d2ce5d326efbeabef4a876678ee37317c022b156d59bb2f3eb7909476abc869616806b0c0da0a6170d9fe2bfa00a689b315779e
 SHA512 
539284698c256d60e3f34190d5cfd54999574e7d5ccb37a3695a7e08dc5018f680215fbad4b6118c11d9606ec65e5d79bcbcd1e02264b989bde4b85d683aaff6

diff --git a/dev-python/pypy3_9-exe-bin/pypy3_9-exe-bin-7.3.12.ebuild 
b/dev-python/pypy3_9-exe-bin/pypy3_9-exe-bin-7.3.12.ebuild
deleted file mode 100644
index cb99c4b6d977..
--- a/dev-python/pypy3_9-exe-bin/pypy3_9-exe-bin-7.3.12.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.9
-MY_P=pypy3_9-exe-${PV}-1
-
-DESCRIPTION="PyPy3 executable (pre-built version)"
-HOMEPAGE="https://www.pypy.org/;
-SRC_URI="
-   elibc_glibc? (
-

[gentoo-commits] repo/gentoo:master commit in: dev-python/pypy3_9/

2023-10-06 Thread Michał Górny
commit: 8a7fc7fa6f5069e844b6c52753d7f55fbfd1
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Oct  6 14:50:42 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Oct  6 15:07:30 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a7fc788

dev-python/pypy3_9: Fix missing test extensions

Signed-off-by: Michał Górny  gentoo.org>

 .../pypy3_9/{pypy3_9-7.3.13.ebuild => pypy3_9-7.3.13-r1.ebuild} | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/dev-python/pypy3_9/pypy3_9-7.3.13.ebuild 
b/dev-python/pypy3_9/pypy3_9-7.3.13-r1.ebuild
similarity index 97%
rename from dev-python/pypy3_9/pypy3_9-7.3.13.ebuild
rename to dev-python/pypy3_9/pypy3_9-7.3.13-r1.ebuild
index 1c6eec918ff3..b75fb0c938f5 100644
--- a/dev-python/pypy3_9/pypy3_9-7.3.13.ebuild
+++ b/dev-python/pypy3_9/pypy3_9-7.3.13-r1.ebuild
@@ -123,7 +123,7 @@ src_compile() {
cffi_targets=(
pypy_util blake2/_blake2 sha3/_sha3 ssl
audioop syslog pwdgrp resource lzma posixshmem
-   testmultiphase
+   ctypes_test testmultiphase
)
use gdbm && cffi_targets+=( gdbm )
use ncurses && cffi_targets+=( curses )
@@ -138,6 +138,8 @@ src_compile() {
# tkinter doesn't work via -m
../pypy${PYVER}-c "_${t}_build.py" || die "Failed to build CFFI 
bindings for ${t}"
done
+   # testcapi does not have a "build" script
+   ../pypy${PYVER}-c -c "import _testcapi" || die
 
# Verify that CFFI module list is up-to-date
local expected_cksum=63d4659f
@@ -154,7 +156,7 @@ src_compile() {
fi
 
# Cleanup temporary objects
-   find -name "*_cffi.[co]" -delete || die
+   find \( -name "*_cffi.c" -o -name '*.o' \) -delete || die
find -type d -empty -delete || die
 }
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pypy3_9/

2023-09-30 Thread Michał Górny
commit: 0246c0f5d2890a7675d9e50254a2503aae9336af
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Sep 30 03:53:42 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Sep 30 08:27:38 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0246c0f5

dev-python/pypy3_9: Bump to 7.3.13

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pypy3_9/Manifest  |   2 +
 dev-python/pypy3_9/pypy3_9-7.3.13.ebuild | 209 +++
 2 files changed, 211 insertions(+)

diff --git a/dev-python/pypy3_9/Manifest b/dev-python/pypy3_9/Manifest
index 7d957b38afeb..2703fd7cce07 100644
--- a/dev-python/pypy3_9/Manifest
+++ b/dev-python/pypy3_9/Manifest
@@ -1,2 +1,4 @@
 DIST pypy3.9-gentoo-patches-7.3.12_p2.tar.xz 14832 BLAKE2B 
e142221967f501dea771c8e02b7e57f704945b9c2a4fa7f84d2a702f911cc798ffafafc88bbe04ef89a71d218d28ad98b4cbee9fe822e81199d55c9891292967
 SHA512 
2e3a1a972775a89e9cf42d8177f607fe4aa4f245261dd9e3e8256697ddaf5271a2aa3d73bdb62e93de9c62fa4e6969d517e812507e865947fd1b649ec0f1d426
+DIST pypy3.9-gentoo-patches-7.3.13.tar.xz 7476 BLAKE2B 
70f80c489686e92e933a200d2e92a095a80e2300814ec4e1f3cb31ec5f5500a45667f7bfe9570ea5eef3933fdda33a9930bdf2cf683c28e3ddb610bebeeca6dd
 SHA512 
5170f5141beb93b3b37cc94f85324c88182967eaff2f8ca26b81d63d5b0d20414a139ca44c250c07b46c747e27c97fd0fe5a2365f6636aba2dd28df3bc55cdca
 DIST pypy3.9-v7.3.12-src.tar.bz2 23528145 BLAKE2B 
28cc42b10d6a84c441af673e1a0dc6d19e09daa1da9249a7fec39a9aaccbe5010a3586068ae0b10cd402b72e5acc58998469d5c99019caa41399951c2a221e26
 SHA512 
8e819a1ec3f3ce7fc5f901fb554660288a57e2a4834a3da35c1a57faf88ef4129240628a58334d2e0c2b1dda412da5d85ec943abe8046c0ce5d0cd0a0f7fc42a
+DIST pypy3.9-v7.3.13-src.tar.bz2 23452374 BLAKE2B 
b5ce8dd78e4851b5c7fa6aa0c6f2f5c198a3b2d1e4691ccb20d1b229397d60ac41eaecef37f7c76e4de837876bdd6c1e4276302afc292080e0a38f1a58869580
 SHA512 
04b184050625f06d2acaa836a786db788c4f658f3384ebde176d0acc95044ee83dbf7193ebab1e4fd6275bed7a590d3945482294be32d8f94e8c541e053dce59

diff --git a/dev-python/pypy3_9/pypy3_9-7.3.13.ebuild 
b/dev-python/pypy3_9/pypy3_9-7.3.13.ebuild
new file mode 100644
index ..1c6eec918ff3
--- /dev/null
+++ b/dev-python/pypy3_9/pypy3_9-7.3.13.ebuild
@@ -0,0 +1,209 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit pax-utils python-utils-r1 toolchain-funcs
+
+PYPY_PV=${PV%_p*}
+PYVER=3.9
+MY_P="pypy${PYVER}-v${PYPY_PV/_}"
+PATCHSET="pypy${PYVER}-gentoo-patches-${PV/_rc/rc}"
+
+DESCRIPTION="A fast, compliant alternative implementation of the Python 
(${PYVER}) language"
+HOMEPAGE="
+   https://www.pypy.org/
+   https://foss.heptapod.net/pypy/pypy/
+"
+SRC_URI="
+   https://buildbot.pypy.org/pypy/${MY_P}-src.tar.bz2
+   https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz
+"
+S="${WORKDIR}/${MY_P}-src"
+
+LICENSE="MIT"
+# pypy3 -c 'import sysconfig; print(sysconfig.get_config_var("SOABI"))'
+# also check pypy/interpreter/pycode.py -> pypy_incremental_magic
+SLOT="0/pypy39-pp73-336"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="+ensurepip gdbm +jit ncurses sqlite tk"
+# many tests are failing upstream
+# see https://buildbot.pypy.org/summary?branch=py${PYVER}
+RESTRICT="test"
+
+RDEPEND="
+   || (
+   >=dev-python/${PN}-exe-${PYPY_PV}:${PYPY_PV}[bzip2(+),ncurses?]
+   >=dev-python/${PN}-exe-bin-${PYPY_PV}:${PYPY_PV}
+   )
+   dev-lang/python-exec[python_targets_pypy3(-)]
+   dev-libs/openssl:0=
+   dev-python/gentoo-common
+   ensurepip? ( dev-python/ensurepip-wheels )
+   gdbm? ( sys-libs/gdbm:0= )
+   sqlite? ( dev-db/sqlite:3= )
+   tk? (
+   dev-lang/tk:0=
+   dev-tcltk/tix:0=
+   )
+   ! 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=$(

[gentoo-commits] repo/gentoo:master commit in: dev-python/pypy3_9-exe-bin/

2023-09-30 Thread Michał Górny
commit: 44974728e35f11fbbea1105bbd0aa712bc05dd3d
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Sep 30 08:05:20 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Sep 30 08:27:41 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44974728

dev-python/pypy3_9-exe-bin: Bump to 7.3.13

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pypy3_9-exe-bin/Manifest|  8 +++
 .../pypy3_9-exe-bin/pypy3_9-exe-bin-7.3.13.ebuild  | 82 ++
 2 files changed, 90 insertions(+)

diff --git a/dev-python/pypy3_9-exe-bin/Manifest 
b/dev-python/pypy3_9-exe-bin/Manifest
index b86a0c8a349e..4bb3956e3e5c 100644
--- a/dev-python/pypy3_9-exe-bin/Manifest
+++ b/dev-python/pypy3_9-exe-bin/Manifest
@@ -6,3 +6,11 @@ DIST pypy3_9-exe-7.3.12-1.ppc64le-musl.gpkg.tar 6359040 
BLAKE2B 44c5c98a1b21e136
 DIST pypy3_9-exe-7.3.12-1.ppc64le.gpkg.tar 10106880 BLAKE2B 
fb6b6520b30ef7db9be1737b4b09a793f6312e37a26aff40e60b509c9b90356dbe376da2679891c4e6a1e469e2877ff5791b25955f25f39d1ad698760d288662
 SHA512 
3ef689bce8b30e50eef81da6ce6989540d2008b214074933d71bfcb9622ab2d233dc24d36db4b94a4940546b5c398cfd726bec9d82515326cf18507ed9a4c1a5
 DIST pypy3_9-exe-7.3.12-1.x86-musl.gpkg.tar 8775680 BLAKE2B 
159b68f1ff2b27ec172dd3feb2eb1e44e30ab16e9bfe0dce887e79eb8cc2ceb438735614f9b1681976fc6304fef798cac23cc81379edd84bfcbbcb65280aada7
 SHA512 
86b91e6323b8e25af30bc237eeda24f213592b5d2a6f52a89e71cdcb6b83a2b1b9ff35f46ee5e4a50d74852f1a2075749f775ff1a3ce02cd05f8e9e13f14a03e
 DIST pypy3_9-exe-7.3.12-1.x86.gpkg.tar 8714240 BLAKE2B 
60847cfad5d5c8d988ab3b4f79c508e47445ab8321fa4700c3bfc3727a57d55a201bff0d74740e9ffc5d2e679bb1653b81ab22a35f8fb71bfb43c2d1add5e4c9
 SHA512 
bc04225b35b82b917d8186c1ed7fa892beaedcafb831f1eb6a134f54778ff973888d51f9107a892c7d6a3fbfc7c792f4089ba9e76fcdb18b6f1d53d98b9037d3
+DIST pypy3_9-exe-7.3.13-1.amd64-musl.gpkg.tar 11765760 BLAKE2B 
da943b5076815132a99de6d7a4a5f7c0ddb468802fa53a9c5348ac9447562e1716c171dd0cddba6445e6e284562bf662e069444b85054a6d98b5d15c48d6a1ee
 SHA512 
a26e835001728b31128a9cb485575a179de040ac0a6f77ac7fc80520c74c902b98011433aad49834cd86ad877917b9a5ad057dee328b9e15a8a2d68054e243ac
+DIST pypy3_9-exe-7.3.13-1.amd64.gpkg.tar 11745280 BLAKE2B 
2bfeec0f00e099b1ce41436943dba305f12d39802237b9da6749c06a82f5dfab52b06286fa7cdc6314b0c48c5bacd458dd304386a16c4061d40120c2ceac8f93
 SHA512 
1dbff0d9ba0e5309e50d7d6c6d0fc043c6ddad55a2eb4d8fa4c12146c3577d8f5d3046949434c4bea03c654fe1a435133add567a1adf8bfa30e1519a739fa8eb
+DIST pypy3_9-exe-7.3.13-1.arm64-musl.gpkg.tar 9779200 BLAKE2B 
3f0e43c0a5e948fece7b3a338d2ce5d326efbeabef4a876678ee37317c022b156d59bb2f3eb7909476abc869616806b0c0da0a6170d9fe2bfa00a689b315779e
 SHA512 
539284698c256d60e3f34190d5cfd54999574e7d5ccb37a3695a7e08dc5018f680215fbad4b6118c11d9606ec65e5d79bcbcd1e02264b989bde4b85d683aaff6
+DIST pypy3_9-exe-7.3.13-1.arm64.gpkg.tar 9799680 BLAKE2B 
bd32484e9a576bcf2c36df0558a08eddde37b89d7f4e9aa86db61db7646a3adb4a5984f8dcbdef0135c8507a92b367047c77fdf90a5df438ee3c740aee9c2125
 SHA512 
cbb6a64452ffa80e2cb9d3c9a24f24ee4b7f0718e48ae03bbbe7a2dffbc200fff83c43b11c2b226392850c898ca7ce6427256354eceb9a4260d6633815a84319
+DIST pypy3_9-exe-7.3.13-1.ppc64le-musl.gpkg.tar 6389760 BLAKE2B 
1eb0a9aed7e282277fc8afaee1cb3db20f93363fb93c16b69c1398b6a859bcddaab1e219eccfee466bff657ef253f826886bc13cbc034b885314200d9b9ec9be
 SHA512 
48f1655a610b3a1fac8b8d559659ae524e57535e1a72c0daa4d2742119de6172f2d81c4f28cee90bbf7c43b1de3350dfff74b0d50107afd17009cd10c7223632
+DIST pypy3_9-exe-7.3.13-1.ppc64le.gpkg.tar 9963520 BLAKE2B 
07e02711f40e336077162887f1e39e761c295ef13300be46871082a4ecc998bedabbca38aba2a22d76899dd367d25194cf60f5ebe75fd89306c6661beaf4383e
 SHA512 
939850b6d1c4acf634e9fb7eacabefb4888938fda2e333dd658e46304b281619b737cf3b5c1969c4114269a5a2ad90a193a1e7ca3bf57d67c4b777d308997cdf
+DIST pypy3_9-exe-7.3.13-1.x86-musl.gpkg.tar 8704000 BLAKE2B 
22e5b403fe30d147d4eeff43b4ff010f5234a759a4383d2131a04e871039ac19f0c9918f43d2958554c0d25c2a1ad5532ab90a11bb2b401ec00f804b8a4f0b58
 SHA512 
3e9f5f3529473beaa13e1c473743449d08eb636f45fe6f94ecd5dc3560f2b48bd46ba9dc7aef9fbb54c94fd822e1835f0b58b611522a5349d54e5c509a5c1384
+DIST pypy3_9-exe-7.3.13-1.x86.gpkg.tar 8642560 BLAKE2B 
c5f481f79ba67c5250d6d72d3582ff72be3f55516f14acbfe6720b65d7d6b1464c9a2703f7bb75e9479c5a1e83b07f0c6fa628a55a019eeb9ac939cb68275e99
 SHA512 
0eadc7cf710c2c02ef9c0ba7ae0c45a9055bb65f0f341d5039e41934d3217b0cd92ee169569205a7b14217f92e91da9b8d376b0dfb25c6c41be150771711ba36

diff --git a/dev-python/pypy3_9-exe-bin/pypy3_9-exe-bin-7.3.13.ebuild 
b/dev-python/pypy3_9-exe-bin/pypy3_9-exe-bin-7.3.13.ebuild
new file mode 100644
index ..cb99c4b6d977
--- /dev/null
+++ b/dev-python/pypy3_9-exe-bin/pypy3_9-exe-bin-7.3.13.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit pax-utils unpacker
+
+PYVER=3.9
+MY_P=pypy3_9-exe-${PV}-1
+
+DESCRIPTION="PyPy3 executable (pre-built version)"

[gentoo-commits] repo/gentoo:master commit in: dev-python/pypy3_9-exe/

2023-09-30 Thread Michał Górny
commit: f62bbc19328414fcf31820ec107cda2286ed736f
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Sep 30 03:53:25 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Sep 30 08:27:37 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f62bbc19

dev-python/pypy3_9-exe: Bump to 7.3.13

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pypy3_9-exe/Manifest  |   2 +
 dev-python/pypy3_9-exe/pypy3_9-exe-7.3.13.ebuild | 127 +++
 2 files changed, 129 insertions(+)

diff --git a/dev-python/pypy3_9-exe/Manifest b/dev-python/pypy3_9-exe/Manifest
index d6ecf4eb15a9..201370adbea6 100644
--- a/dev-python/pypy3_9-exe/Manifest
+++ b/dev-python/pypy3_9-exe/Manifest
@@ -1,2 +1,4 @@
 DIST pypy3.9-gentoo-patches-7.3.12.tar.xz 7472 BLAKE2B 
3948dc62af0b48c77e86cf25113363984ffcf118ca0ea797807a34d509223c6449edc66a835bd550cbdbb41c2c7386f2c56479b26e60effcf1c3a315ed113d0e
 SHA512 
37f935d02a08c88aeab0337eb48a543c02cae37af5c0e692dda899f1b7acb811cf7d6c4d162829d6876d926d9cf376c522ec28ea7fb8957ca9a3ea7654262302
+DIST pypy3.9-gentoo-patches-7.3.13.tar.xz 7476 BLAKE2B 
70f80c489686e92e933a200d2e92a095a80e2300814ec4e1f3cb31ec5f5500a45667f7bfe9570ea5eef3933fdda33a9930bdf2cf683c28e3ddb610bebeeca6dd
 SHA512 
5170f5141beb93b3b37cc94f85324c88182967eaff2f8ca26b81d63d5b0d20414a139ca44c250c07b46c747e27c97fd0fe5a2365f6636aba2dd28df3bc55cdca
 DIST pypy3.9-v7.3.12-src.tar.bz2 23528145 BLAKE2B 
28cc42b10d6a84c441af673e1a0dc6d19e09daa1da9249a7fec39a9aaccbe5010a3586068ae0b10cd402b72e5acc58998469d5c99019caa41399951c2a221e26
 SHA512 
8e819a1ec3f3ce7fc5f901fb554660288a57e2a4834a3da35c1a57faf88ef4129240628a58334d2e0c2b1dda412da5d85ec943abe8046c0ce5d0cd0a0f7fc42a
+DIST pypy3.9-v7.3.13-src.tar.bz2 23452374 BLAKE2B 
b5ce8dd78e4851b5c7fa6aa0c6f2f5c198a3b2d1e4691ccb20d1b229397d60ac41eaecef37f7c76e4de837876bdd6c1e4276302afc292080e0a38f1a58869580
 SHA512 
04b184050625f06d2acaa836a786db788c4f658f3384ebde176d0acc95044ee83dbf7193ebab1e4fd6275bed7a590d3945482294be32d8f94e8c541e053dce59

diff --git a/dev-python/pypy3_9-exe/pypy3_9-exe-7.3.13.ebuild 
b/dev-python/pypy3_9-exe/pypy3_9-exe-7.3.13.ebuild
new file mode 100644
index ..b9174fee3c95
--- /dev/null
+++ b/dev-python/pypy3_9-exe/pypy3_9-exe-7.3.13.ebuild
@@ -0,0 +1,127 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit check-reqs pax-utils toolchain-funcs
+
+PYPY_PV=${PV%_p*}
+PYVER=3.9
+MY_P="pypy${PYVER}-v${PYPY_PV/_}"
+PATCHSET="pypy${PYVER}-gentoo-patches-${PV/_}"
+
+DESCRIPTION="PyPy3 executable (build from source)"
+HOMEPAGE="https://www.pypy.org/;
+SRC_URI="
+   https://buildbot.pypy.org/pypy/${MY_P}-src.tar.bz2
+   https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz
+"
+S="${WORKDIR}/${MY_P}-src"
+
+LICENSE="MIT"
+SLOT="${PYPY_PV}"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="+jit low-memory ncurses cpu_flags_x86_sse2"
+
+RDEPEND="
+   app-arch/bzip2:0=
+   dev-libs/expat:0=
+   dev-libs/libffi:0=
+   >=sys-libs/zlib-1.1.3:0=
+   virtual/libintl:0=
+   ncurses? ( sys-libs/ncurses:0= )
+   !dev-python/pypy3-exe-bin:${SLOT}
+"
+DEPEND="
+   ${RDEPEND}
+"
+BDEPEND="
+   dev-python/pypy
+"
+
+check_env() {
+   if use low-memory; then
+   CHECKREQS_MEMORY="1750M"
+   use amd64 && CHECKREQS_MEMORY="3500M"
+   else
+   CHECKREQS_MEMORY="3G"
+   use amd64 && CHECKREQS_MEMORY="6G"
+   fi
+
+   check-reqs_pkg_pretend
+}
+
+pkg_pretend() {
+   [[ ${MERGE_TYPE} != binary ]] && check_env
+}
+
+pkg_setup() {
+   [[ ${MERGE_TYPE} != binary ]] && check_env
+}
+
+src_prepare() {
+   local PATCHES=(
+   "${WORKDIR}/${PATCHSET}"
+   )
+   default
+}
+
+src_configure() {
+   tc-export CC
+
+   local jit_backend
+   if use jit; then
+   jit_backend='--jit-backend='
+
+   # We only need the explicit sse2 switch for x86.
+   # On other arches we can rely on autodetection which uses
+   # compiler macros. Plus, --jit-backend= doesn't accept all
+   # the modern values...
+
+   if use x86; then
+   if use cpu_flags_x86_sse2; then
+   jit_backend+=x86
+   else
+   jit_backend+=x86-without-sse2
+   fi
+   else
+   jit_backend+=auto
+   fi
+   fi
+
+   local args=(
+   --no-shared
+   $(usex jit -Ojit -O2)
+
+   ${jit_backend}
+
+   pypy/goal/targetpypystandalone
+   --withmod-bz2
+   $(usex ncurses --with{,out}mod-_minimal_curses)
+   )
+
+   local interp=( pypy )
+   if use low-memory; then
+   local -x PYPY_GC_MAX_DELTA=200MB
+   

[gentoo-commits] repo/gentoo:master commit in: dev-python/pypy3_9/

2023-08-26 Thread Michał Górny
commit: 0c93009bb0c39e1d8299d3b36793d71c774c9663
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Aug 26 13:27:41 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Aug 26 13:32:23 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c93009b

dev-python/pypy3_9: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pypy3_9/Manifest |   1 -
 dev-python/pypy3_9/pypy3_9-7.3.12_p1.ebuild | 209 
 2 files changed, 210 deletions(-)

diff --git a/dev-python/pypy3_9/Manifest b/dev-python/pypy3_9/Manifest
index b957f98d668c..7d957b38afeb 100644
--- a/dev-python/pypy3_9/Manifest
+++ b/dev-python/pypy3_9/Manifest
@@ -1,3 +1,2 @@
-DIST pypy3.9-gentoo-patches-7.3.12_p1.tar.xz 8552 BLAKE2B 
99a7bcc52fcaaec1853162b4f65dc2688b2a90e6ede202a6e6a18ceb8ff16fd479781891305479a1c6a7f889cb9a3fb6f5f081d1318231f420cc98f10976b0aa
 SHA512 
2047626612be66a617f073076f4d0b5821ba2d01e955c10df7c97caa53aae67f30fcf6088e3d532c97e805a0be223be2cab16a355970757557100080e5fc658d
 DIST pypy3.9-gentoo-patches-7.3.12_p2.tar.xz 14832 BLAKE2B 
e142221967f501dea771c8e02b7e57f704945b9c2a4fa7f84d2a702f911cc798ffafafc88bbe04ef89a71d218d28ad98b4cbee9fe822e81199d55c9891292967
 SHA512 
2e3a1a972775a89e9cf42d8177f607fe4aa4f245261dd9e3e8256697ddaf5271a2aa3d73bdb62e93de9c62fa4e6969d517e812507e865947fd1b649ec0f1d426
 DIST pypy3.9-v7.3.12-src.tar.bz2 23528145 BLAKE2B 
28cc42b10d6a84c441af673e1a0dc6d19e09daa1da9249a7fec39a9aaccbe5010a3586068ae0b10cd402b72e5acc58998469d5c99019caa41399951c2a221e26
 SHA512 
8e819a1ec3f3ce7fc5f901fb554660288a57e2a4834a3da35c1a57faf88ef4129240628a58334d2e0c2b1dda412da5d85ec943abe8046c0ce5d0cd0a0f7fc42a

diff --git a/dev-python/pypy3_9/pypy3_9-7.3.12_p1.ebuild 
b/dev-python/pypy3_9/pypy3_9-7.3.12_p1.ebuild
deleted file mode 100644
index 1c6eec918ff3..
--- a/dev-python/pypy3_9/pypy3_9-7.3.12_p1.ebuild
+++ /dev/null
@@ -1,209 +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.9
-MY_P="pypy${PYVER}-v${PYPY_PV/_}"
-PATCHSET="pypy${PYVER}-gentoo-patches-${PV/_rc/rc}"
-
-DESCRIPTION="A fast, compliant alternative implementation of the Python 
(${PYVER}) language"
-HOMEPAGE="
-   https://www.pypy.org/
-   https://foss.heptapod.net/pypy/pypy/
-"
-SRC_URI="
-   https://buildbot.pypy.org/pypy/${MY_P}-src.tar.bz2
-   https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz
-"
-S="${WORKDIR}/${MY_P}-src"
-
-LICENSE="MIT"
-# pypy3 -c 'import sysconfig; print(sysconfig.get_config_var("SOABI"))'
-# also check pypy/interpreter/pycode.py -> pypy_incremental_magic
-SLOT="0/pypy39-pp73-336"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="+ensurepip gdbm +jit ncurses sqlite tk"
-# many tests are failing upstream
-# see https://buildbot.pypy.org/summary?branch=py${PYVER}
-RESTRICT="test"
-
-RDEPEND="
-   || (
-   >=dev-python/${PN}-exe-${PYPY_PV}:${PYPY_PV}[bzip2(+),ncurses?]
-   >=dev-python/${PN}-exe-bin-${PYPY_PV}:${PYPY_PV}
-   )
-   dev-lang/python-exec[python_targets_pypy3(-)]
-   dev-libs/openssl:0=
-   dev-python/gentoo-common
-   ensurepip? ( dev-python/ensurepip-wheels )
-   gdbm? ( sys-libs/gdbm:0= )
-   sqlite? ( dev-db/sqlite:3= )
-   tk? (
-   dev-lang/tk:0=
-   dev-tcltk/tix:0=
-   )
-   ! 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=$(

[gentoo-commits] repo/gentoo:master commit in: dev-python/pypy3_9/

2023-08-25 Thread Michał Górny
commit: f1396259b5cd885cbc466fce94d7f5905b8f4653
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Aug 25 09:10:37 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Aug 25 09:13:58 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1396259

dev-python/pypy3_9: Backports from CPython 3.9.18 to 7.3.12_p2

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pypy3_9/Manifest |   1 +
 dev-python/pypy3_9/pypy3_9-7.3.12_p2.ebuild | 209 
 2 files changed, 210 insertions(+)

diff --git a/dev-python/pypy3_9/Manifest b/dev-python/pypy3_9/Manifest
index 15dc112067aa..b957f98d668c 100644
--- a/dev-python/pypy3_9/Manifest
+++ b/dev-python/pypy3_9/Manifest
@@ -1,2 +1,3 @@
 DIST pypy3.9-gentoo-patches-7.3.12_p1.tar.xz 8552 BLAKE2B 
99a7bcc52fcaaec1853162b4f65dc2688b2a90e6ede202a6e6a18ceb8ff16fd479781891305479a1c6a7f889cb9a3fb6f5f081d1318231f420cc98f10976b0aa
 SHA512 
2047626612be66a617f073076f4d0b5821ba2d01e955c10df7c97caa53aae67f30fcf6088e3d532c97e805a0be223be2cab16a355970757557100080e5fc658d
+DIST pypy3.9-gentoo-patches-7.3.12_p2.tar.xz 14832 BLAKE2B 
e142221967f501dea771c8e02b7e57f704945b9c2a4fa7f84d2a702f911cc798ffafafc88bbe04ef89a71d218d28ad98b4cbee9fe822e81199d55c9891292967
 SHA512 
2e3a1a972775a89e9cf42d8177f607fe4aa4f245261dd9e3e8256697ddaf5271a2aa3d73bdb62e93de9c62fa4e6969d517e812507e865947fd1b649ec0f1d426
 DIST pypy3.9-v7.3.12-src.tar.bz2 23528145 BLAKE2B 
28cc42b10d6a84c441af673e1a0dc6d19e09daa1da9249a7fec39a9aaccbe5010a3586068ae0b10cd402b72e5acc58998469d5c99019caa41399951c2a221e26
 SHA512 
8e819a1ec3f3ce7fc5f901fb554660288a57e2a4834a3da35c1a57faf88ef4129240628a58334d2e0c2b1dda412da5d85ec943abe8046c0ce5d0cd0a0f7fc42a

diff --git a/dev-python/pypy3_9/pypy3_9-7.3.12_p2.ebuild 
b/dev-python/pypy3_9/pypy3_9-7.3.12_p2.ebuild
new file mode 100644
index ..1c6eec918ff3
--- /dev/null
+++ b/dev-python/pypy3_9/pypy3_9-7.3.12_p2.ebuild
@@ -0,0 +1,209 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit pax-utils python-utils-r1 toolchain-funcs
+
+PYPY_PV=${PV%_p*}
+PYVER=3.9
+MY_P="pypy${PYVER}-v${PYPY_PV/_}"
+PATCHSET="pypy${PYVER}-gentoo-patches-${PV/_rc/rc}"
+
+DESCRIPTION="A fast, compliant alternative implementation of the Python 
(${PYVER}) language"
+HOMEPAGE="
+   https://www.pypy.org/
+   https://foss.heptapod.net/pypy/pypy/
+"
+SRC_URI="
+   https://buildbot.pypy.org/pypy/${MY_P}-src.tar.bz2
+   https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz
+"
+S="${WORKDIR}/${MY_P}-src"
+
+LICENSE="MIT"
+# pypy3 -c 'import sysconfig; print(sysconfig.get_config_var("SOABI"))'
+# also check pypy/interpreter/pycode.py -> pypy_incremental_magic
+SLOT="0/pypy39-pp73-336"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="+ensurepip gdbm +jit ncurses sqlite tk"
+# many tests are failing upstream
+# see https://buildbot.pypy.org/summary?branch=py${PYVER}
+RESTRICT="test"
+
+RDEPEND="
+   || (
+   >=dev-python/${PN}-exe-${PYPY_PV}:${PYPY_PV}[bzip2(+),ncurses?]
+   >=dev-python/${PN}-exe-bin-${PYPY_PV}:${PYPY_PV}
+   )
+   dev-lang/python-exec[python_targets_pypy3(-)]
+   dev-libs/openssl:0=
+   dev-python/gentoo-common
+   ensurepip? ( dev-python/ensurepip-wheels )
+   gdbm? ( sys-libs/gdbm:0= )
+   sqlite? ( dev-db/sqlite:3= )
+   tk? (
+   dev-lang/tk:0=
+   dev-tcltk/tix:0=
+   )
+   ! 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=$(

[gentoo-commits] repo/gentoo:master commit in: dev-python/pypy3_9/

2023-07-24 Thread Michał Górny
commit: b3d5dea057df57320159e6c260bb1eff7485ac93
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jul 24 11:19:36 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jul 24 11:33:14 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3d5dea0

dev-python/pypy3_9: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pypy3_9/Manifest |   1 -
 dev-python/pypy3_9/pypy3_9-7.3.12-r1.ebuild | 209 
 2 files changed, 210 deletions(-)

diff --git a/dev-python/pypy3_9/Manifest b/dev-python/pypy3_9/Manifest
index dbe2bd81bae9..15dc112067aa 100644
--- a/dev-python/pypy3_9/Manifest
+++ b/dev-python/pypy3_9/Manifest
@@ -1,3 +1,2 @@
-DIST pypy3.9-gentoo-patches-7.3.12.tar.xz 7472 BLAKE2B 
3948dc62af0b48c77e86cf25113363984ffcf118ca0ea797807a34d509223c6449edc66a835bd550cbdbb41c2c7386f2c56479b26e60effcf1c3a315ed113d0e
 SHA512 
37f935d02a08c88aeab0337eb48a543c02cae37af5c0e692dda899f1b7acb811cf7d6c4d162829d6876d926d9cf376c522ec28ea7fb8957ca9a3ea7654262302
 DIST pypy3.9-gentoo-patches-7.3.12_p1.tar.xz 8552 BLAKE2B 
99a7bcc52fcaaec1853162b4f65dc2688b2a90e6ede202a6e6a18ceb8ff16fd479781891305479a1c6a7f889cb9a3fb6f5f081d1318231f420cc98f10976b0aa
 SHA512 
2047626612be66a617f073076f4d0b5821ba2d01e955c10df7c97caa53aae67f30fcf6088e3d532c97e805a0be223be2cab16a355970757557100080e5fc658d
 DIST pypy3.9-v7.3.12-src.tar.bz2 23528145 BLAKE2B 
28cc42b10d6a84c441af673e1a0dc6d19e09daa1da9249a7fec39a9aaccbe5010a3586068ae0b10cd402b72e5acc58998469d5c99019caa41399951c2a221e26
 SHA512 
8e819a1ec3f3ce7fc5f901fb554660288a57e2a4834a3da35c1a57faf88ef4129240628a58334d2e0c2b1dda412da5d85ec943abe8046c0ce5d0cd0a0f7fc42a

diff --git a/dev-python/pypy3_9/pypy3_9-7.3.12-r1.ebuild 
b/dev-python/pypy3_9/pypy3_9-7.3.12-r1.ebuild
deleted file mode 100644
index 1c6eec918ff3..
--- a/dev-python/pypy3_9/pypy3_9-7.3.12-r1.ebuild
+++ /dev/null
@@ -1,209 +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.9
-MY_P="pypy${PYVER}-v${PYPY_PV/_}"
-PATCHSET="pypy${PYVER}-gentoo-patches-${PV/_rc/rc}"
-
-DESCRIPTION="A fast, compliant alternative implementation of the Python 
(${PYVER}) language"
-HOMEPAGE="
-   https://www.pypy.org/
-   https://foss.heptapod.net/pypy/pypy/
-"
-SRC_URI="
-   https://buildbot.pypy.org/pypy/${MY_P}-src.tar.bz2
-   https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz
-"
-S="${WORKDIR}/${MY_P}-src"
-
-LICENSE="MIT"
-# pypy3 -c 'import sysconfig; print(sysconfig.get_config_var("SOABI"))'
-# also check pypy/interpreter/pycode.py -> pypy_incremental_magic
-SLOT="0/pypy39-pp73-336"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="+ensurepip gdbm +jit ncurses sqlite tk"
-# many tests are failing upstream
-# see https://buildbot.pypy.org/summary?branch=py${PYVER}
-RESTRICT="test"
-
-RDEPEND="
-   || (
-   >=dev-python/${PN}-exe-${PYPY_PV}:${PYPY_PV}[bzip2(+),ncurses?]
-   >=dev-python/${PN}-exe-bin-${PYPY_PV}:${PYPY_PV}
-   )
-   dev-lang/python-exec[python_targets_pypy3(-)]
-   dev-libs/openssl:0=
-   dev-python/gentoo-common
-   ensurepip? ( dev-python/ensurepip-wheels )
-   gdbm? ( sys-libs/gdbm:0= )
-   sqlite? ( dev-db/sqlite:3= )
-   tk? (
-   dev-lang/tk:0=
-   dev-tcltk/tix:0=
-   )
-   ! 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=$(

[gentoo-commits] repo/gentoo:master commit in: dev-python/pypy3_9/

2023-07-19 Thread Michał Górny
commit: ac0804f4c37e13a8eff29f302701569143f5a2b4
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jul 19 10:54:56 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jul 19 11:00:05 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac0804f4

dev-python/pypy3_9: Backport venv fixes as 7.3.12_p1

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pypy3_9/Manifest |   1 +
 dev-python/pypy3_9/pypy3_9-7.3.12_p1.ebuild | 209 
 2 files changed, 210 insertions(+)

diff --git a/dev-python/pypy3_9/Manifest b/dev-python/pypy3_9/Manifest
index d6ecf4eb15a9..dbe2bd81bae9 100644
--- a/dev-python/pypy3_9/Manifest
+++ b/dev-python/pypy3_9/Manifest
@@ -1,2 +1,3 @@
 DIST pypy3.9-gentoo-patches-7.3.12.tar.xz 7472 BLAKE2B 
3948dc62af0b48c77e86cf25113363984ffcf118ca0ea797807a34d509223c6449edc66a835bd550cbdbb41c2c7386f2c56479b26e60effcf1c3a315ed113d0e
 SHA512 
37f935d02a08c88aeab0337eb48a543c02cae37af5c0e692dda899f1b7acb811cf7d6c4d162829d6876d926d9cf376c522ec28ea7fb8957ca9a3ea7654262302
+DIST pypy3.9-gentoo-patches-7.3.12_p1.tar.xz 8552 BLAKE2B 
99a7bcc52fcaaec1853162b4f65dc2688b2a90e6ede202a6e6a18ceb8ff16fd479781891305479a1c6a7f889cb9a3fb6f5f081d1318231f420cc98f10976b0aa
 SHA512 
2047626612be66a617f073076f4d0b5821ba2d01e955c10df7c97caa53aae67f30fcf6088e3d532c97e805a0be223be2cab16a355970757557100080e5fc658d
 DIST pypy3.9-v7.3.12-src.tar.bz2 23528145 BLAKE2B 
28cc42b10d6a84c441af673e1a0dc6d19e09daa1da9249a7fec39a9aaccbe5010a3586068ae0b10cd402b72e5acc58998469d5c99019caa41399951c2a221e26
 SHA512 
8e819a1ec3f3ce7fc5f901fb554660288a57e2a4834a3da35c1a57faf88ef4129240628a58334d2e0c2b1dda412da5d85ec943abe8046c0ce5d0cd0a0f7fc42a

diff --git a/dev-python/pypy3_9/pypy3_9-7.3.12_p1.ebuild 
b/dev-python/pypy3_9/pypy3_9-7.3.12_p1.ebuild
new file mode 100644
index ..1c6eec918ff3
--- /dev/null
+++ b/dev-python/pypy3_9/pypy3_9-7.3.12_p1.ebuild
@@ -0,0 +1,209 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit pax-utils python-utils-r1 toolchain-funcs
+
+PYPY_PV=${PV%_p*}
+PYVER=3.9
+MY_P="pypy${PYVER}-v${PYPY_PV/_}"
+PATCHSET="pypy${PYVER}-gentoo-patches-${PV/_rc/rc}"
+
+DESCRIPTION="A fast, compliant alternative implementation of the Python 
(${PYVER}) language"
+HOMEPAGE="
+   https://www.pypy.org/
+   https://foss.heptapod.net/pypy/pypy/
+"
+SRC_URI="
+   https://buildbot.pypy.org/pypy/${MY_P}-src.tar.bz2
+   https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz
+"
+S="${WORKDIR}/${MY_P}-src"
+
+LICENSE="MIT"
+# pypy3 -c 'import sysconfig; print(sysconfig.get_config_var("SOABI"))'
+# also check pypy/interpreter/pycode.py -> pypy_incremental_magic
+SLOT="0/pypy39-pp73-336"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="+ensurepip gdbm +jit ncurses sqlite tk"
+# many tests are failing upstream
+# see https://buildbot.pypy.org/summary?branch=py${PYVER}
+RESTRICT="test"
+
+RDEPEND="
+   || (
+   >=dev-python/${PN}-exe-${PYPY_PV}:${PYPY_PV}[bzip2(+),ncurses?]
+   >=dev-python/${PN}-exe-bin-${PYPY_PV}:${PYPY_PV}
+   )
+   dev-lang/python-exec[python_targets_pypy3(-)]
+   dev-libs/openssl:0=
+   dev-python/gentoo-common
+   ensurepip? ( dev-python/ensurepip-wheels )
+   gdbm? ( sys-libs/gdbm:0= )
+   sqlite? ( dev-db/sqlite:3= )
+   tk? (
+   dev-lang/tk:0=
+   dev-tcltk/tix:0=
+   )
+   ! 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=$(

[gentoo-commits] repo/gentoo:master commit in: dev-python/pypy3_9-exe-bin/

2023-06-18 Thread Michał Górny
commit: be0546fc4e24233aae972b12f10699aa7fe0aa05
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jun 19 05:10:21 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jun 19 05:10:21 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be0546fc

dev-python/pypy3_9-exe-bin: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pypy3_9-exe-bin/Manifest|  8 ---
 .../pypy3_9-exe-bin-7.3.12_rc2.ebuild  | 82 --
 2 files changed, 90 deletions(-)

diff --git a/dev-python/pypy3_9-exe-bin/Manifest 
b/dev-python/pypy3_9-exe-bin/Manifest
index 7ca64fe719a5..b86a0c8a349e 100644
--- a/dev-python/pypy3_9-exe-bin/Manifest
+++ b/dev-python/pypy3_9-exe-bin/Manifest
@@ -6,11 +6,3 @@ DIST pypy3_9-exe-7.3.12-1.ppc64le-musl.gpkg.tar 6359040 
BLAKE2B 44c5c98a1b21e136
 DIST pypy3_9-exe-7.3.12-1.ppc64le.gpkg.tar 10106880 BLAKE2B 
fb6b6520b30ef7db9be1737b4b09a793f6312e37a26aff40e60b509c9b90356dbe376da2679891c4e6a1e469e2877ff5791b25955f25f39d1ad698760d288662
 SHA512 
3ef689bce8b30e50eef81da6ce6989540d2008b214074933d71bfcb9622ab2d233dc24d36db4b94a4940546b5c398cfd726bec9d82515326cf18507ed9a4c1a5
 DIST pypy3_9-exe-7.3.12-1.x86-musl.gpkg.tar 8775680 BLAKE2B 
159b68f1ff2b27ec172dd3feb2eb1e44e30ab16e9bfe0dce887e79eb8cc2ceb438735614f9b1681976fc6304fef798cac23cc81379edd84bfcbbcb65280aada7
 SHA512 
86b91e6323b8e25af30bc237eeda24f213592b5d2a6f52a89e71cdcb6b83a2b1b9ff35f46ee5e4a50d74852f1a2075749f775ff1a3ce02cd05f8e9e13f14a03e
 DIST pypy3_9-exe-7.3.12-1.x86.gpkg.tar 8714240 BLAKE2B 
60847cfad5d5c8d988ab3b4f79c508e47445ab8321fa4700c3bfc3727a57d55a201bff0d74740e9ffc5d2e679bb1653b81ab22a35f8fb71bfb43c2d1add5e4c9
 SHA512 
bc04225b35b82b917d8186c1ed7fa892beaedcafb831f1eb6a134f54778ff973888d51f9107a892c7d6a3fbfc7c792f4089ba9e76fcdb18b6f1d53d98b9037d3
-DIST pypy3_9-exe-7.3.12_rc2-1.amd64-musl.gpkg.tar 11765760 BLAKE2B 
4fbae8b10e2460f3909bb4736046a120139800a70cb432de04f8b4d4bcfe5e6db0c747ad302d97918454f95675313d2c5754e85c9c1ebbb2413cd4b9e025ddf5
 SHA512 
82299f068a8e1a0d7772843d1269872e40db9939ccfab94c86f0a62dff203eaa9a281e1b0cfee1a8c030a7ee792bb917a3cabb23e9303e92d3fe43c0f924fb45
-DIST pypy3_9-exe-7.3.12_rc2-1.amd64.gpkg.tar 11765760 BLAKE2B 
f0ed332de083849ad8c58904f8cf49619a0deb93d8fb7988a7257160e0b1af03cc31e27fe40bd61ab36a67844488d4877a6831f8740a3a7047b845d1e90b6fe8
 SHA512 
fc2856979a7d00c274c24ca48bf91c3447aab36c8075b4ec40dfc1dc4e070188a7e66aefaa25875c97d2736a3b59591a2a8c7d28c309fcfb17ffad010469287b
-DIST pypy3_9-exe-7.3.12_rc2-1.arm64-musl.gpkg.tar 9850880 BLAKE2B 
a69cbdb4a814e9bc6a1197ffcacd95d701314975ca7b12c6ed1767e741a65d623b937e958d3b05f95a5dd05ddf6fba43e32e99ac9cc1cf6f1656bd2c8217d677
 SHA512 
164a5094d02237a09f378afaa78ddce33056327819367c9200a6cf792788e6f4606aed07e0b65145e3dceb63597de83b8441e461f8a93595822de2d32a04cc00
-DIST pypy3_9-exe-7.3.12_rc2-1.arm64.gpkg.tar 9809920 BLAKE2B 
336fc70fb07bb01e5f874cafa3167f81071a6dfe2c06ff3f17e32a07d8658342f4a7949567e50b7bfad3d6a145b356ea9c2a60fda838ba89613d3d57ff31f729
 SHA512 
81b8adcd567a4e9e9d217203c5699cc1e6ea3ffbb514163e54c72238d4e6f83becdf5a1bcd09b0b18f5bee34c7208d3afc4901d29eda63433c5e890f235bc6c3
-DIST pypy3_9-exe-7.3.12_rc2-1.ppc64le-musl.gpkg.tar 6440960 BLAKE2B 
3746b592aa0d3ba85c87f78933c11338c829853c9392f48f5c203d04e56bb30adf9a06a1e2ad808d9c7d5c2c65c2f68c4526604aad42b8785449d737d3cb8dc0
 SHA512 
2c3871c562f4b2d7f77442272c920edb880fa94d77920de808e88addcf1a69b92897666ee1ed0eab009bc365953d31252e87dbc1180c9096267fab591335c062
-DIST pypy3_9-exe-7.3.12_rc2-1.ppc64le.gpkg.tar 10168320 BLAKE2B 
412dac367dc4514da400ab31c4aaf3e308be3596dc227f5f53b85b9e5591c2075db038532773e20d2b403b9dd527c10dc5340d81a86060ccd32e01f0bfb3852d
 SHA512 
f66a82860186972a156044a18f175d1da654b075cf7982463ff65c824ec97df26b3b226635d1d2052c2bfbeedba86b2028c3145fdeb7d4f37aa4a4eb3c90bf58
-DIST pypy3_9-exe-7.3.12_rc2-1.x86-musl.gpkg.tar 8796160 BLAKE2B 
e55bbe14558aa00349768077f79c7a53c881ce13a93497677786f681551686d1407688d83d6abaaf59bfd8c2a941c6fb20c540e77a50b4b728e59a6c27c11254
 SHA512 
88b959f303400b4a0a70db433a0d2b7e5fc7c67548ab6cc26272012aab3845707c1fd6aa84a1f942647f6cc4eb88dfd845d8b7761eb0792d914fbe031f81d1d1
-DIST pypy3_9-exe-7.3.12_rc2-1.x86.gpkg.tar 8704000 BLAKE2B 
6ce103402b29c66fc5e033711538b9fe97d92b1ea68b7d668d7d7354435936fa7cb0254587f9b5cc2d10fe369a672f5c800efde2114f9e62a79727056f4ac713
 SHA512 
26d1444d548a2708eb7d9090d6759bfac1e51f456d5c09eaea38547169f51f74113c01bdce9032f0887c5e349079228e7c348c8e4be06aa2fa5a2f4af1b419db

diff --git a/dev-python/pypy3_9-exe-bin/pypy3_9-exe-bin-7.3.12_rc2.ebuild 
b/dev-python/pypy3_9-exe-bin/pypy3_9-exe-bin-7.3.12_rc2.ebuild
deleted file mode 100644
index c448acdc63d8..
--- a/dev-python/pypy3_9-exe-bin/pypy3_9-exe-bin-7.3.12_rc2.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.9
-MY_P=pypy3_9-exe-${PV}-1
-

[gentoo-commits] repo/gentoo:master commit in: dev-python/pypy3_9-exe/

2023-06-18 Thread Michał Górny
commit: 01fbbc8ed1f4de9cf58110ee49848c7f290158e6
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jun 19 05:10:17 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jun 19 05:10:17 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01fbbc8e

dev-python/pypy3_9-exe: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pypy3_9-exe/Manifest|   2 -
 .../pypy3_9-exe/pypy3_9-exe-7.3.12_rc2.ebuild  | 127 -
 2 files changed, 129 deletions(-)

diff --git a/dev-python/pypy3_9-exe/Manifest b/dev-python/pypy3_9-exe/Manifest
index db0c20cda216..d6ecf4eb15a9 100644
--- a/dev-python/pypy3_9-exe/Manifest
+++ b/dev-python/pypy3_9-exe/Manifest
@@ -1,4 +1,2 @@
 DIST pypy3.9-gentoo-patches-7.3.12.tar.xz 7472 BLAKE2B 
3948dc62af0b48c77e86cf25113363984ffcf118ca0ea797807a34d509223c6449edc66a835bd550cbdbb41c2c7386f2c56479b26e60effcf1c3a315ed113d0e
 SHA512 
37f935d02a08c88aeab0337eb48a543c02cae37af5c0e692dda899f1b7acb811cf7d6c4d162829d6876d926d9cf376c522ec28ea7fb8957ca9a3ea7654262302
-DIST pypy3.9-gentoo-patches-7.3.12rc2.tar.xz 7476 BLAKE2B 
d425ac68f555aeee07ca2b993341f5c7662d27f599200b1dbb3ad489a925b6934b6e95c39505c1dc899bde4b1e903822988ea98e6af883418d7b2b11ca8f42fb
 SHA512 
c3fee32098544a13b7a14809357e7a8f060f0223eb50dd246981a304d1f273c8633b4dbca64ef2bb1a1f79fd1e7a48482d729f933c676768d11b7955f9f6c2d7
 DIST pypy3.9-v7.3.12-src.tar.bz2 23528145 BLAKE2B 
28cc42b10d6a84c441af673e1a0dc6d19e09daa1da9249a7fec39a9aaccbe5010a3586068ae0b10cd402b72e5acc58998469d5c99019caa41399951c2a221e26
 SHA512 
8e819a1ec3f3ce7fc5f901fb554660288a57e2a4834a3da35c1a57faf88ef4129240628a58334d2e0c2b1dda412da5d85ec943abe8046c0ce5d0cd0a0f7fc42a
-DIST pypy3.9-v7.3.12rc2-src.tar.bz2 23585984 BLAKE2B 
52fbdc403c7af9b2b96f50efe2256ad0f2b2fcf4622649f42606349994ac9bc4a9475b52dce58ee4cc36be06a845c009ac2097887e6d784f1712ed9ab0a0cf63
 SHA512 
5795081557e192b9b007eb0e324f2df5e520204d0c4fe9bb1118c99203584629b4c4da241d8b172e04654bc61c07d43d0b968232265f927bb425d76e7e9bc442

diff --git a/dev-python/pypy3_9-exe/pypy3_9-exe-7.3.12_rc2.ebuild 
b/dev-python/pypy3_9-exe/pypy3_9-exe-7.3.12_rc2.ebuild
deleted file mode 100644
index d5f0b7b0c1d5..
--- a/dev-python/pypy3_9-exe/pypy3_9-exe-7.3.12_rc2.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.9
-MY_P="pypy${PYVER}-v${PYPY_PV/_}"
-PATCHSET="pypy${PYVER}-gentoo-patches-${PV/_}"
-
-DESCRIPTION="PyPy3 executable (build from source)"
-HOMEPAGE="https://www.pypy.org/;
-SRC_URI="
-   https://buildbot.pypy.org/pypy/${MY_P}-src.tar.bz2
-   https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz
-"
-S="${WORKDIR}/${MY_P}-src"
-
-LICENSE="MIT"
-SLOT="${PYPY_PV}"
-KEYWORDS=""
-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 

[gentoo-commits] repo/gentoo:master commit in: dev-python/pypy3_9/

2023-06-18 Thread Michał Górny
commit: c4ef95e9ad5745dd2bd31f4c96e7534fdd35aa51
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jun 19 05:10:07 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jun 19 05:10:07 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4ef95e9

dev-python/pypy3_9: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pypy3_9/Manifest  |   2 -
 dev-python/pypy3_9/pypy3_9-7.3.12_rc2.ebuild | 208 ---
 2 files changed, 210 deletions(-)

diff --git a/dev-python/pypy3_9/Manifest b/dev-python/pypy3_9/Manifest
index db0c20cda216..d6ecf4eb15a9 100644
--- a/dev-python/pypy3_9/Manifest
+++ b/dev-python/pypy3_9/Manifest
@@ -1,4 +1,2 @@
 DIST pypy3.9-gentoo-patches-7.3.12.tar.xz 7472 BLAKE2B 
3948dc62af0b48c77e86cf25113363984ffcf118ca0ea797807a34d509223c6449edc66a835bd550cbdbb41c2c7386f2c56479b26e60effcf1c3a315ed113d0e
 SHA512 
37f935d02a08c88aeab0337eb48a543c02cae37af5c0e692dda899f1b7acb811cf7d6c4d162829d6876d926d9cf376c522ec28ea7fb8957ca9a3ea7654262302
-DIST pypy3.9-gentoo-patches-7.3.12rc2.tar.xz 7476 BLAKE2B 
d425ac68f555aeee07ca2b993341f5c7662d27f599200b1dbb3ad489a925b6934b6e95c39505c1dc899bde4b1e903822988ea98e6af883418d7b2b11ca8f42fb
 SHA512 
c3fee32098544a13b7a14809357e7a8f060f0223eb50dd246981a304d1f273c8633b4dbca64ef2bb1a1f79fd1e7a48482d729f933c676768d11b7955f9f6c2d7
 DIST pypy3.9-v7.3.12-src.tar.bz2 23528145 BLAKE2B 
28cc42b10d6a84c441af673e1a0dc6d19e09daa1da9249a7fec39a9aaccbe5010a3586068ae0b10cd402b72e5acc58998469d5c99019caa41399951c2a221e26
 SHA512 
8e819a1ec3f3ce7fc5f901fb554660288a57e2a4834a3da35c1a57faf88ef4129240628a58334d2e0c2b1dda412da5d85ec943abe8046c0ce5d0cd0a0f7fc42a
-DIST pypy3.9-v7.3.12rc2-src.tar.bz2 23585984 BLAKE2B 
52fbdc403c7af9b2b96f50efe2256ad0f2b2fcf4622649f42606349994ac9bc4a9475b52dce58ee4cc36be06a845c009ac2097887e6d784f1712ed9ab0a0cf63
 SHA512 
5795081557e192b9b007eb0e324f2df5e520204d0c4fe9bb1118c99203584629b4c4da241d8b172e04654bc61c07d43d0b968232265f927bb425d76e7e9bc442

diff --git a/dev-python/pypy3_9/pypy3_9-7.3.12_rc2.ebuild 
b/dev-python/pypy3_9/pypy3_9-7.3.12_rc2.ebuild
deleted file mode 100644
index 90d3f4dc9027..
--- a/dev-python/pypy3_9/pypy3_9-7.3.12_rc2.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.9
-MY_P="pypy${PYVER}-v${PYPY_PV/_}"
-PATCHSET="pypy${PYVER}-gentoo-patches-${PV/_rc/rc}"
-
-DESCRIPTION="A fast, compliant alternative implementation of the Python 
(${PYVER}) language"
-HOMEPAGE="
-   https://www.pypy.org/
-   https://foss.heptapod.net/pypy/pypy/
-"
-SRC_URI="
-   https://buildbot.pypy.org/pypy/${MY_P}-src.tar.bz2
-   https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz
-"
-S="${WORKDIR}/${MY_P}-src"
-
-LICENSE="MIT"
-# pypy3 -c 'import sysconfig; print(sysconfig.get_config_var("SOABI"))'
-# also check pypy/interpreter/pycode.py -> pypy_incremental_magic
-SLOT="0/pypy39-pp73-336"
-KEYWORDS=""
-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=$(

[gentoo-commits] repo/gentoo:master commit in: dev-python/pypy3_9/

2023-06-18 Thread Michał Górny
commit: 14639c02b58a0a960c9286a313a5258aedb5413a
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jun 19 05:09:02 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jun 19 05:09:02 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14639c02

dev-python/pypy3_9: Fix missing _testmultiphase module

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pypy3_9/{pypy3_9-7.3.12.ebuild => pypy3_9-7.3.12-r1.ebuild} | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/pypy3_9/pypy3_9-7.3.12.ebuild 
b/dev-python/pypy3_9/pypy3_9-7.3.12-r1.ebuild
similarity index 99%
rename from dev-python/pypy3_9/pypy3_9-7.3.12.ebuild
rename to dev-python/pypy3_9/pypy3_9-7.3.12-r1.ebuild
index 6f73d957d6ea..1c6eec918ff3 100644
--- a/dev-python/pypy3_9/pypy3_9-7.3.12.ebuild
+++ b/dev-python/pypy3_9/pypy3_9-7.3.12-r1.ebuild
@@ -123,6 +123,7 @@ src_compile() {
cffi_targets=(
pypy_util blake2/_blake2 sha3/_sha3 ssl
audioop syslog pwdgrp resource lzma posixshmem
+   testmultiphase
)
use gdbm && cffi_targets+=( gdbm )
use ncurses && cffi_targets+=( curses )



[gentoo-commits] repo/gentoo:master commit in: dev-python/pypy3_9-exe-bin/

2023-06-16 Thread Michał Górny
commit: bf61d80f0319a65d8240bc27fece181d66bf7061
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Jun 16 16:58:14 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Jun 16 17:03:32 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf61d80f

dev-python/pypy3_9-exe-bin: Bump to 7.3.12

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pypy3_9-exe-bin/Manifest|  8 +++
 .../pypy3_9-exe-bin/pypy3_9-exe-bin-7.3.12.ebuild  | 82 ++
 2 files changed, 90 insertions(+)

diff --git a/dev-python/pypy3_9-exe-bin/Manifest 
b/dev-python/pypy3_9-exe-bin/Manifest
index 1e877888f58b..7ca64fe719a5 100644
--- a/dev-python/pypy3_9-exe-bin/Manifest
+++ b/dev-python/pypy3_9-exe-bin/Manifest
@@ -1,3 +1,11 @@
+DIST pypy3_9-exe-7.3.12-1.amd64-musl.gpkg.tar 11776000 BLAKE2B 
cf5527ce75ae59ff056489ab5456ac15eeb8e71028834b77266e99f5ec85e77651839a1e4956fd7600a3a8aaed031379b5cee38afd98656da3921e971739c061
 SHA512 
5537fe441b7f12cc99ccbf5d6efcc02e03efe1925fd11e42234d1ad040f0ab75f058cc4937233a3e1e967e58ae9a91cdd807f2edec932752975f9dba1ed1378c
+DIST pypy3_9-exe-7.3.12-1.amd64.gpkg.tar 11765760 BLAKE2B 
fa4f6d2da905c70517fac775caa85e2f9903318c87b04e5d450efedc0b566785ec0f2b2ee2df428cb613643b293681d45d267a1eae57a504d6af4b8ce4f7d9d2
 SHA512 
4f1c995599d699238ce89380eff96afd0ec86850c02f023a7cfa84ec975c3b8a17e90e5b23a1f00cfd4ef8625891e00e1244d07a5a72f9380184c0fdaba30c73
+DIST pypy3_9-exe-7.3.12-1.arm64-musl.gpkg.tar 9830400 BLAKE2B 
6f3af7ba9d825489399bea27b78602662a45806cc07c34d85878ffb246c9bea0f4f262b6b47dd358aff1a3df2676eb47ee411bbd781a97cb587c7a569dbefdb4
 SHA512 
18c752e15eb6714bf2d89922dce52d3e1e9a87a32f96752cc135354465976757c4847da5682bce33e7db5ee938d87014558c99d5d62f4b320a518038d9c17da8
+DIST pypy3_9-exe-7.3.12-1.arm64.gpkg.tar 9830400 BLAKE2B 
68d29046f528e2081ed1a141f7d7a8adbd0a101390622d19546bcd6a87fbcfedb9966d3a0c1b95a4d2feb4b1a43bddb99229460e41da6f66b801fee7cddb16da
 SHA512 
091e4592dd976cabc957ffc8dae0aeb7e43eb2ae5091e041c92007c5e8444fbe34d1d6251e0d047b75055f34342f209d28cbbc994b63c33d5558939d79127f00
+DIST pypy3_9-exe-7.3.12-1.ppc64le-musl.gpkg.tar 6359040 BLAKE2B 
44c5c98a1b21e13638f6fc78fa65f8d2a1805bb814a695a0e1a1e729b590e66254b0ae96ae53ee77f8b3cecaf164d27d36a497333030d73e2afeb295f67b
 SHA512 
f5fda1d200f29986e48aab03db0adcd0051cdf4795f231c453462fddeaaf75c4a2e4bcb4e08f997f1672e1fcf2652a02635eea5cd124d990de76e93409faef0c
+DIST pypy3_9-exe-7.3.12-1.ppc64le.gpkg.tar 10106880 BLAKE2B 
fb6b6520b30ef7db9be1737b4b09a793f6312e37a26aff40e60b509c9b90356dbe376da2679891c4e6a1e469e2877ff5791b25955f25f39d1ad698760d288662
 SHA512 
3ef689bce8b30e50eef81da6ce6989540d2008b214074933d71bfcb9622ab2d233dc24d36db4b94a4940546b5c398cfd726bec9d82515326cf18507ed9a4c1a5
+DIST pypy3_9-exe-7.3.12-1.x86-musl.gpkg.tar 8775680 BLAKE2B 
159b68f1ff2b27ec172dd3feb2eb1e44e30ab16e9bfe0dce887e79eb8cc2ceb438735614f9b1681976fc6304fef798cac23cc81379edd84bfcbbcb65280aada7
 SHA512 
86b91e6323b8e25af30bc237eeda24f213592b5d2a6f52a89e71cdcb6b83a2b1b9ff35f46ee5e4a50d74852f1a2075749f775ff1a3ce02cd05f8e9e13f14a03e
+DIST pypy3_9-exe-7.3.12-1.x86.gpkg.tar 8714240 BLAKE2B 
60847cfad5d5c8d988ab3b4f79c508e47445ab8321fa4700c3bfc3727a57d55a201bff0d74740e9ffc5d2e679bb1653b81ab22a35f8fb71bfb43c2d1add5e4c9
 SHA512 
bc04225b35b82b917d8186c1ed7fa892beaedcafb831f1eb6a134f54778ff973888d51f9107a892c7d6a3fbfc7c792f4089ba9e76fcdb18b6f1d53d98b9037d3
 DIST pypy3_9-exe-7.3.12_rc2-1.amd64-musl.gpkg.tar 11765760 BLAKE2B 
4fbae8b10e2460f3909bb4736046a120139800a70cb432de04f8b4d4bcfe5e6db0c747ad302d97918454f95675313d2c5754e85c9c1ebbb2413cd4b9e025ddf5
 SHA512 
82299f068a8e1a0d7772843d1269872e40db9939ccfab94c86f0a62dff203eaa9a281e1b0cfee1a8c030a7ee792bb917a3cabb23e9303e92d3fe43c0f924fb45
 DIST pypy3_9-exe-7.3.12_rc2-1.amd64.gpkg.tar 11765760 BLAKE2B 
f0ed332de083849ad8c58904f8cf49619a0deb93d8fb7988a7257160e0b1af03cc31e27fe40bd61ab36a67844488d4877a6831f8740a3a7047b845d1e90b6fe8
 SHA512 
fc2856979a7d00c274c24ca48bf91c3447aab36c8075b4ec40dfc1dc4e070188a7e66aefaa25875c97d2736a3b59591a2a8c7d28c309fcfb17ffad010469287b
 DIST pypy3_9-exe-7.3.12_rc2-1.arm64-musl.gpkg.tar 9850880 BLAKE2B 
a69cbdb4a814e9bc6a1197ffcacd95d701314975ca7b12c6ed1767e741a65d623b937e958d3b05f95a5dd05ddf6fba43e32e99ac9cc1cf6f1656bd2c8217d677
 SHA512 
164a5094d02237a09f378afaa78ddce33056327819367c9200a6cf792788e6f4606aed07e0b65145e3dceb63597de83b8441e461f8a93595822de2d32a04cc00

diff --git a/dev-python/pypy3_9-exe-bin/pypy3_9-exe-bin-7.3.12.ebuild 
b/dev-python/pypy3_9-exe-bin/pypy3_9-exe-bin-7.3.12.ebuild
new file mode 100644
index ..cb99c4b6d977
--- /dev/null
+++ b/dev-python/pypy3_9-exe-bin/pypy3_9-exe-bin-7.3.12.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit pax-utils unpacker
+
+PYVER=3.9
+MY_P=pypy3_9-exe-${PV}-1
+
+DESCRIPTION="PyPy3 executable (pre-built version)"
+HOMEPAGE="https://www.pypy.org/;
+SRC_URI="
+   

[gentoo-commits] repo/gentoo:master commit in: dev-python/pypy3_9/

2023-06-16 Thread Michał Górny
commit: 581c6ec527b1e4d7f054b10fc32a805e99a9ca7e
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Jun 16 12:53:31 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Jun 16 17:03:28 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=581c6ec5

dev-python/pypy3_9: Bump to 7.3.12

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pypy3_9/Manifest  |   2 +
 dev-python/pypy3_9/pypy3_9-7.3.12.ebuild | 208 +++
 2 files changed, 210 insertions(+)

diff --git a/dev-python/pypy3_9/Manifest b/dev-python/pypy3_9/Manifest
index 7982662b600c..db0c20cda216 100644
--- a/dev-python/pypy3_9/Manifest
+++ b/dev-python/pypy3_9/Manifest
@@ -1,2 +1,4 @@
+DIST pypy3.9-gentoo-patches-7.3.12.tar.xz 7472 BLAKE2B 
3948dc62af0b48c77e86cf25113363984ffcf118ca0ea797807a34d509223c6449edc66a835bd550cbdbb41c2c7386f2c56479b26e60effcf1c3a315ed113d0e
 SHA512 
37f935d02a08c88aeab0337eb48a543c02cae37af5c0e692dda899f1b7acb811cf7d6c4d162829d6876d926d9cf376c522ec28ea7fb8957ca9a3ea7654262302
 DIST pypy3.9-gentoo-patches-7.3.12rc2.tar.xz 7476 BLAKE2B 
d425ac68f555aeee07ca2b993341f5c7662d27f599200b1dbb3ad489a925b6934b6e95c39505c1dc899bde4b1e903822988ea98e6af883418d7b2b11ca8f42fb
 SHA512 
c3fee32098544a13b7a14809357e7a8f060f0223eb50dd246981a304d1f273c8633b4dbca64ef2bb1a1f79fd1e7a48482d729f933c676768d11b7955f9f6c2d7
+DIST pypy3.9-v7.3.12-src.tar.bz2 23528145 BLAKE2B 
28cc42b10d6a84c441af673e1a0dc6d19e09daa1da9249a7fec39a9aaccbe5010a3586068ae0b10cd402b72e5acc58998469d5c99019caa41399951c2a221e26
 SHA512 
8e819a1ec3f3ce7fc5f901fb554660288a57e2a4834a3da35c1a57faf88ef4129240628a58334d2e0c2b1dda412da5d85ec943abe8046c0ce5d0cd0a0f7fc42a
 DIST pypy3.9-v7.3.12rc2-src.tar.bz2 23585984 BLAKE2B 
52fbdc403c7af9b2b96f50efe2256ad0f2b2fcf4622649f42606349994ac9bc4a9475b52dce58ee4cc36be06a845c009ac2097887e6d784f1712ed9ab0a0cf63
 SHA512 
5795081557e192b9b007eb0e324f2df5e520204d0c4fe9bb1118c99203584629b4c4da241d8b172e04654bc61c07d43d0b968232265f927bb425d76e7e9bc442

diff --git a/dev-python/pypy3_9/pypy3_9-7.3.12.ebuild 
b/dev-python/pypy3_9/pypy3_9-7.3.12.ebuild
new file mode 100644
index ..6f73d957d6ea
--- /dev/null
+++ b/dev-python/pypy3_9/pypy3_9-7.3.12.ebuild
@@ -0,0 +1,208 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit pax-utils python-utils-r1 toolchain-funcs
+
+PYPY_PV=${PV%_p*}
+PYVER=3.9
+MY_P="pypy${PYVER}-v${PYPY_PV/_}"
+PATCHSET="pypy${PYVER}-gentoo-patches-${PV/_rc/rc}"
+
+DESCRIPTION="A fast, compliant alternative implementation of the Python 
(${PYVER}) language"
+HOMEPAGE="
+   https://www.pypy.org/
+   https://foss.heptapod.net/pypy/pypy/
+"
+SRC_URI="
+   https://buildbot.pypy.org/pypy/${MY_P}-src.tar.bz2
+   https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz
+"
+S="${WORKDIR}/${MY_P}-src"
+
+LICENSE="MIT"
+# pypy3 -c 'import sysconfig; print(sysconfig.get_config_var("SOABI"))'
+# also check pypy/interpreter/pycode.py -> pypy_incremental_magic
+SLOT="0/pypy39-pp73-336"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="+ensurepip gdbm +jit ncurses sqlite tk"
+# many tests are failing upstream
+# see https://buildbot.pypy.org/summary?branch=py${PYVER}
+RESTRICT="test"
+
+RDEPEND="
+   || (
+   >=dev-python/${PN}-exe-${PYPY_PV}:${PYPY_PV}[bzip2(+),ncurses?]
+   >=dev-python/${PN}-exe-bin-${PYPY_PV}:${PYPY_PV}
+   )
+   dev-lang/python-exec[python_targets_pypy3(-)]
+   dev-libs/openssl:0=
+   dev-python/gentoo-common
+   ensurepip? ( dev-python/ensurepip-wheels )
+   gdbm? ( sys-libs/gdbm:0= )
+   sqlite? ( dev-db/sqlite:3= )
+   tk? (
+   dev-lang/tk:0=
+   dev-tcltk/tix:0=
+   )
+   ! 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=$(

[gentoo-commits] repo/gentoo:master commit in: dev-python/pypy3_9-exe/

2023-06-16 Thread Michał Górny
commit: f17474f5f57b664b3fa524f186bc0202c084ee8d
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Jun 16 12:53:00 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Jun 16 17:03:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f17474f5

dev-python/pypy3_9-exe: Bump to 7.3.12

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pypy3_9-exe/Manifest  |   2 +
 dev-python/pypy3_9-exe/pypy3_9-exe-7.3.12.ebuild | 127 +++
 2 files changed, 129 insertions(+)

diff --git a/dev-python/pypy3_9-exe/Manifest b/dev-python/pypy3_9-exe/Manifest
index 7982662b600c..db0c20cda216 100644
--- a/dev-python/pypy3_9-exe/Manifest
+++ b/dev-python/pypy3_9-exe/Manifest
@@ -1,2 +1,4 @@
+DIST pypy3.9-gentoo-patches-7.3.12.tar.xz 7472 BLAKE2B 
3948dc62af0b48c77e86cf25113363984ffcf118ca0ea797807a34d509223c6449edc66a835bd550cbdbb41c2c7386f2c56479b26e60effcf1c3a315ed113d0e
 SHA512 
37f935d02a08c88aeab0337eb48a543c02cae37af5c0e692dda899f1b7acb811cf7d6c4d162829d6876d926d9cf376c522ec28ea7fb8957ca9a3ea7654262302
 DIST pypy3.9-gentoo-patches-7.3.12rc2.tar.xz 7476 BLAKE2B 
d425ac68f555aeee07ca2b993341f5c7662d27f599200b1dbb3ad489a925b6934b6e95c39505c1dc899bde4b1e903822988ea98e6af883418d7b2b11ca8f42fb
 SHA512 
c3fee32098544a13b7a14809357e7a8f060f0223eb50dd246981a304d1f273c8633b4dbca64ef2bb1a1f79fd1e7a48482d729f933c676768d11b7955f9f6c2d7
+DIST pypy3.9-v7.3.12-src.tar.bz2 23528145 BLAKE2B 
28cc42b10d6a84c441af673e1a0dc6d19e09daa1da9249a7fec39a9aaccbe5010a3586068ae0b10cd402b72e5acc58998469d5c99019caa41399951c2a221e26
 SHA512 
8e819a1ec3f3ce7fc5f901fb554660288a57e2a4834a3da35c1a57faf88ef4129240628a58334d2e0c2b1dda412da5d85ec943abe8046c0ce5d0cd0a0f7fc42a
 DIST pypy3.9-v7.3.12rc2-src.tar.bz2 23585984 BLAKE2B 
52fbdc403c7af9b2b96f50efe2256ad0f2b2fcf4622649f42606349994ac9bc4a9475b52dce58ee4cc36be06a845c009ac2097887e6d784f1712ed9ab0a0cf63
 SHA512 
5795081557e192b9b007eb0e324f2df5e520204d0c4fe9bb1118c99203584629b4c4da241d8b172e04654bc61c07d43d0b968232265f927bb425d76e7e9bc442

diff --git a/dev-python/pypy3_9-exe/pypy3_9-exe-7.3.12.ebuild 
b/dev-python/pypy3_9-exe/pypy3_9-exe-7.3.12.ebuild
new file mode 100644
index ..b9174fee3c95
--- /dev/null
+++ b/dev-python/pypy3_9-exe/pypy3_9-exe-7.3.12.ebuild
@@ -0,0 +1,127 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit check-reqs pax-utils toolchain-funcs
+
+PYPY_PV=${PV%_p*}
+PYVER=3.9
+MY_P="pypy${PYVER}-v${PYPY_PV/_}"
+PATCHSET="pypy${PYVER}-gentoo-patches-${PV/_}"
+
+DESCRIPTION="PyPy3 executable (build from source)"
+HOMEPAGE="https://www.pypy.org/;
+SRC_URI="
+   https://buildbot.pypy.org/pypy/${MY_P}-src.tar.bz2
+   https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz
+"
+S="${WORKDIR}/${MY_P}-src"
+
+LICENSE="MIT"
+SLOT="${PYPY_PV}"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="+jit low-memory ncurses cpu_flags_x86_sse2"
+
+RDEPEND="
+   app-arch/bzip2:0=
+   dev-libs/expat:0=
+   dev-libs/libffi:0=
+   >=sys-libs/zlib-1.1.3:0=
+   virtual/libintl:0=
+   ncurses? ( sys-libs/ncurses:0= )
+   !dev-python/pypy3-exe-bin:${SLOT}
+"
+DEPEND="
+   ${RDEPEND}
+"
+BDEPEND="
+   dev-python/pypy
+"
+
+check_env() {
+   if use low-memory; then
+   CHECKREQS_MEMORY="1750M"
+   use amd64 && CHECKREQS_MEMORY="3500M"
+   else
+   CHECKREQS_MEMORY="3G"
+   use amd64 && CHECKREQS_MEMORY="6G"
+   fi
+
+   check-reqs_pkg_pretend
+}
+
+pkg_pretend() {
+   [[ ${MERGE_TYPE} != binary ]] && check_env
+}
+
+pkg_setup() {
+   [[ ${MERGE_TYPE} != binary ]] && check_env
+}
+
+src_prepare() {
+   local PATCHES=(
+   "${WORKDIR}/${PATCHSET}"
+   )
+   default
+}
+
+src_configure() {
+   tc-export CC
+
+   local jit_backend
+   if use jit; then
+   jit_backend='--jit-backend='
+
+   # We only need the explicit sse2 switch for x86.
+   # On other arches we can rely on autodetection which uses
+   # compiler macros. Plus, --jit-backend= doesn't accept all
+   # the modern values...
+
+   if use x86; then
+   if use cpu_flags_x86_sse2; then
+   jit_backend+=x86
+   else
+   jit_backend+=x86-without-sse2
+   fi
+   else
+   jit_backend+=auto
+   fi
+   fi
+
+   local args=(
+   --no-shared
+   $(usex jit -Ojit -O2)
+
+   ${jit_backend}
+
+   pypy/goal/targetpypystandalone
+   --withmod-bz2
+   $(usex ncurses --with{,out}mod-_minimal_curses)
+   )
+
+   local interp=( pypy )
+   if use low-memory; then
+   local -x PYPY_GC_MAX_DELTA=200MB
+   

[gentoo-commits] repo/gentoo:master commit in: dev-python/pypy3_9-exe/

2023-05-31 Thread Michał Górny
commit: 067da3c7af23fb20a0c1929ca8b8745a8ce5c068
Author: Michał Górny  gentoo  org>
AuthorDate: Wed May 31 06:25:44 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed May 31 11:39:05 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=067da3c7

dev-python/pypy3_9-exe: Split from dev-python/pypy3-exe, 7.3.12_rc2

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pypy3_9-exe/Manifest|   2 +
 dev-python/pypy3_9-exe/metadata.xml|  13 +++
 .../pypy3_9-exe/pypy3_9-exe-7.3.12_rc2.ebuild  | 127 +
 3 files changed, 142 insertions(+)

diff --git a/dev-python/pypy3_9-exe/Manifest b/dev-python/pypy3_9-exe/Manifest
new file mode 100644
index ..7982662b600c
--- /dev/null
+++ b/dev-python/pypy3_9-exe/Manifest
@@ -0,0 +1,2 @@
+DIST pypy3.9-gentoo-patches-7.3.12rc2.tar.xz 7476 BLAKE2B 
d425ac68f555aeee07ca2b993341f5c7662d27f599200b1dbb3ad489a925b6934b6e95c39505c1dc899bde4b1e903822988ea98e6af883418d7b2b11ca8f42fb
 SHA512 
c3fee32098544a13b7a14809357e7a8f060f0223eb50dd246981a304d1f273c8633b4dbca64ef2bb1a1f79fd1e7a48482d729f933c676768d11b7955f9f6c2d7
+DIST pypy3.9-v7.3.12rc2-src.tar.bz2 23585984 BLAKE2B 
52fbdc403c7af9b2b96f50efe2256ad0f2b2fcf4622649f42606349994ac9bc4a9475b52dce58ee4cc36be06a845c009ac2097887e6d784f1712ed9ab0a0cf63
 SHA512 
5795081557e192b9b007eb0e324f2df5e520204d0c4fe9bb1118c99203584629b4c4da241d8b172e04654bc61c07d43d0b968232265f927bb425d76e7e9bc442

diff --git a/dev-python/pypy3_9-exe/metadata.xml 
b/dev-python/pypy3_9-exe/metadata.xml
new file mode 100644
index ..9f1f42740089
--- /dev/null
+++ b/dev-python/pypy3_9-exe/metadata.xml
@@ -0,0 +1,13 @@
+
+https://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   pyt...@gentoo.org
+   Python
+   
+   
+   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.
+   
+

diff --git a/dev-python/pypy3_9-exe/pypy3_9-exe-7.3.12_rc2.ebuild 
b/dev-python/pypy3_9-exe/pypy3_9-exe-7.3.12_rc2.ebuild
new file mode 100644
index ..d5f0b7b0c1d5
--- /dev/null
+++ b/dev-python/pypy3_9-exe/pypy3_9-exe-7.3.12_rc2.ebuild
@@ -0,0 +1,127 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit check-reqs pax-utils toolchain-funcs
+
+PYPY_PV=${PV%_p*}
+PYVER=3.9
+MY_P="pypy${PYVER}-v${PYPY_PV/_}"
+PATCHSET="pypy${PYVER}-gentoo-patches-${PV/_}"
+
+DESCRIPTION="PyPy3 executable (build from source)"
+HOMEPAGE="https://www.pypy.org/;
+SRC_URI="
+   https://buildbot.pypy.org/pypy/${MY_P}-src.tar.bz2
+   https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz
+"
+S="${WORKDIR}/${MY_P}-src"
+
+LICENSE="MIT"
+SLOT="${PYPY_PV}"
+KEYWORDS=""
+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 

[gentoo-commits] repo/gentoo:master commit in: dev-python/pypy3_9/

2023-05-31 Thread Michał Górny
commit: cab498ab207ad50ac27b4480553d532153dca217
Author: Michał Górny  gentoo  org>
AuthorDate: Wed May 31 06:29:53 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed May 31 11:39:24 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cab498ab

dev-python/pypy3_9: Split from dev-python/pypy3, 7.3.12_rc2

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pypy3_9/Manifest  |   2 +
 dev-python/pypy3_9/metadata.xml  |  18 +++
 dev-python/pypy3_9/pypy3_9-7.3.12_rc2.ebuild | 208 +++
 3 files changed, 228 insertions(+)

diff --git a/dev-python/pypy3_9/Manifest b/dev-python/pypy3_9/Manifest
new file mode 100644
index ..7982662b600c
--- /dev/null
+++ b/dev-python/pypy3_9/Manifest
@@ -0,0 +1,2 @@
+DIST pypy3.9-gentoo-patches-7.3.12rc2.tar.xz 7476 BLAKE2B 
d425ac68f555aeee07ca2b993341f5c7662d27f599200b1dbb3ad489a925b6934b6e95c39505c1dc899bde4b1e903822988ea98e6af883418d7b2b11ca8f42fb
 SHA512 
c3fee32098544a13b7a14809357e7a8f060f0223eb50dd246981a304d1f273c8633b4dbca64ef2bb1a1f79fd1e7a48482d729f933c676768d11b7955f9f6c2d7
+DIST pypy3.9-v7.3.12rc2-src.tar.bz2 23585984 BLAKE2B 
52fbdc403c7af9b2b96f50efe2256ad0f2b2fcf4622649f42606349994ac9bc4a9475b52dce58ee4cc36be06a845c009ac2097887e6d784f1712ed9ab0a0cf63
 SHA512 
5795081557e192b9b007eb0e324f2df5e520204d0c4fe9bb1118c99203584629b4c4da241d8b172e04654bc61c07d43d0b968232265f927bb425d76e7e9bc442

diff --git a/dev-python/pypy3_9/metadata.xml b/dev-python/pypy3_9/metadata.xml
new file mode 100644
index ..279dc3f87516
--- /dev/null
+++ b/dev-python/pypy3_9/metadata.xml
@@ -0,0 +1,18 @@
+
+https://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   pyt...@gentoo.org
+   Python
+   
+   
+   
+   Install the ensurepip module that uses bundled wheels
+   to bootstrap pip and setuptools (if disabled, it will
+   be only possible to use venv `--without-pip`)
+   
+   
+   
+   pypy/pypy
+   
+

diff --git a/dev-python/pypy3_9/pypy3_9-7.3.12_rc2.ebuild 
b/dev-python/pypy3_9/pypy3_9-7.3.12_rc2.ebuild
new file mode 100644
index ..90d3f4dc9027
--- /dev/null
+++ b/dev-python/pypy3_9/pypy3_9-7.3.12_rc2.ebuild
@@ -0,0 +1,208 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit pax-utils python-utils-r1 toolchain-funcs
+
+PYPY_PV=${PV%_p*}
+PYVER=3.9
+MY_P="pypy${PYVER}-v${PYPY_PV/_}"
+PATCHSET="pypy${PYVER}-gentoo-patches-${PV/_rc/rc}"
+
+DESCRIPTION="A fast, compliant alternative implementation of the Python 
(${PYVER}) language"
+HOMEPAGE="
+   https://www.pypy.org/
+   https://foss.heptapod.net/pypy/pypy/
+"
+SRC_URI="
+   https://buildbot.pypy.org/pypy/${MY_P}-src.tar.bz2
+   https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz
+"
+S="${WORKDIR}/${MY_P}-src"
+
+LICENSE="MIT"
+# pypy3 -c 'import sysconfig; print(sysconfig.get_config_var("SOABI"))'
+# also check pypy/interpreter/pycode.py -> pypy_incremental_magic
+SLOT="0/pypy39-pp73-336"
+KEYWORDS=""
+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=$(

[gentoo-commits] repo/gentoo:master commit in: dev-python/pypy3_9-exe-bin/

2023-05-31 Thread Michał Górny
commit: abadf6f0cc52873d08101268bc7794dd399ab640
Author: Michał Górny  gentoo  org>
AuthorDate: Wed May 31 11:13:30 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed May 31 11:39:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abadf6f0

dev-python/pypy3_9-exe-bin: Split from dev-python/pypy3-exe-bin, 7.3.12_rc2

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pypy3_9-exe-bin/Manifest|  8 +++
 dev-python/pypy3_9-exe-bin/metadata.xml|  8 +++
 .../pypy3_9-exe-bin-7.3.12_rc2.ebuild  | 82 ++
 3 files changed, 98 insertions(+)

diff --git a/dev-python/pypy3_9-exe-bin/Manifest 
b/dev-python/pypy3_9-exe-bin/Manifest
new file mode 100644
index ..1e877888f58b
--- /dev/null
+++ b/dev-python/pypy3_9-exe-bin/Manifest
@@ -0,0 +1,8 @@
+DIST pypy3_9-exe-7.3.12_rc2-1.amd64-musl.gpkg.tar 11765760 BLAKE2B 
4fbae8b10e2460f3909bb4736046a120139800a70cb432de04f8b4d4bcfe5e6db0c747ad302d97918454f95675313d2c5754e85c9c1ebbb2413cd4b9e025ddf5
 SHA512 
82299f068a8e1a0d7772843d1269872e40db9939ccfab94c86f0a62dff203eaa9a281e1b0cfee1a8c030a7ee792bb917a3cabb23e9303e92d3fe43c0f924fb45
+DIST pypy3_9-exe-7.3.12_rc2-1.amd64.gpkg.tar 11765760 BLAKE2B 
f0ed332de083849ad8c58904f8cf49619a0deb93d8fb7988a7257160e0b1af03cc31e27fe40bd61ab36a67844488d4877a6831f8740a3a7047b845d1e90b6fe8
 SHA512 
fc2856979a7d00c274c24ca48bf91c3447aab36c8075b4ec40dfc1dc4e070188a7e66aefaa25875c97d2736a3b59591a2a8c7d28c309fcfb17ffad010469287b
+DIST pypy3_9-exe-7.3.12_rc2-1.arm64-musl.gpkg.tar 9850880 BLAKE2B 
a69cbdb4a814e9bc6a1197ffcacd95d701314975ca7b12c6ed1767e741a65d623b937e958d3b05f95a5dd05ddf6fba43e32e99ac9cc1cf6f1656bd2c8217d677
 SHA512 
164a5094d02237a09f378afaa78ddce33056327819367c9200a6cf792788e6f4606aed07e0b65145e3dceb63597de83b8441e461f8a93595822de2d32a04cc00
+DIST pypy3_9-exe-7.3.12_rc2-1.arm64.gpkg.tar 9809920 BLAKE2B 
336fc70fb07bb01e5f874cafa3167f81071a6dfe2c06ff3f17e32a07d8658342f4a7949567e50b7bfad3d6a145b356ea9c2a60fda838ba89613d3d57ff31f729
 SHA512 
81b8adcd567a4e9e9d217203c5699cc1e6ea3ffbb514163e54c72238d4e6f83becdf5a1bcd09b0b18f5bee34c7208d3afc4901d29eda63433c5e890f235bc6c3
+DIST pypy3_9-exe-7.3.12_rc2-1.ppc64le-musl.gpkg.tar 6440960 BLAKE2B 
3746b592aa0d3ba85c87f78933c11338c829853c9392f48f5c203d04e56bb30adf9a06a1e2ad808d9c7d5c2c65c2f68c4526604aad42b8785449d737d3cb8dc0
 SHA512 
2c3871c562f4b2d7f77442272c920edb880fa94d77920de808e88addcf1a69b92897666ee1ed0eab009bc365953d31252e87dbc1180c9096267fab591335c062
+DIST pypy3_9-exe-7.3.12_rc2-1.ppc64le.gpkg.tar 10168320 BLAKE2B 
412dac367dc4514da400ab31c4aaf3e308be3596dc227f5f53b85b9e5591c2075db038532773e20d2b403b9dd527c10dc5340d81a86060ccd32e01f0bfb3852d
 SHA512 
f66a82860186972a156044a18f175d1da654b075cf7982463ff65c824ec97df26b3b226635d1d2052c2bfbeedba86b2028c3145fdeb7d4f37aa4a4eb3c90bf58
+DIST pypy3_9-exe-7.3.12_rc2-1.x86-musl.gpkg.tar 8796160 BLAKE2B 
e55bbe14558aa00349768077f79c7a53c881ce13a93497677786f681551686d1407688d83d6abaaf59bfd8c2a941c6fb20c540e77a50b4b728e59a6c27c11254
 SHA512 
88b959f303400b4a0a70db433a0d2b7e5fc7c67548ab6cc26272012aab3845707c1fd6aa84a1f942647f6cc4eb88dfd845d8b7761eb0792d914fbe031f81d1d1
+DIST pypy3_9-exe-7.3.12_rc2-1.x86.gpkg.tar 8704000 BLAKE2B 
6ce103402b29c66fc5e033711538b9fe97d92b1ea68b7d668d7d7354435936fa7cb0254587f9b5cc2d10fe369a672f5c800efde2114f9e62a79727056f4ac713
 SHA512 
26d1444d548a2708eb7d9090d6759bfac1e51f456d5c09eaea38547169f51f74113c01bdce9032f0887c5e349079228e7c348c8e4be06aa2fa5a2f4af1b419db

diff --git a/dev-python/pypy3_9-exe-bin/metadata.xml 
b/dev-python/pypy3_9-exe-bin/metadata.xml
new file mode 100644
index ..efd7c8c21836
--- /dev/null
+++ b/dev-python/pypy3_9-exe-bin/metadata.xml
@@ -0,0 +1,8 @@
+
+https://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   pyt...@gentoo.org
+   Python
+   
+

diff --git a/dev-python/pypy3_9-exe-bin/pypy3_9-exe-bin-7.3.12_rc2.ebuild 
b/dev-python/pypy3_9-exe-bin/pypy3_9-exe-bin-7.3.12_rc2.ebuild
new file mode 100644
index ..c448acdc63d8
--- /dev/null
+++ b/dev-python/pypy3_9-exe-bin/pypy3_9-exe-bin-7.3.12_rc2.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit pax-utils unpacker
+
+PYVER=3.9
+MY_P=pypy3_9-exe-${PV}-1
+
+DESCRIPTION="PyPy3 executable (pre-built version)"
+HOMEPAGE="https://www.pypy.org/;
+SRC_URI="
+   elibc_glibc? (
+   amd64? (
+   
https://dev.gentoo.org/~mgorny/binpkg/amd64/pypy/dev-python/pypy3_9-exe/${MY_P}.gpkg.tar
+   -> ${MY_P}.amd64.gpkg.tar
+   )
+   arm64? (
+   
https://dev.gentoo.org/~mgorny/binpkg/arm64/pypy/dev-python/pypy3_9-exe/${MY_P}.gpkg.tar
+   -> ${MY_P}.arm64.gpkg.tar
+   )
+   ppc64? (
+