On Mon, 29 Aug 2016 13:04:35 +0200, Giovanni Bechis
<giova...@paclan.it> wrote:

> On Mon, Aug 29, 2016 at 12:25:20PM +0200, Giovanni Bechis wrote:
> > On 08/27/16 10:13, Daniel Jakots wrote:  
> > > Hi,
> > > 
> > > New update to duplicity. Quickly tested on amd64. As usual, feel
> > > free to test it with your preferred backend.
> > >   
> > there are some regression tests in ${WRKSRC}/testing, have you
> > tried enabling them ?  
> if they cannot be enabled because they are still hanging than ok
> giovanni@ anyway.

So I finally stop slacking, I enabled the tests, there are 3 failures
and 1 error, out of 383 tests (same on 7.09 and 7.10):
- Exception: Platform OpenBSD-6.0-amd64-64bit not supported by tar/gtar.
- AssertionError: 1 != 0
- AssertionError: ('1000:9 600', '1000:1000 600') (hint: 9 is wsrc ;))
- AssertionError: Assumption: /usr/bin is on the same filesystem as /

There's only the second one that doesn't look like bogus.

So new diff with tests enabled, still ok with you?

Index: Makefile
===================================================================
RCS file: /cvs/ports/sysutils/duplicity/Makefile,v
retrieving revision 1.38
diff -u -p -r1.38 Makefile
--- Makefile    9 Aug 2016 11:16:53 -0000       1.38
+++ Makefile    2 Sep 2016 05:48:35 -0000
@@ -5,7 +5,7 @@
 
 COMMENT =      encrypted backup using rsync algorithm
 
-MODPY_EGG_VERSION = 0.7.09
+MODPY_EGG_VERSION = 0.7.10
 DISTNAME =     duplicity-${MODPY_EGG_VERSION}
 
 CATEGORIES =   sysutils
@@ -33,13 +33,21 @@ RUN_DEPENDS +=      devel/py-pexpect \
                gnupg-<2:security/gnupg \
                sysutils/py-lockfile
 
-MAKE_ENV +=    LIBRSYNC_DIR=${LOCALBASE}
+TEST_DEPENDS = archivers/par2cmdline \
+               devel/py-mock \
+               devel/py-pexpect \
+               sysutils/py-lockfile
 
-MODPY_ADJ_FILES = bin/duplicity bin/rdiffdir
+MAKE_ENV +=    LIBRSYNC_DIR=${LOCALBASE}
 
-# Some regression tests are hanging
-# TEST_DEPENDS =       devel/py-mock
-NO_TEST =      Yes
+MODPY_ADJ_FILES =      bin/duplicity bin/rdiffdir \
+                       testing/manual/backendtest \
+                       testing/overrides/bin/hsi \
+                       testing/overrides/bin/lftp \
+                       testing/overrides/bin/ncftpget \
+                       testing/overrides/bin/ncftpls \
+                       testing/overrides/bin/ncftpput \
+                       testing/overrides/bin/tahoe
 
 post-extract:
        chmod 644 ${WRKSRC}/bin/*.1
Index: distinfo
===================================================================
RCS file: /cvs/ports/sysutils/duplicity/distinfo,v
retrieving revision 1.21
diff -u -p -r1.21 distinfo
--- distinfo    9 Aug 2016 11:16:53 -0000       1.21
+++ distinfo    2 Sep 2016 05:48:35 -0000
@@ -1,2 +1,2 @@
-SHA256 (duplicity-0.7.09.tar.gz) = Qx5wYLobAoYF+CruIgJUNQaZjDhscAjNnf6XXpEoqLM=
-SIZE (duplicity-0.7.09.tar.gz) = 1542198
+SHA256 (duplicity-0.7.10.tar.gz) = SF/vFVJtFjwGHgDsCN4hbPfWUuZ9Qd5dw77Z+0IhSEI=
+SIZE (duplicity-0.7.10.tar.gz) = 1543523
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/sysutils/duplicity/pkg/PLIST,v
retrieving revision 1.17
diff -u -p -r1.17 PLIST
--- pkg/PLIST   9 Aug 2016 11:16:53 -0000       1.17
+++ pkg/PLIST   2 Sep 2016 05:48:35 -0000
@@ -2,12 +2,12 @@
 bin/duplicity
 bin/rdiffdir
 lib/python${MODPY_VERSION}/site-packages/duplicity/
-lib/python${MODPY_VERSION}/site-packages/duplicity-0.7.9-py${MODPY_VERSION}.egg-info/
-lib/python${MODPY_VERSION}/site-packages/duplicity-0.7.9-py${MODPY_VERSION}.egg-info/PKG-INFO
-lib/python${MODPY_VERSION}/site-packages/duplicity-0.7.9-py${MODPY_VERSION}.egg-info/SOURCES.txt
-lib/python${MODPY_VERSION}/site-packages/duplicity-0.7.9-py${MODPY_VERSION}.egg-info/dependency_links.txt
-lib/python${MODPY_VERSION}/site-packages/duplicity-0.7.9-py${MODPY_VERSION}.egg-info/requires.txt
-lib/python${MODPY_VERSION}/site-packages/duplicity-0.7.9-py${MODPY_VERSION}.egg-info/top_level.txt
+lib/python${MODPY_VERSION}/site-packages/duplicity-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
+lib/python${MODPY_VERSION}/site-packages/duplicity-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
+lib/python${MODPY_VERSION}/site-packages/duplicity-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt
+lib/python${MODPY_VERSION}/site-packages/duplicity-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt
+lib/python${MODPY_VERSION}/site-packages/duplicity-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/requires.txt
+lib/python${MODPY_VERSION}/site-packages/duplicity-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
 lib/python${MODPY_VERSION}/site-packages/duplicity/__init__.py
 lib/python${MODPY_VERSION}/site-packages/duplicity/__init__.pyc
 lib/python${MODPY_VERSION}/site-packages/duplicity/_librsync.so

Reply via email to