[arch-commits] Commit in pypy3/repos/community-testing-x86_64 (PKGBUILD PKGBUILD)
Sven-Hendrik Haase
svenstaro at archlinux.org
Wed Apr 5 08:29:20 UTC 2017
Date: Wednesday, April 5, 2017 @ 08:29:19
Author: svenstaro
Revision: 220546
archrelease: copy trunk to community-testing-x86_64
Added:
pypy3/repos/community-testing-x86_64/PKGBUILD
(from rev 220545, pypy3/trunk/PKGBUILD)
Deleted:
pypy3/repos/community-testing-x86_64/PKGBUILD
----------+
PKGBUILD | 104 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 52 insertions(+), 52 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-04-05 08:29:09 UTC (rev 220545)
+++ PKGBUILD 2017-04-05 08:29:19 UTC (rev 220546)
@@ -1,52 +0,0 @@
-# $Id: PKGBUILD 95035 2013-08-04 09:44:24Z svenstaro $
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-
-pkgname=pypy3
-pkgver=5.7.0
-pkgrel=1
-pkgdesc="A Python3 implementation written in Python, JIT enabled"
-url="http://pypy.org"
-arch=('x86_64')
-depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib')
-makedepends=('python2' 'sqlite' 'tk' 'python2-pycparser')
-optdepends=('sqlite: sqlite module'
- 'tk: tk module')
-options=(!buildflags)
-license=('custom:MIT')
-source=("https://bitbucket.org/pypy/pypy/downloads/pypy3-v${pkgver}-src.tar.bz2")
-sha512sums=('b34f7b8fee494cbd77e8b5381f18eace09c7717282de391d6aef7e522ab98f570ac7f3a0a3df0b01fdb537b129f63e22d1f371191a5746bb19007a775498e771')
-
-build() {
- cd pypy3-v${pkgver}-src/pypy/goal
-
- python2 ../../rpython/bin/rpython -Ojit --shared targetpypystandalone
-
- # Compile binary modules
- PYTHONPATH=../.. ./pypy3-c ../tool/build_cffi_imports.py
-}
-
-package() {
- cd pypy3-v${pkgver}-src
-
- # Prepare installation
- python2 pypy/tool/release/package.py --archive-name pypy --targetdir .
- mkdir unpacked
- tar xf pypy.tar.bz2 -C unpacked
-
- # Install pypy
- cd unpacked
- install -Dm755 pypy/bin/pypy3 "${pkgdir}"/opt/pypy3/bin/pypy3
- install -Dm755 pypy/bin/libpypy3-c.so "${pkgdir}"/usr/lib/libpypy3-c.so
- cp -r pypy/include pypy/lib_pypy pypy/lib-python pypy/site-packages "${pkgdir}"/opt/pypy3
- cd ..
-
- # Install symlink
- mkdir -p "${pkgdir}"/usr/bin
- ln -s /opt/pypy3/bin/pypy3 "${pkgdir}"/usr/bin/pypy3
-
- # Install misc stuff
- install -Dm644 README.rst "${pkgdir}"/opt/pypy3/README.rst
- install -Dm644 LICENSE "${pkgdir}"/opt/pypy3/LICENSE
- install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/pypy3/LICENSE
-}
-# vim: ts=2 sw=2 et:
Copied: pypy3/repos/community-testing-x86_64/PKGBUILD (from rev 220545, pypy3/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-04-05 08:29:19 UTC (rev 220546)
@@ -0,0 +1,52 @@
+# $Id: PKGBUILD 95035 2013-08-04 09:44:24Z svenstaro $
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+
+pkgname=pypy3
+pkgver=5.7.1
+pkgrel=1
+pkgdesc="A Python3 implementation written in Python, JIT enabled"
+url="http://pypy.org"
+arch=('x86_64')
+depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib')
+makedepends=('python2' 'sqlite' 'tk' 'python2-pycparser')
+optdepends=('sqlite: sqlite module'
+ 'tk: tk module')
+options=(!buildflags)
+license=('custom:MIT')
+source=("https://bitbucket.org/pypy/pypy/downloads/pypy3-v${pkgver}-src.tar.bz2")
+sha512sums=('f8ead8214ad7d89fe80e24d97b13ece7f2c80b2f11446257a2eab0e3025fc7d8fec26474b0e9eb2b2e3ccd629532dd062829459361b601add12e40793bd5aa60')
+
+build() {
+ cd pypy3-v${pkgver}-src/pypy/goal
+
+ python2 ../../rpython/bin/rpython -Ojit --shared targetpypystandalone
+
+ # Compile binary modules
+ PYTHONPATH=../.. ./pypy3-c ../tool/build_cffi_imports.py
+}
+
+package() {
+ cd pypy3-v${pkgver}-src
+
+ # Prepare installation
+ python2 pypy/tool/release/package.py --archive-name pypy --targetdir .
+ mkdir unpacked
+ tar xf pypy.tar.bz2 -C unpacked
+
+ # Install pypy
+ cd unpacked
+ install -Dm755 pypy/bin/pypy3 "${pkgdir}"/opt/pypy3/bin/pypy3
+ install -Dm755 pypy/bin/libpypy3-c.so "${pkgdir}"/usr/lib/libpypy3-c.so
+ cp -r pypy/include pypy/lib_pypy pypy/lib-python pypy/site-packages "${pkgdir}"/opt/pypy3
+ cd ..
+
+ # Install symlink
+ mkdir -p "${pkgdir}"/usr/bin
+ ln -s /opt/pypy3/bin/pypy3 "${pkgdir}"/usr/bin/pypy3
+
+ # Install misc stuff
+ install -Dm644 README.rst "${pkgdir}"/opt/pypy3/README.rst
+ install -Dm644 LICENSE "${pkgdir}"/opt/pypy3/LICENSE
+ install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/pypy3/LICENSE
+}
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list