34 lines
893 B
Text
34 lines
893 B
Text
|
# Contributor: Anjandev Momi <anjan@momi.ca>
|
||
|
# Maintainer: Anjandev Momi <anjan@momi.ca>
|
||
|
pkgname=py3-zxcvbn
|
||
|
pkgdesc="Python implementation of Dropbox's realistic password strength estimator"
|
||
|
_pkgreal=zxcvbn
|
||
|
pkgver=4.4.28
|
||
|
pkgrel=1
|
||
|
url="http://packages.python.org/pypi/zxcvbn"
|
||
|
arch="noarch"
|
||
|
license="MIT"
|
||
|
depends="python3"
|
||
|
checkdepends="py3-pytest"
|
||
|
makedepends="py3-setuptools"
|
||
|
_pypiprefix="${_pkgreal%"${_pkgreal#?}"}"
|
||
|
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pkgreal/$_pkgreal-$pkgver.tar.gz"
|
||
|
builddir="$srcdir/$_pkgreal-$pkgver"
|
||
|
options="!check" # no upstream checks
|
||
|
|
||
|
build() {
|
||
|
python3 setup.py build
|
||
|
}
|
||
|
|
||
|
check() {
|
||
|
pytest
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
python3 setup.py install --skip-build --root="$pkgdir"
|
||
|
}
|
||
|
|
||
|
sha512sums="
|
||
|
6ed12b555442b4ee30662c90f38c90988833545310acce45e68a0aa2fc6297729da500ae0f578a1a266e85c09522eb3287c38d92bcfc1017f852ee76bf92c606 zxcvbn-4.4.28.tar.gz
|
||
|
"
|