Bug 186461 - sysutils/duplicity: No module named lockfile
Summary: sysutils/duplicity: No module named lockfile
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Jase Thew
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-04 19:40 UTC by Helmut Ritter
Modified: 2014-02-05 18:17 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Helmut Ritter 2014-02-04 19:40:00 UTC
Since the update to duplicity-0.6.23 the program failes:

[helmut@BSDHelmut ~]$ sudo duplicity
Traceback (most recent call last):
  File "/usr/local/bin/duplicity", line 34, in <module>
    from lockfile import FileLock
ImportError: No module named lockfile
[helmut@BSDHelmut ~]$

Fix: 

Add py27-lockfile as dependency.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-02-04 19:40:07 UTC
Responsible Changed
From-To: freebsd-ports-bugs->jase

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2014-02-05 17:48:03 UTC
Author: jase
Date: Wed Feb  5 17:47:55 2014
New Revision: 342803
URL: http://svnweb.freebsd.org/changeset/ports/342803
QAT: https://qat.redports.org/buildarchive/r342803/

Log:
  - Add missing RUN_DEPENDS of devel/py-lockfile
  
  PR:	ports/186461
  Reported by:	Helmut Ritter

Modified:
  head/sysutils/duplicity/Makefile

Modified: head/sysutils/duplicity/Makefile
==============================================================================
--- head/sysutils/duplicity/Makefile	Wed Feb  5 17:46:08 2014	(r342802)
+++ head/sysutils/duplicity/Makefile	Wed Feb  5 17:47:55 2014	(r342803)
@@ -3,6 +3,7 @@
 
 PORTNAME=	duplicity
 PORTVERSION=	0.6.23
+PORTREVISION=	1
 CATEGORIES=	sysutils
 MASTER_SITES=	http://launchpad.net/duplicity/0.6-series/${PORTVERSION}/+download/
 
@@ -10,7 +11,8 @@ MAINTAINER=	jase@FreeBSD.org
 COMMENT=	Backup tool that uses librsync and GnuPG
 
 LIB_DEPENDS=	librsync.so:${PORTSDIR}/net/librsync
-RUN_DEPENDS=	gpg:${PORTSDIR}/security/gnupg
+RUN_DEPENDS=	gpg:${PORTSDIR}/security/gnupg \
+		${PYTHON_PKGNAMEPREFIX}lockfile>=0:${PORTSDIR}/devel/py-lockfile
 
 CONFLICTS=	duplicity-0.5.* duplicity-devel-[0-9]*
 
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Jase Thew freebsd_committer freebsd_triage 2014-02-05 18:17:22 UTC
State Changed
From-To: open->closed

Thanks for the report.