Date: Wednesday, June 1, 2022 @ 22:32:59 Author: polyzen Revision: 1218377
archrelease: copy trunk to community-any Added: borgmatic/repos/community-any/PKGBUILD (from rev 1218376, borgmatic/trunk/PKGBUILD) Deleted: borgmatic/repos/community-any/PKGBUILD ----------+ PKGBUILD | 97 +++++++++++++++++++++++++++++++------------------------------ 1 file changed, 50 insertions(+), 47 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-06-01 22:32:31 UTC (rev 1218376) +++ PKGBUILD 2022-06-01 22:32:59 UTC (rev 1218377) @@ -1,47 +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.6.2 -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=('74329aa66380d4d85b99ed0b5d5a8d70d0e640c0eb7aee83a1e955648a447be6') -b2sums=('625ce664291ab4e887ec4c7871d8339e0b110329469f9752fc76a8217bddfb0dc8cf6f91133d6ee9998bababe171b4f48158a4cac2bf2cc9be6dfb7d2903654e') - -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/* -} - -# vim: ts=2 sw=2 et: Copied: borgmatic/repos/community-any/PKGBUILD (from rev 1218376, borgmatic/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-06-01 22:32:59 UTC (rev 1218377) @@ -0,0 +1,50 @@ +# 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.6.2 +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') +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=('74329aa66380d4d85b99ed0b5d5a8d70d0e640c0eb7aee83a1e955648a447be6') +b2sums=('625ce664291ab4e887ec4c7871d8339e0b110329469f9752fc76a8217bddfb0dc8cf6f91133d6ee9998bababe171b4f48158a4cac2bf2cc9be6dfb7d2903654e') + +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 +} + +# vim: ts=2 sw=2 et: