pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/py-xml py-xml: convert to egg.mk



details:   https://anonhg.NetBSD.org/pkgsrc/rev/330fddf5ead5
branches:  trunk
changeset: 371573:330fddf5ead5
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Jan 10 20:55:50 2022 +0000

description:
py-xml: convert to egg.mk

diffstat:

 textproc/py-xml/Makefile |  11 ++++-------
 textproc/py-xml/PLIST    |   3 +--
 2 files changed, 5 insertions(+), 9 deletions(-)

diffs (56 lines):

diff -r 44ffa24eefcb -r 330fddf5ead5 textproc/py-xml/Makefile
--- a/textproc/py-xml/Makefile  Mon Jan 10 20:55:32 2022 +0000
+++ b/textproc/py-xml/Makefile  Mon Jan 10 20:55:50 2022 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.34 2019/11/04 21:43:46 rillig Exp $
+# $NetBSD: Makefile,v 1.35 2022/01/10 20:55:50 wiz Exp $
 
 DISTNAME=      PyXML-0.8.4
 PKGNAME=       ${PYPKGPREFIX}-xml-0.8.4
-PKGREVISION=   5
+PKGREVISION=   6
 CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=pyxml/}
 
@@ -12,11 +12,9 @@
 
 CONFLICTS+=    PyXML-[0-9]*
 
-BUILDLINK_API_DEPENDS.expat+=  expat>=1.95.6
 PYSETUPBUILDARGS+=             --with-libexpat=${BUILDLINK_DIR}
 PYSETUPBUILDARGS+=             --ldflags="${EXPAT_LDFLAGS}"
 EXPAT_LDFLAGS=                 ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.expat}/lib
-FIX_RPATH+=                    EXPAT_LDFLAGS
 
 PYTHON_VERSIONS_ACCEPTED=      27 # dead upstream, no plans of porting
 
@@ -25,15 +23,14 @@
 
 REPLACE_PYTHON+=       xml/dom/ext/c14n.py
 REPLACE_PYTHON+=       xml/dom/html/GenerateHtml.py
+REPLACE_PYTHON+=       ${PYXML_SCRIPTS:S/$/${PYVERSSUFFIX}/g}
 
 post-extract:
 .for s in ${PYXML_SCRIPTS}
        ${MV} ${WRKSRC}/${s} ${WRKSRC}/${s}${PYVERSSUFFIX}
 .endfor
 
-REPLACE_PYTHON=        ${PYXML_SCRIPTS:S/$/${PYVERSSUFFIX}/g}
-
 .include "../../textproc/expat/buildlink3.mk"
-.include "../../lang/python/distutils.mk"
+.include "../../lang/python/egg.mk"
 .include "../../lang/python/application.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 44ffa24eefcb -r 330fddf5ead5 textproc/py-xml/PLIST
--- a/textproc/py-xml/PLIST     Mon Jan 10 20:55:32 2022 +0000
+++ b/textproc/py-xml/PLIST     Mon Jan 10 20:55:50 2022 +0000
@@ -1,7 +1,6 @@
-@comment $NetBSD: PLIST,v 1.5 2012/04/08 20:21:58 wiz Exp $
+@comment $NetBSD: PLIST,v 1.6 2022/01/10 20:55:50 wiz Exp $
 bin/xmlproc_parse${PYVERSSUFFIX}
 bin/xmlproc_val${PYVERSSUFFIX}
-${PYSITELIB}/${EGG_FILE}
 ${PYSITELIB}/_xmlplus/FtCore.py
 ${PYSITELIB}/_xmlplus/FtCore.pyc
 ${PYSITELIB}/_xmlplus/FtCore.pyo



Home | Main Index | Thread Index | Old Index