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

Sven-Hendrik Haase svenstaro at gemini.archlinux.org
Tue Feb 15 17:11:11 UTC 2022


    Date: Tuesday, February 15, 2022 @ 17:11:11
  Author: svenstaro
Revision: 1133370

upgpkg: pypy3 7.3.7-2: Update to pypy3 3.8

Modified:
  pypy3/trunk/PKGBUILD

----------+
 PKGBUILD |   18 +++++++-----------
 1 file changed, 7 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-02-15 16:36:43 UTC (rev 1133369)
+++ PKGBUILD	2022-02-15 17:11:11 UTC (rev 1133370)
@@ -2,7 +2,7 @@
 
 pkgname=pypy3
 pkgver=7.3.7
-pkgrel=1
+pkgrel=2
 pkgdesc="A Python3 implementation written in Python, JIT enabled"
 url="https://pypy.org"
 arch=('x86_64')
@@ -12,11 +12,11 @@
             'tk: tk module')
 options=(!buildflags)
 license=('MIT')
-source=("https://downloads.python.org/pypy/pypy3.7-v${pkgver}-src.zip")
-sha512sums=('ed1a40b921f47e75be33758da89db4ea87a5d58d0cfd1d44e655d036cc6004dbf6ea11b8f4bbe8686f8b8ce6d1796b6f3e0c3370f4a4812da0c2673ba18b98b4')
+source=("https://downloads.python.org/pypy/pypy3.8-v${pkgver}-src.zip")
+sha512sums=('dba59061ed5d8023d1b32aeaf5c99c85510cae9c142a35f19540bd6a957189f9e2e08b3f6ce068fb00af9130a70739d62a728adfd8a8f438160665ccff598598')
 
 build() {
-  cd pypy3.7-v${pkgver}-src/pypy/goal
+  cd pypy3.8-v${pkgver}-src/pypy/goal
 
   pypy ../../rpython/bin/rpython -Ojit --shared targetpypystandalone
 
@@ -25,7 +25,7 @@
 }
 
 package() {
-  cd pypy3.7-v${pkgver}-src
+  cd pypy3.8-v${pkgver}-src
 
   # Prepare installation
   pypy pypy/tool/release/package.py --archive-name pypy --targetdir .
@@ -33,14 +33,10 @@
   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}"/opt/pypy3/bin/libpypy3-c.so
-  cp -r pypy/include pypy/lib_pypy pypy/lib-python pypy/site-packages "${pkgdir}"/opt/pypy3
-  cd ..
+  mkdir -p "${pkgdir}"/usr/bin "${pkgdir}"/usr/lib "${pkgdir}"/opt/pypy3
+  cp -r unpacked/pypy/* "${pkgdir}"/opt/pypy3
 
   # Install symlinks
-  mkdir -p "${pkgdir}"/usr/bin "${pkgdir}"/usr/lib
   ln -s /opt/pypy3/bin/pypy3 "${pkgdir}"/usr/bin/pypy3
   ln -s /opt/pypy3/bin/libpypy3-c.so "${pkgdir}"/usr/lib/libpypy3-c.so
 



More information about the arch-commits mailing list