summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2017-04-14 19:48:59 +0100
committerJustin Lecher <jlec@gentoo.org>2017-04-14 19:59:59 +0100
commit867cd6b2da3eef8f3b11e3e7fb826eac9350ecef (patch)
tree30493bf72cc727e408ed2a25bd41be42e06d0e07 /sci-libs
parentsci-libs/libexcelformat: Bump EAPI to 6 (diff)
downloadgentoo-867cd6b2da3eef8f3b11e3e7fb826eac9350ecef.tar.gz
gentoo-867cd6b2da3eef8f3b11e3e7fb826eac9350ecef.tar.bz2
gentoo-867cd6b2da3eef8f3b11e3e7fb826eac9350ecef.zip
sci-libs/libghemical: Bump EAPI to 6
Package-Manager: Portage-2.3.5, Repoman-2.3.2 Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/libghemical/libghemical-3.0.0.ebuild17
-rw-r--r--sci-libs/libghemical/metadata.xml18
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 dad5a06fbfc8..6e178a304743 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 0835bbd6d8cb..82a6530d10c8 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-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>