pkgsrc-WIP-changes archive

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

weewx: Update to 4.9.1



Module Name:	pkgsrc-wip
Committed By:	Greg Troxel <gdt%lexort.com@localhost>
Pushed By:	gdt
Date:		Thu Jan 12 16:05:23 2023 -0500
Changeset:	3362b048af6249a4e5b3bf1817f4e1bc41286a2d

Modified Files:
	py-weewx/Makefile
	py-weewx/PLIST
	py-weewx/distinfo
	py-weewx/patches/patch-setup.cfg

Log Message:
weewx: Update to 4.9.1

packaging: No longer accept python 27

Upstream changes, less bugfixes and minor improvements:

Allow unit to be overridden for a specific plot by using new option 'unit'.

Explain in the Customizing Guide how to include arbitrary SQL expressions
in a plot.

Add unit groups for sunshine and rain duration, cloudcover, and pop.

Introduced new option "generate_once". If True, templates will be generated
only on the first run of the reporting engine. Thanks to user Rich! PR #748.

Easy localization of all skins that come with WeeWX. Big thanks to user Karen,
who drove the effort! PR #665.

Davis documentation for LOOP2 10-minute wind gusts is wrong. The Vantage
actually emits mph, not tenths of mph. Changed driver so it now decodes the
field correctly. Fixes issue #686.

Parameterized the Seasons skin, making it considerably smaller, while requiring
less configuration. It now includes all types found in the wview-extended
schema. See PR #702.

Added sample weewxd init file for 'service' based init on freebsd.  Thanks to
user ryan.

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

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

diffstat:
 py-weewx/Makefile                |  7 ++++---
 py-weewx/PLIST                   | 42 +++++++++++++++++++++++++++++++++++++---
 py-weewx/distinfo                |  8 ++++----
 py-weewx/patches/patch-setup.cfg | 12 +++++-------
 4 files changed, 52 insertions(+), 17 deletions(-)

diffs:
diff --git a/py-weewx/Makefile b/py-weewx/Makefile
index 046c1d5b10..6886d8c8cb 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-4.5.1
+DISTNAME=	weewx-4.9.1
 PKGNAME=	${PYPKGPREFIX}-${DISTNAME:tl}
 CATEGORIES=	misc
 MASTER_SITES=	https://weewx.com/downloads/released_versions/
@@ -8,7 +8,6 @@ MASTER_SITES=	https://weewx.com/downloads/released_versions/
 # See also
 # https://reviews.freebsd.org/file/data/wxlggqqqglli6l66usac/PHID-FILE-kucs3bj4stbb6iw4zpy5/D6324.diff
 
-# Do not make this package installable; email me if questions.
 MAINTAINER=	gdt%NetBSD.org@localhost
 HOMEPAGE=	https://weewx.com/
 COMMENT=	Python-powered template engine and code-generator
@@ -22,7 +21,7 @@ SUBST_STAGE.paths=	pre-configure
 SUBST_FILES.paths=	setup.cfg
 SUBST_VARS.paths=	PREFIX
 
-# 27 is still ok; see cheetsh comment
+# weewx might work with 27, but it causes pain with pkgsrc deps so just don't
 PYTHON_VERSIONS_INCOMPATIBLE=	27
 
 # These versions are probably higher than necessary, but there is little value
@@ -36,6 +35,8 @@ DEPENDS+=	${PYPKGPREFIX}-ephem>=3.7.6.0:../../math/py-ephem
 DEPENDS+=	${PYPKGPREFIX}-serial>=3.4:../../comms/py-serial
 DEPENDS+=	${PYPKGPREFIX}-usb>=1.0.0:../../devel/py-usb
 
+REPLACE_PYTHON+=		util/i18n/i18n-report
+
 # \todo Decide whether to depend/patch, omit, or continue to ignore.
 CHECK_INTERPRETER_SKIP+=	weewx/util/init.d/weewx.lsb
 CHECK_INTERPRETER_SKIP+=	weewx/util/init.d/weewx.suse
diff --git a/py-weewx/PLIST b/py-weewx/PLIST
index bbf895a817..de02abfc5f 100644
--- a/py-weewx/PLIST
+++ b/py-weewx/PLIST
@@ -271,6 +271,7 @@ weewx/docs/images/sample_monthrain.png
 weewx/docs/images/sample_monthtempdew.png
 weewx/docs/images/weekgustoverlay.png
 weewx/docs/images/weektempdew.png
+weewx/docs/images/yeardiff.png
 weewx/docs/images/yearhilow.png
 weewx/docs/js/cash.js
 weewx/docs/js/cash.min.js
