pkgsrc-WIP-changes archive

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

py-weewx: Update to 5.3.0



Module Name:	pkgsrc-wip
Committed By:	Greg Troxel <gdt%lexort.com@localhost>
Pushed By:	gdt
Date:		Mon Mar 2 07:58:33 2026 -0500
Changeset:	0dbf94c8d2967bc92585cd0533eae5fa6832f01c

Modified Files:
	py-weewx/COMMIT_MSG
	py-weewx/DESCR
	py-weewx/Makefile
	py-weewx/PLIST
	py-weewx/TODO
	py-weewx/distinfo

Log Message:
py-weewx: Update to 5.3.0

Upstream NEWS, less bugfixes and some minor improvements:

  Added Astronomical Units as a unit of length. Added local_djd as a
  unit of *local* time. PR #998
  <https://github.com/weewx/weewx/pull/998>. Thanks to user Karen!

  Moved database-specific code into the weedb module. This is in
  anticipation of allowing new databases to be installed as an
  extension.

  New action weectl database rebuild-daily NAME was added to allow the
  selective rebuilding of the daily summaries. Addresses Issue #1035
  <https://github.com/weewx/weewx/issues/1035>.

  New action weectl station list-drivers was added to allow the
  listing of all available device drivers. Fixes Issue #1050
  <https://github.com/weewx/weewx/issues/1060>.

  Converted test suites to use pytest <https://pytest.org/>.

  Remove unnecessary UNIQUE index on PRIMARY KEY columns in SQLite,
  achieving size reduction of ~10%. Existing database schemas are not
  modified. Users desiring size reduction are advised to consider
  manually migrating.

  Add support for kwargs when using .series() tags. PR #1042
  <https://github.com/weewx/weewx/pull/1042>.

  Documentation now uses Zensical <https://zensical.org/>.

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

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

diffstat:
 py-weewx/COMMIT_MSG | 16 +---------------
 py-weewx/DESCR      | 10 +++-------
 py-weewx/Makefile   | 15 ++++-----------
 py-weewx/PLIST      |  1 +
 py-weewx/TODO       | 11 +++--------
 py-weewx/distinfo   |  6 +++---
 6 files changed, 15 insertions(+), 44 deletions(-)

diffs:
diff --git a/py-weewx/COMMIT_MSG b/py-weewx/COMMIT_MSG
index 1e7db1485a..a96a3cbb9c 100644
--- a/py-weewx/COMMIT_MSG
+++ b/py-weewx/COMMIT_MSG
@@ -1,15 +1 @@
-misc/py-weewx: Add version 5.1.0
-
-WeeWX is a free, open source, software program, written in Python,
-which interacts with your weather station to produce graphs, reports,
-and HTML pages. It can optionally publish to weather sites or web
-servers. It uses modern software concepts, making it simple, robust,
-and easy to extend. It includes extensive documentation.
-
-WeeWX runs under most versions of Linux, as well as macOS, *BSD, and
-Solaris. Many users are running on the Raspberry Pi. The images on
-this page and throughout this web site are from sample stations
-running WeeWX.
-
-Thousands of stations throughout the world run WeeWX, many of whom
-have opted-in to be shown on our station map.
+misc/py-weewx: Add version 5.3.0
diff --git a/py-weewx/DESCR b/py-weewx/DESCR
index 67fac51ee9..0f5cae1de6 100644
--- a/py-weewx/DESCR
+++ b/py-weewx/DESCR
@@ -4,10 +4,6 @@ and HTML pages. It can optionally publish to weather sites or web
 servers. It uses modern software concepts, making it simple, robust,
 and easy to extend. It includes extensive documentation.
 
-WeeWX runs under most versions of Linux, as well as macOS, *BSD, and
-Solaris. Many users are running on the Raspberry Pi. The images on
-this page and throughout this web site are from sample stations
-running WeeWX.
-
-Thousands of stations throughout the world run WeeWX, many of whom
-have opted-in to be shown on our station map.
+This package installs the weewx code.  It does not contain startup or
+config file support; users should read upstream's documentation and
+create a data directory.
diff --git a/py-weewx/Makefile b/py-weewx/Makefile
index 685a365885..236c863cd9 100644
--- a/py-weewx/Makefile
+++ b/py-weewx/Makefile
@@ -1,6 +1,6 @@
 # $NetBSD: Makefile,v 1.24 2019/04/26 14:12:35 maya Exp $
 
-DISTNAME=	weewx-5.2.0
+DISTNAME=	weewx-5.3.0
 PKGNAME=	${PYPKGPREFIX}-${DISTNAME:tl}
 CATEGORIES=	misc
 MASTER_SITES=	https://weewx.com/downloads/released_versions/
@@ -25,9 +25,9 @@ TOOL_DEPENDS+=	${PYPKGPREFIX}-poetry>=2.1.4:../../devel/py-poetry
 
 # pyproject.toml, in order:
 DEPENDS+=	${PYPKGPREFIX}-configobj>=5.0:../../devel/py-configobj
-DEPENDS+=	${PYPKGPREFIX}-cheetah>=3.4:../../devel/py-cheetah3
+DEPENDS+=	${PYPKGPREFIX}-cheetah>=3.1:../../devel/py-cheetah3
 DEPENDS+=	${PYPKGPREFIX}-Pillow>=5.2:../../graphics/py-Pillow
