pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/py-lxml Roll back the previous commit.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/62fe7ea7582a
branches:  trunk
changeset: 373011:62fe7ea7582a
user:      hauke <hauke%pkgsrc.org@localhost>
date:      Fri Feb 04 15:18:18 2022 +0000

description:
Roll back the previous commit.

The default tar extractor silently skipped the missing file

./src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_skeleton_for_xslt1.xsl

and after switching to gtar as extractor the package builds correctly.

diffstat:

 textproc/py-lxml/Makefile |  18 +++++-------------
 textproc/py-lxml/PLIST    |   4 ++--
 2 files changed, 7 insertions(+), 15 deletions(-)

diffs (60 lines):

diff -r 3969cd0f7a4c -r 62fe7ea7582a textproc/py-lxml/Makefile
--- a/textproc/py-lxml/Makefile Fri Feb 04 13:49:26 2022 +0000
+++ b/textproc/py-lxml/Makefile Fri Feb 04 15:18:18 2022 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.80 2022/02/04 11:28:49 hauke Exp $
+# $NetBSD: Makefile,v 1.81 2022/02/04 15:18:18 hauke Exp $
 
 DISTNAME=      lxml-4.7.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=l/lxml/}
 
@@ -11,24 +11,16 @@
 COMMENT=       Python binding for libxml2 and libxslt
 LICENSE=       modified-bsd
 
+# Path too long for libarchive tar?
+EXTRACT_USING= gtar
+
 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 3969cd0f7a4c -r 62fe7ea7582a textproc/py-lxml/PLIST
--- a/textproc/py-lxml/PLIST    Fri Feb 04 13:49:26 2022 +0000
+++ b/textproc/py-lxml/PLIST    Fri Feb 04 15:18:18 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.13 2022/02/04 11:28:49 hauke Exp $
+@comment $NetBSD: PLIST,v 1.14 2022/02/04 15:18:18 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
-${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_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