pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/py-borgbackup



Module Name:    pkgsrc
Committed By:   wiz
Date:           Fri Mar 24 07:08:55 UTC 2023

Modified Files:
        pkgsrc/sysutils/py-borgbackup: Makefile PLIST distinfo

Log Message:
py-borgbackup: update to 1.2.4.

Version 1.2.4 (2023-03-24)
--------------------------

New features:

- import-tar: add --ignore-zeros to process concatenated tars, #7432.
- debug id-hash: computes file/chunk content id-hash, #7406
- diff: --content-only does not show mode/ctime/mtime changes, #7248
- diff: JSON strings in diff output are now sorted alphabetically

Bug fixes:

- xattrs: fix namespace processing on FreeBSD, #6997
- diff: fix path related bug seen when addressing deferred items.
- debug get-obj/put-obj: always give chunkid as cli param, see #7290
  (this is an incompatible change, see also borg debug id-hash)
- extract: fix mtime when ResourceFork xattr is set (macOS specific), #7234
- recreate: without --chunker-params, do not re-chunk, #7337
- recreate: when --target is given, do not detect "nothing to do".
  use case: borg recreate -a src --target dst can be used to make a copy
  of an archive inside the same repository, #7254.
- set .hardlink_master for ALL hardlinkable items, #7175
- locking: fix host, pid, tid order.
  tid (thread id) must be parsed as hex from lock file name.
- update development.lock.txt, including a setuptools security fix, #7227

Other changes:

- requirements: allow msgpack 1.0.5 also
- upgrade Cython to 0.29.33
- hashindex minor fixes, refactor, tweaks, tests
- use os.replace not os.rename
- remove BORG_LIBB2_PREFIX (not used any more)
- docs:

  - BORG_KEY_FILE: clarify docs, #7444
  - update FAQ about locale/unicode issues, #6999
  - improve mount options rendering, #7359
  - make timestamps in manual pages reproducible
  - installation: update Fedora in distribution list, #7357
- tests:

  - fix test_size_on_disk_accurate for large st_blksize, #7250
  - add same_ts_ns function and use it for relaxed timestamp comparisons
  - "auto" compressor tests: don't assume a specific size,
    do not assume zlib is better than lz4, #7363
  - add test for extracted directory mtime
- vagrant:

  - upgrade local freebsd 12.1 box -> generic/freebsd13 box (13.1)
  - use pythons > 3.8 which work on freebsd 13.1
  - pyenv: also install python 3.11.1 for testing
  - pyenv: use python 3.10.1, 3.10.0 build is broken on freebsd

Version 1.2.3 (2022-12-24)
--------------------------

Fixes:

- create: fix --list --dry-run output for directories, #7209
- diff/recreate: normalize chunker params before comparing them, #7079
- check: fix uninitialised variable if repo is completely empty, #7034
- xattrs: improve error handling, #6988
- fix args.paths related argparsing, #6994
- archive.save(): always use metadata from stats (e.g. nfiles, size, ...), #7072
- tar_filter: recognize .tar.zst as zstd, #7093
- get_chunker: fix missing sparse=False argument, #7056
- file_integrity.py: make sure file_fd is always closed on exit
- repository: cleanup(): close segment before unlinking
- repository: use os.replace instead of os.rename

Other changes:

- remove python < 3.7 compatibility code
- do not use version_tuple placeholder in setuptools_scm template
- CI: fix tox4 passenv issue, #7199
- vagrant: update to python 3.9.16, use the openbsd 7.1 box
- misc. test suite and docs fixes / improvements
- remove deprecated --prefix from docs, #7109
- Windows: use MSYS2 for Github CI, remove Appveyor CI


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 pkgsrc/sysutils/py-borgbackup/Makefile
cvs rdiff -u -r1.12 -r1.13 pkgsrc/sysutils/py-borgbackup/PLIST
cvs rdiff -u -r1.29 -r1.30 pkgsrc/sysutils/py-borgbackup/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/py-borgbackup/Makefile
diff -u pkgsrc/sysutils/py-borgbackup/Makefile:1.41 pkgsrc/sysutils/py-borgbackup/Makefile:1.42
--- pkgsrc/sysutils/py-borgbackup/Makefile:1.41 Thu Mar  9 06:52:35 2023
+++ pkgsrc/sysutils/py-borgbackup/Makefile      Fri Mar 24 07:08:55 2023
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.41 2023/03/09 06:52:35 wiz Exp $
+# $NetBSD: Makefile,v 1.42 2023/03/24 07:08:55 wiz Exp $
 
-DISTNAME=      borgbackup-1.2.2
+DISTNAME=      borgbackup-1.2.4
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    sysutils python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=b/borgbackup/}
 
