[arch-commits] Commit in python-pystache/trunk (PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Wed Aug 31 18:00:57 UTC 2022
Date: Wednesday, August 31, 2022 @ 18:00:57
Author: arojas
Revision: 1289198
upgpkg: python-pystache 0.6.0-10: Update to 0.6.0
Modified:
python-pystache/trunk/PKGBUILD
----------+
PKGBUILD | 42 ++++++++++++++++++++++--------------------
1 file changed, 22 insertions(+), 20 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-31 17:54:49 UTC (rev 1289197)
+++ PKGBUILD 2022-08-31 18:00:57 UTC (rev 1289198)
@@ -1,36 +1,38 @@
+# Maintainer:
# Contributor: Florian Klink <flokli at flokli dot de>
+
pkgname=python-pystache
_pkgname=pystache
-pkgver=0.5.4
+pkgver=0.6.0
pkgrel=10
-pkgdesc="The mustache template engine written in python"
-arch=("any")
-url="http://github.com/defunkt/pystache"
+pkgdesc='The mustache template engine written in python'
+arch=(any)
+url='https://github.com/sarnold/pystache'
license=('MIT')
depends=('python')
makedepends=('python-setuptools')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/defunkt/$_pkgname/archive/v$pkgver.tar.gz")
-sha512sums=('2a65c2de457bd2666d40697a4ae709030a1c0fc9583554065c0f04478f247b460ce4c27374fdd1efa620cd7dc4b760d5752ccadc429ddd155ab3b7da8360835a')
+source=("https://github.com/sarnold/$_pkgname/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('b8aa98c6c7cb1f7bbdf0bc859bce5dc259ff28290b0f9bc68d9a9e38e83dd3947a6130c370d4def0811827fd09c6e1bbffe5af098c6233819c7ef0b38bcab9fd')
build() {
- cd "$_pkgname-$pkgver"
- python setup.py build
+ cd "$_pkgname-$pkgver"
+ python setup.py build
}
check() {
- cd "$_pkgname-$pkgver"
- # This package uses 2to3 to convert itself to Python 3 on the fly
- # So we need to jump through some hoops here
- test_dir="../test_dir"
- rm -rf "$test_dir"
- mkdir "$test_dir"
- python setup.py install --root="$test_dir"
- PYTHONPATH=$(readlink -e "$test_dir"/usr/lib/python*/site-packages/) \
- "$test_dir"/usr/bin/pystache-test .
+ cd "$_pkgname-$pkgver"
+ # This package uses 2to3 to convert itself to Python 3 on the fly
+ # So we need to jump through some hoops here
+ test_dir="../test_dir"
+ rm -rf "$test_dir"
+ mkdir "$test_dir"
+ python setup.py install --root="$test_dir"
+ PYTHONPATH=$(readlink -e "$test_dir"/usr/lib/python*/site-packages/) \
+ "$test_dir"/usr/bin/pystache-test .
}
package() {
- cd "$_pkgname-$pkgver"
- python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
+ cd "$_pkgname-$pkgver"
+ python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
}
More information about the arch-commits
mailing list