2017-01-20 10:37:22 +01:00
|
|
|
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
|
2017-01-20 10:43:11 +01:00
|
|
|
_pythonmod=zxcvbn-python
|
2017-01-20 10:37:22 +01:00
|
|
|
pkgname=python2-zxcvbn
|
2017-08-23 11:03:49 +02:00
|
|
|
pkgver=4.4.15
|
2017-01-20 10:37:22 +01:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="Password strength estimator"
|
|
|
|
arch=('any')
|
|
|
|
url="http://pypi.python.org/pypi/${_pythonmod}"
|
|
|
|
license=('Apache')
|
|
|
|
depends=(
|
|
|
|
'python2'
|
|
|
|
)
|
|
|
|
makedepends=('python2-setuptools')
|
|
|
|
source=("https://pypi.io/packages/source/${_pythonmod:0:1}/${_pythonmod}/${_pythonmod}-$pkgver.tar.gz")
|
2017-08-23 11:03:49 +02:00
|
|
|
md5sums=('bd7f8d974dcd7e8f6f4a50950f1178f0')
|
2017-01-20 10:37:22 +01:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd ${srcdir}/${_pythonmod}-$pkgver
|
|
|
|
python2 setup.py build
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd ${srcdir}/${_pythonmod}-$pkgver
|
|
|
|
python2 setup.py install --root=${pkgdir}
|
|
|
|
}
|