public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/duplicity] epel10.3: Upgrade to 0.4.11 (#440346)
@ 2026-10-09 15:55 Robert Scheck
  0 siblings, 0 replies; only message in thread
From: Robert Scheck @ 2026-10-09 15:55 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/duplicity
Branch : epel10.3
Commit : 9aa89f3a4bca3710e7c9b4e7944d32aac128e374
Author : Robert Scheck <robert@fedoraproject.org>
Date   : 2008-05-05T20:06:37+00:00
Stats  : +24/-108 in 5 file(s)
URL    : https://src.fedoraproject.org/rpms/duplicity/c/9aa89f3a4bca3710e7c9b4e7944d32aac128e374?branch=epel10.3

Log:
Upgrade to 0.4.11 (#440346)

---
diff --git a/.cvsignore b/.cvsignore
index 56c95c9..0dca751 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -1 +1 @@
-duplicity-0.4.9.tar.gz
+duplicity-0.4.11.tar.gz

diff --git a/duplicity-0.4.11-python23.patch b/duplicity-0.4.11-python23.patch
new file mode 100644
index 0000000..178de05
--- /dev/null
+++ b/duplicity-0.4.11-python23.patch
@@ -0,0 +1,17 @@
+Patch by Robert Scheck <robert@fedoraproject.org> to get duplicity >= 0.4.11 building with
+older Python 2.3 again. This release done by Kenneth Loafman <kenneth@loafman.com> luckily
+got Python 2.3 support back.
+
+--- duplicity-0.4.11/setup.py				2008-05-05 16:40:53.000000000 +0200
++++ duplicity-0.4.11/setup.py.python23			2008-05-05 21:45:35.000000000 +0200
+@@ -5,8 +5,8 @@
+ 
+ version_string = "0.4.11"
+ 
+-if sys.version_info[:2] < (2,4):
+-	print "Sorry, duplicity requires version 2.4 or later of python"
++if sys.version_info[:2] < (2,3):
++	print "Sorry, duplicity requires version 2.3 or later of python"
+ 	sys.exit(1)
+ 
+ try:

diff --git a/duplicity-0.4.9-python23.patch b/duplicity-0.4.9-python23.patch
deleted file mode 100644
index 28903f5..0000000
--- a/duplicity-0.4.9-python23.patch
+++ /dev/null
@@ -1,104 +0,0 @@
-Patch by Robert Scheck <robert@fedoraproject.org> which makes duplicity >= 0.4.9 working
-using the older Python 2.3, that doesn't support the non-decorator syntax, which is used
-at @property.
-
---- duplicity-0.4.9/setup.py				2008-01-04 19:11:39.000000000 +0100
-+++ duplicity-0.4.9/setup.py.python23			2008-02-04 23:21:15.000000000 +0100
-@@ -5,8 +5,8 @@
- 
- version_string = "0.4.9"
- 
--if sys.version_info[:2] < (2,4):
--	print "Sorry, duplicity requires version 2.4 or later of python"
-+if sys.version_info[:2] < (2,3):
-+	print "Sorry, duplicity requires version 2.3 or later of python"
- 	sys.exit(1)
- 
- try:
---- duplicity-0.4.9/src/urlparse_2_5.py			2008-01-04 19:11:39.000000000 +0100
-+++ duplicity-0.4.9/src/urlparse_2_5.py.python23	2008-02-04 23:24:42.000000000 +0100
-@@ -55,30 +55,29 @@
- 
-     # Attributes that access the basic components of the URL:
- 
--    @property
-     def scheme(self):
-         return self[0]
-+    scheme = property(scheme)
- 
--    @property
-     def netloc(self):
-         return self[1]
-+    netloc = property(netloc)
- 
--    @property
-     def path(self):
-         return self[2]
-+    path = property(path)
- 
--    @property
-     def query(self):
-         return self[-2]
-+    query = property(query)
- 
--    @property
-     def fragment(self):
-         return self[-1]
-+    fragment = property(fragment)
- 
-     # Additional attributes that provide access to parsed-out portions
-     # of the netloc:
- 
--    @property
-     def username(self):
-         netloc = self.netloc
-         if "@" in netloc:
-@@ -87,8 +86,8 @@
-                 userinfo = userinfo.split(":", 1)[0]
-             return userinfo
-         return None
-+    username = property(username)
- 
--    @property
-     def password(self):
-         netloc = self.netloc
-         if "@" in netloc:
-@@ -96,8 +95,8 @@
-             if ":" in userinfo:
-                 return userinfo.split(":", 1)[1]
-         return None
-+    password = property(password)
- 
--    @property
-     def hostname(self):
-         netloc = self.netloc
-         if "@" in netloc:
-@@ -105,8 +104,8 @@
-         if ":" in netloc:
-             netloc = netloc.split(":", 1)[0]
-         return netloc.lower() or None
-+    hostname = property(hostname)
- 
--    @property
-     def port(self):
-         netloc = self.netloc
-         if "@" in netloc:
-@@ -115,6 +114,7 @@
-             port = netloc.split(":", 1)[1]
-             return int(port, 10)
-         return None
-+    port = property(port)
- 
- 
- class SplitResult(BaseResult):
-@@ -137,9 +137,9 @@
-         return BaseResult.__new__(
-             cls, (scheme, netloc, path, params, query, fragment))
- 
--    @property
-     def params(self):
-         return self[3]
-+    params = property(params)
- 
-     def geturl(self):
-         return urlunparse(self)

diff --git a/duplicity.spec b/duplicity.spec
index 76620b7..4bc5eb6 100644
--- a/duplicity.spec
+++ b/duplicity.spec
@@ -2,13 +2,13 @@
 
 Summary:        Encrypted bandwidth-efficient backup using rsync algorithm
 Name:           duplicity
-Version:        0.4.9
+Version:        0.4.11
 Release:        1%{?dist}
 License:        GPLv3+
 Group:          Applications/Archiving
 URL:            http://www.nongnu.org/duplicity/
 Source:         http://savannah.nongnu.org/download/%{name}/%{name}-%{version}.tar.gz
-Patch:          duplicity-0.4.9-python23.patch
+Patch:          duplicity-0.4.11-python23.patch
 Requires:       python-GnuPGInterface >= 0.3.2, gnupg >= 1.0.6, rsync
 Requires:       pexpect >= 2.1, openssh-clients, ncftp >= 3.1.9, python-boto >= 0.9d
 BuildRequires:  python-devel >= 2.3, librsync-devel >= 0.9.6, pexpect >= 2.1
@@ -51,6 +51,9 @@ rm -rf $RPM_BUILD_ROOT
 %{python_sitearch}/%{name}*
 
 %changelog
+* Mon May 05 2008 Robert Scheck <robert@fedoraproject.org> 0.4.11-1
+- Upgrade to 0.4.11 (#440346)
+
 * Sun Feb 10 2008 Robert Scheck <robert@fedoraproject.org> 0.4.9-1
 - Upgrade to 0.4.9 (#293081, #431467)
 

diff --git a/sources b/sources
index 2545d48..24e1fae 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-501f613e8c76bf69e161d82bbb2d7a05  duplicity-0.4.9.tar.gz
+8891bb4fa2b5d3f053e6f2c4a91782f2  duplicity-0.4.11.tar.gz

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-09 15:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-09 15:55 [rpms/duplicity] epel10.3: Upgrade to 0.4.11 (#440346) Robert Scheck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox