commit:     867cd6b2da3eef8f3b11e3e7fb826eac9350ecef
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 14 18:48:59 2017 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Fri Apr 14 18:59:59 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=867cd6b2

sci-libs/libghemical: Bump EAPI to 6

Package-Manager: Portage-2.3.5, Repoman-2.3.2
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 sci-libs/libghemical/libghemical-3.0.0.ebuild | 17 ++++++++---------
 sci-libs/libghemical/metadata.xml             | 18 +++++++++---------
 2 files changed, 17 insertions(+), 18 deletions(-)

diff --git a/sci-libs/libghemical/libghemical-3.0.0.ebuild 
b/sci-libs/libghemical/libghemical-3.0.0.ebuild
index dad5a06fbfc..6e178a30474 100644
--- a/sci-libs/libghemical/libghemical-3.0.0.ebuild
+++ b/sci-libs/libghemical/libghemical-3.0.0.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="3"
+EAPI=6
 
-inherit autotools eutils
+inherit autotools
 
 DESCRIPTION="Chemical quantum mechanics and molecular mechanics"
 HOMEPAGE="http://bioinformatics.org/ghemical/";
@@ -19,12 +19,15 @@ RDEPEND="
        mpqc? (
                >=sci-chemistry/mpqc-2.3.1-r1
                virtual/blas
-               virtual/lapack )"
+               virtual/lapack
+       )"
 DEPEND="${RDEPEND}
                virtual/pkgconfig"
 
+PATCHES=( "${FILESDIR}"/${PN}-2.98-gl.patch )
+
 src_prepare() {
-       epatch "${FILESDIR}"/${PN}-2.98-gl.patch
+       default
        eautoreconf
 }
 
@@ -35,7 +38,3 @@ src_configure() {
                $(use_enable mpqc) \
                $(use_enable static-libs static)
 }
-
-src_install() {
-       emake DESTDIR="${D}" install || die "install failed"
-}

diff --git a/sci-libs/libghemical/metadata.xml 
b/sci-libs/libghemical/metadata.xml
index 0835bbd6d8c..82a6530d10c 100644
--- a/sci-libs/libghemical/metadata.xml
+++ b/sci-libs/libghemical/metadata.xml
@@ -1,21 +1,21 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
 <pkgmetadata>
-<maintainer type="project">
-  <email>sci-chemis...@gentoo.org</email>
-  <name>Gentoo Chemistry Project</name>
-</maintainer>
-<longdescription>
+  <maintainer type="project">
+    <email>sci-chemis...@gentoo.org</email>
+    <name>Gentoo Chemistry Project</name>
+  </maintainer>
+  <longdescription>
 Ghemical supports both quantum-mechanics (semi-empirical and ab initio) models 
 and molecular mechanics models (there is an experimental Tripos 5.2-like force 
 field for organic molecules). Also a tool for reduced protein models is 
 included. Geometry optimization, molecular dynamics and a large set of 
 visualization tools are currently available.
 </longdescription>
-<use>
-  <flag name="mopac7">Use <pkg>sci-chemistry/mopac7</pkg> for semi-empirical
+  <use>
+    <flag name="mopac7">Use <pkg>sci-chemistry/mopac7</pkg> for semi-empirical
     calculations</flag>
-  <flag name="mpqc">Use <pkg>sci-chemistry/mpqc</pkg> for quantum-mechanical
+    <flag name="mpqc">Use <pkg>sci-chemistry/mpqc</pkg> for quantum-mechanical
     calculations</flag>
-</use>
+  </use>
 </pkgmetadata>

Reply via email to