commit:     5c76df4da98b776eed29df06db74effbcfb2c1be
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Fri May 19 07:52:32 2017 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Fri May 19 08:13:06 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c76df4d

x11-libs/liboglappth: Bump to EAPI=6

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

 x11-libs/liboglappth/files/gcc-4.3.patch      |  4 ++--
 x11-libs/liboglappth/liboglappth-1.0.0.ebuild | 17 ++++++-----------
 x11-libs/liboglappth/metadata.xml             | 10 +++++-----
 3 files changed, 13 insertions(+), 18 deletions(-)

diff --git a/x11-libs/liboglappth/files/gcc-4.3.patch 
b/x11-libs/liboglappth/files/gcc-4.3.patch
index 7a70ab2a265..bc04b9e97c7 100644
--- a/x11-libs/liboglappth/files/gcc-4.3.patch
+++ b/x11-libs/liboglappth/files/gcc-4.3.patch
@@ -1,5 +1,5 @@
---- liboglappth-0.96.orig/src/base_wcl.cpp     2008-07-07 23:49:10.000000000 
-0700
-+++ liboglappth-0.96/src/base_wcl.cpp  2008-07-07 23:49:26.000000000 -0700
+--- a/src/base_wcl.cpp 2008-07-07 23:49:10.000000000 -0700
++++ b/src/base_wcl.cpp 2008-07-07 23:49:26.000000000 -0700
 @@ -11,6 +11,7 @@
  
  #include "base_app.h"

diff --git a/x11-libs/liboglappth/liboglappth-1.0.0.ebuild 
b/x11-libs/liboglappth/liboglappth-1.0.0.ebuild
index fed4ef03864..a73b0a57b03 100644
--- a/x11-libs/liboglappth/liboglappth-1.0.0.ebuild
+++ b/x11-libs/liboglappth/liboglappth-1.0.0.ebuild
@@ -1,26 +1,21 @@
 # Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-inherit eutils
+EAPI=6
 
 DESCRIPTION="Libary for OpenGL applications with easy-to-code scene setup and 
selection"
 HOMEPAGE="http://www.bioinformatics.org/ghemical/";
 SRC_URI="http://www.bioinformatics.org/ghemical/download/current/${P}.tar.gz";
+
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc ~x86"
 IUSE=""
-RDEPEND="virtual/opengl
+
+RDEPEND="
+       virtual/opengl
        media-libs/freeglut"
 DEPEND="${RDEPEND}
        virtual/pkgconfig"
 
-src_unpack() {
-       unpack ${A}
-       cd "${S}"
-       epatch "${FILESDIR}"/gcc-4.3.patch
-}
-
-src_install() {
-       emake DESTDIR="${D}" install || die "emake install failed"
-}
+PATCHES=( "${FILESDIR}"/gcc-4.3.patch )

diff --git a/x11-libs/liboglappth/metadata.xml 
b/x11-libs/liboglappth/metadata.xml
index acee35cb0a6..75150c96669 100644
--- a/x11-libs/liboglappth/metadata.xml
+++ b/x11-libs/liboglappth/metadata.xml
@@ -1,11 +1,11 @@
 <?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 

Reply via email to