new upstream version and python2 version added

This commit is contained in:
Cedric Girard 2017-08-25 10:20:02 +02:00
parent 4c75044ae0
commit 8052f1bb3d
2 changed files with 21 additions and 18 deletions

View file

@ -1,14 +1,16 @@
pkgbase = python2-zxcvbn
pkgdesc = Password strength estimator
pkgver = 4.4.15
pkgver = 4.4.16
pkgrel = 1
url = http://pypi.python.org/pypi/zxcvbn-python
arch = any
license = Apache
makedepends = python2-setuptools
depends = python2
source = https://pypi.io/packages/source/z/zxcvbn-python/zxcvbn-python-4.4.15.tar.gz
md5sums = bd7f8d974dcd7e8f6f4a50950f1178f0
source = https://pypi.io/packages/source/z/zxcvbn-python/zxcvbn-python-4.4.16.tar.gz
md5sums = 7a4c6f3a6448093802343df15e36cea0
pkgname = python2-zxcvbn
depends = python2
pkgname = python-zxcvbn
depends = python

View file

@ -1,25 +1,26 @@
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
_pythonmod=zxcvbn-python
pkgname=python2-zxcvbn
pkgver=4.4.15
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')
depends=(
'python2'
)
makedepends=('python2-setuptools')
source=("https://pypi.io/packages/source/${_pythonmod:0:1}/${_pythonmod}/${_pythonmod}-$pkgver.tar.gz")
md5sums=('bd7f8d974dcd7e8f6f4a50950f1178f0')
md5sums=('7a4c6f3a6448093802343df15e36cea0')
build() {
cd ${srcdir}/${_pythonmod}-$pkgver
python2 setup.py build
}
package() {
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}
}