@@ -285,6 +286,7 @@ weewx/docs/readme.htm
 weewx/docs/redhat.htm
 weewx/docs/series_tags.md
 weewx/docs/setup.htm
+weewx/docs/sle.html
 weewx/docs/suse.htm
 weewx/docs/upgrading.htm
 weewx/docs/usersguide.htm
@@ -299,7 +301,12 @@ weewx/examples/basic/skins/basic/current.inc
 weewx/examples/basic/skins/basic/favicon.ico
 weewx/examples/basic/skins/basic/hilo.inc
 weewx/examples/basic/skins/basic/index.html.tmpl
+weewx/examples/basic/skins/basic/lang/en.conf
+weewx/examples/basic/skins/basic/lang/fr.conf
 weewx/examples/basic/skins/basic/skin.conf
+weewx/examples/colorize/colorize_1.py
+weewx/examples/colorize/colorize_2.py
+weewx/examples/colorize/colorize_3.py
 weewx/examples/fileparse/bin/user/fileparse.py
 weewx/examples/fileparse/changelog
 weewx/examples/fileparse/install.py
@@ -312,7 +319,7 @@ weewx/examples/pmon/install.py
 weewx/examples/pmon/readme.txt
 weewx/examples/pmon/skins/pmon/index.html.tmpl
 weewx/examples/pmon/skins/pmon/skin.conf
-weewx/examples/stats.py
+weewx/examples/seven_day.py
 weewx/examples/tests/test_vaporpressure.py
 weewx/examples/transfer_db.py
 weewx/examples/vaporpressure.py
@@ -325,6 +332,10 @@ weewx/examples/xstats/skins/xstats/skin.conf
 weewx/skins/Ftp/skin.conf
 weewx/skins/Mobile/favicon.ico
 weewx/skins/Mobile/index.html.tmpl
+weewx/skins/Mobile/lang/de.conf
+weewx/skins/Mobile/lang/en.conf
+weewx/skins/Mobile/lang/nl.conf
+weewx/skins/Mobile/lang/no.conf
 weewx/skins/Mobile/mobile.css
 weewx/skins/Mobile/skin.conf
 weewx/skins/Rsync/skin.conf
@@ -336,6 +347,9 @@ weewx/skins/Seasons/celestial.html.tmpl
 weewx/skins/Seasons/celestial.inc
 weewx/skins/Seasons/current.inc
 weewx/skins/Seasons/favicon.ico
+weewx/skins/Seasons/font/Kanit-Bold.ttf
+weewx/skins/Seasons/font/Kanit-Regular.ttf
+weewx/skins/Seasons/font/OFL.txt
 weewx/skins/Seasons/font/OpenSans-Bold.ttf
 weewx/skins/Seasons/font/OpenSans-Regular.ttf
 weewx/skins/Seasons/font/OpenSans.woff
@@ -344,6 +358,17 @@ weewx/skins/Seasons/font/license.txt
 weewx/skins/Seasons/hilo.inc
 weewx/skins/Seasons/identifier.inc
 weewx/skins/Seasons/index.html.tmpl
+weewx/skins/Seasons/lang/cn.conf
+weewx/skins/Seasons/lang/cz.conf
+weewx/skins/Seasons/lang/de.conf
+weewx/skins/Seasons/lang/en.conf
+weewx/skins/Seasons/lang/es.conf
+weewx/skins/Seasons/lang/fr.conf
+weewx/skins/Seasons/lang/gr.conf
+weewx/skins/Seasons/lang/it.conf
+weewx/skins/Seasons/lang/nl.conf
+weewx/skins/Seasons/lang/no.conf
+weewx/skins/Seasons/lang/th.conf
 weewx/skins/Seasons/map.inc
 weewx/skins/Seasons/radar.inc
 weewx/skins/Seasons/rss.xml.tmpl
@@ -367,6 +392,10 @@ weewx/skins/Smartphone/icons/icon_ipad_x2.png
 weewx/skins/Smartphone/icons/icon_iphone_x1.png
 weewx/skins/Smartphone/icons/icon_iphone_x2.png
 weewx/skins/Smartphone/index.html.tmpl
+weewx/skins/Smartphone/lang/de.conf
+weewx/skins/Smartphone/lang/en.conf
+weewx/skins/Smartphone/lang/nl.conf
+weewx/skins/Smartphone/lang/no.conf
 weewx/skins/Smartphone/rain.html.tmpl
 weewx/skins/Smartphone/skin.conf
 weewx/skins/Smartphone/temp.html.tmpl
@@ -382,8 +411,11 @@ weewx/skins/Standard/backgrounds/leaf.jpg
 weewx/skins/Standard/backgrounds/night.gif
 weewx/skins/Standard/favicon.ico
 weewx/skins/Standard/index.html.tmpl
