1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 19:55:26 +03:00
aports/testing/py3-librelingo-yaml-loader/APKBUILD
psykose deb62258ec */*: set --skip-build for python installs
this marginally increases install speed by not checking if it needs a rebuild.
also remove --prefix=/usr as it defaults to /usr already.

might break a build or two, will fix later
2023-01-10 04:19:31 +01:00

45 lines
1 KiB
Text

# 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
"