diff --git a/programming/language/python3/python3-lxml/actions.py b/programming/language/python3/python3-lxml/actions.py index e245ca8fa2..4480e7a023 100644 --- a/programming/language/python3/python3-lxml/actions.py +++ b/programming/language/python3/python3-lxml/actions.py @@ -9,14 +9,15 @@ from pisi.actionsapi import shelltools from pisi.actionsapi import pisitools from pisi.actionsapi import get -WorkDir = "lxml-%s" % get.srcVERSION() +#WorkDir = "lxml-%s" % get.srcVERSION() + +def setup(): + # Setting LC_CTYPE to workaround encoding issue + shelltools.export("LC_CTYPE", "en_US.UTF-8") def build(): - # remove the C extension so that it will be rebuild using the latest Cython - shelltools.unlink("src/lxml/lxml.etree.c") - shelltools.unlink("src/lxml/lxml.etree_api.h") - shelltools.unlink("src/lxml/lxml.objectify.c") - + # fix unused dependency analysis + shelltools.export("LDSHARED", "x86_64-pc-linux-gnu-gcc -Wl,-O1,--as-needed -shared -lpthread") pythonmodules.compile(pyVer="3") def install(): @@ -24,4 +25,4 @@ def install(): pisitools.insinto("%s/%s" % (get.docDIR(), get.srcNAME()),"doc/*") - pisitools.dodoc("CHANGES.txt", "LICENSES.txt", "TODO.txt") + pisitools.dodoc("CHANGE*", "LICENSE*") \ No newline at end of file diff --git a/programming/language/python3/python3-lxml/pspec.xml b/programming/language/python3/python3-lxml/pspec.xml index 9a5d435dcb..6abc6f5455 100644 --- a/programming/language/python3/python3-lxml/pspec.xml +++ b/programming/language/python3/python3-lxml/pspec.xml @@ -1,36 +1,39 @@ - + python3-lxml - http://codespeak.net/lxml + https://lxml.de/ PisiLinux Community admins@pisilinux.org + programming.language.python3 GPLv2 BSD library - lxml is the most feature-rich and easy-to-use library + The lxml XML toolkit for Python. lxml is the most feature-rich and easy-to-use library for working with XML and HTML in the Python language. - https://lxml.de/files/lxml-4.4.2.tgz + https://github.com/lxml/lxml/archive/lxml-4.5.0.tar.gz + python3-setuptools libxml2-devel - python3-devel - cython libxslt-devel + python3-devel + cython3 python3-lxml + The lxml XML toolkit for Python. libxslt libxml2 python3 - /usr/lib + /usr/lib/python3* @@ -41,11 +44,18 @@ python3-lxml - /usr/share/doc + /usr/share/doc/python3-lxml + + 2020-02-06 + 4.5.0 + Version bump. + Blue Devil + bluedevil@sctzine.com + 2020-01-14 4.4.2 @@ -54,4 +64,4 @@ idriskalp@gmail.com - + \ No newline at end of file diff --git a/programming/language/python3/python3-lxml/translations.xml b/programming/language/python3/python3-lxml/translations.xml index e9d8f95dae..b314ad451f 100644 --- a/programming/language/python3/python3-lxml/translations.xml +++ b/programming/language/python3/python3-lxml/translations.xml @@ -1,13 +1,14 @@ - python-lxml + python3-lxml Zengin içerikli ve kolay kullanımlı bir kütüphane. Python dilinde xml ve html ile çalışmak için, zengin içerikli ve kolay kullanımlı bir kütüphane. - python-lxml-docs - python-lxml paketine ait API belgeleri + python3-lxml-docs + python3-lxml paketine ait API belgeleri + python3-lxml-docs, python3-lxml için belgelendirme dosyalarını içerir. - + \ No newline at end of file