[arch-commits] Commit in python-pyfiglet/trunk (PKGBUILD)

Daniel M. Capella polyzen at gemini.archlinux.org
Tue Sep 6 05:28:08 UTC 2022


    Date: Tuesday, September 6, 2022 @ 05:28:08
  Author: polyzen
Revision: 1294178

upgpkg: python-pyfiglet 0.8.post1-6: Use PEP 517

Modified:
  python-pyfiglet/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-09-06 05:23:24 UTC (rev 1294177)
+++ PKGBUILD	2022-09-06 05:28:08 UTC (rev 1294178)
@@ -4,19 +4,21 @@
 _name=pyfiglet
 pkgname=python-pyfiglet
 pkgver=0.8.post1
-pkgrel=5
+pkgrel=6
 pkgdesc='Pure-python FIGlet implementation'
 url=https://github.com/pwaller/pyfiglet
 license=('GPL')
 arch=('any')
 depends=('python-setuptools')
+makedepends=('python-build' 'python-installer' 'python-wheel')
 checkdepends=('figlet')
 source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
 sha256sums=('c6c2321755d09267b438ec7b936825a4910fec696292139e664ca8670e103639')
+b2sums=('49268581974e72f28ddb11785a1629a4ac2696bcdd57710147cafdcf7709be8c67bdf03e5ccdb1655a9be6eb8a83baf4ca5ae0a6412e2318d0923376558b8d49')
 
 build() {
   cd $_name-$pkgver
-  python setup.py build
+  python -m build --wheel --skip-dependency-check --no-isolation
 }
 
 check() {
@@ -26,5 +28,5 @@
 
 package() {
   cd $_name-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  python -m installer --destdir="$pkgdir" dist/*.whl
 }



More information about the arch-commits mailing list