commit: 6d29658058f2855950a5f285af70fe898ba4fb92 Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr> AuthorDate: Sat Aug 14 10:13:21 2021 +0000 Commit: David Seifert <soap <AT> gentoo <DOT> org> CommitDate: Sat Aug 14 10:13:21 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d296580
sci-chemistry/easychem: Port to EAPI 8 Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr> Signed-off-by: David Seifert <soap <AT> gentoo.org> sci-chemistry/easychem/easychem-0.6-r1.ebuild | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/sci-chemistry/easychem/easychem-0.6-r1.ebuild b/sci-chemistry/easychem/easychem-0.6-r1.ebuild index 9fbce181512..4d9d43bcf61 100644 --- a/sci-chemistry/easychem/easychem-0.6-r1.ebuild +++ b/sci-chemistry/easychem/easychem-0.6-r1.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=8 -inherit epatch toolchain-funcs +inherit toolchain-funcs DESCRIPTION="Chemical structure drawing program - focused on presentation" HOMEPAGE="http://easychem.sourceforge.net/" @@ -12,18 +12,22 @@ SRC_URI="mirror://sourceforge/easychem/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux" -IUSE="" RDEPEND=" - x11-libs/gtk+:2 app-text/ghostscript-gpl - media-gfx/pstoedit" -DEPEND="${RDEPEND} + media-gfx/pstoedit + x11-libs/gtk+:2 +" +DEPEND="${RDEPEND}" +BDEPEND=" dev-lang/perl - virtual/pkgconfig" + virtual/pkgconfig +" + +PATCHES=( "${FILESDIR}"/${PV}-gentoo.patch ) src_prepare() { - epatch "${FILESDIR}"/${PV}-gentoo.patch + default tc-export CC }
