backintime: update to 1.4.3.
Signed-off-by: Timo Reichl <thetredev@gmail.com>
This commit is contained in:
parent
2c06a69863
commit
95b1e5a08d
|
@ -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/
|
|
@ -1,17 +1,17 @@
|
|||
# Template file for 'backintime'
|
||||
pkgname=backintime
|
||||
version=1.3.1
|
||||
revision=3
|
||||
version=1.4.3
|
||||
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"
|
||||
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=68874587883f33b2a8fec5c00cb446034a3110e9198339fc9152543951790776
|
||||
python_version=3
|
||||
|
||||
do_configure() {
|
||||
|
@ -38,16 +38,14 @@ do_install() {
|
|||
backintime-qt_package() {
|
||||
short_desc+=" - Qt GUI"
|
||||
depends="backintime-${version}_${revision}
|
||||
python3-PyQt5 python3-PyQt5-dbus libnotify xdpyinfo"
|
||||
python3-PyQt5 python3-PyQt5-dbus python3-packaging libnotify xdpyinfo"
|
||||
pkg_install() {
|
||||
vmove etc/dbus-1
|
||||
vmove "usr/bin/backintime-qt*"
|
||||
vmove usr/share/applications
|
||||
vmove usr/share/backintime/qt
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue