upgpkg: python2-zxcvbn 4.4.28-1

upstream release
This commit is contained in:
Cedric Girard 2019-06-12 13:33:08 +02:00
parent 0a3f798669
commit b41f13e156
Signed by: X-dark
GPG key ID: E7D0E125DB9519E4
2 changed files with 10 additions and 7 deletions

View file

@ -1,12 +1,16 @@
pkgbase = python2-zxcvbn pkgbase = python2-zxcvbn
pkgdesc = Password strength estimator pkgdesc = Password strength estimator
pkgver = 4.4.27 pkgver = 4.4.28
pkgrel = 1 pkgrel = 1
url = http://pypi.python.org/pypi/zxcvbn url = http://pypi.python.org/pypi/zxcvbn
arch = any arch = any
license = Apache license = Apache
source = https://github.com/dwolfhub/zxcvbn-python/archive/v4.4.27.tar.gz makedepends = python
sha256sums = 9b84927fff7b4cc557b63a49adbd74f7a92026e25edd9e1b2867c1610d15fa5d makedepends = python-setuptools
makedepends = python2
makedepends = python2-setuptools
source = https://github.com/dwolfhub/zxcvbn-python/archive/v4.4.28.tar.gz
sha256sums = b7275765acdf8028c21aa502d742e56de2252bac604c04ba5e336c39f88d5576
pkgname = python2-zxcvbn pkgname = python2-zxcvbn
depends = python2 depends = python2

View file

@ -2,7 +2,7 @@
_pythonmod=zxcvbn-python _pythonmod=zxcvbn-python
pkgname=('python2-zxcvbn' 'python-zxcvbn') pkgname=('python2-zxcvbn' 'python-zxcvbn')
pkgbase=python2-zxcvbn pkgbase=python2-zxcvbn
pkgver=4.4.27 pkgver=4.4.28
pkgrel=1 pkgrel=1
pkgdesc="Password strength estimator" pkgdesc="Password strength estimator"
arch=('any') arch=('any')
@ -10,18 +10,17 @@ url="http://pypi.python.org/pypi/zxcvbn"
license=('Apache') license=('Apache')
#source=("https://pypi.io/packages/source/${_pythonmod:0:1}/${_pythonmod}/${_pythonmod}-$pkgver.tar.gz") #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") source=("https://github.com/dwolfhub/${_pythonmod}/archive/v$pkgver.tar.gz")
sha256sums=('9b84927fff7b4cc557b63a49adbd74f7a92026e25edd9e1b2867c1610d15fa5d') sha256sums=('b7275765acdf8028c21aa502d742e56de2252bac604c04ba5e336c39f88d5576')
makedepends=('python' 'python-setuptools' 'python2' 'python2-setuptools')
package_python2-zxcvbn() { package_python2-zxcvbn() {
depends=('python2') depends=('python2')
makedepends=('python2-setuptools')
cd ${srcdir}/${_pythonmod}-$pkgver cd ${srcdir}/${_pythonmod}-$pkgver
python2 setup.py install --root=${pkgdir} python2 setup.py install --root=${pkgdir}
} }
package_python-zxcvbn() { package_python-zxcvbn() {
depends=('python') depends=('python')
makedepends=('python-setuptools')
cd ${srcdir}/${_pythonmod}-$pkgver cd ${srcdir}/${_pythonmod}-$pkgver
python setup.py install --root=${pkgdir} python setup.py install --root=${pkgdir}
} }