public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/mathomatic/
Date: Thu,  7 Jul 2022 20:20:01 +0000 (UTC)	[thread overview]
Message-ID: <1657225190.fdfec6fb092338f5e4e62c5339f9afc4e10cc595.soap@gentoo> (raw)

commit:     fdfec6fb092338f5e4e62c5339f9afc4e10cc595
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Thu Jul  7 20:19:50 2022 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Thu Jul  7 20:19:50 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fdfec6fb

sci-mathematics/mathomatic: update EAPI 6 -> 8

Closes: https://bugs.gentoo.org/805899
Closes: https://bugs.gentoo.org/810325
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 ...c-16.0.5.ebuild => mathomatic-16.0.5-r1.ebuild} | 24 ++++++++++++++--------
 1 file changed, 15 insertions(+), 9 deletions(-)

diff --git a/sci-mathematics/mathomatic/mathomatic-16.0.5.ebuild b/sci-mathematics/mathomatic/mathomatic-16.0.5-r1.ebuild
similarity index 67%
rename from sci-mathematics/mathomatic/mathomatic-16.0.5.ebuild
rename to sci-mathematics/mathomatic/mathomatic-16.0.5-r1.ebuild
index 62548fef00cb..d16b05048391 100644
--- a/sci-mathematics/mathomatic/mathomatic-16.0.5.ebuild
+++ b/sci-mathematics/mathomatic/mathomatic-16.0.5-r1.ebuild
@@ -1,29 +1,32 @@
 # Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=8
+
 inherit toolchain-funcs flag-o-matic
 
 DESCRIPTION="Automatic algebraic manipulator"
 HOMEPAGE="https://github.com/mfillpot/mathomatic"
 SRC_URI="https://github.com/mfillpot/mathomatic/archive/${P}.tar.gz"
+S="${WORKDIR}/${PN}-${P}"
 
 LICENSE="LGPL-2.1"
 SLOT="0"
 KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux"
 IUSE="doc gnuplot"
 
-DEPEND="sys-libs/readline:=
+DEPEND="
+	sys-libs/readline:=
 	sys-libs/ncurses:="
 RDEPEND="${DEPEND}
 	gnuplot? ( sci-visualization/gnuplot )"
-
-S="${WORKDIR}/${PN}-${P}"
+BDEPEND="doc? ( app-text/htmldoc )"
 
 src_compile() {
 	append-cflags -DBOLD_COLOR=1
 	emake READLINE=1 CC="$(tc-getCC)"
 	emake CC="$(tc-getCC)" -C primes
+	use doc && emake pdf
 }
 
 src_test() {
@@ -32,12 +35,15 @@ src_test() {
 }
 
 src_install() {
-	emake prefix="${EPREFIX}/usr" DESTDIR="${D}" bininstall m4install
-	emake prefix="${EPREFIX}/usr" DESTDIR="${D}" -C primes install
+	emake DESTDIR="${D}" prefix="${EPREFIX}"/usr \
+		mathdocdir="${EPREFIX}"/usr/share/doc/${PF} \
+		bininstall m4install
+	emake DESTDIR="${D}" prefix="${EPREFIX}"/usr -C primes install
 	dodoc changes.txt README.txt AUTHORS
 	newdoc primes/README.txt README-primes.txt
 	use doc && emake \
-		prefix="${EPREFIX}/usr" \
-		mathdocdir="${EPREFIX}/usr/share/doc/${PF}" \
-		DESTDIR="${D}" docinstall
+		DESTDIR="${D}" \
+		prefix="${EPREFIX}"/usr \
+		mathdocdir="${EPREFIX}"/usr/share/doc/${PF} \
+		docinstall
 }


             reply	other threads:[~2022-07-07 20:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-07 20:20 David Seifert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-03-20  0:16 [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/mathomatic/ Sam James
2021-11-18 23:50 Georgy Yakovlev
2020-06-22 22:40 Andreas Sturmlechner
2020-06-21 15:24 Thomas Deutschmann
2020-06-21 14:48 Andreas Sturmlechner
2017-07-21 17:38 Sebastien Fabbro

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1657225190.fdfec6fb092338f5e4e62c5339f9afc4e10cc595.soap@gentoo \
    --to=soap@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox