Package Details: weewx 5.1.0-2

Git Clone URL: https://aur.archlinux.org/weewx.git (read-only, click to copy)
Package Base: weewx
Description: Software for logging data from weather stations
Upstream URL: http://www.weewx.com/
Keywords: datalogger meteorology science weather
Licenses: GPL-3.0-or-later
Submitter: xcuipir
Maintainer: xcuipir
Last Packager: xcuipir
Votes: 7
Popularity: 0.001995
First Submitted: 2020-07-11 13:35 (UTC)
Last Updated: 2024-09-15 10:29 (UTC)

Dependencies (15)

Required by (0)

Sources (3)

Latest Comments

1 2 3 4 Next › Last »

chetwisniewski commented on 2024-10-06 19:57 (UTC)

Nope, just plain old makepkg -s. It built fine until the very last update. 5.1.0-1 worked fine.

xcuipir commented on 2024-10-05 07:41 (UTC)

@chetwisniewski: I'm unable to reproduce your issue. Did you use an AUR wrapper or just makepkg?

chetwisniewski commented on 2024-09-30 19:00 (UTC) (edited on 2024-09-30 19:01 (UTC) by chetwisniewski)

Getting an error on a missing python dependency, but it appears to be installed:

Building documents Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "/usr/lib/python3.12/site-packages/mkdocs/main.py", line 15, in <module> from mkdocs import version, config, utils File "/usr/lib/python3.12/site-packages/mkdocs/config/init.py", line 1, in <module> from mkdocs.config.base import Config, load_config File "/usr/lib/python3.12/site-packages/mkdocs/config/base.py", line 24, in <module> from mkdocs import exceptions, utils File "/usr/lib/python3.12/site-packages/mkdocs/utils/init.py", line 29, in <module> from mkdocs.utils.yaml import get_yaml_loader, yaml_load # noqa: F401 - legacy re-export ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/mkdocs/utils/yaml.py", line 12, in <module> import yaml_env_tag # type: ignore ^^^^^^^^^^^^^^^^^^^ ModuleNotFoundError: No module named 'yaml_env_tag' make: *** [makefile:184: build/docs] Error 1<[/code>

xcuipir commented on 2024-09-15 10:33 (UTC)

@kode54 - Dependency python-regex added

kode54 commented on 2024-09-15 03:53 (UTC)

Docs build step now requires a makedepend of python-regex.

xcuipir commented on 2024-04-27 20:15 (UTC)

@GeirThomassen Fix applied, thanks!

GeirThomassen commented on 2024-04-27 19:20 (UTC) (edited on 2024-04-27 21:37 (UTC) by GeirThomassen)

From the 5.0.2 change log: "Add target network-online.target to the weewx systemd unit file. This prevents weewxd from starting until the network is ready."

Here is a small patch that replaces the unit file with the one included in the weewx source code. Please check the $srcdir/$pkgbase-$pkgver statement, I have a feeling that there must be a better way to do this.

diff --git a/PKGBUILD b/PKGBUILD
index 0732a68..c43be14 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -27,12 +27,10 @@ makedepends=("mkdocs"
              "python-configobj")
 source=("$pkgbase-$pkgver.tar.xz::$(_dl_url $_MAJOR $_MINOR $_PATCH)"
         "weewx.sysusers"
-        "weewx.tmpfiles"
-        "weewx.service")
+        "weewx.tmpfiles")
 sha512sums=('520ba2a394c91b66997969695552d9aa8ebbd440b192e0cf8064c36d6a3691a670ce431f688373cf3c51c27933180f8202793163e5a034916eec52e3e1ad3ef2'
             '6015b870143f6b8ae094b3f94ad53323be8a083f11c177dc508315fb3bbc20dd318124e6ccd41ba9d0388828e18c4b4ae6ce7c4a35ac0cab442eca9e8bbbca2d'
-            'e97b287acf53c55d30f4e1a4d533fe5c649fac44080095fa1052f6f1cc9a55b6b0592d63c63a4a241e7007894e882648d5c4c4a221da69666e284637c5a3e15e'
-            '4744fec4faf63b36f9c82a7404e4ecc749eb07e8d90640465ff7a2ae20cdb2560348b0a125467fad215d0e51d88d27a991dc0196899e53d19479dec942d6e52d')
+            'e97b287acf53c55d30f4e1a4d533fe5c649fac44080095fa1052f6f1cc9a55b6b0592d63c63a4a241e7007894e882648d5c4c4a221da69666e284637c5a3e15e')
 _watch="http://www.weewx.com/downloads/"

 build() {
@@ -129,8 +127,9 @@ package_weewx() {
     "src/weewx_data/weewx.conf" > "$etcdir/weewx.conf"
   chmod 644 "$etcdir/weewx.conf"

-  echo "Creating systemd unit"
-  install -Dm644 "$srcdir/weewx.service" "$unitdir/weewx.service"
+  echo "Creating systemd units"
+  install -Dm644 "$srcdir/$pkgbase-$pkgver/pkg/etc/systemd/system/weewx.service" "$unitdir/weewx.service"
+  install -Dm644 "$srcdir/$pkgbase-$pkgver/pkg/etc/systemd/system/weewx@.service" "$unitdir/weewx@.service"

   echo "Creating system user definition"
   install -Dm644 "$srcdir/weewx.sysusers" "$sysusersdir/weewx.conf"

xcuipir commented on 2023-09-06 12:57 (UTC)

@MarsSeed OK, patch seems to work now.

MarsSeed commented on 2023-09-06 12:27 (UTC)

Or, maybe better yet, apply the last 3 commits from genplot.py's history as patches.