New package: pypy-2.0.
This commit is contained in:
parent
087a36412c
commit
ac73dec35e
|
@ -0,0 +1,27 @@
|
||||||
|
# Template file for 'pypy'
|
||||||
|
pkgname=pypy
|
||||||
|
version=2.0
|
||||||
|
revision=1
|
||||||
|
makedepends="python libffi-devel"
|
||||||
|
short_desc="PyPy is a fast, compliant alternative implementation of the Python language"
|
||||||
|
maintainer="pancake <pancake@nopcode.org>"
|
||||||
|
homepage="http://pypy.org/"
|
||||||
|
license="MIT"
|
||||||
|
distfiles="https://bitbucket.org/pypy/pypy/downloads/pypy-2.0-src.tar.bz2"
|
||||||
|
checksum=d92dfd418beac915d3efc28f8a2090f3c13a89ec653419deff3d7112c5c111f3
|
||||||
|
wrksrc="$pkgname-$version-src"
|
||||||
|
|
||||||
|
do_build() {
|
||||||
|
python rpython/bin/rpython -Ojit pypy/goal/targetpypystandalone.py
|
||||||
|
}
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
mkdir -p ${DESTDIR}/usr/bin
|
||||||
|
cp -f pypy-c ${DESTDIR}/usr/bin
|
||||||
|
}
|
||||||
|
|
||||||
|
pypy_package() {
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue