Sunpoet Po-Chuan Hsieh 2020-02-21 18:57:41 +00:00
parent 6f1fb5d21f
commit 1c94d1ee16
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=526666
3 changed files with 14 additions and 15 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= httptools
PORTVERSION= 0.0.13
PORTVERSION= 0.1.1
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1579531332
SHA256 (httptools-0.0.13.tar.gz) = e00cbd7ba01ff748e494248183abc6e153f49181169d8a3d41bb49132ca01dfc
SIZE (httptools-0.0.13.tar.gz) = 104152
TIMESTAMP = 1582222974
SHA256 (httptools-0.1.1.tar.gz) = 41b573cf33f64a8f8f3400d0a7faf48e1888582b6f6e02b82b9bd4f0bf7497ce
SIZE (httptools-0.1.1.tar.gz) = 106162

View File

@ -1,12 +1,11 @@
--- setup.py.orig 2019-02-25 19:55:33 UTC
--- setup.py.orig 2020-02-08 00:30:40 UTC
+++ setup.py
@@ -26,8 +26,7 @@ setup(
packages=['httptools', 'httptools.parser'],
ext_modules=[
Extension("httptools.parser.parser",
- ["httptools/parser/parser.c",
- "vendor/http-parser/http_parser.c"],
+ ["httptools/parser/parser.c"],
extra_compile_args=['-O2'])
],
provides=['httptools'],
@@ -44,7 +44,7 @@ class httptools_build_ext(build_ext):
return
super().initialize_options()
- self.use_system_http_parser = False
+ self.use_system_http_parser = True
self.cython_always = False
self.cython_annotate = None
self.cython_directives = None