pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc/py-libxml2



Module Name:    pkgsrc
Committed By:   wiz
Date:           Thu Feb 19 15:12:09 UTC 2026

Modified Files:
        pkgsrc/textproc/py-libxml2: Makefile PLIST

Log Message:
py-libxml2: update to 2.15.1.

to match libxml2.


To generate a diff of this commit:
cvs rdiff -u -r1.108 -r1.109 pkgsrc/textproc/py-libxml2/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/textproc/py-libxml2/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/py-libxml2/Makefile
diff -u pkgsrc/textproc/py-libxml2/Makefile:1.108 pkgsrc/textproc/py-libxml2/Makefile:1.109
--- pkgsrc/textproc/py-libxml2/Makefile:1.108   Wed Jan  7 08:49:07 2026
+++ pkgsrc/textproc/py-libxml2/Makefile Thu Feb 19 15:12:09 2026
@@ -1,8 +1,5 @@
-# $NetBSD: Makefile,v 1.108 2026/01/07 08:49:07 wiz Exp $
+# $NetBSD: Makefile,v 1.109 2026/02/19 15:12:09 wiz Exp $
 
-PYTHON_27_ACCEPTED=    yes
-
-PKGREVISION= 1
 .include "../../textproc/libxml2/Makefile.common"
 
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -12,10 +9,25 @@ LICENSE=     modified-bsd
 
 USE_GCC_RUNTIME=       yes
 
-PYSETUPSUBDIR= python
-GNU_CONFIGURE= yes
+PYSETUPSUBDIR=         python
+GNU_CONFIGURE=         yes
 GNU_CONFIGURE_ICONV=   no
-USE_TOOLS+=    pkg-config
+USE_TOOLS+=            pkg-config
+
+# needed for Python bindings
+CONFIGURE_ARGS+=       --with-docs
+
+TOOL_DEPENDS+= doxygen-[0-9]*:../../devel/doxygen
+TOOL_DEPENDS+= docbook-xsl-[0-9]*:../../textproc/docbook-xsl
+TOOL_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+
+MAKE_ENV+=     PYTHONPATH=${WRKSRC}/python
+
+WHEEL_NAME=    ${DISTNAME:S/-/_python-/}
+
+pre-build:
+       cd ${WRKSRC}/doc && ${SETENV} ${MAKE_ENV} ${MAKE}
 
 # python/setup.py looks in various places for libxml2 and libiconv,
 # including (usually incorrectly) in /usr/include, /usr/local/include
@@ -54,10 +66,8 @@ fix-darwin-install-name:
                ${DESTDIR}${PREFIX}/${PYSITELIB}/libxml2mod.so
 .endif
 
-EGG_NAME=      ${DISTNAME:S/-/_python-/}
-
 .include "../../lang/python/batteries-included.mk"
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../converters/libiconv/buildlink3.mk"
 BUILDLINK_API_DEPENDS.libxml2+=        libxml2>=${PKGVERSION_NOREV}
 .include "../../textproc/libxml2/buildlink3.mk"

Index: pkgsrc/textproc/py-libxml2/PLIST
diff -u pkgsrc/textproc/py-libxml2/PLIST:1.8 pkgsrc/textproc/py-libxml2/PLIST:1.9
--- pkgsrc/textproc/py-libxml2/PLIST:1.8        Sat Mar 12 12:36:21 2022
+++ pkgsrc/textproc/py-libxml2/PLIST    Thu Feb 19 15:12:09 2026
@@ -1,12 +1,12 @@
-@comment $NetBSD: PLIST,v 1.8 2022/03/12 12:36:21 tnn Exp $
+@comment $NetBSD: PLIST,v 1.9 2026/02/19 15:12:09 wiz Exp $
 ${PYSITELIB}/drv_libxml2.py
 ${PYSITELIB}/drv_libxml2.pyc
 ${PYSITELIB}/drv_libxml2.pyo
 ${PYSITELIB}/libxml2.py
 ${PYSITELIB}/libxml2.pyc
 ${PYSITELIB}/libxml2.pyo
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/libxml2mod.so



Home | Main Index | Thread Index | Old Index