summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2019-02-17 22:06:40 +0100
committerAndreas Grapentin <andreas@grapentin.org>2019-02-17 22:06:40 +0100
commit642026bb4e6ff7957c5d2ee68ba88163bb0ad878 (patch)
tree59c021d70e3218cb0f851e894d5d7cf1a8b84bfa /libre
parentb043fac33a3b84bbd0d1a07a968d398c8564a1ad (diff)
downloadabslibre-642026bb4e6ff7957c5d2ee68ba88163bb0ad878.tar.gz
abslibre-642026bb4e6ff7957c5d2ee68ba88163bb0ad878.tar.bz2
abslibre-642026bb4e6ff7957c5d2ee68ba88163bb0ad878.zip
Revert "libre/python-django-jinja: unused. removed"
This reverts commit 1c1d9678a98c03f698a481903860b68f8030f964.
Diffstat (limited to 'libre')
-rw-r--r--libre/python-django-jinja/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/libre/python-django-jinja/PKGBUILD b/libre/python-django-jinja/PKGBUILD
new file mode 100644
index 000000000..1efc0ed6e
--- /dev/null
+++ b/libre/python-django-jinja/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
+
+_pkgname=django-jinja
+pkgname=(python-$_pkgname python2-$_pkgname)
+pkgver=1.3.3
+pkgdesc="Simple and nonobstructive jinja2 integration with Django"
+url="https://niwibe.github.io/django-jinja/"
+license=('custom:BSD3')
+
+pkgrel=1
+arch=(any)
+makedepends=(python{,2}-{django,jinja,setuptools})
+source=(http://pypi.python.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz)
+md5sums=('4f57eeff20fc53946d751d9a60fa803e')
+
+package_python-django-jinja() {
+ depends=(python-{django,jinja})
+
+ cd "$srcdir/$_pkgname-$pkgver"
+ python setup.py install --root="$pkgdir/" --optimize=1
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-django-jinja() {
+ depends=(python2-{django,jinja})
+
+ cd "$srcdir/$_pkgname-$pkgver"
+ python2 setup.py install --root="$pkgdir/" --optimize=1
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}