aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-lingua-franca/APKBUILD
blob: ca84e974e7f58d24062e8b092dbe65dc24f8fbc5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-lingua-franca
pkgver=0.4.2
pkgrel=0
pkgdesc="Mycroft's multilingual text parsing and formatting library"
url="https://github.com/MycroftAI/lingua-franca"
arch="noarch"
license="Apache-2.0"
depends="
	py3-dateutil
	python3
	"
makedepends="py3-setuptools"
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-release-v$pkgver"

build() {
	python3 setup.py build
}

check() {
	pytest
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
419e48ada44c844daedb58561533091230d1fec95d044f448bc883422be0a94648cc4b91b4501aa9fc4c29da93832ba08f89321c756c9a6d7f5289fe59c8f1bf  py3-lingua-franca-0.4.2.tar.gz
09ccfb7e18c32e8049f9da101a18d0e69918656c9bba1160794bd1196315fd1fdf1b2603212ec52f0f7604e232c5272aa93e04ca5b7ef1ab27016d8626fbcc9f  relax-dep-requirements.patch
"