This commit is contained in:
milisbir 2018-01-09 00:01:28 +02:00
parent 84bc9f0c0e
commit b2a502fc72
1 changed files with 24 additions and 19 deletions

View File

@ -4,7 +4,7 @@
# Gerekler: python tk sqlite mercurial pycparser libffi
isim=pypy
surum=5.8.0
surum=5.10.0
devir=1
kaynak=(https://bitbucket.org/pypy/pypy/downloads/pypy2-v$surum-src.tar.bz2)
@ -17,7 +17,7 @@ derle() {
# Compile binary modules
PYTHONPATH=../.. ./pypy-c ../tool/build_cffi_imports.py
cd $SRC/pypy2-v${surum}-src
cd pypy2-v${surum}-src
# Prepare installation
python2 pypy/tool/release/package.py --archive-name pypy --targetdir .
@ -34,4 +34,9 @@ derle() {
# Install symlink
mkdir -p "${PKG}"/usr/bin
ln -s /opt/pypy/bin/pypy "${PKG}"/usr/bin/pypy
# Install misc stuff
install -Dm644 README.rst "${PKG}"/opt/pypy/README.rst
install -Dm644 LICENSE "${PKG}"/opt/pypy/LICENSE
install -Dm644 LICENSE "${PKG}"/usr/share/licenses/pypy/LICENSE
}