blob: 1efc0ed6ebfbbe5cf555c669477862feee819e84 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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
}
|