ports/109299: [NEW PORT] devel/py-lxml: lxml is a Python binding for libxml2 and libxslt
Robert Gogolok
gogo at cs.uni-sb.de
Mon Feb 19 00:10:05 UTC 2007
>Number: 109299
>Category: ports
>Synopsis: [NEW PORT] devel/py-lxml: lxml is a Python binding for libxml2 and libxslt
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Mon Feb 19 00:10:04 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Robert Gogolok
>Release: FreeBSD 6.1
>Organization:
http://www.robert-gogolok.de
>Environment:
FreeBSD desktop.gogolok.de 6.1-SECURITY FreeBSD 6.1-SECURITY #0: Mon Dec 4 07:53:55 UTC 2006 root at builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i38
>Description:
new port: lxml is a Python binding for libxml2 and libxslt
WWW: http://codespeak.net/lxml/
It's needed for the bcfg2 server (http://www.bcfg2.org) I want to get into the ports tree next.
>How-To-Repeat:
>Fix:
http://w5.cs.uni-sb.de/~gogo/patches/new-ports/devel/py-lxml/
Patch attached with submission follows:
# 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:
#
# py-lxml
# py-lxml/Makefile
# py-lxml/pkg-plist
# py-lxml/pkg-descr
# py-lxml/distinfo
#
echo c - py-lxml
mkdir -p py-lxml > /dev/null 2>&1
echo x - py-lxml/Makefile
sed 's/^X//' >py-lxml/Makefile << 'END-of-py-lxml/Makefile'
X# Ports collection makefile for: py-lxml
X# Date created: Feb 18, 2007
X# Whom: Robert Gogolok <gogo at cs.uni-sb.de>
X#
X# $FreeBSD$
X#
X
XPORTNAME= lxml
XPORTVERSION= 1.1.2
XCATEGORIES= devel python
XMASTER_SITES= http://codespeak.net/lxml/
XPKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
XEXTRACT_SUFX= .tgz
X
XMAINTAINER= gogo at cs.uni-sb.de
XCOMMENT= Pythonic binding for the libxml2 and libxslt libraries
X
XLIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2 \
X xslt.2:${PORTSDIR}/textproc/libxslt
X
XUSE_PYTHON= 2.4+
XUSE_PYDISTUTILS= yes
X
XDOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
X
XBASEDOCS= CHANGES.txt \
X CREDITS.txt \
X LICENSES.txt \
X TODO.txt \
X README.txt
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X @${MKDIR} ${DOCSDIR}
X. for f in ${BASEDOCS}
X @${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
X. endfor
X @${MKDIR} ${DOCSDIR}/doc
X ${CP} -R ${WRKSRC}/doc/* ${DOCSDIR}/doc
X.endif
X
X.include <bsd.port.mk>
END-of-py-lxml/Makefile
echo x - py-lxml/pkg-plist
sed 's/^X//' >py-lxml/pkg-plist << 'END-of-py-lxml/pkg-plist'
X%%PYTHON_SITELIBDIR%%/lxml/__init__.py
X%%PYTHON_SITELIBDIR%%/lxml/__init__.pyc
X%%PYTHON_SITELIBDIR%%/lxml/__init__.pyo
X%%PYTHON_SITELIBDIR%%/lxml/_elementpath.py
X%%PYTHON_SITELIBDIR%%/lxml/_elementpath.pyc
X%%PYTHON_SITELIBDIR%%/lxml/_elementpath.pyo
X%%PYTHON_SITELIBDIR%%/lxml/etree.so
X%%PYTHON_SITELIBDIR%%/lxml/objectify.so
X%%PYTHON_SITELIBDIR%%/lxml/sax.py
X%%PYTHON_SITELIBDIR%%/lxml/sax.pyc
X%%PYTHON_SITELIBDIR%%/lxml/sax.pyo
X%%PORTDOCS%%%%DOCSDIR%%/CHANGES.txt
X%%PORTDOCS%%%%DOCSDIR%%/CREDITS.txt
X%%PORTDOCS%%%%DOCSDIR%%/LICENSES.txt
X%%PORTDOCS%%%%DOCSDIR%%/TODO.txt
X%%PORTDOCS%%%%DOCSDIR%%/README.txt
X%%PORTDOCS%%%%DOCSDIR%%/doc/FAQ.txt
X%%PORTDOCS%%%%DOCSDIR%%/doc/api.txt
X%%PORTDOCS%%%%DOCSDIR%%/doc/build.txt
X%%PORTDOCS%%%%DOCSDIR%%/doc/capi.txt
X%%PORTDOCS%%%%DOCSDIR%%/doc/compatibility.txt
X%%PORTDOCS%%%%DOCSDIR%%/doc/element_classes.txt
X%%PORTDOCS%%%%DOCSDIR%%/doc/extensions.txt
X%%PORTDOCS%%%%DOCSDIR%%/doc/html/FAQ.html
X%%PORTDOCS%%%%DOCSDIR%%/doc/html/api.html
X%%PORTDOCS%%%%DOCSDIR%%/doc/html/build.html
X%%PORTDOCS%%%%DOCSDIR%%/doc/html/capi.html
X%%PORTDOCS%%%%DOCSDIR%%/doc/html/changes-1.1.2.html
X%%PORTDOCS%%%%DOCSDIR%%/doc/html/compatibility.html
X%%PORTDOCS%%%%DOCSDIR%%/doc/html/element_classes.html
X%%PORTDOCS%%%%DOCSDIR%%/doc/html/extensions.html
X%%PORTDOCS%%%%DOCSDIR%%/doc/html/index.html
X%%PORTDOCS%%%%DOCSDIR%%/doc/html/installation.html
X%%PORTDOCS%%%%DOCSDIR%%/doc/html/intro.html
X%%PORTDOCS%%%%DOCSDIR%%/doc/html/objectify.html
X%%PORTDOCS%%%%DOCSDIR%%/doc/html/performance.html
X%%PORTDOCS%%%%DOCSDIR%%/doc/html/pubkey.asc
X%%PORTDOCS%%%%DOCSDIR%%/doc/html/resolvers.html
X%%PORTDOCS%%%%DOCSDIR%%/doc/html/sax.html
X%%PORTDOCS%%%%DOCSDIR%%/doc/html/style.css
X%%PORTDOCS%%%%DOCSDIR%%/doc/intro.txt
X%%PORTDOCS%%%%DOCSDIR%%/doc/licenses/BSD.txt
X%%PORTDOCS%%%%DOCSDIR%%/doc/licenses/GPL.txt
X%%PORTDOCS%%%%DOCSDIR%%/doc/licenses/ZopePublicLicense.txt
X%%PORTDOCS%%%%DOCSDIR%%/doc/licenses/elementtree.txt
X%%PORTDOCS%%%%DOCSDIR%%/doc/lxml.mgp
X%%PORTDOCS%%%%DOCSDIR%%/doc/main.txt
X%%PORTDOCS%%%%DOCSDIR%%/doc/memorymanagement.txt
X%%PORTDOCS%%%%DOCSDIR%%/doc/mkhtml.py
X%%PORTDOCS%%%%DOCSDIR%%/doc/objectify.txt
X%%PORTDOCS%%%%DOCSDIR%%/doc/performance.txt
X%%PORTDOCS%%%%DOCSDIR%%/doc/pubkey.asc
X%%PORTDOCS%%%%DOCSDIR%%/doc/resolvers.txt
X%%PORTDOCS%%%%DOCSDIR%%/doc/rest2html.py
X%%PORTDOCS%%%%DOCSDIR%%/doc/sax.txt
X%%PORTDOCS%%%%DOCSDIR%%/doc/test.xml
X%%PORTDOCS%%%%DOCSDIR%%/doc/valgrind.txt
X%%PORTDOCS%%@dirrm %%DOCSDIR%%/doc/licenses
X%%PORTDOCS%%@dirrm %%DOCSDIR%%/doc/html
X%%PORTDOCS%%@dirrm %%DOCSDIR%%/doc
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
X at dirrm %%PYTHON_SITELIBDIR%%/lxml
END-of-py-lxml/pkg-plist
echo x - py-lxml/pkg-descr
sed 's/^X//' >py-lxml/pkg-descr << 'END-of-py-lxml/pkg-descr'
Xlxml is a Python binding for libxml2 and libxslt. Its aim:
X
X * Pythonic API.
X * Documented.
X * Use Python unicode strings in API.
X * Safe (no segfaults).
X * No manual memory management!
X
XWWW: http://codespeak.net/lxml/
END-of-py-lxml/pkg-descr
echo x - py-lxml/distinfo
sed 's/^X//' >py-lxml/distinfo << 'END-of-py-lxml/distinfo'
XMD5 (lxml-1.1.2.tgz) = d18ecaacdecf7c9f02a6e9aecb16c720
XSHA256 (lxml-1.1.2.tgz) = b0139b3e1443ab5ce7dd2b63e67ac987f1e4caddf5f9bc72c90c63199265c278
XSIZE (lxml-1.1.2.tgz) = 640469
END-of-py-lxml/distinfo
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list