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

2020-11-24 Thread Sven-Hendrik Haase via arch-commits
Date: Tuesday, November 24, 2020 @ 16:11:14
  Author: svenstaro
Revision: 760937

upgpkg: pypy3 7.3.3-1

Modified:
  pypy3/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-11-24 16:11:02 UTC (rev 760936)
+++ PKGBUILD2020-11-24 16:11:14 UTC (rev 760937)
@@ -1,7 +1,7 @@
 # Maintainer: Sven-Hendrik Haase 
 
 pkgname=pypy3
-pkgver=7.3.2
+pkgver=7.3.3
 pkgrel=1
 pkgdesc="A Python3 implementation written in Python, JIT enabled"
 url="https://pypy.org;
@@ -13,7 +13,7 @@
 options=(!buildflags)
 license=('MIT')
 source=("https://downloads.python.org/pypy/pypy3.7-v${pkgver}-src.zip;)
-sha512sums=('cd1f315417a682e6f641a0047451b72874d56f3793f3d85cd479a453cc6d8533ba82a1caf4dabfda7ca198fe90fd9b891e3a9ca491ba7590bb9610c50e3aff11')
+sha512sums=('93e057ef88c2bb05df698b38a1c644cb823b4525f1ea42e27cb114f176887e46d758239529fc891fc4154b4f6eb01c6e93f7071d5e6de7cc27a601fc57f47fbe')
 
 build() {
   cd pypy3.7-v${pkgver}-src/pypy/goal


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

2020-09-27 Thread Sven-Hendrik Haase via arch-commits
Date: Sunday, September 27, 2020 @ 16:46:24
  Author: svenstaro
Revision: 712736

upgpkg: pypy3 7.3.2-1

Modified:
  pypy3/trunk/PKGBUILD

--+
 PKGBUILD |   12 ++--
 1 file changed, 6 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-09-27 16:46:11 UTC (rev 712735)
+++ PKGBUILD2020-09-27 16:46:24 UTC (rev 712736)
@@ -1,7 +1,7 @@
 # Maintainer: Sven-Hendrik Haase 
 
 pkgname=pypy3
-pkgver=7.3.1
+pkgver=7.3.2
 pkgrel=1
 pkgdesc="A Python3 implementation written in Python, JIT enabled"
 url="https://pypy.org;
@@ -12,20 +12,20 @@
 'tk: tk module')
 options=(!buildflags)
 license=('MIT')
-source=("https://bitbucket.org/pypy/pypy/downloads/pypy3.6-v${pkgver}-src.tar.bz2;)
-sha512sums=('f8e32aae7f01225e0e4d6763eaac40fc02dffc3d0b6a30f22d422147f9be4f3290ea78160a912ffae311dea3d503eb31a7a4f3999d3b541fbccd93d1cef4ca56')
+source=("https://downloads.python.org/pypy/pypy3.7-v${pkgver}-src.zip;)
+sha512sums=('cd1f315417a682e6f641a0047451b72874d56f3793f3d85cd479a453cc6d8533ba82a1caf4dabfda7ca198fe90fd9b891e3a9ca491ba7590bb9610c50e3aff11')
 
 build() {
-  cd pypy3.6-v${pkgver}-src/pypy/goal
+  cd pypy3.7-v${pkgver}-src/pypy/goal
 
   python2 ../../rpython/bin/rpython -Ojit --shared targetpypystandalone
 
   # Compile binary modules
-  PYTHONPATH=../.. ./pypy3-c ../../lib_pypy/tools/build_cffi_imports.py
+  PYTHONPATH=../.. ./pypy3-c ../../lib_pypy/pypy_tools/build_cffi_imports.py
 }
 
 package() {
-  cd pypy3.6-v${pkgver}-src
+  cd pypy3.7-v${pkgver}-src
 
   # Prepare installation
   python2 pypy/tool/release/package.py --archive-name pypy --targetdir .


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

2020-04-17 Thread Sven-Hendrik Haase via arch-commits
Date: Friday, April 17, 2020 @ 10:34:41
  Author: svenstaro
Revision: 615430

upgpkg: pypy3 7.3.1-1

Modified:
  pypy3/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-17 10:28:03 UTC (rev 615429)
+++ PKGBUILD2020-04-17 10:34:41 UTC (rev 615430)
@@ -1,8 +1,8 @@
 # Maintainer: Sven-Hendrik Haase 
 
 pkgname=pypy3
-pkgver=7.3.0
-pkgrel=2
+pkgver=7.3.1
+pkgrel=1
 pkgdesc="A Python3 implementation written in Python, JIT enabled"
 url="https://pypy.org;
 arch=('x86_64')
@@ -13,7 +13,7 @@
 options=(!buildflags)
 license=('MIT')
 
source=("https://bitbucket.org/pypy/pypy/downloads/pypy3.6-v${pkgver}-src.tar.bz2;)
-sha512sums=('313a4254262dd8d8b995a50bddbc360cfb67add0818e51a3e9ce25bda6a9b639e9fea8efe7da6adda76dff0a86a364544a13faa516e51b9ea6c25ec99223b435')
+sha512sums=('f8e32aae7f01225e0e4d6763eaac40fc02dffc3d0b6a30f22d422147f9be4f3290ea78160a912ffae311dea3d503eb31a7a4f3999d3b541fbccd93d1cef4ca56')
 
 build() {
   cd pypy3.6-v${pkgver}-src/pypy/goal
@@ -21,7 +21,7 @@
   python2 ../../rpython/bin/rpython -Ojit --shared targetpypystandalone
 
   # Compile binary modules
-  PYTHONPATH=../.. ./pypy3-c ../tool/build_cffi_imports.py
+  PYTHONPATH=../.. ./pypy3-c ../../lib_pypy/tools/build_cffi_imports.py
 }
 
 package() {


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

2020-04-08 Thread Felix Yan via arch-commits
Date: Wednesday, April 8, 2020 @ 23:31:35
  Author: felixonmars
Revision: 612840

libffi 3.3 rebuild

Modified:
  pypy3/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-04-08 23:19:34 UTC (rev 612839)
+++ PKGBUILD2020-04-08 23:31:35 UTC (rev 612840)
@@ -2,7 +2,7 @@
 
 pkgname=pypy3
 pkgver=7.3.0
-pkgrel=1
+pkgrel=2
 pkgdesc="A Python3 implementation written in Python, JIT enabled"
 url="https://pypy.org;
 arch=('x86_64')


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

2019-12-24 Thread Sven-Hendrik Haase via arch-commits
Date: Wednesday, December 25, 2019 @ 03:46:34
  Author: svenstaro
Revision: 540612

upgpkg: pypy3 7.3.0-1

Modified:
  pypy3/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2019-12-25 03:34:25 UTC (rev 540611)
+++ PKGBUILD2019-12-25 03:46:34 UTC (rev 540612)
@@ -1,7 +1,7 @@
 # Maintainer: Sven-Hendrik Haase 
 
 pkgname=pypy3
-pkgver=7.2.0
+pkgver=7.3.0
 pkgrel=1
 pkgdesc="A Python3 implementation written in Python, JIT enabled"
 url="https://pypy.org;
@@ -13,7 +13,7 @@
 options=(!buildflags)
 license=('MIT')
 
source=("https://bitbucket.org/pypy/pypy/downloads/pypy3.6-v${pkgver}-src.tar.bz2;)
-sha512sums=('bcbb53062a473d504bcc082cf6286f6169c83d1f38d22c4d7c4e46ddc32bca9d91e71194637e6650db5bec02b29fe262b22fe236d627b6bc3e6e0c59c66c07cc')
+sha512sums=('313a4254262dd8d8b995a50bddbc360cfb67add0818e51a3e9ce25bda6a9b639e9fea8efe7da6adda76dff0a86a364544a13faa516e51b9ea6c25ec99223b435')
 
 build() {
   cd pypy3.6-v${pkgver}-src/pypy/goal


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

2019-10-15 Thread Sven-Hendrik Haase via arch-commits
Date: Tuesday, October 15, 2019 @ 09:22:53
  Author: svenstaro
Revision: 516111

upgpkg: pypy3 7.2.0-1

Modified:
  pypy3/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-10-15 09:22:10 UTC (rev 516110)
+++ PKGBUILD2019-10-15 09:22:53 UTC (rev 516111)
@@ -1,7 +1,7 @@
-# Maintainer: Sven-Hendrik Haase 
+# Maintainer: Sven-Hendrik Haase 
 
 pkgname=pypy3
-pkgver=7.1.1
+pkgver=7.2.0
 pkgrel=1
 pkgdesc="A Python3 implementation written in Python, JIT enabled"
 url="https://pypy.org;
@@ -13,7 +13,7 @@
 options=(!buildflags)
 license=('MIT')
 
source=("https://bitbucket.org/pypy/pypy/downloads/pypy3.6-v${pkgver}-src.tar.bz2;)
-sha512sums=('17e78f9c7080d597a6283d8e8247d1ca78f09a14ff221db8c3d90d255b5befc73102b317ca34a80979e544d5ee72f3e5e649f89d185a085f4cc15012da4d0473')
+sha512sums=('bcbb53062a473d504bcc082cf6286f6169c83d1f38d22c4d7c4e46ddc32bca9d91e71194637e6650db5bec02b29fe262b22fe236d627b6bc3e6e0c59c66c07cc')
 
 build() {
   cd pypy3.6-v${pkgver}-src/pypy/goal


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

2019-05-09 Thread Sven-Hendrik Haase via arch-commits
Date: Thursday, May 9, 2019 @ 14:28:05
  Author: svenstaro
Revision: 464553

upgpkg: pypy3 7.1.1-1

Modified:
  pypy3/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2019-05-09 13:59:02 UTC (rev 464552)
+++ PKGBUILD2019-05-09 14:28:05 UTC (rev 464553)
@@ -1,8 +1,8 @@
 # Maintainer: Sven-Hendrik Haase 
 
 pkgname=pypy3
-pkgver=7.1.0
-pkgrel=2
+pkgver=7.1.1
+pkgrel=1
 pkgdesc="A Python3 implementation written in Python, JIT enabled"
 url="https://pypy.org;
 arch=('x86_64')
@@ -12,16 +12,9 @@
 'tk: tk module')
 options=(!buildflags)
 license=('MIT')
-source=("https://bitbucket.org/pypy/pypy/downloads/pypy3.6-v${pkgver}-src.tar.bz2;
-a93dfb333afe.patch)
-sha512sums=('1a0a9e9de31c63114c0537747c4a718504a28b780a2ef1f76bff6051a1ec68b496b574989f0b729c07611cd81e199135dd268834dfa6f9664e1e119db8ae20e4'
-
'ed69a8ca9e407f5985c5ffad9649656c69a62a51c610df2718723d6460775e16d37cb888e8cb8ff2ec57ea6a8b2bd518a9368eb8421b435594efc6b32d1f5e19')
+source=("https://bitbucket.org/pypy/pypy/downloads/pypy3.6-v${pkgver}-src.tar.bz2;)
+sha512sums=('17e78f9c7080d597a6283d8e8247d1ca78f09a14ff221db8c3d90d255b5befc73102b317ca34a80979e544d5ee72f3e5e649f89d185a085f4cc15012da4d0473')
 
-prepare() {
-  cd pypy3.6-v${pkgver}-src
-  patch -Np1 -i ${srcdir}/a93dfb333afe.patch
-}
-
 build() {
   cd pypy3.6-v${pkgver}-src/pypy/goal
 


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

2019-04-01 Thread Sven-Hendrik Haase via arch-commits
Date: Monday, April 1, 2019 @ 16:25:08
  Author: svenstaro
Revision: 446947

upgpkg: pypy3 7.1.0-2

Added:
  pypy3/trunk/a93dfb333afe.patch
Modified:
  pypy3/trunk/PKGBUILD

+
 PKGBUILD   |   13 ++---
 a93dfb333afe.patch |   32 
 2 files changed, 42 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-04-01 16:23:43 UTC (rev 446946)
+++ PKGBUILD2019-04-01 16:25:08 UTC (rev 446947)
@@ -2,7 +2,7 @@
 
 pkgname=pypy3
 pkgver=7.1.0
-pkgrel=1
+pkgrel=2
 pkgdesc="A Python3 implementation written in Python, JIT enabled"
 url="https://pypy.org;
 arch=('x86_64')
@@ -12,9 +12,16 @@
 'tk: tk module')
 options=(!buildflags)
 license=('MIT')
-source=("https://bitbucket.org/pypy/pypy/downloads/pypy3.6-v${pkgver}-src.tar.bz2;)
-sha512sums=('ec39c33000606aa62de8ef1b7c83ba895c95f4636d5b1026fc3727ee3b04f2de9693b5ba6b84572348c62ff33c1d4bf5ef9c01427bd54f3db057959035ec068d')
+source=("https://bitbucket.org/pypy/pypy/downloads/pypy3.6-v${pkgver}-src.tar.bz2;
+a93dfb333afe.patch)
+sha512sums=('1a0a9e9de31c63114c0537747c4a718504a28b780a2ef1f76bff6051a1ec68b496b574989f0b729c07611cd81e199135dd268834dfa6f9664e1e119db8ae20e4'
+
'ed69a8ca9e407f5985c5ffad9649656c69a62a51c610df2718723d6460775e16d37cb888e8cb8ff2ec57ea6a8b2bd518a9368eb8421b435594efc6b32d1f5e19')
 
+prepare() {
+  cd pypy3.6-v${pkgver}-src
+  patch -Np1 -i ${srcdir}/a93dfb333afe.patch
+}
+
 build() {
   cd pypy3.6-v${pkgver}-src/pypy/goal
 

Added: a93dfb333afe.patch
===
--- a93dfb333afe.patch  (rev 0)
+++ a93dfb333afe.patch  2019-04-01 16:25:08 UTC (rev 446947)
@@ -0,0 +1,32 @@
+# HG changeset patch
+# User Matti Picus 
+# Date 1554034536 -10800
+# Node ID a93dfb333afe34ac02b15e997749cd3902ed96c0
+# Parent  9f383b2e30c6ac084fe95fd781abfc2fceffdc9f
+preserve order on extra effects (sets are not ordered on cpython2)
+
+diff --git a/rpython/jit/codewriter/effectinfo.py 
b/rpython/jit/codewriter/effectinfo.py
+--- a/rpython/jit/codewriter/effectinfo.py
 b/rpython/jit/codewriter/effectinfo.py
+@@ -326,14 +326,17 @@
+ # a read or a write to an interiorfield, inside an array of
+ # structs, is additionally recorded as a read or write of
+ # the array itself
+-extraef = set()
++extraef = list()
+ for tup in effects:
+ if tup[0] == "interiorfield" or tup[0] == "readinteriorfield":
+ T = deref(tup[1])
+ if isinstance(T, lltype.Array) and consider_array(T):
+-extraef.add((tup[0].replace("interiorfield", "array"),
+- tup[1]))
+-effects |= extraef
++val = (tup[0].replace("interiorfield", "array"),
++ tup[1])
++if val not in effects:
++extraef.append(val)
++# preserve order in the added effects issue bitbucket #2984
++effects = tuple(effects) + tuple(extraef)
+ 
+ for tup in effects:
+ if tup[0] == "struct":


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

2019-03-19 Thread Sven-Hendrik Haase via arch-commits
Date: Tuesday, March 19, 2019 @ 14:45:12
  Author: svenstaro
Revision: 442686

upgpkg: pypy3 7.1.0-1

Modified:
  pypy3/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2019-03-19 14:37:57 UTC (rev 442685)
+++ PKGBUILD2019-03-19 14:45:12 UTC (rev 442686)
@@ -1,7 +1,7 @@
 # Maintainer: Sven-Hendrik Haase 
 
 pkgname=pypy3
-pkgver=7.0.0
+pkgver=7.1.0
 pkgrel=1
 pkgdesc="A Python3 implementation written in Python, JIT enabled"
 url="https://pypy.org;
@@ -13,7 +13,7 @@
 options=(!buildflags)
 license=('MIT')
 
source=("https://bitbucket.org/pypy/pypy/downloads/pypy3.6-v${pkgver}-src.tar.bz2;)
-sha512sums=('623d27a2f56a31c75e59c49a7ddb3f5ec71e7b0267d726ebe24db4cc8c9a882795c4ddb0ca92187a2c96702a73a6e8b279184440d21215b11234983ba5331b38')
+sha512sums=('ec39c33000606aa62de8ef1b7c83ba895c95f4636d5b1026fc3727ee3b04f2de9693b5ba6b84572348c62ff33c1d4bf5ef9c01427bd54f3db057959035ec068d')
 
 build() {
   cd pypy3.6-v${pkgver}-src/pypy/goal


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

2019-02-10 Thread Sven-Hendrik Haase via arch-commits
Date: Sunday, February 10, 2019 @ 15:11:16
  Author: svenstaro
Revision: 431457

upgpkg: pypy3 7.0.0-1

Modified:
  pypy3/trunk/PKGBUILD

--+
 PKGBUILD |   16 ++--
 1 file changed, 6 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-02-10 15:10:13 UTC (rev 431456)
+++ PKGBUILD2019-02-10 15:11:16 UTC (rev 431457)
@@ -1,8 +1,8 @@
 # Maintainer: Sven-Hendrik Haase 
 
 pkgname=pypy3
-pkgver=6.0.0
-pkgrel=2
+pkgver=7.0.0
+pkgrel=1
 pkgdesc="A Python3 implementation written in Python, JIT enabled"
 url="https://pypy.org;
 arch=('x86_64')
@@ -12,15 +12,11 @@
 'tk: tk module')
 options=(!buildflags)
 license=('MIT')
-source=("https://bitbucket.org/pypy/pypy/downloads/pypy3-v${pkgver}-src.tar.bz2;)
-sha512sums=('ea406c4dd1837a6ab13026de01330790f3c18f6e2bfb83e8553e52acf78b43dfb559ce75c2d91395055c771db359356c8183ed950da6f01a21bf09128935af5e')
+source=("https://bitbucket.org/pypy/pypy/downloads/pypy3.6-v${pkgver}-src.tar.bz2;)
+sha512sums=('623d27a2f56a31c75e59c49a7ddb3f5ec71e7b0267d726ebe24db4cc8c9a882795c4ddb0ca92187a2c96702a73a6e8b279184440d21215b11234983ba5331b38')
 
-prepare() {
-  cd pypy3-v${pkgver}-src
-}
-
 build() {
-  cd pypy3-v${pkgver}-src/pypy/goal
+  cd pypy3.6-v${pkgver}-src/pypy/goal
 
   python2 ../../rpython/bin/rpython -Ojit --shared targetpypystandalone
 
@@ -29,7 +25,7 @@
 }
 
 package() {
-  cd pypy3-v${pkgver}-src
+  cd pypy3.6-v${pkgver}-src
 
   # Prepare installation
   python2 pypy/tool/release/package.py --archive-name pypy --targetdir .


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

2018-06-21 Thread Sven-Hendrik Haase via arch-commits
Date: Friday, June 22, 2018 @ 03:57:48
  Author: svenstaro
Revision: 344350

upgpkg: pypy3 6.0.0-2

gdbm 1.15 rebuild

Modified:
  pypy3/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-06-22 02:40:07 UTC (rev 344349)
+++ PKGBUILD2018-06-22 03:57:48 UTC (rev 344350)
@@ -3,7 +3,7 @@
 
 pkgname=pypy3
 pkgver=6.0.0
-pkgrel=1
+pkgrel=2
 pkgdesc="A Python3 implementation written in Python, JIT enabled"
 url="https://pypy.org;
 arch=('x86_64')


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

2018-04-26 Thread Sven-Hendrik Haase via arch-commits
Date: Thursday, April 26, 2018 @ 08:51:05
  Author: svenstaro
Revision: 318142

upgpkg: pypy3 6.0.0-1

Modified:
  pypy3/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-04-26 08:15:58 UTC (rev 318141)
+++ PKGBUILD2018-04-26 08:51:05 UTC (rev 318142)
@@ -2,7 +2,7 @@
 # Maintainer: Sven-Hendrik Haase 
 
 pkgname=pypy3
-pkgver=5.10.1
+pkgver=6.0.0
 pkgrel=1
 pkgdesc="A Python3 implementation written in Python, JIT enabled"
 url="https://pypy.org;
@@ -14,7 +14,7 @@
 options=(!buildflags)
 license=('MIT')
 
source=("https://bitbucket.org/pypy/pypy/downloads/pypy3-v${pkgver}-src.tar.bz2;)
-sha512sums=('91b0ed25130bdbb46d5e577136b5fe63d5162917dcc2d0b69f5cac2a283ece9d0bfd3c7c8dc61ff391e0550fa1603326f6edeb2df3159d71617fefe6c07439f5')
+sha512sums=('ea406c4dd1837a6ab13026de01330790f3c18f6e2bfb83e8553e52acf78b43dfb559ce75c2d91395055c771db359356c8183ed950da6f01a21bf09128935af5e')
 
 prepare() {
   cd pypy3-v${pkgver}-src


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

2018-02-13 Thread Sven-Hendrik Haase via arch-commits
Date: Tuesday, February 13, 2018 @ 08:56:11
  Author: svenstaro
Revision: 293760

upgpkg: pypy3 5.10.1-1

Modified:
  pypy3/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-02-13 08:04:43 UTC (rev 293759)
+++ PKGBUILD2018-02-13 08:56:11 UTC (rev 293760)
@@ -2,8 +2,8 @@
 # Maintainer: Sven-Hendrik Haase 
 
 pkgname=pypy3
-pkgver=5.10.0
-pkgrel=5
+pkgver=5.10.1
+pkgrel=1
 pkgdesc="A Python3 implementation written in Python, JIT enabled"
 url="https://pypy.org;
 arch=('x86_64')
@@ -14,7 +14,7 @@
 options=(!buildflags)
 license=('MIT')
 
source=("https://bitbucket.org/pypy/pypy/downloads/pypy3-v${pkgver}-src.tar.bz2;)
-sha512sums=('69a373c18dbad9dd617f994ad885c8d8975f0c484ba9dd547e6e892c9a3030a43e9e3ee668aee5f4969403883de1311cef97a0a5e5701921172ee6c2119b771b')
+sha512sums=('91b0ed25130bdbb46d5e577136b5fe63d5162917dcc2d0b69f5cac2a283ece9d0bfd3c7c8dc61ff391e0550fa1603326f6edeb2df3159d71617fefe6c07439f5')
 
 prepare() {
   cd pypy3-v${pkgver}-src


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

2018-01-29 Thread Sven-Hendrik Haase via arch-commits
Date: Tuesday, January 30, 2018 @ 00:04:08
  Author: svenstaro
Revision: 287902

upgpkg: pypy3 5.10.0-5

Add ncurses to deps

Modified:
  pypy3/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-01-30 00:03:14 UTC (rev 287901)
+++ PKGBUILD2018-01-30 00:04:08 UTC (rev 287902)
@@ -3,11 +3,11 @@
 
 pkgname=pypy3
 pkgver=5.10.0
-pkgrel=4
+pkgrel=5
 pkgdesc="A Python3 implementation written in Python, JIT enabled"
 url="https://pypy.org;
 arch=('x86_64')
-depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib')
+depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib' 'ncurses')
 makedepends=('python2' 'sqlite' 'tk' 'python2-pycparser')
 optdepends=('sqlite: sqlite module'
 'tk: tk module')


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

2018-01-29 Thread Eli Schwartz via arch-commits
Date: Monday, January 29, 2018 @ 16:01:10
  Author: eschwartz
Revision: 287793

upgpkg: pypy3 5.10.0-4

Rebuild for FS#57064 after staging overwrote the changes.

Modified:
  pypy3/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-01-29 15:40:03 UTC (rev 287792)
+++ PKGBUILD2018-01-29 16:01:10 UTC (rev 287793)
@@ -3,9 +3,9 @@
 
 pkgname=pypy3
 pkgver=5.10.0
-pkgrel=3
+pkgrel=4
 pkgdesc="A Python3 implementation written in Python, JIT enabled"
-url="http://pypy.org;
+url="https://pypy.org;
 arch=('x86_64')
 depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib')
 makedepends=('python2' 'sqlite' 'tk' 'python2-pycparser')
@@ -12,7 +12,7 @@
 optdepends=('sqlite: sqlite module'
 'tk: tk module')
 options=(!buildflags)
-license=('custom:MIT')
+license=('MIT')
 
source=("https://bitbucket.org/pypy/pypy/downloads/pypy3-v${pkgver}-src.tar.bz2;)
 
sha512sums=('69a373c18dbad9dd617f994ad885c8d8975f0c484ba9dd547e6e892c9a3030a43e9e3ee668aee5f4969403883de1311cef97a0a5e5701921172ee6c2119b771b')
 


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

2018-01-13 Thread Sven-Hendrik Haase via arch-commits
Date: Saturday, January 13, 2018 @ 18:09:03
  Author: svenstaro
Revision: 281837

upgpkg: pypy3 5.10.0-3

Try to fix FS#57064

Modified:
  pypy3/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-01-13 18:08:53 UTC (rev 281836)
+++ PKGBUILD2018-01-13 18:09:03 UTC (rev 281837)
@@ -3,7 +3,7 @@
 
 pkgname=pypy3
 pkgver=5.10.0
-pkgrel=2
+pkgrel=3
 pkgdesc="A Python3 implementation written in Python, JIT enabled"
 url="http://pypy.org;
 arch=('x86_64')
@@ -40,13 +40,14 @@
   # 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
+  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 ..
 
-  # Install symlink
-  mkdir -p "${pkgdir}"/usr/bin
+  # 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
 
   # Install misc stuff
   install -Dm644 README.rst "${pkgdir}"/opt/pypy3/README.rst


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

2018-01-04 Thread Felix Yan via arch-commits
Date: Friday, January 5, 2018 @ 04:17:03
  Author: felixonmars
Revision: 278796

upgpkg: pypy3 5.10.0-2

rebuild with gdbm 1.14.1

Modified:
  pypy3/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-01-05 04:06:56 UTC (rev 278795)
+++ PKGBUILD2018-01-05 04:17:03 UTC (rev 278796)
@@ -3,7 +3,7 @@
 
 pkgname=pypy3
 pkgver=5.10.0
-pkgrel=1
+pkgrel=2
 pkgdesc="A Python3 implementation written in Python, JIT enabled"
 url="http://pypy.org;
 arch=('x86_64')


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

2017-12-25 Thread Sven-Hendrik Haase via arch-commits
Date: Tuesday, December 26, 2017 @ 04:25:43
  Author: svenstaro
Revision: 276087

upgpkg: pypy3 5.10.0-1

Modified:
  pypy3/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2017-12-26 04:03:25 UTC (rev 276086)
+++ PKGBUILD2017-12-26 04:25:43 UTC (rev 276087)
@@ -2,7 +2,7 @@
 # Maintainer: Sven-Hendrik Haase 
 
 pkgname=pypy3
-pkgver=5.9.0
+pkgver=5.10.0
 pkgrel=1
 pkgdesc="A Python3 implementation written in Python, JIT enabled"
 url="http://pypy.org;
@@ -14,7 +14,7 @@
 options=(!buildflags)
 license=('custom:MIT')
 
source=("https://bitbucket.org/pypy/pypy/downloads/pypy3-v${pkgver}-src.tar.bz2;)
-sha512sums=('3d5384d644fdd1bc8b95f5747dbd1771ae06eb2cfc7b57be359b8bf40177676afd097620d0cb9d9000c40d8cce075cfa6bfd92de987d3dd927c04d7d595dc5bd')
+sha512sums=('69a373c18dbad9dd617f994ad885c8d8975f0c484ba9dd547e6e892c9a3030a43e9e3ee668aee5f4969403883de1311cef97a0a5e5701921172ee6c2119b771b')
 
 prepare() {
   cd pypy3-v${pkgver}-src


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

2017-10-05 Thread Sven-Hendrik Haase
Date: Thursday, October 5, 2017 @ 19:34:46
  Author: svenstaro
Revision: 261793

upgpkg: pypy3 5.9.0-1

Modified:
  pypy3/trunk/PKGBUILD

--+
 PKGBUILD |   10 +++---
 1 file changed, 3 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-10-05 19:02:59 UTC (rev 261792)
+++ PKGBUILD2017-10-05 19:34:46 UTC (rev 261793)
@@ -2,7 +2,7 @@
 # Maintainer: Sven-Hendrik Haase 
 
 pkgname=pypy3
-pkgver=5.8.0
+pkgver=5.9.0
 pkgrel=1
 pkgdesc="A Python3 implementation written in Python, JIT enabled"
 url="http://pypy.org;
@@ -13,15 +13,11 @@
 'tk: tk module')
 options=(!buildflags)
 license=('custom:MIT')
-source=("https://bitbucket.org/pypy/pypy/downloads/pypy3-v${pkgver}-src.tar.bz2;
-
"opensslfix.patch::https://bitbucket.org/pypy/pypy/commits/29c9a89359e4cd684f586ceaf8d99ff28fd8aa6d/raw;)
-sha512sums=('d78b4c899a5643028664365ed973a7b292a8e5b3989cc75203cd381ea3cda7dd73121c574726e23dca86e8364fcfcf42c372c9deee438c805f30d6e1c4ac115a'
-
'2860e20c3fba647c9857046d8808c2f3f88e34b29087dffb59c387f98b48b86f28f0d0c802b02885606716586e5536820e3ea75777ba37b2a458e65da04997cd')
+source=("https://bitbucket.org/pypy/pypy/downloads/pypy3-v${pkgver}-src.tar.bz2;)
+sha512sums=('3d5384d644fdd1bc8b95f5747dbd1771ae06eb2cfc7b57be359b8bf40177676afd097620d0cb9d9000c40d8cce075cfa6bfd92de987d3dd927c04d7d595dc5bd')
 
 prepare() {
   cd pypy3-v${pkgver}-src
-
-  patch -Np1 < ${srcdir}/opensslfix.patch
 }
 
 build() {


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

2017-06-12 Thread Sven-Hendrik Haase
Date: Monday, June 12, 2017 @ 18:17:28
  Author: svenstaro
Revision: 236550

upgpkg: pypy3 5.8.0-1

Modified:
  pypy3/trunk/PKGBUILD

--+
 PKGBUILD |   14 +++---
 1 file changed, 11 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-06-12 18:01:09 UTC (rev 236549)
+++ PKGBUILD2017-06-12 18:17:28 UTC (rev 236550)
@@ -2,7 +2,7 @@
 # Maintainer: Sven-Hendrik Haase 
 
 pkgname=pypy3
-pkgver=5.7.1
+pkgver=5.8.0
 pkgrel=1
 pkgdesc="A Python3 implementation written in Python, JIT enabled"
 url="http://pypy.org;
@@ -13,9 +13,17 @@
 'tk: tk module')
 options=(!buildflags)
 license=('custom:MIT')
-source=("https://bitbucket.org/pypy/pypy/downloads/pypy3-v${pkgver}-src.tar.bz2;)
-sha512sums=('f8ead8214ad7d89fe80e24d97b13ece7f2c80b2f11446257a2eab0e3025fc7d8fec26474b0e9eb2b2e3ccd629532dd062829459361b601add12e40793bd5aa60')
+source=("https://bitbucket.org/pypy/pypy/downloads/pypy3-v${pkgver}-src.tar.bz2;
+
"opensslfix.patch::https://bitbucket.org/pypy/pypy/commits/29c9a89359e4cd684f586ceaf8d99ff28fd8aa6d/raw;)
+sha512sums=('d78b4c899a5643028664365ed973a7b292a8e5b3989cc75203cd381ea3cda7dd73121c574726e23dca86e8364fcfcf42c372c9deee438c805f30d6e1c4ac115a'
+
'2860e20c3fba647c9857046d8808c2f3f88e34b29087dffb59c387f98b48b86f28f0d0c802b02885606716586e5536820e3ea75777ba37b2a458e65da04997cd')
 
+prepare() {
+  cd pypy3-v${pkgver}-src
+
+  patch -Np1 < ${srcdir}/opensslfix.patch
+}
+
 build() {
   cd pypy3-v${pkgver}-src/pypy/goal
 


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

2017-04-05 Thread Sven-Hendrik Haase
Date: Wednesday, April 5, 2017 @ 08:29:09
  Author: svenstaro
Revision: 220545

upgpkg: pypy3 5.7.1-1

Modified:
  pypy3/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2017-04-05 05:54:28 UTC (rev 220544)
+++ PKGBUILD2017-04-05 08:29:09 UTC (rev 220545)
@@ -2,7 +2,7 @@
 # Maintainer: Sven-Hendrik Haase 
 
 pkgname=pypy3
-pkgver=5.7.0
+pkgver=5.7.1
 pkgrel=1
 pkgdesc="A Python3 implementation written in Python, JIT enabled"
 url="http://pypy.org;
@@ -14,7 +14,7 @@
 options=(!buildflags)
 license=('custom:MIT')
 
source=("https://bitbucket.org/pypy/pypy/downloads/pypy3-v${pkgver}-src.tar.bz2;)
-sha512sums=('b34f7b8fee494cbd77e8b5381f18eace09c7717282de391d6aef7e522ab98f570ac7f3a0a3df0b01fdb537b129f63e22d1f371191a5746bb19007a775498e771')
+sha512sums=('f8ead8214ad7d89fe80e24d97b13ece7f2c80b2f11446257a2eab0e3025fc7d8fec26474b0e9eb2b2e3ccd629532dd062829459361b601add12e40793bd5aa60')
 
 build() {
   cd pypy3-v${pkgver}-src/pypy/goal


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

2017-03-22 Thread Sven-Hendrik Haase
Date: Wednesday, March 22, 2017 @ 12:13:45
  Author: svenstaro
Revision: 218388

upgpkg: pypy3 5.7.0-1

upstream release 5.7.0

Modified:
  pypy3/trunk/PKGBUILD

--+
 PKGBUILD |   51 ---
 1 file changed, 24 insertions(+), 27 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-03-22 11:39:32 UTC (rev 218387)
+++ PKGBUILD2017-03-22 12:13:45 UTC (rev 218388)
@@ -2,54 +2,51 @@
 # Maintainer: Sven-Hendrik Haase 
 
 pkgname=pypy3
-pkgver=5.5.0
-_pkgver=5.5.0
+pkgver=5.7.0
 pkgrel=1
 pkgdesc="A Python3 implementation written in Python, JIT enabled"
 url="http://pypy.org;
-arch=('i686' 'x86_64')
+arch=('x86_64')
 depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib')
-makedepends=('python2' 'sqlite' 'tk')
+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.3-v${pkgver}-alpha-src.tar.bz2;)
-md5sums=('536008fd7b17af8878915393fc1ecfc3')
+source=("https://bitbucket.org/pypy/pypy/downloads/pypy3-v${pkgver}-src.tar.bz2;)
+sha512sums=('b34f7b8fee494cbd77e8b5381f18eace09c7717282de391d6aef7e522ab98f570ac7f3a0a3df0b01fdb537b129f63e22d1f371191a5746bb19007a775498e771')
 
 build() {
-  cd pypy3-v${_pkgver}-src/pypy/goal
+  cd pypy3-v${pkgver}-src/pypy/goal
 
-  python2 ../../rpython/bin/rpython -Ojit --no-shared targetpypystandalone
-  # python2 ../../rpython/bin/rpython -Ojit --shared targetpypystandalone
+  python2 ../../rpython/bin/rpython -Ojit --shared targetpypystandalone
+
+  # Compile binary modules
+  PYTHONPATH=../.. ./pypy3-c ../tool/build_cffi_imports.py
 }
 
 package() {
-  cd pypy3-v${_pkgver}-src
+  cd pypy3-v${pkgver}-src
 
-  install -Dm755 pypy/goal/pypy-c "${pkgdir}"/opt/pypy3/bin/pypy-c
-  # install -Dm755 pypy/goal/libpypy-c.so "${pkgdir}"/usr/lib/libpypy3-c.so
-  cp -r include lib_pypy site-packages "${pkgdir}"/opt/pypy3/
+  # Prepare installation
+  python2 pypy/tool/release/package.py --archive-name pypy --targetdir .
+  mkdir unpacked
+  tar xf pypy.tar.bz2 -C unpacked
 
-  mkdir "${pkgdir}"/opt/pypy3/lib-python/
-  cp -r lib-python/3 "${pkgdir}"/opt/pypy3/lib-python/
+  # 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/pypy-c "${pkgdir}"/usr/bin/pypy3
+  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
-
-  # Compile binary modules
-  export LD_LIBRARY_PATH="${pkgdir}"/usr/lib:${LD_LIBRARY_PATH}
-  for module in _curses syslog dbm sqlite3 _tkinter; do
-"${pkgdir}/opt/pypy3/bin/pypy-c" -c "import ${module}"
-  done
-
-  # Generate bytecode (currently fails with errors)
-  "${pkgdir}"/opt/pypy3/bin/pypy-c -m compileall "${pkgdir}"/opt/pypy3 || true
-  "${pkgdir}"/opt/pypy3/bin/pypy-c -O -m compileall "${pkgdir}"/opt/pypy3 || 
true
-
 }
 # vim: ts=2 sw=2 et:


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

2016-03-04 Thread Bartłomiej Piotrowski
Date: Friday, March 4, 2016 @ 10:12:11
  Author: bpiotrowski
Revision: 164660

OpenSSL 1.0.2g rebuild

Modified:
  pypy3/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-03-04 09:04:10 UTC (rev 164659)
+++ PKGBUILD2016-03-04 09:12:11 UTC (rev 164660)
@@ -7,7 +7,7 @@
 pkgver=2.4.0
 _pkgver=2.4.0
 #[[ -n $_hgrev ]] && pkgver=2.0beta2.$_hgrev
-pkgrel=3
+pkgrel=4
 pkgdesc="A Python3 implementation written in Python, JIT enabled"
 url="http://pypy.org;
 arch=('i686' 'x86_64')


[arch-commits] Commit in pypy3/trunk (PKGBUILD disable-sslv3.patch)

2016-03-03 Thread Jan Steffens
Date: Thursday, March 3, 2016 @ 18:15:38
  Author: heftig
Revision: 164525

Disable SSLv3

Added:
  pypy3/trunk/disable-sslv3.patch
Modified:
  pypy3/trunk/PKGBUILD

-+
 PKGBUILD|3 +++
 disable-sslv3.patch |   32 
 2 files changed, 35 insertions(+)

Modified: PKGBUILD
===
--- PKGBUILD2016-03-03 17:12:48 UTC (rev 164524)
+++ PKGBUILD2016-03-03 17:15:38 UTC (rev 164525)
@@ -19,12 +19,15 @@
 license=('custom:MIT')
 #source=("hg+https://bitbucket.org/pypy/pypy#revision=$_hgrev;)
 
source=("https://bitbucket.org/pypy/pypy/downloads/$pkgname-$_pkgver-src.tar.bz2;
+"disable-sslv3.patch"
 "trackgcroot-new-ops.patch")
 md5sums=('96ba72916114d16904e12562b5d84e51'
+ '383f6220bb64a963a6c071a62d110ec7'
  '3294fd2919c3372615b59c5f82552f64')
 
 prepare() {
   cd ${pkgname}-${_pkgver}-src
+  patch -Np1 -i ../disable-sslv3.patch
   patch -Np1 -i ../trackgcroot-new-ops.patch
 
   # Hacky fix to allow the curses module to build on x86_64; otherwise we get:

Added: disable-sslv3.patch
===
--- disable-sslv3.patch (rev 0)
+++ disable-sslv3.patch 2016-03-03 17:15:38 UTC (rev 164525)
@@ -0,0 +1,32 @@
+diff -u -r pypy3-2.4.0-src/pypy/module/_ssl/interp_ssl.py 
pypy3-2.4.0-src-nossl3/pypy/module/_ssl/interp_ssl.py
+--- pypy3-2.4.0-src/pypy/module/_ssl/interp_ssl.py 2014-10-17 
22:09:50.0 +0200
 pypy3-2.4.0-src-nossl3/pypy/module/_ssl/interp_ssl.py  2016-03-03 
18:09:29.810745956 +0100
+@@ -95,7 +95,7 @@
+ def __init__(self, space, protocol):
+ if protocol == PY_SSL_VERSION_TLS1:
+ method = libssl_TLSv1_method()
+-elif protocol == PY_SSL_VERSION_SSL3:
++elif protocol == PY_SSL_VERSION_SSL3 and not OPENSSL_NO_SSL3:
+ method = libssl_SSLv3_method()
+ elif protocol == PY_SSL_VERSION_SSL2 and not OPENSSL_NO_SSL2:
+ method = libssl_SSLv2_method()
+@@ -110,6 +110,8 @@
+ options = SSL_OP_ALL & ~SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS
+ if protocol != PY_SSL_VERSION_SSL2:
+ options |= SSL_OP_NO_SSLv2
++if protocol != PY_SSL_VERSION_SSL3:
++options |= SSL_OP_NO_SSLv3
+ libssl_SSL_CTX_set_options(self.ctx, options)
+ libssl_SSL_CTX_set_session_id_context(self.ctx, "Python", 
len("Python"))
+ 
+diff -u -r pypy3-2.4.0-src/rpython/rlib/ropenssl.py 
pypy3-2.4.0-src-nossl3/rpython/rlib/ropenssl.py
+--- pypy3-2.4.0-src/rpython/rlib/ropenssl.py   2014-10-17 22:09:50.0 
+0200
 pypy3-2.4.0-src-nossl3/rpython/rlib/ropenssl.py2016-03-03 
18:07:59.587706148 +0100
+@@ -69,6 +69,7 @@
+ SSLEAY_VERSION = rffi_platform.DefinedConstantString(
+ "SSLEAY_VERSION", "SSLeay_version(SSLEAY_VERSION)")
+ OPENSSL_NO_SSL2 = rffi_platform.Defined("OPENSSL_NO_SSL2")
++OPENSSL_NO_SSL3 = rffi_platform.Defined("OPENSSL_NO_SSL3")
+ SSL_FILETYPE_PEM = rffi_platform.ConstantInteger("SSL_FILETYPE_PEM")
+ SSL_OP_ALL = rffi_platform.ConstantInteger("SSL_OP_ALL")
+ SSL_OP_NO_SSLv2 = rffi_platform.ConstantInteger("SSL_OP_NO_SSLv2")


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

2015-09-09 Thread Evangelos Foutras
Date: Thursday, September 10, 2015 @ 04:08:27
  Author: foutrelis
Revision: 139711

ncurses 6.0 rebuild.

Modified:
  pypy3/trunk/PKGBUILD

--+
 PKGBUILD |   14 +-
 1 file changed, 13 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-09-10 00:20:09 UTC (rev 139710)
+++ PKGBUILD2015-09-10 02:08:27 UTC (rev 139711)
@@ -7,7 +7,7 @@
 pkgver=2.4.0
 _pkgver=2.4.0
 #[[ -n $_hgrev ]] && pkgver=2.0beta2.$_hgrev
-pkgrel=2
+pkgrel=3
 pkgdesc="A Python3 implementation written in Python, JIT enabled"
 url="http://pypy.org;
 arch=('i686' 'x86_64')
@@ -26,6 +26,18 @@
 prepare() {
   cd ${pkgname}-${_pkgver}-src
   patch -Np1 -i ../trackgcroot-new-ops.patch
+
+  # Hacky fix to allow the curses module to build on x86_64; otherwise we get:
+  #   cffi.ffiplatform.VerificationError: anonymous MEVENT: wrong total size
+  #   (we have 24, but C compiler says 20)
+  if [[ $CARCH == x86_64 ]]; then
+_type=unsigned
+  else
+_type=uint32_t
+  fi
+  sed -i -e "s/typedef unsigned long mmask_t/typedef $_type mmask_t/" \
+ -e "s/typedef unsigned long chtype/typedef $_type chtype/" \
+lib_pypy/_curses.py
 }
 
 build() {


[arch-commits] Commit in pypy3/trunk (PKGBUILD trackgcroot-new-ops.patch)

2015-09-07 Thread Evangelos Foutras
Date: Tuesday, September 8, 2015 @ 02:40:09
  Author: foutrelis
Revision: 139553

Add patch from Debian to fix build failure

Added:
  pypy3/trunk/trackgcroot-new-ops.patch
Modified:
  pypy3/trunk/PKGBUILD

---+
 PKGBUILD  |   11 +--
 trackgcroot-new-ops.patch |   26 ++
 2 files changed, 35 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-09-07 22:53:49 UTC (rev 139552)
+++ PKGBUILD2015-09-08 00:40:09 UTC (rev 139553)
@@ -18,9 +18,16 @@
 options=(!buildflags)
 license=('custom:MIT')
 #source=("hg+https://bitbucket.org/pypy/pypy#revision=$_hgrev;)
-source=("https://bitbucket.org/pypy/pypy/downloads/$pkgname-$_pkgver-src.tar.bz2;)
-md5sums=('96ba72916114d16904e12562b5d84e51')
+source=("https://bitbucket.org/pypy/pypy/downloads/$pkgname-$_pkgver-src.tar.bz2;
+"trackgcroot-new-ops.patch")
+md5sums=('96ba72916114d16904e12562b5d84e51'
+ '3294fd2919c3372615b59c5f82552f64')
 
+prepare() {
+  cd ${pkgname}-${_pkgver}-src
+  patch -Np1 -i ../trackgcroot-new-ops.patch
+}
+
 build() {
   cd ${pkgname}-${_pkgver}-src/pypy/goal
 

Added: trackgcroot-new-ops.patch
===
--- trackgcroot-new-ops.patch   (rev 0)
+++ trackgcroot-new-ops.patch   2015-09-08 00:40:09 UTC (rev 139553)
@@ -0,0 +1,26 @@
+Description: Expect cmovnb and jnb
+ Fixes an FTBFS since gcc 4.9.2, which is emmiting new operations
+Author: Stefano Rivera 
+Forwarded: 
https://bitbucket.org/pypy/pypy/commits/c1abec418acf30bb04891c3249bc12cbe8f48d4a
+Bug-Debian: https://bugs.debian.org/771137
+Last-Update: 2014-11-26
+
+--- a/rpython/translator/c/gcc/trackgcroot.py
 b/rpython/translator/c/gcc/trackgcroot.py
+@@ -590,7 +590,7 @@
+ 
+ # The various cmov* operations
+ for name in '''
+-e ne g ge l le a ae b be p np s ns o no
++e ne g ge l le a ae b be nb p np s ns o no
+ '''.split():
+ locals()['visit_cmov' + name] = binary_insn
+ locals()['visit_cmov' + name + 'l'] = binary_insn
+@@ -837,6 +837,7 @@
+ visit_jb = conditional_jump
+ visit_jbe = conditional_jump
+ visit_jp = conditional_jump
++visit_jnb = conditional_jump
+ visit_jnp = conditional_jump
+ visit_js = conditional_jump
+ visit_jns = conditional_jump


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

2014-11-18 Thread Sven-Hendrik Haase
Date: Tuesday, November 18, 2014 @ 22:59:05
  Author: svenstaro
Revision: 122726

upgpkg: pypy3 2.4.0-2

fix FS#42600

Modified:
  pypy3/trunk/PKGBUILD

--+
 PKGBUILD |3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-11-18 21:10:55 UTC (rev 122725)
+++ PKGBUILD2014-11-18 21:59:05 UTC (rev 122726)
@@ -7,11 +7,10 @@
 pkgver=2.4.0
 _pkgver=2.4.0
 #[[ -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')
-provides=('python')
 depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib')
 makedepends=('python2' 'sqlite' 'tk')
 optdepends=('sqlite: sqlite module'


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

2014-10-27 Thread Sven-Hendrik Haase
Date: Monday, October 27, 2014 @ 12:47:31
  Author: svenstaro
Revision: 121489

Prepare for shared build

Modified:
  pypy3/trunk/PKGBUILD

--+
 PKGBUILD |3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-10-27 11:39:28 UTC (rev 121488)
+++ PKGBUILD2014-10-27 11:47:31 UTC (rev 121489)
@@ -25,7 +25,7 @@
 build() {
   cd ${pkgname}-${_pkgver}-src/pypy/goal
 
-  export libdir=/usr/lib
+  #python2 ../../rpython/bin/rpython -Ojit --shared targetpypystandalone
   python2 ../../rpython/bin/rpython -Ojit targetpypystandalone
 }
 
@@ -47,6 +47,7 @@
   install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/pypy3/LICENSE
 
   # Compile binary modules
+  #export LD_LIBRARY_PATH=${pkgdir}/usr/lib:${LD_LIBRARY_PATH}
   for module in _curses syslog dbm sqlite3 _tkinter; do
 ${pkgdir}/opt/pypy3/bin/pypy-c -c import ${module}
   done


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

2014-10-21 Thread Sven-Hendrik Haase
Date: Wednesday, October 22, 2014 @ 05:30:00
  Author: svenstaro
Revision: 121195

upgpkg: pypy3 2.4.0-1

upstream release 2.4.0

Modified:
  pypy3/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2014-10-22 02:37:51 UTC (rev 121194)
+++ PKGBUILD2014-10-22 03:30:00 UTC (rev 121195)
@@ -4,10 +4,10 @@
 #_hgrev=63547
 
 pkgname=pypy3
-pkgver=2.3.1
-_pkgver=2.3.1
+pkgver=2.4.0
+_pkgver=2.4.0
 #[[ -n $_hgrev ]]  pkgver=2.0beta2.$_hgrev
-pkgrel=4
+pkgrel=1
 pkgdesc=A Python3 implementation written in Python, JIT enabled
 url=http://pypy.org;
 arch=('i686' 'x86_64')
@@ -20,7 +20,7 @@
 license=('custom:MIT')
 #source=(hg+https://bitbucket.org/pypy/pypy#revision=$_hgrev;)
 
source=(https://bitbucket.org/pypy/pypy/downloads/$pkgname-$_pkgver-src.tar.bz2;)
-md5sums=('83731c1cf0b5ecd5acf39210d7710816')
+md5sums=('96ba72916114d16904e12562b5d84e51')
 
 build() {
   cd ${pkgname}-${_pkgver}-src/pypy/goal


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

2014-09-03 Thread Sven-Hendrik Haase
Date: Wednesday, September 3, 2014 @ 13:44:58
  Author: svenstaro
Revision: 118222

Don't generate bytecode yet

Modified:
  pypy3/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-09-03 11:44:38 UTC (rev 118221)
+++ PKGBUILD2014-09-03 11:44:58 UTC (rev 118222)
@@ -51,9 +51,9 @@
 ${pkgdir}/opt/pypy3/bin/pypy-c -c import ${module}
   done
 
-  # Generate bytecode
-  ${pkgdir}/opt/pypy3/bin/pypy-c -m compileall ${pkgdir}/opt/pypy3
-  ${pkgdir}/opt/pypy3/bin/pypy-c -O -m compileall ${pkgdir}/opt/pypy3
+  # Generate bytecode (currently impossibru)
+  #${pkgdir}/opt/pypy3/bin/pypy-c -m compileall ${pkgdir}/opt/pypy3
+  #${pkgdir}/opt/pypy3/bin/pypy-c -O -m compileall ${pkgdir}/opt/pypy3
 
 }
 # vim: ts=2 sw=2 et:



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

2014-09-01 Thread Sven-Hendrik Haase
Date: Monday, September 1, 2014 @ 14:55:22
  Author: svenstaro
Revision: 118132

Generate bytecode

Modified:
  pypy3/trunk/PKGBUILD

--+
 PKGBUILD |7 ++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-09-01 12:55:05 UTC (rev 118131)
+++ PKGBUILD2014-09-01 12:55:22 UTC (rev 118132)
@@ -7,7 +7,7 @@
 pkgver=2.3.1
 _pkgver=2.3.1
 #[[ -n $_hgrev ]]  pkgver=2.0beta2.$_hgrev
-pkgrel=3
+pkgrel=4
 pkgdesc=A Python3 implementation written in Python, JIT enabled
 url=http://pypy.org;
 arch=('i686' 'x86_64')
@@ -50,5 +50,10 @@
   for module in _curses syslog dbm sqlite3 _tkinter; do
 ${pkgdir}/opt/pypy3/bin/pypy-c -c import ${module}
   done
+
+  # Generate bytecode
+  ${pkgdir}/opt/pypy3/bin/pypy-c -m compileall ${pkgdir}/opt/pypy3
+  ${pkgdir}/opt/pypy3/bin/pypy-c -O -m compileall ${pkgdir}/opt/pypy3
+
 }
 # vim: ts=2 sw=2 et:



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

2014-07-08 Thread Sven-Hendrik Haase
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
===
--- PKGBUILD2014-07-08 05:39:48 UTC (rev 115295)
+++ PKGBUILD2014-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:



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

2014-07-08 Thread Sven-Hendrik Haase
Date: Tuesday, July 8, 2014 @ 16:32:45
  Author: svenstaro
Revision: 115306

upgpkg: pypy3 2.3.1-3

Enable dbm

Modified:
  pypy3/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-07-08 14:19:26 UTC (rev 115305)
+++ PKGBUILD2014-07-08 14:32:45 UTC (rev 115306)
@@ -7,12 +7,12 @@
 pkgver=2.3.1
 _pkgver=2.3.1
 #[[ -n $_hgrev ]]  pkgver=2.0beta2.$_hgrev
-pkgrel=2
+pkgrel=3
 pkgdesc=A Python3 implementation written in Python, JIT enabled
 url=http://pypy.org;
 arch=('i686' 'x86_64')
 provides=('python')
-depends=('python2' 'expat' 'bzip2' 'openssl' 'libffi' 'zlib') #gdbm
+depends=('python2' 'expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib')
 makedepends=('sqlite' 'tk')
 optdepends=('sqlite: sqlite module'
 'tk: tk module')
@@ -47,7 +47,7 @@
   install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/pypy3/LICENSE
 
   # Compile binary modules
-  for module in _curses syslog sqlite3 _tkinter; do #gdbm broken
+  for module in _curses syslog dbm sqlite3 _tkinter; do
 ${pkgdir}/opt/pypy3/bin/pypy-c -c import ${module}
   done
 }



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

2014-07-08 Thread Sven-Hendrik Haase
Date: Wednesday, July 9, 2014 @ 03:49:38
  Author: svenstaro
Revision: 115335

Move python2 from deps to makedeps

Modified:
  pypy3/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2014-07-08 23:06:15 UTC (rev 115334)
+++ PKGBUILD2014-07-09 01:49:38 UTC (rev 115335)
@@ -12,8 +12,8 @@
 url=http://pypy.org;
 arch=('i686' 'x86_64')
 provides=('python')
-depends=('python2' 'expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib')
-makedepends=('sqlite' 'tk')
+depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib')
+makedepends=('python2' 'sqlite' 'tk')
 optdepends=('sqlite: sqlite module'
 'tk: tk module')
 options=(!buildflags)



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

2014-06-27 Thread Sven-Hendrik Haase
Date: Friday, June 27, 2014 @ 21:49:01
  Author: svenstaro
Revision: 113679

upgpkg: pypy3 2.3.1-1

upstream release 2.3.1

Modified:
  pypy3/trunk/PKGBUILD

--+
 PKGBUILD |   25 +++--
 1 file changed, 15 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-06-27 19:45:54 UTC (rev 113678)
+++ PKGBUILD2014-06-27 19:49:01 UTC (rev 113679)
@@ -4,10 +4,10 @@
 #_hgrev=63547
 
 pkgname=pypy3
-pkgver=2.1beta1
-_pkgver=2.1-beta1
+pkgver=2.3.1
+_pkgver=2.3.1
 #[[ -n $_hgrev ]]  pkgver=2.0beta2.$_hgrev
-pkgrel=2
+pkgrel=1
 pkgdesc=A Python3 implementation written in Python, JIT enabled
 url=http://pypy.org;
 arch=('i686' 'x86_64')
@@ -24,25 +24,30 @@
 license=('custom:MIT')
 #source=(hg+https://bitbucket.org/pypy/pypy#revision=$_hgrev;)
 
source=(https://bitbucket.org/pypy/pypy/downloads/$pkgname-$_pkgver-src.tar.bz2;)
-md5sums=('bc2013d1927dc1c0c91228e566abd8da')
+md5sums=('83731c1cf0b5ecd5acf39210d7710816')
 
 build() {
-  cd ${srcdir}/${pkgname}-${_pkgver}-src/pypy/goal
+  cd ${pkgname}-${_pkgver}-src/pypy/goal
 
+  export libdir=/usr/lib
   python2 ../../rpython/bin/rpython -Ojit targetpypystandalone
 }
 
 package() {
-  cd ${srcdir}/${pkgname}-${_pkgver}-src/pypy/tool/release
+  cd ${pkgname}-${_pkgver}-src
 
-  python2 package.py ../../../ pypy3 pypy-c ${srcdir}/${pkgname}.tar.bz2
+  install -Dm755 pypy/goal/pypy-c ${pkgdir}/opt/pypy3/bin/pypy-c
+  #install -Dm755 pypy/goal/libpypy-c.so ${pkgdir}/usr/lib/libpypy3-c.so
+  cp -r include lib_pypy site-packages ${pkgdir}/opt/pypy3/
 
-  mkdir -p ${pkgdir}/opt
-  tar x -C ${pkgdir}/opt -f ${srcdir}/${pkgname}.tar.bz2
+  mkdir ${pkgdir}/opt/pypy3/lib-python/
+  cp -r lib-python/3 ${pkgdir}/opt/pypy3/lib-python/
 
   mkdir -p ${pkgdir}/usr/bin
   ln -s /opt/pypy3/bin/pypy-c ${pkgdir}/usr/bin/pypy3
 
-  install -Dm644 ${pkgdir}/opt/pypy3/LICENSE 
${pkgdir}/usr/share/licenses/pypy3/LICENSE
+  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
 }
 # vim: ts=2 sw=2 et:



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

2013-08-08 Thread Sven-Hendrik Haase
Date: Thursday, August 8, 2013 @ 21:07:23
  Author: svenstaro
Revision: 95275

upgpkg: pypy3 2.1beta1-2

Enable tk support

Modified:
  pypy3/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2013-08-08 17:06:37 UTC (rev 95274)
+++ PKGBUILD2013-08-08 19:07:23 UTC (rev 95275)
@@ -7,19 +7,20 @@
 pkgver=2.1beta1
 _pkgver=2.1-beta1
 #[[ -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')
 options=(!buildflags)
-makedepends=('python' 'mercurial' 'python2')
+makedepends=('python' 'mercurial' 'python2' 'tk')
 optdepends=('openssl: openssl module'
 'expat: pyexpat module'
 'ncurses: ncurses module'
 'zlib: zlib module'
-'bzip2: bz2 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;)
@@ -34,7 +35,7 @@
 package() {
   cd ${srcdir}/${pkgname}-${_pkgver}-src/pypy/tool/release
 
-  python2 package.py --without-tk ../../../ pypy3 pypy-c 
${srcdir}/${pkgname}.tar.bz2
+  python2 package.py ../../../ pypy3 pypy-c ${srcdir}/${pkgname}.tar.bz2
 
   mkdir -p ${pkgdir}/opt
   tar x -C ${pkgdir}/opt -f ${srcdir}/${pkgname}.tar.bz2



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

2013-08-05 Thread Sven-Hendrik Haase
Date: Monday, August 5, 2013 @ 13:32:19
  Author: svenstaro
Revision: 95084

upgpkg: pypy3 2.1beta1-1

Pushing pypy3

Modified:
  pypy3/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2013-08-05 11:31:32 UTC (rev 95083)
+++ PKGBUILD2013-08-05 11:32:19 UTC (rev 95084)
@@ -4,7 +4,8 @@
 #_hgrev=63547
 
 pkgname=pypy3
-pkgver=2.1
+pkgver=2.1beta1
+_pkgver=2.1-beta1
 #[[ -n $_hgrev ]]  pkgver=2.0beta2.$_hgrev
 pkgrel=1
 pkgdesc=A Python3 implementation written in Python, JIT enabled
@@ -13,7 +14,7 @@
 depends=('libffi')
 provides=('python')
 options=(!buildflags)
-makedepends=('python' 'mercurial')
+makedepends=('python' 'mercurial' 'python2')
 optdepends=('openssl: openssl module'
 'expat: pyexpat module'
 'ncurses: ncurses module'
@@ -21,23 +22,22 @@
 'bzip2: bz2 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;)
-md5sums=('7c43cd95aa37a7f0ca2465ed930646c0')
+source=(https://bitbucket.org/pypy/pypy/downloads/$pkgname-$_pkgver-src.tar.bz2;)
+md5sums=('bc2013d1927dc1c0c91228e566abd8da')
 
 build() {
-  cd ${srcdir}/${pkgname}-${pkgver}-src/pypy/goal
+  cd ${srcdir}/${pkgname}-${_pkgver}-src/pypy/goal
 
-  python ../../rpython/bin/rpython -Ojit targetpypystandalone
+  python2 ../../rpython/bin/rpython -Ojit targetpypystandalone
 }
 
 package() {
-  cd ${srcdir}/${pkgname}-${pkgver}-src/pypy/tool/release
+  cd ${srcdir}/${pkgname}-${_pkgver}-src/pypy/tool/release
 
-  python package.py --without-tk ../../../ pypy pypy-c 
${srcdir}/${pkgname}.tar.bz2
+  python2 package.py --without-tk ../../../ pypy3 pypy-c 
${srcdir}/${pkgname}.tar.bz2
 
   mkdir -p ${pkgdir}/opt
   tar x -C ${pkgdir}/opt -f ${srcdir}/${pkgname}.tar.bz2
-  mv pypy pypy3
 
   mkdir -p ${pkgdir}/usr/bin
   ln -s /opt/pypy3/bin/pypy-c ${pkgdir}/usr/bin/pypy3