diff options
author | pav <pav@FreeBSD.org> | 2006-05-07 22:00:08 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2006-05-07 22:00:08 +0800 |
commit | 490e19ca68b5f0710bbf62e1bd06ee6cf7b076eb (patch) | |
tree | b140353cb578ce4854c8b1d7981b8ab65147d733 /www/py-meld3 | |
parent | 9f430790fafbf011e0980e8df6d772f1dd205db5 (diff) | |
download | freebsd-ports-gnome-490e19ca68b5f0710bbf62e1bd06ee6cf7b076eb.tar.gz freebsd-ports-gnome-490e19ca68b5f0710bbf62e1bd06ee6cf7b076eb.tar.zst freebsd-ports-gnome-490e19ca68b5f0710bbf62e1bd06ee6cf7b076eb.zip |
A simple, lightweight system for manipulating HTML (and XML, informally) using
a Pythonic object model.
Features:
- Allows program logic and HTML to be completely separated - a graphical
designer can design the HTML in a visual HTML editor, without needing to
deal with any non-standard syntax or non-standard attribute names.
- Designed with common HTML-application programming tasks in mind.
- No special requirements for the HTML/XML (or just one: attribute values must
be quoted) - so you can use any editor, and your HTML/XML doesn't need to be
strictly valid.
- Works by string substitution, rather than by decomposing and rebuilding the
markup, hence has no impact on the parts of the page you don't manipulate.
- Does nothing but manipulating HTML/XML, hence fits in with any other Web
toolkits you're using.
- Tracebacks always point to the right place - many Python/HTML mixing systems
use exec or eval, making bugs hard to track down.
WWW: http://www.entrian.com/PyMeld/index.html
PR: ports/96698
Submitted by: Alexander Botero-Lowry <alex@foxybanana.com>
Diffstat (limited to 'www/py-meld3')
-rw-r--r-- | www/py-meld3/Makefile | 39 | ||||
-rw-r--r-- | www/py-meld3/distinfo | 3 | ||||
-rw-r--r-- | www/py-meld3/pkg-descr | 19 |
3 files changed, 61 insertions, 0 deletions
diff --git a/www/py-meld3/Makefile b/www/py-meld3/Makefile new file mode 100644 index 000000000000..6e1b7f965c27 --- /dev/null +++ b/www/py-meld3/Makefile @@ -0,0 +1,39 @@ +# New ports collection makefile for: py-meld +# Date created: 2 May 2006 +# Whom: Alexander Botero-Lowry <alex@foxybanana.com> +# +# $FreeBSD$ +# + +PORTNAME= meld +PORTVERSION= 2.1.3 +CATEGORIES= www python +MASTER_SITES= http://www.entrian.com/PyMeld/ +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= PyMeld +EXTRACT_SUFX= .py +EXTRACT_ONLY= # This space left intentionally empty + +MAINTAINER= alex@foxybanana.com +COMMENT= A system for manipulating HTML using a Pythonic object model + +USE_PYTHON= yes + +PLIST_FILES= %%PYTHON_SITELIBDIR%%/PyMeld.py \ + %%PYTHON_SITELIBDIR%%/PyMeld.pyc \ + %%PYTHON_SITELIBDIR%%/PyMeld.pyo + +pre-build: + @${MKDIR} ${WRKSRC} + @${CP} ${DISTDIR}/${DISTFILES} ${WRKSRC} + +do-build: + @cd ${WRKSRC} && ${PYTHON_CMD} -OOOO -c 'import PyMeld' && \ + ${PYTHON_CMD} -c 'import PyMeld' + +do-install: + ${INSTALL_DATA} ${WRKSRC}/PyMeld.py ${PYTHON_SITELIBDIR} + ${INSTALL_DATA} ${WRKSRC}/PyMeld.pyc ${PYTHON_SITELIBDIR} + ${INSTALL_DATA} ${WRKSRC}/PyMeld.pyo ${PYTHON_SITELIBDIR} + +.include <bsd.port.mk> diff --git a/www/py-meld3/distinfo b/www/py-meld3/distinfo new file mode 100644 index 000000000000..83d3ee7c0e48 --- /dev/null +++ b/www/py-meld3/distinfo @@ -0,0 +1,3 @@ +MD5 (PyMeld.py) = 2b12b14b4e7500dd9efae6da1c5ae6cf +SHA256 (PyMeld.py) = 30e1c0adbe7f2f3e54aed05ca30cd61ddf8c5a57fa300331277a88e00617a5da +SIZE (PyMeld.py) = 44917 diff --git a/www/py-meld3/pkg-descr b/www/py-meld3/pkg-descr new file mode 100644 index 000000000000..464834ed8317 --- /dev/null +++ b/www/py-meld3/pkg-descr @@ -0,0 +1,19 @@ +A simple, lightweight system for manipulating HTML (and XML, informally) using +a Pythonic object model. + +Features: + - Allows program logic and HTML to be completely separated - a graphical + designer can design the HTML in a visual HTML editor, without needing to + deal with any non-standard syntax or non-standard attribute names. + - Designed with common HTML-application programming tasks in mind. + - No special requirements for the HTML/XML (or just one: attribute values must + be quoted) - so you can use any editor, and your HTML/XML doesn't need to be + strictly valid. + - Works by string substitution, rather than by decomposing and rebuilding the + markup, hence has no impact on the parts of the page you don't manipulate. + - Does nothing but manipulating HTML/XML, hence fits in with any other Web + toolkits you're using. + - Tracebacks always point to the right place - many Python/HTML mixing systems + use exec or eval, making bugs hard to track down. + +WWW: http://www.entrian.com/PyMeld/index.html |