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 pkgbase = python2-zxcvbn
pkgdesc = Password strength estimator pkgdesc = Password strength estimator
pkgver = 4.4.15 pkgver = 4.4.16
pkgrel = 1 pkgrel = 1
url = http://pypi.python.org/pypi/zxcvbn-python url = http://pypi.python.org/pypi/zxcvbn-python
arch = any arch = any
license = Apache license = Apache
makedepends = python2-setuptools source = https://pypi.io/packages/source/z/zxcvbn-python/zxcvbn-python-4.4.16.tar.gz
depends = python2 md5sums = 7a4c6f3a6448093802343df15e36cea0
source = https://pypi.io/packages/source/z/zxcvbn-python/zxcvbn-python-4.4.15.tar.gz
md5sums = bd7f8d974dcd7e8f6f4a50950f1178f0
pkgname = python2-zxcvbn pkgname = python2-zxcvbn
depends = python2
pkgname = python-zxcvbn
depends = python

View file

@ -1,25 +1,26 @@
# Maintainer: Cedric Girard <girard.cedric@gmail.com> # Maintainer: Cedric Girard <girard.cedric@gmail.com>
_pythonmod=zxcvbn-python _pythonmod=zxcvbn-python
pkgname=python2-zxcvbn pkgname=('python2-zxcvbn' 'python-zxcvbn')
pkgver=4.4.15 pkgbase=python2-zxcvbn
pkgver=4.4.16
pkgrel=1 pkgrel=1
pkgdesc="Password strength estimator" pkgdesc="Password strength estimator"
arch=('any') arch=('any')
url="http://pypi.python.org/pypi/${_pythonmod}" url="http://pypi.python.org/pypi/${_pythonmod}"
license=('Apache') license=('Apache')
depends=(
'python2'
)
makedepends=('python2-setuptools')
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")
md5sums=('bd7f8d974dcd7e8f6f4a50950f1178f0') md5sums=('7a4c6f3a6448093802343df15e36cea0')
build() { package_python2-zxcvbn() {
cd ${srcdir}/${_pythonmod}-$pkgver depends=('python2')
python2 setup.py build makedepends=('python2-setuptools')
}
package() {
cd ${srcdir}/${_pythonmod}-$pkgver cd ${srcdir}/${_pythonmod}-$pkgver
python2 setup.py install --root=${pkgdir} python2 setup.py install --root=${pkgdir}
} }
package_python-zxcvbn() {
depends=('python')
makedepends=('python-setuptools')
cd ${srcdir}/${_pythonmod}-$pkgver
python setup.py install --root=${pkgdir}
}