[arch-commits] Commit in borgmatic/repos/community-any (PKGBUILD PKGBUILD)

Daniel M. Capella polyzen at gemini.archlinux.org
Sat Sep 3 10:25:20 UTC 2022


    Date: Saturday, September 3, 2022 @ 10:25:20
  Author: polyzen
Revision: 1291470

archrelease: copy trunk to community-any

Added:
  borgmatic/repos/community-any/PKGBUILD
    (from rev 1291469, borgmatic/trunk/PKGBUILD)
Deleted:
  borgmatic/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   97 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 49 insertions(+), 48 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-09-03 10:24:57 UTC (rev 1291469)
+++ PKGBUILD	2022-09-03 10:25:20 UTC (rev 1291470)
@@ -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.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
-}

Copied: borgmatic/repos/community-any/PKGBUILD (from rev 1291469, borgmatic/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-09-03 10:25:20 UTC (rev 1291470)
@@ -0,0 +1,49 @@
+# 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=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
+}



More information about the arch-commits mailing list