Tue Jul 13 20:20:29 2021 UTC ()
Update py-borgbackup to 1.1.17.

Fixes:

- pyinstaller dir-mode: fix pyi detection / LIBPATH treatment
- handle crash due to kill stale lock race
- fix BORG_CACHE_DIR crashing borg if empty
- create --dry-run: fix display of kept tagfile
- fix missing parameter in "did not consistently fail" msg
- missing / healed chunks: always tell chunk ID
- benchmark: make sure cleanup happens even on exceptions

New features:

- implement BORG_SELFTEST env variable.
  this can be used to accelerate borg startup a bit. not recommended for
  normal usage, but borg mass hosters with a lot of borg invocations can
  save some resources with this. on my laptop, this saved ~100ms cpu time
  (sys+user) per borg command invocation.
- implement BORG_LIBC env variable to give the libc filename.
  you can use this if a borg does not find your libc.
- check: add progress indicator for archive check.
- allow --files-cache=size (not recommended, make sure you know what you do)

Other changes:

- Python 3.10 now officially supported!
  we test on py310-dev on github CI since a while and now also on the vagrant
  machines, so it should work ok.
- github CI: test on py310 (again)
- get rid of distutils, use packaging and setuptools.
  distutils is deprecated and gives warnings on py 3.10.
- setup.py: rename "clean" to "clean2" to avoid shadowing the "clean" command.
- remove libc filename fallback for the BSDs (there is no "usual" name)
- cleanup flake8 checks, fix some pep8 violations.
- docs building: replace deprecated function ".add_stylesheet()" for Sphinx 4 compatibility
- docs:

  - add a hint on sleeping computer and ssh connections
  - update the documentation on hacked backup client
  - improve docs/FAQ about append-only remote repos
  - complement the documentation for pattern files and exclude files
  - "filename with spaces" example added to exclude file
    note: no whitespace escaping needed, processed by borg.
  - add info on renaming repositories
  - clarify borg check --verify-data
  - add notice about defective hardware to check documentation
  - add paragraph added in #5855 to utility documentation source
  - add missing leading slashes in help patterns
  - clarify "you will need key and passphrase" borg init warning
  - pull mode: add some warnings
  - mention tar --compare (compare archive to fs files)


(bsiegert)
diff -r1.31 -r1.32 pkgsrc/sysutils/py-borgbackup/Makefile
diff -r1.23 -r1.24 pkgsrc/sysutils/py-borgbackup/distinfo

cvs diff -r1.31 -r1.32 pkgsrc/sysutils/py-borgbackup/Makefile (expand / switch to unified diff)

--- pkgsrc/sysutils/py-borgbackup/Makefile 2021/04/01 17:04:23 1.31
+++ pkgsrc/sysutils/py-borgbackup/Makefile 2021/07/13 20:20:29 1.32
@@ -1,27 +1,28 @@ @@ -1,27 +1,28 @@
1# $NetBSD: Makefile,v 1.31 2021/04/01 17:04:23 wiz Exp $ 1# $NetBSD: Makefile,v 1.32 2021/07/13 20:20:29 bsiegert Exp $
2 2
3DISTNAME= borgbackup-1.1.16 3DISTNAME= borgbackup-1.1.17
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5CATEGORIES= sysutils python 5CATEGORIES= sysutils python
6MASTER_SITES= ${MASTER_SITE_PYPI:=b/borgbackup/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=b/borgbackup/}
7 7
8MAINTAINER= bsiegert@NetBSD.org 8MAINTAINER= bsiegert@NetBSD.org
9HOMEPAGE= https://github.com/borgbackup/borg 9HOMEPAGE= https://github.com/borgbackup/borg
10COMMENT= Deduplicating backup program with compression and encryption 10COMMENT= Deduplicating backup program with compression and encryption
11LICENSE= modified-bsd 11LICENSE= modified-bsd
12USE_LANGUAGES= c c++ 12USE_LANGUAGES= c c++
13 13
14BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm 14BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
 15BUILD_DEPENDS+= ${PYPKGPREFIX}-packaging-[0-9]*:../../devel/py-packaging
15# current pkgsrc version is too new for borgbackup 1.1.11 16# current pkgsrc version is too new for borgbackup 1.1.11
16#DEPENDS+= ${PYPKGPREFIX}-msgpack>=0.4.6:../../devel/py-msgpack 17#DEPENDS+= ${PYPKGPREFIX}-msgpack>=0.4.6:../../devel/py-msgpack
17 18
18PYTHON_VERSIONS_INCOMPATIBLE= 27 19PYTHON_VERSIONS_INCOMPATIBLE= 27
19 20
20MAKE_ENV+= BORG_OPENSSL_PREFIX=${SSLBASE:Q} 21MAKE_ENV+= BORG_OPENSSL_PREFIX=${SSLBASE:Q}
21MAKE_ENV+= BORG_LZ4_PREFIX=${BUILDLINK_PREFIX.lz4} 22MAKE_ENV+= BORG_LZ4_PREFIX=${BUILDLINK_PREFIX.lz4}
22MAKE_ENV+= BORG_LIBZSTD_PREFIX=${BUILDLINK_PREFIX.zstd} 23MAKE_ENV+= BORG_LIBZSTD_PREFIX=${BUILDLINK_PREFIX.zstd}
23MAKE_ENV+= BORG_LIBB2_PREFIX=${BUILDLINK_PREFIX.libb2} 24MAKE_ENV+= BORG_LIBB2_PREFIX=${BUILDLINK_PREFIX.libb2}
24 25
25 26
26post-install: 27post-install:
27 cd ${DESTDIR}${PREFIX}/bin && ${MV} borg borg-${PYVERSSUFFIX} || ${TRUE} 28 cd ${DESTDIR}${PREFIX}/bin && ${MV} borg borg-${PYVERSSUFFIX} || ${TRUE}

cvs diff -r1.23 -r1.24 pkgsrc/sysutils/py-borgbackup/distinfo (expand / switch to unified diff)

--- pkgsrc/sysutils/py-borgbackup/distinfo 2021/04/01 17:04:23 1.23
+++ pkgsrc/sysutils/py-borgbackup/distinfo 2021/07/13 20:20:29 1.24
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.23 2021/04/01 17:04:23 wiz Exp $ 1$NetBSD: distinfo,v 1.24 2021/07/13 20:20:29 bsiegert Exp $
2 2
3SHA1 (borgbackup-1.1.16.tar.gz) = 798e50dd4c7978e188ea278f8cfef1efaaa7cf76 3SHA1 (borgbackup-1.1.17.tar.gz) = bb868b360dd79be11b880ae3f19de8de3d5735b3
4RMD160 (borgbackup-1.1.16.tar.gz) = 87571df87b2120e7a652da0cb951f4555c2f6ebb 4RMD160 (borgbackup-1.1.17.tar.gz) = 0d19544016343d8f02d753fabae6387da709f036
5SHA512 (borgbackup-1.1.16.tar.gz) = 9cdfe794329821c784461382633fd29f7f9b3cc6ef9e7fa2463ed178efd64ea367e56d49128d88b86bd516d36971282207ec173735ecb4eabc4ec7b4604ed773 5SHA512 (borgbackup-1.1.17.tar.gz) = 6170680efcca35341031a8fcfd9434d2dca530bb6f7fcabbf452e6af6a8df5a825b4991d342f3c97bd7378d56b9ee86e6118f9281a31ba51235f49818852f4bb
6Size (borgbackup-1.1.16.tar.gz) = 3777030 bytes 6Size (borgbackup-1.1.17.tar.gz) = 3781411 bytes