CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
bfa83380c70cfcee59e6b6090ea35dab283beb70
[ports/opt-arm.git] / python3-mako / Pkgfile
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
8 version=1.1.3
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 }