Commit 0fc5ffbd authored by Marian Buschsieweke's avatar Marian Buschsieweke Committed by Leo

testing/py3-precis-i18n: upgrade to 1.0.1

The missing file for the unit tests was fixed upstream, which allows to
simplify the APKBUILD a bit.
parent fa24fcb4
......@@ -2,7 +2,7 @@
# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
pkgname=py3-precis-i18n
_pkgname=precis-i18n
pkgver=1.0
pkgver=1.0.1
pkgrel=0
pkgdesc="Internationalized Usernames and Passwords"
url="https://github.com/byllyfish/precis_i18n"
......@@ -12,16 +12,9 @@ depends="python3"
makedepends="py3-setuptools"
source="
$_pkgname-$pkgver.tar.gz::https://github.com/byllyfish/precis_i18n/archive/v${pkgver}.tar.gz
$_pkgname-$pkgver-derived-props-11.0.txt::https://github.com/byllyfish/precis_i18n/raw/f68b66a80fa36ff1004f5a88696edb424a75dd76/test/derived-props-11.0.txt
"
builddir="$srcdir"/${_pkgname/-/_}-$pkgver
prepare() {
default_prepare
# Somehow one file required for the unit tests is not included in the release
cp "$srcdir"/$_pkgname-$pkgver-derived-props-11.0.txt "$builddir"/test/derived-props-11.0.txt
}
build() {
python3 setup.py build
}
......@@ -33,5 +26,4 @@ package() {
check() {
python3 setup.py test
}
sha512sums="b43622458fefb051e6f5ae6e347abfa65195052c63290b2be3ffb7c05eae0300caee53713d7216ee36c4ef0508cc4828e4d7ed3c65df873a684b803cc19bd410 precis-i18n-1.0.tar.gz
df144b1790483055d9f6430c543892feed70402df6e0177daa94e005b5f9797f5885d7a5c1393a8a4555bcd0f7e85444f9e9f1152141b817f4e911bc2481e8bc precis-i18n-1.0-derived-props-11.0.txt"
sha512sums="a62e76588ae1ccba6de51488ceae0e2a454e77bdc946e7c4cea1cb41017253b6e239aab120bdbf1a57b51b827ec7554fb7d6fc10a3a4203f09f6f91f1b4192f4 precis-i18n-1.0.1.tar.gz"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment