Gentoo Archives: gentoo-commits

From: "Robin H. Johnson" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-backup/rdup/
Date: Mon, 06 Feb 2017 00:02:08
Message-Id: 1486339320.7ed538f4aa1258d904ac7dce66c26ab013a1a155.robbat2@gentoo
1 commit: 7ed538f4aa1258d904ac7dce66c26ab013a1a155
2 Author: Tom Hendrikx (whyscream) <tom <AT> whyscream <DOT> net>
3 AuthorDate: Sun Feb 5 23:54:59 2017 +0000
4 Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 6 00:02:00 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ed538f4
7
8 app-backup/rdup: new package.
9
10 (Imported from rdup-1.1.14 import from Sunrise, EAPI & version bumped).
11
12 Package-Manager: portage-2.3.2
13 Fixes: https://bugs.gentoo.org/show_bug.cgi?id=196309
14 Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>
15
16 app-backup/rdup/Manifest | 1 +
17 app-backup/rdup/metadata.xml | 11 ++++++++++
18 app-backup/rdup/rdup-1.1.15.ebuild | 42 ++++++++++++++++++++++++++++++++++++++
19 3 files changed, 54 insertions(+)
20
21 diff --git a/app-backup/rdup/Manifest b/app-backup/rdup/Manifest
22 new file mode 100644
23 index 00000000..a18b31f
24 --- /dev/null
25 +++ b/app-backup/rdup/Manifest
26 @@ -0,0 +1 @@
27 +DIST rdup-1.1.15.tar.gz 333646 SHA256 787b8c37e88be810a710210a9d9f6966b544b1389a738aadba3903c71e0c29cb SHA512 e377ec29e0dacae306ee58c935c9738f32d177e1c2575e4fa3618d2753d248f2898633dde46da81410271205458ccf0d3d885e3eebc5f1948afc5cd9e99ce7c3 WHIRLPOOL a82eac7a80ab02436343687f62bbab643027854771e2031d577abc71495aa7e63c0185580466527704906035e023372809088b8a08686ce438211ddffb7b5521
28
29 diff --git a/app-backup/rdup/metadata.xml b/app-backup/rdup/metadata.xml
30 new file mode 100644
31 index 00000000..9f9793a
32 --- /dev/null
33 +++ b/app-backup/rdup/metadata.xml
34 @@ -0,0 +1,11 @@
35 +<?xml version="1.0" encoding="UTF-8"?>
36 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
37 +<pkgmetadata>
38 + <maintainer type="person">
39 + <email>robbat2@g.o</email>
40 + <name>Robin H. Johnson</name>
41 + </maintainer>
42 + <upstream>
43 + <remote-id type="github">miekg/rdup</remote-id>
44 + </upstream>
45 +</pkgmetadata>
46
47 diff --git a/app-backup/rdup/rdup-1.1.15.ebuild b/app-backup/rdup/rdup-1.1.15.ebuild
48 new file mode 100644
49 index 00000000..952ae22
50 --- /dev/null
51 +++ b/app-backup/rdup/rdup-1.1.15.ebuild
52 @@ -0,0 +1,42 @@
53 +# Copyright 1999-2017 Gentoo Foundation
54 +# Distributed under the terms of the GNU General Public License v2
55 +# $Header: $
56 +
57 +EAPI=6
58 +
59 +inherit eutils autotools
60 +
61 +DESCRIPTION="Generate a file list suitable for full or incremental backups"
62 +HOMEPAGE="https://github.com/miekg/rdup/releases"
63 +SRC_URI="https://github.com/miekg/rdup/archive/${PV}.tar.gz -> ${P}.tar.gz"
64 +
65 +LICENSE="GPL-3"
66 +SLOT="0"
67 +KEYWORDS="~amd64 ~x86"
68 +IUSE="debug test"
69 +
70 +RDEPEND="
71 + app-arch/libarchive
72 + dev-libs/glib:2
73 + dev-libs/libpcre
74 + dev-libs/nettle"
75 +DEPEND="${RDEPEND}
76 + test? ( dev-util/dejagnu )"
77 +
78 +src_prepare() {
79 + default_src_prepare
80 + sed -i -e 's/ -Werror//' GNUmakefile.in || die "Failed to fix Makefile"
81 + eautoreconf
82 +}
83 +
84 +src_configure() {
85 + econf $(use_enable debug)
86 +}
87 +
88 +src_test() {
89 + if use debug; then
90 + ewarn "Test phase skipped, as it is known to fail with USE=\"debug\"."
91 + else
92 + default_src_test
93 + fi
94 +}