[arch-commits] Commit in borgmatic/repos/community-any (PKGBUILD PKGBUILD)
Daniel M. Capella
polyzen at gemini.archlinux.org
Thu Aug 25 19:50:21 UTC 2022
Date: Thursday, August 25, 2022 @ 19:50:21
Author: polyzen
Revision: 1280176
archrelease: copy trunk to community-any
Added:
borgmatic/repos/community-any/PKGBUILD
(from rev 1280175, borgmatic/trunk/PKGBUILD)
Deleted:
borgmatic/repos/community-any/PKGBUILD
----------+
PKGBUILD | 96 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 48 insertions(+), 48 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-25 19:50:10 UTC (rev 1280175)
+++ PKGBUILD 2022-08-25 19:50:21 UTC (rev 1280176)
@@ -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.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
-}
Copied: borgmatic/repos/community-any/PKGBUILD (from rev 1280175, borgmatic/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-08-25 19:50:21 UTC (rev 1280176)
@@ -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.1
+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=('250045b4bfd77ff1ef288b8967c8643036f1cb1e5410d874f56bbc1fd8b49b4c')
+b2sums=('0076fac9a01715d24dd8dfa9ca93099c94cfe33f65850c089a337b3f95b6c52706d0e6b15200532c0fcca9401f97c02d6ebabd700e42f5d9bb3516e04e7fa0a4')
+
+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