Date: Friday, April 14, 2023 @ 01:08:54
  Author: polyzen
Revision: 1445968

upgpkg: borgmatic 1.7.12-1

Added:
  borgmatic/trunk/borgmatic-import_flexmock_function.patch
Modified:
  borgmatic/trunk/PKGBUILD

------------------------------------------+
 PKGBUILD                                 |   14 +++++++++-----
 borgmatic-import_flexmock_function.patch |   12 ++++++++++++
 2 files changed, 21 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-04-14 00:03:11 UTC (rev 1445967)
+++ PKGBUILD    2023-04-14 01:08:54 UTC (rev 1445968)
@@ -6,8 +6,8 @@
 # Contributor: stef204 <https://aur.archlinux.org/account/stef204>
 
 pkgname=borgmatic
-pkgver=1.7.11
-pkgrel=2
+pkgver=1.7.12
+pkgrel=1
 pkgdesc='Simple, configuration-driven backup software for servers and 
workstations'
 arch=('any')
 url=https://torsion.org/borgmatic
@@ -17,13 +17,17 @@
 makedepends=('python-build' 'python-installer' 'python-wheel')
 checkdepends=('python-flexmock' 'python-pytest')
 optdepends=('python-llfuse: for mount action')
-source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz";)
-sha256sums=('f12871fed27c80b665bb81040198137e0bde7c6047be21cb4484e9698bda20e7')
-b2sums=('a06737c48722fdf24efca76d40f6b413f39635b4137685d6279bf7a7dd002fadef28dab35a503fabf872c732a0f32fbff8c791fa9b4602299937aeae568d6137')
+source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz";
+        'borgmatic-import_flexmock_function.patch')
+sha256sums=('f0557760d42c654ffc9851f8e078b6ed0c0cae93fbd6d39080880b38f4e6401c'
+            'bd1ea42be5c23b9eb0c6d6be36e4cb9983556956d9097884f259a963779c141c')
+b2sums=('eb06d88320f2c49721938c756d637b6ce463192260ac734303079095c693cadde68805356249fdad86738bed8ea0afa2e7a5c5de3c68bbedba2162e1cb445cdd'
+        
'9b8f57ce78124e4425352c84334e704442249ce894666f34b4684b6193cf45b20c34dae6482a3f99349973f1330f8ac3df97b4abd2024ca3885c41be72c3fdf9')
 
 prepare() {
   cd $pkgname-$pkgver
   sed -i 's,root/.local,usr,' sample/systemd/$pkgname.service
+  patch --forward --strip=1 --input=../borgmatic-import_flexmock_function.patch
 }
 
 build() {

Added: borgmatic-import_flexmock_function.patch
===================================================================
--- borgmatic-import_flexmock_function.patch                            (rev 0)
+++ borgmatic-import_flexmock_function.patch    2023-04-14 01:08:54 UTC (rev 
1445968)
@@ -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

Reply via email to