1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00

Add py-lxml 1.1.2, pythonic binding for the libxml2 and libxslt

libraries.

PR:		ports/109299
Submitted by:	Robert Gogolok <gogo at cs.uni-sb.de>
This commit is contained in:
Cheng-Lung Sung 2007-02-19 13:56:00 +00:00
parent 6857992b5a
commit 19af92b055
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=185518
5 changed files with 117 additions and 0 deletions

View File

@ -1782,6 +1782,7 @@
SUBDIR += py-ll-core
SUBDIR += py-log4py
SUBDIR += py-logilab-common
SUBDIR += py-lxml
SUBDIR += py-magic
SUBDIR += py-mx-experimental
SUBDIR += py-ncurses

42
devel/py-lxml/Makefile Normal file
View File

@ -0,0 +1,42 @@
# Ports collection makefile for: py-lxml
# Date created: Feb 18, 2007
# Whom: Robert Gogolok <gogo@cs.uni-sb.de>
#
# $FreeBSD$
#
PORTNAME= lxml
PORTVERSION= 1.1.2
CATEGORIES= devel python
MASTER_SITES= http://codespeak.net/lxml/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
EXTRACT_SUFX= .tgz
MAINTAINER= gogo@cs.uni-sb.de
COMMENT= Pythonic binding for the libxml2 and libxslt libraries
LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2 \
xslt.2:${PORTSDIR}/textproc/libxslt
USE_PYTHON= 2.4+
USE_PYDISTUTILS= yes
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
BASEDOCS= CHANGES.txt \
CREDITS.txt \
LICENSES.txt \
TODO.txt \
README.txt
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
. for f in ${BASEDOCS}
@${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
. endfor
@${MKDIR} ${DOCSDIR}/doc
${CP} -R ${WRKSRC}/doc/* ${DOCSDIR}/doc
.endif
.include <bsd.port.mk>

3
devel/py-lxml/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (lxml-1.1.2.tgz) = d18ecaacdecf7c9f02a6e9aecb16c720
SHA256 (lxml-1.1.2.tgz) = b0139b3e1443ab5ce7dd2b63e67ac987f1e4caddf5f9bc72c90c63199265c278
SIZE (lxml-1.1.2.tgz) = 640469

9
devel/py-lxml/pkg-descr Normal file
View File

@ -0,0 +1,9 @@
lxml is a Python binding for libxml2 and libxslt. Its aim:
* Pythonic API.
* Documented.
* Use Python unicode strings in API.
* Safe (no segfaults).
* No manual memory management!
WWW: http://codespeak.net/lxml/

62
devel/py-lxml/pkg-plist Normal file
View File

@ -0,0 +1,62 @@
%%PYTHON_SITELIBDIR%%/lxml/__init__.py
%%PYTHON_SITELIBDIR%%/lxml/__init__.pyc
%%PYTHON_SITELIBDIR%%/lxml/__init__.pyo
%%PYTHON_SITELIBDIR%%/lxml/_elementpath.py
%%PYTHON_SITELIBDIR%%/lxml/_elementpath.pyc
%%PYTHON_SITELIBDIR%%/lxml/_elementpath.pyo
%%PYTHON_SITELIBDIR%%/lxml/etree.so
%%PYTHON_SITELIBDIR%%/lxml/objectify.so
%%PYTHON_SITELIBDIR%%/lxml/sax.py
%%PYTHON_SITELIBDIR%%/lxml/sax.pyc
%%PYTHON_SITELIBDIR%%/lxml/sax.pyo
%%PORTDOCS%%%%DOCSDIR%%/CHANGES.txt
%%PORTDOCS%%%%DOCSDIR%%/CREDITS.txt
%%PORTDOCS%%%%DOCSDIR%%/LICENSES.txt
%%PORTDOCS%%%%DOCSDIR%%/TODO.txt
%%PORTDOCS%%%%DOCSDIR%%/README.txt
%%PORTDOCS%%%%DOCSDIR%%/doc/FAQ.txt
%%PORTDOCS%%%%DOCSDIR%%/doc/api.txt
%%PORTDOCS%%%%DOCSDIR%%/doc/build.txt
%%PORTDOCS%%%%DOCSDIR%%/doc/capi.txt
%%PORTDOCS%%%%DOCSDIR%%/doc/compatibility.txt
%%PORTDOCS%%%%DOCSDIR%%/doc/element_classes.txt
%%PORTDOCS%%%%DOCSDIR%%/doc/extensions.txt
%%PORTDOCS%%%%DOCSDIR%%/doc/html/FAQ.html
%%PORTDOCS%%%%DOCSDIR%%/doc/html/api.html
%%PORTDOCS%%%%DOCSDIR%%/doc/html/build.html
%%PORTDOCS%%%%DOCSDIR%%/doc/html/capi.html
%%PORTDOCS%%%%DOCSDIR%%/doc/html/changes-1.1.2.html
%%PORTDOCS%%%%DOCSDIR%%/doc/html/compatibility.html
%%PORTDOCS%%%%DOCSDIR%%/doc/html/element_classes.html
%%PORTDOCS%%%%DOCSDIR%%/doc/html/extensions.html
%%PORTDOCS%%%%DOCSDIR%%/doc/html/index.html
%%PORTDOCS%%%%DOCSDIR%%/doc/html/installation.html
%%PORTDOCS%%%%DOCSDIR%%/doc/html/intro.html
%%PORTDOCS%%%%DOCSDIR%%/doc/html/objectify.html
%%PORTDOCS%%%%DOCSDIR%%/doc/html/performance.html
%%PORTDOCS%%%%DOCSDIR%%/doc/html/pubkey.asc
%%PORTDOCS%%%%DOCSDIR%%/doc/html/resolvers.html
%%PORTDOCS%%%%DOCSDIR%%/doc/html/sax.html
%%PORTDOCS%%%%DOCSDIR%%/doc/html/style.css
%%PORTDOCS%%%%DOCSDIR%%/doc/intro.txt
%%PORTDOCS%%%%DOCSDIR%%/doc/licenses/BSD.txt
%%PORTDOCS%%%%DOCSDIR%%/doc/licenses/GPL.txt
%%PORTDOCS%%%%DOCSDIR%%/doc/licenses/ZopePublicLicense.txt
%%PORTDOCS%%%%DOCSDIR%%/doc/licenses/elementtree.txt
%%PORTDOCS%%%%DOCSDIR%%/doc/lxml.mgp
%%PORTDOCS%%%%DOCSDIR%%/doc/main.txt
%%PORTDOCS%%%%DOCSDIR%%/doc/memorymanagement.txt
%%PORTDOCS%%%%DOCSDIR%%/doc/mkhtml.py
%%PORTDOCS%%%%DOCSDIR%%/doc/objectify.txt
%%PORTDOCS%%%%DOCSDIR%%/doc/performance.txt
%%PORTDOCS%%%%DOCSDIR%%/doc/pubkey.asc
%%PORTDOCS%%%%DOCSDIR%%/doc/resolvers.txt
%%PORTDOCS%%%%DOCSDIR%%/doc/rest2html.py
%%PORTDOCS%%%%DOCSDIR%%/doc/sax.txt
%%PORTDOCS%%%%DOCSDIR%%/doc/test.xml
%%PORTDOCS%%%%DOCSDIR%%/doc/valgrind.txt
%%PORTDOCS%%@dirrm %%DOCSDIR%%/doc/licenses
%%PORTDOCS%%@dirrm %%DOCSDIR%%/doc/html
%%PORTDOCS%%@dirrm %%DOCSDIR%%/doc
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm %%PYTHON_SITELIBDIR%%/lxml