ports/105471: [new port] devel/py-qpy: Generating safely-quoted html text from python code
Dryice Liu
dryice at dryice.name
Mon Nov 13 13:21:37 UTC 2006
>Number: 105471
>Category: ports
>Synopsis: [new port] devel/py-qpy: Generating safely-quoted html text from python code
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Nov 13 13:20:01 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Dryice Liu
>Release: FreeBSD 6.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD dryice.3322.org 6.0-STABLE FreeBSD 6.0-STABLE #0: Thu Dec 1 15:59:44 CST 2005
>Description:
Attached is the shar file for devel/py-qpy. It could be used
to generate safely quoted HTML text from Python code. The idea
is from ptl of www/quixote. It will be used in a new port
py-qp, which is coming soon.
>How-To-Repeat:
>Fix:
--- attached file begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# /usr/ports/devel/py-qpy/
# /usr/ports/devel/py-qpy/distinfo
# /usr/ports/devel/py-qpy/Makefile
# /usr/ports/devel/py-qpy/pkg-descr
# /usr/ports/devel/py-qpy/pkg-plist
#
echo c - /usr/ports/devel/py-qpy/
mkdir -p /usr/ports/devel/py-qpy/ > /dev/null 2>&1
echo x - /usr/ports/devel/py-qpy/distinfo
sed 's/^X//' >/usr/ports/devel/py-qpy/distinfo << 'END-of-/usr/ports/devel/py-qpy/distinfo'
XMD5 (qpy-1.4.tar.gz) = d7578c52927edc72c477507a3dbd5803
XSHA256 (qpy-1.4.tar.gz) = e5c8c30e6e920e91373cf0e6431f856c6ce2677376823aea07cb461ce329f73a
XSIZE (qpy-1.4.tar.gz) = 17943
END-of-/usr/ports/devel/py-qpy/distinfo
echo x - /usr/ports/devel/py-qpy/Makefile
sed 's/^X//' >/usr/ports/devel/py-qpy/Makefile << 'END-of-/usr/ports/devel/py-qpy/Makefile'
X# New ports collection makefile for: py-qpy
X# Date created: 13 Nov 2006
X# Whom: Dryice Liu <dryice at dryice.name>
X#
X# $FreeBSD$
X#
X
XPORTNAME= qpy
XPORTVERSION= 1.4
XCATEGORIES= devel python
XMASTER_SITES= http://www.mems-exchange.org/software/qpy/ \
X http://dryice.name/computer/FreeBSD/distfiles/
X
XMAINTAINER= dryice at dryice.name
XCOMMENT= Generating safely-quoted html text from python code
X
XUSE_PYTHON= 2.4+
XUSE_PYDISTUTILS= yes
X
X.include <bsd.port.pre.mk>
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X @ ${MKDIR} ${DOCSDIR}
X.for docfile in CHANGES.txt LICENSE.txt README.txt
X @ ${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}
X.endfor
X.endif
X
X.include <bsd.port.post.mk>
END-of-/usr/ports/devel/py-qpy/Makefile
echo x - /usr/ports/devel/py-qpy/pkg-descr
sed 's/^X//' >/usr/ports/devel/py-qpy/pkg-descr << 'END-of-/usr/ports/devel/py-qpy/pkg-descr'
XQpy provides a convenient mechanism for generating safely-quoted html
Xtext from python code.
X
XIt does this by implementing a quoted-string data type and a
Xmodification of the python compiler. (This main idea comes from
XQuixote's htmltext/PTL.)
X
XWWW: http://www.mems-exchange.org/software/qpy/
END-of-/usr/ports/devel/py-qpy/pkg-descr
echo x - /usr/ports/devel/py-qpy/pkg-plist
sed 's/^X//' >/usr/ports/devel/py-qpy/pkg-plist << 'END-of-/usr/ports/devel/py-qpy/pkg-plist'
Xbin/qpcheck.py
Xbin/qpyrun.py
X%%PYTHON_SITELIBDIR%%/qpy/__init__.py
X%%PYTHON_SITELIBDIR%%/qpy/__init__.pyc
X%%PYTHON_SITELIBDIR%%/qpy/__init__.pyo
X%%PYTHON_SITELIBDIR%%/qpy/c8.py
X%%PYTHON_SITELIBDIR%%/qpy/c8.pyc
X%%PYTHON_SITELIBDIR%%/qpy/c8.pyo
X%%PYTHON_SITELIBDIR%%/qpy/c8.so
X%%PYTHON_SITELIBDIR%%/qpy/compile.py
X%%PYTHON_SITELIBDIR%%/qpy/compile.pyc
X%%PYTHON_SITELIBDIR%%/qpy/compile.pyo
X%%PYTHON_SITELIBDIR%%/qpy/qpcheck.py
X%%PYTHON_SITELIBDIR%%/qpy/qpcheck.pyc
X%%PYTHON_SITELIBDIR%%/qpy/qpcheck.pyo
X%%PYTHON_SITELIBDIR%%/qpy/qpyrun.py
X%%PYTHON_SITELIBDIR%%/qpy/qpyrun.pyc
X%%PYTHON_SITELIBDIR%%/qpy/qpyrun.pyo
X%%PYTHON_SITELIBDIR%%/qpy/setup.py
X%%PYTHON_SITELIBDIR%%/qpy/setup.pyc
X%%PYTHON_SITELIBDIR%%/qpy/setup.pyo
X at dirrm %%PYTHON_SITELIBDIR%%/qpy
X%%PORTDOCS%%%%DOCSDIR%%/CHANGES.txt
X%%PORTDOCS%%%%DOCSDIR%%/LICENSE.txt
X%%PORTDOCS%%%%DOCSDIR%%/README.txt
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
END-of-/usr/ports/devel/py-qpy/pkg-plist
exit
--- attached file ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list