Skip to content

Commit

Permalink
www/py-httptools: Update to 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sunpoet committed May 1, 2021
1 parent 1c07103 commit ff7e3d7
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 28 deletions.
4 changes: 2 additions & 2 deletions www/py-httptools/Makefile
@@ -1,7 +1,7 @@
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>

PORTNAME= httptools
PORTVERSION= 0.1.2
PORTVERSION= 0.2.0
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Expand All @@ -18,6 +18,6 @@ USES= localbase python:3.5+
USE_PYTHON= autoplist concurrent distutils

post-patch:
@${RM} -r ${WRKSRC}/vendor/
@${RM} -r ${WRKSRC}/vendor/http-parser/

.include <bsd.port.mk>
6 changes: 3 additions & 3 deletions www/py-httptools/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1619569497
SHA256 (httptools-0.1.2.tar.gz) = 07659649fe6b3948b6490825f89abe5eb1cec79ebfaaa0b4bf30f3f33f3c2ba8
SIZE (httptools-0.1.2.tar.gz) = 106716
TIMESTAMP = 1619725373
SHA256 (httptools-0.2.0.tar.gz) = 94505026be56652d7a530ab03d89474dc6021019d6b8682281977163b3471ea0
SIZE (httptools-0.2.0.tar.gz) = 169260
11 changes: 0 additions & 11 deletions www/py-httptools/files/patch-httptools-parser-parser.c

This file was deleted.

15 changes: 3 additions & 12 deletions www/py-httptools/files/patch-setup.py
@@ -1,18 +1,9 @@
--- setup.py.orig 2021-04-26 15:51:55 UTC
--- setup.py.orig 2021-04-23 20:30:51 UTC
+++ setup.py
@@ -15,7 +15,7 @@ CFLAGS = ['-O2']

ROOT = pathlib.Path(__file__).parent

-CYTHON_DEPENDENCY = 'Cython==0.29.22'
+CYTHON_DEPENDENCY = 'Cython>=0.29.21'


class httptools_build_ext(build_ext):
@@ -44,7 +44,7 @@ class httptools_build_ext(build_ext):
return
@@ -48,7 +48,7 @@ class httptools_build_ext(build_ext):
super().initialize_options()
self.use_system_llhttp = False
- self.use_system_http_parser = False
+ self.use_system_http_parser = True
self.cython_always = False
Expand Down

0 comments on commit ff7e3d7

Please sign in to comment.