diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-backup/bup/bup-0.29.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-backup/bup/bup-0.29.ebuild')
-rw-r--r-- | app-backup/bup/bup-0.29.ebuild | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/app-backup/bup/bup-0.29.ebuild b/app-backup/bup/bup-0.29.ebuild new file mode 100644 index 000000000000..f1071883fb22 --- /dev/null +++ b/app-backup/bup/bup-0.29.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 ) + +inherit python-single-r1 + +DESCRIPTION="A highly efficient backup system based on the git packfile format" +HOMEPAGE="https://bup.github.io/ https://github.com/bup/bup" +SRC_URI="https://github.com/bup/bup/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test web" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + app-arch/par2cmdline + dev-python/fuse-python[${PYTHON_USEDEP}] + dev-python/pylibacl[${PYTHON_USEDEP}] + dev-python/pyxattr[${PYTHON_USEDEP}] + web? ( www-servers/tornado[${PYTHON_USEDEP}] ) + sys-libs/readline:0 + dev-vcs/git" +DEPEND="${RDEPEND} + test? ( + dev-lang/perl + net-misc/rsync + ) + app-text/pandoc +" + +# unresolved sandbox issues +RESTRICT="test" + +src_prepare() { + default + + sed -e "/^CFLAGS :=/s/-O2 -Werror//" \ + -i Makefile || die +} + +src_configure() { + ./configure || die +} + +src_test() { + emake test +} + +src_install() { + emake DESTDIR="${D}" PREFIX=/usr LIBDIR="/usr/$(get_libdir)/bup" DOCDIR="/usr/share/${PF}" install + python_fix_shebang "${ED}" + python_optimize "${ED}" +} |