Date: Thursday, April 6, 2023 @ 18:22:30
Author: felixonmars
Revision: 1440181
archrelease: copy trunk to community-staging-any
Added:
python-pyfiglet/repos/community-staging-any/
python-pyfiglet/repos/community-staging-any/PKGBUILD
(from rev 1440178, python-pyfiglet/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: python-pyfiglet/repos/community-staging-any/PKGBUILD (from rev 1440178,
python-pyfiglet/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2023-04-06 18:22:30 UTC (rev 1440181)
@@ -0,0 +1,32 @@
+# Maintainer: Daniel M. Capella <[email protected]>
+# Contributor: Victor Häggqvist <[email protected]>
+
+_name=pyfiglet
+pkgname=python-pyfiglet
+pkgver=0.8.post1
+pkgrel=7
+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 -m build --wheel --skip-dependency-check --no-isolation
+}
+
+check() {
+ cd $_name-$pkgver
+ PYTHONPATH=. python pyfiglet/test.py
+}
+
+package() {
+ cd $_name-$pkgver
+ python -m installer --destdir="$pkgdir" dist/*.whl
+}