Hello community, here is the log from the commit of package duplicity for openSUSE:Factory checked in at 2019-07-17 13:20:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/duplicity (Old) and /work/SRC/openSUSE:Factory/.duplicity.new.1887 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "duplicity" Wed Jul 17 13:20:12 2019 rev:46 rq:715607 version:0.8.01 Changes: -------- --- /work/SRC/openSUSE:Factory/duplicity/duplicity.changes 2019-05-21 10:39:29.503121883 +0200 +++ /work/SRC/openSUSE:Factory/.duplicity.new.1887/duplicity.changes 2019-07-17 13:21:03.915613744 +0200 @@ -1,0 +2,62 @@ +Tue Jul 16 01:31:53 UTC 2019 - Michael Gorse <[email protected]> + +- Update to version 0.8.01: + * Comment out HSIBackendTest since shim is not up-to-date. + * Merged in po-updates. + * Make sure test filenames a bytes not unicode. + * Fix test_glob_to_regex to work on Python 3.7 + * Fix warning in _librsync.c module. + * Add encoding to logging.FileHandler call to make log file + utf8 + * Ensure _librsync.so is regenned before tox testing. + * Adjust POTFILES.in for compilec.py move. + * Fix so we start duplicity with the base python we run under. + * Fix some issues found by test_code.py. + * Normalize shebang to just python, no version number + * Fix so most testing/*.py files have the future suggested + lines + - from __future__ import print_function + from future import standard_library + standard_library.install_aliases() + * Merged lp:~mterry/duplicity/boto-import + - A couple functions in the boto backend were using the boto + module without importing it first. + * Merged in lp:~mterry/duplicity/s3fsdecode + - Fix s3 backups by encoding remote filenames + * Fix reimport problem where "from future.builtins" was being + treated the differently than "from builtins". They are both + the same, so converted to shorter form "from builtins" and + removed duplicates. + * Fixed bug #1833573 0.8.00 does not work on Python 2 + - Fixed shebang to use /usr/bin/python instead of python + * Fixed bug #1833559 0.8 test fails with 'duplicity not found' + errors + - Fixed assumption that duplicity/rdiffdir were in $PATH + * Fixed failing test in testing/unit/test_globmatch.py + - Someone is messing with regex. Fix same. + - See https://bugs.python.org/issue29995 for details + * Fix some import conflicts with the "past" module + - Rename collections.py to dup_collections.py + - Remove all "from future.utils import old_div" + - Replace old_div() with "//" (in py27 for a while). + - All tests run for py3, unit tests run for py2. The new + import fail is "from future import standard_library" + * Fixed bug #1831178 sequence item 0: expected str instance, + int found + - Simply converted int to str when making list + * Merged in lp:~kaffeekiffer/duplicity/azure-python3-fix + - Use util.fsencode to encode file string + * Merged in lp:~mterry/duplicity/uexc-string + - The return type of util.uexc should always be a string. + * Merged in lp:~mterry/duplicity/gio-pydrive-fsdecode + - Fix gio and pydrive backends to use fsdecode + * See CHANGELOG for changes in version 0.8.00 +- Drop duplicity-refresh-collections-status.patch: fixed upstream. +- Rebase duplicity-remove_shebang.patch, and adapt to use python 3 +- Adjust dependencies, build, and files to use python 3 + (bsc#1082695). +- Add python3-pytest-runner to BuildRequires. +- Adjust egg-info line in files: the directory name doesn't + precisely match the version name. + +------------------------------------------------------------------- @@ -13 +75 @@ - j not be loaded unless needed. + not be loaded unless needed. Old: ---- duplicity-0.7.19.tar.gz duplicity-refresh-collections-status.patch New: ---- duplicity-0.8.01.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ duplicity.spec ++++++ --- /var/tmp/diff_new_pack.O11CVw/_old 2019-07-17 13:21:04.403613466 +0200 +++ /var/tmp/diff_new_pack.O11CVw/_new 2019-07-17 13:21:04.407613465 +0200 @@ -16,28 +16,27 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: duplicity -Version: 0.7.19 +Version: 0.8.01 Release: 0 Summary: Encrypted bandwidth-efficient backup using the rsync algorithm License: GPL-3.0-or-later Group: Productivity/Archiving/Backup URL: http://duplicity.nongnu.org/ -Source: https://code.launchpad.net/%{name}/0.7-series/%{version}/+download/%{name}-%{version}.tar.gz +Source: https://code.launchpad.net/%{name}/0.8-series/%{version}/+download/%{name}-%{version}.tar.gz Patch1: duplicity-remove_shebang.patch -Patch2: duplicity-refresh-collections-status.patch -BuildRequires: %{python_module devel} -BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: librsync-devel >= 0.9.6 BuildRequires: python-rpm-macros +BuildRequires: python3-devel +BuildRequires: python3-pytest-runner +BuildRequires: python3-setuptools Requires: gpg -Requires: python2-fasteners -Requires: python2-lockfile +Requires: python3-fasteners +Requires: python3-lockfile Recommends: %{name}-lang Recommends: lftp -Recommends: python2-boto3 +Recommends: python3-boto3 %description Duplicity incrementally backs up files and directories by encrypting @@ -57,25 +56,24 @@ %prep %setup -q %patch1 -p1 -%patch2 -p0 %build -%python2_build +%python3_build %install -%python2_install +%python3_install rm -rf %{buildroot}%{_datadir}/doc/duplicity-%{version} perl -n -i -e 'print unless m,(%{_bindir}|%{_mandir}|%{_datadir}/doc|%{_datadir}/locale|%{python_sitearch}/testing),' files.lst %find_lang %{name} -%fdupes %{buildroot}%{python2_sitearch} +%fdupes %{buildroot}%{python3_sitearch} %files %license COPYING %doc CHANGELOG README %{_bindir}/duplicity %{_bindir}/rdiffdir -%{python2_sitearch}/duplicity -%{python2_sitearch}/duplicity-%{version}-py%{py2_ver}.egg-info +%{python3_sitearch}/duplicity +%{python3_sitearch}/duplicity-*-py%{py3_ver}.egg-info %{_mandir}/man1/duplicity.1%{?ext_man} %{_mandir}/man1/rdiffdir.1%{?ext_man} ++++++ duplicity-0.7.19.tar.gz -> duplicity-0.8.01.tar.gz ++++++ ++++ 211448 lines of diff (skipped) ++++++ duplicity-remove_shebang.patch ++++++ --- /var/tmp/diff_new_pack.O11CVw/_old 2019-07-17 13:21:04.911613178 +0200 +++ /var/tmp/diff_new_pack.O11CVw/_new 2019-07-17 13:21:04.911613178 +0200 @@ -1,27 +1,27 @@ -diff -urEbwB duplicity-0.7.19/bin/duplicity duplicity-0.7.19.new/bin/duplicity ---- duplicity-0.7.19/bin/duplicity 2019-04-29 17:49:23.000000000 +0200 -+++ duplicity-0.7.19.new/bin/duplicity 2019-04-30 12:59:15.447186950 +0200 +diff -urEbwB duplicity-0.8.01.orig/bin/duplicity duplicity-0.8.01/bin/duplicity +--- duplicity-0.8.01.orig/bin/duplicity 2019-07-14 13:56:01.000000000 -0500 ++++ duplicity-0.8.01/bin/duplicity 2019-07-15 17:26:39.766251867 -0500 @@ -1,4 +1,4 @@ --#!/usr/bin/env python2 -+#!/usr/bin/python +-#!/usr/bin/env python ++#!/usr/bin/python3 # -*- Mode:Python; indent-tabs-mode:nil; tab-width:4 -*- # # duplicity -- Encrypted bandwidth efficient backup -diff -urEbwB duplicity-0.7.19/bin/rdiffdir duplicity-0.7.19.new/bin/rdiffdir ---- duplicity-0.7.19/bin/rdiffdir 2019-04-29 17:49:23.000000000 +0200 -+++ duplicity-0.7.19.new/bin/rdiffdir 2019-04-30 12:59:36.219276912 +0200 +diff -urEbwB duplicity-0.8.01.orig/bin/rdiffdir duplicity-0.8.01/bin/rdiffdir +--- duplicity-0.8.01.orig/bin/rdiffdir 2019-07-14 13:56:01.000000000 -0500 ++++ duplicity-0.8.01/bin/rdiffdir 2019-07-15 17:26:50.058306425 -0500 @@ -1,4 +1,4 @@ --#!/usr/bin/env python2 -+#!/usr/bin/python +-#!/usr/bin/env python ++#!/usr/bin/python3 # rdiffdir -- Extend rdiff functionality to directories - # Version 0.7.19 released April 29, 2019 + # Version 0.8.01 released July 14, 2019 # -diff -urEbwB duplicity-0.7.19/duplicity/compilec.py duplicity-0.7.19.new/duplicity/compilec.py ---- duplicity-0.7.19/duplicity/compilec.py 2017-08-06 18:25:09.000000000 +0200 -+++ duplicity-0.7.19.new/duplicity/compilec.py 2019-04-30 13:00:05.903405462 +0200 +diff -urEbwB duplicity-0.8.01.orig/compilec.py duplicity-0.8.01/compilec.py +--- duplicity-0.8.01.orig/compilec.py 2019-07-10 08:44:25.000000000 -0500 ++++ duplicity-0.8.01/compilec.py 2019-07-15 17:26:22.658161171 -0500 @@ -1,4 +1,4 @@ --#!/usr/bin/env python2 -+#!/usr/bin/python +-#!/usr/bin/env python ++#!/usr/bin/python3 # -*- Mode:Python; indent-tabs-mode:nil; tab-width:4 -*- # # Copyright 2002 Ben Escoto <[email protected]>
