Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] backintime: update to 1.4.1.
@ 2023-12-22 23:28 thetredev
  2023-12-22 23:38 ` Duncaen
                   ` (49 more replies)
  0 siblings, 50 replies; 51+ messages in thread
From: thetredev @ 2023-12-22 23:28 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1301 bytes --]

There is a new pull request by thetredev against master on the void-packages repository

https://github.com/thetredev/void-packages update-package/backintime
https://github.com/void-linux/void-packages/pull/47880

backintime: update to 1.4.1.
#### Testing the changes
- I tested the changes in this PR: **YES**. The Qt GUI launches and I can setup backup targets.

#### Local build testing
- I built this PR locally for my native architecture, `x86_64-glibc`

#### Questions to maintainers
- The package revision has been reset to `1`, because the minor version changed to `4`. Please tell me if this is correct.
- The function `backintime-qt_package()` has been split into `backintime_package()` and `backintime-qt_package()`. Please tell me if this is correct or if there is a better way to do this. The reason for the split is that `common` and `qt` require different files/folders to be moved compared to the previous version 1.3.1.

#### Further Notes
- The patch `srcpkgs/backintime/patches/e1ae23ddc0b4229053e3e9c6c61adcb7f3d8e9b3.patch` has been deleted because it is included in backintime 1.4.1 (see https://github.com/bit-team/backintime/commit/e1ae23ddc0b4229053e3e9c6c61adcb7f3d8e9b3).

A patch file from https://github.com/void-linux/void-packages/pull/47880.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-update-package/backintime-47880.patch --]
[-- Type: text/x-diff, Size: 4617 bytes --]

From ff73fa2a6324c3e55889af21b992f0ecc334afb3 Mon Sep 17 00:00:00 2001
From: Timo Reichl <thetredev@gmail.com>
Date: Fri, 22 Dec 2023 22:14:30 +0100
Subject: [PATCH] backintime: update to 1.4.1.

Signed-off-by: Timo Reichl <thetredev@gmail.com>
---
 ...23ddc0b4229053e3e9c6c61adcb7f3d8e9b3.patch | 51 -------------------
 srcpkgs/backintime/template                   | 32 ++++++++----
 2 files changed, 21 insertions(+), 62 deletions(-)
 delete mode 100644 srcpkgs/backintime/patches/e1ae23ddc0b4229053e3e9c6c61adcb7f3d8e9b3.patch

diff --git a/srcpkgs/backintime/patches/e1ae23ddc0b4229053e3e9c6c61adcb7f3d8e9b3.patch b/srcpkgs/backintime/patches/e1ae23ddc0b4229053e3e9c6c61adcb7f3d8e9b3.patch
deleted file mode 100644
index e6a871e962d39..0000000000000
--- a/srcpkgs/backintime/patches/e1ae23ddc0b4229053e3e9c6c61adcb7f3d8e9b3.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-From e1ae23ddc0b4229053e3e9c6c61adcb7f3d8e9b3 Mon Sep 17 00:00:00 2001
-From: Germar Reitze <germar.reitze@gmail.com>
-Date: Mon, 5 Jul 2021 19:11:58 +0200
-Subject: [PATCH] Tests no longer work with Python 3.10 (fixes: #1175)
-
----
- CHANGES         | 5 ++++-
- common/tools.py | 7 +++++--
- 2 files changed, 9 insertions(+), 3 deletions(-)
-
-diff --git a/CHANGES b/CHANGES
-index c01501f2..0eb5b489 100644
---- a/CHANGES
-+++ b/CHANGES
-@@ -1,7 +1,10 @@
- Back In Time
- 
-+Version 1.3.2
-+* Fix bug: Tests no longer work with Python 3.10 (https://github.com/bit-team/backintime/issues/1175)
-+
- Version 1.3.1
--* bump version, forgot to push branch to Github before releasing 
-+* bump version, forgot to push branch to Github before releasing
- 
- Version 1.3.0
- * Merge PR: Fix FileNotFoundError exception in mount.mounted, Thanks tatokis (https://github.com/bit-team/backintime/pull/1157)
-diff --git a/common/tools.py b/common/tools.py
-index 528da707..12645224 100644
---- a/common/tools.py
-+++ b/common/tools.py
-@@ -25,7 +25,10 @@
- import errno
- import gzip
- import tempfile
--import collections
-+try:
-+    from collections.abc import MutableSet
-+except ImportError:
-+    from collections import MutableSet
- import hashlib
- import ipaddress
- import atexit
-@@ -1802,7 +1805,7 @@ def reset(self, path):
-         self.history = [path,]
-         self.index = 0
- 
--class OrderedSet(collections.MutableSet):
-+class OrderedSet(MutableSet):
-     """
-     OrderedSet from Python recipe
-     http://code.activestate.com/recipes/576694/
diff --git a/srcpkgs/backintime/template b/srcpkgs/backintime/template
index 4550ddabf8b08..8d2bf2e3efc9f 100644
--- a/srcpkgs/backintime/template
+++ b/srcpkgs/backintime/template
@@ -1,17 +1,17 @@
 # Template file for 'backintime'
 pkgname=backintime
-version=1.3.1
-revision=3
+version=1.4.1
+revision=1
 configure_args="--python3"
 pycompile_dirs="/usr/share/backintime"
 hostmakedepends="gettext python3"
-depends="python3 rsync python3-dbus python3-keyring"
+depends="python3 rsync python3-dbus python3-keyring python3-packaging libnotify xdpyinfo"
 short_desc="Simple backup tool for Linux"
 maintainer="Alpicoid <alpicoid@tuta.io>"
 license="GPL-2.0-or-later"
 homepage="https://github.com/bit-team/backintime"
-distfiles="https://github.com/bit-team/backintime/releases/download/${version}/backintime-${version}.tar.gz"
-checksum=4ffbca4f92c16a7f1c6ce2df17ea88ca13ebf70a2771286e3eebacdce3a2a44e
+distfiles="https://github.com/bit-team/backintime/releases/download/v${version}/backintime-${version}.tar.gz"
+checksum=bc758022fbb3ef14177a258c1292adc60ff4efee93129d147eab724faed9e21e
 python_version=3
 
 do_configure() {
@@ -35,10 +35,24 @@ do_install() {
 	make install DESTDIR=$DESTDIR
 }
 
+backintime_package() {
+	pkg_install() {
+		vmove etc/xdg/autostart
+		vmove "usr/bin/backintime*"
+		vmove usr/share/backintime
+		vmove usr/share/bash-completion/completions/backintime
+		vmove usr/share/doc/backintime-common
+		vmove usr/share/doc/qt
+		vmove usr/share/icons
+		vmove usr/share/locale
+		vmove "usr/share/man/man1/backintime*"
+		vmove usr/share/polkit-1
+	}
+}
+
 backintime-qt_package() {
 	short_desc+=" - Qt GUI"
-	depends="backintime-${version}_${revision}
-	 python3-PyQt5 python3-PyQt5-dbus libnotify xdpyinfo"
+	depends="backintime-${version}_${revision} python3-PyQt5 python3-PyQt5-dbus"
 	pkg_install() {
 		vmove etc/dbus-1
 		vmove "usr/bin/backintime-qt*"
@@ -47,9 +61,5 @@ backintime-qt_package() {
 		vmove usr/share/bash-completion/completions/backintime-qt
 		vmove usr/share/dbus-1
 		vmove usr/share/doc/backintime-qt
-		vmove usr/share/doc/qt
-		vmove usr/share/icons
-		vmove "usr/share/man/man1/backintime-qt*"
-		vmove usr/share/polkit-1
 	}
 }

^ permalink raw reply	[flat|nested] 51+ messages in thread

end of thread, other threads:[~2024-06-11 20:04 UTC | newest]

Thread overview: 51+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-22 23:28 [PR PATCH] backintime: update to 1.4.1 thetredev
2023-12-22 23:38 ` Duncaen
2023-12-22 23:47 ` thetredev
2023-12-23  0:01 ` [PR PATCH] [Updated] " thetredev
2023-12-23  0:01 ` thetredev
2023-12-23  0:03 ` thetredev
2023-12-23  0:04 ` thetredev
2023-12-23  0:06 ` [PR REVIEW] " Duncaen
2023-12-23  0:17 ` thetredev
2023-12-23  0:30 ` thetredev
2023-12-23  0:30 ` thetredev
2023-12-23  0:31 ` thetredev
2023-12-23  0:33 ` thetredev
2023-12-23  0:34 ` thetredev
2023-12-23  0:37 ` thetredev
2023-12-23  0:40 ` thetredev
2023-12-23  0:46 ` Duncaen
2023-12-23  0:50 ` thetredev
2023-12-23  0:50 ` thetredev
2023-12-23  0:55 ` [PR PATCH] [Updated] " thetredev
2023-12-23  0:55 ` [PR REVIEW] " thetredev
2023-12-23 16:54 ` classabbyamp
2023-12-23 16:57 ` classabbyamp
2023-12-23 16:58 ` classabbyamp
2023-12-23 18:59 ` thetredev
2023-12-23 19:26 ` classabbyamp
2023-12-23 19:27 ` thetredev
2024-03-09 23:14 ` [PR PATCH] [Updated] " thetredev
2024-03-09 23:14 ` backintime: update to 1.4.3 thetredev
2024-03-09 23:17 ` [PR REVIEW] " thetredev
2024-03-09 23:18 ` [PR PATCH] [Updated] " thetredev
2024-03-09 23:21 ` thetredev
2024-03-09 23:21 ` thetredev
2024-03-11  0:01 ` [PR REVIEW] " classabbyamp
2024-03-11  0:07 ` thetredev
2024-03-11  0:09 ` thetredev
2024-03-11  0:12 ` classabbyamp
2024-03-11  0:15 ` thetredev
2024-03-11  0:16 ` [PR PATCH] [Updated] " thetredev
2024-03-11  0:19 ` [PR REVIEW] " thetredev
2024-03-11  0:19 ` thetredev
2024-03-11  0:24 ` [PR PATCH] [Updated] " thetredev
2024-03-11  0:26 ` thetredev
2024-03-11  0:28 ` [PR PATCH] [Updated] " thetredev
2024-03-11  0:29 ` thetredev
2024-03-11  0:39 ` [PR PATCH] [Updated] " thetredev
2024-03-11  0:40 ` thetredev
2024-06-09  1:52 ` github-actions
2024-06-11 19:57 ` [PR PATCH] [Updated] " thetredev
2024-06-11 19:57 ` thetredev
2024-06-11 20:04 ` [PR PATCH] [Merged]: " classabbyamp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).