Skip to content
Snippets Groups Projects

Change to a PEP 517 based workflow

Merged loqs requested to merge (removed):pep517 into main
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
+ 2
2
@@ -28,7 +28,7 @@ b2sums=('2159d40c0879a15a9ae2ad9604436dd8d24afa0d431b621c3ae1c63b26c216395401a97
build() {
cd ${_pkgname}-${pkgver}
python setup.py build
python -m build --wheel --no-isolation
}
check() {
@@ -38,7 +38,7 @@ check() {
package() {
cd ${_pkgname}-${pkgver}
python setup.py install --skip-build -O1 --root="${pkgdir}"
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
Loading