Bug 182765 - [patch update] sysutils/duplicity 0.6.22 small change in setup.py to properly run under py33
Summary: [patch update] sysutils/duplicity 0.6.22 small change in setup.py to properly...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: William Grzybowski
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-06 18:50 UTC by Kurt Jaeger
Modified: 2013-11-02 23:10 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (820 bytes, patch)
2013-10-06 18:50 UTC, Kurt Jaeger
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kurt Jaeger 2013-10-06 18:50:00 UTC
	small fix for setup.py to run under py33

How-To-Repeat: 	-
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-10-06 18:50:15 UTC
Responsible Changed
From-To: freebsd-ports-bugs->jase

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 William Grzybowski freebsd_committer freebsd_triage 2013-11-02 23:00:55 UTC
Responsible Changed
From-To: jase->wg

I'll take it.
Comment 3 dfilter service freebsd_committer freebsd_triage 2013-11-02 23:01:00 UTC
Author: wg
Date: Sat Nov  2 23:00:53 2013
New Revision: 332550
URL: http://svnweb.freebsd.org/changeset/ports/332550

Log:
  sysutils/duplicity: fix for python 3.x
  
  PR:		ports/182765
  Submitted by:	Kurt Jaeger <fbsd-ports opsec.eu>
  Approved by:	maintainer (timeout)

Modified:
  head/sysutils/duplicity/Makefile
  head/sysutils/duplicity/files/patch-setup.py

Modified: head/sysutils/duplicity/Makefile
==============================================================================
--- head/sysutils/duplicity/Makefile	Sat Nov  2 22:55:52 2013	(r332549)
+++ head/sysutils/duplicity/Makefile	Sat Nov  2 23:00:53 2013	(r332550)
@@ -9,14 +9,14 @@ MASTER_SITES=	http://launchpad.net/dupli
 MAINTAINER=	jase@FreeBSD.org
 COMMENT=	Backup tool that uses librsync and GnuPG
 
-LIB_DEPENDS=	rsync:${PORTSDIR}/net/librsync
+LIB_DEPENDS=	librsync.so:${PORTSDIR}/net/librsync
 RUN_DEPENDS=	gpg:${PORTSDIR}/security/gnupg
 
 FETCH_ARGS=	-pRr
 
 CONFLICTS=	duplicity-0.5.* duplicity-devel-[0-9]*
 
-USE_PYTHON=	2.5+
+USE_PYTHON=	yes
 USE_PYDISTUTILS=yes
 USE_LDCONFIG=	yes
 
@@ -32,7 +32,7 @@ SSH_DESC=	Install SSH/SCP/SFTP backend
 U1_DESC=	Install Ubuntu One backend
 
 NO_STAGE=	yes
-.include "bsd.port.options.mk"
+.include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MNLS}
 USES+=		gettext

Modified: head/sysutils/duplicity/files/patch-setup.py
==============================================================================
--- head/sysutils/duplicity/files/patch-setup.py	Sat Nov  2 22:55:52 2013	(r332549)
+++ head/sysutils/duplicity/files/patch-setup.py	Sat Nov  2 23:00:53 2013	(r332550)
@@ -1,6 +1,12 @@
---- 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 @@
+--- 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)
  
  incdir_list = libdir_list = None
  
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 4 William Grzybowski freebsd_committer freebsd_triage 2013-11-02 23:01:02 UTC
State Changed
From-To: open->closed

Committed. Thanks!