aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@riseup.net>2021-03-05 09:42:10 +0100
committerAndrew Ammerlaan <andrewammerlaan@riseup.net>2021-03-05 09:42:10 +0100
commit9a4b60dee14ee00cafbbf8b759fb4e5db9296344 (patch)
tree3f679cb073b4743195d878d1d681aadedc492d35 /sci-chemistry
parentsci-chemistry/gamess: EAPI bump (diff)
downloadsci-9a4b60dee14ee00cafbbf8b759fb4e5db9296344.tar.gz
sci-9a4b60dee14ee00cafbbf8b759fb4e5db9296344.tar.bz2
sci-9a4b60dee14ee00cafbbf8b759fb4e5db9296344.zip
sci-chemistry/drawxtl: EAPI bump
Package-Manager: Portage-3.0.16, Repoman-3.0.2 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
Diffstat (limited to 'sci-chemistry')
-rw-r--r--sci-chemistry/drawxtl/drawxtl-45.ebuild15
-rw-r--r--sci-chemistry/drawxtl/drawxtl-55.ebuild15
2 files changed, 16 insertions, 14 deletions
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