-DEPENDS+=	${PYPKGPREFIX}-ephem>=3.7.6.0:../../math/py-ephem
+DEPENDS+=	${PYPKGPREFIX}-ephem>=4.1:../../math/py-ephem
 DEPENDS+=	${PYPKGPREFIX}-pymysql>=1.0:../../databases/py-pymysql
 DEPENDS+=	${PYPKGPREFIX}-serial>=3.4:../../comms/py-serial
 DEPENDS+=	${PYPKGPREFIX}-usb>=1.0.2:../../devel/py-usb
@@ -36,22 +36,15 @@ DEPENDS+=	${PYPKGPREFIX}-usb>=1.0.2:../../devel/py-usb
 #   mqtt
 DEPENDS+=	${PYPKGPREFIX}-paho-mqtt>=2:../../net/py-paho-mqtt
 
-REPLACE_PYTHON+=	src/weewx_data/util/i18n/i18n-report
+REPLACE_PYTHON+=		src/weewx_data/util/i18n/i18n-report
 
 # Ignore perl rather than depend on it.  For now, don't even consider
 # a split package.
 CHECK_INTERPRETER_SKIP+=	${PYSITELIB}/weewx_data/util/logwatch/scripts/services/weewx
 
 DOCDIR=			${PREFIX}/share/doc/weewx-${PYVERSSUFFIX}
-
 INSTALLATION_DIRS=	${DOCDIR}
 
-# weewx 4.x had code and data in the same dir, and setup.py install
-# would merge config file changes.  weewx 5.x does not appear to do
-# this, and the user is left to manually adjust or not, as is the
-# usual custom.  This comment is a caution that the config file
-# behavior is not entirely understood.  This also applies to skins.
-
 post-install:
 	${RM} -f ${DESTDIR}/${PREFIX}/${PYSITELIB}/LICENSE.txt
 	${RM} -f ${DESTDIR}/${PREFIX}/${PYSITELIB}/README.md
diff --git a/py-weewx/PLIST b/py-weewx/PLIST
index 508e86e10d..7308828d56 100644
--- a/py-weewx/PLIST
+++ b/py-weewx/PLIST
@@ -374,6 +374,7 @@ ${PYSITELIB}/weewx_data/skins/Seasons/lang/en_CA.conf
 ${PYSITELIB}/weewx_data/skins/Seasons/lang/en_GB.conf
 ${PYSITELIB}/weewx_data/skins/Seasons/lang/en_NZ.conf
 ${PYSITELIB}/weewx_data/skins/Seasons/lang/es.conf
+${PYSITELIB}/weewx_data/skins/Seasons/lang/fi.conf
 ${PYSITELIB}/weewx_data/skins/Seasons/lang/fr.conf
 ${PYSITELIB}/weewx_data/skins/Seasons/lang/gr.conf
 ${PYSITELIB}/weewx_data/skins/Seasons/lang/it.conf
diff --git a/py-weewx/TODO b/py-weewx/TODO
index 3445189bba..9dd57df21d 100644
--- a/py-weewx/TODO
+++ b/py-weewx/TODO
@@ -1,12 +1,7 @@
-This package is useful in wip, and awkward to hoist to pkgsrc.
-
-  - Consider installing an rc.d script.
-
-  - Issues best addressed upstream, not really about the package.
-    - Put "schema" under a weewx namespace; it's awkward at site-packages top level.
-    - Install examples in examples.
-    - Don't have weectl station put examples in user config dir
+  - Consider writing and installing an rc.d script.
 
   - Consider an option for py-requests (needed for some drivers).  But
     really people can just install it.
     
+  - Issues best addressed upstream, not really about the package.
+    - Don't have weectl station put examples in user config dir
diff --git a/py-weewx/distinfo b/py-weewx/distinfo
index c2b6be2a63..1e4249b12e 100644
--- a/py-weewx/distinfo
+++ b/py-weewx/distinfo
@@ -1,5 +1,5 @@
 $NetBSD$
 
-BLAKE2s (weewx-5.2.0.tgz) = da5610ca5f53d32e5aec53a9dc4e050fd685f4c1689423457d73918ba4984909
-SHA512 (weewx-5.2.0.tgz) = f475a58191aae1f12af34633289f6095b8aeab5adaa3e26eeb925faf7c0ab285bad5d1f50219338eb81213f154cf15c78f1698d8890a7bf3202a01b963fe307a
-Size (weewx-5.2.0.tgz) = 2202075 bytes
+BLAKE2s (weewx-5.3.0.tgz) = bbfe5926aeb010e21d72e0a135b69ea83962eeb5df649b32f617ff37e86e9fa0
+SHA512 (weewx-5.3.0.tgz) = 4e2e9b67c3aea795da9bfbd00ea8d7cbf2a1e711640e477b4adcd0d63c586517d9a6d9aa237d685d073ab0048db60a881797b7e3b73dc7e332b231d63ed495be
+Size (weewx-5.3.0.tgz) = 3803891 bytes


Home | Main Index | Thread Index | Old Index