aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2020-11-15 14:17:46 +0100
committerLeo <thinkabit.ukim@gmail.com>2020-11-15 17:21:18 +0000
commit9d4a2557eb626204bb8139cb78da3db16fc76819 (patch)
tree7190a39412da42d128e2b1bcf319c1700dbbe690
parent0eb62b32e0f19a22f8c78130377c21bbcc1fc3e0 (diff)
downloadaports-9d4a2557eb626204bb8139cb78da3db16fc76819.tar.gz
aports-9d4a2557eb626204bb8139cb78da3db16fc76819.tar.bz2
aports-9d4a2557eb626204bb8139cb78da3db16fc76819.tar.xz
community/py3-lingua-franca: upgrade to 0.3.1
-rw-r--r--community/py3-lingua-franca/APKBUILD11
1 files changed, 6 insertions, 5 deletions
diff --git a/community/py3-lingua-franca/APKBUILD b/community/py3-lingua-franca/APKBUILD
index 7c8f8adee2..7e7d426cdb 100644
--- a/community/py3-lingua-franca/APKBUILD
+++ b/community/py3-lingua-franca/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-lingua-franca
-pkgver=0.2.2
+pkgver=0.3.1
pkgrel=0
pkgdesc="Mycroft's multilingual text parsing and formatting library"
url="https://github.com/MycroftAI/lingua-franca"
@@ -9,22 +9,23 @@ arch="noarch"
license="Apache-2.0"
depends="python3 py3-dateutil"
makedepends="py3-setuptools"
-source="https://github.com/MycroftAI/lingua-franca/archive/$pkgver/lingua-franca-$pkgver.tar.gz
+checkdepends="py3-pytest"
+source="$pkgname-$pkgver.tar.gz::https://github.com/MycroftAI/lingua-franca/archive/release/v$pkgver/lingua-franca-release/v$pkgver.tar.gz
relax-dep-requirements.patch
"
-builddir="$srcdir/lingua-franca-$pkgver"
+builddir="$srcdir/lingua-franca-release-v$pkgver"
build() {
python3 setup.py build
}
check() {
- python3 setup.py test
+ pytest
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
-sha512sums="4a5b5412f5f4607ffd2c6ef4ef19088a15123eb27bb0c709c9a3437b84e199af4e659c7f2ae25d75adbb635f8355accbbc077fa0e5673ddbbbc07e5f31643506 lingua-franca-0.2.2.tar.gz
+sha512sums="0fcd1fcbfadc47bd1b88e8084add021ec90c953091e01da8df552edd73ab5a524c05c4527259712b39c4b7074854bac1ff54707d855c1649f64c1581714b6d1f py3-lingua-franca-0.3.1.tar.gz
09ccfb7e18c32e8049f9da101a18d0e69918656c9bba1160794bd1196315fd1fdf1b2603212ec52f0f7604e232c5272aa93e04ca5b7ef1ab27016d8626fbcc9f relax-dep-requirements.patch"