diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-08-25 14:49:58 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-08-25 14:49:58 +0100 |
commit | ef89e12d3986ab87064b84e073b2a4a11f32c91c (patch) | |
tree | 2e4bbfc20faa4927576eed7c8002b5e121f10047 /dev-python/pypy-exe-bin/pypy-exe-bin-7.3.9-r1.ebuild | |
parent | fae5c40540ab2ebf93e2291bfec510022df02bdc (diff) |
gentoo auto-resync : 25:08:2022 - 14:49:58
Diffstat (limited to 'dev-python/pypy-exe-bin/pypy-exe-bin-7.3.9-r1.ebuild')
-rw-r--r-- | dev-python/pypy-exe-bin/pypy-exe-bin-7.3.9-r1.ebuild | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/dev-python/pypy-exe-bin/pypy-exe-bin-7.3.9-r1.ebuild b/dev-python/pypy-exe-bin/pypy-exe-bin-7.3.9-r1.ebuild new file mode 100644 index 000000000000..32d2d2a4ed51 --- /dev/null +++ b/dev-python/pypy-exe-bin/pypy-exe-bin-7.3.9-r1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit pax-utils + +MY_P=pypy-exe-${PV}-2 +DESCRIPTION="PyPy executable (pre-built version)" +HOMEPAGE="https://www.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=" + 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 + !dev-python/pypy-exe:${SLOT} +" + +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}" +} |