[arch-commits] Commit in python-pyfiglet/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Tue Nov 10 04:04:22 UTC 2020


    Date: Tuesday, November 10, 2020 @ 04:04:22
  Author: foutrelis
Revision: 748443

archrelease: copy trunk to community-staging-any

Added:
  python-pyfiglet/repos/community-staging-any/
  python-pyfiglet/repos/community-staging-any/PKGBUILD
    (from rev 748441, python-pyfiglet/trunk/PKGBUILD)

----------+
 PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Copied: python-pyfiglet/repos/community-staging-any/PKGBUILD (from rev 748441, python-pyfiglet/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-10 04:04:22 UTC (rev 748443)
@@ -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=2
+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