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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C4C3E1580E0 for ; Sun, 26 Jan 2025 08:48:28 +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 B0201343513 for ; Sun, 26 Jan 2025 08:48:28 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id B03F711046F; Sun, 26 Jan 2025 08:48:27 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 bobolink.gentoo.org (Postfix) with ESMTPS id A777B11046F for ; Sun, 26 Jan 2025 08:48:27 +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 5D2E4343518 for ; Sun, 26 Jan 2025 08:48:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B94BD13CE for ; Sun, 26 Jan 2025 08:48:25 +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: <1737881251.031fe20e9e68b0f461470d8ef259df4d23d363d4.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-1.9.8.ebuild X-VCS-Directories: app-backup/borgmatic/ X-VCS-Committer: arkamar X-VCS-Committer-Name: Petr Vaněk X-VCS-Revision: 031fe20e9e68b0f461470d8ef259df4d23d363d4 X-VCS-Branch: master Date: Sun, 26 Jan 2025 08:48:25 +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: 7838352b-23ff-4eb5-9314-9e563aca70fd X-Archives-Hash: 79a12a63e2f7646f3942b75f7f8c51a4 commit: 031fe20e9e68b0f461470d8ef259df4d23d363d4 Author: Petr Vaněk gentoo org> AuthorDate: Sun Jan 26 08:46:52 2025 +0000 Commit: Petr Vaněk gentoo org> CommitDate: Sun Jan 26 08:47:31 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=031fe20e app-backup/borgmatic: add 1.9.8 Signed-off-by: Petr Vaněk gentoo.org> app-backup/borgmatic/Manifest | 1 + app-backup/borgmatic/borgmatic-1.9.8.ebuild | 84 +++++++++++++++++++++++++++++ 2 files changed, 85 insertions(+) diff --git a/app-backup/borgmatic/Manifest b/app-backup/borgmatic/Manifest index cbe6754a9eb7..59bec598eeec 100644 --- a/app-backup/borgmatic/Manifest +++ b/app-backup/borgmatic/Manifest @@ -2,3 +2,4 @@ DIST borgmatic-1.9.4.tar.gz 635562 BLAKE2B aac7cea7c7b9537a1f13f6cdd5fc15c3a7d43 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.7.tar.gz 641880 BLAKE2B 747046bfbd860330b892bcdff247c1a61893bc9f08e16e039a8659229017c0faac4a16be69dd5bd9c871b1655018ed6b36a1bf7a289d917b268ebdc4035a4482 SHA512 bdc55ca75cae6d5224742508bc201dd97ffabfc590c6f21282a20cb28e2f16100175300c9bbf4f6c874779ca577f2a6141c0cc8aa0622f0ca1ebf1255ab65060 +DIST borgmatic-1.9.8.tar.gz 642464 BLAKE2B 0473e440d8beb99adac1fcf6c3628f12ca1b9b4337190eaac5aa6cb4726a2be9ada56f1a25be9369cf5a36e5bd53bf2070c2f1579c96bc7375cf5f184a7129af SHA512 a4c524ddddae99d4a244e6d6d7c8d91ea980b29267b2bca8c8dcf45087fa70039088c225a5144e072e5453a76dfbdca61f7718eba4c558d94226222574e9e09a diff --git a/app-backup/borgmatic/borgmatic-1.9.8.ebuild b/app-backup/borgmatic/borgmatic-1.9.8.ebuild new file mode 100644 index 000000000000..dea28ebb55e3 --- /dev/null +++ b/app-backup/borgmatic/borgmatic-1.9.8.ebuild @@ -0,0 +1,84 @@ +# 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 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." + else + local oldver + for oldver in ${REPLACING_VERSIONS}; do + if ver_test "${oldver}" -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 + break + fi + done + fi +}