forked from semios/ports
30 lines
600 B
Python
30 lines
600 B
Python
import os
|
|
|
|
from lib.make import *
|
|
from lib import python
|
|
|
|
|
|
python.version("1.4.1")
|
|
description("A super-fast templating language that borrows the best ideas from the existing templating languages.")
|
|
maintainer("sisungo <[email protected]>")
|
|
source_managed("pypi://mako#1.4.1")
|
|
|
|
python.builddep("$shortcut")
|
|
python.builddep("MarkupSafe.py")
|
|
|
|
|
|
def build():
|
|
python.build()
|
|
python.install()
|
|
os.chdir("lib")
|
|
while len(os.listdir(".")) == 1:
|
|
os.chdir(os.listdir(".")[0])
|
|
|
|
on_build(build)
|
|
|
|
|
|
package("Mako.py")
|
|
python.dep("python")
|
|
python.dep("MarkupSafe.py")
|
|
python.use_auto_pack()
|