app-backup/borgbackup: add 1.2.6

Signed-off-by: Marek Szuba <marecki@gentoo.org>
This commit is contained in:
Marek Szuba
2023-09-03 14:54:28 +01:00
parent 30130362bf
commit 59bc4e4aa0
2 changed files with 55 additions and 0 deletions
+1
View File
@@ -1 +1,2 @@
DIST borgbackup-1.2.4.tar.gz 4056513 BLAKE2B 90c4d7ce43acaa4512a5cce3d0c96c883699b293efb1e5d5b516b803cf4d03bcece85b026bfa6e47ccccb1f5ec1b115e2c70ccb081d01accfde0d8b080cb4ea8 SHA512 9326a58605a085f521ba75a2eecfb4bdb790d3da18c77076bddaeae641678cc08171d997a758182a739ec6b145bb04d982f8314ae60f93c3ff093eca15515dfd
DIST borgbackup-1.2.6.tar.gz 4355451 BLAKE2B 309af40779f4adeb2611378abf68ac0a4d06529cfce67a1d852650c902abbc71defe2ac918f417615069d8788ec679d1cdc499d253f6605cdc3fecae3aad8953 SHA512 264bf023f4a53f79d8359e1ed0678c7572ad24776e0ddbc5d3446f548629ecea1e0798c33df4464573b1258f47220c86ca964673501dd9b3018484f1f86280f7
@@ -0,0 +1,54 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
# See https://github.com/borgbackup/borg/pull/7592 re: py3.12 support
PYTHON_COMPAT=( python3_{10..11} )
inherit bash-completion-r1 distutils-r1 pypi
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"
# "import file mismatch" when in S, "attempted relative import with no
# known parent package" when in BUILD_DIR/install/.../borg/testsuite.
# Needs work.
RESTRICT="test"
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 setup.py on bumps.
RDEPEND="${DEPEND}
~dev-python/msgpack-1.0.5[${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}]"
distutils_enable_tests pytest
src_install() {
distutils-r1_src_install
doman docs/man/*
dobashcomp scripts/shell_completions/bash/borg
insinto /usr/share/zsh/site-functions
doins scripts/shell_completions/zsh/_borg
insinto /usr/share/fish/vendor_completions.d
doins scripts/shell_completions/fish/borg.fish
}