pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/mitmproxy



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Oct 13 09:30:48 UTC 2024

Modified Files:
        pkgsrc/net/mitmproxy: Makefile

Log Message:
mitmproxy: add missing dependency

fix Python version selection, needs to be before pyversion.mk


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 pkgsrc/net/mitmproxy/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/mitmproxy/Makefile
diff -u pkgsrc/net/mitmproxy/Makefile:1.48 pkgsrc/net/mitmproxy/Makefile:1.49
--- pkgsrc/net/mitmproxy/Makefile:1.48  Sun Mar 24 20:00:11 2024
+++ pkgsrc/net/mitmproxy/Makefile       Sun Oct 13 09:30:48 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.48 2024/03/24 20:00:11 leot Exp $
+# $NetBSD: Makefile,v 1.49 2024/10/13 09:30:48 wiz Exp $
 
 DISTNAME=      mitmproxy-10.2.4
 CATEGORIES=    net
@@ -9,6 +9,7 @@ HOMEPAGE=       https://mitmproxy.org/
 COMMENT=       Interactive TLS-capable intercepting HTTP proxy
 LICENSE=       mit
 
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=0:../../devel/py-setuptools
 TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel>=0:../../devel/py-wheel
 DEPENDS+=      ${PYPKGPREFIX}-aioquic>=0.9.24:../../www/py-aioquic
 DEPENDS+=      ${PYPKGPREFIX}-asgiref>=3.2.10:../../www/py-asgiref
@@ -37,6 +38,9 @@ DEPENDS+=     ${PYPKGPREFIX}-urwid>=2.1.1:..
 DEPENDS+=      ${PYPKGPREFIX}-wsproto>=1.0:../../www/py-wsproto
 DEPENDS+=      ${PYPKGPREFIX}-zstandard>=0.11:../../archivers/py-zstandard
 
+# Only for Python >=3.10
+PYTHON_VERSIONS_INCOMPATIBLE=  39
+
 .include "../../lang/python/pyversion.mk"
 
 .if ${PYTHON_VERSION} < 311
@@ -62,9 +66,6 @@ REPLACE_SH+=  mitmproxy/contrib/kaitaistr
 
 USE_LANGUAGES=                 # none
 
-# Only for Python >=3.10
-PYTHON_VERSIONS_INCOMPATIBLE=  27 38 39
-
 .include "../../lang/python/batteries-included.mk"
 .include "../../lang/python/application.mk"
 .include "../../lang/python/wheel.mk"



Home | Main Index | Thread Index | Old Index