commit:     0c455c0a3c92832ef8f651c83cdf4baa1c9b714f
Author:     Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
AuthorDate: Sat Aug 14 10:13:20 2021 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Aug 14 10:13:20 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c455c0a

sci-chemistry/mustang: Port to EAPI 8

Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 sci-chemistry/mustang/files/mustang-3.2.1-gcc-4.7.patch |  5 -----
 sci-chemistry/mustang/mustang-3.2.2.ebuild              | 10 +++++-----
 2 files changed, 5 insertions(+), 10 deletions(-)

diff --git a/sci-chemistry/mustang/files/mustang-3.2.1-gcc-4.7.patch 
b/sci-chemistry/mustang/files/mustang-3.2.1-gcc-4.7.patch
index 9e5dea85afe..20bd300db89 100644
--- a/sci-chemistry/mustang/files/mustang-3.2.1-gcc-4.7.patch
+++ b/sci-chemistry/mustang/files/mustang-3.2.1-gcc-4.7.patch
@@ -1,8 +1,3 @@
- src/superpose_on_core_2.cpp |    2 ++
- 1 files changed, 2 insertions(+), 0 deletions(-)
-
-diff --git a/src/superpose_on_core_2.cpp b/src/superpose_on_core_2.cpp
-index ae137de..059dfe3 100644
 --- a/src/superpose_on_core_2.cpp
 +++ b/src/superpose_on_core_2.cpp
 @@ -55,6 +55,8 @@ using std::ofstream ;

diff --git a/sci-chemistry/mustang/mustang-3.2.2.ebuild 
b/sci-chemistry/mustang/mustang-3.2.2.ebuild
index c82add5410d..d15a60e8394 100644
--- a/sci-chemistry/mustang/mustang-3.2.2.ebuild
+++ b/sci-chemistry/mustang/mustang-3.2.2.ebuild
@@ -1,9 +1,9 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=8
 
-inherit epatch toolchain-funcs
+inherit toolchain-funcs
 
 MY_PN="MUSTANG"
 SRC_P="${PN}_v${PV}"
@@ -12,16 +12,16 @@ MY_P="${MY_PN}_v${PV}"
 DESCRIPTION="MUltiple STructural AligNment AlGorithm"
 HOMEPAGE="http://www.csse.monash.edu.au/~karun/Site/mustang.html";
 SRC_URI="http://www.csse.monash.edu.au/~karun/${PN}/${PN}_v${PV}.tgz";
+S="${WORKDIR}/${MY_P}"
 
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
-IUSE=""
 
-S="${WORKDIR}/${MY_P}"
+PATCHES=( "${FILESDIR}"/${PN}-3.2.1-gcc-4.7.patch )
 
 src_prepare() {
-       epatch "${FILESDIR}"/${PN}-3.2.1-gcc-4.7.patch
+       default
        sed -e 's:3.2.1:3.2.2:g' -i Makefile || die
 }
 

Reply via email to