1 |
commit: 7adbb9cc393b996861d75911c3f67a16bf8abf45 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 16 20:16:31 2020 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 16 20:16:31 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7adbb9cc |
7 |
|
8 |
sci-chemistry/ksdssp: Port to EAPI 7 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/741996 |
11 |
Package-Manager: Portage-3.0.7, Repoman-3.0.1 |
12 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
13 |
|
14 |
sci-chemistry/ksdssp/ksdssp-040728-r1.ebuild | 25 +++++++++++++------------ |
15 |
1 file changed, 13 insertions(+), 12 deletions(-) |
16 |
|
17 |
diff --git a/sci-chemistry/ksdssp/ksdssp-040728-r1.ebuild b/sci-chemistry/ksdssp/ksdssp-040728-r1.ebuild |
18 |
index b5e9e772743..118f15c3c2d 100644 |
19 |
--- a/sci-chemistry/ksdssp/ksdssp-040728-r1.ebuild |
20 |
+++ b/sci-chemistry/ksdssp/ksdssp-040728-r1.ebuild |
21 |
@@ -1,7 +1,7 @@ |
22 |
-# Copyright 1999-2012 Gentoo Foundation |
23 |
+# Copyright 1999-2020 Gentoo Authors |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
|
26 |
-EAPI=4 |
27 |
+EAPI=7 |
28 |
|
29 |
inherit toolchain-funcs |
30 |
|
31 |
@@ -9,19 +9,18 @@ DESCRIPTION="An open source implementation of sci-chemistry/dssp" |
32 |
HOMEPAGE="http://www.cgl.ucsf.edu/Overview/software.html" |
33 |
SRC_URI="mirror://gentoo/${P}.shar" |
34 |
|
35 |
-SLOT="0" |
36 |
LICENSE="BSD" |
37 |
+SLOT="0" |
38 |
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
39 |
-IUSE="" |
40 |
|
41 |
RDEPEND="sci-libs/libpdb++" |
42 |
-DEPEND="${RDEPEND} |
43 |
- app-arch/sharutils" |
44 |
+DEPEND="${RDEPEND}" |
45 |
+BDEPEND="app-arch/sharutils" |
46 |
|
47 |
-S="${WORKDIR}"/${PN} |
48 |
+S="${WORKDIR}/${PN}" |
49 |
|
50 |
src_unpack() { |
51 |
- "${EPREFIX}/usr/bin/unshar" "${DISTDIR}"/${A} || die |
52 |
+ unshar "${DISTDIR}"/${A} || die |
53 |
} |
54 |
|
55 |
src_compile() { |
56 |
@@ -39,8 +38,10 @@ src_compile() { |
57 |
} |
58 |
|
59 |
src_install() { |
60 |
- dobin ${PN}{,.csh} |
61 |
- dodoc README |
62 |
- dohtml ${PN}.html |
63 |
- doman ${PN}.1 |
64 |
+ dobin ksdssp{,.csh} |
65 |
+ |
66 |
+ HTML_DOCS=( ksdssp.html ) |
67 |
+ einstalldocs |
68 |
+ |
69 |
+ doman ksdssp.1 |
70 |
} |