[arch-commits] Commit in python-pyfiglet/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Fri Oct 25 16:11:24 UTC 2019
Date: Friday, October 25, 2019 @ 16:11:24
Author: felixonmars
Revision: 519413
archrelease: copy trunk to community-staging-any
Added:
python-pyfiglet/repos/community-staging-any/
python-pyfiglet/repos/community-staging-any/PKGBUILD
(from rev 519412, python-pyfiglet/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: python-pyfiglet/repos/community-staging-any/PKGBUILD (from rev 519412, python-pyfiglet/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-10-25 16:11:24 UTC (rev 519413)
@@ -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.post0
+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")
+sha512sums=('43f0497ae86139e8f64c45e41e575aa82eee574331739e96c555ca33e8f6900df6487d3220667188891eacd56e00d716d427479337fe5d6b2efdaa6aaaa64376')
+
+build() {
+ cd $_name-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd $_name-$pkgver
+ 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