From 8aa38522f9c31b3fc96ea2add44d314ee7c52e11 Mon Sep 17 00:00:00 2001 From: rm Date: Wed, 15 Feb 2012 18:51:20 +0000 Subject: - update to 2.3.3 - silence docs installation - fix build on 10.0-CURRENT (original patch from bsam@) changelog: http://lxml.de/2.3/changes-2.3.3.html PR: 165033 Submitted by: rm (myself) Approved by: Robert Gogolok (maintainer) --- devel/py-lxml/Makefile | 8 ++++---- devel/py-lxml/distinfo | 4 ++-- devel/py-lxml/files/patch-src-lxml_lxml.etree.c | 15 +++++++++++++++ devel/py-lxml/pkg-plist | 4 +++- 4 files changed, 24 insertions(+), 7 deletions(-) create mode 100644 devel/py-lxml/files/patch-src-lxml_lxml.etree.c (limited to 'devel') diff --git a/devel/py-lxml/Makefile b/devel/py-lxml/Makefile index f2e4148998b0..00d37cab15fe 100644 --- a/devel/py-lxml/Makefile +++ b/devel/py-lxml/Makefile @@ -5,7 +5,7 @@ # $FreeBSD$ PORTNAME= lxml -PORTVERSION= 2.3.2 +PORTVERSION= 2.3.3 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -29,13 +29,13 @@ PORTDOCS= CHANGES.txt \ CREDITS.txt \ LICENSES.txt \ TODO.txt \ - README.txt + README.rst post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} - ${INSTALL_MAN} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR} - cd ${WRKSRC} && ${COPYTREE_SHARE} doc ${DOCSDIR} + @${INSTALL_MAN} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR} + @cd ${WRKSRC} && ${COPYTREE_SHARE} doc ${DOCSDIR} .endif .include diff --git a/devel/py-lxml/distinfo b/devel/py-lxml/distinfo index 385b4ef8fe69..9552df179cb4 100644 --- a/devel/py-lxml/distinfo +++ b/devel/py-lxml/distinfo @@ -1,2 +1,2 @@ -SHA256 (lxml-2.3.2.tar.gz) = 32bf688a03d18caa74840764727e8fa29bb29950f7a190a0b969150a3869a6a1 -SIZE (lxml-2.3.2.tar.gz) = 3134325 +SHA256 (lxml-2.3.3.tar.gz) = 2a3ca34f63b062ee8e059ca2460ac18040ec9622f0a31e143383f0db944ceb36 +SIZE (lxml-2.3.3.tar.gz) = 3145451 diff --git a/devel/py-lxml/files/patch-src-lxml_lxml.etree.c b/devel/py-lxml/files/patch-src-lxml_lxml.etree.c new file mode 100644 index 000000000000..020e0f79a158 --- /dev/null +++ b/devel/py-lxml/files/patch-src-lxml_lxml.etree.c @@ -0,0 +1,15 @@ +--- src/lxml/lxml.etree.c.orig 2012-01-04 21:37:38.000000000 +0400 ++++ src/lxml/lxml.etree.c 2012-02-12 13:40:24.000000000 +0400 +@@ -1,5 +1,12 @@ + /* Generated by Cython 0.15.1 on Wed Jan 4 18:37:34 2012 */ + ++#if defined(__FreeBSD__) ++#include ++#if __FreeBSD_version >= 1000000 ++#include ++#endif ++#endif ++ + #define PY_SSIZE_T_CLEAN + #include "Python.h" + #ifndef Py_PYTHON_H diff --git a/devel/py-lxml/pkg-plist b/devel/py-lxml/pkg-plist index 555a0c03edd1..98a9475c357b 100644 --- a/devel/py-lxml/pkg-plist +++ b/devel/py-lxml/pkg-plist @@ -557,7 +557,7 @@ %%PORTDOCS%%%%DOCSDIR%%/doc/html/api/xml.etree.ElementTree.iterparse-class.html %%PORTDOCS%%%%DOCSDIR%%/doc/html/build.html %%PORTDOCS%%%%DOCSDIR%%/doc/html/capi.html -%%PORTDOCS%%%%DOCSDIR%%/doc/html/changes-2.3.2.html +%%PORTDOCS%%%%DOCSDIR%%/doc/html/changes-2.3.3.html %%PORTDOCS%%%%DOCSDIR%%/doc/html/compatibility.html %%PORTDOCS%%%%DOCSDIR%%/doc/html/credits.html %%PORTDOCS%%%%DOCSDIR%%/doc/html/cssselect.html @@ -598,6 +598,7 @@ %%PORTDOCS%%%%DOCSDIR%%/doc/mklatex.py %%PORTDOCS%%%%DOCSDIR%%/doc/objectify.txt %%PORTDOCS%%%%DOCSDIR%%/doc/parsing.txt +%%PORTDOCS%%%%DOCSDIR%%/doc/pdf/pubkey.asc %%PORTDOCS%%%%DOCSDIR%%/doc/performance.txt %%PORTDOCS%%%%DOCSDIR%%/doc/pubkey.asc %%PORTDOCS%%%%DOCSDIR%%/doc/resolvers.txt @@ -635,6 +636,7 @@ %%PORTDOCS%%@dirrm %%DOCSDIR%%/doc/s5/ui %%PORTDOCS%%@dirrm %%DOCSDIR%%/doc/s5/ep2008 %%PORTDOCS%%@dirrm %%DOCSDIR%%/doc/s5 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/doc/pdf %%PORTDOCS%%@dirrm %%DOCSDIR%%/doc/licenses %%PORTDOCS%%@dirrm %%DOCSDIR%%/doc/html/api %%PORTDOCS%%@dirrm %%DOCSDIR%%/doc/html -- cgit