Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/probe/
Date: Wed, 16 Sep 2020 21:01:05
Message-Id: 1600289973.ceffd0224a4d3de3d60d87b812d1d603846ae16a.soap@gentoo
1 commit: ceffd0224a4d3de3d60d87b812d1d603846ae16a
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 16 20:59:33 2020 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 16 20:59:33 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ceffd022
7
8 sci-chemistry/probe: Port to EAPI 7
9
10 Closes: https://bugs.gentoo.org/742014
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/probe/probe-2.13.110909.ebuild | 24 +++++++++++-------------
15 1 file changed, 11 insertions(+), 13 deletions(-)
16
17 diff --git a/sci-chemistry/probe/probe-2.13.110909.ebuild b/sci-chemistry/probe/probe-2.13.110909.ebuild
18 index 66b1ac8c56d..628e2654bd3 100644
19 --- a/sci-chemistry/probe/probe-2.13.110909.ebuild
20 +++ b/sci-chemistry/probe/probe-2.13.110909.ebuild
21 @@ -1,9 +1,9 @@
22 -# Copyright 1999-2015 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 eutils toolchain-funcs
30 +inherit toolchain-funcs
31
32 MY_P="${PN}.${PV}"
33
34 @@ -11,23 +11,21 @@ DESCRIPTION="Evaluates atomic packing within or between molecules"
35 HOMEPAGE="http://kinemage.biochem.duke.edu/software/probe.php"
36 SRC_URI="http://kinemage.biochem.duke.edu/downloads/software/probe/${MY_P}.src.zip"
37
38 -SLOT="0"
39 LICENSE="richardson"
40 +SLOT="0"
41 KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
42 -IUSE=""
43
44 -RDEPEND=""
45 -DEPEND="${RDEPEND}
46 - app-arch/unzip"
47 +BDEPEND="app-arch/unzip"
48 +
49 +S="${WORKDIR}/${MY_P}.src"
50
51 -S="${WORKDIR}"/${MY_P}.src
52 +PATCHES=( "${FILESDIR}"/${P}-as-needed.patch )
53
54 -src_prepare() {
55 - epatch "${FILESDIR}"/${P}-as-needed.patch
56 +src_configure() {
57 tc-export CC
58 }
59
60 src_install() {
61 - dobin "${S}"/probe
62 - dodoc "${S}"/README*
63 + dobin probe
64 + einstalldocs
65 }