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

Felix Yan fyan at archlinux.org
Sat Sep 19 16:56:26 UTC 2015


    Date: Saturday, September 19, 2015 @ 18:56:25
  Author: fyan
Revision: 141023

upgpkg: python-salsa20 0.3.0-3

rebuild for python 3.5

Modified:
  python-salsa20/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-09-19 16:55:15 UTC (rev 141022)
+++ PKGBUILD	2015-09-19 16:56:25 UTC (rev 141023)
@@ -1,10 +1,10 @@
 # $Id$
-# Maintainer: Felix Yan <felixonmars at gmail.com>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
 
 pkgbase=python-salsa20
 pkgname=("python-salsa20" "python2-salsa20")
 pkgver=0.3.0
-pkgrel=2
+pkgrel=3
 pkgdesc='Bindings for the NaCL implementation of Salsa20 and XSalsa20 by D. J. Bernstein'
 arch=('i686' 'x86_64')
 url="http://github.com/keybase/python-salsa20"
@@ -14,7 +14,7 @@
 md5sums=('5f199f3d6c643f05904b9d4a0b5d7e00')
 
 prepare() {
-  cp -r "salsa20-$pkgver"{,-py2}
+  cp -a "salsa20-$pkgver"{,-py2}
 }
 
 build() {
@@ -27,7 +27,7 @@
 
 check() {
   cd salsa20-$pkgver
-  PYTHONPATH="$(pwd)/build/lib.linux-$CARCH-3.4:$PYTHONPATH" python -m doctest -v README.rst
+  PYTHONPATH="$(pwd)/build/lib.linux-$CARCH-3.5:$PYTHONPATH" python -m doctest -v README.rst
 
   cd ../salsa20-$pkgver-py2
   PYTHONPATH="$(pwd)/build/lib.linux-$CARCH-2.7:$PYTHONPATH" python2 -m doctest -v README.rst
@@ -48,4 +48,3 @@
   python2 setup.py install --root="${pkgdir}" --skip-build --optimize=1
   install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }
-



More information about the arch-commits mailing list