Mercurial > vanilla
comparison python/py-mako/py-mako.sh @ 254:844efd93b690
python/py-mako: initial import, closes #1411
author | David Demelier <markand@malikania.fr> |
---|---|
date | Thu, 21 Mar 2019 20:12:00 +0100 |
parents | |
children | 25cecc6dca48 |
comparison
equal
deleted
inserted
replaced
253:a6c9f6d9a420 | 254:844efd93b690 |
---|---|
1 #!/bin/sh | |
2 # | |
3 # Copyright (c) 2019 David Demelier <markand@malikania.fr> | |
4 # | |
5 # Permission to use, copy, modify, and/or distribute this software for any | |
6 # purpose with or without fee is hereby granted, provided that the above | |
7 # copyright notice and this permission notice appear in all copies. | |
8 # | |
9 # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | |
10 # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | |
11 # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | |
12 # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | |
13 # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN | |
14 # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | |
15 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | |
16 # | |
17 | |
18 PKGNAME=py-mako | |
19 PKGVERSION=1.0.8 | |
20 PKGREVISION=1 | |
21 PKGLICENSE="MIT" | |
22 PKGSUMMARY="templating language for Python" | |
23 PKGDOWNLOAD="https://files.pythonhosted.org/packages/eb/69/6137c60cae2ab8c911bff510bb6d1d23a0189f75d114bb277606c6486b5f/Mako-1.0.8.tar.gz" | |
24 PKGDEPENDS="python/python python/py-setuptools" | |
25 | |
26 build() | |
27 { | |
28 rm -rf Mako-$PKGVERSION | |
29 tar xvaf Mako-$PKGVERSION.tar.gz | |
30 pushd Mako-$PKGVERSION | |
31 | |
32 python setup.py build | |
33 python setup.py install --root=${DESTDIR:-/} -O1 | |
34 | |
35 popd | |
36 rm -rf Mako-$PKGVERSION | |
37 } |