1
0
forked from ports/contrib

python3-lxml: initial import

This commit is contained in:
Danny Rawlins 2019-08-08 23:41:36 +10:00
parent eea0d6b922
commit d31a1af499
3 changed files with 156 additions and 0 deletions

133
python3-lxml/.footprint Normal file
View File

@ -0,0 +1,133 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/python3.7/
drwxr-xr-x root/root usr/lib/python3.7/site-packages/
drwxr-xr-x root/root usr/lib/python3.7/site-packages/lxml-4.4.0-py3.7.egg-info/
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml-4.4.0-py3.7.egg-info/PKG-INFO
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml-4.4.0-py3.7.egg-info/SOURCES.txt
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml-4.4.0-py3.7.egg-info/dependency_links.txt
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml-4.4.0-py3.7.egg-info/not-zip-safe
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml-4.4.0-py3.7.egg-info/requires.txt
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml-4.4.0-py3.7.egg-info/top_level.txt
drwxr-xr-x root/root usr/lib/python3.7/site-packages/lxml/
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/ElementInclude.py
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/__init__.py
drwxr-xr-x root/root usr/lib/python3.7/site-packages/lxml/__pycache__/
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/__pycache__/ElementInclude.cpython-37.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/__pycache__/ElementInclude.cpython-37.pyc
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/__pycache__/__init__.cpython-37.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/__pycache__/__init__.cpython-37.pyc
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/__pycache__/_elementpath.cpython-37.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/__pycache__/_elementpath.cpython-37.pyc
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/__pycache__/builder.cpython-37.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/__pycache__/builder.cpython-37.pyc
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/__pycache__/cssselect.cpython-37.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/__pycache__/cssselect.cpython-37.pyc
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/__pycache__/doctestcompare.cpython-37.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/__pycache__/doctestcompare.cpython-37.pyc
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/__pycache__/pyclasslookup.cpython-37.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/__pycache__/pyclasslookup.cpython-37.pyc
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/__pycache__/sax.cpython-37.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/__pycache__/sax.cpython-37.pyc
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/__pycache__/usedoctest.cpython-37.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/__pycache__/usedoctest.cpython-37.pyc
-rwxr-xr-x root/root usr/lib/python3.7/site-packages/lxml/_elementpath.cpython-37m-x86_64-linux-gnu.so
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/_elementpath.py
-rwxr-xr-x root/root usr/lib/python3.7/site-packages/lxml/builder.cpython-37m-x86_64-linux-gnu.so
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/builder.py
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/cssselect.py
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/doctestcompare.py
-rwxr-xr-x root/root usr/lib/python3.7/site-packages/lxml/etree.cpython-37m-x86_64-linux-gnu.so
-rw-rw-r-- root/root usr/lib/python3.7/site-packages/lxml/etree.h
-rw-rw-r-- root/root usr/lib/python3.7/site-packages/lxml/etree_api.h
drwxr-xr-x root/root usr/lib/python3.7/site-packages/lxml/html/
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/html/ElementSoup.py
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/html/__init__.py
drwxr-xr-x root/root usr/lib/python3.7/site-packages/lxml/html/__pycache__/
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/html/__pycache__/ElementSoup.cpython-37.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/html/__pycache__/ElementSoup.cpython-37.pyc
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/html/__pycache__/__init__.cpython-37.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/html/__pycache__/__init__.cpython-37.pyc
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/html/__pycache__/_diffcommand.cpython-37.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/html/__pycache__/_diffcommand.cpython-37.pyc
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/html/__pycache__/_html5builder.cpython-37.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/html/__pycache__/_html5builder.cpython-37.pyc
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/html/__pycache__/_setmixin.cpython-37.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/html/__pycache__/_setmixin.cpython-37.pyc
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/html/__pycache__/builder.cpython-37.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/html/__pycache__/builder.cpython-37.pyc
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/html/__pycache__/clean.cpython-37.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/html/__pycache__/clean.cpython-37.pyc
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/html/__pycache__/defs.cpython-37.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/html/__pycache__/defs.cpython-37.pyc
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/html/__pycache__/diff.cpython-37.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/html/__pycache__/diff.cpython-37.pyc
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/html/__pycache__/formfill.cpython-37.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/html/__pycache__/formfill.cpython-37.pyc
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/html/__pycache__/html5parser.cpython-37.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/html/__pycache__/html5parser.cpython-37.pyc
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/html/__pycache__/soupparser.cpython-37.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/html/__pycache__/soupparser.cpython-37.pyc
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/html/__pycache__/usedoctest.cpython-37.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/html/__pycache__/usedoctest.cpython-37.pyc
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/html/_diffcommand.py
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/html/_html5builder.py
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/html/_setmixin.py
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/html/builder.py
-rwxr-xr-x root/root usr/lib/python3.7/site-packages/lxml/html/clean.cpython-37m-x86_64-linux-gnu.so
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/html/clean.py
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/html/defs.py
-rwxr-xr-x root/root usr/lib/python3.7/site-packages/lxml/html/diff.cpython-37m-x86_64-linux-gnu.so
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/html/diff.py
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/html/formfill.py
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/html/html5parser.py
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/html/soupparser.py
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/html/usedoctest.py
drwxr-xr-x root/root usr/lib/python3.7/site-packages/lxml/includes/
-rw-rw-r-- root/root usr/lib/python3.7/site-packages/lxml/includes/__init__.pxd (EMPTY)
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/includes/__init__.py (EMPTY)
drwxr-xr-x root/root usr/lib/python3.7/site-packages/lxml/includes/__pycache__/
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/includes/__pycache__/__init__.cpython-37.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/includes/__pycache__/__init__.cpython-37.pyc
-rw-rw-r-- root/root usr/lib/python3.7/site-packages/lxml/includes/c14n.pxd
-rw-rw-r-- root/root usr/lib/python3.7/site-packages/lxml/includes/config.pxd
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/includes/dtdvalid.pxd
-rw-rw-r-- root/root usr/lib/python3.7/site-packages/lxml/includes/etree_defs.h
-rw-rw-r-- root/root usr/lib/python3.7/site-packages/lxml/includes/etreepublic.pxd
-rw-rw-r-- root/root usr/lib/python3.7/site-packages/lxml/includes/htmlparser.pxd
-rw-rw-r-- root/root usr/lib/python3.7/site-packages/lxml/includes/lxml-version.h
-rw-rw-r-- root/root usr/lib/python3.7/site-packages/lxml/includes/relaxng.pxd
-rw-rw-r-- root/root usr/lib/python3.7/site-packages/lxml/includes/schematron.pxd
-rw-rw-r-- root/root usr/lib/python3.7/site-packages/lxml/includes/tree.pxd
-rw-rw-r-- root/root usr/lib/python3.7/site-packages/lxml/includes/uri.pxd
-rw-rw-r-- root/root usr/lib/python3.7/site-packages/lxml/includes/xinclude.pxd
-rw-rw-r-- root/root usr/lib/python3.7/site-packages/lxml/includes/xmlerror.pxd
-rw-rw-r-- root/root usr/lib/python3.7/site-packages/lxml/includes/xmlparser.pxd
-rw-rw-r-- root/root usr/lib/python3.7/site-packages/lxml/includes/xmlschema.pxd
-rw-rw-r-- root/root usr/lib/python3.7/site-packages/lxml/includes/xpath.pxd
-rw-rw-r-- root/root usr/lib/python3.7/site-packages/lxml/includes/xslt.pxd
drwxr-xr-x root/root usr/lib/python3.7/site-packages/lxml/isoschematron/
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/isoschematron/__init__.py
drwxr-xr-x root/root usr/lib/python3.7/site-packages/lxml/isoschematron/__pycache__/
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/isoschematron/__pycache__/__init__.cpython-37.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/isoschematron/__pycache__/__init__.cpython-37.pyc
drwxr-xr-x root/root usr/lib/python3.7/site-packages/lxml/isoschematron/resources/
drwxr-xr-x root/root usr/lib/python3.7/site-packages/lxml/isoschematron/resources/rng/
-rw-rw-r-- root/root usr/lib/python3.7/site-packages/lxml/isoschematron/resources/rng/iso-schematron.rng
drwxr-xr-x root/root usr/lib/python3.7/site-packages/lxml/isoschematron/resources/xsl/
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/isoschematron/resources/xsl/RNG2Schtrn.xsl
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/isoschematron/resources/xsl/XSD2Schtrn.xsl
drwxr-xr-x root/root usr/lib/python3.7/site-packages/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/
-rw-rw-r-- root/root usr/lib/python3.7/site-packages/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_abstract_expand.xsl
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_dsdl_include.xsl
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_message.xsl
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_skeleton_for_xslt1.xsl
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_svrl_for_xslt1.xsl
-rw-rw-r-- root/root usr/lib/python3.7/site-packages/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt
-rw-rw-r-- root/root usr/lib/python3.7/site-packages/lxml/lxml.etree.h
-rw-rw-r-- root/root usr/lib/python3.7/site-packages/lxml/lxml.etree_api.h
-rwxr-xr-x root/root usr/lib/python3.7/site-packages/lxml/objectify.cpython-37m-x86_64-linux-gnu.so
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/pyclasslookup.py
-rwxr-xr-x root/root usr/lib/python3.7/site-packages/lxml/sax.cpython-37m-x86_64-linux-gnu.so
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/sax.py
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lxml/usedoctest.py

