sci-libs/libghemical: Bump EAPI to 6
authorJustin Lecher <jlec@gentoo.org>
Fri, 14 Apr 2017 18:48:59 +0000 (19:48 +0100)
committerJustin Lecher <jlec@gentoo.org>
Fri, 14 Apr 2017 18:59:59 +0000 (19:59 +0100)
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Signed-off-by: Justin Lecher <jlec@gentoo.org>
sci-libs/libghemical/libghemical-3.0.0.ebuild
sci-libs/libghemical/metadata.xml

index dad5a06fbfc896d64d66d98e0d2cdc65f21214b6..6e178a304743abed3cb9dd059795a3ddd6dd1759 100644 (file)
@@ -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"
-}
index 0835bbd6d8cbad1b13313346ddb16bc43bec8700..82a6530d10c8ecdb9fbe920b0020997e7cf36813 100644 (file)
@@ -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-chemistry@gentoo.org</email>
-  <name>Gentoo Chemistry Project</name>
-</maintainer>
-<longdescription>
+  <maintainer type="project">
+    <email>sci-chemistry@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>