Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Apr 2012 19:02:24 GMT
From:      Ruslan Mahmatkhanov <rm@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/166563: devel/py-lxml: update to 2.3.4
Message-ID:  <201204011902.q31J2O9f082427@red.freebsd.org>
Resent-Message-ID: <201204011910.q31JABHP019882@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         166563
>Category:       ports
>Synopsis:       devel/py-lxml: update to 2.3.4
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 01 19:10:10 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Ruslan Mahmatkhanov
>Release:        10.0-CURRENT
>Organization:
>Environment:
10.0-CURRENT amd64
>Description:
- update to 2.3.4
- strict versions of FreeBSD that needs xlocale patch (it builds fine w/o patch after OSVERSION >= 1000010)

changelog:
http://lxml.de/2.3/changes-2.3.4.html
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

? lxml-2.3.4.diff.txt
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/devel/py-lxml/Makefile,v
retrieving revision 1.24
diff -u -r1.24 Makefile
--- Makefile	15 Feb 2012 18:51:20 -0000	1.24
+++ Makefile	1 Apr 2012 18:58:45 -0000
@@ -5,7 +5,7 @@
 # $FreeBSD: ports/devel/py-lxml/Makefile,v 1.24 2012/02/15 18:51:20 rm Exp $
 
 PORTNAME=	lxml
-PORTVERSION=	2.3.3
+PORTVERSION=	2.3.4
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -22,6 +22,7 @@
 USE_PYTHON=	yes
 USE_PYDISTUTILS=	easy_install
 PYEASYINSTALL_ARCHDEP=	yes
+PLIST_SUB=	PORTVERSION=${PORTVERSION}
 
 DOCSDIR=	${PREFIX}/share/doc/py-${PORTNAME}
 
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/devel/py-lxml/distinfo,v
retrieving revision 1.18
diff -u -r1.18 distinfo
--- distinfo	15 Feb 2012 18:51:20 -0000	1.18
+++ distinfo	1 Apr 2012 18:58:45 -0000
@@ -1,2 +1,2 @@
-SHA256 (lxml-2.3.3.tar.gz) = 2a3ca34f63b062ee8e059ca2460ac18040ec9622f0a31e143383f0db944ceb36
-SIZE (lxml-2.3.3.tar.gz) = 3145451
+SHA256 (lxml-2.3.4.tar.gz) = ba7fe2974dc276dd1b83e1c407d66c7ad3ee64338f753d4f657afca96c49ba6c
+SIZE (lxml-2.3.4.tar.gz) = 3150931
Index: pkg-descr
===================================================================
RCS file: /home/pcvs/ports/devel/py-lxml/pkg-descr,v
retrieving revision 1.2
diff -u -r1.2 pkg-descr
--- pkg-descr	19 Oct 2011 20:44:43 -0000	1.2
+++ pkg-descr	1 Apr 2012 18:58:45 -0000
@@ -6,4 +6,4 @@
   * Safe (no segfaults).
   * No manual memory management!
 
-WWW: http://lxml.de
+WWW:	http://lxml.de/
Index: pkg-plist
===================================================================
RCS file: /home/pcvs/ports/devel/py-lxml/pkg-plist,v
retrieving revision 1.20
diff -u -r1.20 pkg-plist
--- pkg-plist	15 Feb 2012 18:51:20 -0000	1.20
+++ pkg-plist	1 Apr 2012 18:58:45 -0000
@@ -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.3.html
+%%PORTDOCS%%%%DOCSDIR%%/doc/html/changes-%%PORTVERSION%%.html
 %%PORTDOCS%%%%DOCSDIR%%/doc/html/compatibility.html
 %%PORTDOCS%%%%DOCSDIR%%/doc/html/credits.html
 %%PORTDOCS%%%%DOCSDIR%%/doc/html/cssselect.html
Index: files/patch-src-lxml_lxml.etree.c
===================================================================
RCS file: /home/pcvs/ports/devel/py-lxml/files/patch-src-lxml_lxml.etree.c,v
retrieving revision 1.1
diff -u -r1.1 patch-src-lxml_lxml.etree.c
--- files/patch-src-lxml_lxml.etree.c	15 Feb 2012 18:51:20 -0000	1.1
+++ files/patch-src-lxml_lxml.etree.c	1 Apr 2012 18:58:45 -0000
@@ -1,11 +1,11 @@
---- 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
+--- ./src/lxml/lxml.etree.c.orig	2012-03-26 14:31:59.000000000 +0400
++++ ./src/lxml/lxml.etree.c	2012-04-01 22:49:13.000000000 +0400
 @@ -1,5 +1,12 @@
- /* Generated by Cython 0.15.1 on Wed Jan  4 18:37:34 2012 */
+ /* Generated by Cython 0.15.1 on Mon Mar 26 12:31:57 2012 */
  
 +#if defined(__FreeBSD__)
 +#include <sys/param.h>
-+#if __FreeBSD_version >= 1000000
++#if (__FreeBSD_version >= 1000000 && __FreeBSD_version < 1000010)
 +#include <locale.h>
 +#endif
 +#endif


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201204011902.q31J2O9f082427>