Date: Friday, April 14, 2023 @ 01:09:21
Author: polyzen
Revision: 1445969
archrelease: copy trunk to community-any
Added:
borgmatic/repos/community-any/PKGBUILD
(from rev 1445968, borgmatic/trunk/PKGBUILD)
borgmatic/repos/community-any/borgmatic-import_flexmock_function.patch
(from rev 1445968, borgmatic/trunk/borgmatic-import_flexmock_function.patch)
Deleted:
borgmatic/repos/community-any/PKGBUILD
------------------------------------------+
PKGBUILD | 102 +++++++++++++++--------------
borgmatic-import_flexmock_function.patch | 12 +++
2 files changed, 65 insertions(+), 49 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-04-14 01:08:54 UTC (rev 1445968)
+++ PKGBUILD 2023-04-14 01:09:21 UTC (rev 1445969)
@@ -1,49 +0,0 @@
-# Maintainer: Daniel M. Capella <[email protected]>
-# Contributor: Kr1ss $(echo \<kr1ss+x-yandex+com\>|sed s/\+/./g\;s/\-/@/)
-# Contributor: Alexander Görtz <[email protected]>
-# Contributor: Dan Beste <[email protected]>
-# Contributor: Julien Nicoulaud <julien dot nicoulaud at gmail dot com>
-# Contributor: stef204 <https://aur.archlinux.org/account/stef204>
-
-pkgname=borgmatic
-pkgver=1.7.11
-pkgrel=1
-pkgdesc='Simple, configuration-driven backup software for servers and
workstations'
-arch=('any')
-url=https://torsion.org/borgmatic
-license=('GPL3')
-depends=('borg' 'python-colorama' 'python-jsonschema' 'python-requests'
- 'python-ruamel-yaml' 'python-setuptools')
-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')
-
-prepare() {
- cd $pkgname-$pkgver
- sed -i 's,root/.local,usr,' sample/systemd/$pkgname.service
-}
-
-build() {
- cd $pkgname-$pkgver
- python -m build --wheel --skip-dependency-check --no-isolation
-}
-
-check() {
- cd $pkgname-$pkgver
- python -m venv --system-site-packages test-env
- test-env/bin/python -m installer dist/*.whl
- PATH="$PWD/test-env/bin:$PATH" test-env/bin/python -m pytest -c /dev/null \
- --ignore=tests/end-to-end
-}
-
-package() {
- cd $pkgname-$pkgver
- python -m installer --destdir="$pkgdir" dist/*.whl
- install -Dm644 -t "$pkgdir"/usr/lib/systemd/system sample/systemd/*
- install -d "$pkgdir"/usr/share/bash-completion/completions
- ./test-env/bin/borgmatic --bash-completion > \
- "$pkgdir"/usr/share/bash-completion/completions/$pkgname
-}
Copied: borgmatic/repos/community-any/PKGBUILD (from rev 1445968,
borgmatic/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-04-14 01:09:21 UTC (rev 1445969)
@@ -0,0 +1,53 @@
+# Maintainer: Daniel M. Capella <[email protected]>
+# Contributor: Kr1ss $(echo \<kr1ss+x-yandex+com\>|sed s/\+/./g\;s/\-/@/)
+# Contributor: Alexander Görtz <[email protected]>
+# Contributor: Dan Beste <[email protected]>
+# Contributor: Julien Nicoulaud <julien dot nicoulaud at gmail dot com>
+# Contributor: stef204 <https://aur.archlinux.org/account/stef204>
+
+pkgname=borgmatic
+pkgver=1.7.12
+pkgrel=1
+pkgdesc='Simple, configuration-driven backup software for servers and
workstations'
+arch=('any')
+url=https://torsion.org/borgmatic
+license=('GPL3')
+depends=('borg' 'python-colorama' 'python-jsonschema' 'python-requests'
+ 'python-ruamel-yaml' 'python-setuptools')
+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"
+ '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() {
+ cd $pkgname-$pkgver
+ python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+check() {
+ cd $pkgname-$pkgver
+ python -m venv --system-site-packages test-env
+ test-env/bin/python -m installer dist/*.whl
+ PATH="$PWD/test-env/bin:$PATH" test-env/bin/python -m pytest -c /dev/null \
+ --ignore=tests/end-to-end
+}
+
+package() {
+ cd $pkgname-$pkgver
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ install -Dm644 -t "$pkgdir"/usr/lib/systemd/system sample/systemd/*
+ install -d "$pkgdir"/usr/share/bash-completion/completions
+ ./test-env/bin/borgmatic --bash-completion > \
+ "$pkgdir"/usr/share/bash-completion/completions/$pkgname
+}
Copied: borgmatic/repos/community-any/borgmatic-import_flexmock_function.patch
(from rev 1445968, borgmatic/trunk/borgmatic-import_flexmock_function.patch)
===================================================================
--- borgmatic-import_flexmock_function.patch (rev 0)
+++ borgmatic-import_flexmock_function.patch 2023-04-14 01:09:21 UTC (rev
1445969)
@@ -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