[arch-commits] Commit in borg/repos/community-x86_64 (PKGBUILD PKGBUILD)

Lukas Fleischer lfleischer at archlinux.org
Mon Oct 1 17:21:06 UTC 2018


    Date: Monday, October 1, 2018 @ 17:21:05
  Author: lfleischer
Revision: 388905

archrelease: copy trunk to community-x86_64

Added:
  borg/repos/community-x86_64/PKGBUILD
    (from rev 388904, borg/trunk/PKGBUILD)
Deleted:
  borg/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  112 +++++++++++++++++++++++++++----------------------------------
 1 file changed, 50 insertions(+), 62 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-10-01 17:18:30 UTC (rev 388904)
+++ PKGBUILD	2018-10-01 17:21:05 UTC (rev 388905)
@@ -1,62 +0,0 @@
-# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
-# Contributor: Vlad M. <vlad at archlinux.net>
-
-pkgname=borg
-_pkgname=borgbackup
-pkgver=1.1.6
-pkgrel=3
-pkgdesc='Deduplicating backup program with compression and authenticated encryption'
-url='https://borgbackup.github.io/'
-license=('BSD')
-arch=('x86_64')
-depends=('acl' 'lz4' 'openssl' 'python-msgpack' 'python-setuptools' 'xz' 'zstd')
-optdepends=('openssh: repositories on remote hosts'
-            'python-llfuse: mounting backups as a FUSE file system')
-makedepends=('cython' 'python-sphinx' 'python-guzzle-sphinx-theme')
-checkdepends=('python-pytest' 'python-pytest-cov' 'python-pytest-benchmark' 'python-mock')
-provides=('borgbackup')
-replaces=('borgbackup')
-source=("https://github.com/$_pkgname/$pkgname/releases/download/$pkgver/$_pkgname-$pkgver.tar.gz"
-        "https://github.com/borgbackup/borg/commit/d6ce4d9e7e28b89fbedcd883cac2912415164449.patch"
-        "https://github.com/borgbackup/borg/commit/b951a2ee429dd86fb122820867dd7d0954b49951.patch")
-sha256sums=('a1d2e474c85d3ad3d59b3f8209b5549653c88912082ea0159d27a2e80c910930'
-            '9974ffa97694a06c9b30b943176775ccc02927c1baea165955ab5c6e3cab85d4'
-            '01026a97983be999352c77d326025db40d4cb51bf30928bff692153dd101a751')
-
-prepare() {
-  cd "$srcdir/$_pkgname-$pkgver"
-  # msgpack versions are constantly broken: https://bugs.archlinux.org/task/58974
-  patch -p1 -i ../d6ce4d9e7e28b89fbedcd883cac2912415164449.patch
-  # python 3.7 fix
-  patch -p1 -i ../b951a2ee429dd86fb122820867dd7d0954b49951.patch
-}
-
-build() {
-  cd "$srcdir/$_pkgname-$pkgver"
-  python setup.py build
-}
-
-check() {
-  cd "$srcdir/$_pkgname-$pkgver/build/lib.linux-$CARCH-"*
-  LANG=en_US.UTF-8 PYTHONPATH="$PWD:$PYTHONPATH" py.test --cov=borg \
-    --benchmark-skip --pyargs borg.testsuite -v \
-    -k 'not test_non_ascii_acl'
-}
-
-package() {
-  cd "$srcdir/$_pkgname-$pkgver"
-
-  python setup.py install --root="$pkgdir" --optimize=1
-
-  # remove junk files
-  rm -r "$pkgdir"/usr/lib/python*/site-packages/{.benchmarks,.coverage}
-
-  install -Dm644 scripts/shell_completions/bash/borg \
-    "$pkgdir/usr/share/bash-completion/completions/borg"
-  install -Dm644 scripts/shell_completions/fish/borg.fish \
-    "$pkgdir/usr/share/fish/completions/borg.fish"
-  install -Dm644 scripts/shell_completions/zsh/_borg "$pkgdir/usr/share/zsh/site-functions/_borg"
-
-  install -Dm644 -t "$pkgdir/usr/share/man/man1/" "docs/man/"*.1
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}

Copied: borg/repos/community-x86_64/PKGBUILD (from rev 388904, borg/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-10-01 17:21:05 UTC (rev 388905)
@@ -0,0 +1,50 @@
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: Vlad M. <vlad at archlinux.net>
+
+pkgname=borg
+_pkgname=borgbackup
+pkgver=1.1.7
+pkgrel=1
+pkgdesc='Deduplicating backup program with compression and authenticated encryption'
+url='https://borgbackup.github.io/'
+license=('BSD')
+arch=('x86_64')
+depends=('acl' 'lz4' 'openssl' 'python-msgpack' 'python-setuptools' 'xz' 'zstd')
+optdepends=('openssh: repositories on remote hosts'
+            'python-llfuse: mounting backups as a FUSE file system')
+makedepends=('cython' 'python-sphinx' 'python-guzzle-sphinx-theme')
+checkdepends=('python-pytest' 'python-pytest-cov' 'python-pytest-benchmark' 'python-mock')
+provides=('borgbackup')
+replaces=('borgbackup')
+source=("https://github.com/$_pkgname/$pkgname/releases/download/$pkgver/$_pkgname-$pkgver.tar.gz")
+sha256sums=('f7b51a132e9edfbe1cacb4f478b28caf3622d79fffcb369bdae9f92d8c8a7fdc')
+
+build() {
+  cd "$srcdir/$_pkgname-$pkgver"
+  python setup.py build
+}
+
+check() {
+  cd "$srcdir/$_pkgname-$pkgver/build/lib.linux-$CARCH-"*
+  LANG=en_US.UTF-8 PYTHONPATH="$PWD:$PYTHONPATH" py.test --cov=borg \
+    --benchmark-skip --pyargs borg.testsuite -v \
+    -k 'not test_non_ascii_acl'
+}
+
+package() {
+  cd "$srcdir/$_pkgname-$pkgver"
+
+  python setup.py install --root="$pkgdir" --optimize=1
+
+  # remove junk files
+  rm -r "$pkgdir"/usr/lib/python*/site-packages/{.benchmarks,.coverage}
+
+  install -Dm644 scripts/shell_completions/bash/borg \
+    "$pkgdir/usr/share/bash-completion/completions/borg"
+  install -Dm644 scripts/shell_completions/fish/borg.fish \
+    "$pkgdir/usr/share/fish/completions/borg.fish"
+  install -Dm644 scripts/shell_completions/zsh/_borg "$pkgdir/usr/share/zsh/site-functions/_borg"
+
+  install -Dm644 -t "$pkgdir/usr/share/man/man1/" "docs/man/"*.1
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}



More information about the arch-commits mailing list