diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-08-25 21:45:18 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-08-25 21:45:54 +0200 |
commit | c215c1a9ca64590b6bb17e046caee770f441300f (patch) | |
tree | a452081585e0ecc8775da40ff51bf23007ccc877 /dev-python/pypy3-exe-bin | |
parent | net-libs/libcapi: drop 3.0.7-r1 (diff) | |
download | gentoo-c215c1a9ca64590b6bb17e046caee770f441300f.tar.gz gentoo-c215c1a9ca64590b6bb17e046caee770f441300f.tar.bz2 gentoo-c215c1a9ca64590b6bb17e046caee770f441300f.zip |
dev-python/pypy3-exe-bin: Add support for arm64 and ppc64le
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pypy3-exe-bin')
-rw-r--r-- | dev-python/pypy3-exe-bin/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pypy3-exe-bin/pypy3-exe-bin-7.3.9_p3-r1.ebuild | 17 |
2 files changed, 15 insertions, 4 deletions
diff --git a/dev-python/pypy3-exe-bin/Manifest b/dev-python/pypy3-exe-bin/Manifest index 6f91d713ca30..9b1658c8c73b 100644 --- a/dev-python/pypy3-exe-bin/Manifest +++ b/dev-python/pypy3-exe-bin/Manifest @@ -1,2 +1,4 @@ DIST pypy3-exe-7.3.9_p3-1.amd64.xpak 12394274 BLAKE2B 8f7a041839fdd1dd55fd0293660369310aaa1f118e34a730e066899c09ced71fa37d70d59952fb68d932f63e907b903c41c91b5ba4d646637fcfe628a20861b2 SHA512 166722fec0288b8c69645e0c8e630aa4c0b74f8d41817148147556ce6f0491e7251cbc202b62f7a1dec6b1da3e2f2c6313f02952b11220f35be2c1ad6276f89a +DIST pypy3-exe-7.3.9_p3-1.arm64.xpak 10482599 BLAKE2B c48c9a19db30315be223bfc1121bc9a0300c91c511678a1d11bcf3a1601a3d1fd7d7852cc196d22650ec4ab4234d68f7a9046b01bf2f4f1f7104ae2d31797e9e SHA512 3200f7faf3b9c2211d828f6c434775138a1543a75b2ff4403c896f4941682ff40e16242045ec65908540b6537711c459ce7b0fdcdc201bc9768b2521bbe4cedb +DIST pypy3-exe-7.3.9_p3-1.ppc64le.xpak 10930518 BLAKE2B fca375a3466ee51c9436587104d5f13cb4642a8efb347124fcc2880c2382bf56921889b2c3aa96f26d22fb734cbd27adcf5f0c8feeff92c2d625df1daaa38ade SHA512 ee33067b964c33701b687ace463cfc11795af37bf3302c8e3e2d1e0610728945d370f88d97d1ba3fd66ac9bbf905930857e78e5bc96c911d3a663c2e9c74a5cc DIST pypy3-exe-7.3.9_p3-1.x86.xpak 9210827 BLAKE2B a740ef7e1d4559308c129399cda498b7c0fe8e654e4d36830ded5197a7788168dbc8b4f83908a41869cd51343dd9b371ba53de8e88655b2728b8f6351f502ef2 SHA512 bd2ef07e980bd37b7ecfb052a9304a80ee527c61f8a60344e8e9b1bfcdf1f50038e7b281257194c388e0452aa968f984f5b6bc7d9f7c89bf08279e9a169ed8e6 diff --git a/dev-python/pypy3-exe-bin/pypy3-exe-bin-7.3.9_p3-r1.ebuild b/dev-python/pypy3-exe-bin/pypy3-exe-bin-7.3.9_p3-r1.ebuild index f996c72b2ad8..6a1e05e38ee0 100644 --- a/dev-python/pypy3-exe-bin/pypy3-exe-bin-7.3.9_p3-r1.ebuild +++ b/dev-python/pypy3-exe-bin/pypy3-exe-bin-7.3.9_p3-r1.ebuild @@ -13,6 +13,14 @@ SRC_URI=" https://dev.gentoo.org/~mgorny/binpkg/amd64/pypy/dev-python/pypy3-exe/${MY_P}.xpak -> ${MY_P}.amd64.xpak ) + arm64? ( + https://dev.gentoo.org/~mgorny/binpkg/arm64/pypy/dev-python/pypy3-exe/${MY_P}.xpak + -> ${MY_P}.arm64.xpak + ) + ppc64? ( + https://dev.gentoo.org/~mgorny/binpkg/ppc64le/pypy/dev-python/pypy3-exe/${MY_P}.xpak + -> ${MY_P}.ppc64le.xpak + ) x86? ( https://dev.gentoo.org/~mgorny/binpkg/x86/pypy/dev-python/pypy3-exe/${MY_P}.xpak -> ${MY_P}.x86.xpak @@ -22,7 +30,7 @@ S="${WORKDIR}" LICENSE="MIT" SLOT="3.9-${PV%_p*}" -KEYWORDS="amd64 x86" +KEYWORDS="amd64 ~arm64 ~ppc64 x86" RDEPEND=" app-arch/bzip2:0/1 @@ -40,9 +48,10 @@ QA_PREBUILT=" " 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" + local pkg=${MY_P}.${ARCH/ppc64/ppc64le}.xpak + ebegin "Unpacking ${pkg}" + tar -x < <(xz -c -d --single-stream "${DISTDIR}/${pkg}") + eend ${?} || die "Unpacking ${pkg} failed" } src_install() { |