pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
mitmproxy: Adjust SUBST-fu to actual reality
Module Name: pkgsrc-wip
Committed By: Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By: leot
Date: Mon Jan 1 18:18:19 2024 +0100
Changeset: c9f435be945add8afd9ff3dbcebd2e9204a08ecc
Modified Files:
mitmproxy/Makefile
Log Message:
mitmproxy: Adjust SUBST-fu to actual reality
Avoid no longer needed RE and adjust the RE in order to also handle
with sys_platform / python_version extra requirements.
Dependencies are now in pyproject.toml, not setup.py!
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c9f435be945add8afd9ff3dbcebd2e9204a08ecc
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
mitmproxy/Makefile | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diffs:
diff --git a/mitmproxy/Makefile b/mitmproxy/Makefile
index d49d099098..85f1c380b1 100644
--- a/mitmproxy/Makefile
+++ b/mitmproxy/Makefile
@@ -39,12 +39,11 @@ DEPENDS+= ${PYPKGPREFIX}-zstandard>=0.11:../../archivers/py-zstandard
# TODO / XXX: only for Python 3.10!
#DEPENDS+= ${PYPKGPREFIX}-typing-extensions>=4.3:../../devel/py-typing-extensions
-SUBST_CLASSES+= setuppyversions
-SUBST_STAGE.setuppyversions= pre-configure
-SUBST_MESSAGE.setuppyversions= Avoid too strict version requirements
-SUBST_FILES.setuppyversions= setup.py
-SUBST_SED.setuppyversions+= -E -e '/[>=]=/ s/, *(<|!=)[^"]+//g'
-SUBST_SED.setuppyversions+= -E -e '/==[0-9.]+",/ s/==/>=/g'
+SUBST_CLASSES+= pyprojecttomlversions
+SUBST_STAGE.pyprojecttomlversions= pre-configure
+SUBST_MESSAGE.pyprojecttomlversions= Avoid too strict version requirements
+SUBST_FILES.pyprojecttomlversions= pyproject.toml
+SUBST_SED.pyprojecttomlversions+= -E -e '/[>=]=/ s/, *<[0-9.]+(",|;)/\1/g'
REPLACE_SH+= mitmproxy/contrib/kaitaistruct/make.sh
Home |
Main Index |
Thread Index |
Old Index