pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/py-barman Update databases/py-barman to 1.4.1.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8e6f1f8bde59
branches:  trunk
changeset: 652897:8e6f1f8bde59
user:      fhajny <fhajny%pkgsrc.org@localhost>
date:      Tue Jun 09 15:06:39 2015 +0000

description:
Update databases/py-barman to 1.4.1.

Version 1.4.1 - 05 May 2015
  * Fix for WAL archival stop working if first backup is EMPTY
    (Closes: #64)
  * Fix exception during error handling in Barman recovery (Closes:
    #65)
  * After a backup, limit cron activity to WAL archiving only
    (Closes: #62)
  * Improved robustness and error reporting of the backup delete
    command (Closes: #63)
  * Fix computation of WAL production ratio as reported in the
    show-backup command
  * Improved management of xlogb file, which is now correctly fsynced
    when updated. Also, the rebuild-xlogdb command now operates on a
    temporary new file, which overwrites the main one when finished.
  * Add unit tests for dateutil module compatibility
  * Modified Barman version following PEP 440 rules and added support
    of tests in Python 3.4

diffstat:

 databases/py-barman/Makefile                      |   4 ++--
 databases/py-barman/distinfo                      |  10 +++++-----
 databases/py-barman/patches/patch-barman_utils.py |  14 ++++++++++++++
 3 files changed, 21 insertions(+), 7 deletions(-)

diffs (45 lines):

diff -r 41a95fcfde93 -r 8e6f1f8bde59 databases/py-barman/Makefile
--- a/databases/py-barman/Makefile      Tue Jun 09 15:04:48 2015 +0000
+++ b/databases/py-barman/Makefile      Tue Jun 09 15:06:39 2015 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.4 2015/04/13 23:12:40 rodent Exp $
+# $NetBSD: Makefile,v 1.5 2015/06/09 15:06:39 fhajny Exp $
 
-DISTNAME=      barman-1.4.0
+DISTNAME=      barman-1.4.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    databases python
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=pgbarman/}
diff -r 41a95fcfde93 -r 8e6f1f8bde59 databases/py-barman/distinfo
--- a/databases/py-barman/distinfo      Tue Jun 09 15:04:48 2015 +0000
+++ b/databases/py-barman/distinfo      Tue Jun 09 15:06:39 2015 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2015/04/07 09:42:55 fhajny Exp $
+$NetBSD: distinfo,v 1.3 2015/06/09 15:06:39 fhajny Exp $
 
-SHA1 (barman-1.4.0.tar.gz) = bdeab227133bf58005b1b7b3812ffbd52cb3fd18
-RMD160 (barman-1.4.0.tar.gz) = 77bcccac32158f7dffd022a99bfce270758e0ae6
-Size (barman-1.4.0.tar.gz) = 120590 bytes
-SHA1 (patch-barman_backup.py) = 552ce149f700aca35487144d8bc9ba0063bcacf5
+SHA1 (barman-1.4.1.tar.gz) = 9f6465271bdac62d1a00c1f9e9da3737da0cd2ee
+RMD160 (barman-1.4.1.tar.gz) = 1ef7caae63fd5d7698cf2c9b6671c34044071200
+Size (barman-1.4.1.tar.gz) = 122048 bytes
+SHA1 (patch-barman_utils.py) = 30723ff650fcbe0c1cf5108424d997bf96898fd4
diff -r 41a95fcfde93 -r 8e6f1f8bde59 databases/py-barman/patches/patch-barman_utils.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/py-barman/patches/patch-barman_utils.py Tue Jun 09 15:06:39 2015 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-barman_utils.py,v 1.1 2015/06/09 15:06:39 fhajny Exp $
+
+Make portable for non-glibc platforms too.
+--- barman/utils.py.orig       2015-04-17 13:05:38.000000000 +0000
++++ barman/utils.py
+@@ -239,7 +239,7 @@ def fsync_dir(dir_path):
+     :param str dir_path: The directory to sync
+     :raise OSError: If fail opening the directory
+     """
+-    dir_fd = os.open(dir_path, os.O_DIRECTORY)
++    dir_fd = os.open(dir_path, os.O_RDONLY)
+     try:
+         os.fsync(dir_fd)
+     except OSError, e:



Home | Main Index | Thread Index | Old Index