From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E12B71581C1 for ; Wed, 3 Jul 2024 14:47:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E3622E2A93; Wed, 3 Jul 2024 14:47:42 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 pigeon.gentoo.org (Postfix) with ESMTPS id BD4CCE2A93 for ; Wed, 3 Jul 2024 14:47:42 +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 9CF11335D0F for ; Wed, 3 Jul 2024 14:47:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 066C61D9E for ; Wed, 3 Jul 2024 14:47:40 +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: <1720018032.77d6f53f807e6dc56c885c9829a5a6a3612127d6.arkamar@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-backup/borgmatic/, app-backup/borgmatic/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-backup/borgmatic/Manifest app-backup/borgmatic/borgmatic-1.8.12.ebuild app-backup/borgmatic/files/borgmatic-1.8.12-datetime-utc.patch X-VCS-Directories: app-backup/borgmatic/ app-backup/borgmatic/files/ X-VCS-Committer: arkamar X-VCS-Committer-Name: Petr Vaněk X-VCS-Revision: 77d6f53f807e6dc56c885c9829a5a6a3612127d6 X-VCS-Branch: master Date: Wed, 3 Jul 2024 14:47:40 +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: 73f5483a-c9a3-4ca3-acb3-281ba85746c5 X-Archives-Hash: 8790200fcf327dd3ee75969e85817e7d commit: 77d6f53f807e6dc56c885c9829a5a6a3612127d6 Author: Petr Vaněk gentoo org> AuthorDate: Wed Jul 3 14:40:40 2024 +0000 Commit: Petr Vaněk gentoo org> CommitDate: Wed Jul 3 14:47:12 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77d6f53f app-backup/borgmatic: add 1.8.12, enable py3.13 Signed-off-by: Petr Vaněk gentoo.org> app-backup/borgmatic/Manifest | 1 + app-backup/borgmatic/borgmatic-1.8.12.ebuild | 81 ++++++++++++++++++++++ .../files/borgmatic-1.8.12-datetime-utc.patch | 20 ++++++ 3 files changed, 102 insertions(+) diff --git a/app-backup/borgmatic/Manifest b/app-backup/borgmatic/Manifest index 4e03e8260e60..a4e887164116 100644 --- a/app-backup/borgmatic/Manifest +++ b/app-backup/borgmatic/Manifest @@ -1,4 +1,5 @@ DIST borgmatic-1.8.10.tar.gz 599453 BLAKE2B 1ae994d452d29139d23940500d7c9f01e7fc1ddbd36254bf0c36d7f56064ccba7fb8434741dd0114d42271eb241098a12f8a07b83046447ae2225f7cd2ab12ae SHA512 10f5d962f6d25ef42ba4d076e238e1986dcfcd9832b3eea08560f367524824fdb0f80f42962ea6a471d711c6a0e293669b85abdc160475c20eed851ce7ad7f42 DIST borgmatic-1.8.11.tar.gz 600265 BLAKE2B 04c5e419de892e636e644185681c3e9ce0ca2dd9b62a043dfdabd38a32ca2f101f6a845fd1ebc68a025625066ea9c53aff9ab1e831a2aeaa566bccb7ec4827c7 SHA512 da19a341713302378409c0e90395a0e5ac4759b1ef593fe53a50113a0c90f130af060d38f49dae80018b8d8605da87415b841fedfc2d2778eee4a690aa5cc311 +DIST borgmatic-1.8.12.tar.gz 602369 BLAKE2B 79589e1510be9065d70b48ac5b8ce83a8d82776040cfe0ec833e7c9cbc33e4d285a2292870e2237902900ebb03204c6aafd702a2729b8860aec234429ec00921 SHA512 9cb91a4e7047da4effff69dfaea2358bd0d0897197d306775a3e9e260a2da6cc183c7675e02885fcd3d853c185171372371638b482b3e8b2f1bfcbcb2a14e4b7 DIST borgmatic-1.8.8.tar.gz 589575 BLAKE2B 09a3ca616bd1cf5fcc6c773d8066357d764b44230d691b7afa90bb1fdbce3aa3bfaac509e921adaa9086ba60310b24d1f2ba186849853c8f04e2a85c4b0ec94f SHA512 3984f6e34f8aed5c57df22799e60724903bfcec833e5c3215ad731977b7d376f36129fabd489c166f945d7103f272bcc132a9ea49010552001794b57f27fb5d5 DIST borgmatic-1.8.9.tar.gz 592715 BLAKE2B 3586404985b8cc0d5575f570ba6679c406e95b83453a7c2414872049067b1736010b9f8498fa92e91d281b1cdf75882bc09e40d6d9e443bff33c399ee1392ff9 SHA512 05386f6321d78e304030ebb78c495aee53a1b6f17241f101e73a097aa4208ac641d6105b1e8161cf714b2eab7c34fe682e082e9e997dc4ac6a6a4207253e8421 diff --git a/app-backup/borgmatic/borgmatic-1.8.12.ebuild b/app-backup/borgmatic/borgmatic-1.8.12.ebuild new file mode 100644 index 000000000000..cac1b9a834e8 --- /dev/null +++ b/app-backup/borgmatic/borgmatic-1.8.12.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2024 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/" + +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 ' + +Date: Sun, 23 Jun 2024 18:28:41 -0700 +Subject: [PATCH] Fix PagerDuty hook traceback with Python < 3.10 (#886). + +https://github.com/borgmatic-collective/borgmatic/commit/f5a1dd31c8e5807e52196ecfd337c22e0f197bf5 + +diff --git a/borgmatic/hooks/pagerduty.py b/borgmatic/hooks/pagerduty.py +index 6ec1a6ef..e9e34da0 100644 +--- a/borgmatic/hooks/pagerduty.py ++++ b/borgmatic/hooks/pagerduty.py +@@ -40,7 +40,7 @@ def ping_monitor(hook_config, config, config_filename, state, monitoring_log_lev + return + + hostname = platform.node() +- local_timestamp = datetime.datetime.now(datetime.UTC).astimezone().isoformat() ++ local_timestamp = datetime.datetime.now(datetime.timezone.utc).astimezone().isoformat() + payload = json.dumps( + { + 'routing_key': hook_config['integration_key'],