Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Feb 2014 18:31:16 +0000 (UTC)
From:      Jase Thew <jase@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r342199 - head/sysutils/duplicity
Message-ID:  <201402011831.s11IVGtC008987@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jase
Date: Sat Feb  1 18:31:16 2014
New Revision: 342199
URL: http://svnweb.freebsd.org/changeset/ports/342199
QAT: https://qat.redports.org/buildarchive/r342199/

Log:
  - Update to 0.6.23
  - CloudFiles backend is updated to support (and use by default)
    Rackspace's all-encompassing Python API library pyrax. As the
    library is not currently in the Ports Collection, revert the
    default module used for the backend to py-cloudfiles. This can
    be overridden by using --cf-backend=pyrax at runtime
  - Pet portlint(8), rename Makefile variable file to f
  - Update pkg-message to mention mega backend
  - Change to PYDISTUTILS_AUTOPLIST=YES, list documentation in
    PORTDOCS and remove pkg-plist
  
  Changes:	http://duplicity.nongnu.org/Changelog.GNU

Deleted:
  head/sysutils/duplicity/pkg-plist
Modified:
  head/sysutils/duplicity/Makefile
  head/sysutils/duplicity/distinfo
  head/sysutils/duplicity/pkg-message

Modified: head/sysutils/duplicity/Makefile
==============================================================================
--- head/sysutils/duplicity/Makefile	Sat Feb  1 18:24:35 2014	(r342198)
+++ head/sysutils/duplicity/Makefile	Sat Feb  1 18:31:16 2014	(r342199)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	duplicity
-PORTVERSION=	0.6.22
-PORTREVISION=	1
+PORTVERSION=	0.6.23
 CATEGORIES=	sysutils
 MASTER_SITES=	http://launchpad.net/duplicity/0.6-series/${PORTVERSION}/+download/
 
@@ -17,6 +16,7 @@ CONFLICTS=	duplicity-0.5.* duplicity-dev
 
 USE_PYTHON=	2
 USE_PYDISTUTILS=yes
+PYDISTUTILS_AUTOPLIST=	yes
 USE_LDCONFIG=	yes
 
 OPTIONS_DEFINE=	NLS DOCS SSH FTP FTPS S3 GDOCS CLOUDFILES GIO U1
@@ -30,6 +30,9 @@ S3_DESC=	Install Amazon S3 backend
 SSH_DESC=	Install SSH/SCP/SFTP backend
 U1_DESC=	Install Ubuntu One backend
 
+PORTDOCS=	COPYING README README-REPO README-LOG tarfile-LICENSE \
+		tarfile-CHANGES CHANGELOG
+
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MNLS}
@@ -112,13 +115,21 @@ post-patch:
 	@${RM} -f ${WRKSRC}/${PORTNAME}/backends/ftpsbackend.py
 .endif
 .if empty(PORT_OPTIONS:MS3)
-	@${FIND} ${WRKSRC}/${PORTNAME}/backends -type f -depth 1 -name '*boto*' -delete
+.for f in botobackend _boto_multi _boto_single
+	@${RM} -f ${WRKSRC}/${PORTNAME}/backends/${f}.py
+.endfor
 .endif
 .if empty(PORT_OPTIONS:MGDOCS)
 	@${RM} -f ${WRKSRC}/${PORTNAME}/backends/gdocsbackend.py
 .endif
 .if empty(PORT_OPTIONS:MCLOUDFILES)
-	@${RM} -f ${WRKSRC}/${PORTNAME}/backends/cloudfilesbackend.py
+.for f in cfbackend _cf_cloudfiles _cf_pyrax
+	@${RM} -f ${WRKSRC}/${PORTNAME}/backends/${f}.py
+.endfor
+.else
+# Make pycloudfiles the default backend for cloudfiles, as pyrax isn't in the Ports Collection yet
+# Use --cf-backend=pyrax arg when running duplicity to manually select pyrax as the backend
+	@${REINPLACE_CMD} 's|"pyrax"|"cloudfiles"|' ${WRKSRC}/${PORTNAME}/globals.py
 .endif
 .if empty(PORT_OPTIONS:MGIO)
 	@${RM} -f ${WRKSRC}/${PORTNAME}/backends/giobackend.py
@@ -127,21 +138,13 @@ post-patch:
 	@${RM} -f ${WRKSRC}/${PORTNAME}/backends/u1backend.py
 .endif
 
-MAN1=		duplicity.1 rdiffdir.1
-
-DOCFILES=	COPYING \
-		README \
-		README-REPO \
-		README-LOG \
-		tarfile-LICENSE \
-		tarfile-CHANGES \
-		CHANGELOG
+MAN1=	duplicity.1 rdiffdir.1
 
 post-install:
 .if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
-.for file in ${DOCFILES}
-	${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
+.for f in ${PORTDOCS}
+	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
 .endfor
 .endif
 

Modified: head/sysutils/duplicity/distinfo
==============================================================================
--- head/sysutils/duplicity/distinfo	Sat Feb  1 18:24:35 2014	(r342198)
+++ head/sysutils/duplicity/distinfo	Sat Feb  1 18:31:16 2014	(r342199)
@@ -1,2 +1,2 @@
-SHA256 (duplicity-0.6.22.tar.gz) = 6f489b0445681f0697488f3d4097b4c56a7fe8a5fea5fadd2e431724039c5a12
-SIZE (duplicity-0.6.22.tar.gz) = 1257082
+SHA256 (duplicity-0.6.23.tar.gz) = 7a17f1e10395dedcf3204bc53925bb9dcbbf2a7552c9b096ebe727eceb9c0c60
+SIZE (duplicity-0.6.23.tar.gz) = 1260261

Modified: head/sysutils/duplicity/pkg-message
==============================================================================
--- head/sysutils/duplicity/pkg-message	Sat Feb  1 18:24:35 2014	(r342198)
+++ head/sysutils/duplicity/pkg-message	Sat Feb  1 18:31:16 2014	(r342199)
@@ -5,6 +5,7 @@
 *                                                                       *
 *   - The Dropbox backend                                               *
 *   - The HSI backend                                                   *
+*   - The mega backend for mega.co.nz                                   *
 *   - The swift backend for OpenStack Object Storage                    *
 *   - The tahoe backend for Tahoe-LAFS                                  *
 *                                                                       *



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402011831.s11IVGtC008987>