summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-03-11 09:11:45 +0100
committerMichał Górny <mgorny@gentoo.org>2021-03-11 09:48:03 +0100
commitc5ca96ad45b00c8979d7beb3e95a7a88634c4aea (patch)
tree723515904217f460fe29e8b3458f5bdf96afd5ed /dev-python/pypy3-exe-bin
parentdev-python/pypy3-exe: Backport incremental unicode decoder fix (diff)
downloadgentoo-c5ca96ad45b00c8979d7beb3e95a7a88634c4aea.tar.gz
gentoo-c5ca96ad45b00c8979d7beb3e95a7a88634c4aea.tar.bz2
gentoo-c5ca96ad45b00c8979d7beb3e95a7a88634c4aea.zip
dev-python/pypy3-exe-bin: Bump to 7.3.3_p37_p2 (unicode dec fix)
Closes: https://bugs.gentoo.org/775074 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/Manifest2
-rw-r--r--dev-python/pypy3-exe-bin/pypy3-exe-bin-7.3.3_p37_p2.ebuild49
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-python/pypy3-exe-bin/Manifest b/dev-python/pypy3-exe-bin/Manifest
index cb00fab93a73..6ed560e0f33d 100644
--- a/dev-python/pypy3-exe-bin/Manifest
+++ b/dev-python/pypy3-exe-bin/Manifest
@@ -1,2 +1,4 @@
DIST pypy3-exe-7.3.3_p37_p1-1.amd64.xpak 11849780 BLAKE2B 50af990a9f636c6f3fdceaaaa6187d9dbc70b0cffd833bbb143379194515ee7a2c7c8289085cbc979cf9448a08ea12c702116fe021cbc24022298caef88ce98b SHA512 b2ec41db00bbc8cf4b610633a0027ea0825d6695c053081195edbd38634609e9d53e38ae72e76a0d53921e6d0adc337ae8221a7658c04cdae1b0702fcafc6f9f
DIST pypy3-exe-7.3.3_p37_p1-1.x86.xpak 9097573 BLAKE2B bac15c49691ee264c271a1b9a6fa3fe6bc6c35effd8d21477264e2e8f140f713608bad74746ee796b98e94d4e7dc1ea33d667aa89389786c2e04acf31f264952 SHA512 128e9e570a00b684fb0915917b58166049b6280805915952c11a3793c579233a35e917a42b25aa2b50262dc6a0c99ca9e5283f39128973249d8735c827dfc10e
+DIST pypy3-exe-7.3.3_p37_p2-1.amd64.xpak 11834007 BLAKE2B c6d501f7c2317c2550404158d5c917c4519cef5987dbfe72d9b9b01f5821554be951e8b89db1d74e5629a747d1044f0d9d69ea3520760eba294740ec4599a490 SHA512 bff2f9e499a9992fa3ae8779713cd7455049f8d16f16d42b8e62d2564291d495cfcd641c0e492bbac9dd157ea00fb377ba89c9751eb743ce6639329aebe7de39
+DIST pypy3-exe-7.3.3_p37_p2-1.x86.xpak 9153105 BLAKE2B 58a2f4c7e2e6c7cc1c65e129d6a5153b566fedd109834cec2b0506519f62bc508cdb342bc4eb084a4a5eaaa2ff6e7afae8f9f22d9b5d6a4647eaa7ea177fff8e SHA512 3990567c97175d6024499c65b050b4e095de5374c050416a479671e31aedefd749abb259d255841001351b043f9e86ffaa1a5cd61a1f8449b26fe023a7022849
diff --git a/dev-python/pypy3-exe-bin/pypy3-exe-bin-7.3.3_p37_p2.ebuild b/dev-python/pypy3-exe-bin/pypy3-exe-bin-7.3.3_p37_p2.ebuild
new file mode 100644
index 000000000000..c25ec9fa093a
--- /dev/null
+++ b/dev-python/pypy3-exe-bin/pypy3-exe-bin-7.3.3_p37_p2.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit pax-utils
+
+MY_P=pypy3-exe-${PV}-1
+DESCRIPTION="PyPy3 executable (pre-built version)"
+HOMEPAGE="https://www.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
+ dev-libs/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:${SLOT}"
+
+PYPY_PV=${SLOT%_p*}
+QA_PREBUILT="
+ usr/lib/pypy3.7/pypy3-c-${PYPY_PV}"
+
+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.7/pypy3-c-${PYPY_PV}"
+ pax-mark m "${ED}/usr/lib/pypy3.7/pypy3-c-${PYPY_PV}"
+}