Jelle van der Waa pushed to branch main at Arch Linux / Packaging / Packages / 
python-wurlitzer


Commits:
4ca22535 by loqs at 2024-04-06T13:02:06+01:00
Change to a PEP 517 based workflow

- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -9,14 +9,19 @@ arch=(any)
 url="https://github.com/minrk/wurlitzer";
 license=(MIT)
 depends=(python)
-makedepends=(python-setuptools)
+makedepends=(
+  python-build
+  python-installer
+  python-setuptools
+  python-wheel
+)
 checkdepends=(python-pytest)
 
source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
 sha256sums=('224f5fe70618be3872c05dfddc8c457191ec1870654596279fcc1edadebe3e5b')
 
 build() {
   cd ${_pkg}-${pkgver}
-  python setup.py build
+  python -m build --wheel --no-isolation
 }
 
 check() {
@@ -26,6 +31,6 @@ check() {
 
 package() {
   cd ${_pkg}-${pkgver}
-  python setup.py install --root "${pkgdir}" --prefix=/usr --optimize=1 
--skip-build
+  python -m installer --destdir="$pkgdir" dist/*.whl
   install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-wurlitzer/-/commit/4ca22535c6363851c23fd1886b7d9416b42e0e46

-- 
This project does not include diff previews in email notifications.
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-wurlitzer/-/commit/4ca22535c6363851c23fd1886b7d9416b42e0e46
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to