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

index 4c2d4ebec0718d7f04f8c4ddd2da8cea95e75a1a..abe9e85c6ed1cbe8523382f46a8775f805c959bf 100644 (file)
@@ -1,7 +1,7 @@
-# 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
 
@@ -28,8 +28,10 @@ RDEPEND="
 DEPEND="${RDEPEND}
        virtual/pkgconfig"
 
+PATCHES=( "${FILESDIR}"/2.99.2-docs.patch )
+
 src_prepare() {
-       epatch "${FILESDIR}"/2.99.2-docs.patch
+       default
        eautoreconf
 }
 
@@ -49,6 +51,6 @@ src_configure() {
 }
 
 src_install() {
-       emake DESTDIR="${D}" install || die "install failed"
+       emake DESTDIR="${D}" install
        make_desktop_entry /usr/bin/ghemical Ghemical /usr/share/ghemical/${PV}/pixmaps/ghemical.png
 }
index 8dbe075a6c0a5a7ba731435c16784d143c0ca19c..05b56d91546f97506b9dc68bca4a1a3949b32565 100644 (file)
@@ -1,19 +1,19 @@
 <?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="openbabel">Use <pkg>sci-chemistry/openbabel</pkg> for file
+  <use>
+    <flag name="openbabel">Use <pkg>sci-chemistry/openbabel</pkg> for file
     conversions</flag>
-</use>
+  </use>
 </pkgmetadata>