diff options
author | Sam James <sam@gentoo.org> | 2021-03-28 00:38:17 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-03-28 01:13:50 +0000 |
commit | 68a82908d3282885a11131b8609a7f7ac2438bc2 (patch) | |
tree | 61b143209ae0f6cabd0bc8831c6a0a62e7d386b5 /sci-chemistry/numbat | |
parent | sci-physics/herwig++: port to EAPI 7 despite last-rites (diff) | |
download | gentoo-68a82908d3282885a11131b8609a7f7ac2438bc2.tar.gz gentoo-68a82908d3282885a11131b8609a7f7ac2438bc2.tar.bz2 gentoo-68a82908d3282885a11131b8609a7f7ac2438bc2.zip |
sci-chemistry/numbat: port to EAPI 7
* Port to EAPI 7
* Drop autotools-utils.eclass
Still doesn't seem to build with newer gsl(?)
but this unblocks autotools-utils removal anyway.
Bug: https://bugs.gentoo.org/583038
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-chemistry/numbat')
-rw-r--r-- | sci-chemistry/numbat/numbat-0.999-r1.ebuild | 42 |
1 files changed, 23 insertions, 19 deletions
diff --git a/sci-chemistry/numbat/numbat-0.999-r1.ebuild b/sci-chemistry/numbat/numbat-0.999-r1.ebuild index 66f5b2ae0652..766c64b1b9cd 100644 --- a/sci-chemistry/numbat/numbat-0.999-r1.ebuild +++ b/sci-chemistry/numbat/numbat-0.999-r1.ebuild @@ -1,52 +1,56 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 -AUTOTOOLS_AUTORECONF=true - -inherit autotools-utils +inherit autotools MY_PN="Numbat" MY_P="${MY_PN}-${PV}" -DESCRIPTION="new user-friendly method built for automatic dX-tensor determination" +DESCRIPTION="New user-friendly method built for automatic dX-tensor determination" HOMEPAGE="http://www.nmr.chem.uu.nl/~christophe/numbat.html" SRC_URI="http://comp-bio.anu.edu.au/private/downloads/Numbat/${MY_P}.tar.gz" +S="${WORKDIR}"/${MY_P} SLOT="0" LICENSE="GPL-3" KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="" -CDEPEND=" +DEPEND=" gnome-base/libglade:2.0 sci-libs/gsl - x11-libs/gtk+:2" -DEPEND="${CDEPEND} - virtual/pkgconfig" -RDEPEND="${CDEPEND} + x11-libs/gtk+:2 +" +RDEPEND=" + ${DEPEND} sci-chemistry/molmol sci-chemistry/pymol - sci-visualization/gnuplot" - -S="${WORKDIR}"/${MY_P} + sci-visualization/gnuplot +" +BDEPEND="virtual/pkgconfig" PATCHES=( # "${FILESDIR}"/${P}-glade.patch - "${FILESDIR}"/${P}-gnuplot.patch ) + "${FILESDIR}"/${P}-gnuplot.patch +) src_prepare() { + default + sed \ -e '/COPYING/d' \ -e "s:doc/numbat:share/doc/${PF}:g" \ -i Makefile.am src/common.h || die - rm missing + + rm missing || die + emake distclean - autotools-utils_src_prepare + eautoreconf } src_install() { docompress -x /usr/share/doc/${PF} - autotools-utils_src_install + + default } |