[Midnightbsd-cvs] mports [20858] trunk/textproc: make a python 3 version of libxml2 library
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Fri Nov 13 19:25:43 EST 2015
Revision: 20858
http://svnweb.midnightbsd.org/mports/?rev=20858
Author: laffer1
Date: 2015-11-13 19:25:42 -0500 (Fri, 13 Nov 2015)
Log Message:
-----------
make a python 3 version of libxml2 library
Modified Paths:
--------------
trunk/textproc/Makefile
Added Paths:
-----------
trunk/textproc/py3-libxml2/
trunk/textproc/py3-libxml2/Makefile
trunk/textproc/py3-libxml2/pkg-descr
Modified: trunk/textproc/Makefile
===================================================================
--- trunk/textproc/Makefile 2015-11-14 00:19:59 UTC (rev 20857)
+++ trunk/textproc/Makefile 2015-11-14 00:25:42 UTC (rev 20858)
@@ -162,6 +162,7 @@
SUBDIR += py-sphinx
SUBDIR += py-sphinx_rtd_theme
SUBDIR += py-xml
+SUBDIR += py3-libxml2
SUBDIR += qt4-xml
SUBDIR += qt4-xmlpatterns
SUBDIR += qt4-xmlpatterns-tool
Added: trunk/textproc/py3-libxml2/Makefile
===================================================================
--- trunk/textproc/py3-libxml2/Makefile (rev 0)
+++ trunk/textproc/py3-libxml2/Makefile 2015-11-14 00:25:42 UTC (rev 20858)
@@ -0,0 +1,33 @@
+# $MidnightBSD$
+
+CATEGORIES= textproc gnome python
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= ports at MidnightBSD.org
+COMMENT= Python interface for XML parser library for GNOME
+
+MASTERDIR= ${.CURDIR}/../libxml2
+BUILD_WRKSRC= ${WRKSRC}/python
+INSTALL_WRKSRC= ${BUILD_WRKSRC}
+DESCR= ${.CURDIR}/pkg-descr
+PLIST= ${.CURDIR}/pkg-plist
+
+USE_GNOME+= libxml2
+USES= python:3
+USE_PYTHON= autoplist distutils
+
+PYTHON_VERSION= python3.3
+CPPFLAGS+= `${PYTHON_VERSION}-config --cflags`
+LDFLAGS+= -L${LOCALBASE}/lib `${PYTHON_VERSION}-config --libs`
+CONFIGURE_ARGS= --with-iconv=${ICONV_PREFIX} \
+ --with-html-dir=${PREFIX}/share/doc \
+ --with-html-subdir=${PORTNAME} \
+ --with-python=${PYTHON_CMD}
+
+DOCSDIR= ${PREFIX}/share/doc/py-libxml2
+EXAMPLESDIR= ${PREFIX}/share/examples/py-libxml2
+
+post-install:
+ @${STRIP_CMD} ${FAKE_DESTDIR}${PYTHON_SITELIBDIR}/libxml2mod.so
+
+.include "${MASTERDIR}/Makefile"
Property changes on: trunk/textproc/py3-libxml2/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/textproc/py3-libxml2/pkg-descr
===================================================================
--- trunk/textproc/py3-libxml2/pkg-descr (rev 0)
+++ trunk/textproc/py3-libxml2/pkg-descr 2015-11-14 00:25:42 UTC (rev 20858)
@@ -0,0 +1,3 @@
+Python interface for XML parser library for GNOME
+
+WWW: http://xmlsoft.org/
Property changes on: trunk/textproc/py3-libxml2/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