aboutsummaryrefslogtreecommitdiff
path: root/sysutils/duplicity05
diff options
context:
space:
mode:
authorVasil Dimov <vd@FreeBSD.org>2007-08-24 10:39:18 +0000
committerVasil Dimov <vd@FreeBSD.org>2007-08-24 10:39:18 +0000
commit888517b6ee442afd342c5f5286806aebd0c3ebbd (patch)
treed191cd545d6b6a6a4efb3dc47db11957665fa378 /sysutils/duplicity05
parentee2257b360b0f4a45d4a6b7c2039267058cb7df0 (diff)
downloadports-888517b6ee442afd342c5f5286806aebd0c3ebbd.tar.gz
ports-888517b6ee442afd342c5f5286806aebd0c3ebbd.zip
* Upgrade sysutils/duplicity from 0.4.2 to 0.4.3
* Add conditional dependency to misc/py-pexpect Sample patches from rafan@ and from Peter Schuller [1] PR: ports/115762 [1] Submitted by: Peter Schuller <peter.schuller@infidyne.com> [1]
Notes
Notes: svn path=/head/; revision=198238
Diffstat (limited to 'sysutils/duplicity05')
-rw-r--r--sysutils/duplicity05/Makefile22
-rw-r--r--sysutils/duplicity05/distinfo6
-rw-r--r--sysutils/duplicity05/pkg-plist3
3 files changed, 19 insertions, 12 deletions
diff --git a/sysutils/duplicity05/Makefile b/sysutils/duplicity05/Makefile
index ed0cadd0a7ac..7b13cd5792ee 100644
--- a/sysutils/duplicity05/Makefile
+++ b/sysutils/duplicity05/Makefile
@@ -6,26 +6,36 @@
#
PORTNAME= duplicity
-PORTVERSION= 0.4.2
-PORTREVISION= 3
+PORTVERSION= 0.4.3
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR= ${PORTNAME}
-DISTNAME= ${PORTNAME}-${PORTVERSION}
MAINTAINER= vd@FreeBSD.org
COMMENT= Untrusted backup using rsync algorithm
LIB_DEPENDS= rsync.1:${PORTSDIR}/net/librsync
-RUN_DEPENDS= gpg:${PORTSDIR}/security/gnupg
+RUN_DEPENDS= gpg:${PORTSDIR}/security/gnupg \
+ ${PYTHON_SITELIBDIR}/GnuPGInterface.py:${PORTSDIR}/security/py-gnupg
-USE_PYTHON= yes
+PEXPECT_DIR= misc/py-pexpect
+OPTIONS= PEXPECT "Depend on ${PEXPECT_DIR}, needed for ssh backend" On
+
+USE_PYTHON= 2.4+
USE_PYDISTUTILS=yes
MAN1= duplicity.1 rdiffdir.1
DOCFILES= CHANGELOG COPYING README
+.include <bsd.port.pre.mk>
+
+.if !defined(WITHOUT_PEXPECT)
+PEXPECT_DEP= ${PYTHON_SITELIBDIR}/pexpect.py:${PORTSDIR}/${PEXPECT_DIR}
+BUILD_DEPENDS+= ${PEXPECT_DEP}
+RUN_DEPENDS+= ${PEXPECT_DEP}
+.endif
+
post-install:
${INSTALL_MAN} ${WRKSRC}/duplicity.1 ${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/rdiffdir.1 ${PREFIX}/man/man1
@@ -36,4 +46,4 @@ post-install:
.endfor
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/sysutils/duplicity05/distinfo b/sysutils/duplicity05/distinfo
index f945b8c96800..8a26be302690 100644
--- a/sysutils/duplicity05/distinfo
+++ b/sysutils/duplicity05/distinfo
@@ -1,3 +1,3 @@
-MD5 (duplicity-0.4.2.tar.gz) = a9fd4094f23bb36c82cc1dc2816a5b7d
-SHA256 (duplicity-0.4.2.tar.gz) = 5fdf8aeb32bb4c09e3c9d5c4150245a71d757d31d9bb341524de75e06421e176
-SIZE (duplicity-0.4.2.tar.gz) = 103183
+MD5 (duplicity-0.4.3.tar.gz) = fc615a1bf173fb55c36c502d252583f8
+SHA256 (duplicity-0.4.3.tar.gz) = 67b03ccc51fcc3bc339835149466e609ddb05a9f54963515b163fe44da0e690c
+SIZE (duplicity-0.4.3.tar.gz) = 104581
diff --git a/sysutils/duplicity05/pkg-plist b/sysutils/duplicity05/pkg-plist
index a5cdcb2d43e1..3813da993a09 100644
--- a/sysutils/duplicity05/pkg-plist
+++ b/sysutils/duplicity05/pkg-plist
@@ -1,8 +1,5 @@
bin/duplicity
bin/rdiffdir
-%%PYTHON_SITELIBDIR%%/duplicity/GnuPGInterface.py
-%%PYTHON_SITELIBDIR%%/duplicity/GnuPGInterface.pyc
-%%PYTHON_SITELIBDIR%%/duplicity/GnuPGInterface.pyo
%%PYTHON_SITELIBDIR%%/duplicity/__init__.py
%%PYTHON_SITELIBDIR%%/duplicity/__init__.pyc
%%PYTHON_SITELIBDIR%%/duplicity/__init__.pyo