summaryrefslogtreecommitdiff
path: root/app-backup/borgmatic
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-03-06 17:54:58 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-03-06 17:54:58 +0000
commit47223eb70974998c84966981d9e4fc2be27b3f8a (patch)
tree961d3fea7a2e379eac81620131a0b6df82e7e9c3 /app-backup/borgmatic
parent62277f96ac0a859cfd02e8d1775081a4ba521682 (diff)
gentoo auto-resync : 06:03:2023 - 17:54:58
Diffstat (limited to 'app-backup/borgmatic')
-rw-r--r--app-backup/borgmatic/Manifest2
-rw-r--r--app-backup/borgmatic/borgmatic-1.7.8.ebuild62
2 files changed, 64 insertions, 0 deletions
diff --git a/app-backup/borgmatic/Manifest b/app-backup/borgmatic/Manifest
index db3c08ca8423..ab6290e8cf88 100644
--- a/app-backup/borgmatic/Manifest
+++ b/app-backup/borgmatic/Manifest
@@ -4,7 +4,9 @@ AUX borgmatic-1.7.3-systemd_service_bin_path.patch 604 BLAKE2B 9b1c613ce2667d2b8
DIST borgmatic-1.7.2.tar.gz 333772 BLAKE2B fd628e9c77547686d4edf5d1066d3c171575f4d923ebc5205c5eb64f3a960e94c121282e9f4fb02b1291a81011a18dc393c6d13a07f215585459e7a5b55f8107 SHA512 6ec12ec25ae4d0210bb9114795c1ea292d8236f9e68c9425e24ee7b580796504e4c317a3fcf778806a33bbd3db68669beb4ef7a88ec538c1bd432db9a2845b3e
DIST borgmatic-1.7.5.tar.gz 338412 BLAKE2B e27fd709070a27c2ddd01fdfe23ef9caeb942c52d756332b4abd6d6cf39724656677a0d142a5392e35e0a0f25958421fe23edf04a252d212d761f48a0c320d9b SHA512 c27a364617e0e8fc1c11adac5375deac4e1663236a545d3fb70280974614d50ffe3821010ed5e4345afa3c3dab5f45c0d3bbfc946f50321601acb56965fd555d
DIST borgmatic-1.7.7.tar.gz 348839 BLAKE2B 686a5552bdace0e44ced612448fd9a9609d9df2dfb41007f0432bbb6fe9d4c2ef154a215eef63f4aed4626471feda52142d3511498901545a3ab4bbf3171c14f SHA512 e1a7c20a17a4ad37ce348feb89e1a3b34912ae6730742e6b4c822b7a1026e3630167645154268f47922a106621cd02d5f06ada448ac844dfd7c9ff46660ca2ec
+DIST borgmatic-1.7.8.tar.gz 350233 BLAKE2B 3fcd392983f73ec5e97f0dc6b96e211d7f1e1d1a4ce95c635c675cf043e796925df53c30c1e4f8eb1a095d9ec5ff81e90edee5ff2576f4683053d3108004afd9 SHA512 bcc65fdb7ea1171fb61deda9b1f69a00596e1e10a99508d336977b694bd8f93d74837aad9211bf1065b785220aaf1460a3ea403bf23fa4873d1bf4c6b4016525
EBUILD borgmatic-1.7.2.ebuild 2132 BLAKE2B 41b6adb71a0c8c40308d24708efa49c0660eacb322a76f2bd8116c9e72819b88d8221269d797d3eddac2630cd7d5e58d7c6d68cb1c671787890fb8a559e61f85 SHA512 153d5f2e354cf4a554c53abe87f3079e9c1135f1c7c6a7601ae31cd081cd4de782adac30dc0f24f36468382a52a8b4ae96f9d88a617fbe4d220eaef896ba21b2
EBUILD borgmatic-1.7.5.ebuild 1919 BLAKE2B 4137e00738a2796934e1f1c7354a7000f3f6b1aad688af9237e11c6ae2c5caa09fb2c60c1c5c6f499aee3e1ac7cced43b42a0fc8ffe9dba62fe8f6ea325cf90c SHA512 2fbe45561a81d0caa4d5a93c34b3027a9302cedb16edfacdd6137c91fcd6d662f60501186a7a8e8b74d7ab7d7bcc3530969137e6f3da8eefcd5bee5084f8c8f8
EBUILD borgmatic-1.7.7.ebuild 1691 BLAKE2B 6d3e33fffb109e986a9dce97905e0d3a2981629570f228da6f933e28031429958fedcad8d75179e608792b2f5ff92fb54f75905c9edbac1859eca5f1e8916e17 SHA512 1986cb133bc81ab93d0c81b2a544b938e64303e893919362eac41202108f5205c2e4912dc3bcf67ff5ceba36ed383a5bb05a4cb41c65f3391a0be779a4b8ee15
+EBUILD borgmatic-1.7.8.ebuild 1691 BLAKE2B 6d3e33fffb109e986a9dce97905e0d3a2981629570f228da6f933e28031429958fedcad8d75179e608792b2f5ff92fb54f75905c9edbac1859eca5f1e8916e17 SHA512 1986cb133bc81ab93d0c81b2a544b938e64303e893919362eac41202108f5205c2e4912dc3bcf67ff5ceba36ed383a5bb05a4cb41c65f3391a0be779a4b8ee15
MISC metadata.xml 380 BLAKE2B bd4f6eb451caa6b36d51dff099c7885ad2c30f2f9f5397e12049a28214601d67853f0dc604e6e42a566b8bf57acf0d9e39c685af8743cce72ec3b5b07adea72e SHA512 1d2c0a22d3b844b58ed35f3fae261a1d6906e5e1b0e69bbe364e0409f335b44f04089ea1d0e6144e2ddfcf066cc8ad85d14c0b22a28ddd22d235c48e1401569f
diff --git a/app-backup/borgmatic/borgmatic-1.7.8.ebuild b/app-backup/borgmatic/borgmatic-1.7.8.ebuild
new file mode 100644
index 000000000000..87cdd1fed96c
--- /dev/null
+++ b/app-backup/borgmatic/borgmatic-1.7.8.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+DISTUTILS_SINGLE_IMPL=1
+DISTUTILS_USE_PEP517=setuptools
+
+inherit distutils-r1 systemd
+
+DESCRIPTION="Automatically create, prune and verify backups with borgbackup"
+HOMEPAGE="https://torsion.org/borgmatic/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv"
+
+# borg is called as an external tool, hence no pythonic stuff
+RDEPEND="app-backup/borgbackup
+ $(python_gen_cond_dep '
+ <dev-python/colorama-0.5[${PYTHON_USEDEP}]
+ dev-python/jsonschema[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+ <dev-python/ruamel-yaml-0.18.0[${PYTHON_USEDEP}]
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ ')"
+BDEPEND="
+ test? (
+ $(python_gen_cond_dep '
+ >=dev-python/flexmock-0.10.10[${PYTHON_USEDEP}]
+ ')
+ )"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.5.1-no_test_coverage.patch
+ "${FILESDIR}"/${PN}-1.7.3-systemd_service_bin_path.patch
+)
+
+# A fragile test whose only purpose is to make sure the NEWS file
+# has been updated for the current version.
+EPYTEST_DESELECT=(
+ tests/integration/commands/test_borgmatic.py::test_borgmatic_version_matches_news_version
+)
+
+distutils_enable_tests pytest
+
+src_install() {
+ distutils-r1_src_install
+ systemd_dounit sample/systemd/borgmatic.{service,timer}
+ keepdir /etc/borgmatic
+}
+
+pkg_postinst() {
+ if [[ -z "${REPLACING_VERSIONS}" ]]; then
+ elog "To generate a sample configuration file, run:"
+ elog " generate-borgmatic-config"
+ fi
+ elog
+ elog "Systemd users wishing to periodically run borgmatic can use the provided timer and service units."
+}