summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-10-10 14:38:33 +0200
committerMichał Górny <mgorny@gentoo.org>2022-10-10 14:47:44 +0200
commit676da0ec35fb05d1f4e7b713a7a29c597ffbf62c (patch)
tree714122ec57fd0857a5ae15290da14035607176e6 /dev-python/pypy-exe-bin
parentsys-kernel/vanilla-kernel: Remove old (diff)
downloadgentoo-676da0ec35fb05d1f4e7b713a7a29c597ffbf62c.tar.gz
gentoo-676da0ec35fb05d1f4e7b713a7a29c597ffbf62c.tar.bz2
gentoo-676da0ec35fb05d1f4e7b713a7a29c597ffbf62c.zip
dev-python/pypy-exe-bin: Use .gpkg.tar, eliminate gcc dep on musl
Rebuild all the binary packages in .gpkg.tar format. Build with -static-libgcc on musl to avoid dependencing on libgcc_s, and therefore make the binpkg work out of the box on clang-only systems. Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pypy-exe-bin')
-rw-r--r--dev-python/pypy-exe-bin/Manifest8
-rw-r--r--dev-python/pypy-exe-bin/pypy-exe-bin-7.3.9-r4.ebuild79
2 files changed, 87 insertions, 0 deletions
diff --git a/dev-python/pypy-exe-bin/Manifest b/dev-python/pypy-exe-bin/Manifest
index 051a70738c23..bc1b84d6169e 100644
--- a/dev-python/pypy-exe-bin/Manifest
+++ b/dev-python/pypy-exe-bin/Manifest
@@ -4,5 +4,13 @@ DIST pypy-exe-7.3.9-1.arm64.xpak 11597382 BLAKE2B b41921e299435e11c54dbfff33adf8
DIST pypy-exe-7.3.9-1.ppc64le-musl.xpak 6720652 BLAKE2B c55e73b80458df5bf211493f62ca7c3be457639173bf7242b9a8e666e9d0edbc0f757e506dffdf87454188036ae78a03a93f1767d44f8606bb4db297610237f7 SHA512 bc9255f9c9f66d4b8e1ef4649db45950201b7bfd16984f9bc6ff74f5a4cb6a0f34a8553ecc0e21d59d851c90ab488c12db89ecbd9490ba8344e1bf911a61bb94
DIST pypy-exe-7.3.9-1.ppc64le.xpak 11755620 BLAKE2B 09d9b8f9ae6abdd1b6cb9d7d3337a2760b33b31b2def8b10ec5b3dd3b2820d21548544c1cf6da455fba197ef49d3db481e69311f3ddc1be722e9ec3e534f5542 SHA512 64717dee54948473317603d64627024d3c65d0df1de008840d5676c9b94aa46b97b564134d10d97b3cdc6092f79900ec3db320151f8513771ed827517014e69f
DIST pypy-exe-7.3.9-1.x86-musl.xpak 10118700 BLAKE2B 5ab545378d9ba48ffe167aaf80449e97201b3607d7a2477420c4766347b23c3993b5b241ea776690e0c448b329dfa10a3b912cef859ac70b0d4f755dc37e5771 SHA512 48b8b8a89d1a7d533b8683de3335d18b6f680e0a13862b65b9d181b22eb70feef0ba1c14124bab5a2bd0b0bb43bbf417f58d1dd95f76e6c5baf482521d3a4d63
+DIST pypy-exe-7.3.9-2.amd64-musl.gpkg.tar 13762560 BLAKE2B 88364dc5677adb1e8307f6744920c7bc13b5794917b7141f7548a53306ecd7fa63dc457932b079b9688f5fde8753e8f859dbf069d569903776306e790f92f09c SHA512 be77ac5c76cbb4c6ad020f2e091ad5a32acf9473668f8cf9b4bbec448bcaa3343e6b722e446c229891ae24a688044eb8ea627bad89f9585f94197c64bf85d2ee
DIST pypy-exe-7.3.9-2.amd64.xpak 13715525 BLAKE2B 17ace55d2c06a0e9a15cf980c2741aa68e2b91083acc5fbc64c736353d2abe325ac9949d0a3a6fd8b825e345ce76b372564434752c3541b663d9532eeecb1d73 SHA512 bae5a9ff57b708523eab2b95de564f7c7d5c5837cfb201e890a6cd7377b41d1ab0229e22d9596a3096f0641649d189ce1a88c67e71dbb578d24f420b83de6ccd
+DIST pypy-exe-7.3.9-2.arm64-musl.gpkg.tar 11601920 BLAKE2B 53485ceaf63841f98ccd62716b75ab1e5839d7239ac398b49c8e60810e3a69c17a3510d10668719c8b4fa52489639dfa4e9b669d216a6969c9f2f98a76696aa3 SHA512 c0c8258604ff2f54fdbc165f1a4e03bb40cc768341584ee7d6dcdc102dc7ac8b940a17ed4b22dd77f76b58258533ba2401997e9a4fdfab0cd743e1f287b56654
+DIST pypy-exe-7.3.9-2.arm64.gpkg.tar 11612160 BLAKE2B 6906372980c3ac890de90b0a80d44fa7e3a8a5be8640ec46155c4736ae289ea9b1dc06caec8546bc881d658770baeb1a5522634e2f29df85f1793508b3c39d2e SHA512 7dce7086856373e2548054af41409eb13d871b2ea42477ab03b2ea0264ee13e97c96544115964a638e535dc6213f0c6d026ed4bf30bd245824db573f171efed5
+DIST pypy-exe-7.3.9-2.ppc64le-musl.gpkg.tar 6727680 BLAKE2B 94175b43bb999efe35ff50df6ce9614636272573ffbb87ad801312370a7b18ad9fc5ac243e11826679ba4cf1ad00a2bafacbda5197cffda3e1cbcf13d5e0bdba SHA512 53a5dfb7407676bf4cafd3608920acd1c0ac9f735ed175dd1ca28fa4a264611f7e5bd4a8fa340c42adaa886908ac49a58054b8f4aacdc3effd4f2f6689d2f34a
+DIST pypy-exe-7.3.9-2.ppc64le.gpkg.tar 11704320 BLAKE2B 06dfad8882e037a03cbe24ac7314f67ada59fc528f0583e69751b36a02a3067862e8b9db82f450a5d39d4f15bfd52c4432116588d241d2f2956391b03ed509ca SHA512 a77965b025e8a2a4fd301100ad52699ada0512dad9e36acc166888af34a9093d00726fdfd83b37e2c46c480413ab1cd5818361dc5a2007bc5b491ecc22d411e2
+DIST pypy-exe-7.3.9-2.x86-musl.gpkg.tar 10178560 BLAKE2B 93a239c7f02f5d057aade56762fdb0919acf63215ba52e1076dc62758ce743bca549d174c220471016a121a72efe22c58f547a43d2253865635fb126857aa9bd SHA512 0d463e9d563e3510967dbdcde3057bd4ec86a2dd0d8cd7743ff131120493116f71e253354195c2fa2f2ac209ed136ba10381fd8bd568150dc44d2d778bf13b84
DIST pypy-exe-7.3.9-2.x86.xpak 10199358 BLAKE2B 502748c1c90db9ee1d626c33ead656d472ec2f2e6df24fb185df251d40fc8aad033d693d4dc248fa210a26b63052a9cdba7b9d3998b6ede72e2df14631bdd31b SHA512 aca7a25757f479e3c684596662c173c687e3f3cb20f7b9a1a397a1642d45cc8ea98d35d173696146763ffa24e797882a8b9d35fb14533b432256ac874ec94a6f
+DIST pypy-exe-7.3.9-3.amd64.gpkg.tar 13701120 BLAKE2B 1c0b10906adcbdfb9893a097577193b89ecaf54c8c3ab5f5907cd51b75d6f26ab31afa0369015db007ef25e0aee7669015e870a554940177b9332a79d7b8ff0b SHA512 8cd53261f035ad0d6ad3dc7f13f29d54304ed02a339bbbc565a541b4e3b9ce0ff4734f3877e286e018da2b77468287fb11e499cc5fff4fc73f6a7bc1a602daf6
+DIST pypy-exe-7.3.9-3.x86.gpkg.tar 10147840 BLAKE2B 8cb0c136c95b89178dcab3684e76fd3399ec9af2ff314ac39927bc3431b46a330746331ee142590239f44fcfd943f0d0766d462d91cf47886d7badeec429a786 SHA512 0df2f09c1934b44561c12e514ac84377b3718c2f0e5912c0f36a95100911abb692a659b384c6ea9746e11494dff6f780996725b7783f6d0dc875e8e6652051fc
diff --git a/dev-python/pypy-exe-bin/pypy-exe-bin-7.3.9-r4.ebuild b/dev-python/pypy-exe-bin/pypy-exe-bin-7.3.9-r4.ebuild
new file mode 100644
index 000000000000..f3fec7925db4
--- /dev/null
+++ b/dev-python/pypy-exe-bin/pypy-exe-bin-7.3.9-r4.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit pax-utils unpacker
+
+MY_P=pypy-exe-${PV}
+DESCRIPTION="PyPy executable (pre-built version)"
+HOMEPAGE="https://www.pypy.org/"
+SRC_URI="
+ elibc_glibc? (
+ amd64? (
+ https://dev.gentoo.org/~mgorny/binpkg/amd64/pypy/dev-python/pypy-exe/${MY_P}-3.gpkg.tar
+ -> ${MY_P}-3.amd64.gpkg.tar
+ )
+ arm64? (
+ https://dev.gentoo.org/~mgorny/binpkg/arm64/pypy/dev-python/pypy-exe/${MY_P}-2.gpkg.tar
+ -> ${MY_P}-2.arm64.gpkg.tar
+ )
+ ppc64? (
+ https://dev.gentoo.org/~mgorny/binpkg/ppc64le/pypy/dev-python/pypy-exe/${MY_P}-2.gpkg.tar
+ -> ${MY_P}-2.ppc64le.gpkg.tar
+ )
+ x86? (
+ https://dev.gentoo.org/~mgorny/binpkg/x86/pypy/dev-python/pypy-exe/${MY_P}-3.gpkg.tar
+ -> ${MY_P}-3.x86.gpkg.tar
+ )
+ )
+ elibc_musl? (
+ amd64? (
+ https://dev.gentoo.org/~mgorny/binpkg/amd64-musl/pypy/dev-python/pypy-exe/${MY_P}-2.gpkg.tar
+ -> ${MY_P}-2.amd64-musl.gpkg.tar
+ )
+ arm64? (
+ https://dev.gentoo.org/~mgorny/binpkg/arm64-musl/pypy/dev-python/pypy-exe/${MY_P}-2.gpkg.tar
+ -> ${MY_P}-2.arm64-musl.gpkg.tar
+ )
+ ppc64? (
+ https://dev.gentoo.org/~mgorny/binpkg/ppc64le-musl/pypy/dev-python/pypy-exe/${MY_P}-2.gpkg.tar
+ -> ${MY_P}-2.ppc64le-musl.gpkg.tar
+ )
+ x86? (
+ https://dev.gentoo.org/~mgorny/binpkg/x86-musl/pypy/dev-python/pypy-exe/${MY_P}-2.gpkg.tar
+ -> ${MY_P}-2.x86-musl.gpkg.tar
+ )
+ )
+"
+S="${WORKDIR}"
+
+LICENSE="MIT"
+SLOT="${PV%_p*}"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+
+# sys-devel/gcc for libgcc_s.so
+RDEPEND="
+ app-arch/bzip2:0/1
+ dev-libs/expat:0/0
+ dev-libs/libffi:0/8
+ sys-libs/ncurses:0/6
+ >=sys-libs/zlib-1.1.3:0/1
+ virtual/libintl:0/0
+ elibc_glibc? (
+ sys-devel/gcc
+ >=sys-libs/glibc-2.35
+ )
+ !dev-python/pypy-exe:${SLOT}
+"
+
+QA_PREBUILT="
+ usr/lib/pypy2.7/pypy-c-${SLOT}
+"
+
+src_install() {
+ insinto /
+ doins -r */image/usr
+ fperms +x "/usr/lib/pypy2.7/pypy-c-${SLOT}"
+ pax-mark m "${ED}/usr/lib/pypy2.7/pypy-c-${SLOT}"
+}