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

Daniel M. Capella polyzen at gemini.archlinux.org
Mon Nov 22 22:43:11 UTC 2021


    Date: Monday, November 22, 2021 @ 22:43:11
  Author: polyzen
Revision: 1054391

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   94 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 47 insertions(+), 47 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-22 22:42:46 UTC (rev 1054390)
+++ PKGBUILD	2021-11-22 22:43:11 UTC (rev 1054391)
@@ -1,47 +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.5.20
-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=('0aa6705cd72c6bd8fec94ba9e5e13ba9e90e6671799af2f2f5cb91186b90b7e5')
-b2sums=('6714b132549633b1d24e3c0bd7cd16ee9ff5510c4915d4115d62f4a260dc3cc505a02d8a14220184d53c934384d9ca092a38d6deebcefb843e7ba4492043819a')
-
-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
-  mkdir -p temp
-  local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
-  python setup.py install --root=temp --optimize=1 --skip-build
-  PATH="$PWD/temp/usr/bin:$PATH" PYTHONPATH="$PWD/temp/$site_packages" 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 1054390, borgmatic/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-22 22:43:11 UTC (rev 1054391)
@@ -0,0 +1,47 @@
+# 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.5.21
+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=('b8aa9dbf250b95b829827310c9638a17cd52fee160a437283eed23bffcae83cf')
+b2sums=('b098334fa476304a8e63ceed37b3c2b9c67d0549bea6d06d8f0fd0f41f9812e79cea52f88fc15d2be29e491355f9544b6ccbe7c31936dfbd78eefd42e9ff2832')
+
+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:



More information about the arch-commits mailing list