Gentoo Archives: gentoo-commits

From: Tim Harder <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-backup/bup/
Date: Mon, 03 Apr 2017 08:34:56
Message-Id: 1491208464.e57b6b69777551dd44a209df762c39ba5051a6a1.radhermit@gentoo
1 commit: e57b6b69777551dd44a209df762c39ba5051a6a1
2 Author: Tim Harder <radhermit <AT> gentoo <DOT> org>
3 AuthorDate: Mon Apr 3 08:16:30 2017 +0000
4 Commit: Tim Harder <radhermit <AT> gentoo <DOT> org>
5 CommitDate: Mon Apr 3 08:34:24 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e57b6b69
7
8 app-backup/bup: version bump to 0.29.1
9
10 app-backup/bup/Manifest | 1 +
11 app-backup/bup/bup-0.29.1.ebuild | 59 ++++++++++++++++++++++++++++++++++++++++
12 2 files changed, 60 insertions(+)
13
14 diff --git a/app-backup/bup/Manifest b/app-backup/bup/Manifest
15 index 4895d29713a..6f3f80ecaae 100644
16 --- a/app-backup/bup/Manifest
17 +++ b/app-backup/bup/Manifest
18 @@ -1,2 +1,3 @@
19 DIST bup-0.28.1.tar.gz 377712 SHA256 fd962dbdade1b8ea257ac0e95d771ba11e6da4ef6f8ca6bee498a5b1bce8c817 SHA512 b27a94eeee86366f9f97081611d8e0443686ed8c4070d45729ad4efe1d48ee9f528d3257bfd5d37d6243927f5b63d6b613bf5ae2c39117012979ccd5ccecf9d2 WHIRLPOOL 5415df9bee662e0ffdcd81fa766c56a2d747df269d78dda0341bf59d607f4d2570bb1d9fdb055d4bc11992a707b8a36b1d9d7f11d0cfd6e504aa501e1cec7ba1
20 +DIST bup-0.29.1.tar.gz 388654 SHA256 d24b53c842d1edc907870aa69facbd45f68d778cc013b1c311b655d10d017250 SHA512 2ad142214cf5ee61e2113b49d02761cdf8fdd5928eb4f885230af71f149ba33ee748e1d96e240903f54d3264dc2ad1614e6ece66027b4c7ed1e97b6147a9685e WHIRLPOOL 7c1c3186490cfb2efdb79c3f9cf79b2e91e1917a91127b421e49a8dd2605210a24b83c407b55bb7df9168f9f7c7a1941c36b7254013ad82ebdd8078bb52b2d2a
21 DIST bup-0.29.tar.gz 388173 SHA256 26abe107feaead4d4412ac66b37f5ecf37cdf56ce5b6d362c0c6c3862bcbb2e8 SHA512 3a70d747c6bae2640809d48141b726fa7897f33af9f19047c8d4cfba88abe04ac907980f0ce572847b900e2c8d02a3303e886c8ad7af9a97a7804540c7da1705 WHIRLPOOL 62881e320fa19935941e1d926e88d284ce6de1b4291e28eb27e2f7cc5a343b03c5fe4f2e61c7db21c85ea2c48aaeaafe33e61d0e6bb0a45e09038c83f7afe428
22
23 diff --git a/app-backup/bup/bup-0.29.1.ebuild b/app-backup/bup/bup-0.29.1.ebuild
24 new file mode 100644
25 index 00000000000..d222ff3785d
26 --- /dev/null
27 +++ b/app-backup/bup/bup-0.29.1.ebuild
28 @@ -0,0 +1,59 @@
29 +# Copyright 1999-2017 Gentoo Foundation
30 +# Distributed under the terms of the GNU General Public License v2
31 +
32 +EAPI=6
33 +PYTHON_COMPAT=( python2_7 )
34 +
35 +inherit python-single-r1
36 +
37 +DESCRIPTION="A highly efficient backup system based on the git packfile format"
38 +HOMEPAGE="https://bup.github.io/ https://github.com/bup/bup"
39 +SRC_URI="https://github.com/bup/bup/archive/${PV}.tar.gz -> ${P}.tar.gz"
40 +
41 +LICENSE="LGPL-2"
42 +SLOT="0"
43 +KEYWORDS="~amd64 ~x86"
44 +IUSE="+doc test web"
45 +
46 +RDEPEND="${PYTHON_DEPS}
47 + app-arch/par2cmdline
48 + dev-python/fuse-python[${PYTHON_USEDEP}]
49 + dev-python/pylibacl[${PYTHON_USEDEP}]
50 + dev-python/pyxattr[${PYTHON_USEDEP}]
51 + web? ( www-servers/tornado[${PYTHON_USEDEP}] )
52 + sys-libs/readline:0
53 + dev-vcs/git"
54 +DEPEND="${RDEPEND}
55 + test? (
56 + dev-lang/perl
57 + net-misc/rsync
58 + )
59 + doc? ( app-text/pandoc )
60 +"
61 +
62 +# unresolved sandbox issues
63 +RESTRICT="test"
64 +
65 +src_prepare() {
66 + default
67 +
68 + sed -e "/^CFLAGS :=/s/-O2 -Werror//" \
69 + -i Makefile || die
70 +}
71 +
72 +src_configure() {
73 + # only build/install docs if enabled
74 + export PANDOC=$(usex doc pandoc "")
75 +
76 + ./configure || die
77 +}
78 +
79 +src_test() {
80 + emake test
81 +}
82 +
83 +src_install() {
84 + emake DESTDIR="${D}" PREFIX=/usr LIBDIR="/usr/$(get_libdir)/bup" DOCDIR="/usr/share/${PF}" install
85 + python_fix_shebang "${ED}"
86 + python_optimize "${ED}"
87 +}