Date: Thursday, September 8, 2022 @ 18:48:52 Author: polyzen Revision: 1296873
archrelease: copy trunk to community-any Added: borgmatic/repos/community-any/PKGBUILD (from rev 1296872, borgmatic/trunk/PKGBUILD) Deleted: borgmatic/repos/community-any/PKGBUILD ----------+ PKGBUILD | 98 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 49 insertions(+), 49 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-09-08 18:48:30 UTC (rev 1296872) +++ PKGBUILD 2022-09-08 18:48:52 UTC (rev 1296873) @@ -1,49 +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.1 -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") -sha256sums=('250045b4bfd77ff1ef288b8967c8643036f1cb1e5410d874f56bbc1fd8b49b4c') -b2sums=('0076fac9a01715d24dd8dfa9ca93099c94cfe33f65850c089a337b3f95b6c52706d0e6b15200532c0fcca9401f97c02d6ebabd700e42f5d9bb3516e04e7fa0a4') - -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 1296872, borgmatic/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-09-08 18:48:52 UTC (rev 1296873) @@ -0,0 +1,49 @@ +# 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.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') +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=('d28dad2a0ec17e190db7f93c5dd6756a069227128ee4ec41e5a691815f483de5') +b2sums=('fd628e9c77547686d4edf5d1066d3c171575f4d923ebc5205c5eb64f3a960e94c121282e9f4fb02b1291a81011a18dc393c6d13a07f215585459e7a5b55f8107') + +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 +}