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

Felix Yan felixonmars at archlinux.org
Mon Nov 4 05:56:40 UTC 2019


    Date: Monday, November 4, 2019 @ 05:56:40
  Author: felixonmars
Revision: 523260

archrelease: copy trunk to community-staging-any

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

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

Copied: python-chameleon/repos/community-staging-any/PKGBUILD (from rev 523259, python-chameleon/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-11-04 05:56:40 UTC (rev 523260)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-chameleon
+pkgver=3.6.2
+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=('887d7b31b14ee18f31fe5f5405914e0137e507f7f936763ee1a2ed09d887416d9399db50dc9a9d2137f6815cbe9dfec8729918264601b09faa5fb4ebf9b855df')
+
+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