diff --git a/programming/language/python3/python3-httptools/actions.py b/programming/language/python3/python3-httptools/actions.py index 24c214f484..8a67dee07b 100644 --- a/programming/language/python3/python3-httptools/actions.py +++ b/programming/language/python3/python3-httptools/actions.py @@ -7,10 +7,18 @@ from pisi.actionsapi import pythonmodules from pisi.actionsapi import shelltools from pisi.actionsapi import pisitools +from pisi.actionsapi import get + +WorkDir="httptools-%s" % get.srcVERSION() + +def setup(): + # install process needs some header files from + # http-parser github repo. so we add that repo + # and copy the header files to the corresponding path + for files in ["../http-parser-2.9.3/*"]: + shelltools.copy("%s" % files,"vendor/http-parser") def build(): - # suppress compiler warnings - pisitools.cflags.add("-Wno-deprecated-declarations") # fix unused direct dependency analysis shelltools.export("LDSHARED", "x86_64-pc-linux-gnu-gcc -Wl,-O1,--as-needed -shared -lpthread") pythonmodules.compile(pyVer="3") diff --git a/programming/language/python3/python3-httptools/pspec.xml b/programming/language/python3/python3-httptools/pspec.xml index 392f548c87..3ed334489d 100644 --- a/programming/language/python3/python3-httptools/pspec.xml +++ b/programming/language/python3/python3-httptools/pspec.xml @@ -13,7 +13,8 @@ library A collection of framework independent HTTP protocol utils. httptools is a Python binding for nodejs HTTP parser. It's still in a very early development stage, expect APIs to break. - https://files.pythonhosted.org/packages/a9/d9/63f5738b400dd8c2f7196608fdb6acb981353625b61d43221bf0353c74a4/httptools-0.1.0.tar.gz + https://github.com/MagicStack/httptools/archive/v0.1.1.tar.gz + https://github.com/nodejs/http-parser/archive/v2.9.3.tar.gz python3-setuptools python3-devel @@ -34,6 +35,13 @@ + + 2020-02-08 + 0.1.1 + Version bump. + Blue Devil + bluedevil@sctzine.com + 2020-02-06 0.1.0