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

Sven-Hendrik Haase svenstaro at archlinux.org
Sun Jun 13 04:47:17 UTC 2021


    Date: Sunday, June 13, 2021 @ 04:47:17
  Author: svenstaro
Revision: 963255

upgpkg: pypy 7.3.5-2: Build using pypy

This introduces a circular dependency on itself but since Python 2 is now
dead, this is lesser evil.

Modified:
  pypy/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-06-13 03:15:06 UTC (rev 963254)
+++ PKGBUILD	2021-06-13 04:47:17 UTC (rev 963255)
@@ -3,12 +3,12 @@
 
 pkgname=pypy
 pkgver=7.3.5
-pkgrel=1
+pkgrel=2
 pkgdesc="A Python implementation written in Python, JIT enabled"
 url="https://pypy.org"
 arch=('x86_64')
 depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib' 'ncurses')
-makedepends=('python2' 'tk' 'sqlite' 'mercurial' 'python2-pycparser')
+makedepends=('pypy' 'tk' 'sqlite' 'mercurial')
 optdepends=('sqlite: sqlite module'
             'tk: tk module')
 options=(!buildflags)
@@ -19,7 +19,7 @@
 build() {
   cd pypy2.7-v${pkgver}-src/pypy/goal
 
-  python2 ../../rpython/bin/rpython -Ojit --shared targetpypystandalone
+  pypy ../../rpython/bin/rpython -Ojit --shared targetpypystandalone
 
   # Compile binary modules
   PYTHONPATH=../.. ./pypy-c ../../lib_pypy/pypy_tools/build_cffi_imports.py
@@ -29,7 +29,7 @@
   cd pypy2.7-v${pkgver}-src
 
   # Prepare installation
-  python2 pypy/tool/release/package.py --archive-name pypy --targetdir .
+  pypy pypy/tool/release/package.py --archive-name pypy --targetdir .
   mkdir unpacked
   tar xf pypy.tar.bz2 -C unpacked
 



More information about the arch-commits mailing list