aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2018-03-23 08:01:56 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-03-26 18:44:51 +0000
commit85dddcdcd48bf31fd85baf63ea94147ddd40f42c (patch)
tree7b2aa8859b3430ff3074ebd01fcea13b90b9d6b9
parentd35888a50f92b2bad7e830fe29e41d217ef75a49 (diff)
downloadaports-85dddcdcd48bf31fd85baf63ea94147ddd40f42c.tar.bz2
aports-85dddcdcd48bf31fd85baf63ea94147ddd40f42c.tar.xz
community/xkcdpass: upgrade to 1.16.3
-rw-r--r--community/xkcdpass/APKBUILD12
1 files changed, 8 insertions, 4 deletions
diff --git a/community/xkcdpass/APKBUILD b/community/xkcdpass/APKBUILD
index 8368c3e920..f2de7a05cf 100644
--- a/community/xkcdpass/APKBUILD
+++ b/community/xkcdpass/APKBUILD
@@ -1,19 +1,23 @@
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=xkcdpass
-pkgver=1.16.2
+pkgver=1.16.3
pkgrel=0
pkgdesc="Generate secure multiword passwords/passphrases"
url="https://github.com/redacted/XKCD-password-generator"
arch="noarch"
license="BSD-3-Clause"
depends="py3-xkcdpass"
-makedepends="python3-dev"
-checkdepends="python2"
+makedepends="python3-dev py3-setuptools"
subpackages="py3-$pkgname:py3"
source="https://files.pythonhosted.org/packages/source/${pkgname:0:1}/$pkgname/$pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver
+prepare() {
+ cd "$builddir"
+ sed -i 's/python/python3/g' tests/test_xkcdpass.py
+}
+
build() {
cd "$builddir"
python3 setup.py build
@@ -36,4 +40,4 @@ py3() {
mv "$pkgdir"/usr/lib/python* "$subpkgdir"/usr/lib/
}
-sha512sums="0f39a5b0bf1cb5c799cc7adbb115dcdc766e3d8530e88b49c1089a6b97ea71fdd0877f154677bae509e0250a11ad93dffaae6efa00d0813081456a74490623e5 xkcdpass-1.16.2.tar.gz"
+sha512sums="cc216244bc1fa75e286369432c9d3dd92ad150a752d8d58bcf461bf2f1eaf535054b8c92259b66217fad0ec1030e53b52429721c8d2b920a23813e9737955fe3 xkcdpass-1.16.3.tar.gz"