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
|
2019-06-12 13:33:08 +02:00
|
|
|
pkgver=4.4.28
|
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")
|
2019-06-12 13:33:08 +02:00
|
|
|
sha256sums=('b7275765acdf8028c21aa502d742e56de2252bac604c04ba5e336c39f88d5576')
|
|
|
|
makedepends=('python' 'python-setuptools' 'python2' 'python2-setuptools')
|
2017-01-20 10:37:22 +01:00
|
|
|
|
2017-08-25 10:20:02 +02:00
|
|
|
package_python2-zxcvbn() {
|
|
|
|
depends=('python2')
|
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')
|
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
|
|
|
}
|