@@ -13,12 +12,14 @@ LICENSE=    modified-bsd
 USE_LANGUAGES= c c++
 
 BUILD_DEPENDS+=        ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
-# https://github.com/borgbackup/borg/issues/7417
-DEPENDS+=      ${PYPKGPREFIX}-msgpack>=1.0.1<1.0.5:../../devel/py-msgpack104
+DEPENDS+=      ${PYPKGPREFIX}-msgpack>=1.0.1:../../devel/py-msgpack
 DEPENDS+=      ${PYPKGPREFIX}-packaging-[0-9]*:../../devel/py-packaging
+TEST_DEPENDS+= ${PYPKGPREFIX}-dateutil-[0-9]*:../../time/py-dateutil
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27 37
 PYTHON_SELF_CONFLICT=          yes
+# DISTUTILS_BUILDDIR_IN_TEST_ENV=      yes
 
 USE_PKG_RESOURCES=     yes
 
@@ -32,6 +33,10 @@ INSTALLATION_DIRS+=  ${PKGMANDIR}/man1
 post-install:
        ${INSTALL_MAN} ${WRKSRC}/docs/man/*1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
 
+# doesn't work due to file name mismatch errors
+do-test:
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
+
 .include "../../archivers/lz4/buildlink3.mk"
 .include "../../archivers/zstd/buildlink3.mk"
 .include "../../security/libb2/buildlink3.mk"

Index: pkgsrc/sysutils/py-borgbackup/PLIST
diff -u pkgsrc/sysutils/py-borgbackup/PLIST:1.12 pkgsrc/sysutils/py-borgbackup/PLIST:1.13
--- pkgsrc/sysutils/py-borgbackup/PLIST:1.12    Thu Mar  3 12:01:09 2022
+++ pkgsrc/sysutils/py-borgbackup/PLIST Fri Mar 24 07:08:55 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.12 2022/03/03 12:01:09 wiz Exp $
+@comment $NetBSD: PLIST,v 1.13 2023/03/24 07:08:55 wiz Exp $
 bin/borg
 bin/borgfs
 ${PYSITELIB}/borg/__init__.py
@@ -175,6 +175,9 @@ ${PYSITELIB}/borg/testsuite/file_integri
 ${PYSITELIB}/borg/testsuite/hashindex.py
 ${PYSITELIB}/borg/testsuite/hashindex.pyc
 ${PYSITELIB}/borg/testsuite/hashindex.pyo
+${PYSITELIB}/borg/testsuite/hashindex_stress.py
+${PYSITELIB}/borg/testsuite/hashindex_stress.pyc
+${PYSITELIB}/borg/testsuite/hashindex_stress.pyo
 ${PYSITELIB}/borg/testsuite/helpers.py
 ${PYSITELIB}/borg/testsuite/helpers.pyc
 ${PYSITELIB}/borg/testsuite/helpers.pyo

Index: pkgsrc/sysutils/py-borgbackup/distinfo
diff -u pkgsrc/sysutils/py-borgbackup/distinfo:1.29 pkgsrc/sysutils/py-borgbackup/distinfo:1.30
--- pkgsrc/sysutils/py-borgbackup/distinfo:1.29 Mon Aug 22 11:10:12 2022
+++ pkgsrc/sysutils/py-borgbackup/distinfo      Fri Mar 24 07:08:55 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.29 2022/08/22 11:10:12 wiz Exp $
+$NetBSD: distinfo,v 1.30 2023/03/24 07:08:55 wiz Exp $
 
-BLAKE2s (borgbackup-1.2.2.tar.gz) = 1351473a7680ae96a524e54f03c3db1a422ffe9083587db3d7cbfdfdff7b4107
-SHA512 (borgbackup-1.2.2.tar.gz) = 9ba040dc659b123e09d1814ea158eb06bd802dbb4961e258910a586f88c5e92e8f32a72c1858f7a8d9d79c3e985b12cf0245436f46a474f627cfd70a59a7e29d
-Size (borgbackup-1.2.2.tar.gz) = 4042984 bytes
+BLAKE2s (borgbackup-1.2.4.tar.gz) = 3ed79944eac18f2b8f648885f468caef94f366f0896266a18ac6065e313406d7
+SHA512 (borgbackup-1.2.4.tar.gz) = 9326a58605a085f521ba75a2eecfb4bdb790d3da18c77076bddaeae641678cc08171d997a758182a739ec6b145bb04d982f8314ae60f93c3ff093eca15515dfd
+Size (borgbackup-1.2.4.tar.gz) = 4056513 bytes



Home | Main Index | Thread Index | Old Index