[arch-commits] Commit in pypy3/trunk (PKGBUILD)

Sven-Hendrik Haase svenstaro at nymeria.archlinux.org
Tue Jul 8 10:16:42 UTC 2014


    Date: Tuesday, July 8, 2014 @ 12:16:41
  Author: svenstaro
Revision: 115296

upgpkg: pypy3 2.3.1-2

Fix FS#41120

Modified:
  pypy3/trunk/PKGBUILD

----------+
 PKGBUILD |   19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-07-08 05:39:48 UTC (rev 115295)
+++ PKGBUILD	2014-07-08 10:16:41 UTC (rev 115296)
@@ -7,20 +7,16 @@
 pkgver=2.3.1
 _pkgver=2.3.1
 #[[ -n $_hgrev ]] && pkgver=2.0beta2.$_hgrev
-pkgrel=1
+pkgrel=2
 pkgdesc="A Python3 implementation written in Python, JIT enabled"
 url="http://pypy.org"
 arch=('i686' 'x86_64')
-depends=('libffi')
 provides=('python')
+depends=('python2' 'expat' 'bzip2' 'openssl' 'libffi' 'zlib') #gdbm
+makedepends=('sqlite' 'tk')
+optdepends=('sqlite: sqlite module'
+            'tk: tk module')
 options=(!buildflags)
-makedepends=('python' 'mercurial' 'python2' 'tk')
-optdepends=('openssl: openssl module'
-            'expat: pyexpat module'
-            'ncurses: ncurses module'
-            'zlib: zlib module'
-            'bzip2: bz2 module'
-            'tk: tk module')
 license=('custom:MIT')
 #source=("hg+https://bitbucket.org/pypy/pypy#revision=$_hgrev")
 source=("https://bitbucket.org/pypy/pypy/downloads/$pkgname-$_pkgver-src.tar.bz2")
@@ -49,5 +45,10 @@
   install -Dm644 LICENSE "${pkgdir}"/opt/pypy3/LICENSE
   install -Dm644 README.rst "${pkgdir}"/opt/pypy3/README.rst
   install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/pypy3/LICENSE
+
+  # Compile binary modules
+  for module in _curses syslog sqlite3 _tkinter; do #gdbm broken
+    "${pkgdir}/opt/pypy3/bin/pypy-c" -c "import ${module}"
+  done
 }
 # vim: ts=2 sw=2 et:




More information about the arch-commits mailing list