diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
commit | d934827bf44b7cfcf6711964418148fa60877668 (patch) | |
tree | 0625f358789b5e015e49db139cc1dbc9be00428f /dev-python/pypy3-exe-bin/pypy3-exe-bin-7.3.3_p37.ebuild | |
parent | 2e34d110f164bf74d55fced27fe0000201b3eec5 (diff) |
gentoo resync : 25.11.2020
Diffstat (limited to 'dev-python/pypy3-exe-bin/pypy3-exe-bin-7.3.3_p37.ebuild')
-rw-r--r-- | dev-python/pypy3-exe-bin/pypy3-exe-bin-7.3.3_p37.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/dev-python/pypy3-exe-bin/pypy3-exe-bin-7.3.3_p37.ebuild b/dev-python/pypy3-exe-bin/pypy3-exe-bin-7.3.3_p37.ebuild new file mode 100644 index 000000000000..e8930a159077 --- /dev/null +++ b/dev-python/pypy3-exe-bin/pypy3-exe-bin-7.3.3_p37.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2020 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://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}" +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:${PV}" + +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}" +} |