From 9a4b60dee14ee00cafbbf8b759fb4e5db9296344 Mon Sep 17 00:00:00 2001 From: Andrew Ammerlaan Date: Fri, 5 Mar 2021 09:42:10 +0100 Subject: sci-chemistry/drawxtl: EAPI bump Package-Manager: Portage-3.0.16, Repoman-3.0.2 Signed-off-by: Andrew Ammerlaan --- sci-chemistry/drawxtl/drawxtl-45.ebuild | 15 +++++++++------ sci-chemistry/drawxtl/drawxtl-55.ebuild | 15 +++++++-------- 2 files changed, 16 insertions(+), 14 deletions(-) (limited to 'sci-chemistry') diff --git a/sci-chemistry/drawxtl/drawxtl-45.ebuild b/sci-chemistry/drawxtl/drawxtl-45.ebuild index 9558ffcef..e555eb352 100644 --- a/sci-chemistry/drawxtl/drawxtl-45.ebuild +++ b/sci-chemistry/drawxtl/drawxtl-45.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 -inherit eutils toolchain-funcs +inherit toolchain-funcs MY_PN="DRAWxtl" MY_P=${MY_PN}${PV} @@ -27,8 +27,12 @@ RDEPEND="${DEPEND}" S="${WORKDIR}/${MY_PN}" +PATCHES=( + "${FILESDIR}"/${P}-gentoo.patch +) + src_prepare() { - epatch "${FILESDIR}"/${P}-gentoo.patch + default cd "${S}"/source || die if ! use opengl; then sed -i -e 's:define OPENGL 1:undef OPENGL:' ${MY_P}/drawxtl.h || die "sed failed" @@ -59,8 +63,7 @@ src_install() { fi dodoc docs/readme.txt - insinto /usr/share/doc/${P} - doins docs/*.pdf + dodoc docs/*.pdf if use examples; then docinto examples diff --git a/sci-chemistry/drawxtl/drawxtl-55.ebuild b/sci-chemistry/drawxtl/drawxtl-55.ebuild index df7a16b53..c18fa4b2f 100644 --- a/sci-chemistry/drawxtl/drawxtl-55.ebuild +++ b/sci-chemistry/drawxtl/drawxtl-55.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 -inherit eutils toolchain-funcs +inherit toolchain-funcs MY_PN="DRAWxtl" MY_P=${MY_PN}${PV} @@ -26,9 +26,9 @@ RDEPEND="${DEPEND}" S="${WORKDIR}/${MY_PN}" -src_prepare() { - epatch "${FILESDIR}"/${P}-gentoo.patch -} +PATCHES=( + "${FILESDIR}"/${P}-gentoo.patch +) src_compile() { cd source/${MY_P} || die @@ -41,8 +41,7 @@ src_install() { dobin exe/${MY_P} dodoc docs/readme.txt - insinto /usr/share/doc/${P} - doins docs/*.pdf + dodoc docs/*.pdf if use examples; then docinto examples -- cgit v1.2.3-65-gdbad