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 EE2CB138335 for ; Wed, 25 Dec 2019 18:38:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EA195E0A5A; Wed, 25 Dec 2019 18:38:17 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 B9EABE0A5A for ; Wed, 25 Dec 2019 18:38:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 935AA34DB50 for ; Wed, 25 Dec 2019 18:38:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0A0FC32 for ; Wed, 25 Dec 2019 18:38:15 +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: <1577299082.cbfb575351b4fd132724c05b8aa2dcff26dd089b.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pypy-exe-bin/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pypy-exe-bin/Manifest dev-python/pypy-exe-bin/metadata.xml dev-python/pypy-exe-bin/pypy-exe-bin-7.3.0_p1.ebuild X-VCS-Directories: dev-python/pypy-exe-bin/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: cbfb575351b4fd132724c05b8aa2dcff26dd089b X-VCS-Branch: master Date: Wed, 25 Dec 2019 18:38:15 +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: 8c1806e5-a1c4-4ba7-9b62-d96e8d390a36 X-Archives-Hash: 8653a9ebe279a0122d10165fe806b43b commit: cbfb575351b4fd132724c05b8aa2dcff26dd089b Author: Michał Górny gentoo org> AuthorDate: Mon Dec 23 22:39:10 2019 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Dec 25 18:38:02 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbfb5753 dev-python/pypy-exe-bin: New split package, v7.3.0-1 Pre-built alternative to dev-python/pypy-exe. Signed-off-by: Michał Górny gentoo.org> dev-python/pypy-exe-bin/Manifest | 2 + dev-python/pypy-exe-bin/metadata.xml | 11 +++++ .../pypy-exe-bin/pypy-exe-bin-7.3.0_p1.ebuild | 48 ++++++++++++++++++++++ 3 files changed, 61 insertions(+) diff --git a/dev-python/pypy-exe-bin/Manifest b/dev-python/pypy-exe-bin/Manifest new file mode 100644 index 00000000000..8c8748b761c --- /dev/null +++ b/dev-python/pypy-exe-bin/Manifest @@ -0,0 +1,2 @@ +DIST pypy-exe-7.3.0-1.amd64.xpak 13515366 BLAKE2B 52a3640b7a905a5ca7097a752d747e048a21e55b354d60bd3b9ba146d995ec1682bb510e97b94d3525cc46c6b80ba9be0eff8497f1c4c0aa0b60374c89077b99 SHA512 2514d0eef17eb41a6ed4081662ae1fa57fe1e74b0b29d35ab7c46ccec5729a76603d97fc98a3d3213e5bdaca4f29a4a3a42f6368bd610161e897f74f9a14680c +DIST pypy-exe-7.3.0-1.x86.xpak 10261761 BLAKE2B 60726089208c925baf233072de2d7f580289a5ba5d920cf3bc2a47fd146425dd38f08e0033ff16243914e95a18f79990b071bf93fe221f85a0296fe081ca94f6 SHA512 1afd0d3ab20ffb627159ef483260a446c6defc761ed69eea81e2b4edd36fcc29a0f43b91cce5f97f8fbe2f1f830fd395181faad281234cf60d1baf7ab1a48876 diff --git a/dev-python/pypy-exe-bin/metadata.xml b/dev-python/pypy-exe-bin/metadata.xml new file mode 100644 index 00000000000..ff5bc95069a --- /dev/null +++ b/dev-python/pypy-exe-bin/metadata.xml @@ -0,0 +1,11 @@ + + + + + python@gentoo.org + Python + + + pypy/pypy + + diff --git a/dev-python/pypy-exe-bin/pypy-exe-bin-7.3.0_p1.ebuild b/dev-python/pypy-exe-bin/pypy-exe-bin-7.3.0_p1.ebuild new file mode 100644 index 00000000000..1ad8ffeb016 --- /dev/null +++ b/dev-python/pypy-exe-bin/pypy-exe-bin-7.3.0_p1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit pax-utils + +MY_P=pypy-exe-${PV/_p/-} +DESCRIPTION="PyPy executable (pre-built version)" +HOMEPAGE="https://pypy.org/" +SRC_URI=" + amd64? ( + https://dev.gentoo.org/~mgorny/binpkg/amd64/pypy/dev-python/pypy-exe/${MY_P}.xpak + -> ${MY_P}.amd64.xpak + ) + x86? ( + https://dev.gentoo.org/~mgorny/binpkg/x86/pypy/dev-python/pypy-exe/${MY_P}.xpak + -> ${MY_P}.x86.xpak + )" +S="${WORKDIR}" + +LICENSE="MIT" +SLOT="${PV%_p*}" +KEYWORDS="~amd64 ~x86" + +RDEPEND=">=sys-libs/zlib-1.1.3:0/1 + virtual/libffi:0/7 + virtual/libintl:0/0 + dev-libs/expat:0/0 + app-arch/bzip2:0/1 + sys-libs/ncurses:0/6 + !dev-python/pypy-exe:${PV}" + +QA_PREBUILT=" + usr/lib/pypy2.7/pypy-c-${SLOT}" + +src_unpack() { + ebegin "Unpacking ${MY_P}.${ARCH}.xpak" + tar -x < <(xz -c -d --single-stream "${DISTDIR}/${MY_P}.${ARCH}.xpak") + eend ${?} || die "Unpacking ${MY_P} failed" +} + +src_install() { + insinto / + doins -r usr + fperms +x "/usr/lib/pypy2.7/pypy-c-${SLOT}" + pax-mark m "${ED}/usr/lib/pypy2.7/pypy-c-${SLOT}" +}