2017-01-20 10:37:22 +01:00
|
|
|
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
|
2018-10-19 10:25:17 +02:00
|
|
|
_pythonmod=zxcvbn-python
|
2017-08-25 10:20:02 +02:00
|
|
|
pkgname=('python2-zxcvbn' 'python-zxcvbn')
|
|
|
|
pkgbase=python2-zxcvbn
|
2018-10-19 10:25:17 +02:00
|
|
|
pkgver=4.4.27
|
2017-01-20 10:37:22 +01:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="Password strength estimator"
|
|
|
|
arch=('any')
|
2018-10-19 10:25:17 +02:00
|
|
|
url="http://pypi.python.org/pypi/zxcvbn"
|
2017-01-20 10:37:22 +01:00
|
|
|
license=('Apache')
|
2018-10-19 10:25:17 +02:00
|
|
|
#source=("https://pypi.io/packages/source/${_pythonmod:0:1}/${_pythonmod}/${_pythonmod}-$pkgver.tar.gz")
|
|
|
|
source=("https://github.com/dwolfhub/${_pythonmod}/archive/v$pkgver.tar.gz")
|
|
|
|
sha256sums=('9b84927fff7b4cc557b63a49adbd74f7a92026e25edd9e1b2867c1610d15fa5d')
|
2017-01-20 10:37:22 +01:00
|
|
|
|
2017-08-25 10:20:02 +02:00
|
|
|
package_python2-zxcvbn() {
|
|
|
|
depends=('python2')
|
|
|
|
makedepends=('python2-setuptools')
|
2017-01-20 10:37:22 +01:00
|
|
|
cd ${srcdir}/${_pythonmod}-$pkgver
|
2017-08-25 10:20:02 +02:00
|
|
|
python2 setup.py install --root=${pkgdir}
|
2017-01-20 10:37:22 +01:00
|
|
|
}
|
|
|
|
|
2017-08-25 10:20:02 +02:00
|
|
|
package_python-zxcvbn() {
|
|
|
|
depends=('python')
|
|
|
|
makedepends=('python-setuptools')
|
2017-01-20 10:37:22 +01:00
|
|
|
cd ${srcdir}/${_pythonmod}-$pkgver
|
2017-08-25 10:20:02 +02:00
|
|
|
python setup.py install --root=${pkgdir}
|
2017-01-20 10:37:22 +01:00
|
|
|
}
|