[arch-commits] Commit in py3status/trunk (PKGBUILD)

Jonas Witschel diabonas at gemini.archlinux.org
Sat Oct 23 09:38:35 UTC 2021


    Date: Saturday, October 23, 2021 @ 09:38:34
  Author: diabonas
Revision: 1032950

upgpkg: py3status 3.39-2: add optdepends on python-pytz

The clock module has a hard dependency on the deprecated python-pytz because it
uses pytz.country_timezones() and therefore cannot be easily replaced with the
newer built-in zoneinfo module. This is unlikely to change in version 3.x of
py3status: https://github.com/ultrabug/py3status/pull/1992#issuecomment-758504036

The clock module is also the only module to use the external tzlocal module, so
edit the description of the optional dependency accordingly.

Modified:
  py3status/trunk/PKGBUILD

----------+
 PKGBUILD |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-10-23 09:07:01 UTC (rev 1032949)
+++ PKGBUILD	2021-10-23 09:38:34 UTC (rev 1032950)
@@ -6,7 +6,7 @@
 
 pkgname=py3status
 pkgver=3.39
-pkgrel=1
+pkgrel=2
 pkgdesc="An extensible i3status replacement/wrapper written in python"
 url="https://www.ultrabug.fr/tag/py3status/"
 arch=('any')
@@ -17,7 +17,8 @@
             'i3blocks: for i3blocks modules'
             'python-pyudev: for udev event monitoring'
             'python-pydbus: for modules that rely on D-Bus'
-            'python-tzlocal: for modules that need time zone info'
+            'python-pytz: for the clock module'
+            'python-tzlocal: for the clock module'
             'pacman-contrib: for the arch_updates module')
 source=("$pkgname-$pkgver.tar.gz::https://github.com/ultrabug/py3status/archive/$pkgver.tar.gz")
 sha256sums=('d18b81e86d5a44d2fa67453c3e9f04b9285005b2a7a9455890903d0e2dfe843c')



More information about the arch-commits mailing list