From owner-svn-ports-head@FreeBSD.ORG Sat Feb 1 18:31:17 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7A334993; Sat, 1 Feb 2014 18:31:17 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5BA671356; Sat, 1 Feb 2014 18:31:17 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s11IVH7p008990; Sat, 1 Feb 2014 18:31:17 GMT (envelope-from jase@svn.freebsd.org) Received: (from jase@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s11IVGtC008987; Sat, 1 Feb 2014 18:31:16 GMT (envelope-from jase@svn.freebsd.org) Message-Id: <201402011831.s11IVGtC008987@svn.freebsd.org> From: Jase Thew Date: Sat, 1 Feb 2014 18:31:16 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r342199 - head/sysutils/duplicity X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Feb 2014 18:31:17 -0000 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 .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 * * *