python3-lxml:ver.bump

This commit is contained in:
blue-devil
2020-02-09 01:02:33 +03:00
parent d684b44528
commit bd120f9dc6
3 changed files with 32 additions and 20 deletions
@@ -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*")