first package version
This commit is contained in:
commit
e655d4c9e7
2 changed files with 39 additions and 0 deletions
14
.SRCINFO
Normal file
14
.SRCINFO
Normal file
|
@ -0,0 +1,14 @@
|
|||
pkgbase = python2-zxcvbn
|
||||
pkgdesc = Password strength estimator
|
||||
pkgver = 1.0
|
||||
pkgrel = 1
|
||||
url = http://pypi.python.org/pypi/zxcvbn
|
||||
arch = any
|
||||
license = Apache
|
||||
makedepends = python2-setuptools
|
||||
depends = python2
|
||||
source = https://pypi.io/packages/source/z/zxcvbn/zxcvbn-1.0.tar.gz
|
||||
md5sums = 4b875b9f954a7aef2269eb8c1177b591
|
||||
|
||||
pkgname = python2-zxcvbn
|
||||
|
25
PKGBUILD
Normal file
25
PKGBUILD
Normal file
|
@ -0,0 +1,25 @@
|
|||
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
|
||||
_pythonmod=zxcvbn
|
||||
pkgname=python2-zxcvbn
|
||||
pkgver=1.0
|
||||
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=('4b875b9f954a7aef2269eb8c1177b591')
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/${_pythonmod}-$pkgver
|
||||
python2 setup.py build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${srcdir}/${_pythonmod}-$pkgver
|
||||
python2 setup.py install --root=${pkgdir}
|
||||
}
|
Loading…
Reference in a new issue