[arch-commits] Commit in python-passlib/trunk (PKGBUILD)
Felix Yan
fyan at archlinux.org
Wed Aug 5 13:43:08 UTC 2015
Date: Wednesday, August 5, 2015 @ 15:43:07
Author: fyan
Revision: 137980
upgpkg: python-passlib 1.6.5-1
Modified:
python-passlib/trunk/PKGBUILD
----------+
PKGBUILD | 21 +++++++++++++++------
1 file changed, 15 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-08-05 13:39:29 UTC (rev 137979)
+++ PKGBUILD 2015-08-05 13:43:07 UTC (rev 137980)
@@ -5,20 +5,29 @@
_pypiname=passlib
pkgbase=python-$_pypiname
pkgname=(python-$_pypiname python2-$_pypiname)
-pkgver=1.6.2
-pkgrel=3
+pkgver=1.6.5
+pkgrel=1
pkgdesc="A password hashing library for Python"
arch=('any')
url=("https://code.google.com/p/passlib/")
license=('custom:BSD')
-makedepends=('python' 'python2')
-source=("https://${_pypiname}.googlecode.com/files/$_pypiname-${pkgver}.tar.gz")
-sha512sums=('783fe4fbfd4dca9d5cd39c49140976fb91efe41303ae31fec0f6f47101071600ae1709f3c4950bfac0bc9cbe65a2508781153aa3788b6451794f2acc9a1dfc58')
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-nose' 'python2-nose')
+source=("https://pypi.python.org/packages/source/p/passlib/passlib-$pkgver.tar.gz")
+sha512sums=('b5323834a0a7fc7e799882c512a2fcaddb0cbf4dbfb3ec578c9a9ea7a7f08349335cd3124fe2b379eef265ecdf9d823b7562951881710cf4dafff128a65c82d4')
prepare() {
- cp -r ${_pypiname}-${pkgver} python2-${_pypiname}-${pkgver}
+ cp -a ${_pypiname}-${pkgver} python2-${_pypiname}-${pkgver}
}
+check() {
+ cd "$srcdir/$_pypiname-$pkgver"
+ nosetests3
+
+ cd "$srcdir/python2-$_pypiname-$pkgver"
+ nosetests2
+}
+
package_python-passlib() {
depends=("python")
More information about the arch-commits
mailing list