5
python3-lxml/.signature Normal file
View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3zhc60ICSSJJ524akA52a3cks4QQW9RnoP+8VoS/WOHKc5rmxsZr3FAQ8+0zI3F/ppzZnegY0lfegcHKuk+R3gQ=
SHA256 (Pkgfile) = dc0885309070b62191bc463f0ace5557bc120dd5175da7fd90ac41958fcbb4ec
SHA256 (.footprint) = 762a4871f09cc3782edb73d39195f8de26de9a8f8572ae5884d8846c7992b7d9
SHA256 (lxml-4.4.0.tgz) = 3b57dc5ed7b6a7d852c961f2389ca99404c2b59fd2088baec6fbaca02f688be4

18
python3-lxml/Pkgfile Normal file
View File

@ -0,0 +1,18 @@
# Description: A pythonic binding for the libxml2 and libxslt libraries.
# URL: http://lxml.de/
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: python3-beautifulsoup4 python3-cssselect python3-cython python3-html5lib libxslt
name=python3-lxml
version=4.4.0
release=1
source=(https://lxml.de/files/${name#*-}-$version.tgz)
build() {
cd ${name#*-}-$version
/usr/bin/python3 setup.py build
/usr/bin/python3 setup.py install \
--prefix=/usr --root=$PKG --optimize=1
}