diff options
author | David Vilar Benet | 2020-09-04 15:53:05 +0200 |
---|---|---|
committer | David Vilar Benet | 2020-09-04 15:53:05 +0200 |
commit | ee967f06ceff1da0ed183a6ecf781a3778033daa (patch) | |
tree | c920350113cf6c9c89231258d48a1f9d478bcc53 | |
download | aur-ee967f06ceff1da0ed183a6ecf781a3778033daa.tar.gz |
python-password-strength 0.0.3
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..5ece4c406700 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = python-password-strength + pkgdesc = Python 2.7/3.X password strength and validation + pkgver = 0.0.3 + pkgrel = 1 + url = https://github.com/kolypto/py-password-strength + arch = any + license = BSD + makedepends = python-setuptools + depends = python + source = py-password-strength-0.0.3.tar.gz::https://github.com/kolypto/py-password-strength/archive/v0.0.3.tar.gz + sha512sums = cc6a667b3ef66f59f05744cf424340c4b46dd91f49b47bdf3fd3903aba52161f357462aa1b8e92474e0d1dedeecd5360ef990c29a70df43e89d1b402e169a537 + +pkgname = python-password-strength + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..4e39862b4b76 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: David Vilar Benet <archlinux at b0rken dot de> + +pkgname=python-password-strength +_name=py-password-strength +pkgver=0.0.3 +pkgrel=1 +pkgdesc="Python 2.7/3.X password strength and validation" +url="https://github.com/kolypto/py-password-strength" +license=('BSD') +arch=('any') +depends=('python') +makedepends=('python-setuptools') +source=("$_name-$pkgver.tar.gz::https://github.com/kolypto/$_name/archive/v$pkgver.tar.gz") +sha512sums=('cc6a667b3ef66f59f05744cf424340c4b46dd91f49b47bdf3fd3903aba52161f357462aa1b8e92474e0d1dedeecd5360ef990c29a70df43e89d1b402e169a537') + +build() { + cd "$srcdir/$_name-$pkgver" + python setup.py build +} + +package() { + cd "$srcdir/$_name-$pkgver/" + python setup.py install --root="$pkgdir/" --optimize=1 + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} |