pkgsrc-WIP-changes archive

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

weewx: Drop requirement for python 2.7



Module Name:	pkgsrc-wip
Committed By:	Greg Troxel <gdt%lexort.com@localhost>
Pushed By:	gdt
Date:		Wed Dec 29 14:24:21 2021 -0500
Changeset:	b10834f00a2ed8b77803b00ca193b699a678ef11

Modified Files:
	py-weewx/Makefile

Log Message:
weewx: Drop requirement for python 2.7

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

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

diffstat:
 py-weewx/Makefile | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diffs:
diff --git a/py-weewx/Makefile b/py-weewx/Makefile
index 9d644b31cc..8ee0eca065 100644
--- a/py-weewx/Makefile
+++ b/py-weewx/Makefile
@@ -16,20 +16,21 @@ LICENSE=	gnu-gpl-v3
 
 USE_LANGUAGES=
 
-# \todo Allow python 3
-PYTHON_VERSIONS_ACCEPTED=	27 # not yet tested
-
 SUBST_CLASSES+=		paths
 SUBST_MESSAGE.paths=	Substituting pkgsrc paths
 SUBST_STAGE.paths=	pre-configure
 SUBST_FILES.paths=	setup.cfg
 SUBST_VARS.paths=	PREFIX
 
+# 27 is still ok; see cheetsh comment
+PYTHON_VERSIONS_INCOMPATIBLE=	27
+
 # These versions are probably higher than necessary, but there is little value
 # in testing with versions older than are in pkgsrc.
 DEPENDS+=	${PYPKGPREFIX}-sqlite3>=2.7.16:../../databases/py-sqlite3
 DEPENDS+=	${PYPKGPREFIX}-Pillow>=6.0.0:../../graphics/py-Pillow6
-DEPENDS+=	${PYPKGPREFIX}-cheetah>=2.4.4:../../devel/py-cheetah
+# cheetah lacks versioned dependencies; omit 2.7 as unhelpful
+DEPENDS+=	${PYPKGPREFIX}-cheetah>=3.0.0:../../devel/py-cheetah3
 DEPENDS+=	${PYPKGPREFIX}-configobj>=5.0.6:../../devel/py-configobj
 DEPENDS+=	${PYPKGPREFIX}-ephem>=3.7.6.0:../../math/py-ephem
 DEPENDS+=	${PYPKGPREFIX}-serial>=3.4:../../comms/py-serial


Home | Main Index | Thread Index | Old Index