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

Felix Yan felixonmars at archlinux.org
Thu Nov 12 19:08:03 UTC 2020


    Date: Thursday, November 12, 2020 @ 19:08:03
  Author: felixonmars
Revision: 753348

archrelease: copy trunk to community-staging-any

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

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

Copied: python-chameleon/repos/community-staging-any/PKGBUILD (from rev 753347, python-chameleon/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-12 19:08:03 UTC (rev 753348)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-chameleon
+pkgver=3.8.1
+pkgrel=2
+pkgdesc="Fast HTML/XML Template Compiler"
+arch=('any')
+license=('custom:BSD' 'ZPL')
+url="http://www.pagetemplates.org/"
+depends=('python')
+makedepends=('python-setuptools')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/malthe/chameleon/archive/$pkgver.tar.gz")
+sha512sums=('d4a4b3ac0b59865a7ea1d9ede7f08d991296c1d08a48c7290b9e2864afa6527237d8dee604114918f3b5035f2cc915bf6218d0758ebcd393f2103bb0751f6ea2')
+
+build() {
+  cd chameleon-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd chameleon-$pkgver
+  python setup.py test
+}
+
+package() {
+  cd chameleon-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}



More information about the arch-commits mailing list