[arch-commits] Commit in python-persistent/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Mar 22 08:24:56 UTC 2017
Date: Wednesday, March 22, 2017 @ 08:24:56
Author: felixonmars
Revision: 218347
upgpkg: python-persistent 4.2.4-1
Modified:
python-persistent/trunk/PKGBUILD
----------+
PKGBUILD | 26 +++++++++++++-------------
1 file changed, 13 insertions(+), 13 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-03-22 08:22:35 UTC (rev 218346)
+++ PKGBUILD 2017-03-22 08:24:56 UTC (rev 218347)
@@ -3,7 +3,7 @@
pkgbase=python-persistent
pkgname=('python-persistent' 'python2-persistent')
-pkgver=4.2.3
+pkgver=4.2.4
pkgrel=1
pkgdesc="Translucent persistent objects"
arch=('i686' 'x86_64')
@@ -10,28 +10,28 @@
license=('ZPL')
url="http://www.zope.org/Products/ZODB"
makedepends=('python-setuptools' 'python2-setuptools' 'python-zope-interface'
- 'python2-zope-interface' 'git')
+ 'python2-zope-interface')
checkdepends=('python-nose' 'python2-nose')
-source=("git+https://github.com/zopefoundation/persistent.git#tag=$pkgver")
-sha512sums=('SKIP')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/zopefoundation/persistent/archive/$pkgver.tar.gz")
+sha512sums=('6af8e8209c5c40d1079161bafa98e24b026299a264cd5e53399584d4ada24e6be2b5651b244fe82878e91e9f8757ddb2f5e3b02b21bb50c0e1d48c2198c03409')
prepare() {
- cp -a persistent{,-py2}
+ cp -a persistent-$pkgver{,-py2}
}
build() {
- cd "$srcdir"/persistent
+ cd "$srcdir"/persistent-$pkgver
python setup.py build
- cd "$srcdir"/persistent-py2
+ cd "$srcdir"/persistent-$pkgver-py2
python2 setup.py build
}
check() {
- cd "$srcdir"/persistent
+ cd "$srcdir"/persistent-$pkgver
nosetests3
- cd "$srcdir"/persistent-py2
+ cd "$srcdir"/persistent-$pkgver-py2
nosetests2
}
@@ -38,13 +38,13 @@
package_python-persistent() {
depends=('python-zope-interface')
- cd persistent
- python setup.py install --root="${pkgdir}" --optimize=1
+ cd persistent-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
}
package_python2-persistent() {
depends=('python2-zope-interface')
- cd persistent-py2
- python2 setup.py install --root="${pkgdir}" --optimize=1
+ cd persistent-$pkgver-py2
+ python2 setup.py install --root="$pkgdir" --optimize=1
}
More information about the arch-commits
mailing list