Date: Tue, 13 May 2014 20:35:03 +0000 (UTC) From: Koop Mast <kwm@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r353990 - in head/textproc: . py3-libxml2 Message-ID: <201405132035.s4DKZ3jT080715@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kwm Date: Tue May 13 20:35:02 2014 New Revision: 353990 URL: http://svnweb.freebsd.org/changeset/ports/353990 QAT: https://qat.redports.org/buildarchive/r353990/ Log: Add python3 version of the libxml2 python bindings. Added: head/textproc/py3-libxml2/ - copied from r353964, head/textproc/py-libxml2/ Modified: head/textproc/Makefile head/textproc/py3-libxml2/Makefile head/textproc/py3-libxml2/pkg-plist Modified: head/textproc/Makefile ============================================================================== --- head/textproc/Makefile Tue May 13 20:32:00 2014 (r353989) +++ head/textproc/Makefile Tue May 13 20:35:02 2014 (r353990) @@ -1209,6 +1209,7 @@ SUBDIR += py-zope.tal SUBDIR += py-zpt SUBDIR += py2html + SUBDIR += py3-libxml2 SUBDIR += pychm SUBDIR += pystemmer SUBDIR += qprint Modified: head/textproc/py3-libxml2/Makefile ============================================================================== --- head/textproc/py-libxml2/Makefile Tue May 13 15:22:06 2014 (r353964) +++ head/textproc/py3-libxml2/Makefile Tue May 13 20:35:02 2014 (r353990) @@ -1,7 +1,8 @@ # Created by: Alexander Nedotsukov <bland@FreeBSD.org> # $FreeBSD$ +# $MCom: ports/trunk/textproc/py3-libxml2/Makefile 19293 2014-03-24 20:46:10Z kwm $ -PORTREVISION= 2 +PORTREVISION= 0 CATEGORIES= textproc gnome python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -15,8 +16,11 @@ DESCR= ${.CURDIR}/pkg-descr PLIST= ${.CURDIR}/pkg-plist USE_GNOME+= libxml2 -USE_PYTHON= 2 -USES= iconv +USE_PYTHON= 3 +USE_PYDISTUTILS=yes +PYDISTUTILS_EGGINFO= libxml2_python-${PORTVERSION}-py${PYTHON_VER}.egg-info +PLIST_SUB+= PYTVER=${PYTHON_VER:S/.//} + CPPFLAGS+= `${PYTHON_VERSION}-config --cflags` LDFLAGS+= -L${LOCALBASE}/lib `${PYTHON_VERSION}-config --libs` CONFIGURE_ARGS= --with-iconv=${ICONV_PREFIX} \ @@ -28,8 +32,6 @@ DOCSDIR= ${PREFIX}/share/doc/py-libxml2 EXAMPLESDIR= ${PREFIX}/share/examples/py-libxml2 post-install: - @cd ${STAGEDIR}${PREFIX} && ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py -d ${PYTHONPREFIX_SITELIBDIR} -f ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;} - @cd ${STAGEDIR}${PREFIX} && ${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py -d ${PYTHONPREFIX_SITELIBDIR} -f ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;} @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/libxml2mod.so .include "${MASTERDIR}/Makefile" Modified: head/textproc/py3-libxml2/pkg-plist ============================================================================== --- head/textproc/py-libxml2/pkg-plist Tue May 13 15:22:06 2014 (r353964) +++ head/textproc/py3-libxml2/pkg-plist Tue May 13 20:35:02 2014 (r353990) @@ -1,62 +1,9 @@ +%%PYTHON_SITELIBDIR%%/__pycache__/drv_libxml2.cpython-%%PYTVER%%.pyc +%%PYTHON_SITELIBDIR%%/__pycache__/drv_libxml2.cpython-%%PYTVER%%.pyo +%%PYTHON_SITELIBDIR%%/__pycache__/libxml2.cpython-%%PYTVER%%.pyc +%%PYTHON_SITELIBDIR%%/__pycache__/libxml2.cpython-%%PYTVER%%.pyo %%PYTHON_SITELIBDIR%%/drv_libxml2.py -%%PYTHON_SITELIBDIR%%/drv_libxml2.pyc -%%PYTHON_SITELIBDIR%%/drv_libxml2.pyo %%PYTHON_SITELIBDIR%%/libxml2.py -%%PYTHON_SITELIBDIR%%/libxml2.pyc -%%PYTHON_SITELIBDIR%%/libxml2.pyo -%%PYTHON_SITELIBDIR%%/libxml2mod.a -%%PYTHON_SITELIBDIR%%/libxml2mod.la %%PYTHON_SITELIBDIR%%/libxml2mod.so -%%DOCSDIR%%/TODO -%%EXAMPLESDIR%%/attribs.py -%%EXAMPLESDIR%%/build.py -%%EXAMPLESDIR%%/compareNodes.py -%%EXAMPLESDIR%%/ctxterror.py -%%EXAMPLESDIR%%/cutnpaste.py -%%EXAMPLESDIR%%/dtdvalid.py -%%EXAMPLESDIR%%/error.py -%%EXAMPLESDIR%%/inbuf.py -%%EXAMPLESDIR%%/indexes.py -%%EXAMPLESDIR%%/invalid.xml -%%EXAMPLESDIR%%/nsdel.py -%%EXAMPLESDIR%%/outbuf.py -%%EXAMPLESDIR%%/push.py -%%EXAMPLESDIR%%/pushSAX.py -%%EXAMPLESDIR%%/pushSAXhtml.py -%%EXAMPLESDIR%%/reader.py -%%EXAMPLESDIR%%/reader2.py -%%EXAMPLESDIR%%/reader3.py -%%EXAMPLESDIR%%/reader4.py -%%EXAMPLESDIR%%/reader5.py -%%EXAMPLESDIR%%/reader6.py -%%EXAMPLESDIR%%/reader7.py -%%EXAMPLESDIR%%/reader8.py -%%EXAMPLESDIR%%/readererr.py -%%EXAMPLESDIR%%/readernext.py -%%EXAMPLESDIR%%/regexp.py -%%EXAMPLESDIR%%/relaxng.py -%%EXAMPLESDIR%%/resolver.py -%%EXAMPLESDIR%%/schema.py -%%EXAMPLESDIR%%/serialize.py -%%EXAMPLESDIR%%/sync.py -%%EXAMPLESDIR%%/test.dtd -%%EXAMPLESDIR%%/thread2.py -%%EXAMPLESDIR%%/tst.py -%%EXAMPLESDIR%%/tst.xml -%%EXAMPLESDIR%%/tstLastError.py -%%EXAMPLESDIR%%/tstURI.py -%%EXAMPLESDIR%%/tstmem.py -%%EXAMPLESDIR%%/tstxpath.py -%%EXAMPLESDIR%%/valid.xml -%%EXAMPLESDIR%%/validDTD.py -%%EXAMPLESDIR%%/validRNG.py -%%EXAMPLESDIR%%/validSchemas.py -%%EXAMPLESDIR%%/validate.py -%%EXAMPLESDIR%%/walker.py -%%EXAMPLESDIR%%/xpath.py -%%EXAMPLESDIR%%/xpathext.py -%%EXAMPLESDIR%%/xpathleak.py -%%EXAMPLESDIR%%/xpathns.py -%%EXAMPLESDIR%%/xpathret.py -@dirrm %%EXAMPLESDIR%% -@dirrm %%DOCSDIR%% +@dirrmtry %%PYTHON_SITELIBDIR%%/__pycache__ +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405132035.s4DKZ3jT080715>