summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2023-12-08 23:09:35 +0000
committerMarek Szuba <marecki@gentoo.org>2023-12-08 23:10:48 +0000
commitdc29c27f0fa57657e645c34e9c08dcf84111b763 (patch)
treee7bc7ea788d0928a165139bd6692ebb07b86f98c /app-backup/borgbackup
parentmedia-sound/spotify: add 1.2.26, drop 1.2.25 (diff)
downloadgentoo-dc29c27f0fa57657e645c34e9c08dcf84111b763.tar.gz
gentoo-dc29c27f0fa57657e645c34e9c08dcf84111b763.tar.bz2
gentoo-dc29c27f0fa57657e645c34e9c08dcf84111b763.zip
app-backup/borgbackup: add 1.2.7
Bug: https://bugs.gentoo.org/915319 Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'app-backup/borgbackup')
-rw-r--r--app-backup/borgbackup/Manifest1
-rw-r--r--app-backup/borgbackup/borgbackup-1.2.7.ebuild53
2 files changed, 54 insertions, 0 deletions
diff --git a/app-backup/borgbackup/Manifest b/app-backup/borgbackup/Manifest
index 26f452eb29d4..1913011a37d9 100644
--- a/app-backup/borgbackup/Manifest
+++ b/app-backup/borgbackup/Manifest
@@ -1 +1,2 @@
DIST borgbackup-1.2.6.tar.gz 4355451 BLAKE2B 309af40779f4adeb2611378abf68ac0a4d06529cfce67a1d852650c902abbc71defe2ac918f417615069d8788ec679d1cdc499d253f6605cdc3fecae3aad8953 SHA512 264bf023f4a53f79d8359e1ed0678c7572ad24776e0ddbc5d3446f548629ecea1e0798c33df4464573b1258f47220c86ca964673501dd9b3018484f1f86280f7
+DIST borgbackup-1.2.7.tar.gz 4370372 BLAKE2B 8d69f3e7890ee117e1fe2cdf6b92c548bc40b337de09850948150034fc4724bf05c51c852a268df2294e3657676920a1c663a421331fd6dba5fffa558429f11e SHA512 313f495d09bff9d2106a2354d02e8b5478dbce279ccfe863d22bbca40fe1bef94fc575e4ae45585a776689fa0058982c4c009c423ac948cc229e15bb5eb5f2bc
diff --git a/app-backup/borgbackup/borgbackup-1.2.7.ebuild b/app-backup/borgbackup/borgbackup-1.2.7.ebuild
new file mode 100644
index 000000000000..f941a77dae56
--- /dev/null
+++ b/app-backup/borgbackup/borgbackup-1.2.7.ebuild
@@ -0,0 +1,53 @@
+# 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
+PYTHON_COMPAT=( python3_{10..12} )
+
+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.7[${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
+}