diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-04-19 12:05:02 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-04-19 12:05:02 +0100 |
commit | b6cfc0c19effe2d9f7b8ab303cd00636f16da253 (patch) | |
tree | a0158050dac0a7ebfb9df4f667ec6ad2dd185538 /app-backup | |
parent | 2d01b3d133c0fbf17de8d7b47905585af88bd6e4 (diff) |
gentoo auto-resync : 19:04:2024 - 12:05:02
Diffstat (limited to 'app-backup')
-rw-r--r-- | app-backup/Manifest.gz | bin | 7863 -> 7867 bytes | |||
-rw-r--r-- | app-backup/borgmatic/Manifest | 2 | ||||
-rw-r--r-- | app-backup/borgmatic/borgmatic-1.8.10.ebuild | 79 |
3 files changed, 81 insertions, 0 deletions
diff --git a/app-backup/Manifest.gz b/app-backup/Manifest.gz Binary files differindex 5a45a577221b..ddb6080201c4 100644 --- a/app-backup/Manifest.gz +++ b/app-backup/Manifest.gz diff --git a/app-backup/borgmatic/Manifest b/app-backup/borgmatic/Manifest index e5c238cfddc1..bf82516fc387 100644 --- a/app-backup/borgmatic/Manifest +++ b/app-backup/borgmatic/Manifest @@ -1,7 +1,9 @@ AUX borgmatic-1.7.13-no_test_coverage.patch 248 BLAKE2B 624e21cc8971d9374b34dee002635d9090576ba785cf3b6da7c10a91f439fd8e11b335bb33dc9c3b7421b4a5a8982e2a5f67b723b06051969651d626f09bf972 SHA512 fc549c0a63a6182b1848d89a1c9aacd3057f07988d1e8ec3b6ae1defb0675e7b934b0c65c9b09edc431172bc550521058ab73cb64ae6e577072331d4d5269e78 AUX borgmatic-1.7.14-systemd_service_bin_path.patch 604 BLAKE2B 534a545b5a8d65c6e46102a5e558c25444d82dd3679b81c0ba50c72dfec8ce8f935fdcb558ff61fec7bf30409b4b9809d76e7488554f4461c4b5eac035a60c07 SHA512 9b4c65b249a033f17b68c5209c0132bd94e310d46193a9a85090cb8520220705aacd91c19d713e11e6955c1e0b1e09823abcaf8164ab0f162ff9a62652bb7e56 +DIST borgmatic-1.8.10.tar.gz 599453 BLAKE2B 1ae994d452d29139d23940500d7c9f01e7fc1ddbd36254bf0c36d7f56064ccba7fb8434741dd0114d42271eb241098a12f8a07b83046447ae2225f7cd2ab12ae SHA512 10f5d962f6d25ef42ba4d076e238e1986dcfcd9832b3eea08560f367524824fdb0f80f42962ea6a471d711c6a0e293669b85abdc160475c20eed851ce7ad7f42 DIST borgmatic-1.8.8.tar.gz 589575 BLAKE2B 09a3ca616bd1cf5fcc6c773d8066357d764b44230d691b7afa90bb1fdbce3aa3bfaac509e921adaa9086ba60310b24d1f2ba186849853c8f04e2a85c4b0ec94f SHA512 3984f6e34f8aed5c57df22799e60724903bfcec833e5c3215ad731977b7d376f36129fabd489c166f945d7103f272bcc132a9ea49010552001794b57f27fb5d5 DIST borgmatic-1.8.9.tar.gz 592715 BLAKE2B 3586404985b8cc0d5575f570ba6679c406e95b83453a7c2414872049067b1736010b9f8498fa92e91d281b1cdf75882bc09e40d6d9e443bff33c399ee1392ff9 SHA512 05386f6321d78e304030ebb78c495aee53a1b6f17241f101e73a097aa4208ac641d6105b1e8161cf714b2eab7c34fe682e082e9e997dc4ac6a6a4207253e8421 +EBUILD borgmatic-1.8.10.ebuild 2114 BLAKE2B 211a365fbe7f4a0caca44b1118348d0ca0b5a63655e79fc2ce710fd203d6c3269505d3bbdb6475897b9faa0fcddfab8995b9b01977cebdfc86a035ff17fca4d7 SHA512 3237f5954d637154e739d3c5d8e39267511b8b3cc69bcf8d7a9ce3e0f49cab4603c41ed59917019532946f7ba659a05ba8a1504a0348fa6d14e11f0cf0d9c2f7 EBUILD borgmatic-1.8.8.ebuild 2113 BLAKE2B fd62e06d43871b3c0d1ed770e46b16ec709df12bda518d7bb9786825a6d0fc0964cf1745d1cf3ebf8da0047ae242374d49b34695e90a51ad8e2559029986143c SHA512 50148509d71cd0c0bc219d625642b6ae6f35306cb8ecdcc3f571049ccd0902b40c247c729aec10d9ff61b5fa6f999100149837675d1fd97c63d41c5fe261320c EBUILD borgmatic-1.8.9.ebuild 2114 BLAKE2B 211a365fbe7f4a0caca44b1118348d0ca0b5a63655e79fc2ce710fd203d6c3269505d3bbdb6475897b9faa0fcddfab8995b9b01977cebdfc86a035ff17fca4d7 SHA512 3237f5954d637154e739d3c5d8e39267511b8b3cc69bcf8d7a9ce3e0f49cab4603c41ed59917019532946f7ba659a05ba8a1504a0348fa6d14e11f0cf0d9c2f7 MISC metadata.xml 536 BLAKE2B 5e80422f7eefe88fca9b77830cdbf2a63beb4249afe374d39e961620bea17405e723bc942f2d6f99a5745b3ec3b9580b5e5045e9d533d5374f9fb02dc422faa3 SHA512 ccd19188ccba5f80dd6d12e43a84bcf5db3ca0ff3f7f7a6e42c4971d7a41931221677cfbe24e6f1b1f1f1fb77223e4ccb7dd44e1102beb431765fa9654a4a866 diff --git a/app-backup/borgmatic/borgmatic-1.8.10.ebuild b/app-backup/borgmatic/borgmatic-1.8.10.ebuild new file mode 100644 index 000000000000..09e09f4eea4c --- /dev/null +++ b/app-backup/borgmatic/borgmatic-1.8.10.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +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/" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv" +IUSE="apprise" + +REQUIRED_USE="test? ( 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/flexmock-0.10.10[${PYTHON_USEDEP}] + ') + )" + +PATCHES=( + "${FILESDIR}"/${PN}-1.7.13-no_test_coverage.patch + "${FILESDIR}"/${PN}-1.7.14-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 " ${PN} config generate" + else + local oldver + for oldver in ${REPLACING_VERSIONS}; do + if ver_test "${oldver}" -lt 1.8.0; then + ewarn "Please be warned that ${PN}-1.8.0 has introduced several breaking changes." + ewarn "For details, please see" + ewarn + ewarn " https://github.com/borgmatic-collective/borgmatic/releases/tag/1.8.0" + ewarn + break + fi + done + fi + elog + elog "Systemd users wishing to periodically run ${PN} can use the provided timer and service units." +} |