[arch-commits] Commit in python-ansi2html/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Tue Nov 10 05:03:11 UTC 2020
Date: Tuesday, November 10, 2020 @ 05:03:10
Author: felixonmars
Revision: 749259
archrelease: copy trunk to community-staging-any
Added:
python-ansi2html/repos/community-staging-any/
python-ansi2html/repos/community-staging-any/PKGBUILD
(from rev 749257, python-ansi2html/trunk/PKGBUILD)
----------+
PKGBUILD | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
Copied: python-ansi2html/repos/community-staging-any/PKGBUILD (from rev 749257, python-ansi2html/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-10 05:03:10 UTC (rev 749259)
@@ -0,0 +1,21 @@
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+
+pkgname=python-ansi2html
+_libname=${pkgname/python-/}
+pkgver=1.5.2
+pkgrel=3
+pkgdesc="Convert text with ANSI color codes to HTML"
+arch=('any')
+url="https://pypi.python.org/pypi/ansi2html"
+license=('GPL')
+depends=('python-six' 'python-setuptools')
+source=("https://files.pythonhosted.org/packages/source/${_libname:0:1}/$_libname/$_libname-$pkgver.tar.gz")
+md5sums=('52d6085ad1c5970082ea5305a26af981')
+sha256sums=('96ae85ae7b26b7da674d87de2870ba4d1964bca733ae4614587080b6358c3ba9')
+validpgpkeys=(94504C3AE11DD197920058ABA90ED7DE971095FF)
+
+package() {
+ cd ansi2html-$pkgver
+
+ python setup.py install --root="$pkgdir" --optimize=1
+}
More information about the arch-commits
mailing list