summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2023-09-03 14:53:56 +0100
committerMarek Szuba <marecki@gentoo.org>2023-09-03 14:54:28 +0100
commit59bc4e4aa02b670d43f43eda1c6497e9d51f522c (patch)
treedf4a56069d53d561eacb73310aebb964eed69812
parentdev-python/moto: Bump to 4.2.2 (diff)
downloadgentoo-59bc4e4aa02b670d43f43eda1c6497e9d51f522c.tar.gz
gentoo-59bc4e4aa02b670d43f43eda1c6497e9d51f522c.tar.bz2
gentoo-59bc4e4aa02b670d43f43eda1c6497e9d51f522c.zip
app-backup/borgbackup: add 1.2.6
Signed-off-by: Marek Szuba <marecki@gentoo.org>
-rw-r--r--app-backup/borgbackup/Manifest1
-rw-r--r--app-backup/borgbackup/borgbackup-1.2.6.ebuild54
2 files changed, 55 insertions, 0 deletions
diff --git a/app-backup/borgbackup/Manifest b/app-backup/borgbackup/Manifest
index 41ba0d6ffa0d..262c22a00fba 100644
--- a/app-backup/borgbackup/Manifest
+++ b/app-backup/borgbackup/Manifest
@@ -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
diff --git a/app-backup/borgbackup/borgbackup-1.2.6.ebuild b/app-backup/borgbackup/borgbackup-1.2.6.ebuild
new file mode 100644
index 000000000000..ec87634ff3ee
--- /dev/null
+++ b/app-backup/borgbackup/borgbackup-1.2.6.ebuild
@@ -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
+}