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

Eli Schwartz eschwartz at archlinux.org
Fri Nov 13 12:32:39 UTC 2020


    Date: Friday, November 13, 2020 @ 12:32:38
  Author: eschwartz
Revision: 753900

archrelease: copy trunk to community-staging-any

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

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

Copied: python-genshi/repos/community-staging-any/PKGBUILD (from rev 753899, python-genshi/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-13 12:32:38 UTC (rev 753900)
@@ -0,0 +1,32 @@
+# Maintainer : Eli Schwartz <eschwartz at archlinux.org>
+
+pkgname=python-genshi
+pkgver=0.7.4
+pkgrel=2
+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