Github messages for voidlinux
 help / color / mirror / Atom feed
From: TinfoilSubmarine <TinfoilSubmarine@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] borgmatic: update to 1.7.11.
Date: Fri, 14 Apr 2023 15:27:11 +0200	[thread overview]
Message-ID: <20230414132711.TyplyM-_aGyXseLxNGbnCDNhov4K-ClLtebw4vT9iWU@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-43127@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 1248 bytes --]

There is an updated pull request by TinfoilSubmarine against master on the void-packages repository

https://github.com/TinfoilSubmarine/void-packages maint/borgmatic
https://github.com/void-linux/void-packages/pull/43127

borgmatic: update to 1.7.11.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/43127.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-maint/borgmatic-43127.patch --]
[-- Type: text/x-diff, Size: 2526 bytes --]

From 2c45729300be8c53082a7ff11d1562605e7380d2 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Thu, 30 Mar 2023 16:52:50 -0400
Subject: [PATCH] borgmatic: update to 1.7.12.

---
 srcpkgs/borgmatic/patches/flexmock.patch | 12 ++++++++++++
 srcpkgs/borgmatic/template               | 16 ++++------------
 2 files changed, 16 insertions(+), 12 deletions(-)
 create mode 100644 srcpkgs/borgmatic/patches/flexmock.patch

diff --git a/srcpkgs/borgmatic/patches/flexmock.patch b/srcpkgs/borgmatic/patches/flexmock.patch
new file mode 100644
index 000000000000..1af9c7679b6c
--- /dev/null
+++ b/srcpkgs/borgmatic/patches/flexmock.patch
@@ -0,0 +1,12 @@
+diff --git a/tests/integration/borg/test_commands.py b/tests/integration/borg/test_commands.py
+index 49cd0e9..1afb0e0 100644
+--- a/tests/integration/borg/test_commands.py
++++ b/tests/integration/borg/test_commands.py
+@@ -1,6 +1,6 @@
+ import copy
+ 
+-import flexmock
++from flexmock import flexmock
+ 
+ import borgmatic.borg.info
+ import borgmatic.borg.list
diff --git a/srcpkgs/borgmatic/template b/srcpkgs/borgmatic/template
index cda82c57f429..f1abd8d106a5 100644
--- a/srcpkgs/borgmatic/template
+++ b/srcpkgs/borgmatic/template
@@ -1,13 +1,10 @@
 # Template file for 'borgmatic'
 pkgname=borgmatic
-version=1.7.8
+version=1.7.12
 revision=1
 build_style=python3-module
-# test_borgmatic.py runs not yet installed self,
-# tests from test_execute.py sporadically fail in CI
-make_check_args="--deselect=tests/integration/commands/test_borgmatic.py
- --deselect=tests/integration/test_execute.py::test_log_outputs_returns_output_without_logging_for_output_log_level_none
- --deselect=tests/integration/test_execute.py::test_log_outputs_logs_each_line_separately"
+# runs not yet installed self
+make_check_args="--deselect=tests/integration/commands/test_borgmatic.py"
 hostmakedepends="python3-setuptools"
 depends="borg python3-setuptools python3-ruamel.yaml python3-jsonschema
  python3-colorama python3-requests"
@@ -18,9 +15,4 @@ license="GPL-3.0-or-later"
 homepage="https://torsion.org/borgmatic/"
 changelog="https://projects.torsion.org/borgmatic-collective/borgmatic/raw/branch/master/NEWS"
 distfiles="${PYPI_SITE}/b/borgmatic/borgmatic-${version}.tar.gz"
-checksum=fa563208f2a069664f5242068e0981112eaf83565b819e5be962a6a6a01cca13
-
-post_install() {
-	# remove tests directory polluting site-packages
-	rm -rf ${DESTDIR}/usr/lib/python*/site-packages/tests
-}
+checksum=f0557760d42c654ffc9851f8e078b6ed0c0cae93fbd6d39080880b38f4e6401c

  parent reply	other threads:[~2023-04-14 13:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-30 22:08 [PR PATCH] borgmatic: update to 1.7.10 TinfoilSubmarine
2023-04-11 17:17 ` [PR PATCH] [Updated] " TinfoilSubmarine
2023-04-14 13:27 ` TinfoilSubmarine [this message]
2023-05-15 18:51 ` [PR PATCH] [Merged]: borgmatic: update to 1.7.12 classabbyamp

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230414132711.TyplyM-_aGyXseLxNGbnCDNhov4K-ClLtebw4vT9iWU@z \
    --to=tinfoilsubmarine@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).