From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B04801581EE for ; Mon, 07 Apr 2025 08:08:41 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 7CB4D3430C4 for ; Mon, 07 Apr 2025 08:08:41 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 6F3A21102CE; Mon, 07 Apr 2025 08:08:40 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 62DC71102CE for ; Mon, 07 Apr 2025 08:08:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 18BC03430C4 for ; Mon, 07 Apr 2025 08:08:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4082E1379 for ; Mon, 07 Apr 2025 08:08:38 +0000 (UTC) From: "Petr Vaněk" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Petr Vaněk" Message-ID: <1744011665.c1bc59d185518263e7ddc32e1d5c81f5638ea9d2.arkamar@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-backup/borgmatic/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-backup/borgmatic/Manifest app-backup/borgmatic/borgmatic-2.0.1.ebuild X-VCS-Directories: app-backup/borgmatic/ X-VCS-Committer: arkamar X-VCS-Committer-Name: Petr Vaněk X-VCS-Revision: c1bc59d185518263e7ddc32e1d5c81f5638ea9d2 X-VCS-Branch: master Date: Mon, 07 Apr 2025 08:08:38 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 40cc15cf-3566-46a1-a21c-e1c309f79d70 X-Archives-Hash: 9004b8bb357725875a60a42778e22624 commit: c1bc59d185518263e7ddc32e1d5c81f5638ea9d2 Author: Petr Vaněk gentoo org> AuthorDate: Mon Apr 7 07:38:16 2025 +0000 Commit: Petr Vaněk gentoo org> CommitDate: Mon Apr 7 07:41:05 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1bc59d1 app-backup/borgmatic: add 2.0.1 Signed-off-by: Petr Vaněk gentoo.org> app-backup/borgmatic/Manifest | 1 + app-backup/borgmatic/borgmatic-2.0.1.ebuild | 78 +++++++++++++++++++++++++++++ 2 files changed, 79 insertions(+) diff --git a/app-backup/borgmatic/Manifest b/app-backup/borgmatic/Manifest index 334cf6d8fd56..becbb1a89426 100644 --- a/app-backup/borgmatic/Manifest +++ b/app-backup/borgmatic/Manifest @@ -2,3 +2,4 @@ DIST borgmatic-1.9.10.tar.gz 646658 BLAKE2B 8eec2cea8e1001c7d55aef6e267aa18a4db6 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.14.tar.gz 656877 BLAKE2B 36f8dce1251b74d67f33aaed5f6ebe41ff1003bd261070724422842143eb84be8b38a884f19da9e2f74a784e4ce4adca6c8ddfb8600f833fea6777585feb0cd8 SHA512 f2d789fab2e7f017c22458a6df3408a4883444aaeac9a4bf258de3eb46b802451d964d39ed441fb01314ff5c9acfd29676e1aab1ba341afb908e458527253705 +DIST borgmatic-2.0.1.tar.gz 676807 BLAKE2B 677bfe347a43f6be1cb534bc0a8b9c2d7c0e5753970439dd06f0af3ef2b7e4ccab278dd9071b2830fa1b329aa87d217571f39b476cf65a960fe0e10a71500b36 SHA512 38d84ff22f2428145fb1bd4058c42493a1d7cba0e0e444faaf055f776756849ec298d83fdc169b3246f022652df8fe5305a1a1d7c688f9ab8e103477064641b1 diff --git a/app-backup/borgmatic/borgmatic-2.0.1.ebuild b/app-backup/borgmatic/borgmatic-2.0.1.ebuild new file mode 100644 index 000000000000..cfd9aeca089e --- /dev/null +++ b/app-backup/borgmatic/borgmatic-2.0.1.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 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 +}