Felix Yan pushed to branch main at Arch Linux / Packaging / Packages / pius
Commits:
191d2588 by loqs at 2024-04-02T19:00:04+00:00
Change to a PEP 517 based workflow
- - - - -
1 changed file:
- PKGBUILD
Changes:
=====================================
PKGBUILD
=====================================
@@ -8,13 +8,14 @@ arch=('any')
url="https://www.phildev.net/pius/"
license=('GPL')
depends=('python')
+makedepends=('python-setuptools' 'python-build' 'python-installer'
'python-wheel')
checkdepends=('python-pytest')
source=("$pkgname-$pkgver.tar.gz::https://github.com/jaymzh/pius/archive/v$pkgver.tar.gz")
sha512sums=('6ead2a456425e073ae32a37f57716ab7221138af75a13104a3b820730869b8ad9bc16b2b1eaeb88b36078967ff0c6233328e30ac8d53d2a54ea9410704372259')
build() {
cd pius-$pkgver
- python setup.py build
+ python -m build --wheel --no-isolation
}
check() {
@@ -24,7 +25,7 @@ check() {
package() {
cd pius-$pkgver
- python setup.py install -O1 --prefix=/usr --root="$pkgdir"
+ python -m installer --destdir="$pkgdir" dist/*.whl
}
# vim:set ts=2 sw=2 et:
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/pius/-/commit/191d2588e7d452d1e0f9cef39f70c988fa0a8ad8
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/pius/-/commit/191d2588e7d452d1e0f9cef39f70c988fa0a8ad8
You're receiving this email because of your account on gitlab.archlinux.org.