1 |
commit: e478f1f4dce585a538f771567ded9e928e383a6e |
2 |
Author: Tim Harder <radhermit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Nov 4 06:05:57 2016 +0000 |
4 |
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Nov 4 06:17:22 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e478f1f4 |
7 |
|
8 |
app-backup/bup: initial import |
9 |
|
10 |
app-backup/bup/Manifest | 1 + |
11 |
app-backup/bup/bup-0.28.1.ebuild | 57 ++++++++++++++++++++++++++++++++++++++++ |
12 |
app-backup/bup/metadata.xml | 14 ++++++++++ |
13 |
3 files changed, 72 insertions(+) |
14 |
|
15 |
diff --git a/app-backup/bup/Manifest b/app-backup/bup/Manifest |
16 |
new file mode 100644 |
17 |
index 00000000..5906177 |
18 |
--- /dev/null |
19 |
+++ b/app-backup/bup/Manifest |
20 |
@@ -0,0 +1 @@ |
21 |
+DIST bup-0.28.1.tar.gz 377712 SHA256 fd962dbdade1b8ea257ac0e95d771ba11e6da4ef6f8ca6bee498a5b1bce8c817 SHA512 b27a94eeee86366f9f97081611d8e0443686ed8c4070d45729ad4efe1d48ee9f528d3257bfd5d37d6243927f5b63d6b613bf5ae2c39117012979ccd5ccecf9d2 WHIRLPOOL 5415df9bee662e0ffdcd81fa766c56a2d747df269d78dda0341bf59d607f4d2570bb1d9fdb055d4bc11992a707b8a36b1d9d7f11d0cfd6e504aa501e1cec7ba1 |
22 |
|
23 |
diff --git a/app-backup/bup/bup-0.28.1.ebuild b/app-backup/bup/bup-0.28.1.ebuild |
24 |
new file mode 100644 |
25 |
index 00000000..195a4f3 |
26 |
--- /dev/null |
27 |
+++ b/app-backup/bup/bup-0.28.1.ebuild |
28 |
@@ -0,0 +1,57 @@ |
29 |
+# Copyright 1999-2016 Gentoo Foundation |
30 |
+# Distributed under the terms of the GNU General Public License v2 |
31 |
+# $Id$ |
32 |
+ |
33 |
+EAPI=6 |
34 |
+PYTHON_COMPAT=( python2_7 ) |
35 |
+ |
36 |
+inherit python-single-r1 |
37 |
+ |
38 |
+DESCRIPTION="A highly efficient backup system based on the git packfile format" |
39 |
+HOMEPAGE="https://bup.github.io/ https://github.com/bup/bup" |
40 |
+SRC_URI="https://github.com/bup/bup/archive/${PV}.tar.gz -> ${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="LGPL-2" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64 ~x86" |
45 |
+IUSE="test web" |
46 |
+ |
47 |
+RDEPEND="${PYTHON_DEPS} |
48 |
+ app-arch/par2cmdline |
49 |
+ dev-python/fuse-python[${PYTHON_USEDEP}] |
50 |
+ dev-python/pylibacl[${PYTHON_USEDEP}] |
51 |
+ dev-python/pyxattr[${PYTHON_USEDEP}] |
52 |
+ web? ( www-servers/tornado[${PYTHON_USEDEP}] ) |
53 |
+ sys-libs/readline:0 |
54 |
+ dev-vcs/git" |
55 |
+DEPEND="${RDEPEND} |
56 |
+ test? ( |
57 |
+ dev-lang/perl |
58 |
+ net-misc/rsync |
59 |
+ ) |
60 |
+ app-text/pandoc |
61 |
+" |
62 |
+ |
63 |
+# unresolved sandbox issues |
64 |
+RESTRICT="test" |
65 |
+ |
66 |
+src_prepare() { |
67 |
+ default |
68 |
+ |
69 |
+ sed -e "/^CFLAGS :=/s/-O2 -Werror//" \ |
70 |
+ -i Makefile || die |
71 |
+} |
72 |
+ |
73 |
+src_configure() { |
74 |
+ ./configure || die |
75 |
+} |
76 |
+ |
77 |
+src_test() { |
78 |
+ emake test |
79 |
+} |
80 |
+ |
81 |
+src_install() { |
82 |
+ emake DESTDIR="${D}" PREFIX=/usr LIBDIR="/usr/$(get_libdir)/bup" DOCDIR="/usr/share/${PF}" install |
83 |
+ python_fix_shebang "${ED}" |
84 |
+ python_optimize "${ED}" |
85 |
+} |
86 |
|
87 |
diff --git a/app-backup/bup/metadata.xml b/app-backup/bup/metadata.xml |
88 |
new file mode 100644 |
89 |
index 00000000..9588444 |
90 |
--- /dev/null |
91 |
+++ b/app-backup/bup/metadata.xml |
92 |
@@ -0,0 +1,14 @@ |
93 |
+<?xml version="1.0" encoding="UTF-8"?> |
94 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
95 |
+<pkgmetadata> |
96 |
+ <maintainer type="person"> |
97 |
+ <email>radhermit@g.o</email> |
98 |
+ <name>Tim Harder</name> |
99 |
+ </maintainer> |
100 |
+ <use> |
101 |
+ <flag name="web">Support browsing backups via a web interface</flag> |
102 |
+ </use> |
103 |
+ <upstream> |
104 |
+ <remote-id type="github">bup/bup</remote-id> |
105 |
+ </upstream> |
106 |
+</pkgmetadata> |