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 4507F1584AD for ; Wed, 23 Apr 2025 07:10:53 +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) server-digest SHA256) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 2ACAE342FA0 for ; Wed, 23 Apr 2025 07:10:53 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 20B9F11029A; Wed, 23 Apr 2025 07:10:52 +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) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 14D3211029A for ; Wed, 23 Apr 2025 07:10:52 +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 BD814342FB5 for ; Wed, 23 Apr 2025 07:10:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0876823D0 for ; Wed, 23 Apr 2025 07:10:50 +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: <1745392034.8f2e4c726a0416dd636c7a9e59e8b563bd6db873.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.4.ebuild X-VCS-Directories: app-backup/borgmatic/ X-VCS-Committer: arkamar X-VCS-Committer-Name: Petr Vaněk X-VCS-Revision: 8f2e4c726a0416dd636c7a9e59e8b563bd6db873 X-VCS-Branch: master Date: Wed, 23 Apr 2025 07:10:50 +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: c9737d1c-5f23-44e8-9ae6-ee90b084c4ed X-Archives-Hash: 39e3a7b6ea1c581acd250ebb71737c4a commit: 8f2e4c726a0416dd636c7a9e59e8b563bd6db873 Author: Petr Vaněk gentoo org> AuthorDate: Wed Apr 23 06:31:08 2025 +0000 Commit: Petr Vaněk gentoo org> CommitDate: Wed Apr 23 07:07:14 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f2e4c72 app-backup/borgmatic: add 2.0.4 Signed-off-by: Petr Vaněk gentoo.org> app-backup/borgmatic/Manifest | 1 + app-backup/borgmatic/borgmatic-2.0.4.ebuild | 78 +++++++++++++++++++++++++++++ 2 files changed, 79 insertions(+) diff --git a/app-backup/borgmatic/Manifest b/app-backup/borgmatic/Manifest index e27390f861f0..f00834b4befc 100644 --- a/app-backup/borgmatic/Manifest +++ b/app-backup/borgmatic/Manifest @@ -2,3 +2,4 @@ DIST borgmatic-1.9.13.tar.gz 655690 BLAKE2B b51706ffb56e3905298498fa71e7f949be43 DIST borgmatic-1.9.14.tar.gz 656877 BLAKE2B 36f8dce1251b74d67f33aaed5f6ebe41ff1003bd261070724422842143eb84be8b38a884f19da9e2f74a784e4ce4adca6c8ddfb8600f833fea6777585feb0cd8 SHA512 f2d789fab2e7f017c22458a6df3408a4883444aaeac9a4bf258de3eb46b802451d964d39ed441fb01314ff5c9acfd29676e1aab1ba341afb908e458527253705 DIST borgmatic-2.0.2.tar.gz 675555 BLAKE2B 3c2c6af5c44c725c466178744ebd559e43c3fec8e989fcd2ab19b3d3b4832d66888e6a4a490ed2bf9727bed4013278be6e5f5aeb64984506e9a9ea8805a72312 SHA512 060188b557e36d8391e806c8e46e7e8c12deb7d00bd4fcb18dadf1d43e113ad3d8c6399f8dc418e03c5aee06ba6b5434102b4ce9151f480e732bab617dc23f58 DIST borgmatic-2.0.3.tar.gz 676665 BLAKE2B a66429ec7c4bd31102745e6761c945cce4bb3f8af2f97f2f5c66013bce9cb55dba083d2856a8ef088b885345531532bc38350c4b7828e44663b47129a1ce3dc4 SHA512 fa83b7efd92059255bcbc7cd9e5038b94fde0ca39affafc8ce372bcd57eaf5faa5b17be700372110c909f9bb969f9b30cc5ce106e10b114b40684a67cb62d066 +DIST borgmatic-2.0.4.tar.gz 677555 BLAKE2B 17f962d3fa93c52383a73d5e8e5ded92aeba2e933940d1f010b95078e5505ceff90c1a9cf9377e57de78bd00de90f9f639294523bc6729883efcd1510f8b1a11 SHA512 b40a0f8651fd0ef75683ddb10ac87acca38a9d11a47f8351dd07199f264baacea27897d5ce9cb41dea2e77ad3902f113ce07e65dabce858e2f44bea8eac75875 diff --git a/app-backup/borgmatic/borgmatic-2.0.4.ebuild b/app-backup/borgmatic/borgmatic-2.0.4.ebuild new file mode 100644 index 000000000000..cfd9aeca089e --- /dev/null +++ b/app-backup/borgmatic/borgmatic-2.0.4.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 +}