Date: Tuesday, May 16, 2023 @ 18:54:44
  Author: polyzen
Revision: 1462127

archrelease: copy trunk to community-any

Added:
  borgmatic/repos/community-any/PKGBUILD
    (from rev 1462126, borgmatic/trunk/PKGBUILD)
  borgmatic/repos/community-any/borgmatic-import_flexmock_function.patch
    (from rev 1462126, borgmatic/trunk/borgmatic-import_flexmock_function.patch)
Deleted:
  borgmatic/repos/community-any/PKGBUILD
  borgmatic/repos/community-any/borgmatic-import_flexmock_function.patch

------------------------------------------+
 PKGBUILD                                 |  104 ++++++++++++++---------------
 borgmatic-import_flexmock_function.patch |   24 +++---
 2 files changed, 63 insertions(+), 65 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-05-16 18:54:22 UTC (rev 1462126)
+++ PKGBUILD    2023-05-16 18:54:44 UTC (rev 1462127)
@@ -1,53 +0,0 @@
-# Maintainer: Daniel M. Capella <poly...@archlinux.org>
-# Contributor: Kr1ss $(echo \<kr1ss+x-yandex+com\>|sed s/\+/./g\;s/\-/@/)
-# Contributor: Alexander Görtz <a...@nyloc.de>
-# Contributor: Dan Beste <dan.ray.be...@gmail.com>
-# 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=2
-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/PKGBUILD (from rev 1462126, 
borgmatic/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-05-16 18:54:44 UTC (rev 1462127)
@@ -0,0 +1,51 @@
+# Maintainer: Daniel M. Capella <poly...@archlinux.org>
+# Contributor: Kr1ss $(echo \<kr1ss+x-yandex+com\>|sed s/\+/./g\;s/\-/@/)
+# Contributor: Alexander Görtz <a...@nyloc.de>
+# Contributor: Dan Beste <dan.ray.be...@gmail.com>
+# Contributor: Julien Nicoulaud <julien dot nicoulaud at gmail dot com>
+# Contributor: stef204 <https://aur.archlinux.org/account/stef204>
+
+pkgname=borgmatic
+pkgver=1.7.13
+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=('af7a6a2f0ae1d9866761bc02aaecc34168d3f059046671f2e157f0ee2985e4b8')
+b2sums=('c20b384853c0ddf52a095250a05d9ebe813a23ee6ef00bd5748dacf05adcff9e4d324eb2e785ebbf139d34cadab3e58d3b8305d50ec5ff20681630040433e5ae')
+
+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,fish/vendor_completions.d}
+  ./test-env/bin/borgmatic --bash-completion > \
+    "$pkgdir"/usr/share/bash-completion/completions/$pkgname
+  ./test-env/bin/borgmatic --fish-completion > \
+    "$pkgdir"/usr/share/fish/vendor_completions.d/$pkgname.fish
+}

Deleted: borgmatic-import_flexmock_function.patch
===================================================================
--- borgmatic-import_flexmock_function.patch    2023-05-16 18:54:22 UTC (rev 
1462126)
+++ borgmatic-import_flexmock_function.patch    2023-05-16 18:54:44 UTC (rev 
1462127)
@@ -1,12 +0,0 @@
-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

Copied: borgmatic/repos/community-any/borgmatic-import_flexmock_function.patch 
(from rev 1462126, borgmatic/trunk/borgmatic-import_flexmock_function.patch)
===================================================================
--- borgmatic-import_flexmock_function.patch                            (rev 0)
+++ borgmatic-import_flexmock_function.patch    2023-05-16 18:54:44 UTC (rev 
1462127)
@@ -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