Commit | Line | Data |
---|---|---|
2cece862 VM |
1 | # Description: A template library written in Python. |
2 | # URL: http://www.makotemplates.org/ | |
3 | # Maintainer: Danny Rawlins, crux at romster dot me | |
4 | # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu | |
5 | # Depends on: python3-markupsafe | |
6 | ||
7 | name=python3-mako | |
3eb9dd49 | 8 | version=1.2.1 |
2cece862 VM |
9 | release=1 |
10 | source=(https://files.pythonhosted.org/packages/source/M/Mako/Mako-$version.tar.gz) | |
11 | ||
12 | build() { | |
13 | cd Mako-$version | |
14 | ||
15 | /usr/bin/python3 setup.py build | |
16 | ||
17 | /usr/bin/python3 setup.py install --prefix=/usr \ | |
18 | --root=$PKG --optimize=1 | |
19 | ||
20 | mv $PKG/usr/bin/mako-render \ | |
21 | $PKG/usr/bin/mako-render3 | |
22 | } |