| @@ -1,17 +1,24 @@ | | | @@ -1,17 +1,24 @@ |
1 | # $NetBSD: Makefile,v 1.8 2022/01/04 20:55:29 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.9 2022/11/14 13:25:07 wiz Exp $ |
2 | | | 2 | |
3 | DISTNAME= http-parser-0.9.0 | | 3 | DISTNAME= http-parser-0.9.0 |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} |
5 | PKGREVISION= 1 | | 5 | PKGREVISION= 1 |
6 | CATEGORIES= www | | 6 | CATEGORIES= www |
7 | MASTER_SITES= ${MASTER_SITE_PYPI:=h/http-parser/} | | 7 | MASTER_SITES= ${MASTER_SITE_PYPI:=h/http-parser/} |
8 | | | 8 | |
9 | MAINTAINER= pkgsrc-users@NetBSD.org | | 9 | MAINTAINER= pkgsrc-users@NetBSD.org |
10 | HOMEPAGE= https://github.com/benoitc/http-parser | | 10 | HOMEPAGE= https://github.com/benoitc/http-parser |
11 | COMMENT= HTTP request/response parser | | 11 | COMMENT= HTTP request/response parser |
12 | LICENSE= mit | | 12 | LICENSE= mit |
13 | | | 13 | |
| | | 14 | TOOL_DEPENDS+= ${PYPKGPREFIX}-cython-[0-9]*:../../devel/py-cython |
| | | 15 | |
14 | USE_LANGUAGES= c | | 16 | USE_LANGUAGES= c |
15 | | | 17 | |
| | | 18 | # 0.9.0 tarball is not compatible with python 3.11 |
| | | 19 | # re-generate files with newer cython that supports python 3.11 |
| | | 20 | post-extract: |
| | | 21 | cd ${WRKSRC} && cythonize-${PYVERSSUFFIX} http_parser |
| | | 22 | |
16 | .include "../../lang/python/egg.mk" | | 23 | .include "../../lang/python/egg.mk" |
17 | .include "../../mk/bsd.pkg.mk" | | 24 | .include "../../mk/bsd.pkg.mk" |