1
0

app-backup/borgbackup: add 2.0.0_beta8

This commit is contained in:
Martin Wohlert 2024-04-03 10:27:01 +02:00
parent e846e21a76
commit 0e286d0d9c
2 changed files with 60 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST borgbackup-2.0.0b8.tar.gz 3255734 BLAKE2B 727dc2087e34f1e5753d8cc10864a122f4f5f61bec3fd1118b0e426ded11e852713ffe37f4a06f95588be726c1d4c075fedf551c555531305f63c3c0786c4ead SHA512 7be2100c545cf9b42fd146bc6bcb1622694bae455c30f91436a4c1d7cf194962c02d3671674fcc739e2f5bca9ec600b879742fcec139e923021ba49a61ba2df2

View File

@ -0,0 +1,59 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..12} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 bash-completion-r1
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="https://github.com/${PN}/borg.git"
inherit git-r3
else
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
inherit pypi
fi
DESCRIPTION="Deduplicating backup program with compression and authenticated encryption"
HOMEPAGE="https://borgbackup.readthedocs.io/"
LICENSE="BSD"
SLOT="0"
# Unfortunately we have a file conflict with app-office/borg, bug #580402
# borgbackup is *very* picky about which msgpack it work with,
# check changelog on bumps.
RDEPEND="
!!app-office/borg
app-arch/lz4
app-arch/zstd
virtual/acl
dev-python/pyfuse3[${PYTHON_USEDEP}]
~dev-python/msgpack-1.0.7[${PYTHON_USEDEP}]
dev-python/xxhash[${PYTHON_USEDEP}]
dev-python/argon2-cffi[${PYTHON_USEDEP}]
dev-libs/openssl:0=
"
DEPEND="
dev-python/setuptools-scm[${PYTHON_USEDEP}]
dev-python/packaging[${PYTHON_USEDEP}]
dev-python/cython[${PYTHON_USEDEP}]
dev-python/pkgconfig[${PYTHON_USEDEP}]
${RDEPEND}
"
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
}