[arch-commits] Commit in python-pyfiglet/repos (2 files)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Wed Dec 1 14:49:27 UTC 2021
Date: Wednesday, December 1, 2021 @ 14:49:27
Author: foutrelis
Revision: 1059360
archrelease: copy trunk to community-staging-any
Added:
python-pyfiglet/repos/community-staging-any/
python-pyfiglet/repos/community-staging-any/PKGBUILD
(from rev 1059359, python-pyfiglet/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: python-pyfiglet/repos/community-staging-any/PKGBUILD (from rev 1059359, python-pyfiglet/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-12-01 14:49:27 UTC (rev 1059360)
@@ -0,0 +1,32 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+# Contributor: Victor Häggqvist <aur at snilius.com>
+
+_name=pyfiglet
+pkgname=python-pyfiglet
+pkgver=0.8.post1
+pkgrel=4
+pkgdesc='Pure-python FIGlet implementation'
+url=https://github.com/pwaller/pyfiglet
+license=('GPL')
+arch=('any')
+depends=('python-setuptools')
+checkdepends=('figlet')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
+sha256sums=('c6c2321755d09267b438ec7b936825a4910fec696292139e664ca8670e103639')
+
+build() {
+ cd $_name-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd $_name-$pkgver
+ PYTHONPATH=. python pyfiglet/test.py
+}
+
+package() {
+ cd $_name-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list