[arch-commits] Commit in python-chameleon/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Mar 19 20:57:41 UTC 2021
Date: Friday, March 19, 2021 @ 20:57:41
Author: felixonmars
Revision: 895118
archrelease: copy trunk to community-any
Added:
python-chameleon/repos/community-any/PKGBUILD
(from rev 895117, python-chameleon/trunk/PKGBUILD)
Deleted:
python-chameleon/repos/community-any/PKGBUILD
----------+
PKGBUILD | 59 ++++++++++++++++++++++++++++++-----------------------------
1 file changed, 30 insertions(+), 29 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-03-19 20:57:36 UTC (rev 895117)
+++ PKGBUILD 2021-03-19 20:57:41 UTC (rev 895118)
@@ -1,29 +0,0 @@
-# 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
-}
Copied: python-chameleon/repos/community-any/PKGBUILD (from rev 895117, python-chameleon/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-03-19 20:57:41 UTC (rev 895118)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-chameleon
+pkgver=3.9.0
+pkgrel=1
+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=('72cbd21f083d14b056539c515e43daaca01d923e065b6eca511f4e09486eb8e3fa61d6823dc78cca75f71926050aa04e0f961c9ddd728e15f55408e405f3c7aa')
+
+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