Added test function that will get populated later
This commit is contained in:
parent
410b3da3ed
commit
99c72c96f5
13
PKGBUILD
13
PKGBUILD
|
|
@ -187,21 +187,22 @@ pkgver() {
|
|||
|
||||
prepare() {
|
||||
cd $pkgname-$pkgver
|
||||
|
||||
# use real directories for examples and profiles, as symlinks do not work
|
||||
rm -fv $pkgname/{examples,profiles}
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
|
||||
python -m build --wheel --no-isolation
|
||||
PYTHONDONTWRITEBYTECODE=1 make man -C docs
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$pkgname-$pkgver"
|
||||
|
||||
cd $pkgname-$pkgver
|
||||
python -m installer --destdir="$pkgdir" dist/*.whl
|
||||
install -vDm 644 docs/_build/man/archinstall.1 -t "$pkgdir/usr/share/man/man1/"
|
||||
}
|
||||
|
||||
check() {
|
||||
cd $pkgname-$pkgver
|
||||
# Once we adopt pytest or something similar,
|
||||
# this is where the test call will live
|
||||
}
|
||||
Loading…
Reference in New Issue