From owner-svn-ports-head@freebsd.org Mon Oct 3 19:15:57 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9E9D6AF3BC2; Mon, 3 Oct 2016 19:15:57 +0000 (UTC) (envelope-from pawel@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 56CF7FF5; Mon, 3 Oct 2016 19:15:57 +0000 (UTC) (envelope-from pawel@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u93JFuZG066286; Mon, 3 Oct 2016 19:15:56 GMT (envelope-from pawel@FreeBSD.org) Received: (from pawel@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u93JFu0d066283; Mon, 3 Oct 2016 19:15:56 GMT (envelope-from pawel@FreeBSD.org) Message-Id: <201610031915.u93JFu0d066283@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pawel set sender to pawel@FreeBSD.org using -f From: Pawel Pekala Date: Mon, 3 Oct 2016 19:15:56 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r423222 - in head/sysutils/duplicity: . files 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.23 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: Mon, 03 Oct 2016 19:15:57 -0000 Author: pawel Date: Mon Oct 3 19:15:56 2016 New Revision: 423222 URL: https://svnweb.freebsd.org/changeset/ports/423222 Log: - Update to version 0.7.10 [1] - Modify options descriptions to match currents standards - Fix PEXPECT option, misc/py-pexpect does not install pexpect executable, convert check to path independent one - Convert to options helpers, break lines around 80 characters - Regenerate patch with make makepatch PR: 213145 [1] Submitted by: Arnaud de Prelle [1] Modified: head/sysutils/duplicity/Makefile head/sysutils/duplicity/distinfo head/sysutils/duplicity/files/patch-setup.py Modified: head/sysutils/duplicity/Makefile ============================================================================== --- head/sysutils/duplicity/Makefile Mon Oct 3 19:06:31 2016 (r423221) +++ head/sysutils/duplicity/Makefile Mon Oct 3 19:15:56 2016 (r423222) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= duplicity -PORTVERSION= 0.7.09 +PORTVERSION= 0.7.10 CATEGORIES= sysutils MASTER_SITES= http://launchpad.net/duplicity/0.7-series/${PORTVERSION}/+download/ @@ -16,26 +16,26 @@ USES= python:2 USE_PYTHON= autoplist distutils USE_LDCONFIG= yes +PORTDOCS= CHANGELOG COPYING README README-REPO README-LOG + OPTIONS_DEFINE= CLOUDFILES DOCS FTP FTPS GDOCS GIO NLS S3 OPTIONS_GROUP= GPG SSH OPTIONS_SINGLE= GPG OPTIONS_SINGLE_GPG= GNUPG GNUPG2 OPTIONS_GROUP_SSH= PARAMIKO PEXPECT OPTIONS_DEFAULT= FTP FTPS GNUPG PARAMIKO S3 -CLOUDFILES_DESC= Install CloudFiles backend -FTP_DESC= Install FTP backend -FTPS_DESC= Install FTPS backend -GDOCS_DESC= Install Google Docs backend -GIO_DESC= Install GIO backend -GPG_DESC= Install GnuPG -GNUPG_DESC= Install GnuPG 1 -GNUPG2_DESC= Install GnuPG 2 -S3_DESC= Install Amazon S3 backend -SSH_DESC= Install SSH/SCP/SFTP backend -PARAMIKO_DESC= Install python ssh implementation -PEXPECT_DESC= Install pexpect and use ssh binaries - -PORTDOCS= CHANGELOG COPYING README README-REPO README-LOG +CLOUDFILES_DESC= CloudFiles backend +FTP_DESC= FTP backend +FTPS_DESC= FTPS backend +GDOCS_DESC= Google Docs backend +GIO_DESC= GIO backend +GPG_DESC= GnuPG support +GNUPG_DESC= Use GnuPG 1 +GNUPG2_DESC= Use GnuPG 2 +S3_DESC= Amazon S3 backend +SSH_DESC= SSH/SCP/SFTP backend +PARAMIKO_DESC= python ssh implementation +PEXPECT_DESC= pexpect and use ssh binaries CLOUDFILES_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cloudfiles>0:net/py-cloudfiles FTP_RUN_DEPENDS= ncftp>=3.2.2:ftp/ncftp3 @@ -47,54 +47,53 @@ GNUPG_RUN_DEPENDS= gnupg1>=1.4.7:securit GNUPG2_RUN_DEPENDS= gpg2:security/gnupg NLS_USES= gettext PARAMIKO_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}paramiko>=1.7.7.1:security/py-paramiko -PEXPECT_RUN_DEPENDS= pexpect:misc/py-pexpect +PEXPECT_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pexpect>0:misc/py-pexpect S3_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}boto>=1.6b:devel/py-boto -.include - -post-patch: -.if empty(PORT_OPTIONS:MNLS) +post-patch-NLS-off: @${REINPLACE_CMD} -e '56,67d' \ ${WRKSRC}/setup.py -.endif -.if empty(PORT_OPTIONS:MPARAMIKO) - @${FIND} ${WRKSRC}/${PORTNAME}/backends -type f -depth 1 -name '*ssh_paramiko*' -delete -.endif -.if empty(PORT_OPTIONS:MPEXPECT) - @${FIND} ${WRKSRC}/${PORTNAME}/backends -type f -depth 1 -name '*ssh_pexpect*' -delete -.endif -.if empty(PORT_OPTIONS:MFTP) + +post-patch-PARAMIKO-off: + @${FIND} ${WRKSRC}/${PORTNAME}/backends -type f -depth 1 \ + -name '*ssh_paramiko*' -delete + +post-patch-PEXPECT-off: + @${FIND} ${WRKSRC}/${PORTNAME}/backends -type f -depth 1 \ + -name '*ssh_pexpect*' -delete + +post-patch-FTP-off: @${RM} -f ${WRKSRC}/${PORTNAME}/backends/ftpbackend.py -.endif -.if empty(PORT_OPTIONS:MFTPS) + +post-patch-FTPS-off: @${RM} -f ${WRKSRC}/${PORTNAME}/backends/ftpsbackend.py -.endif -.if empty(PORT_OPTIONS:MS3) + +post-patch-S3-off: .for f in botobackend _boto_multi _boto_single @${RM} -f ${WRKSRC}/${PORTNAME}/backends/${f}.py .endfor -.endif -.if empty(PORT_OPTIONS:MGDOCS) + +post-patch-GDOCS-off: @${RM} -f ${WRKSRC}/${PORTNAME}/backends/gdocsbackend.py -.endif -.if empty(PORT_OPTIONS:MCLOUDFILES) + +post-patch-CLOUDFILES-off: .for f in cfbackend _cf_cloudfiles _cf_pyrax @${RM} -f ${WRKSRC}/${PORTNAME}/backends/${f}.py .endfor -.else + +post-patch-CLOUDFILES-on: # 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) + +post-patch-GIO-off: @${RM} -f ${WRKSRC}/${PORTNAME}/backends/giobackend.py -.endif post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/python2.7/site-packages/duplicity/_librsync.so ${MKDIR} ${STAGEDIR}${DOCSDIR} -.for f in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} -.endfor + +post-install-DOCS-on: + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|g} ${STAGEDIR}${DOCSDIR} .include Modified: head/sysutils/duplicity/distinfo ============================================================================== --- head/sysutils/duplicity/distinfo Mon Oct 3 19:06:31 2016 (r423221) +++ head/sysutils/duplicity/distinfo Mon Oct 3 19:15:56 2016 (r423222) @@ -1,3 +1,3 @@ -TIMESTAMP = 1469994443 -SHA256 (duplicity-0.7.09.tar.gz) = 431e7060ba1b028605f82aee2202543506998c386c7008cd9dfe975e9128a8b3 -SIZE (duplicity-0.7.09.tar.gz) = 1542198 +TIMESTAMP = 1475352375 +SHA256 (duplicity-0.7.10.tar.gz) = 485fef15526d163c061e00ec08de216cf7d652e67d41de5dc3bed9fb42214842 +SIZE (duplicity-0.7.10.tar.gz) = 1543523 Modified: head/sysutils/duplicity/files/patch-setup.py ============================================================================== --- head/sysutils/duplicity/files/patch-setup.py Mon Oct 3 19:06:31 2016 (r423221) +++ head/sysutils/duplicity/files/patch-setup.py Mon Oct 3 19:15:56 2016 (r423222) @@ -1,5 +1,5 @@ ---- setup.py.orig 2016-03-05 09:59:07.250354000 +0100 -+++ setup.py 2016-03-05 10:02:48.940832000 +0100 +--- setup.py.orig 2016-08-20 19:13:49 UTC ++++ setup.py @@ -23,7 +23,6 @@ import sys import os @@ -8,7 +8,7 @@ from setuptools.command.install import install from setuptools.command.sdist import sdist from distutils.command.build_scripts import build_scripts -@@ -35,6 +34,9 @@ +@@ -35,6 +34,9 @@ if sys.version_info[:2] < (2, 6) or sys. sys.exit(1) incdir_list = libdir_list = None @@ -18,7 +18,7 @@ if os.name == 'posix': LIBRSYNC_DIR = os.environ.get('LIBRSYNC_DIR', '') -@@ -47,15 +49,9 @@ +@@ -47,15 +49,9 @@ if os.name == 'posix': incdir_list = [os.path.join(LIBRSYNC_DIR, 'include')] libdir_list = [os.path.join(LIBRSYNC_DIR, 'lib')] @@ -35,7 +35,7 @@ ] top_dir = os.path.dirname(os.path.abspath(__file__)) -@@ -69,48 +65,9 @@ +@@ -69,48 +65,9 @@ for root, dirs, files in os.walk(os.path ('share/locale/%s/LC_MESSAGES' % lang, ["po/%s/duplicity.mo" % lang])) @@ -84,7 +84,7 @@ install.run(self) -@@ -178,11 +135,7 @@ +@@ -177,11 +134,7 @@ setup(name="duplicity", url="http://duplicity.nongnu.org/index.html", packages=['duplicity', 'duplicity.backends', @@ -97,7 +97,7 @@ package_dir={"duplicity": "duplicity", "duplicity.backends": "duplicity/backends", }, ext_modules=[Extension("duplicity._librsync", -@@ -193,10 +146,7 @@ +@@ -192,10 +145,7 @@ setup(name="duplicity", scripts=['bin/rdiffdir', 'bin/duplicity'], data_files=data_files, install_requires=['lockfile'],