blob: 5a757bc207f07436adffca0ffe3bdff11e42452d (
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
31
32
33
34
35
36
37
38
39
40
41
|
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-mako
_pkgname=Mako
pkgver=0.9.0
pkgrel=0
pkgdesc="A Python fast templating language"
url="http://www.makotemplates.org/"
arch="noarch"
license="MIT"
depends="python"
depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
python setup.py build || return 1
}
package() {
cd "$_builddir"
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
md5sums="e2627ba5c65f83dfe39d9a0892ae517d Mako-0.9.0.tar.gz"
sha256sums="c090ae3d775f714c572583f2bb7ace591847eab0d86accd81d17005411b10027 Mako-0.9.0.tar.gz"
sha512sums="ca583313afd37220bf47f9fd9fc50b5a140122bf9b3b7cdbf380455ffe8f16391a0873980eac8ca4f3fa17842ed7b021c72d712aa03774e4ef00ab3a149b2415 Mako-0.9.0.tar.gz"
|