testing/bup: new aport

Signed-off-by: Pavel Pletenev's avatardelphi <cpp.create@gmail.com>
parent 5b17b206
Pipeline #21438 failed with stages
in 1 minute and 16 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 pango linux-headers gcc coreutils"
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
6d0268ceb9e0484d9edfb3ee549b29733e46683503408fb39eba1094c20618cd2bfe14460252f06f878a513619460a272ff0f9ac622489fc3c5daa3c8a0ea7a9 fix-missing-lchmod.patch"
Upstream: No - This patch is very alpine-specific.
Reason: This patch is required due to alpine python2 lchmod is not missing,
but raises exception, which is unexpected for bup.
The patch hardcodes False for feature-check for lchmod.
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