diff --git a/app-backup/borgbackup/Manifest b/app-backup/borgbackup/Manifest new file mode 100644 index 0000000..93a079f --- /dev/null +++ b/app-backup/borgbackup/Manifest @@ -0,0 +1 @@ +DIST borgbackup-2.0.0b8.tar.gz 3255734 BLAKE2B 727dc2087e34f1e5753d8cc10864a122f4f5f61bec3fd1118b0e426ded11e852713ffe37f4a06f95588be726c1d4c075fedf551c555531305f63c3c0786c4ead SHA512 7be2100c545cf9b42fd146bc6bcb1622694bae455c30f91436a4c1d7cf194962c02d3671674fcc739e2f5bca9ec600b879742fcec139e923021ba49a61ba2df2 diff --git a/app-backup/borgbackup/borgbackup-2.0.0_beta8.ebuild b/app-backup/borgbackup/borgbackup-2.0.0_beta8.ebuild new file mode 100644 index 0000000..763991b --- /dev/null +++ b/app-backup/borgbackup/borgbackup-2.0.0_beta8.ebuild @@ -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 +}