python3-httptools:ver.bump
This commit is contained in:
@@ -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")
|
||||
|
||||
@@ -13,7 +13,8 @@
|
||||
<IsA>library</IsA>
|
||||
<Summary>A collection of framework independent HTTP protocol utils.</Summary>
|
||||
<Description>httptools is a Python binding for nodejs HTTP parser. It's still in a very early development stage, expect APIs to break.</Description>
|
||||
<Archive sha1sum="0ff44f8d2e95f169218e312c4b0a18119263e33d" type="targz">https://files.pythonhosted.org/packages/a9/d9/63f5738b400dd8c2f7196608fdb6acb981353625b61d43221bf0353c74a4/httptools-0.1.0.tar.gz</Archive>
|
||||
<Archive sha1sum="9a9418d2a9bbdb9439fde4d11eff8b766e70ce9e" type="targz">https://github.com/MagicStack/httptools/archive/v0.1.1.tar.gz</Archive>
|
||||
<Archive sha1sum="3861fc1f93865c0d045ab6d70ca625437b669b3c" type="targz">https://github.com/nodejs/http-parser/archive/v2.9.3.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>python3-setuptools</Dependency>
|
||||
<Dependency>python3-devel</Dependency>
|
||||
@@ -34,6 +35,13 @@
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="3">
|
||||
<Date>2020-02-08</Date>
|
||||
<Version>0.1.1</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Blue Devil</Name>
|
||||
<Email>bluedevil@sctzine.com</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2020-02-06</Date>
|
||||
<Version>0.1.0</Version>
|
||||
|
||||
Reference in New Issue
Block a user