26 lines
771 B
Bash
26 lines
771 B
Bash
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
|
|
_pythonmod=zxcvbn-python
|
|
pkgname=('python2-zxcvbn' 'python-zxcvbn')
|
|
pkgbase=python2-zxcvbn
|
|
pkgver=4.4.16
|
|
pkgrel=1
|
|
pkgdesc="Password strength estimator"
|
|
arch=('any')
|
|
url="http://pypi.python.org/pypi/${_pythonmod}"
|
|
license=('Apache')
|
|
source=("https://pypi.io/packages/source/${_pythonmod:0:1}/${_pythonmod}/${_pythonmod}-$pkgver.tar.gz")
|
|
md5sums=('7a4c6f3a6448093802343df15e36cea0')
|
|
|
|
package_python2-zxcvbn() {
|
|
depends=('python2')
|
|
makedepends=('python2-setuptools')
|
|
cd ${srcdir}/${_pythonmod}-$pkgver
|
|
python2 setup.py install --root=${pkgdir}
|
|
}
|
|
|
|
package_python-zxcvbn() {
|
|
depends=('python')
|
|
makedepends=('python-setuptools')
|
|
cd ${srcdir}/${_pythonmod}-$pkgver
|
|
python setup.py install --root=${pkgdir}
|
|
}
|