app-backup/borgmatic: drop 2.1.7

Signed-off-by: Marc Schiffbauer <mschiff@gentoo.org>
This commit is contained in:
Marc Schiffbauer
2026-09-26 15:26:10 +02:00
parent 708b36fead
commit 40593caaad
2 changed files with 0 additions and 90 deletions
-1
View File
@@ -1,5 +1,4 @@
DIST borgmatic-2.0.13.gh.tar.gz 883059 BLAKE2B e2a811b92c7ec651ea79d69e092e39a4d145dd624c9c5e59ba31c19ec38aa087fb640152e174149d3c8b41b0724f008c21be8d6e557484b7598c7e4fbde343f9 SHA512 d0be944f19a5ceced51cb3ab52391ee80317ab16359d36ba480cca065941f8c007466951347290b3adce35dfbee082efafb6ea92473c2e6400eca7daf4beb47d
DIST borgmatic-2.1.5.gh.tar.gz 911694 BLAKE2B 275bf92f8ae3d040e0a7ce4698cafa6e5dcfe009421fb72a5612100184b76bffc2129efe3dc2712664ed2467cb28807580e53887fa8991e5edb2982176366e06 SHA512 10b8d411f6e363a4a77585f5b1911b15083f3a07b6546967fe18388b5cc433754e8d6200307bb0a55722f67749c416ead179b7c64db671407b5960cbf2082aef
DIST borgmatic-2.1.7.gh.tar.gz 982283 BLAKE2B 8097aabdd9d448515504d75abaac784d5febd18375549894be12028d634d37d9395d18c352ed097000d5b876b3f5cfd1e43105c78575f2a082eac2b9c0f31f79 SHA512 03557a871805d82d08cb01590e8c9b5754bf213dd8fd30f954d4c1383bd5b4d618f38355d5d2222684c62f7a10c1bf66f71bdb68a432aa20c2330a2ce4785d79
DIST borgmatic-2.1.8.gh.tar.gz 1052367 BLAKE2B 210a06918c41329104ce68f282f128b431ddedcb83b6da6bba40047366eafbf52da45de34f2fc9674b3ca3f075ae59fd56be7482430597b88e3913431a35bfeb SHA512 5c43bf9f0bfc4d23b1d5221feb016b02d24cc5e147008639c2ed9e6a9451a5c1fd5ef23c69ba5b8fcba50953a23c71e259a6ccd8f247361a32d0fba0dea9cbe9
DIST borgmatic-2.1.9.gh.tar.gz 1054298 BLAKE2B ba5cecc447c976a7f8b153385ceb4bc915550460d0fff565f45323db85fd63ddc8fb378c63134a0d808ac2e869dc7a013ab0ff31585099f295170daa35d92a9a SHA512 938a03d43493ce3930fe2f9d4efba0aab2130225acdafad39ab319a63d21810799003b5641ec9690d11b257cdfbb4e928771a99a3a33cef174f1e4c2986e3740
@@ -1,89 +0,0 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{12..14} )
DISTUTILS_SINGLE_IMPL=1
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 eapi9-ver systemd
DESCRIPTION="Automatically create, prune and verify backups with borgbackup"
HOMEPAGE="
https://torsion.org/borgmatic/
https://projects.torsion.org/borgmatic-collective/borgmatic
"
# tests are not present in pypi archive since version 2.0.8
SRC_URI="
https://github.com/borgmatic-collective/borgmatic/archive/refs/tags/${PV}.tar.gz
-> ${P}.gh.tar.gz
"
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}]
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
')
)
"
PATCHES=(
"${FILESDIR}"/${PN}-1.7.14-systemd_service_bin_path.patch
"${FILESDIR}"/${PN}-2.1.6-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
# data_source tests were ommited in the pypi archive, they are present in
# git archive, but they fail in py3.14.
# See https://projects.torsion.org/borgmatic-collective/borgmatic/issues/1149
tests/unit/hooks/data_source/test_dump.py::test_convert_glob_patterns_to_borg_pattern_makes_multipart_regular_expression
)
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.1.0; then
ewarn "Please be warned that ${PN}-2.1.0 has introduced several breaking changes."
ewarn "For details, please see"
ewarn
ewarn " https://github.com/borgmatic-collective/borgmatic/releases/tag/2.1.0"
ewarn
fi
}