[arch-commits] Commit in python-genshi/repos (community-any community-any/PKGBUILD)
Eli Schwartz
eschwartz at archlinux.org
Fri Nov 13 12:30:06 UTC 2020
Date: Friday, November 13, 2020 @ 12:30:06
Author: eschwartz
Revision: 753897
archrelease: copy trunk to community-any
Added:
python-genshi/repos/community-any/
python-genshi/repos/community-any/PKGBUILD
(from rev 753896, python-genshi/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: python-genshi/repos/community-any/PKGBUILD (from rev 753896, python-genshi/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2020-11-13 12:30:06 UTC (rev 753897)
@@ -0,0 +1,32 @@
+# Maintainer : Eli Schwartz <eschwartz at archlinux.org>
+
+pkgname=python-genshi
+pkgver=0.7.4
+pkgrel=1
+pkgdesc="Python toolkit for stream-based generation of output for the web."
+arch=('any')
+url="https://genshi.edgewall.org/"
+license=("BSD")
+depends=('python')
+makedepends=('python-setuptools')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/edgewall/genshi/archive/${pkgver}.tar.gz")
+sha256sums=('864d7dc47635950809639b13ad5d604984702fca335565636284cc6af478f454')
+
+build() {
+ cd "${srcdir}"/genshi-${pkgver}
+
+ python setup.py build
+}
+
+check() {
+ cd "${srcdir}"/genshi-${pkgver}
+
+ python setup.py test
+}
+
+package() {
+ cd "${srcdir}"/genshi-${pkgver}
+
+ python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+ install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/COPYING
+}
More information about the arch-commits
mailing list