pkgsrc-WIP-changes archive

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

visidata: depends on standard-mailcap only when really needed



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Mon Dec 15 12:43:13 2025 +0100
Changeset:	bb73fb21d83f0165121ca10987f3e3514bd9cda2

Modified Files:
	visidata/Makefile

Log Message:
visidata: depends on standard-mailcap only when really needed

mailcap egg was removed in 3.13. Avoid such dependency on older
Python-s.

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

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

diffstat:
 visidata/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diffs:
diff --git a/visidata/Makefile b/visidata/Makefile
index aee96cf41f..50abc58774 100644
--- a/visidata/Makefile
+++ b/visidata/Makefile
@@ -13,7 +13,11 @@ TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
 TOOL_DEPENDS+=	${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
 DEPENDS+=	${PYPKGPREFIX}-dateutil-[0-9]*:../../time/py-dateutil
 DEPENDS+=	${PYPKGPREFIX}-openpyxl>=2.4:../../textproc/py-openpyxl
+
+.include "../../lang/python/pyversion.mk"
+.if ${PYTHON_VERSION} >= 313
 DEPENDS+=	${PYPKGPREFIX}-standard-mailcap-[0-9]*:../../wip/py-standard-mailcap
+.endif
 
 SUBST_CLASSES+=		setuppy
 SUBST_STAGE.setuppy=	pre-configure


Home | Main Index | Thread Index | Old Index