diff options
| author | Petr Vaněk <arkamar@gentoo.org> | 2025-03-04 14:38:16 +0100 |
|---|---|---|
| committer | Petr Vaněk <arkamar@gentoo.org> | 2025-03-04 14:45:47 +0100 |
| commit | a37b86211dab11eb4eae09019c92cc9a1735dcad (patch) | |
| tree | 87c7ba59303f16c78f8909c09c175094466a9cea | |
| parent | 2b1f6e674ae3a669abd3b251b65fbd95458a4b04 (diff) | |
| download | gentoo-a37b86211dab11eb4eae09019c92cc9a1735dcad.tar.gz gentoo-a37b86211dab11eb4eae09019c92cc9a1735dcad.tar.bz2 gentoo-a37b86211dab11eb4eae09019c92cc9a1735dcad.zip | |
app-backup/borgmatic: add 1.9.13
Signed-off-by: Petr Vaněk <arkamar@gentoo.org>
| -rw-r--r-- | app-backup/borgmatic/Manifest | 1 | ||||
| -rw-r--r-- | app-backup/borgmatic/borgmatic-1.9.13.ebuild | 78 |
2 files changed, 79 insertions, 0 deletions
diff --git a/app-backup/borgmatic/Manifest b/app-backup/borgmatic/Manifest index d7014565649f..8767ef963e04 100644 --- a/app-backup/borgmatic/Manifest +++ b/app-backup/borgmatic/Manifest @@ -1,5 +1,6 @@ DIST borgmatic-1.9.10.tar.gz 646658 BLAKE2B 8eec2cea8e1001c7d55aef6e267aa18a4db67e33c61a28fe072bbbe99df305672e0e6b4187f5ace470add162298f9facbd805924d486358bca41bfa02538f3c0 SHA512 0d15ce4a3b71ceebfb3185130a9dcdfb80a23111396a9d2f39cae2c69f3eaba54e4005ad13fcce6c728aaf1179fc44a85ab2db1efb3824c7a33743ebaed3a954 DIST borgmatic-1.9.12.tar.gz 653984 BLAKE2B 62445bd2fa4a9ab93a4ef9035617dc57fd191e7df9a5709dc760424fe5fe8d9a6798b98563442739ddd3ce4c73947fadc0a259c21f56fe0ec214a2fd0e179e9b SHA512 26449ff7eae3d104ffee578f1211afc545141b4224c8c0888bad14e2251a9bbe2d8ec8b9e3c652a5a5881d49eca5df275e6ac6ad07661e0b64c2713147e71c30 +DIST borgmatic-1.9.13.tar.gz 655690 BLAKE2B b51706ffb56e3905298498fa71e7f949be43b968e2c62565657fde6a6e470253f4d50022b54327a9fd832288443491581a278f310219787041c2644bf8b721d6 SHA512 fe2cab08b1ba750349be6cb79e89dd3b99a964b21b6d91ee7adb955ff0c4b386e45d97c01a86232943e448053faaf88aa2dbeec654bed6ea9279639f8a3d79f3 DIST borgmatic-1.9.5.tar.gz 638074 BLAKE2B 9947a443bcdd04abe29a3eaf3f790491cddc8283d6e09b56cb3b2aed97e0a424e0251aa9b19b3b5687416f59dec2944ed6d41c99df6e7790fa54a5b2608af0bf SHA512 9ab23865aeef61399a85532450cf7c9bc853a95560d383c83d43966eba0a66718976abdfcb2feec104c8941c0acd5406e2f1812be31b0f4baa76caf6a8ae81c9 DIST borgmatic-1.9.6.tar.gz 640257 BLAKE2B 6d95fe1d12fa401b25d00187a20520003ebc05ceb481add6c0706fcc6bb40f275830cd35f3fa90ea3680457e93a33bf21abb7f3d6423c9268c95b4e356587fdc SHA512 ff2050dcde579e5dffeef915bead5672158387c9a883d9f5b996ba8e804e37d9445b07839f84959cae2b367735f742cab83e143b363cedbb61f38621e2b0a95b DIST borgmatic-1.9.8.tar.gz 642464 BLAKE2B 0473e440d8beb99adac1fcf6c3628f12ca1b9b4337190eaac5aa6cb4726a2be9ada56f1a25be9369cf5a36e5bd53bf2070c2f1579c96bc7375cf5f184a7129af SHA512 a4c524ddddae99d4a244e6d6d7c8d91ea980b29267b2bca8c8dcf45087fa70039088c225a5144e072e5453a76dfbdca61f7718eba4c558d94226222574e9e09a diff --git a/app-backup/borgmatic/borgmatic-1.9.13.ebuild b/app-backup/borgmatic/borgmatic-1.9.13.ebuild new file mode 100644 index 000000000000..7668c4167479 --- /dev/null +++ b/app-backup/borgmatic/borgmatic-1.9.13.ebuild @@ -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_{10..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 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 + fi +} |
