community/xkcdpass: upgrade to 1.16.3

This commit is contained in:
Fabian Affolter 2018-03-23 08:01:56 +00:00 committed by Natanael Copa
parent d35888a50f
commit 85dddcdcd4

View File

@ -1,19 +1,23 @@
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> # Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> # Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=xkcdpass pkgname=xkcdpass
pkgver=1.16.2 pkgver=1.16.3
pkgrel=0 pkgrel=0
pkgdesc="Generate secure multiword passwords/passphrases" pkgdesc="Generate secure multiword passwords/passphrases"
url="https://github.com/redacted/XKCD-password-generator" url="https://github.com/redacted/XKCD-password-generator"
arch="noarch" arch="noarch"
license="BSD-3-Clause" license="BSD-3-Clause"
depends="py3-xkcdpass" depends="py3-xkcdpass"
makedepends="python3-dev" makedepends="python3-dev py3-setuptools"
checkdepends="python2"
subpackages="py3-$pkgname:py3" subpackages="py3-$pkgname:py3"
source="https://files.pythonhosted.org/packages/source/${pkgname:0:1}/$pkgname/$pkgname-$pkgver.tar.gz" source="https://files.pythonhosted.org/packages/source/${pkgname:0:1}/$pkgname/$pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$builddir"
sed -i 's/python/python3/g' tests/test_xkcdpass.py
}
build() { build() {
cd "$builddir" cd "$builddir"
python3 setup.py build python3 setup.py build
@ -36,4 +40,4 @@ py3() {
mv "$pkgdir"/usr/lib/python* "$subpkgdir"/usr/lib/ mv "$pkgdir"/usr/lib/python* "$subpkgdir"/usr/lib/
} }
sha512sums="0f39a5b0bf1cb5c799cc7adbb115dcdc766e3d8530e88b49c1089a6b97ea71fdd0877f154677bae509e0250a11ad93dffaae6efa00d0813081456a74490623e5 xkcdpass-1.16.2.tar.gz" sha512sums="cc216244bc1fa75e286369432c9d3dd92ad150a752d8d58bcf461bf2f1eaf535054b8c92259b66217fad0ec1030e53b52429721c8d2b920a23813e9737955fe3 xkcdpass-1.16.3.tar.gz"