pkgsrc-WIP-changes archive

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

py-weewx: Use python/batteries-included.mk



Module Name:	pkgsrc-wip
Committed By:	Greg Troxel <gdt%lexort.com@localhost>
Pushed By:	gdt
Date:		Sun Mar 31 09:22:49 2024 -0400
Changeset:	10cacd74911d821d7d4420cfb50729ea5f81fd1c

Modified Files:
	py-weewx/Makefile

Log Message:
py-weewx: Use python/batteries-included.mk

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

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

diffstat:
 py-weewx/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diffs:
diff --git a/py-weewx/Makefile b/py-weewx/Makefile
index f5f4117de1..1d5fc32263 100644
--- a/py-weewx/Makefile
+++ b/py-weewx/Makefile
@@ -2,6 +2,7 @@
 
 DISTNAME=	weewx-4.10.2
 PKGNAME=	${PYPKGPREFIX}-${DISTNAME:tl}
+PKGREVISION=	1
 CATEGORIES=	misc
 MASTER_SITES=	https://weewx.com/downloads/released_versions/
 
@@ -24,9 +25,8 @@ SUBST_VARS.paths=	PREFIX
 # weewx might work with 27, but it causes pain with pkgsrc deps so just don't
 PYTHON_VERSIONS_INCOMPATIBLE=	27
 
-# This package assumes that pkgsrc is at least 2023Q4.  (Formally, wip
-# requires current anyway.)  In particular, assume that having python
-# implies having sqlite3.
+# weewx uses sqlite3
+.include "../../lang/python/batteries-included.mk"
 
 DEPENDS+=	${PYPKGPREFIX}-Pillow>=6.0.0:../../graphics/py-Pillow
 DEPENDS+=	${PYPKGPREFIX}-cheetah>=3.0.0:../../devel/py-cheetah3


Home | Main Index | Thread Index | Old Index