Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages / 
hamster-time-tracker


Commits:
0488053b by Antonio Rojas at 2023-12-16T20:16:20+01:00
upgpkg: 3.0.3-1: Update to 3.0.3

- - - - -


3 changed files:

- + .SRCINFO
- PKGBUILD
- − python3.11-compatibility.patch


Changes:

=====================================
.SRCINFO
=====================================
@@ -0,0 +1,18 @@
+pkgbase = hamster-time-tracker
+       pkgdesc = Time tracking application that helps you to keep track on how 
much time you have spent during the day on activities you choose to track
+       pkgver = 3.0.3
+       pkgrel = 1
+       url = https://github.com/projecthamster/hamster
+       arch = any
+       license = GPL
+       makedepends = intltool
+       makedepends = itstool
+       depends = gtk3
+       depends = python-dbus
+       depends = python-cairo
+       depends = python-gobject
+       depends = python-xdg
+       source = 
hamster-time-tracker-3.0.3.tar.gz::https://github.com/projecthamster/hamster/archive/v3.0.3.tar.gz
+       sha256sums = 
66e7c40d24bcd573ae8204a5d17773d4708a0c3a1069d20771f6cf8c8d102d45
+
+pkgname = hamster-time-tracker


=====================================
PKGBUILD
=====================================
@@ -3,23 +3,16 @@
 # Contributor: Georg Vogetseder <[email protected]>
 
 pkgname=hamster-time-tracker
-pkgver=3.0.2
-pkgrel=5
+pkgver=3.0.3
+pkgrel=1
 pkgdesc="Time tracking application that helps you to keep track on how much 
time you have spent during the day on activities you choose to track"
 arch=('any')
 url="https://github.com/projecthamster/hamster";
 license=('GPL')
 depends=('gtk3' 'python-dbus' 'python-cairo' 'python-gobject' 'python-xdg')
 makedepends=('intltool' 'itstool')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/projecthamster/hamster/archive/v$pkgver.tar.gz";
-       "python3.11-compatibility.patch")
-sha256sums=('8bf28fe1f06cd950583ebfb24acf5254d3406ee29c3046f6a6fb648b98c929ef'
-            'cb06463e560031e9ee964f54127bcdfb89113891152ec7846ac0fad0aefabe6b')
-
-prepare() {
-  cd hamster-$pkgver
-  patch -Np1 -i ${srcdir}/python3.11-compatibility.patch
-}
+source=("$pkgname-$pkgver.tar.gz::https://github.com/projecthamster/hamster/archive/v$pkgver.tar.gz";)
+sha256sums=('66e7c40d24bcd573ae8204a5d17773d4708a0c3a1069d20771f6cf8c8d102d45')
 
 build() {
   cd hamster-$pkgver


=====================================
python3.11-compatibility.patch deleted
=====================================
@@ -1,33 +0,0 @@
-From b155ad533f45f0bf4f10a290ad5374c805b692e9 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Friedrich=20Gro=C3=9Fe?= <[email protected]>
-Date: Tue, 21 Mar 2023 08:37:17 +0100
-Subject: [PATCH] Remove call to deprecated bind_textdomain_codeset gettext
- function
-
-This function was deprecated and eventually removed in Python3.11
-(see changelog at https://docs.python.org/3/whatsnew/3.11.html)
-
-> Removed the deprecated gettext functions lgettext(), ldgettext(),
-> lngettext() and ldngettext(). Also removed the bind_textdomain_codeset()
-> function, the NullTranslations.output_charset() and
-> NullTranslations.set_output_charset() methods, and the codeset parameter
-> of translation() and install(), since they are only used for the
-> l*gettext() functions. (Contributed by Dong-hee Na and Serhiy Storchaka
-> in bpo-44235.)
----
- src/hamster/lib/i18n.py | 2 --
- 1 file changed, 2 deletions(-)
-
-diff --git a/src/hamster/lib/i18n.py b/src/hamster/lib/i18n.py
-index 7bb897735..084888622 100644
---- a/src/hamster/lib/i18n.py
-+++ b/src/hamster/lib/i18n.py
-@@ -21,8 +21,6 @@ def setup_i18n():
-             module.bindtextdomain('hamster', locale_dir)
-             module.textdomain('hamster')
- 
--            module.bind_textdomain_codeset('hamster','utf8')
--
-         gettext.install("hamster", locale_dir)
- 
-     else:



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/hamster-time-tracker/-/commit/0488053bcfacae278da2af7e007aaefea8ad88dc

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/hamster-time-tracker/-/commit/0488053bcfacae278da2af7e007aaefea8ad88dc
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to