aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-lingua-franca/APKBUILD
blob: 853bb4e9c65812593579e428191fd984d41eee1b (plain)
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
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-lingua-franca
pkgver=0.2.1
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="python3 py3-dateutil"
makedepends="py3-setuptools"
source="https://github.com/MycroftAI/lingua-franca/archive/$pkgver/lingua-franca-$pkgver.tar.gz
	relax-dep-requirements.patch
	"
builddir="$srcdir/lingua-franca-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

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

sha512sums="f4e7a4345330463d19ab7dc547d70cead7ae30f1dd4e9f4ef63d7b62b144e0f2eb17a3a6127ba8a2a07cf01552319ca977510ea5d567bc8469908883cd26d538  lingua-franca-0.2.1.tar.gz
09ccfb7e18c32e8049f9da101a18d0e69918656c9bba1160794bd1196315fd1fdf1b2603212ec52f0f7604e232c5272aa93e04ca5b7ef1ab27016d8626fbcc9f  relax-dep-requirements.patch"