pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/textproc/py27-lxml
Module Name: pkgsrc
Committed By: wiz
Date: Sun Jan 14 09:41:18 UTC 2024
Added Files:
pkgsrc/textproc/py27-lxml: DESCR Makefile PLIST distinfo
pkgsrc/textproc/py27-lxml/patches: patch-setupinfo.py
Log Message:
textproc/py27-lxml: import py27-lxml-5.0.1
lxml is a Pythonic binding for the libxml2 and libxslt libraries.
It is unique in that it combines the speed and feature completeness
of these libraries with the simplicity of a native Python API,
mostly compatible but superior to the well-known ElementTree API.
This package contains the last version supporting Python 2.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/py27-lxml/DESCR \
pkgsrc/textproc/py27-lxml/Makefile pkgsrc/textproc/py27-lxml/PLIST \
pkgsrc/textproc/py27-lxml/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/py27-lxml/patches/patch-setupinfo.py
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/textproc/py27-lxml/DESCR
diff -u /dev/null pkgsrc/textproc/py27-lxml/DESCR:1.1
--- /dev/null Sun Jan 14 09:41:18 2024
+++ pkgsrc/textproc/py27-lxml/DESCR Sun Jan 14 09:41:17 2024
@@ -0,0 +1,6 @@
+lxml is a Pythonic binding for the libxml2 and libxslt libraries.
+It is unique in that it combines the speed and feature completeness
+of these libraries with the simplicity of a native Python API,
+mostly compatible but superior to the well-known ElementTree API.
+
+This package contains the last version supporting Python 2.
Index: pkgsrc/textproc/py27-lxml/Makefile
diff -u /dev/null pkgsrc/textproc/py27-lxml/Makefile:1.1
--- /dev/null Sun Jan 14 09:41:18 2024
+++ pkgsrc/textproc/py27-lxml/Makefile Sun Jan 14 09:41:18 2024
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1 2024/01/14 09:41:18 wiz Exp $
+
+DISTNAME= lxml-5.0.1
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= textproc python
+MASTER_SITES= ${MASTER_SITE_PYPI:=l/lxml/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://lxml.de/
+COMMENT= Python binding for libxml2 and libxslt
+LICENSE= modified-bsd
+
+#TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=0:../../devel/py-setuptools
+#TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel>=0:../../devel/py-wheel
+TEST_DEPENDS+= ${PYPKGPREFIX}-cssselect>=0.7:../../textproc/py-cssselect
+
+USE_CC_FEATURES= c99
+
+PYTHON_VERSIONS_ACCEPTED= 27
+
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../lang/python/batteries-included.mk"
+.include "../../lang/python/egg.mk"
+BUILDLINK_API_DEPENDS.libxml2+= libxml2>=2.9.12
+.include "../../textproc/libxml2/buildlink3.mk"
+BUILDLINK_API_DEPENDS.libxslt+= libxslt>=1.1.34
+.include "../../textproc/libxslt/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
+# fix for UnicodeEncodeError: 'ascii' codec can't encode characters
+TEST_ENV+= LC_ALL=en_US.UTF-8
Index: pkgsrc/textproc/py27-lxml/PLIST
diff -u /dev/null pkgsrc/textproc/py27-lxml/PLIST:1.1
--- /dev/null Sun Jan 14 09:41:18 2024
+++ pkgsrc/textproc/py27-lxml/PLIST Sun Jan 14 09:41:18 2024
@@ -0,0 +1,145 @@
+@comment $NetBSD: PLIST,v 1.1 2024/01/14 09:41:18 wiz Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/lxml/ElementInclude.py
+${PYSITELIB}/lxml/ElementInclude.pyc
+${PYSITELIB}/lxml/ElementInclude.pyo
+${PYSITELIB}/lxml/__init__.py
+${PYSITELIB}/lxml/__init__.pyc
+${PYSITELIB}/lxml/__init__.pyo
+${PYSITELIB}/lxml/_elementpath.py
+${PYSITELIB}/lxml/_elementpath.pyc
+${PYSITELIB}/lxml/_elementpath.pyo
+${PYSITELIB}/lxml/_elementpath.so
+${PYSITELIB}/lxml/apihelpers.pxi
+${PYSITELIB}/lxml/builder.py
+${PYSITELIB}/lxml/builder.pyc
+${PYSITELIB}/lxml/builder.pyo
+${PYSITELIB}/lxml/builder.so
+${PYSITELIB}/lxml/classlookup.pxi
+${PYSITELIB}/lxml/cleanup.pxi
+${PYSITELIB}/lxml/cssselect.py
+${PYSITELIB}/lxml/cssselect.pyc
+${PYSITELIB}/lxml/cssselect.pyo
+${PYSITELIB}/lxml/debug.pxi
+${PYSITELIB}/lxml/docloader.pxi
+${PYSITELIB}/lxml/doctestcompare.py
+${PYSITELIB}/lxml/doctestcompare.pyc
+${PYSITELIB}/lxml/doctestcompare.pyo
+${PYSITELIB}/lxml/dtd.pxi
+${PYSITELIB}/lxml/etree.h
+${PYSITELIB}/lxml/etree.pyx
+${PYSITELIB}/lxml/etree.so
+${PYSITELIB}/lxml/etree_api.h
+${PYSITELIB}/lxml/extensions.pxi
+${PYSITELIB}/lxml/html/ElementSoup.py
+${PYSITELIB}/lxml/html/ElementSoup.pyc
+${PYSITELIB}/lxml/html/ElementSoup.pyo
+${PYSITELIB}/lxml/html/__init__.py
+${PYSITELIB}/lxml/html/__init__.pyc
+${PYSITELIB}/lxml/html/__init__.pyo
+${PYSITELIB}/lxml/html/_diffcommand.py
+${PYSITELIB}/lxml/html/_diffcommand.pyc
+${PYSITELIB}/lxml/html/_diffcommand.pyo
+${PYSITELIB}/lxml/html/_html5builder.py
+${PYSITELIB}/lxml/html/_html5builder.pyc
+${PYSITELIB}/lxml/html/_html5builder.pyo
+${PYSITELIB}/lxml/html/_setmixin.py
+${PYSITELIB}/lxml/html/_setmixin.pyc
+${PYSITELIB}/lxml/html/_setmixin.pyo
+${PYSITELIB}/lxml/html/builder.py
+${PYSITELIB}/lxml/html/builder.pyc
+${PYSITELIB}/lxml/html/builder.pyo
+${PYSITELIB}/lxml/html/clean.py
+${PYSITELIB}/lxml/html/clean.pyc
+${PYSITELIB}/lxml/html/clean.pyo
+${PYSITELIB}/lxml/html/clean.so
+${PYSITELIB}/lxml/html/defs.py
+${PYSITELIB}/lxml/html/defs.pyc
+${PYSITELIB}/lxml/html/defs.pyo
+${PYSITELIB}/lxml/html/diff.py
+${PYSITELIB}/lxml/html/diff.pyc
+${PYSITELIB}/lxml/html/diff.pyo
+${PYSITELIB}/lxml/html/diff.so
+${PYSITELIB}/lxml/html/formfill.py
+${PYSITELIB}/lxml/html/formfill.pyc
+${PYSITELIB}/lxml/html/formfill.pyo
+${PYSITELIB}/lxml/html/html5parser.py
+${PYSITELIB}/lxml/html/html5parser.pyc
+${PYSITELIB}/lxml/html/html5parser.pyo
+${PYSITELIB}/lxml/html/soupparser.py
+${PYSITELIB}/lxml/html/soupparser.pyc
+${PYSITELIB}/lxml/html/soupparser.pyo
+${PYSITELIB}/lxml/html/usedoctest.py
+${PYSITELIB}/lxml/html/usedoctest.pyc
+${PYSITELIB}/lxml/html/usedoctest.pyo
+${PYSITELIB}/lxml/includes/__init__.pxd
+${PYSITELIB}/lxml/includes/__init__.py
+${PYSITELIB}/lxml/includes/__init__.pyc
+${PYSITELIB}/lxml/includes/__init__.pyo
+${PYSITELIB}/lxml/includes/c14n.pxd
+${PYSITELIB}/lxml/includes/config.pxd
+${PYSITELIB}/lxml/includes/dtdvalid.pxd
+${PYSITELIB}/lxml/includes/etree_defs.h
+${PYSITELIB}/lxml/includes/etreepublic.pxd
+${PYSITELIB}/lxml/includes/htmlparser.pxd
+${PYSITELIB}/lxml/includes/lxml-version.h
+${PYSITELIB}/lxml/includes/relaxng.pxd
+${PYSITELIB}/lxml/includes/schematron.pxd
+${PYSITELIB}/lxml/includes/tree.pxd
+${PYSITELIB}/lxml/includes/uri.pxd
+${PYSITELIB}/lxml/includes/xinclude.pxd
+${PYSITELIB}/lxml/includes/xmlerror.pxd
+${PYSITELIB}/lxml/includes/xmlparser.pxd
+${PYSITELIB}/lxml/includes/xmlschema.pxd
+${PYSITELIB}/lxml/includes/xpath.pxd
+${PYSITELIB}/lxml/includes/xslt.pxd
+${PYSITELIB}/lxml/isoschematron/__init__.py
+${PYSITELIB}/lxml/isoschematron/__init__.pyc
+${PYSITELIB}/lxml/isoschematron/__init__.pyo
+${PYSITELIB}/lxml/isoschematron/resources/rng/iso-schematron.rng
+${PYSITELIB}/lxml/isoschematron/resources/xsl/RNG2Schtrn.xsl
+${PYSITELIB}/lxml/isoschematron/resources/xsl/XSD2Schtrn.xsl
+${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
+${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/iterparse.pxi
+${PYSITELIB}/lxml/lxml.etree.h
+${PYSITELIB}/lxml/lxml.etree_api.h
+${PYSITELIB}/lxml/nsclasses.pxi
+${PYSITELIB}/lxml/objectify.pyx
+${PYSITELIB}/lxml/objectify.so
+${PYSITELIB}/lxml/objectpath.pxi
+${PYSITELIB}/lxml/parser.pxi
+${PYSITELIB}/lxml/parsertarget.pxi
+${PYSITELIB}/lxml/proxy.pxi
+${PYSITELIB}/lxml/public-api.pxi
+${PYSITELIB}/lxml/pyclasslookup.py
+${PYSITELIB}/lxml/pyclasslookup.pyc
+${PYSITELIB}/lxml/pyclasslookup.pyo
+${PYSITELIB}/lxml/readonlytree.pxi
+${PYSITELIB}/lxml/relaxng.pxi
+${PYSITELIB}/lxml/sax.py
+${PYSITELIB}/lxml/sax.pyc
+${PYSITELIB}/lxml/sax.pyo
+${PYSITELIB}/lxml/sax.so
+${PYSITELIB}/lxml/saxparser.pxi
+${PYSITELIB}/lxml/schematron.pxi
+${PYSITELIB}/lxml/serializer.pxi
+${PYSITELIB}/lxml/usedoctest.py
+${PYSITELIB}/lxml/usedoctest.pyc
+${PYSITELIB}/lxml/usedoctest.pyo
+${PYSITELIB}/lxml/xinclude.pxi
+${PYSITELIB}/lxml/xmlerror.pxi
+${PYSITELIB}/lxml/xmlid.pxi
+${PYSITELIB}/lxml/xmlschema.pxi
+${PYSITELIB}/lxml/xpath.pxi
+${PYSITELIB}/lxml/xslt.pxi
+${PYSITELIB}/lxml/xsltext.pxi
Index: pkgsrc/textproc/py27-lxml/distinfo
diff -u /dev/null pkgsrc/textproc/py27-lxml/distinfo:1.1
--- /dev/null Sun Jan 14 09:41:18 2024
+++ pkgsrc/textproc/py27-lxml/distinfo Sun Jan 14 09:41:18 2024
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2024/01/14 09:41:18 wiz Exp $
+
+BLAKE2s (lxml-5.0.1.tar.gz) = 33fb992c558d4f620f35d477505585ae92200a09ca631604afc2d81551e48ceb
+SHA512 (lxml-5.0.1.tar.gz) = 08efbab93cf5b39ca4aa976757edff184729ecdb77a3a062373a31e76828ac39b1d700d5e56caf39e562b10dc8d7507762001cfc66b77a6f25e59c61f826e6c2
+Size (lxml-5.0.1.tar.gz) = 3858871 bytes
+SHA1 (patch-setupinfo.py) = 264e934a4e5c095b0a65769798bf94db394d03e1
Index: pkgsrc/textproc/py27-lxml/patches/patch-setupinfo.py
diff -u /dev/null pkgsrc/textproc/py27-lxml/patches/patch-setupinfo.py:1.1
--- /dev/null Sun Jan 14 09:41:18 2024
+++ pkgsrc/textproc/py27-lxml/patches/patch-setupinfo.py Sun Jan 14 09:41:18 2024
@@ -0,0 +1,15 @@
+$NetBSD: patch-setupinfo.py,v 1.1 2024/01/14 09:41:18 wiz Exp $
+
+Do not use -isysroot on Darwin, causes wrapper issues.
+
+--- setupinfo.py.orig 2019-01-04 15:34:22.000000000 +0000
++++ setupinfo.py
+@@ -130,7 +130,7 @@ def ext_modules(static_include_dirs, sta
+ ])
+ _library_dirs = _prefer_reldirs(base_dir, library_dirs(static_library_dirs))
+ _cflags = cflags(static_cflags)
+- _ldflags = ['-isysroot', get_xcode_isysroot()] if sys.platform == 'darwin' else None
++ _ldflags = ['-isysroot', get_xcode_isysroot()] if sys.platform == 'notdarwin' else None
+ _define_macros = define_macros()
+ _libraries = libraries()
+
Home |
Main Index |
Thread Index |
Old Index