public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/mathomatic/
@ 2017-07-21 17:38 Sebastien Fabbro
  0 siblings, 0 replies; 7+ messages in thread
From: Sebastien Fabbro @ 2017-07-21 17:38 UTC (permalink / raw
  To: gentoo-commits

commit:     1ed7610edbab8e463f4f6e29a3631c51c3558c05
Author:     Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 21 17:31:50 2017 +0000
Commit:     Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Fri Jul 21 17:37:53 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ed7610e

sci-mathematics/mathomatic: cleaning up, frozen package.

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 sci-mathematics/mathomatic/Manifest                |  3 +-
 .../mathomatic/mathomatic-16.0.1.ebuild            | 41 ----------------------
 .../mathomatic/mathomatic-16.0.5.ebuild            | 14 ++++----
 sci-mathematics/mathomatic/metadata.xml            | 13 ++++---
 4 files changed, 17 insertions(+), 54 deletions(-)

diff --git a/sci-mathematics/mathomatic/Manifest b/sci-mathematics/mathomatic/Manifest
index 51564395f8d..382835b9ffb 100644
--- a/sci-mathematics/mathomatic/Manifest
+++ b/sci-mathematics/mathomatic/Manifest
@@ -1,3 +1,2 @@
 DIST mathomatic-15.8.5.tar.bz2 270607 SHA256 570065e77196dfca5ad85db4cd9704accf3423fa9552d48a0d847eb67fb7ef98 SHA512 9d8b5fcc369d99b890fde06729daa6c86f1a400d5e42d5fd5d74525b9f4a7c28dea5a05882e753b44590e4624ec7399367a637019867ea85fe68e9e0ed3a3e6e WHIRLPOOL 34c94679cd95cab4bc5b595944d5a82d8cc243dd1203349ca0998ed41e0304d898cbc43fee3155391a2870846dd6d58a404b3cfeedeed05428c4b193135cf94c
-DIST mathomatic-16.0.1.tar.bz2 286365 SHA256 806f64c13f99d17f24681b3e1e5c469f31f7e95776110d7181228ee67e016737 SHA512 d967170b9e02df94fb06019b17e1728e9ec27b9d53abc8a51f333aa0d5d32f2fbcbaba0f1dd3cfbd9905754d38d7057cd639d77f6ecf65eb0177f175b2c500f6 WHIRLPOOL 3eb10303be391d8f889c2159d88e53f302791cfef6632d93f79da481a53fdd4e21d187e1e4f41f941d2ddae3cb0f7b719e3659a0f431360658485b6103ae78e9
-DIST mathomatic-16.0.5.tar.bz2 292220 SHA256 976e6fed1014586bcd584e417c074fa86e4ca6a0fcc2950254da2efde99084ca SHA512 c44c60183442226562df9eefb1d77e5bafd96b7a5d3ad34a76963c586d398647366e782c75ffcf27c2b7d9d4be56678bbbc4d37ac71687a39f04b3fef450cc73 WHIRLPOOL 5d0e01bc829f560e8a84ba8d623f446948a03cd3799361225dcdeb20e96d24031262fef507146330e3d3becde9c1a6b49a5e732f64b7f1283bdc603c68cc1dc9
+DIST mathomatic-16.0.5.tar.gz 381466 SHA256 d93fe35914dbbafa0e67000480268d7ca3e4de773b70f4130a6b3f4fbb20fae2 SHA512 0d98cf7ad707d6536731c98dd253f4cce30243e9eefe9912b8fec3ad4ac4261e324b93b4f0113789ce17fd0b2e3d75f7b258be7905d8e3c7bb4b756627b75950 WHIRLPOOL f88c06048a35cbea5481fa533a519c2ef13c37b5dc5041d1d114fb089367e18f52a71c4e9df656c29dc8630539cee57af373ccb28934c5c4f8886b655ac09292

diff --git a/sci-mathematics/mathomatic/mathomatic-16.0.1.ebuild b/sci-mathematics/mathomatic/mathomatic-16.0.1.ebuild
deleted file mode 100644
index 6153caec436..00000000000
--- a/sci-mathematics/mathomatic/mathomatic-16.0.1.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-inherit toolchain-funcs flag-o-matic
-
-DESCRIPTION="Automatic algebraic manipulator"
-HOMEPAGE="http://www.mathomatic.org/"
-SRC_URI="${HOMEPAGE}/archive/${P}.tar.bz2"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
-IUSE="doc gnuplot"
-
-DEPEND="sys-libs/readline
-	sys-libs/ncurses"
-RDEPEND="${DEPEND}
-	gnuplot? ( sci-visualization/gnuplot )"
-
-src_compile() {
-	append-cflags -DBOLD_COLOR=1
-	emake READLINE=1 CC=$(tc-getCC)
-	emake CC=$(tc-getCC) -C primes
-}
-
-src_test() {
-	default
-	emake -C primes check
-}
-
-src_install() {
-	emake prefix="${EPREFIX}/usr" DESTDIR="${D}" bininstall
-	emake prefix="${EPREFIX}/usr" DESTDIR="${D}" -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
-}

diff --git a/sci-mathematics/mathomatic/mathomatic-16.0.5.ebuild b/sci-mathematics/mathomatic/mathomatic-16.0.5.ebuild
index 0dda7de7e1a..f1a450a5ad0 100644
--- a/sci-mathematics/mathomatic/mathomatic-16.0.5.ebuild
+++ b/sci-mathematics/mathomatic/mathomatic-16.0.5.ebuild
@@ -1,23 +1,25 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=4
+EAPI=6
 inherit toolchain-funcs flag-o-matic
 
 DESCRIPTION="Automatic algebraic manipulator"
-HOMEPAGE="http://www.mathomatic.org/"
-SRC_URI="${HOMEPAGE}/archive/${P}.tar.bz2"
+HOMEPAGE="https://github.com/mfillpot/mathomatic"
+SRC_URI="https://github.com/mfillpot/mathomatic/archive/${P}.tar.gz"
 
 LICENSE="LGPL-2.1"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
 IUSE="doc gnuplot"
 
-DEPEND="sys-libs/readline
-	sys-libs/ncurses"
+DEPEND="sys-libs/readline:=
+	sys-libs/ncurses:="
 RDEPEND="${DEPEND}
 	gnuplot? ( sci-visualization/gnuplot )"
 
+S="${WORKDIR}/${PN}-${P}"
+
 src_compile() {
 	append-cflags -DBOLD_COLOR=1
 	emake READLINE=1 CC=$(tc-getCC)

diff --git a/sci-mathematics/mathomatic/metadata.xml b/sci-mathematics/mathomatic/metadata.xml
index ed2f818466a..acb132be06c 100644
--- a/sci-mathematics/mathomatic/metadata.xml
+++ b/sci-mathematics/mathomatic/metadata.xml
@@ -1,14 +1,17 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-	<maintainer type="project">
-		<email>sci-mathematics@gentoo.org</email>
-		<name>Gentoo Mathematics Project</name>
-	</maintainer>
-	<longdescription>
+  <maintainer type="project">
+    <email>sci-mathematics@gentoo.org</email>
+    <name>Gentoo Mathematics Project</name>
+  </maintainer>
+  <longdescription>
     Mathomatic is a small, portable symbolic math program that can
     automatically solve, simplify, differentiate, combine, and compare
     algebraic equations, perform polynomial and complex arithmetic,
     etc.
   </longdescription>
+  <upstream>
+    <remote-id type="github">mfillpot/mathomatic</remote-id>
+  </upstream>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/mathomatic/
@ 2020-06-21 14:48 Andreas Sturmlechner
  0 siblings, 0 replies; 7+ messages in thread
From: Andreas Sturmlechner @ 2020-06-21 14:48 UTC (permalink / raw
  To: gentoo-commits

commit:     e3f633377e3fd5d1f7eea5ebc55897a8088325da
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 21 13:58:18 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Jun 21 14:47:39 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3f63337

sci-mathematics/mathomatic: 16.0.5 ppc stable

Tested-by: ernsteiswuerfel
Bug: https://bugs.gentoo.org/724166
Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 sci-mathematics/mathomatic/mathomatic-16.0.5.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-mathematics/mathomatic/mathomatic-16.0.5.ebuild b/sci-mathematics/mathomatic/mathomatic-16.0.5.ebuild
index f1a450a5ad0..66b3db20d86 100644
--- a/sci-mathematics/mathomatic/mathomatic-16.0.5.ebuild
+++ b/sci-mathematics/mathomatic/mathomatic-16.0.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -10,7 +10,7 @@ SRC_URI="https://github.com/mfillpot/mathomatic/archive/${P}.tar.gz"
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ppc ~x86 ~amd64-linux ~x86-linux"
 IUSE="doc gnuplot"
 
 DEPEND="sys-libs/readline:=


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/mathomatic/
@ 2020-06-21 15:24 Thomas Deutschmann
  0 siblings, 0 replies; 7+ messages in thread
From: Thomas Deutschmann @ 2020-06-21 15:24 UTC (permalink / raw
  To: gentoo-commits

commit:     d3035a5e7a3be77f5e3bfa4a50f5a988332b3c6c
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 21 15:18:59 2020 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sun Jun 21 15:18:59 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3035a5e

sci-mathematics/mathomatic: x86 stable (bug #724166)

Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 sci-mathematics/mathomatic/mathomatic-16.0.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-mathematics/mathomatic/mathomatic-16.0.5.ebuild b/sci-mathematics/mathomatic/mathomatic-16.0.5.ebuild
index 66b3db20d86..776672aed0c 100644
--- a/sci-mathematics/mathomatic/mathomatic-16.0.5.ebuild
+++ b/sci-mathematics/mathomatic/mathomatic-16.0.5.ebuild
@@ -10,7 +10,7 @@ SRC_URI="https://github.com/mfillpot/mathomatic/archive/${P}.tar.gz"
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~amd64 ppc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ppc x86 ~amd64-linux ~x86-linux"
 IUSE="doc gnuplot"
 
 DEPEND="sys-libs/readline:=


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/mathomatic/
@ 2020-06-22 22:40 Andreas Sturmlechner
  0 siblings, 0 replies; 7+ messages in thread
From: Andreas Sturmlechner @ 2020-06-22 22:40 UTC (permalink / raw
  To: gentoo-commits

commit:     dd41c5e289d0970953ec90f82204f114ec49869d
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 22 22:39:34 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Jun 22 22:39:34 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd41c5e2

sci-mathematics/mathomatic: Drop 15.8.5

Closes: https://bugs.gentoo.org/724166
Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 sci-mathematics/mathomatic/Manifest                |  1 -
 .../mathomatic/mathomatic-15.8.5.ebuild            | 41 ----------------------
 2 files changed, 42 deletions(-)

diff --git a/sci-mathematics/mathomatic/Manifest b/sci-mathematics/mathomatic/Manifest
index 00c4c339688..f9dc88043a0 100644
--- a/sci-mathematics/mathomatic/Manifest
+++ b/sci-mathematics/mathomatic/Manifest
@@ -1,2 +1 @@
-DIST mathomatic-15.8.5.tar.bz2 270607 BLAKE2B dc8d39a53e8d8a2e252a7cecbf235d391cda282e7ed59c1c4b341ec4d8cab144098f4cee043946d4fcc230f92683276251aac4fd33d78ee7170fad191a03e644 SHA512 9d8b5fcc369d99b890fde06729daa6c86f1a400d5e42d5fd5d74525b9f4a7c28dea5a05882e753b44590e4624ec7399367a637019867ea85fe68e9e0ed3a3e6e
 DIST mathomatic-16.0.5.tar.gz 381466 BLAKE2B 31dde337646d39faad3bcda6b72e316de4febfaf8c825320c70d69fdd55bb377948ec9e8b5ad855dc0a5b9be0f50b19387a595dfee7299e71fbf19c4f2bae979 SHA512 0d98cf7ad707d6536731c98dd253f4cce30243e9eefe9912b8fec3ad4ac4261e324b93b4f0113789ce17fd0b2e3d75f7b258be7905d8e3c7bb4b756627b75950

diff --git a/sci-mathematics/mathomatic/mathomatic-15.8.5.ebuild b/sci-mathematics/mathomatic/mathomatic-15.8.5.ebuild
deleted file mode 100644
index 6a40519ade4..00000000000
--- a/sci-mathematics/mathomatic/mathomatic-15.8.5.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-inherit toolchain-funcs flag-o-matic
-
-DESCRIPTION="Automatic algebraic manipulator"
-HOMEPAGE="http://www.mathomatic.org/"
-SRC_URI="http://www.mathomatic.org/archive/${P}.tar.bz2"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE="doc gnuplot"
-
-DEPEND="sys-libs/readline
-	sys-libs/ncurses"
-RDEPEND="${DEPEND}
-	gnuplot? ( sci-visualization/gnuplot )"
-
-src_compile() {
-	append-cflags -DBOLD_COLOR=1
-	emake READLINE=1 CC=$(tc-getCC)
-	emake CC=$(tc-getCC) -C primes
-}
-
-src_test() {
-	default
-	emake -C primes check
-}
-
-src_install() {
-	emake prefix="${EPREFIX}usr" DESTDIR="${D}" bininstall
-	emake prefix="${EPREFIX}usr" DESTDIR="${D}" -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
-}


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/mathomatic/
@ 2021-11-18 23:50 Georgy Yakovlev
  0 siblings, 0 replies; 7+ messages in thread
From: Georgy Yakovlev @ 2021-11-18 23:50 UTC (permalink / raw
  To: gentoo-commits

commit:     85f262d5e986f49e40a5e3cc931b3e8a34b05639
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 18 23:45:20 2021 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Thu Nov 18 23:50:24 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85f262d5

sci-mathematics/mathomatic: de-stabilize for ~ppc, bug #823768

Bug: https://bugs.gentoo.org/823768
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 sci-mathematics/mathomatic/mathomatic-16.0.5.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-mathematics/mathomatic/mathomatic-16.0.5.ebuild b/sci-mathematics/mathomatic/mathomatic-16.0.5.ebuild
index 9d087a72a670..949045b8228a 100644
--- a/sci-mathematics/mathomatic/mathomatic-16.0.5.ebuild
+++ b/sci-mathematics/mathomatic/mathomatic-16.0.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -10,7 +10,7 @@ SRC_URI="https://github.com/mfillpot/mathomatic/archive/${P}.tar.gz"
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux"
 IUSE="doc gnuplot"
 
 DEPEND="sys-libs/readline:=


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/mathomatic/
@ 2022-03-20  0:16 Sam James
  0 siblings, 0 replies; 7+ messages in thread
From: Sam James @ 2022-03-20  0:16 UTC (permalink / raw
  To: gentoo-commits

commit:     b1386140c72121c83a65719e545314da730b2a7f
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 20 00:06:55 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Mar 20 00:06:55 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1386140

sci-mathematics/mathomatic: [QA] fix tc-get* quoting

This can cause build problems for e.g. 32-bit (gcc -m32 ...)

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-mathematics/mathomatic/mathomatic-16.0.5.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sci-mathematics/mathomatic/mathomatic-16.0.5.ebuild b/sci-mathematics/mathomatic/mathomatic-16.0.5.ebuild
index 949045b8228a..62548fef00cb 100644
--- a/sci-mathematics/mathomatic/mathomatic-16.0.5.ebuild
+++ b/sci-mathematics/mathomatic/mathomatic-16.0.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -22,8 +22,8 @@ S="${WORKDIR}/${PN}-${P}"
 
 src_compile() {
 	append-cflags -DBOLD_COLOR=1
-	emake READLINE=1 CC=$(tc-getCC)
-	emake CC=$(tc-getCC) -C primes
+	emake READLINE=1 CC="$(tc-getCC)"
+	emake CC="$(tc-getCC)" -C primes
 }
 
 src_test() {


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/mathomatic/
@ 2022-07-07 20:20 David Seifert
  0 siblings, 0 replies; 7+ messages in thread
From: David Seifert @ 2022-07-07 20:20 UTC (permalink / raw
  To: gentoo-commits

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
 }


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-07-07 20:20 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-18 23:50 [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/mathomatic/ Georgy Yakovlev
  -- strict thread matches above, loose matches on Subject: below --
2022-07-07 20:20 David Seifert
2022-03-20  0:16 Sam James
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox