From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CC60E1382C5 for ; Wed, 3 Mar 2021 23:11:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 21C8AE0829; Wed, 3 Mar 2021 23:11:57 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EF49CE0829 for ; Wed, 3 Mar 2021 23:11:56 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B02F4340E0F for ; Wed, 3 Mar 2021 23:11:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0695113B for ; Wed, 3 Mar 2021 23:11:54 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1614813111.37e5b994237f7d7b5ec349aec0ed26a447c304b6.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pypy/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pypy/Manifest dev-python/pypy/pypy-7.3.3_p1.ebuild X-VCS-Directories: dev-python/pypy/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 37e5b994237f7d7b5ec349aec0ed26a447c304b6 X-VCS-Branch: master Date: Wed, 3 Mar 2021 23:11:54 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 90b51c58-571f-4d3b-89ea-102b98548079 X-Archives-Hash: c81611908fb2a602e950394646f4f6a7 commit: 37e5b994237f7d7b5ec349aec0ed26a447c304b6 Author: Michał Górny gentoo org> AuthorDate: Wed Mar 3 21:20:45 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Mar 3 23:11:51 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37e5b994 dev-python/pypy: Backport secfixes Signed-off-by: Michał Górny gentoo.org> dev-python/pypy/Manifest | 1 + dev-python/pypy/pypy-7.3.3_p1.ebuild | 161 +++++++++++++++++++++++++++++++++++ 2 files changed, 162 insertions(+) diff --git a/dev-python/pypy/Manifest b/dev-python/pypy/Manifest index b2aea21c0af..415b4d85c23 100644 --- a/dev-python/pypy/Manifest +++ b/dev-python/pypy/Manifest @@ -1,2 +1,3 @@ +DIST pypy2.7-gentoo-patches-7.3.3_p1.tar.xz 11112 BLAKE2B b9215828bd405e1a49ed7c82ad242ae9b5438fa56b4afc1eceba3c448412b369509d08a25cf72571da1caca5d2123cf395cacf0a159e915789383531cd3d2a78 SHA512 e3b6815282ee52eb8d5517def3fe706ddd30efdabe9b9ccd671871905c4fffb0995b194e175011309845b7d79b9bfcb90871838e659980722ba2e8319451907d DIST pypy2.7-v7.3.3-src.tar.bz2 20881821 BLAKE2B ce1ecdd1fffe40574c7662da6038b84d2bca47ab168939ef0c12be2c6348317f17a94a3026e7fa53c71601edc153aefd98f770bd148e7af07ca751c0a5fc1252 SHA512 c2b6c44fdcac5f9445fab01572f859228fc286891fd09a4ddb95d283683d805276c853ec8e61fcd04cb9ee811d0e959d19bb03fdd7442c044f28a773633122e7 DIST python-gentoo-patches-2.7.18-r1.tar.xz 15500 BLAKE2B 7008b29827dbbd80d4ab8f010ccf9efced99c6b4b9109e4430c0ba269ce53529cb6fedd832502c8d2d3aa21938749cc3591c2545b21c0a59a6e60f8598e84ccc SHA512 e656ab07281fd932b92165674619bbf55ecf410d2937ae4ae771d490b4532540498cc731d30d19c1e8aafd1f64df8a406bbfbb46ea985b3dcd8edb89a0b7f20f diff --git a/dev-python/pypy/pypy-7.3.3_p1.ebuild b/dev-python/pypy/pypy-7.3.3_p1.ebuild new file mode 100644 index 00000000000..3d448e63cde --- /dev/null +++ b/dev-python/pypy/pypy-7.3.3_p1.ebuild @@ -0,0 +1,161 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit pax-utils python-utils-r1 + +PYPY_PV=${PV%_p*} +MY_P=pypy2.7-v${PYPY_PV} +PATCHSET="pypy2.7-gentoo-patches-${PV}" + +DESCRIPTION="A fast, compliant alternative implementation of the Python language" +HOMEPAGE="https://pypy.org/" +SRC_URI="https://buildbot.pypy.org/pypy/${MY_P}-src.tar.bz2 + https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz" +S="${WORKDIR}/${MY_P}-src" + +LICENSE="MIT" +# pypy -c 'import sysconfig; print sysconfig.get_config_var("SOABI")' +SLOT="0/73" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="bzip2 gdbm +jit libressl ncurses sqlite tk" + +RDEPEND=" + || ( + dev-python/pypy-exe:${PYPY_PV}[bzip2?,ncurses?] + dev-python/pypy-exe-bin:${PYPY_PV} + ) + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + gdbm? ( sys-libs/gdbm:0= ) + sqlite? ( dev-db/sqlite:3= ) + tk? ( + dev-lang/tk:0= + dev-tcltk/tix:0= + ) + ! epython.py || die + python_moduleinto /usr/lib/pypy2.7/site-packages + python_domodule epython.py + + einfo "Byte-compiling Python standard library..." + python_optimize "${ED}${dest}" + + # remove to avoid collisions + rm "${PYTHON}" || die +}