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

Felix Yan felixonmars at gemini.archlinux.org
Thu Dec 2 23:45:38 UTC 2021


    Date: Thursday, December 2, 2021 @ 23:45:38
  Author: felixonmars
Revision: 1063317

archrelease: copy trunk to community-staging-any

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

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

Copied: python-chameleon/repos/community-staging-any/PKGBUILD (from rev 1063316, python-chameleon/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-12-02 23:45:38 UTC (rev 1063317)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-chameleon
+pkgver=3.9.1
+pkgrel=2
+pkgdesc="Fast HTML/XML Template Compiler"
+arch=('any')
+license=('BSD' 'ZPL')
+url="http://www.pagetemplates.org/"
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-zope-testrunner')
+source=("https://github.com/malthe/chameleon/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('53b0aeeef89df7cacc299dad20e05023c638e708604876ce5269f22bab00e5001b640123920aef0ef9a0f554bbd37d151bedfdfe55ec161defe6b6f3781d841e')
+
+build() {
+  cd chameleon-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd chameleon-$pkgver
+  python -m zope.testrunner --path src
+}
+
+package() {
+  cd chameleon-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname/
+}



More information about the arch-commits mailing list