aboutsummaryrefslogtreecommitdiff
blob: 18a56f1a52079539226c0b159968ba2f3b00e9a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=5
PYTHON_COMPAT=( python{2_5,2_6,2_7} pypy{1_9,2_0} )

inherit python-any-r1 versionator

DESCRIPTION="Pre-built pypy binary for low memory systems"
HOMEPAGE=""http://pypy.org/""
SRC_URI="amd64? ( http://dev.gentoo.org/~idella4/${P}.tbz2 )"

LICENSE="MIT"
SLOT=$(get_version_component_range 1-2 ${PV})
KEYWORDS="~amd64 ~amd64-linux ~x86 ~x86-linux"
IUSE="bzip2 +jit ncurses sqlite ssl +xml"

RDEPEND=">=sys-libs/zlib-1.1.3
	virtual/libffi
	virtual/libintl
	dev-libs/expat
	bzip2? ( app-arch/bzip2 )
	ncurses? ( sys-libs/ncurses )
	sqlite? ( dev-db/sqlite:3 )
	ssl? ( dev-libs/openssl )"
DEPEND="${RDEPEND}
	${PYTHON_DEPS}"
PDEPEND="app-admin/python-updater"

src_unpack() {
	default
	mkdir "${WORKDIR}"/${P}
	mv "${WORKDIR}"/usr "${WORKDIR}"/${P}/ || die
}

src_install() {
	mv "${WORKDIR}"/${P}/usr "${D}" || die
}