EmPy is a system for embedding Python expressions and statements in template
text; it takes an EmPy source file, processes it, and produces output. This is accomplished via expansions, which are special signals to the EmPy system and are set off by a special prefix (by default the at sign, @). EmPy can expand arbitrary Python expressions and statements in this way, as well as a variety of special forms. Textual data not explicitly delimited in this way is sent unaffected to the output, allowing Python to be used in effect as a markup language. Also supported are callbacks via hooks, recording and playback via diversions, and dynamic, chainable filters. The system is highly configurable via command line options and embedded commands. PR: ports/83308 Submitted by: Ying-Chieh Liao <ijliao@csie.nctu.edu.tw>
This commit is contained in:
parent
a74ad217f2
commit
1f279f37ac
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=139045
5 changed files with 39 additions and 0 deletions
|
@ -546,6 +546,7 @@
|
||||||
SUBDIR += py-csv
|
SUBDIR += py-csv
|
||||||
SUBDIR += py-docutils
|
SUBDIR += py-docutils
|
||||||
SUBDIR += py-dsv
|
SUBDIR += py-dsv
|
||||||
|
SUBDIR += py-empy
|
||||||
SUBDIR += py-excelerator
|
SUBDIR += py-excelerator
|
||||||
SUBDIR += py-expat
|
SUBDIR += py-expat
|
||||||
SUBDIR += py-feedparser
|
SUBDIR += py-feedparser
|
||||||
|
|
21
textproc/py-empy/Makefile
Normal file
21
textproc/py-empy/Makefile
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
# ex:ts=8
|
||||||
|
# Ports collection makefile for: py-empy
|
||||||
|
# Date created: Jul 12, 2005
|
||||||
|
# Whom: ijliao
|
||||||
|
#
|
||||||
|
# $FreeBSD$
|
||||||
|
#
|
||||||
|
|
||||||
|
PORTNAME= empy
|
||||||
|
PORTVERSION= 3.3
|
||||||
|
CATEGORIES= textproc python
|
||||||
|
MASTER_SITES= http://www.alcyone.com/software/empy/
|
||||||
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||||
|
|
||||||
|
MAINTAINER= ports@FreeBSD.org
|
||||||
|
COMMENT= A powerful and robust templating system for Python
|
||||||
|
|
||||||
|
USE_PYTHON= 1.5+
|
||||||
|
USE_PYDISTUTILS= yes
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
2
textproc/py-empy/distinfo
Normal file
2
textproc/py-empy/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
MD5 (empy-3.3.tar.gz) = e7b518a6fc4fd28fef87726cdb003118
|
||||||
|
SIZE (empy-3.3.tar.gz) = 137144
|
12
textproc/py-empy/pkg-descr
Normal file
12
textproc/py-empy/pkg-descr
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
EmPy is a system for embedding Python expressions and statements in template
|
||||||
|
text; it takes an EmPy source file, processes it, and produces output. This
|
||||||
|
is accomplished via expansions, which are special signals to the EmPy system
|
||||||
|
and are set off by a special prefix (by default the at sign, @). EmPy can
|
||||||
|
expand arbitrary Python expressions and statements in this way, as well as a
|
||||||
|
variety of special forms. Textual data not explicitly delimited in this way
|
||||||
|
is sent unaffected to the output, allowing Python to be used in effect as a
|
||||||
|
markup language. Also supported are callbacks via hooks, recording and
|
||||||
|
playback via diversions, and dynamic, chainable filters. The system is highly
|
||||||
|
configurable via command line options and embedded commands.
|
||||||
|
|
||||||
|
WWW: http://www.alcyone.com/software/empy/
|
3
textproc/py-empy/pkg-plist
Normal file
3
textproc/py-empy/pkg-plist
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
%%PYTHON_SITELIBDIR%%/em.py
|
||||||
|
%%PYTHON_SITELIBDIR%%/em.pyc
|
||||||
|
%%PYTHON_SITELIBDIR%%/em.pyo
|
Loading…
Reference in a new issue