summaryrefslogtreecommitdiff
path: root/sysutils/duplicity/files/patch-setup.py
diff options
context:
space:
mode:
authorJase Thew <jase@FreeBSD.org>2013-11-03 16:54:55 +0000
committerJase Thew <jase@FreeBSD.org>2013-11-03 16:54:55 +0000
commit245e1142edc49f8b05bc74c48e5e0a371e7b7958 (patch)
tree439ff1594cac283dd2f6477697f0c87944f16bd2 /sysutils/duplicity/files/patch-setup.py
parentConvert to USES=kmod (diff)
- Revert r332550 - does not work as intended/is not applicable.
Duplicity itself is not fully Python 3 compatible - there's multiple instances of "print" as command and all the unicode vs bytes string handling needs fixing to allow working unicode filename support. Python 3 support is currently planned for the 0.7 branch.
Notes
Notes: svn path=/head/; revision=332627
Diffstat (limited to '')
-rw-r--r--sysutils/duplicity/files/patch-setup.py12
1 files changed, 3 insertions, 9 deletions
diff --git a/sysutils/duplicity/files/patch-setup.py b/sysutils/duplicity/files/patch-setup.py
index d128a8724631..3a86163122d2 100644
--- a/sysutils/duplicity/files/patch-setup.py
+++ b/sysutils/duplicity/files/patch-setup.py
@@ -1,12 +1,6 @@
---- setup.py.orig 2013-08-22 15:30:09.000000000 +0200
-+++ setup.py 2013-10-06 19:43:39.000000000 +0200
-@@ -26,11 +26,15 @@
- version_string = "0.6.22"
-
- if sys.version_info[:2] < (2,4):
-- print "Sorry, duplicity requires version 2.4 or later of python"
-+ print("Sorry, duplicity requires version 2.4 or later of python")
- sys.exit(1)
+--- setup.py.orig 2011-11-25 23:58:57.147597966 +0000
++++ setup.py 2011-11-26 00:00:43.169721395 +0000
+@@ -31,6 +31,10 @@
incdir_list = libdir_list = None