pkgsrc-WIP-changes archive

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

mitmproxy: Add back versioned dependency logic



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Mon Jan 1 23:51:58 2024 +0100
Changeset:	9c7623733062ee1e4a766f9471585a1313fd2490

Modified Files:
	mitmproxy/Makefile

Log Message:
mitmproxy: Add back versioned dependency logic

It can be needed on some systems to avoid rust-y bits.

Noticed by <wiz>.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=9c7623733062ee1e4a766f9471585a1313fd2490

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

diffstat:
 mitmproxy/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diffs:
diff --git a/mitmproxy/Makefile b/mitmproxy/Makefile
index f5a5d50bfa..85592f74f3 100644
--- a/mitmproxy/Makefile
+++ b/mitmproxy/Makefile
@@ -23,7 +23,6 @@ DEPENDS+=	${PYPKGPREFIX}-kaitaistruct>=0.10:../../devel/py-kaitaistruct
 DEPENDS+=	${PYPKGPREFIX}-ldap3>=2.8:../../databases/py-ldap3
 #DEPENDS+=	${PYPKGPREFIX}-mitmproxy_rs>=0.4:../../wip/py-mitmproxy_rs # TODO
 DEPENDS+=	${PYPKGPREFIX}-msgpack>=1.0.0:../../devel/py-msgpack
-DEPENDS+=	${PYPKGPREFIX}-OpenSSL>=22.1:../../security/py-OpenSSL
 DEPENDS+=	${PYPKGPREFIX}-passlib>=1.6.5:../../security/py-passlib
 DEPENDS+=	${PYPKGPREFIX}-protobuf>=3.14:../../devel/py-protobuf
 DEPENDS+=	${PYPKGPREFIX}-publicsuffix2>=2.20190812:../../www/py-publicsuffix2
@@ -63,6 +62,9 @@ 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"
+PYTHON_VERSIONED_DEPENDENCIES+=	OpenSSL
+.include "../../lang/python/versioned_dependencies.mk"
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index