blob: 03e59d80fe2c63629f0c9d924a847d4c72b4fa54 (
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
36
37
38
39
40
41
42
43
44
45
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-librelingo-yaml-loader
pkgver=1.8.0
pkgrel=3
pkgdesc="Load YAML-based LibreLingo courses in your Python project"
url="https://github.com/LibreLingo/LibreLingo"
arch="noarch"
license="AGPL-3.0-only"
depends="
py3-bleach
py3-bleach-allowlist
py3-click
py3-html2markdown
py3-librelingo-types
py3-markdown
py3-pyfakefs
py3-slugify
py3-yaml
python3
"
makedepends="py3-setuptools"
checkdepends="
py3-pytest
py3-snapshottest
"
source="https://pypi.python.org/packages/source/l/librelingo_yaml_loader/librelingo_yaml_loader-$pkgver.tar.gz"
options="!check" # No tests in the PyPi package
builddir="$srcdir/librelingo_yaml_loader-$pkgver"
build() {
python3 setup.py build
}
check() {
pytest
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
e3331b0d50b360c7aa447c7bdc9937e578bfde9f398b916e951d6a1aa5d17c78a1591b9274021b31cc6a76df4415006d42cec0a13b7e3136f855fb24b858a605 librelingo_yaml_loader-1.8.0.tar.gz
"
|