diff options
author | dryice <dryice@FreeBSD.org> | 2007-04-23 13:00:07 +0800 |
---|---|---|
committer | dryice <dryice@FreeBSD.org> | 2007-04-23 13:00:07 +0800 |
commit | ea0015a692359db9f8f7e84bd284f44f86c5b8bc (patch) | |
tree | dfe987e8a8f10cab149168dc14146d07d8992b11 /textproc/py-mako | |
parent | 7b12fe826db3eb904b66e60d4f61a3476ef1bb6d (diff) | |
download | freebsd-ports-gnome-ea0015a692359db9f8f7e84bd284f44f86c5b8bc.tar.gz freebsd-ports-gnome-ea0015a692359db9f8f7e84bd284f44f86c5b8bc.tar.zst freebsd-ports-gnome-ea0015a692359db9f8f7e84bd284f44f86c5b8bc.zip |
New port for py-mako. This is a template library written in Python.
Approved by: itetcu (mentor, implicit)
Diffstat (limited to 'textproc/py-mako')
-rw-r--r-- | textproc/py-mako/Makefile | 35 | ||||
-rw-r--r-- | textproc/py-mako/distinfo | 3 | ||||
-rw-r--r-- | textproc/py-mako/pkg-descr | 11 | ||||
-rw-r--r-- | textproc/py-mako/pkg-plist | 67 |
4 files changed, 116 insertions, 0 deletions
diff --git a/textproc/py-mako/Makefile b/textproc/py-mako/Makefile new file mode 100644 index 000000000000..f6bad07efba2 --- /dev/null +++ b/textproc/py-mako/Makefile @@ -0,0 +1,35 @@ +# New ports collection makefile for: py-mako +# Date created: April 23 2007 +# Whom: Dryice Liu <dryice@dryice.name> +# +# $FreeBSD$ +# + +PORTNAME= mako +PORTVERSION= 0.1.5 +CATEGORIES= textproc www python +MASTER_SITES= http://www.makotemplates.org/downloads/ \ + ${MASTER_SITE_CHEESESHOP} \ + http://dryice.name/computer/FreeBSD/distfiles/ +MASTER_SITE_SUBDIR= source/M/Mako +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= Mako-${PORTVERSION} + +MAINTAINER= dryice@FreeBSD.org +COMMENT= Super-fast templating language in Python + +BUILD_DEPENDS= ${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools +RUN_DEPENDS+= ${BUILD_DEPENDS} \ + ${PYTHON_PKGNAMEPREFIX}myghtyutils>=0.52:${PORTSDIR}/devel/py-myghtyutils \ + +USE_PYTHON= yes +USE_PYDISTUTILS= yes + +PYMAKO_EGG= Mako-${PORTVERSION}-py${PYTHON_VER}.egg + +PLIST_SUB= EASY_INSTALL_CMD=${EASY_INSTALL_CMD} \ + PYMAKO_EGG=${PYMAKO_EGG} + +EASY_INSTALL_CMD?= easy_install-${PYTHON_VER} + +.include <bsd.port.mk> diff --git a/textproc/py-mako/distinfo b/textproc/py-mako/distinfo new file mode 100644 index 000000000000..739adcca5cf8 --- /dev/null +++ b/textproc/py-mako/distinfo @@ -0,0 +1,3 @@ +MD5 (Mako-0.1.5.tar.gz) = 3f71624ff9e28869665d36fad3d07050 +SHA256 (Mako-0.1.5.tar.gz) = 299d789e5817e8dd34de8010e6336c630b64b634599538115b29836e79820f1b +SIZE (Mako-0.1.5.tar.gz) = 184134 diff --git a/textproc/py-mako/pkg-descr b/textproc/py-mako/pkg-descr new file mode 100644 index 000000000000..48f8e2881ed8 --- /dev/null +++ b/textproc/py-mako/pkg-descr @@ -0,0 +1,11 @@ +Mako is a template library written in Python. It provides a familiar, +non-XML syntax which compiles into Python modules for maximum +performance. Mako's syntax and API borrows from the best ideas of many +others, including Django templates, Cheetah, Myghty, and +Genshi. Conceptually, Mako is an embedded Python (i.e. Python Server +Page) language, which refines the familiar ideas of componentized +layout and inheritance to produce one of the most straightforward and +flexible models available, while also maintaining close ties to Python +calling and scoping semantics. + +WWW: http://www.makotemplates.org/ diff --git a/textproc/py-mako/pkg-plist b/textproc/py-mako/pkg-plist new file mode 100644 index 000000000000..ef6581a33532 --- /dev/null +++ b/textproc/py-mako/pkg-plist @@ -0,0 +1,67 @@ +@unexec %%EASY_INSTALL_CMD%% -N -m %D/%%PYTHON_SITELIBDIR%%/%%PYMAKO_EGG%% +%%PYTHON_SITELIBDIR%%/%%PYMAKO_EGG%%/EGG-INFO/dependency_links.txt +%%PYTHON_SITELIBDIR%%/%%PYMAKO_EGG%%/EGG-INFO/entry_points.txt +%%PYTHON_SITELIBDIR%%/%%PYMAKO_EGG%%/EGG-INFO/not-zip-safe +%%PYTHON_SITELIBDIR%%/%%PYMAKO_EGG%%/EGG-INFO/PKG-INFO +%%PYTHON_SITELIBDIR%%/%%PYMAKO_EGG%%/EGG-INFO/requires.txt +%%PYTHON_SITELIBDIR%%/%%PYMAKO_EGG%%/EGG-INFO/SOURCES.txt +%%PYTHON_SITELIBDIR%%/%%PYMAKO_EGG%%/EGG-INFO/top_level.txt +%%PYTHON_SITELIBDIR%%/%%PYMAKO_EGG%%/mako/ast.py +%%PYTHON_SITELIBDIR%%/%%PYMAKO_EGG%%/mako/ast.pyc +%%PYTHON_SITELIBDIR%%/%%PYMAKO_EGG%%/mako/ast.pyo +%%PYTHON_SITELIBDIR%%/%%PYMAKO_EGG%%/mako/cache.py +%%PYTHON_SITELIBDIR%%/%%PYMAKO_EGG%%/mako/cache.pyc +%%PYTHON_SITELIBDIR%%/%%PYMAKO_EGG%%/mako/cache.pyo +%%PYTHON_SITELIBDIR%%/%%PYMAKO_EGG%%/mako/codegen.py +%%PYTHON_SITELIBDIR%%/%%PYMAKO_EGG%%/mako/codegen.pyc +%%PYTHON_SITELIBDIR%%/%%PYMAKO_EGG%%/mako/codegen.pyo +%%PYTHON_SITELIBDIR%%/%%PYMAKO_EGG%%/mako/exceptions.py +%%PYTHON_SITELIBDIR%%/%%PYMAKO_EGG%%/mako/exceptions.pyc +%%PYTHON_SITELIBDIR%%/%%PYMAKO_EGG%%/mako/exceptions.pyo +%%PYTHON_SITELIBDIR%%/%%PYMAKO_EGG%%/mako/filters.py +%%PYTHON_SITELIBDIR%%/%%PYMAKO_EGG%%/mako/filters.pyc +%%PYTHON_SITELIBDIR%%/%%PYMAKO_EGG%%/mako/filters.pyo +%%PYTHON_SITELIBDIR%%/%%PYMAKO_EGG%%/mako/lexer.py +%%PYTHON_SITELIBDIR%%/%%PYMAKO_EGG%%/mako/lexer.pyc +%%PYTHON_SITELIBDIR%%/%%PYMAKO_EGG%%/mako/lexer.pyo +%%PYTHON_SITELIBDIR%%/%%PYMAKO_EGG%%/mako/lookup.py +%%PYTHON_SITELIBDIR%%/%%PYMAKO_EGG%%/mako/lookup.pyc +%%PYTHON_SITELIBDIR%%/%%PYMAKO_EGG%%/mako/lookup.pyo +%%PYTHON_SITELIBDIR%%/%%PYMAKO_EGG%%/mako/parsetree.py +%%PYTHON_SITELIBDIR%%/%%PYMAKO_EGG%%/mako/parsetree.pyc +%%PYTHON_SITELIBDIR%%/%%PYMAKO_EGG%%/mako/parsetree.pyo +%%PYTHON_SITELIBDIR%%/%%PYMAKO_EGG%%/mako/pygen.py +%%PYTHON_SITELIBDIR%%/%%PYMAKO_EGG%%/mako/pygen.pyc +%%PYTHON_SITELIBDIR%%/%%PYMAKO_EGG%%/mako/pygen.pyo +%%PYTHON_SITELIBDIR%%/%%PYMAKO_EGG%%/mako/runtime.py +%%PYTHON_SITELIBDIR%%/%%PYMAKO_EGG%%/mako/runtime.pyc +%%PYTHON_SITELIBDIR%%/%%PYMAKO_EGG%%/mako/runtime.pyo +%%PYTHON_SITELIBDIR%%/%%PYMAKO_EGG%%/mako/template.py +%%PYTHON_SITELIBDIR%%/%%PYMAKO_EGG%%/mako/template.pyc +%%PYTHON_SITELIBDIR%%/%%PYMAKO_EGG%%/mako/template.pyo +%%PYTHON_SITELIBDIR%%/%%PYMAKO_EGG%%/mako/util.py +%%PYTHON_SITELIBDIR%%/%%PYMAKO_EGG%%/mako/util.pyc +%%PYTHON_SITELIBDIR%%/%%PYMAKO_EGG%%/mako/util.pyo +%%PYTHON_SITELIBDIR%%/%%PYMAKO_EGG%%/mako/__init__.py +%%PYTHON_SITELIBDIR%%/%%PYMAKO_EGG%%/mako/__init__.pyc +%%PYTHON_SITELIBDIR%%/%%PYMAKO_EGG%%/mako/__init__.pyo +%%PYTHON_SITELIBDIR%%/%%PYMAKO_EGG%%/mako/ext/autohandler.py +%%PYTHON_SITELIBDIR%%/%%PYMAKO_EGG%%/mako/ext/autohandler.pyc +%%PYTHON_SITELIBDIR%%/%%PYMAKO_EGG%%/mako/ext/autohandler.pyo +%%PYTHON_SITELIBDIR%%/%%PYMAKO_EGG%%/mako/ext/preprocessors.py +%%PYTHON_SITELIBDIR%%/%%PYMAKO_EGG%%/mako/ext/preprocessors.pyc +%%PYTHON_SITELIBDIR%%/%%PYMAKO_EGG%%/mako/ext/preprocessors.pyo +%%PYTHON_SITELIBDIR%%/%%PYMAKO_EGG%%/mako/ext/pygmentplugin.py +%%PYTHON_SITELIBDIR%%/%%PYMAKO_EGG%%/mako/ext/pygmentplugin.pyc +%%PYTHON_SITELIBDIR%%/%%PYMAKO_EGG%%/mako/ext/pygmentplugin.pyo +%%PYTHON_SITELIBDIR%%/%%PYMAKO_EGG%%/mako/ext/turbogears.py +%%PYTHON_SITELIBDIR%%/%%PYMAKO_EGG%%/mako/ext/turbogears.pyc +%%PYTHON_SITELIBDIR%%/%%PYMAKO_EGG%%/mako/ext/turbogears.pyo +%%PYTHON_SITELIBDIR%%/%%PYMAKO_EGG%%/mako/ext/__init__.py +%%PYTHON_SITELIBDIR%%/%%PYMAKO_EGG%%/mako/ext/__init__.pyc +%%PYTHON_SITELIBDIR%%/%%PYMAKO_EGG%%/mako/ext/__init__.pyo +@dirrm %%PYTHON_SITELIBDIR%%/%%PYMAKO_EGG%%/mako/ext +@dirrm %%PYTHON_SITELIBDIR%%/%%PYMAKO_EGG%%/mako +@dirrm %%PYTHON_SITELIBDIR%%/%%PYMAKO_EGG%%/EGG-INFO +@dirrm %%PYTHON_SITELIBDIR%%/%%PYMAKO_EGG%% +@exec %%EASY_INSTALL_CMD%% -N %D/%%PYTHON_SITELIBDIR%%/PYMAKO_EGG%% |