Unverified Commit f372e9f1 authored by Pavel Pletenev's avatar Pavel Pletenev
Browse files

Initial bup contribution


Signed-off-by: Pavel Pletenev's avatardelphi <cpp.create@gmail.com>
parent 81057cd6
Pipeline #21417 failed with stages
in 3 minutes and 21 seconds
# Contributor: Pavel Pletenev <cpp.create@gmail.com>
# Maintainer: Pavel Pletenev <cpp.create@gmail.com>
pkgname=bup
subpackages="bup-doc"
pkgver=0.30.1
pkgrel=0
pkgdesc="Very efficient backup system based on the git packfile format"
url="https://github.com/bup/bup"
arch="all"
license="LGPL-2.0-only"
depends="fuse git python2"
makedepends="autoconf automake libtool python2-dev pandoc linux-headers"
options="!check" # No test suite
source="$pkgname-$pkgver.tar.gz::https://github.com/bup/bup/archive/$pkgver.tar.gz fix-missing-lchmod.patch"
prepare() {
default_prepare
echo "$pkgver" > "$builddir"/VERSION
}
build() {
export GIT_CEILING_DIRECTORIES="$srcdir"
make
}
package() {
make PREFIX="/usr" DESTDIR="$pkgdir" install
}
sha512sums="467bdcb55a340b3c9c591c0aef6abd7d687879d5f608dce4fc26085ff3f41af204cc2720bc99fdfe61ebb846d61dea63713b69c68e41361e92d5709ede6f12d7 bup-0.30.1.tar.gz
f1af9a9d8427400257ca55d82e1f215fa455c9c4d5a6c524c9cdc721625783c5a37ac46310a7090614437a5ece83362b0b9d53cb8000db915b4007572b102c78 fix-missing-lchmod.patch"
diff --git a/lib/bup/metadata.py b/lib/bup/metadata.py
index 89c7f0c..f2cb8c5 100644
--- a/lib/bup/metadata.py
+++ b/lib/bup/metadata.py
@@ -112,7 +112,7 @@ def check_linux_file_attr_api():
verbose = 0
-_have_lchmod = hasattr(os, 'lchmod')
+_have_lchmod = False #hasattr(os, 'lchmod')
def _clean_up_path_for_archive(p):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment