blob: 052153b4b4aa07a4e9788e4e96180f667964f500 (
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
31
32
33
34
35
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-librelingo-utils
pkgver=2.6.1
pkgrel=3
pkgdesc="Utilities to be used in LibreLingo-related-packages"
url="https://github.com/LibreLingo/LibreLingo"
arch="noarch"
license="AGPL-3.0-only"
depends="
py3-librelingo-types
py3-regex
python3
"
makedepends="py3-setuptools"
checkdepends="py3-pytest"
source="https://pypi.python.org/packages/source/l/librelingo_utils/librelingo_utils-$pkgver.tar.gz"
options="!check" # No tests in the PyPi package
builddir="$srcdir/librelingo_utils-$pkgver"
build() {
python3 setup.py build
}
check() {
pytest
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
56268c17d537212a22701bfd185784ecad6d25e662237039cde6d408757d7fadf92e121cef362aa797bb22278b9b1501d7a124b6d5d0c8610eb676022d44bbb9 librelingo_utils-2.6.1.tar.gz
"
|