Add 'python2-zxcvbn/' from commit '690217f750ae2e8be0bfe91332559578ecd963a8'
git-subtree-dir: python2-zxcvbn git-subtree-mainline:9a624b7d78
git-subtree-split:690217f750
This commit is contained in:
commit
bf24fcce2c
2 changed files with 43 additions and 0 deletions
16
python2-zxcvbn/.SRCINFO
Normal file
16
python2-zxcvbn/.SRCINFO
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
pkgbase = python2-zxcvbn
|
||||||
|
pkgdesc = Password strength estimator
|
||||||
|
pkgver = 4.4.27
|
||||||
|
pkgrel = 1
|
||||||
|
url = http://pypi.python.org/pypi/zxcvbn
|
||||||
|
arch = any
|
||||||
|
license = Apache
|
||||||
|
source = https://github.com/dwolfhub/zxcvbn-python/archive/v4.4.27.tar.gz
|
||||||
|
sha256sums = 9b84927fff7b4cc557b63a49adbd74f7a92026e25edd9e1b2867c1610d15fa5d
|
||||||
|
|
||||||
|
pkgname = python2-zxcvbn
|
||||||
|
depends = python2
|
||||||
|
|
||||||
|
pkgname = python-zxcvbn
|
||||||
|
depends = python
|
||||||
|
|
27
python2-zxcvbn/PKGBUILD
Normal file
27
python2-zxcvbn/PKGBUILD
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
|
||||||
|
_pythonmod=zxcvbn-python
|
||||||
|
pkgname=('python2-zxcvbn' 'python-zxcvbn')
|
||||||
|
pkgbase=python2-zxcvbn
|
||||||
|
pkgver=4.4.27
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Password strength estimator"
|
||||||
|
arch=('any')
|
||||||
|
url="http://pypi.python.org/pypi/zxcvbn"
|
||||||
|
license=('Apache')
|
||||||
|
#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')
|
||||||
|
|
||||||
|
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}
|
||||||
|
}
|
Loading…
Reference in a new issue