pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/py-http-parser py-http-parser: fix build with pyth...
details: https://anonhg.NetBSD.org/pkgsrc/rev/8159a3de9dd7
branches: trunk
changeset: 388140:8159a3de9dd7
user: wiz <wiz%pkgsrc.org@localhost>
date: Mon Nov 14 13:25:07 2022 +0000
description:
py-http-parser: fix build with python 3.11
diffstat:
www/py-http-parser/Makefile | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diffs (24 lines):
diff -r e6e71873650c -r 8159a3de9dd7 www/py-http-parser/Makefile
--- a/www/py-http-parser/Makefile Mon Nov 14 11:50:34 2022 +0000
+++ b/www/py-http-parser/Makefile Mon Nov 14 13:25:07 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2022/01/04 20:55:29 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2022/11/14 13:25:07 wiz Exp $
DISTNAME= http-parser-0.9.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -11,7 +11,14 @@
COMMENT= HTTP request/response parser
LICENSE= mit
+TOOL_DEPENDS+= ${PYPKGPREFIX}-cython-[0-9]*:../../devel/py-cython
+
USE_LANGUAGES= c
+# 0.9.0 tarball is not compatible with python 3.11
+# re-generate files with newer cython that supports python 3.11
+post-extract:
+ cd ${WRKSRC} && cythonize-${PYVERSSUFFIX} http_parser
+
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index