-weewx/skins/Standard/mobile.css
-weewx/skins/Standard/mobile.html.tmpl
+weewx/skins/Standard/lang/de.conf
+weewx/skins/Standard/lang/en.conf
+weewx/skins/Standard/lang/fr.conf
+weewx/skins/Standard/lang/nl.conf
+weewx/skins/Standard/lang/no.conf
 weewx/skins/Standard/month.html.tmpl
 weewx/skins/Standard/skin.conf
 weewx/skins/Standard/smartphone/barometer.html.tmpl
@@ -401,8 +433,10 @@ weewx/skins/Standard/smartphone/wind.html.tmpl
 weewx/skins/Standard/week.html.tmpl
 weewx/skins/Standard/weewx.css
 weewx/skins/Standard/year.html.tmpl
+weewx/util/apache/conf-available/weewx.conf
 weewx/util/apache/conf.d/weewx.conf
 weewx/util/default/weewx
+weewx/util/i18n/i18n-report
 weewx/util/import/csv-example.conf
 weewx/util/import/cumulus-example.conf
 weewx/util/import/wd-example.conf
@@ -411,6 +445,7 @@ weewx/util/import/wu-example.conf
 weewx/util/init.d/weewx-multi
 weewx/util/init.d/weewx.bsd
 weewx/util/init.d/weewx.debian
+weewx/util/init.d/weewx.freebsd
 weewx/util/init.d/weewx.lsb
 weewx/util/init.d/weewx.redhat
 weewx/util/init.d/weewx.suse
@@ -432,6 +467,7 @@ weewx/util/scripts/weewxd
 weewx/util/scripts/wunderfixer
 weewx/util/solaris/weewx-smf.xml
 weewx/util/systemd/weewx.service
+weewx/util/tmpfiles.d/weewx.conf
 weewx/util/udev/rules.d/acurite.rules
 weewx/util/udev/rules.d/cc3000.rules
 weewx/util/udev/rules.d/fousb.rules
diff --git a/py-weewx/distinfo b/py-weewx/distinfo
index 8c46f7bb4e..e7284c0125 100644
--- a/py-weewx/distinfo
+++ b/py-weewx/distinfo
@@ -1,7 +1,7 @@
 $NetBSD$
 
-RMD160 (weewx-4.5.1.tar.gz) = d0221a02295d08ba94835614dc046de3b241902c
-SHA512 (weewx-4.5.1.tar.gz) = a39dcac113520c1e67a1583fbfd6c94156b561f48d1d37799ba6fa1bc9b7f76fcaf556de221fd4b67d5599078f280bf84aafe2efa833e0209c5e8070d6a14ed8
-Size (weewx-4.5.1.tar.gz) = 1624237 bytes
-SHA1 (patch-setup.cfg) = ab4c53994fd3046351dc76a4690c37ae42b0fbed
+BLAKE2s (weewx-4.9.1.tar.gz) = e83746f2fca8789a9507e197c4b00e64158357c93938bfe8a26fc6d484d8c37e
+SHA512 (weewx-4.9.1.tar.gz) = 9d0ca49966912d0307cdf026e0bcf2ab42b1ed5f47aa3e43cf99c07c8320e151156b563006c74b894ff1db9cec17a1e795ceadc370e3788c54377335964f85c9
+Size (weewx-4.9.1.tar.gz) = 1863858 bytes
+SHA1 (patch-setup.cfg) = ad5733e7e11b1e519daae4687badefbc300795de
 SHA1 (patch-setup.py) = 82a138c526de031e3cb7f6ea655a7969f81e97c5
diff --git a/py-weewx/patches/patch-setup.cfg b/py-weewx/patches/patch-setup.cfg
index 67a1eb612e..b23804ca26 100644
--- a/py-weewx/patches/patch-setup.cfg
+++ b/py-weewx/patches/patch-setup.cfg
@@ -5,14 +5,12 @@ expects to have a subprefix where it stores programs, data, and
 generates html.  This is not aligned with packaging norms, but at
 least for now, do not try to change that.
 
---- setup.cfg.orig	2019-05-31 23:47:14.000000000 +0000
+--- setup.cfg.orig	2022-10-25 11:29:29.340798900 +0000
 +++ setup.cfg
-@@ -6,7 +6,7 @@
- # windows: c:\Users\weewx
- 
+@@ -1,5 +1,5 @@
  [install]
 -home = /home/weewx
 +home = @PREFIX@/weewx
- 
- prefix =
- exec-prefix =
+ prefix = 
+ exec_prefix = 
+ install_lib = %(home)s/bin


Home | Main Index | Thread Index | Old Index