aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/duplicity
diff options
context:
space:
mode:
authorvd <vd@FreeBSD.org>2007-08-24 18:39:18 +0800
committervd <vd@FreeBSD.org>2007-08-24 18:39:18 +0800
commitb3033d569e29e6e39a2aa8fdbf41640d3a2c5546 (patch)
treed866b1c68e1a47150bd4180827af913562d8e150 /sysutils/duplicity
parent069c743f3b9f821ff90befd9a796e8f67f58a20e (diff)
downloadfreebsd-ports-gnome-b3033d569e29e6e39a2aa8fdbf41640d3a2c5546.tar.gz
freebsd-ports-gnome-b3033d569e29e6e39a2aa8fdbf41640d3a2c5546.tar.zst
freebsd-ports-gnome-b3033d569e29e6e39a2aa8fdbf41640d3a2c5546.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]
Diffstat (limited to 'sysutils/duplicity')
-rw-r--r--sysutils/duplicity/Makefile22
-rw-r--r--sysutils/duplicity/distinfo6
-rw-r--r--sysutils/duplicity/pkg-plist3
3 files changed, 19 insertions, 12 deletions
diff --git a/sysutils/duplicity/Makefile b/sysutils/duplicity/Makefile
index ed0cadd0a7ac..7b13cd5792ee 100644
--- a/sysutils/duplicity/Makefile
+++ b/sysutils/duplicity/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/duplicity/distinfo b/sysutils/duplicity/distinfo
index f945b8c96800..8a26be302690 100644
--- a/sysutils/duplicity/distinfo
+++ b/sysutils/duplicity/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/duplicity/pkg-plist b/sysutils/duplicity/pkg-plist
index a5cdcb2d43e1..3813da993a09 100644
--- a/sysutils/duplicity/pkg-plist
+++ b/sysutils/duplicity/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