diff --git a/srcpkgs/duplicity/patches/0001-remove-failing-test.patch b/srcpkgs/duplicity/patches/0001-remove-failing-test.patch deleted file mode 100644 index 89bbf6a77bb..00000000000 --- a/srcpkgs/duplicity/patches/0001-remove-failing-test.patch +++ /dev/null @@ -1,58 +0,0 @@ -From 10064eaff70e58c1cb7d12c04bdb9f915817fc66 Mon Sep 17 00:00:00 2001 -From: Nathan Owens -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 - diff --git a/srcpkgs/duplicity/template b/srcpkgs/duplicity/template index 85bfe131638..40e5f8efa05 100644 --- a/srcpkgs/duplicity/template +++ b/srcpkgs/duplicity/template @@ -1,24 +1,20 @@ # Template file for 'duplicity' pkgname=duplicity -version=0.8.18 -revision=2 +version=0.8.20 +revision=1 build_style=python3-module hostmakedepends="gettext python3-setuptools_scm" makedepends="python3-devel librsync-devel" 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" maintainer="Orphaned " license="GPL-2.0-or-later" homepage="http://duplicity.nongnu.org/" changelog="http://duplicity.nongnu.org/vers8/CHANGELOG.md" distfiles="http://launchpad.net/duplicity/${version%.*}-series/${version}/+download/duplicity-${version}.tar.gz" -checksum=2643fea0f52920a0fb114069c78389f9621f1c24db7f26bda77bbc239b01ae53 - -do_check() { - # Disable as tests don't work - # tests look for pytest,instead of pytest{2,3} - : -} +checksum=bbe4679d37cc5523c2302d6d7933d32f365f7c9aea7ffc7827c45e3b7b2d2234 post_install() { # drop doc