mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-25 07:08:13 -07:00
app-backup/borgmatic: add 2.0.6
Signed-off-by: Petr Vaněk <arkamar@gentoo.org>
This commit is contained in:
@@ -2,3 +2,4 @@ DIST borgmatic-1.9.14.tar.gz 656877 BLAKE2B 36f8dce1251b74d67f33aaed5f6ebe41ff10
|
||||
DIST borgmatic-2.0.3.tar.gz 676665 BLAKE2B a66429ec7c4bd31102745e6761c945cce4bb3f8af2f97f2f5c66013bce9cb55dba083d2856a8ef088b885345531532bc38350c4b7828e44663b47129a1ce3dc4 SHA512 fa83b7efd92059255bcbc7cd9e5038b94fde0ca39affafc8ce372bcd57eaf5faa5b17be700372110c909f9bb969f9b30cc5ce106e10b114b40684a67cb62d066
|
||||
DIST borgmatic-2.0.4.tar.gz 677555 BLAKE2B 17f962d3fa93c52383a73d5e8e5ded92aeba2e933940d1f010b95078e5505ceff90c1a9cf9377e57de78bd00de90f9f639294523bc6729883efcd1510f8b1a11 SHA512 b40a0f8651fd0ef75683ddb10ac87acca38a9d11a47f8351dd07199f264baacea27897d5ce9cb41dea2e77ad3902f113ce07e65dabce858e2f44bea8eac75875
|
||||
DIST borgmatic-2.0.5.tar.gz 678806 BLAKE2B 3cb2defa5c93b4dbc37ea7d8e8055d8a31e30564e665a861c7544263416b46ae3ce4eadb4f34e4213d357b6817cd1bc2c62f4fc0cf1563cbb5180f11441841ae SHA512 9226a22c72deff3efb2eb11c8a92de1e1e2f4dd339fcf0991ae4286f8a14ab4be4c54dfa7f7b6a00d0ae816f1b4460fe73387b63482c014c515b8e24d5981cba
|
||||
DIST borgmatic-2.0.6.tar.gz 679515 BLAKE2B 929bb9954206210c6c4ef2b670e1419b9fc06a4686d9e0010d439f4848ee1f197704e36640a558671fe911817e6af3e8eb81b70860c5b1921147e75a50baec52 SHA512 49cff6bb1975f25f23f52f5efe9b92b2e1cab4aff337bd41a5136b442df245531a9bd6b18a601ed055a7f25750fe7fe2817c59964e176b358861e8262ea02722
|
||||
|
||||
78
app-backup/borgmatic/borgmatic-2.0.6.ebuild
Normal file
78
app-backup/borgmatic/borgmatic-2.0.6.ebuild
Normal file
@@ -0,0 +1,78 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
DISTUTILS_SINGLE_IMPL=1
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
|
||||
inherit distutils-r1 eapi9-ver 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/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? (
|
||||
${RDEPEND}
|
||||
$(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.3-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
|
||||
)
|
||||
|
||||
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."
|
||||
elif ver_replacing -lt 2.0.0; then
|
||||
ewarn "Please be warned that ${PN}-2.0.0 has introduced several breaking changes."
|
||||
ewarn "For details, please see"
|
||||
ewarn
|
||||
ewarn " https://github.com/borgmatic-collective/borgmatic/releases/tag/2.0.0"
|
||||
ewarn
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user