commit:     7ef6d77b3ca2a34f0118dba5de79416f60590090
Author:     Marc Schiffbauer <mschiff <AT> gentoo <DOT> org>
AuthorDate: Fri Nov  7 14:13:32 2025 +0000
Commit:     Marc Schiffbauer <mschiff <AT> gentoo <DOT> org>
CommitDate: Fri Nov  7 14:13:52 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ef6d77b

app-backup/borgbackup: add 1.4.2

Closes: https://bugs.gentoo.org/965515
Signed-off-by: Marc Schiffbauer <mschiff <AT> gentoo.org>

 app-backup/borgbackup/Manifest                |  1 +
 app-backup/borgbackup/borgbackup-1.4.2.ebuild | 71 +++++++++++++++++++++++++++
 2 files changed, 72 insertions(+)

diff --git a/app-backup/borgbackup/Manifest b/app-backup/borgbackup/Manifest
index ba066732341d..4f489b07394f 100644
--- a/app-backup/borgbackup/Manifest
+++ b/app-backup/borgbackup/Manifest
@@ -1 +1,2 @@
 DIST borgbackup-1.4.1.tar.gz 3817197 BLAKE2B 
fbf5cd06bcddd5b90db75ed1b2276d2eba0d17d0545a751acfd40d051053d9d3e1a0ea2f1dd87e6541aeca6199e98ad1885b9d3155696268752069b763b660a4
 SHA512 
83ce8fcefa4e4099922e1f3894aba41d8d83ccff3e554b4b5ee0f0b9b8b18b18bcbf7f566e36aea4214e0d9d427cb66d63d2e1933b773e3338fd5814fd80e3a4
+DIST borgbackup-1.4.2.tar.gz 3932875 BLAKE2B 
a3489c46d17cc07a62f5098320a5023e957f7044021d307d879b0c0dfe4bc49ddf10151a2e2e888dbbb2721f412f6a699d7b8b67d1a0e28eda92dfd931b164b6
 SHA512 
035396661013057614724f55d6b3e3ed35b686887d836b7358e1f95b6c354ec5c4d9592c29cb1d4577e113e3a0558a9054689a2678b62b97d78287ad0295cce0

diff --git a/app-backup/borgbackup/borgbackup-1.4.2.ebuild 
b/app-backup/borgbackup/borgbackup-1.4.2.ebuild
new file mode 100644
index 000000000000..96d043c028f6
--- /dev/null
+++ b/app-backup/borgbackup/borgbackup-1.4.2.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{11..13} )
+
+inherit distutils-r1 pypi shell-completion
+
+DESCRIPTION="Deduplicating backup program with compression and authenticated 
encryption"
+HOMEPAGE="https://borgbackup.readthedocs.io/";
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+
+DEPEND="
+       app-arch/lz4
+       app-arch/zstd
+       dev-libs/openssl:0=
+       >=dev-libs/xxhash-0.8.1
+       virtual/acl
+"
+# borgbackup is *very* picky about which msgpack it work with,
+# check pyproject.toml on bumps.
+RDEPEND="
+       ${DEPEND}
+       <dev-python/msgpack-1.1.2[${PYTHON_USEDEP}]
+       dev-python/packaging[${PYTHON_USEDEP}]
+       dev-python/pyfuse3[${PYTHON_USEDEP}]
+"
+
+BDEPEND="
+       dev-python/cython[${PYTHON_USEDEP}]
+       dev-python/pkgconfig[${PYTHON_USEDEP}]
+       dev-python/setuptools-scm[${PYTHON_USEDEP}]
+       test? (
+               dev-python/python-dateutil[${PYTHON_USEDEP}]
+       )
+"
+
+# some tests randomly fail with xdist, bug #936524
+EPYTEST_PLUGINS=()
+distutils_enable_tests pytest
+
+PATCHES=(
+       # https://github.com/borgbackup/borg/pull/8904
+       "${FILESDIR}/${P}-msgpack-1.1.1.patch"
+)
+
+python_test() {
+       local EPYTEST_DESELECT=(
+               # Needs pytest-benchmark fixture
+               benchmark.py::test_
+       )
+
+       # This disables fuse releated tests
+       local -x BORG_FUSE_IMPL="none"
+       epytest --pyargs borg.testsuite
+}
+
+src_install() {
+       distutils-r1_src_install
+       doman docs/man/*
+
+       dobashcomp scripts/shell_completions/bash/borg
+       dozshcomp scripts/shell_completions/zsh/_borg
+       dofishcomp scripts/shell_completions/fish/borg.fish
+}

Reply via email to