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 01354138334 for ; Wed, 25 Dec 2019 18:38:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 227B0E0ABF; Wed, 25 Dec 2019 18:38:20 +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 AA9A2E0A81 for ; Wed, 25 Dec 2019 18:38:19 +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 2A8D634DB4E for ; Wed, 25 Dec 2019 18:38:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6AFA043 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: <1577299087.64c63f8bc6150b378c75bfeb69ee7267a3fc0f9f.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pypy3-exe-bin/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pypy3-exe-bin/Manifest dev-python/pypy3-exe-bin/metadata.xml dev-python/pypy3-exe-bin/pypy3-exe-bin-7.3.0_p1.ebuild X-VCS-Directories: dev-python/pypy3-exe-bin/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 64c63f8bc6150b378c75bfeb69ee7267a3fc0f9f 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: a8e71de2-244a-4081-b7aa-f9225eee632f X-Archives-Hash: 6560115d302f1031d5397658cda808b7 commit: 64c63f8bc6150b378c75bfeb69ee7267a3fc0f9f Author: Michał Górny gentoo org> AuthorDate: Wed Dec 25 17:01:06 2019 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Dec 25 18:38:07 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64c63f8b dev-python/pypy3-exe-bin: New split package, v7.3.0-1 Pre-built alternative to dev-python/pypy3-exe. Signed-off-by: Michał Górny gentoo.org> dev-python/pypy3-exe-bin/Manifest | 2 + dev-python/pypy3-exe-bin/metadata.xml | 11 +++++ .../pypy3-exe-bin/pypy3-exe-bin-7.3.0_p1.ebuild | 48 ++++++++++++++++++++++ 3 files changed, 61 insertions(+) diff --git a/dev-python/pypy3-exe-bin/Manifest b/dev-python/pypy3-exe-bin/Manifest new file mode 100644 index 00000000000..fc7060f4388 --- /dev/null +++ b/dev-python/pypy3-exe-bin/Manifest @@ -0,0 +1,2 @@ +DIST pypy3-exe-7.3.0-1.amd64.xpak 11650308 BLAKE2B 49f8fff0675acb75ca8fa525f4554807ef90307a5236ece6d4ca242ab016629f926559d1b82641fd9b15d77eaf9736f9c9a2c82fc280a492d90f4e99218cc8c3 SHA512 b22d90e14f88ce5ea9488f9796931fe9afb68dad926835a3311cd284e681e2c680df576d8859c00ece41508d56682dae21ef0e34dc77e47010141a6e58322efb +DIST pypy3-exe-7.3.0-1.x86.xpak 8953475 BLAKE2B e271c61341d2d92cd05c0e521d3ea1a752639d5111687b625329679f295abe1c6f5d5221e024352fd2310d20156100b107d520021f2060812f2a2cd6ce12a4d2 SHA512 969a38fc6f64e994b13bb7b0e62eba1b0f86949d63bd72116f67012ab039b696212d412d9d8d851ed33099f0bdc7be739a082e080893546f080da60789d273f0 diff --git a/dev-python/pypy3-exe-bin/metadata.xml b/dev-python/pypy3-exe-bin/metadata.xml new file mode 100644 index 00000000000..ff5bc95069a --- /dev/null +++ b/dev-python/pypy3-exe-bin/metadata.xml @@ -0,0 +1,11 @@ + + + + + python@gentoo.org + Python + + + pypy/pypy + + diff --git a/dev-python/pypy3-exe-bin/pypy3-exe-bin-7.3.0_p1.ebuild b/dev-python/pypy3-exe-bin/pypy3-exe-bin-7.3.0_p1.ebuild new file mode 100644 index 00000000000..f74a892b39a --- /dev/null +++ b/dev-python/pypy3-exe-bin/pypy3-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=pypy3-exe-${PV/_p/-} +DESCRIPTION="PyPy3 executable (pre-built version)" +HOMEPAGE="https://pypy.org/" +SRC_URI=" + amd64? ( + https://dev.gentoo.org/~mgorny/binpkg/amd64/pypy/dev-python/pypy3-exe/${MY_P}.xpak + -> ${MY_P}.amd64.xpak + ) + x86? ( + https://dev.gentoo.org/~mgorny/binpkg/x86/pypy/dev-python/pypy3-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/pypy3.6/pypy3-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/pypy3.6/pypy3-c-${SLOT}" + pax-mark m "${ED}/usr/lib/pypy3.6/pypy3-c-${SLOT}" +}