commit:     7adbb9cc393b996861d75911c3f67a16bf8abf45
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 16 20:16:31 2020 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Wed Sep 16 20:16:31 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7adbb9cc

sci-chemistry/ksdssp: Port to EAPI 7

Closes: https://bugs.gentoo.org/741996
Package-Manager: Portage-3.0.7, Repoman-3.0.1
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 sci-chemistry/ksdssp/ksdssp-040728-r1.ebuild | 25 +++++++++++++------------
 1 file changed, 13 insertions(+), 12 deletions(-)

diff --git a/sci-chemistry/ksdssp/ksdssp-040728-r1.ebuild 
b/sci-chemistry/ksdssp/ksdssp-040728-r1.ebuild
index b5e9e772743..118f15c3c2d 100644
--- a/sci-chemistry/ksdssp/ksdssp-040728-r1.ebuild
+++ b/sci-chemistry/ksdssp/ksdssp-040728-r1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=4
+EAPI=7
 
 inherit toolchain-funcs
 
@@ -9,19 +9,18 @@ DESCRIPTION="An open source implementation of 
sci-chemistry/dssp"
 HOMEPAGE="http://www.cgl.ucsf.edu/Overview/software.html";
 SRC_URI="mirror://gentoo/${P}.shar"
 
-SLOT="0"
 LICENSE="BSD"
+SLOT="0"
 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE=""
 
 RDEPEND="sci-libs/libpdb++"
-DEPEND="${RDEPEND}
-       app-arch/sharutils"
+DEPEND="${RDEPEND}"
+BDEPEND="app-arch/sharutils"
 
-S="${WORKDIR}"/${PN}
+S="${WORKDIR}/${PN}"
 
 src_unpack() {
-       "${EPREFIX}/usr/bin/unshar" "${DISTDIR}"/${A} || die
+       unshar "${DISTDIR}"/${A} || die
 }
 
 src_compile() {
@@ -39,8 +38,10 @@ src_compile() {
 }
 
 src_install() {
-       dobin ${PN}{,.csh}
-       dodoc README
-       dohtml ${PN}.html
-       doman ${PN}.1
+       dobin ksdssp{,.csh}
+
+       HTML_DOCS=( ksdssp.html )
+       einstalldocs
+
+       doman ksdssp.1
 }

Reply via email to