Gentoo Archives: gentoo-commits

From: James Le Cuirot <chewi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/safecopy/
Date: Sat, 07 Mar 2020 21:45:51
Message-Id: 1583617504.1c0dbe09fe07d97672474ca4c2f52392a4c478e3.chewi@gentoo
1 commit: 1c0dbe09fe07d97672474ca4c2f52392a4c478e3
2 Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
3 AuthorDate: Sat Mar 7 21:38:26 2020 +0000
4 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
5 CommitDate: Sat Mar 7 21:45:04 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c0dbe09
7
8 sys-fs/safecopy: EAPI 7
9
10 Installed files are unchanged.
11
12 Package-Manager: Portage-2.3.92, Repoman-2.3.20
13 Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
14
15 sys-fs/safecopy/safecopy-1.7.ebuild | 28 ++++++----------------------
16 1 file changed, 6 insertions(+), 22 deletions(-)
17
18 diff --git a/sys-fs/safecopy/safecopy-1.7.ebuild b/sys-fs/safecopy/safecopy-1.7.ebuild
19 index dbfe2a87a2a..ea11400db32 100644
20 --- a/sys-fs/safecopy/safecopy-1.7.ebuild
21 +++ b/sys-fs/safecopy/safecopy-1.7.ebuild
22 @@ -1,9 +1,7 @@
23 -# Copyright 1999-2019 Gentoo Authors
24 +# Copyright 1999-2020 Gentoo Authors
25 # Distributed under the terms of the GNU General Public License v2
26
27 -EAPI=4
28 -
29 -inherit base
30 +EAPI=7
31
32 DESCRIPTION="Tool for fault-tolerant data recovery from damaged (io-errors) devices or files"
33 HOMEPAGE="http://safecopy.sourceforge.net"
34 @@ -15,34 +13,20 @@ KEYWORDS="amd64 x86"
35 IUSE="test"
36 RESTRICT="!test? ( test )"
37
38 -RDEPEND=""
39 -DEPEND=""
40 -
41 DOCS=( README )
42
43 -src_prepare() {
44 - base_src_prepare
45 - sed -e 's:bin/sh:bin/bash:' \
46 - -i "${S}"/test/test.sh || die
47 -}
48 -
49 src_configure() {
50 econf
51 - if use test; then
52 - cd "${S}"/simulator
53 - econf
54 - fi
55 + cd simulator || die
56 + use test && econf
57 }
58
59 src_compile() {
60 emake
61 - if use test; then
62 - cd "${S}"/simulator
63 - emake
64 - fi
65 + use test && emake -C simulator
66 }
67
68 src_test() {
69 - cd "${S}"/test
70 + cd test || die
71 ./test.sh || die
72 }