1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-17 08:01:36 +00:00

sysutils/duplicity: Update to 0.7.13.1

Changed RUN_DEPENDS from devel/py-lockfile to devel/py-fasteners:
  Fixed bug #1320641 and others regarding lockfile
    - swap from lockfile to fasteners module
    - use an fcntl() style lock for process lock of duplicity cache
    - lockfile will now clear if duplicity is killed or crashes

See the changelog file for more information.

Changes: http://www.nongnu.org/duplicity/CHANGELOG

Approved by:	garga (mentor)
Differential Revision:	https://reviews.freebsd.org/D11548
This commit is contained in:
Danilo G. Baio 2017-07-12 01:20:53 +00:00
parent e2a5b8b615
commit 0671abdecb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=445559
3 changed files with 10 additions and 13 deletions

View File

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= duplicity
PORTVERSION= 0.7.12
PORTREVISION= 1
PORTVERSION= 0.7.13.1
CATEGORIES= sysutils
MASTER_SITES= http://launchpad.net/duplicity/0.7-series/${PORTVERSION}/+download/
@ -14,7 +13,7 @@ LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= librsync.so:net/librsync2
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lockfile>=0:devel/py-lockfile
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fasteners>=0:devel/py-fasteners
USES= python:2
USE_PYTHON= autoplist distutils

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1491052275
SHA256 (duplicity-0.7.12.tar.gz) = 11cbad44a90891af1bf9e294260ba7c21a1660ccd3ab2c6e736ba74ac5cf0fe6
SIZE (duplicity-0.7.12.tar.gz) = 1552442
TIMESTAMP = 1499458687
SHA256 (duplicity-0.7.13.1.tar.gz) = adb8668fb10e0b0f91cb77f758d02c02bf5c02e6c4835904a82cbdab6db4bef2
SIZE (duplicity-0.7.13.1.tar.gz) = 1553736

View File

@ -1,4 +1,4 @@
--- setup.py.orig 2016-12-31 16:33:12 UTC
--- setup.py.orig 2017-06-15 18:48:07 UTC
+++ setup.py
@@ -23,7 +23,6 @@
import sys
@ -18,7 +18,7 @@
if os.name == 'posix':
LIBRSYNC_DIR = os.environ.get('LIBRSYNC_DIR', '')
@@ -47,16 +49,10 @@ if os.name == 'posix':
@@ -47,15 +49,9 @@ if os.name == 'posix':
incdir_list = [os.path.join(LIBRSYNC_DIR, 'include')]
libdir_list = [os.path.join(LIBRSYNC_DIR, 'lib')]
@ -32,11 +32,9 @@
- 'README-REPO',
- 'README-LOG',
- 'CHANGELOG']),
- ]
+ ]
]
top_dir = os.path.dirname(os.path.abspath(__file__))
assert os.path.exists(os.path.join(top_dir, "po")), "Missing 'po' directory."
@@ -70,46 +66,9 @@ for root, dirs, files in os.walk(os.path
["po/%s/duplicity.mo" % lang]))
@ -100,8 +98,8 @@
@@ -192,10 +147,7 @@ setup(name="duplicity",
scripts=['bin/rdiffdir', 'bin/duplicity'],
data_files=data_files,
install_requires=['lockfile'],
- tests_require=['lockfile', 'mock', 'pexpect'],
install_requires=['fasteners'],
- tests_require=['fasteners', 'mock', 'pexpect'],
- test_suite='testing',
- cmdclass={'test': TestCommand,
- 'install': InstallCommand,