[Midnightbsd-cvs] mports [19689] trunk/devel: add py-lxml port
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sat Aug 8 00:32:59 EDT 2015
Revision: 19689
http://svnweb.midnightbsd.org/mports/?rev=19689
Author: laffer1
Date: 2015-08-08 00:32:58 -0400 (Sat, 08 Aug 2015)
Log Message:
-----------
add py-lxml port
Modified Paths:
--------------
trunk/devel/Makefile
Added Paths:
-----------
trunk/devel/py-lxml/
trunk/devel/py-lxml/Makefile
trunk/devel/py-lxml/distinfo
trunk/devel/py-lxml/files/
trunk/devel/py-lxml/files/patch-src-lxml_lxml.etree.c
trunk/devel/py-lxml/pkg-descr
Modified: trunk/devel/Makefile
===================================================================
--- trunk/devel/Makefile 2015-08-08 04:30:53 UTC (rev 19688)
+++ trunk/devel/Makefile 2015-08-08 04:32:58 UTC (rev 19689)
@@ -400,6 +400,7 @@
SUBDIR += py-gobject
SUBDIR += py-gobject3
SUBDIR += py-isodate
+SUBDIR += py-lxml
SUBDIR += py-notify
SUBDIR += py-orbit
SUBDIR += py-parsing
Added: trunk/devel/py-lxml/Makefile
===================================================================
--- trunk/devel/py-lxml/Makefile (rev 0)
+++ trunk/devel/py-lxml/Makefile 2015-08-08 04:32:58 UTC (rev 19689)
@@ -0,0 +1,34 @@
+# Created by: Robert Gogolok <gogo at cs.uni-sb.de>
+# $MidnightBSD$
+# $FreeBSD: head/devel/py-lxml/Makefile 377589 2015-01-21 12:16:36Z wg $
+
+PORTNAME= lxml
+PORTVERSION= 3.4.1
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= ports at MidnightBSD.org
+COMMENT= Pythonic binding for the libxml2 and libxslt libraries
+
+LICENSE= bsd3
+
+LIB_DEPENDS= libxml2.so:${PORTSDIR}/textproc/libxml2 \
+ libxslt.so:${PORTSDIR}/textproc/libxslt
+
+USES= python uniquefiles:dirs
+USE_PYTHON= autoplist concurrent distutils
+
+LDFLAGS+= -Wl,-rpath=${LOCALBASE}/lib
+
+DOCS_FILES= CHANGES.txt CREDITS.txt TODO.txt README.rst
+PORTDOCS= *
+
+OPTIONS_DEFINE= DOCS
+
+post-install:
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_MAN} ${DOCS_FILES:S,^,${WRKSRC}/,} ${DOCSDIR}
+ @cd ${WRKSRC} && ${COPYTREE_SHARE} doc ${DOCSDIR}
+
+.include <bsd.port.mk>
Property changes on: trunk/devel/py-lxml/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/py-lxml/distinfo
===================================================================
--- trunk/devel/py-lxml/distinfo (rev 0)
+++ trunk/devel/py-lxml/distinfo 2015-08-08 04:32:58 UTC (rev 19689)
@@ -0,0 +1,2 @@
+SHA256 (lxml-3.4.1.tar.gz) = 069594837d0376a1bacf5cc42aa9a1be2e1c1396dc62f7d07f7358afecd34adf
+SIZE (lxml-3.4.1.tar.gz) = 3524523
Property changes on: trunk/devel/py-lxml/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/py-lxml/files/patch-src-lxml_lxml.etree.c
===================================================================
--- trunk/devel/py-lxml/files/patch-src-lxml_lxml.etree.c (rev 0)
+++ trunk/devel/py-lxml/files/patch-src-lxml_lxml.etree.c 2015-08-08 04:32:58 UTC (rev 19689)
@@ -0,0 +1,15 @@
+--- ./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 Mon Mar 26 12:31:57 2012 */
+
++#if defined(__FreeBSD__)
++#include <sys/param.h>
++#if (__FreeBSD_version >= 1000000 && __FreeBSD_version < 1000010)
++#include <locale.h>
++#endif
++#endif
++
+ #define PY_SSIZE_T_CLEAN
+ #include "Python.h"
+ #ifndef Py_PYTHON_H
Property changes on: trunk/devel/py-lxml/files/patch-src-lxml_lxml.etree.c
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/py-lxml/pkg-descr
===================================================================
--- trunk/devel/py-lxml/pkg-descr (rev 0)
+++ trunk/devel/py-lxml/pkg-descr 2015-08-08 04:32:58 UTC (rev 19689)
@@ -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://lxml.de
Property changes on: trunk/devel/py-lxml/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
More information about the Midnightbsd-cvs
mailing list