pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/py-lxml For reasons unknown, the Solarish bui...
details: https://anonhg.NetBSD.org/pkgsrc/rev/7b6574ce5f52
branches: trunk
changeset: 372993:7b6574ce5f52
user: hauke <hauke%pkgsrc.org@localhost>
date: Fri Feb 04 11:28:49 2022 +0000
description:
For reasons unknown, the Solarish build (OmniOSCE here) installs one
file less than the others. Tweak the PLIST generation to make it so.
diffstat:
textproc/py-lxml/Makefile | 15 +++++++++++++--
textproc/py-lxml/PLIST | 4 ++--
2 files changed, 15 insertions(+), 4 deletions(-)
diffs (54 lines):
diff -r e6c9c57dbedd -r 7b6574ce5f52 textproc/py-lxml/Makefile
--- a/textproc/py-lxml/Makefile Fri Feb 04 11:06:58 2022 +0000
+++ b/textproc/py-lxml/Makefile Fri Feb 04 11:28:49 2022 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.79 2022/01/04 20:54:58 wiz Exp $
+# $NetBSD: Makefile,v 1.80 2022/02/04 11:28:49 hauke Exp $
DISTNAME= lxml-4.7.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=l/lxml/}
@@ -14,10 +14,21 @@
TEST_DEPENDS+= ${PYPKGPREFIX}-cElementTree-[0-9]*:../../textproc/py-cElementTree
TEST_DEPENDS+= ${PYPKGPREFIX}-cssselect>=0.7:../../textproc/py-cssselect
+.include "../../mk/bsd.prefs.mk"
+
+PLIST_VARS+= nosunos
+.if ${OPSYS} != "SunOS"
+PLIST.nosunos= yes
+.endif
+
PYSETUPTESTARGS= --run-tests
.include "../../devel/zlib/buildlink3.mk"
+
.include "../../lang/python/egg.mk"
+# Needs to happen after the PYSITELIB substitution to prefix the line
+PRINT_PLIST_AWK+= { gsub(/.*\/iso_schematron_skeleton_for_xslt1\.xsl$$/, "$${PLIST.nosunos}&"); }
+
BUILDLINK_API_DEPENDS.libxml2+= libxml2>=2.9.12
.include "../../textproc/libxml2/buildlink3.mk"
BUILDLINK_API_DEPENDS.libxslt+= libxslt>=1.1.34
diff -r e6c9c57dbedd -r 7b6574ce5f52 textproc/py-lxml/PLIST
--- a/textproc/py-lxml/PLIST Fri Feb 04 11:06:58 2022 +0000
+++ b/textproc/py-lxml/PLIST Fri Feb 04 11:28:49 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.12 2019/01/04 21:50:31 adam Exp $
+@comment $NetBSD: PLIST,v 1.13 2022/02/04 11:28:49 hauke Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -99,7 +99,7 @@
${PYSITELIB}/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_abstract_expand.xsl
${PYSITELIB}/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_dsdl_include.xsl
${PYSITELIB}/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_message.xsl
-${PYSITELIB}/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_skeleton_for_xslt1.xsl
+${PLIST.nosunos}${PYSITELIB}/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_skeleton_for_xslt1.xsl
${PYSITELIB}/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_svrl_for_xslt1.xsl
${PYSITELIB}/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt
${PYSITELIB}/lxml/lxml.etree.h
Home |
Main Index |
Thread Index |
Old Index