mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 08:03:51 +02:00
duplicity: update to 0.8.20.
This commit is contained in:
parent
67ee1068f5
commit
93356055f9
2 changed files with 5 additions and 67 deletions
|
@ -1,58 +0,0 @@
|
||||||
From 10064eaff70e58c1cb7d12c04bdb9f915817fc66 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Nathan Owens <ndowens04@gmail.com>
|
|
||||||
Date: Tue, 29 Oct 2019 20:37:42 -0500
|
|
||||||
Subject: [PATCH] remove failing test
|
|
||||||
|
|
||||||
---
|
|
||||||
testing/unit/test_statistics.py | 35 ---------------------------------
|
|
||||||
1 file changed, 35 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/testing/unit/test_statistics.py b/testing/unit/test_statistics.py
|
|
||||||
index 3ac0627..9ad206a 100644
|
|
||||||
--- a/testing/unit/test_statistics.py
|
|
||||||
+++ b/testing/unit/test_statistics.py
|
|
||||||
@@ -53,41 +53,6 @@ class StatsObjTest(UnitTestCase):
|
|
||||||
s.StartTime = 13
|
|
||||||
s.EndTime = 14
|
|
||||||
|
|
||||||
- def test_get_stats(self):
|
|
||||||
- u"""Test reading and writing stat objects"""
|
|
||||||
- s = StatsObj()
|
|
||||||
- assert s.get_stat(u'SourceFiles') is None
|
|
||||||
- self.set_obj(s)
|
|
||||||
- assert s.get_stat(u'SourceFiles') == 1
|
|
||||||
-
|
|
||||||
- s1 = StatsDeltaProcess()
|
|
||||||
- assert s1.get_stat(u'SourceFiles') == 0
|
|
||||||
-
|
|
||||||
- def test_get_stats_string(self):
|
|
||||||
- u"""Test conversion of stat object into string"""
|
|
||||||
- s = StatsObj()
|
|
||||||
- stats_string = s.get_stats_string()
|
|
||||||
- assert stats_string == u"", stats_string
|
|
||||||
-
|
|
||||||
- self.set_obj(s)
|
|
||||||
- stats_string = s.get_stats_string()
|
|
||||||
- assert stats_string == u"""\
|
|
||||||
-StartTime 13.00 (Wed Dec 31 18:00:13 1969)
|
|
||||||
-EndTime 14.00 (Wed Dec 31 18:00:14 1969)
|
|
||||||
-ElapsedTime 1.00 (1 second)
|
|
||||||
-SourceFiles 1
|
|
||||||
-SourceFileSize 2 (2 bytes)
|
|
||||||
-NewFiles 3
|
|
||||||
-NewFileSize 4 (4 bytes)
|
|
||||||
-DeletedFiles 5
|
|
||||||
-ChangedFiles 7
|
|
||||||
-ChangedFileSize 8 (8 bytes)
|
|
||||||
-ChangedDeltaSize 9 (9 bytes)
|
|
||||||
-DeltaEntries 10
|
|
||||||
-RawDeltaSize 11 (11 bytes)
|
|
||||||
-TotalDestinationSizeChange 12 (12 bytes)
|
|
||||||
-""", u"'%s'" % stats_string
|
|
||||||
-
|
|
||||||
def test_line_string(self):
|
|
||||||
u"""Test conversion to a single line"""
|
|
||||||
s = StatsObj()
|
|
||||||
--
|
|
||||||
2.23.0
|
|
||||||
|
|
|
@ -1,24 +1,20 @@
|
||||||
# Template file for 'duplicity'
|
# Template file for 'duplicity'
|
||||||
pkgname=duplicity
|
pkgname=duplicity
|
||||||
version=0.8.18
|
version=0.8.20
|
||||||
revision=2
|
revision=1
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
hostmakedepends="gettext python3-setuptools_scm"
|
hostmakedepends="gettext python3-setuptools_scm"
|
||||||
makedepends="python3-devel librsync-devel"
|
makedepends="python3-devel librsync-devel"
|
||||||
depends="python3-fasteners gnupg python3-future python3-urllib3"
|
depends="python3-fasteners gnupg python3-future python3-urllib3"
|
||||||
|
checkdepends="$depends python3-pytest python3-mock python3-pexpect
|
||||||
|
tar par2cmdline"
|
||||||
short_desc="Encrypted bandwidth-efficient backup using the rsync algorithm"
|
short_desc="Encrypted bandwidth-efficient backup using the rsync algorithm"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="GPL-2.0-or-later"
|
license="GPL-2.0-or-later"
|
||||||
homepage="http://duplicity.nongnu.org/"
|
homepage="http://duplicity.nongnu.org/"
|
||||||
changelog="http://duplicity.nongnu.org/vers8/CHANGELOG.md"
|
changelog="http://duplicity.nongnu.org/vers8/CHANGELOG.md"
|
||||||
distfiles="http://launchpad.net/duplicity/${version%.*}-series/${version}/+download/duplicity-${version}.tar.gz"
|
distfiles="http://launchpad.net/duplicity/${version%.*}-series/${version}/+download/duplicity-${version}.tar.gz"
|
||||||
checksum=2643fea0f52920a0fb114069c78389f9621f1c24db7f26bda77bbc239b01ae53
|
checksum=bbe4679d37cc5523c2302d6d7933d32f365f7c9aea7ffc7827c45e3b7b2d2234
|
||||||
|
|
||||||
do_check() {
|
|
||||||
# Disable as tests don't work
|
|
||||||
# tests look for pytest,instead of pytest{2,3}
|
|
||||||
:
|
|
||||||
}
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
# drop doc
|
# drop doc
|
||||||
|
|
Loading…
Add table
Reference in a new issue