summaryrefslogtreecommitdiff
path: root/app-backup
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-11-20 03:02:59 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-11-20 03:02:59 +0000
commit8a5f3383bbc5f817d89554020a3600d06985bc4a (patch)
treec1f7e85e7de87c74b4c730fab5369051cef5cb32 /app-backup
parentf2e359c456b051f95efc92e21299d55a302e58ed (diff)
gentoo auto-resync : 20:11:2024 - 03:02:59
Diffstat (limited to 'app-backup')
-rw-r--r--app-backup/Manifest.gzbin7693 -> 7698 bytes
-rw-r--r--app-backup/borgmatic/Manifest2
-rw-r--r--app-backup/borgmatic/borgmatic-1.9.2.ebuild85
3 files changed, 87 insertions, 0 deletions
diff --git a/app-backup/Manifest.gz b/app-backup/Manifest.gz
index a92f3004447f..a25787797543 100644
--- a/app-backup/Manifest.gz
+++ b/app-backup/Manifest.gz
Binary files differ
diff --git a/app-backup/borgmatic/Manifest b/app-backup/borgmatic/Manifest
index abd3af3b660f..f7b14fadb2e2 100644
--- a/app-backup/borgmatic/Manifest
+++ b/app-backup/borgmatic/Manifest
@@ -5,7 +5,9 @@ AUX borgmatic-1.9.0-no_test_coverage.patch 418 BLAKE2B 07e5bdb4b9091c4b3d1cb07da
DIST borgmatic-1.8.14.tar.gz 623966 BLAKE2B fd52bc5be4f63e1207a0bedcf654af075082d31af76ddc65ea30a3259f1ec093c826612e114fd9f9fa46668f80eed3b2b6a88262fbb9e4db49c36ba31efa70c5 SHA512 74daecbf02f957b21121dff073c2e114c87b1afdf6b3408b8fc2bf465102425cca60e4bdc8bc8d0e2d0a9c20b1f514eb7c9a2e136e71cb61969e07a38841235a
DIST borgmatic-1.9.0.tar.gz 636235 BLAKE2B ff71f8c811ca185926369402de5f2b1bd750135fcc66d54744056292994b781fba501945cf5dc39cc727d2c8f2ef360e79b4f2ba7a868f29bf0304722cae9649 SHA512 767b11451377d9ab046fe36272d523f1ec7c72fe162cc3eef09583f4e9a6e0d4bae09bb446b746a47e73fb4afdac1d0206b75b93a9fb2859987909f17aa87c43
DIST borgmatic-1.9.1.tar.gz 636657 BLAKE2B 6061b49d501be28afe7a3a6ac928ec77233bb354e494e14584c1cdeb76e5c06cb9fe06e97f0eb0be4a5aa03c7f0359ce47a7b45044e95358b80ab0986ed5d9b8 SHA512 c86fd5a0d1db065df8e0f4366e2742be798e225cd3af2baea86e27f165cd9956f059f5d51f85f49715c40db51e7aca93a64f5a8fcefceec316a588560875ce69
+DIST borgmatic-1.9.2.tar.gz 641879 BLAKE2B 0c1678c905235ee435fdeb7fc57eabb44054344fab596ecb17f5cbeb0a2afa944b3105b08c61547de853de561c58971a6d32ac677434475b38cc90af4600b88d SHA512 8226155f049141b80bed32f955faa37cd8d2c01489092510440c1f53247d1aabf7d8730aa8c22b20f16ffb5686b158966a544e2bea4558178ec52da187b18c13
EBUILD borgmatic-1.8.14.ebuild 2119 BLAKE2B 37315799c86d681ad2a4932a80f2b0f3fb81bdfcaf2bc2316ce9f03fdcaa9df0ae2a310be121392b5136a789874d3a44dddf4d4659c4a8ef13fb3c1ad8f66332 SHA512 8d7a80481d5a50367640308b91903d5a34d13dcc6069dcebdbeba6be1cbd21b5cd9a811d7dbec816ffbbfbf3f96252fac8ed59d0d8a1bb1f22dbc02b3570e537
EBUILD borgmatic-1.9.0.ebuild 2218 BLAKE2B 003e1da8d686c9517f3c505a92bc4b4c6486c33bb11450b87ac0af9b0f56155eade234b291be50f534dc8bfe8fc349ccd95b1a2cd50f7beaf3edae9f7ed8e7d1 SHA512 09e53a63f0cbf7d8267d4b07d86ded910caf2852947273082a5fee4a3833de12d276b9df4ebf56fb5bbea0008069182b1fd58709064e1137216d7fd6ebe58bad
EBUILD borgmatic-1.9.1.ebuild 2232 BLAKE2B c749a0e52589987206083566d2a9892827a2507e389c05ce1780d2566524099ba079c99d5931951a23132299f84fdbc51842903537e43e1f955ef44695391d3b SHA512 263e4b035bb281a1f88e228c404530e9cb40db4cb0df9813ba8ee6417de11ce65ef57af883a152cb50323358d00928ad21cdf5f73d6e8d9fddf2e4549dc09b1d
+EBUILD borgmatic-1.9.2.ebuild 2391 BLAKE2B 2eaeb99c5edef44c0b01b06a9def79458c26086c2645650b3b4669672341c83f07ca228713edc18576cc4dc6a8ca081cfdbbc1087e49599f6a35299c8e8dd5a3 SHA512 4d6ce261d2a176cfabd131d2bcf8d5f35390f55dd8038de50bc9e0ef96c1164a11aea363eab32e52c46549faca4321d5fd062a0943e2fed32978a44cb020067b
MISC metadata.xml 461 BLAKE2B 700c5863d623abaa1a88f91ef5281c6d3d8c2ce8eeb5b15cadbbd93b1d50bfce5445cd2f133bbe998da36de9e2953ce154e1b8eb033d36f33bb88881e672aeb6 SHA512 e739f7ff60f69c3b4d5c72daeda65b9c042bf01d74ce6a60b2684e7e52eea5deaa946a2aa5f1dc84ae16f6eaf4bff8f46628f41ba55c394ff4fe70b5935663a2
diff --git a/app-backup/borgmatic/borgmatic-1.9.2.ebuild b/app-backup/borgmatic/borgmatic-1.9.2.ebuild
new file mode 100644
index 000000000000..1f7d3c75f0c5
--- /dev/null
+++ b/app-backup/borgmatic/borgmatic-1.9.2.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+DISTUTILS_SINGLE_IMPL=1
+DISTUTILS_USE_PEP517=setuptools
+
+inherit distutils-r1 systemd pypi
+
+DESCRIPTION="Automatically create, prune and verify backups with borgbackup"
+HOMEPAGE="
+ https://torsion.org/borgmatic/
+ https://projects.torsion.org/borgmatic-collective/borgmatic
+"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv"
+IUSE="apprise"
+
+# 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/packaging[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+ dev-python/ruamel-yaml[${PYTHON_USEDEP}]
+ ')
+ apprise? ( $(python_gen_cond_dep '
+ dev-python/apprise[${PYTHON_USEDEP}]
+ ') )"
+BDEPEND="
+ test? (
+ $(python_gen_cond_dep '
+ dev-python/apprise[${PYTHON_USEDEP}]
+ >=dev-python/flexmock-0.10.10[${PYTHON_USEDEP}]
+ ')
+ )"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.7.14-systemd_service_bin_path.patch
+ "${FILESDIR}"/${PN}-1.9.0-no_test_coverage.patch
+)
+
+EPYTEST_DESELECT=(
+ # A fragile test whose only purpose is to make sure the NEWS file
+ # has been updated for the current version.
+ tests/integration/commands/test_borgmatic.py::test_borgmatic_version_matches_news_version
+
+ # The test expects unset NO_COLOR, bug 943393. See also
+ # https://projects.torsion.org/borgmatic-collective/borgmatic/issues/943
+ tests/unit/test_logger.py::test_should_do_markup_respects_config_value
+)
+
+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 " ${PN} config generate"
+ elog
+ elog "Systemd users wishing to periodically run ${PN} can use the provided timer and service units."
+ else
+ local oldver
+ for oldver in ${REPLACING_VERSIONS}; do
+ if ver_test "${oldver}" -lt 1.9.0; then
+ ewarn "Please be warned that ${PN}-1.9.0 has introduced several breaking changes."
+ ewarn "For details, please see"
+ ewarn
+ ewarn " https://github.com/borgmatic-collective/borgmatic/releases/tag/1.9.0"
+ ewarn
+ break
+ fi
+ done
+ fi
+}