[arch-commits] Commit in borgmatic/repos/community-any (PKGBUILD PKGBUILD)
Daniel M. Capella
polyzen at gemini.archlinux.org
Mon Aug 22 22:12:49 UTC 2022
Date: Monday, August 22, 2022 @ 22:12:48
Author: polyzen
Revision: 1274885
archrelease: copy trunk to community-any
Added:
borgmatic/repos/community-any/PKGBUILD
(from rev 1274884, borgmatic/trunk/PKGBUILD)
Deleted:
borgmatic/repos/community-any/PKGBUILD
----------+
PKGBUILD | 96 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 48 insertions(+), 48 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-22 22:12:25 UTC (rev 1274884)
+++ PKGBUILD 2022-08-22 22:12:48 UTC (rev 1274885)
@@ -1,48 +0,0 @@
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-# Contributor: Kr1ss $(echo \<kr1ss+x-yandex+com\>|sed s/\+/./g\;s/\-/@/)
-# Contributor: Alexander Görtz <aur at nyloc.de>
-# Contributor: Dan Beste <dan.ray.beste at gmail.com>
-# Contributor: Julien Nicoulaud <julien dot nicoulaud at gmail dot com>
-# Contributor: stef204 <https://aur.archlinux.org/account/stef204>
-
-pkgname=borgmatic
-pkgver=1.6.6
-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')
-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=('cbb95c0a19a8da1796af25bf09ed9158005b6c72be18790db43d2bffda2fa32b')
-b2sums=('b40d8f00e3b7bbd343336cf4c6992e34d8289de451c184717827e8e43519b84d4bb9b8cff6a835a7cc502d2e93045f0196d744e4b6ad800de1276e11c3189cec')
-
-prepare() {
- cd $pkgname-$pkgver
- sed -i 's,root/.local,usr,' sample/systemd/$pkgname.service
-}
-
-build() {
- cd $pkgname-$pkgver
- python setup.py build
-}
-
-check() {
- cd $pkgname-$pkgver
- python -m venv --system-site-packages test-env
- test-env/bin/python setup.py install --optimize=1 --skip-build
- 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 setup.py install --root="$pkgdir" --optimize=1 --skip-build
- 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 1274884, borgmatic/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-08-22 22:12:48 UTC (rev 1274885)
@@ -0,0 +1,48 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+# Contributor: Kr1ss $(echo \<kr1ss+x-yandex+com\>|sed s/\+/./g\;s/\-/@/)
+# Contributor: Alexander Görtz <aur at nyloc.de>
+# Contributor: Dan Beste <dan.ray.beste at 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.0
+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')
+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=('30bc30c02f1210b78baf257abf0e4ac83ebbcf4edf334a09bd0ff9cb77ff0820')
+b2sums=('8eff4d263ba187d667044c8659546787d0f04972c74a5b827eb55c1504a36355d65f7500e8097d3c8c9d3ac28b8a5076ac5af4f03d974b1fc767c85356f640d1')
+
+prepare() {
+ cd $pkgname-$pkgver
+ sed -i 's,root/.local,usr,' sample/systemd/$pkgname.service
+}
+
+build() {
+ cd $pkgname-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd $pkgname-$pkgver
+ python -m venv --system-site-packages test-env
+ test-env/bin/python setup.py install --optimize=1 --skip-build
+ 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 setup.py install --root="$pkgdir" --optimize=1 --skip-build
+ 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
+}
More information about the arch-commits
mailing list