[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/

2023-11-22 Thread Michael Orlitzky
commit: ea6a2463580f0bfcae3932621feaaeb57d496649
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Wed Nov 22 23:17:16 2023 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Wed Nov 22 23:17:29 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea6a2463

sci-mathematics/maxima: update LICENSE

Signed-off-by: Michael Orlitzky  gentoo.org>

 sci-mathematics/maxima/maxima-5.47.0.ebuild | 7 ++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/sci-mathematics/maxima/maxima-5.47.0.ebuild 
b/sci-mathematics/maxima/maxima-5.47.0.ebuild
index 8e34da83b705..6ea0856572fb 100644
--- a/sci-mathematics/maxima/maxima-5.47.0.ebuild
+++ b/sci-mathematics/maxima/maxima-5.47.0.ebuild
@@ -11,7 +11,12 @@ DESCRIPTION="Free computer algebra environment based on 
Macsyma"
 HOMEPAGE="http://maxima.sourceforge.net/;
 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
 
-LICENSE="GPL-2 GPL-2+"
+# Licensing is a mess. COPYING is GPL-2. A few files such as
+# src/numth.lisp explicitly mention GPL-2 without the "or later version"
+# bit. Others such as src/airy.lisp have the "or later version." Both
+# src/maxmin.lisp and src/nummod.lisp declare the LLGPL; in fact they
+# say LLGPL version 2 or later which I have approximated by LLGPL-2.1.
+LICENSE="GPL-2 GPL-2+ LLGPL-2.1"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
 



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/

2023-07-22 Thread Andrey Grozin
commit: e5148bcca6a9be398db0834319674d46ec7be431
Author: Andrey Grozin  gentoo  org>
AuthorDate: Sat Jul 22 15:19:02 2023 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Sat Jul 22 15:19:02 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5148bcc

sci-mathematics/maxima: use new versions of gcl

Signed-off-by: Andrey Grozin  gentoo.org>

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

diff --git a/sci-mathematics/maxima/maxima-5.47.0.ebuild 
b/sci-mathematics/maxima/maxima-5.47.0.ebuild
index 22da4534cb1e..783f1b57f66f 100644
--- a/sci-mathematics/maxima/maxima-5.47.0.ebuild
+++ b/sci-mathematics/maxima/maxima-5.47.0.ebuild
@@ -30,7 +30,7 @@ LISP_DEPEND="
clozurecl64? ( dev-lisp/clozurecl app-misc/rlwrap )
cmucl? ( dev-lisp/cmucl app-misc/rlwrap )
ecls? ( dev-lisp/ecls:= app-misc/rlwrap )
-   gcl? ( =dev-lisp/gcl-2.6.14[ansi,readline] )
sbcl? ( dev-lisp/sbcl:= app-misc/rlwrap )
 "
 



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/

2023-05-25 Thread Andrey Grozin
commit: 693751e0ecbe38038ed633913b0c3c6be29cbe91
Author: Andrey Grozin  gentoo  org>
AuthorDate: Thu May 25 08:31:25 2023 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Thu May 25 08:32:04 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=693751e0

sci-mathematics/maxima: added myself as a maintainer

Signed-off-by: Andrey Grozin  gentoo.org>

 sci-mathematics/maxima/metadata.xml | 16 ++--
 1 file changed, 10 insertions(+), 6 deletions(-)

diff --git a/sci-mathematics/maxima/metadata.xml 
b/sci-mathematics/maxima/metadata.xml
index e6f94974231a..8c7e1e80faa5 100644
--- a/sci-mathematics/maxima/metadata.xml
+++ b/sci-mathematics/maxima/metadata.xml
@@ -1,18 +1,22 @@
 
 https://www.gentoo.org/dtd/metadata.dtd;>
 
+  
+gro...@gentoo.org
+Andrey Grozin
+  
   
 sci-mathemat...@gentoo.org
 Gentoo Mathematics Project
   
   
   Computer Algebra system, descendent of Macsyma.
-  Maxima is a system for the manipulation of symbolic and 
-  numerical expressions, including differentiation, integration, 
-  Taylor series, Laplace transforms, ordinary differential 
-  equations, systems of linear equations, and vectors, matrices, 
-  and tensors. Maxima produces high precision results by using 
-  exact fractions and arbitrarily long floating point representations, 
+  Maxima is a system for the manipulation of symbolic and
+  numerical expressions, including differentiation, integration,
+  Taylor series, Laplace transforms, ordinary differential
+  equations, systems of linear equations, and vectors, matrices,
+  and tensors. Maxima produces high precision results by using
+  exact fractions and arbitrarily long floating point representations,
   and can plot functions and data in two and three dimensions.
   
   



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/

2023-04-22 Thread Jakov Smolić
commit: cb5e279fba0f1514ab0a02d78d3d7ce97d8f78a8
Author: Jakov Smolić  gentoo  org>
AuthorDate: Sun Apr 23 05:36:27 2023 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Sun Apr 23 05:36:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb5e279f

sci-mathematics/maxima: Stabilize 5.46.0-r1 x86, #904613

Signed-off-by: Jakov Smolić  gentoo.org>

 sci-mathematics/maxima/maxima-5.46.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-mathematics/maxima/maxima-5.46.0-r1.ebuild 
b/sci-mathematics/maxima/maxima-5.46.0-r1.ebuild
index f7a15f268d76..e106fab26432 100644
--- a/sci-mathematics/maxima/maxima-5.46.0-r1.ebuild
+++ b/sci-mathematics/maxima/maxima-5.46.0-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-2 GPL-2+"
 SLOT="0"
-KEYWORDS="amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux"
 
 IUSE="clisp clozurecl clozurecl64 cmucl ecls emacs gcl gui nls +sbcl vtk X 
test"
 RESTRICT="test" # bug 838202



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/

2023-04-19 Thread Sam James
commit: 44a3baa5a566441ef18cfcb1786f9a2bec5ae12a
Author: Sam James  gentoo  org>
AuthorDate: Wed Apr 19 11:52:25 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Apr 19 11:52:25 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44a3baa5

sci-mathematics/maxima: Stabilize 5.46.0-r1 amd64, #904613

Signed-off-by: Sam James  gentoo.org>

 sci-mathematics/maxima/maxima-5.46.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-mathematics/maxima/maxima-5.46.0-r1.ebuild 
b/sci-mathematics/maxima/maxima-5.46.0-r1.ebuild
index 22da4534cb1e..f7a15f268d76 100644
--- a/sci-mathematics/maxima/maxima-5.46.0-r1.ebuild
+++ b/sci-mathematics/maxima/maxima-5.46.0-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-2 GPL-2+"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
 
 IUSE="clisp clozurecl clozurecl64 cmucl ecls emacs gcl gui nls +sbcl vtk X 
test"
 RESTRICT="test" # bug 838202



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/

2023-01-21 Thread Andrey Grozin
commit: 88f6dcc2af80dea9120ff3e5f42a407dcad1bb8f
Author: Andrey Grozin  gentoo  org>
AuthorDate: Sun Jan 22 06:29:14 2023 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Sun Jan 22 06:29:14 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88f6dcc2

sci-mathematics/maxima: this version is incompatible with the new gcl-2.6.14

the new version of maxima will require >=gcl-2.6.14

Signed-off-by: Andrey Grozin  gentoo.org>

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

diff --git a/sci-mathematics/maxima/maxima-5.46.0.ebuild 
b/sci-mathematics/maxima/maxima-5.46.0.ebuild
index f6277ca0507e..fd4032a3ba0b 100644
--- a/sci-mathematics/maxima/maxima-5.46.0.ebuild
+++ b/sci-mathematics/maxima/maxima-5.46.0.ebuild
@@ -30,7 +30,7 @@ LISP_DEPEND="
clozurecl64? ( dev-lisp/clozurecl app-misc/rlwrap )
cmucl? ( dev-lisp/cmucl app-misc/rlwrap )
ecls? ( dev-lisp/ecls:= app-misc/rlwrap )
-   gcl? ( dev-lisp/gcl[ansi,readline] )
+   gcl? ( 

[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/, sci-mathematics/maxima/files/

2022-09-19 Thread Andreas Sturmlechner
commit: 14dadc85b838b8f632c82d5a8288c78f7a85896b
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Fri Sep 16 07:58:45 2022 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Mon Sep 19 19:49:34 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14dadc85

sci-mathematics/maxima: drop 5.42.1-r1, EAPI-6--

Closes: https://bugs.gentoo.org/867547
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 sci-mathematics/maxima/Manifest|   1 -
 sci-mathematics/maxima/files/clozurecl-2.patch |  27 ---
 .../maxima/files/dont-hardcode-python.patch|  38 
 sci-mathematics/maxima/files/ecls-3.patch  |  48 -
 sci-mathematics/maxima/files/ecls-4.patch  |  16 --
 sci-mathematics/maxima/files/support-new-vtk.patch |  26 ---
 sci-mathematics/maxima/maxima-5.42.1-r1.ebuild | 213 -
 7 files changed, 369 deletions(-)

diff --git a/sci-mathematics/maxima/Manifest b/sci-mathematics/maxima/Manifest
index 181148608f25..cf9ef845e6a1 100644
--- a/sci-mathematics/maxima/Manifest
+++ b/sci-mathematics/maxima/Manifest
@@ -1,2 +1 @@
-DIST maxima-5.42.1.tar.gz 41865510 BLAKE2B 
d3b8a50594dc0cef0c354c42be1aee96df77a4e222dbe457edeb47d7fe77a8fe376b10ce8da9e4ff6c447242e9c53a32286d09a64d8600112f6feda92f1fb58d
 SHA512 
79c5e70119b0384d9dd8aa47c7e96a0ccb7e6367526b8a14d21f00137a1c2f0c8b7990bb7231d7c90ffa0090f67c1fa30a418d013d9c5982030ae68de9717f48
 DIST maxima-5.46.0.tar.gz 47492457 BLAKE2B 
3d709c1647357477ef8c92ce1f3b0789664fcd86ebe16cf68a89b84c019cb30bc4896409fbe5236bb4dbb25cf972c17cf612c602e57c4c6100b2d86737715f48
 SHA512 
6c76292ac270b9d8e91d13035733d12038a69ef3510e70a28793b6116208eccd7bf6387e246e9e8c0a22a2e793b948f1233a56fc863ad8712a35e5b1b92fbeef

diff --git a/sci-mathematics/maxima/files/clozurecl-2.patch 
b/sci-mathematics/maxima/files/clozurecl-2.patch
deleted file mode 100644
index 5c5189c7e051..
--- a/sci-mathematics/maxima/files/clozurecl-2.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-diff -r -U1 maxima-5.37.1.orig/configure.ac maxima-5.37.1/configure.ac
 maxima-5.37.1.orig/configure.ac2015-09-01 02:28:02.0 +0600
-+++ maxima-5.37.1/configure.ac 2015-09-03 18:11:54.335618720 +0600
-@@ -386,3 +386,3 @@
- dnl n.b. openmcl_default_name is hardcoded in "with" message
--openmcl_default_name=openmcl
-+openmcl_default_name=ccl
- AC_ARG_ENABLE(openmcl,
-diff -r -U1 maxima-5.37.1.orig/src/Makefile.am maxima-5.37.1/src/Makefile.am
 maxima-5.37.1.orig/src/Makefile.am 2015-08-11 02:44:21.0 +0600
-+++ maxima-5.37.1/src/Makefile.am  2015-09-03 17:26:12.849734012 +0600
-@@ -338,3 +338,3 @@
- 
--EXECUTEOPENMCL = $(OPENMCL_NAME) -e
-+EXECUTEOPENMCL = $(OPENMCL_NAME) --no-init -e
- BUILT_FILES += $(OPENMCL_MAXIMA)
-diff -r -U1 maxima-5.37.1.orig/src/maxima.in maxima-5.37.1/src/maxima.in
 maxima-5.37.1.orig/src/maxima.in   2015-05-22 04:40:03.0 +0600
-+++ maxima-5.37.1/src/maxima.in2015-09-03 17:22:31.841743306 +0600
-@@ -182,5 +182,5 @@
- if [ -x "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" ]; then
--  exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" 
$MAXIMA_LISP_OPTIONS -e '(cl-user::run)' -- "$@"
-+  exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" 
$MAXIMA_LISP_OPTIONS --no-init -e '(cl-user::run)' -- "$@"
- else
--  exec "@OPENMCL_NAME@" -I "$maxima_image_base.image" 
$MAXIMA_LISP_OPTIONS -e '(cl-user::run)' -- "$@"
-+  exec "@OPENMCL_NAME@" -I "$maxima_image_base.image" 
$MAXIMA_LISP_OPTIONS --no-init -e '(cl-user::run)' -- "$@"
-fi

diff --git a/sci-mathematics/maxima/files/dont-hardcode-python.patch 
b/sci-mathematics/maxima/files/dont-hardcode-python.patch
deleted file mode 100644
index 63dea1ea1de7..
--- a/sci-mathematics/maxima/files/dont-hardcode-python.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From a640c5e357ce2aafb6edcba9b6c641cbc7753880 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky 
-Date: Wed, 24 Mar 2021 20:57:44 -0400
-Subject: [PATCH 1/1] doc/info/build_html.sh.in: use @PYTHON@ for the python
- interpreter.
-
-Maxima's ./configure script already detects (or is prodded to use) a
-certain python interpreter. The build_html.sh script, however, is
-still using a hard-coded "python" command. On many systems, "python"
-will be different from the python interpreter that we want to use; for
-example when "python" is python-2.7.x and "python3" is what we want to
-use with Maxima.
-
-This commit tweaks doc/info/build_html.sh.in to use the value of the
-$PYTHON variable instead.
-
-Maxima-Bug: https://sourceforge.net/p/maxima/bugs/3754
-Gentoo-Bug: https://bugs.gentoo.org/766291

- doc/info/build_html.sh.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/doc/info/build_html.sh.in b/doc/info/build_html.sh.in
-index 37930e9..c10e38d 100755
 a/doc/info/build_html.sh.in
-+++ b/doc/info/build_html.sh.in
-@@ -46,7 +46,7 @@ do
-   echo "filenamebase = \"$filenamebase\""
-   cat $f
- done | 

[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/

2022-09-19 Thread Andreas Sturmlechner
commit: ca3e41aeda5f60abb70758b74f1d280f2c1c7cd3
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Mon Sep 19 19:47:15 2022 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Mon Sep 19 19:49:34 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca3e41ae

sci-mathematics/maxima: re-keyword 5.46.0 for ~ppc

Thanks-to: ernsteiswuerfel  mailbox.org>
Bug: https://bugs.gentoo.org/778293
Signed-off-by: Andreas Sturmlechner  gentoo.org>

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

diff --git a/sci-mathematics/maxima/maxima-5.46.0.ebuild 
b/sci-mathematics/maxima/maxima-5.46.0.ebuild
index 465a48416eb9..4e734d2aa344 100644
--- a/sci-mathematics/maxima/maxima-5.46.0.ebuild
+++ b/sci-mathematics/maxima/maxima-5.46.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-2 GPL-2+"
 SLOT="0"
-KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux"
 
 IUSE="clisp clozurecl clozurecl64 cmucl ecls emacs gcl gui nls +sbcl vtk X 
test"
 RESTRICT="test" # bug 838202



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/

2022-09-16 Thread Ulrich Müller
commit: b52224141d8eca74b5225ffa6a290b16083199e0
Author: Ulrich Müller  gentoo  org>
AuthorDate: Fri Sep 16 08:31:21 2022 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Fri Sep 16 08:31:21 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5222414

sci-mathematics/maxima: update Manifest

Signed-off-by: Ulrich Müller  gentoo.org>

 sci-mathematics/maxima/Manifest | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sci-mathematics/maxima/Manifest b/sci-mathematics/maxima/Manifest
index a8483d9ff53f..181148608f25 100644
--- a/sci-mathematics/maxima/Manifest
+++ b/sci-mathematics/maxima/Manifest
@@ -1,3 +1,2 @@
 DIST maxima-5.42.1.tar.gz 41865510 BLAKE2B 
d3b8a50594dc0cef0c354c42be1aee96df77a4e222dbe457edeb47d7fe77a8fe376b10ce8da9e4ff6c447242e9c53a32286d09a64d8600112f6feda92f1fb58d
 SHA512 
79c5e70119b0384d9dd8aa47c7e96a0ccb7e6367526b8a14d21f00137a1c2f0c8b7990bb7231d7c90ffa0090f67c1fa30a418d013d9c5982030ae68de9717f48
-DIST maxima-5.45.1.tar.gz 39951932 BLAKE2B 
b6d67aebf34c12567ec5d08581dc22d13a902d42074abc967f8e50e029845a52a2538da8cb4382e3e28163ce11a6d8c245cfc48150cc10768250de34368acf6c
 SHA512 
08e7a2b24324c0f0dda127d291b9d439125fa1324732b17c804c3eb68d35f87e3fc713c147472821a1781e6378b7afb0721d5da907826324ec3d24848251b7cf
 DIST maxima-5.46.0.tar.gz 47492457 BLAKE2B 
3d709c1647357477ef8c92ce1f3b0789664fcd86ebe16cf68a89b84c019cb30bc4896409fbe5236bb4dbb25cf972c17cf612c602e57c4c6100b2d86737715f48
 SHA512 
6c76292ac270b9d8e91d13035733d12038a69ef3510e70a28793b6116208eccd7bf6387e246e9e8c0a22a2e793b948f1233a56fc863ad8712a35e5b1b92fbeef



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/, sci-mathematics/maxima/files/

2022-09-16 Thread Andreas Sturmlechner
commit: 824addcfff671b0af3ff8dc47f62c872a8105d59
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Fri Sep 16 08:10:16 2022 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Fri Sep 16 08:11:59 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=824addcf

sci-mathematics/maxima: Revert "drop 5.42.1-r1"

This reverts commit 9363c6359bfc0e1a025a2407b98be26fc3ceaa67.

Signed-off-by: Andreas Sturmlechner  gentoo.org>

 sci-mathematics/maxima/Manifest|   2 +
 sci-mathematics/maxima/files/clozurecl-2.patch |  27 +++
 .../maxima/files/dont-hardcode-python.patch|  38 
 sci-mathematics/maxima/files/ecls-3.patch  |  48 +
 sci-mathematics/maxima/files/ecls-4.patch  |  16 ++
 sci-mathematics/maxima/files/support-new-vtk.patch |  26 +++
 sci-mathematics/maxima/maxima-5.42.1-r1.ebuild | 213 +
 7 files changed, 370 insertions(+)

diff --git a/sci-mathematics/maxima/Manifest b/sci-mathematics/maxima/Manifest
index cf9ef845e6a1..a8483d9ff53f 100644
--- a/sci-mathematics/maxima/Manifest
+++ b/sci-mathematics/maxima/Manifest
@@ -1 +1,3 @@
+DIST maxima-5.42.1.tar.gz 41865510 BLAKE2B 
d3b8a50594dc0cef0c354c42be1aee96df77a4e222dbe457edeb47d7fe77a8fe376b10ce8da9e4ff6c447242e9c53a32286d09a64d8600112f6feda92f1fb58d
 SHA512 
79c5e70119b0384d9dd8aa47c7e96a0ccb7e6367526b8a14d21f00137a1c2f0c8b7990bb7231d7c90ffa0090f67c1fa30a418d013d9c5982030ae68de9717f48
+DIST maxima-5.45.1.tar.gz 39951932 BLAKE2B 
b6d67aebf34c12567ec5d08581dc22d13a902d42074abc967f8e50e029845a52a2538da8cb4382e3e28163ce11a6d8c245cfc48150cc10768250de34368acf6c
 SHA512 
08e7a2b24324c0f0dda127d291b9d439125fa1324732b17c804c3eb68d35f87e3fc713c147472821a1781e6378b7afb0721d5da907826324ec3d24848251b7cf
 DIST maxima-5.46.0.tar.gz 47492457 BLAKE2B 
3d709c1647357477ef8c92ce1f3b0789664fcd86ebe16cf68a89b84c019cb30bc4896409fbe5236bb4dbb25cf972c17cf612c602e57c4c6100b2d86737715f48
 SHA512 
6c76292ac270b9d8e91d13035733d12038a69ef3510e70a28793b6116208eccd7bf6387e246e9e8c0a22a2e793b948f1233a56fc863ad8712a35e5b1b92fbeef

diff --git a/sci-mathematics/maxima/files/clozurecl-2.patch 
b/sci-mathematics/maxima/files/clozurecl-2.patch
new file mode 100644
index ..5c5189c7e051
--- /dev/null
+++ b/sci-mathematics/maxima/files/clozurecl-2.patch
@@ -0,0 +1,27 @@
+diff -r -U1 maxima-5.37.1.orig/configure.ac maxima-5.37.1/configure.ac
+--- maxima-5.37.1.orig/configure.ac2015-09-01 02:28:02.0 +0600
 maxima-5.37.1/configure.ac 2015-09-03 18:11:54.335618720 +0600
+@@ -386,3 +386,3 @@
+ dnl n.b. openmcl_default_name is hardcoded in "with" message
+-openmcl_default_name=openmcl
++openmcl_default_name=ccl
+ AC_ARG_ENABLE(openmcl,
+diff -r -U1 maxima-5.37.1.orig/src/Makefile.am maxima-5.37.1/src/Makefile.am
+--- maxima-5.37.1.orig/src/Makefile.am 2015-08-11 02:44:21.0 +0600
 maxima-5.37.1/src/Makefile.am  2015-09-03 17:26:12.849734012 +0600
+@@ -338,3 +338,3 @@
+ 
+-EXECUTEOPENMCL = $(OPENMCL_NAME) -e
++EXECUTEOPENMCL = $(OPENMCL_NAME) --no-init -e
+ BUILT_FILES += $(OPENMCL_MAXIMA)
+diff -r -U1 maxima-5.37.1.orig/src/maxima.in maxima-5.37.1/src/maxima.in
+--- maxima-5.37.1.orig/src/maxima.in   2015-05-22 04:40:03.0 +0600
 maxima-5.37.1/src/maxima.in2015-09-03 17:22:31.841743306 +0600
+@@ -182,5 +182,5 @@
+ if [ -x "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" ]; then
+-  exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" 
$MAXIMA_LISP_OPTIONS -e '(cl-user::run)' -- "$@"
++  exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" 
$MAXIMA_LISP_OPTIONS --no-init -e '(cl-user::run)' -- "$@"
+ else
+-  exec "@OPENMCL_NAME@" -I "$maxima_image_base.image" 
$MAXIMA_LISP_OPTIONS -e '(cl-user::run)' -- "$@"
++  exec "@OPENMCL_NAME@" -I "$maxima_image_base.image" 
$MAXIMA_LISP_OPTIONS --no-init -e '(cl-user::run)' -- "$@"
+fi

diff --git a/sci-mathematics/maxima/files/dont-hardcode-python.patch 
b/sci-mathematics/maxima/files/dont-hardcode-python.patch
new file mode 100644
index ..63dea1ea1de7
--- /dev/null
+++ b/sci-mathematics/maxima/files/dont-hardcode-python.patch
@@ -0,0 +1,38 @@
+From a640c5e357ce2aafb6edcba9b6c641cbc7753880 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky 
+Date: Wed, 24 Mar 2021 20:57:44 -0400
+Subject: [PATCH 1/1] doc/info/build_html.sh.in: use @PYTHON@ for the python
+ interpreter.
+
+Maxima's ./configure script already detects (or is prodded to use) a
+certain python interpreter. The build_html.sh script, however, is
+still using a hard-coded "python" command. On many systems, "python"
+will be different from the python interpreter that we want to use; for
+example when "python" is python-2.7.x and "python3" is what we want to
+use with Maxima.
+
+This commit tweaks doc/info/build_html.sh.in to use the value of the
+$PYTHON variable instead.
+
+Maxima-Bug: https://sourceforge.net/p/maxima/bugs/3754
+Gentoo-Bug: https://bugs.gentoo.org/766291
+---
+ 

[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/, sci-mathematics/maxima/files/

2022-09-16 Thread Andreas Sturmlechner
commit: 9363c6359bfc0e1a025a2407b98be26fc3ceaa67
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Fri Sep 16 07:58:45 2022 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Fri Sep 16 07:59:06 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9363c635

sci-mathematics/maxima: drop 5.42.1-r1, 5.45.1-r2

Closes: https://bugs.gentoo.org/867547
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 sci-mathematics/maxima/Manifest|   2 -
 sci-mathematics/maxima/files/clozurecl-2.patch |  27 ---
 .../maxima/files/dont-hardcode-python.patch|  38 
 sci-mathematics/maxima/files/ecls-3.patch  |  48 -
 sci-mathematics/maxima/files/ecls-4.patch  |  16 --
 sci-mathematics/maxima/files/support-new-vtk.patch |  26 ---
 sci-mathematics/maxima/maxima-5.42.1-r1.ebuild | 213 ---
 sci-mathematics/maxima/maxima-5.45.1-r2.ebuild | 236 -
 8 files changed, 606 deletions(-)

diff --git a/sci-mathematics/maxima/Manifest b/sci-mathematics/maxima/Manifest
index a8483d9ff53f..cf9ef845e6a1 100644
--- a/sci-mathematics/maxima/Manifest
+++ b/sci-mathematics/maxima/Manifest
@@ -1,3 +1 @@
-DIST maxima-5.42.1.tar.gz 41865510 BLAKE2B 
d3b8a50594dc0cef0c354c42be1aee96df77a4e222dbe457edeb47d7fe77a8fe376b10ce8da9e4ff6c447242e9c53a32286d09a64d8600112f6feda92f1fb58d
 SHA512 
79c5e70119b0384d9dd8aa47c7e96a0ccb7e6367526b8a14d21f00137a1c2f0c8b7990bb7231d7c90ffa0090f67c1fa30a418d013d9c5982030ae68de9717f48
-DIST maxima-5.45.1.tar.gz 39951932 BLAKE2B 
b6d67aebf34c12567ec5d08581dc22d13a902d42074abc967f8e50e029845a52a2538da8cb4382e3e28163ce11a6d8c245cfc48150cc10768250de34368acf6c
 SHA512 
08e7a2b24324c0f0dda127d291b9d439125fa1324732b17c804c3eb68d35f87e3fc713c147472821a1781e6378b7afb0721d5da907826324ec3d24848251b7cf
 DIST maxima-5.46.0.tar.gz 47492457 BLAKE2B 
3d709c1647357477ef8c92ce1f3b0789664fcd86ebe16cf68a89b84c019cb30bc4896409fbe5236bb4dbb25cf972c17cf612c602e57c4c6100b2d86737715f48
 SHA512 
6c76292ac270b9d8e91d13035733d12038a69ef3510e70a28793b6116208eccd7bf6387e246e9e8c0a22a2e793b948f1233a56fc863ad8712a35e5b1b92fbeef

diff --git a/sci-mathematics/maxima/files/clozurecl-2.patch 
b/sci-mathematics/maxima/files/clozurecl-2.patch
deleted file mode 100644
index 5c5189c7e051..
--- a/sci-mathematics/maxima/files/clozurecl-2.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-diff -r -U1 maxima-5.37.1.orig/configure.ac maxima-5.37.1/configure.ac
 maxima-5.37.1.orig/configure.ac2015-09-01 02:28:02.0 +0600
-+++ maxima-5.37.1/configure.ac 2015-09-03 18:11:54.335618720 +0600
-@@ -386,3 +386,3 @@
- dnl n.b. openmcl_default_name is hardcoded in "with" message
--openmcl_default_name=openmcl
-+openmcl_default_name=ccl
- AC_ARG_ENABLE(openmcl,
-diff -r -U1 maxima-5.37.1.orig/src/Makefile.am maxima-5.37.1/src/Makefile.am
 maxima-5.37.1.orig/src/Makefile.am 2015-08-11 02:44:21.0 +0600
-+++ maxima-5.37.1/src/Makefile.am  2015-09-03 17:26:12.849734012 +0600
-@@ -338,3 +338,3 @@
- 
--EXECUTEOPENMCL = $(OPENMCL_NAME) -e
-+EXECUTEOPENMCL = $(OPENMCL_NAME) --no-init -e
- BUILT_FILES += $(OPENMCL_MAXIMA)
-diff -r -U1 maxima-5.37.1.orig/src/maxima.in maxima-5.37.1/src/maxima.in
 maxima-5.37.1.orig/src/maxima.in   2015-05-22 04:40:03.0 +0600
-+++ maxima-5.37.1/src/maxima.in2015-09-03 17:22:31.841743306 +0600
-@@ -182,5 +182,5 @@
- if [ -x "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" ]; then
--  exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" 
$MAXIMA_LISP_OPTIONS -e '(cl-user::run)' -- "$@"
-+  exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" 
$MAXIMA_LISP_OPTIONS --no-init -e '(cl-user::run)' -- "$@"
- else
--  exec "@OPENMCL_NAME@" -I "$maxima_image_base.image" 
$MAXIMA_LISP_OPTIONS -e '(cl-user::run)' -- "$@"
-+  exec "@OPENMCL_NAME@" -I "$maxima_image_base.image" 
$MAXIMA_LISP_OPTIONS --no-init -e '(cl-user::run)' -- "$@"
-fi

diff --git a/sci-mathematics/maxima/files/dont-hardcode-python.patch 
b/sci-mathematics/maxima/files/dont-hardcode-python.patch
deleted file mode 100644
index 63dea1ea1de7..
--- a/sci-mathematics/maxima/files/dont-hardcode-python.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From a640c5e357ce2aafb6edcba9b6c641cbc7753880 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky 
-Date: Wed, 24 Mar 2021 20:57:44 -0400
-Subject: [PATCH 1/1] doc/info/build_html.sh.in: use @PYTHON@ for the python
- interpreter.
-
-Maxima's ./configure script already detects (or is prodded to use) a
-certain python interpreter. The build_html.sh script, however, is
-still using a hard-coded "python" command. On many systems, "python"
-will be different from the python interpreter that we want to use; for
-example when "python" is python-2.7.x and "python3" is what we want to
-use with Maxima.
-
-This commit tweaks doc/info/build_html.sh.in to use the value of the
-$PYTHON variable instead.
-
-Maxima-Bug: 

[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/

2022-09-15 Thread Agostino Sarubbo
commit: cf7845e3042518ee72b3ce4dc98bb370d742a99f
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Sep 15 06:46:44 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Sep 15 06:46:50 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf7845e3

sci-mathematics/maxima: Stabilize 5.46.0 amd64, #867547

Signed-off-by: Agostino Sarubbo  gentoo.org>

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

diff --git a/sci-mathematics/maxima/maxima-5.46.0.ebuild 
b/sci-mathematics/maxima/maxima-5.46.0.ebuild
index 8101640819ba..85c45f020489 100644
--- a/sci-mathematics/maxima/maxima-5.46.0.ebuild
+++ b/sci-mathematics/maxima/maxima-5.46.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-2 GPL-2+"
 SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
 
 IUSE="clisp clozurecl clozurecl64 cmucl ecls emacs gcl gui nls +sbcl vtk X 
test"
 RESTRICT="test" # bug 838202



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/

2022-09-14 Thread Michael Orlitzky
commit: da876bb7967ac450e1986fca23382881dd441229
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Wed Sep 14 12:48:01 2022 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Wed Sep 14 12:48:01 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da876bb7

sci-mathematics/maxima: disable the failing test suite.

Stabilization of maxima-5.46.0 is pending, but its test suite fails even
after disabling a chunk of unmaintained "share" tests. The failures have
all been reported upstream; for now let's just turn it off so we don't
annoy users.

Bug: https://bugs.gentoo.org/867547
Closes: https://bugs.gentoo.org/838202
Signed-off-by: Michael Orlitzky  gentoo.org>

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

diff --git a/sci-mathematics/maxima/maxima-5.46.0.ebuild 
b/sci-mathematics/maxima/maxima-5.46.0.ebuild
index e6051e772c32..8101640819ba 100644
--- a/sci-mathematics/maxima/maxima-5.46.0.ebuild
+++ b/sci-mathematics/maxima/maxima-5.46.0.ebuild
@@ -16,7 +16,7 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 
 IUSE="clisp clozurecl clozurecl64 cmucl ecls emacs gcl gui nls +sbcl vtk X 
test"
-RESTRICT="!test? ( test )"
+RESTRICT="test" # bug 838202
 
 # Languages
 LANGS="de es pt pt_BR"



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/

2022-04-14 Thread Andrey Grozin
commit: c32e9eb71a8ae74f9ca4e878160dd711b263a161
Author: Andrey Grozin  gentoo  org>
AuthorDate: Thu Apr 14 11:46:11 2022 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Thu Apr 14 11:46:11 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c32e9eb7

sci-mathematics/maxima: in 5.46 all localized docs are unicode

Closes: https://bugs.gentoo.org/838205
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andrey Grozin  gentoo.org>

 sci-mathematics/maxima/maxima-5.46.0.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/sci-mathematics/maxima/maxima-5.46.0.ebuild 
b/sci-mathematics/maxima/maxima-5.46.0.ebuild
index e6ee7a3744cc..e6051e772c32 100644
--- a/sci-mathematics/maxima/maxima-5.46.0.ebuild
+++ b/sci-mathematics/maxima/maxima-5.46.0.ebuild
@@ -15,7 +15,7 @@ LICENSE="GPL-2 GPL-2+"
 SLOT="0"
 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 
-IUSE="clisp clozurecl clozurecl64 cmucl ecls emacs gcl gui nls +sbcl unicode 
vtk X test"
+IUSE="clisp clozurecl clozurecl64 cmucl ecls emacs gcl gui nls +sbcl vtk X 
test"
 RESTRICT="!test? ( test )"
 
 # Languages
@@ -124,7 +124,6 @@ src_configure() {
for lang in ${LANGS}; do
if use "l10n_${lang/_/-}"; then
CONFS="${CONFS} --enable-lang-${lang}"
-   use unicode && CONFS="${CONFS} 
--enable-lang-${lang}-utf8"
fi
done
fi



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/

2022-04-13 Thread Andrey Grozin
commit: 417209d4537005c10fd706803401774bb241ec57
Author: Andrey Grozin  gentoo  org>
AuthorDate: Wed Apr 13 08:45:46 2022 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Wed Apr 13 08:45:46 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=417209d4

sci-mathematics/maxima: remove old versions

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andrey Grozin  gentoo.org>

 sci-mathematics/maxima/Manifest |   1 -
 sci-mathematics/maxima/maxima-5.44.0-r10.ebuild | 236 --
 sci-mathematics/maxima/maxima-5.44.0-r9.ebuild  | 253 
 3 files changed, 490 deletions(-)

diff --git a/sci-mathematics/maxima/Manifest b/sci-mathematics/maxima/Manifest
index 3a69a930b001..798b1d3779eb 100644
--- a/sci-mathematics/maxima/Manifest
+++ b/sci-mathematics/maxima/Manifest
@@ -1,3 +1,2 @@
 DIST maxima-5.42.1.tar.gz 41865510 BLAKE2B 
d3b8a50594dc0cef0c354c42be1aee96df77a4e222dbe457edeb47d7fe77a8fe376b10ce8da9e4ff6c447242e9c53a32286d09a64d8600112f6feda92f1fb58d
 SHA512 
79c5e70119b0384d9dd8aa47c7e96a0ccb7e6367526b8a14d21f00137a1c2f0c8b7990bb7231d7c90ffa0090f67c1fa30a418d013d9c5982030ae68de9717f48
-DIST maxima-5.44.0.tar.gz 34976354 BLAKE2B 
d6870b6fb0581d9e60d6ed97c7daed8ce12b8b1ae49d0edb7b8d31dd723f9b879eb70440659ff958f53cee16d8d2a92f80dcaa3898d9f6dbabd79a5059073a65
 SHA512 
1e043bebb7c6d002c113d8de20a98d58d1a8e7bedfc9bcf52819e7c7554655991dc2f42f0333889706574249736db833a237b3e59b967e7e42ede28262e31f2f
 DIST maxima-5.45.1.tar.gz 39951932 BLAKE2B 
b6d67aebf34c12567ec5d08581dc22d13a902d42074abc967f8e50e029845a52a2538da8cb4382e3e28163ce11a6d8c245cfc48150cc10768250de34368acf6c
 SHA512 
08e7a2b24324c0f0dda127d291b9d439125fa1324732b17c804c3eb68d35f87e3fc713c147472821a1781e6378b7afb0721d5da907826324ec3d24848251b7cf

diff --git a/sci-mathematics/maxima/maxima-5.44.0-r10.ebuild 
b/sci-mathematics/maxima/maxima-5.44.0-r10.ebuild
deleted file mode 100644
index 7b3910f71060..
--- a/sci-mathematics/maxima/maxima-5.44.0-r10.ebuild
+++ /dev/null
@@ -1,236 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8} )
-
-inherit autotools elisp-common flag-o-matic python-single-r1 xdg-utils
-
-DESCRIPTION="Free computer algebra environment based on Macsyma"
-HOMEPAGE="http://maxima.sourceforge.net/;
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2 GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-
-IUSE="clisp clozurecl clozurecl64 cmucl ecls emacs gcl gui nls +sbcl unicode 
vtk X test"
-RESTRICT="!test? ( test )"
-
-# Languages
-LANGS="de es pt pt_BR"
-for lang in ${LANGS}; do
-   IUSE="${IUSE} l10n_${lang/_/-}"
-done
-
-LISP_DEPEND="
-   clisp? ( dev-lisp/clisp )
-   clozurecl? ( dev-lisp/clozurecl app-misc/rlwrap )
-   clozurecl64? ( dev-lisp/clozurecl app-misc/rlwrap )
-   cmucl? ( dev-lisp/cmucl app-misc/rlwrap )
-   ecls? ( dev-lisp/ecls app-misc/rlwrap )
-   gcl? ( dev-lisp/gcl[ansi,readline] )
-   sbcl? ( dev-lisp/sbcl app-misc/rlwrap )
-"
-
-# Python is used in e.g. doc/info/build_html.sh to build the docs.
-# LISP_DEPEND is included in both BDEPEND and DEPEND because the various
-# lisp engines are used to both compile and run maxima. It's possible
-# that they don't (all?) need to be listed in DEPEND; who knows.
-BDEPEND="
-   ${PYTHON_DEPS}
-   ${LISP_DEPEND}
-   test? ( sci-visualization/gnuplot )
-   sys-apps/texinfo
-"
-
-DEPEND="
-   ${LISP_DEPEND}
-   virtual/libcrypt:=
-   emacs? ( >=app-editors/emacs-23.1:* )
-   gui? ( dev-lang/tk:0 )
-"
-
-# texlive-latexrecommended needed by imaxima for breqn.sty
-#
-# VTK is an optional plotting backend that can be enabled by
-# running "draw_renderer: 'vtk;" within maxima.
-#
-# It's NON-optional for the scene() command, but that command is
-# currently useless since Tcl/Tk support was dropped in sci-libs/vtk.
-# Thus we include VTK only as an optional dependency.
-#
-# We require app-misc/rlwrap for any lisps that don't support readline
-# themselves.
-RDEPEND="
-   ${DEPEND}
-   X? (
-   x11-misc/xdg-utils
-   sci-visualization/gnuplot[gd]
-   vtk? (
-   ${PYTHON_DEPS}
-   sci-libs/vtk[python,rendering,${PYTHON_SINGLE_USEDEP}]
-   )
-   )
-   emacs? (
-   virtual/latex-base
-   app-emacs/auctex
-   app-text/ghostscript-gpl
-   dev-texlive/texlive-latexrecommended
-   )"
-
-# Maxima can make use of X features like plotting (and launching a PNG
-# viewer) from the console, but you can't use the xmaxima GUI without X.
-REQUIRED_USE="
-   ${PYTHON_REQUIRED_USE}
-   || ( clisp clozurecl clozurecl64 cmucl ecls gcl sbcl )
-   gui? ( X )"
-
-TEXMF="${EPREFIX}"/usr/share/texmf-site
-
-pkg_setup() {
-   # Set 

[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/

2022-04-13 Thread Andrey Grozin
commit: 2b08002b4ca6a00be1038a29cead5adfefff6447
Author: Andrey Grozin  gentoo  org>
AuthorDate: Wed Apr 13 08:48:06 2022 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Wed Apr 13 08:48:06 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b08002b

sci-mathematics/maxima: bump to 5.46.0

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andrey Grozin  gentoo.org>

 sci-mathematics/maxima/Manifest |   1 +
 sci-mathematics/maxima/maxima-5.46.0.ebuild | 229 
 2 files changed, 230 insertions(+)

diff --git a/sci-mathematics/maxima/Manifest b/sci-mathematics/maxima/Manifest
index 798b1d3779eb..a8483d9ff53f 100644
--- a/sci-mathematics/maxima/Manifest
+++ b/sci-mathematics/maxima/Manifest
@@ -1,2 +1,3 @@
 DIST maxima-5.42.1.tar.gz 41865510 BLAKE2B 
d3b8a50594dc0cef0c354c42be1aee96df77a4e222dbe457edeb47d7fe77a8fe376b10ce8da9e4ff6c447242e9c53a32286d09a64d8600112f6feda92f1fb58d
 SHA512 
79c5e70119b0384d9dd8aa47c7e96a0ccb7e6367526b8a14d21f00137a1c2f0c8b7990bb7231d7c90ffa0090f67c1fa30a418d013d9c5982030ae68de9717f48
 DIST maxima-5.45.1.tar.gz 39951932 BLAKE2B 
b6d67aebf34c12567ec5d08581dc22d13a902d42074abc967f8e50e029845a52a2538da8cb4382e3e28163ce11a6d8c245cfc48150cc10768250de34368acf6c
 SHA512 
08e7a2b24324c0f0dda127d291b9d439125fa1324732b17c804c3eb68d35f87e3fc713c147472821a1781e6378b7afb0721d5da907826324ec3d24848251b7cf
+DIST maxima-5.46.0.tar.gz 47492457 BLAKE2B 
3d709c1647357477ef8c92ce1f3b0789664fcd86ebe16cf68a89b84c019cb30bc4896409fbe5236bb4dbb25cf972c17cf612c602e57c4c6100b2d86737715f48
 SHA512 
6c76292ac270b9d8e91d13035733d12038a69ef3510e70a28793b6116208eccd7bf6387e246e9e8c0a22a2e793b948f1233a56fc863ad8712a35e5b1b92fbeef

diff --git a/sci-mathematics/maxima/maxima-5.46.0.ebuild 
b/sci-mathematics/maxima/maxima-5.46.0.ebuild
new file mode 100644
index ..e6ee7a3744cc
--- /dev/null
+++ b/sci-mathematics/maxima/maxima-5.46.0.ebuild
@@ -0,0 +1,229 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit autotools elisp-common flag-o-matic python-single-r1 xdg-utils
+
+DESCRIPTION="Free computer algebra environment based on Macsyma"
+HOMEPAGE="http://maxima.sourceforge.net/;
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2 GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+
+IUSE="clisp clozurecl clozurecl64 cmucl ecls emacs gcl gui nls +sbcl unicode 
vtk X test"
+RESTRICT="!test? ( test )"
+
+# Languages
+LANGS="de es pt pt_BR"
+for lang in ${LANGS}; do
+   IUSE="${IUSE} l10n_${lang/_/-}"
+done
+
+LISP_DEPEND="
+   clisp? ( dev-lisp/clisp:= )
+   clozurecl? ( dev-lisp/clozurecl app-misc/rlwrap )
+   clozurecl64? ( dev-lisp/clozurecl app-misc/rlwrap )
+   cmucl? ( dev-lisp/cmucl app-misc/rlwrap )
+   ecls? ( dev-lisp/ecls:= app-misc/rlwrap )
+   gcl? ( dev-lisp/gcl[ansi,readline] )
+   sbcl? ( dev-lisp/sbcl:= app-misc/rlwrap )
+"
+
+# LISP_DEPEND is included in both BDEPEND and DEPEND because the various
+# lisp engines are used to both compile and run maxima. It's possible
+# that they don't (all?) need to be listed in DEPEND; who knows.
+BDEPEND="
+   ${LISP_DEPEND}
+   test? ( sci-visualization/gnuplot )
+   sys-apps/texinfo
+"
+
+DEPEND="
+   ${LISP_DEPEND}
+   virtual/libcrypt:=
+   emacs? ( >=app-editors/emacs-26:* )
+   gui? ( dev-lang/tk:0 )
+"
+
+# texlive-latexrecommended needed by imaxima for breqn.sty
+#
+# VTK is an optional plotting backend that can be enabled by
+# running "draw_renderer: 'vtk;" within maxima.
+#
+# It's NON-optional for the scene() command, but that command is
+# currently useless since Tcl/Tk support was dropped in sci-libs/vtk.
+# Thus we include VTK only as an optional dependency.
+#
+# We require app-misc/rlwrap for any lisps that don't support readline
+# themselves.
+RDEPEND="
+   ${DEPEND}
+   X? (
+   x11-misc/xdg-utils
+   sci-visualization/gnuplot[gd]
+   vtk? (
+   ${PYTHON_DEPS}
+   sci-libs/vtk[python,rendering,${PYTHON_SINGLE_USEDEP}]
+   )
+   )
+   emacs? (
+   virtual/latex-base
+   app-emacs/auctex
+   app-text/ghostscript-gpl
+   dev-texlive/texlive-latexrecommended
+   )"
+
+# Maxima can make use of X features like plotting (and launching a PNG
+# viewer) from the console, but you can't use the xmaxima GUI without X.
+REQUIRED_USE="
+   vtk? ( ${PYTHON_REQUIRED_USE} )
+   || ( clisp clozurecl clozurecl64 cmucl ecls gcl sbcl )
+   gui? ( X )"
+
+TEXMF="${EPREFIX}"/usr/share/texmf-site
+
+pkg_setup() {
+   # Set the PYTHON variable to whatever it should be.
+   use vtk && python-single-r1_pkg_setup
+}
+
+PATCHES=(
+   "${FILESDIR}/imaxima-0.patch"
+   

[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/

2021-11-18 Thread Georgy Yakovlev
commit: 9f20e67e5c3d4bca4dbb35dd5610806c0505246b
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Thu Nov 18 23:49:07 2021 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Thu Nov 18 23:50:25 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f20e67e

sci-mathematics/maxima: destabilize 5.42.1-r1 for ~ppc

Signed-off-by: Georgy Yakovlev  gentoo.org>

 sci-mathematics/maxima/maxima-5.42.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-mathematics/maxima/maxima-5.42.1-r1.ebuild 
b/sci-mathematics/maxima/maxima-5.42.1-r1.ebuild
index 087518553d51..e06559d09565 100644
--- a/sci-mathematics/maxima/maxima-5.42.1-r1.ebuild
+++ b/sci-mathematics/maxima/maxima-5.42.1-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-2 GPL-2+"
 SLOT="0"
-KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux"
 
 # Supported lisps
 LISPS=( sbcl cmucl gcl ecls clozurecl clisp )



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/

2021-07-17 Thread Michael Orlitzky
commit: ad7de14616de70335cee40cf253d690f6c27a178
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Sat Jul 17 17:35:32 2021 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Sat Jul 17 18:56:02 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad7de146

sci-mathematics/maxima: add slot:= operators for lisp dependencies.

Maxima needs to be rebuilt when its lisp engine changes. Of the lisps
supported by maxima, dev-lisp/sbcl, dev-lisp/ecls, and dev-lisp/clisp
make use of subslots. This new revision adds := to the corresponding
dependencies. This partially addresses bug 797574 by forcing rebuilds
of maxima when sbcl is upgraded.

Bug: https://bugs.gentoo.org/797574
Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Michael Orlitzky  gentoo.org>

 .../maxima/{maxima-5.45.1-r1.ebuild => maxima-5.45.1-r2.ebuild} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sci-mathematics/maxima/maxima-5.45.1-r1.ebuild 
b/sci-mathematics/maxima/maxima-5.45.1-r2.ebuild
similarity index 98%
rename from sci-mathematics/maxima/maxima-5.45.1-r1.ebuild
rename to sci-mathematics/maxima/maxima-5.45.1-r2.ebuild
index 43eddc8c8b5..532a39609b7 100644
--- a/sci-mathematics/maxima/maxima-5.45.1-r1.ebuild
+++ b/sci-mathematics/maxima/maxima-5.45.1-r2.ebuild
@@ -25,13 +25,13 @@ for lang in ${LANGS}; do
 done
 
 LISP_DEPEND="
-   clisp? ( dev-lisp/clisp )
+   clisp? ( dev-lisp/clisp:= )
clozurecl? ( dev-lisp/clozurecl app-misc/rlwrap )
clozurecl64? ( dev-lisp/clozurecl app-misc/rlwrap )
cmucl? ( dev-lisp/cmucl app-misc/rlwrap )
-   ecls? ( dev-lisp/ecls app-misc/rlwrap )
+   ecls? ( dev-lisp/ecls:= app-misc/rlwrap )
gcl? ( dev-lisp/gcl[ansi,readline] )
-   sbcl? ( dev-lisp/sbcl app-misc/rlwrap )
+   sbcl? ( dev-lisp/sbcl:= app-misc/rlwrap )
 "
 
 # Python is used in e.g. doc/info/build_html.sh to build the docs.



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/

2021-06-22 Thread Sam James
commit: 4973888a64c9e7ff608c4e0a0d4c0f842a3a0d30
Author: Sam James  gentoo  org>
AuthorDate: Tue Jun 22 22:22:01 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jun 22 22:34:39 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4973888a

sci-mathematics/maxima: add virtual/libcrypt dependency

Needed for upcoming libcrypt migration.

Acked-by: David Seifert  gentoo.org>
Reported-by: Michał Górny  gentoo.org>
Signed-off-by: Sam James  gentoo.org>

 .../maxima/{maxima-5.42.1.ebuild => maxima-5.42.1-r1.ebuild}   | 3 ++-
 .../maxima/{maxima-5.44.0-r8.ebuild => maxima-5.44.0-r10.ebuild}   | 1 +
 .../maxima/{maxima-5.44.0-r4.ebuild => maxima-5.44.0-r9.ebuild}| 1 +
 .../maxima/{maxima-5.45.1.ebuild => maxima-5.45.1-r1.ebuild}   | 1 +
 4 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/sci-mathematics/maxima/maxima-5.42.1.ebuild 
b/sci-mathematics/maxima/maxima-5.42.1-r1.ebuild
similarity index 98%
rename from sci-mathematics/maxima/maxima-5.42.1.ebuild
rename to sci-mathematics/maxima/maxima-5.42.1-r1.ebuild
index fa012edc92b..087518553d5 100644
--- a/sci-mathematics/maxima/maxima-5.42.1.ebuild
+++ b/sci-mathematics/maxima/maxima-5.42.1-r1.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
@@ -32,6 +32,7 @@ done
 
 # texlive-latexrecommended needed by imaxima for breqn.sty
 RDEPEND="!app-emacs/imaxima
+   virtual/libcrypt:=
X? ( x11-misc/xdg-utils
 sci-visualization/gnuplot[gd]
 tk? ( dev-lang/tk:0 ) )

diff --git a/sci-mathematics/maxima/maxima-5.44.0-r8.ebuild 
b/sci-mathematics/maxima/maxima-5.44.0-r10.ebuild
similarity index 99%
rename from sci-mathematics/maxima/maxima-5.44.0-r8.ebuild
rename to sci-mathematics/maxima/maxima-5.44.0-r10.ebuild
index 1ef1c4f672a..7b3910f7106 100644
--- a/sci-mathematics/maxima/maxima-5.44.0-r8.ebuild
+++ b/sci-mathematics/maxima/maxima-5.44.0-r10.ebuild
@@ -47,6 +47,7 @@ BDEPEND="
 
 DEPEND="
${LISP_DEPEND}
+   virtual/libcrypt:=
emacs? ( >=app-editors/emacs-23.1:* )
gui? ( dev-lang/tk:0 )
 "

diff --git a/sci-mathematics/maxima/maxima-5.44.0-r4.ebuild 
b/sci-mathematics/maxima/maxima-5.44.0-r9.ebuild
similarity index 99%
rename from sci-mathematics/maxima/maxima-5.44.0-r4.ebuild
rename to sci-mathematics/maxima/maxima-5.44.0-r9.ebuild
index 3babe7349ba..4f4ea7fe41d 100644
--- a/sci-mathematics/maxima/maxima-5.44.0-r4.ebuild
+++ b/sci-mathematics/maxima/maxima-5.44.0-r9.ebuild
@@ -42,6 +42,7 @@ done
 # currently useless since Tcl/Tk support was dropped in sci-libs/vtk.
 # Thus we include VTK only as an optional dependency.
 RDEPEND="
+   virtual/libcrypt:=
X? (
x11-misc/xdg-utils
sci-visualization/gnuplot[gd]

diff --git a/sci-mathematics/maxima/maxima-5.45.1.ebuild 
b/sci-mathematics/maxima/maxima-5.45.1-r1.ebuild
similarity index 99%
rename from sci-mathematics/maxima/maxima-5.45.1.ebuild
rename to sci-mathematics/maxima/maxima-5.45.1-r1.ebuild
index 02d33fe5db6..43eddc8c8b5 100644
--- a/sci-mathematics/maxima/maxima-5.45.1.ebuild
+++ b/sci-mathematics/maxima/maxima-5.45.1-r1.ebuild
@@ -47,6 +47,7 @@ BDEPEND="
 
 DEPEND="
${LISP_DEPEND}
+   virtual/libcrypt:=
emacs? ( >=app-editors/emacs-26:* )
gui? ( dev-lang/tk:0 )
 "



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/

2021-06-20 Thread Andrey Grozin
commit: 8cd70491439b3fed4437292b81c492a25d10be4a
Author: Andrey Grozin  gentoo  org>
AuthorDate: Mon Jun 21 04:09:04 2021 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Mon Jun 21 04:09:04 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8cd70491

sci-mathematics/maxima: clean 5.45.0

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Andrey Grozin  gentoo.org>

 sci-mathematics/maxima/Manifest |   1 -
 sci-mathematics/maxima/maxima-5.45.0.ebuild | 235 
 2 files changed, 236 deletions(-)

diff --git a/sci-mathematics/maxima/Manifest b/sci-mathematics/maxima/Manifest
index 94e8ada3253..3a69a930b00 100644
--- a/sci-mathematics/maxima/Manifest
+++ b/sci-mathematics/maxima/Manifest
@@ -1,4 +1,3 @@
 DIST maxima-5.42.1.tar.gz 41865510 BLAKE2B 
d3b8a50594dc0cef0c354c42be1aee96df77a4e222dbe457edeb47d7fe77a8fe376b10ce8da9e4ff6c447242e9c53a32286d09a64d8600112f6feda92f1fb58d
 SHA512 
79c5e70119b0384d9dd8aa47c7e96a0ccb7e6367526b8a14d21f00137a1c2f0c8b7990bb7231d7c90ffa0090f67c1fa30a418d013d9c5982030ae68de9717f48
 DIST maxima-5.44.0.tar.gz 34976354 BLAKE2B 
d6870b6fb0581d9e60d6ed97c7daed8ce12b8b1ae49d0edb7b8d31dd723f9b879eb70440659ff958f53cee16d8d2a92f80dcaa3898d9f6dbabd79a5059073a65
 SHA512 
1e043bebb7c6d002c113d8de20a98d58d1a8e7bedfc9bcf52819e7c7554655991dc2f42f0333889706574249736db833a237b3e59b967e7e42ede28262e31f2f
-DIST maxima-5.45.0.tar.gz 39946933 BLAKE2B 
bdccb6cb88d458eec4359b7bc0b5337c9d1d0af9fe4cfeece9c80e840a2aa3963793cdf5c02437b72af647ef6c9306224c524f5a715860808d3b49ad5a85641f
 SHA512 
353d33a89e5fd1986e84698866cc9716307a5ab3c7a29908ed474b5d00f6f8869f616334ff068c2c5d175c4bbb95f892d6061b12e43686ee4813b9a16e5a4139
 DIST maxima-5.45.1.tar.gz 39951932 BLAKE2B 
b6d67aebf34c12567ec5d08581dc22d13a902d42074abc967f8e50e029845a52a2538da8cb4382e3e28163ce11a6d8c245cfc48150cc10768250de34368acf6c
 SHA512 
08e7a2b24324c0f0dda127d291b9d439125fa1324732b17c804c3eb68d35f87e3fc713c147472821a1781e6378b7afb0721d5da907826324ec3d24848251b7cf

diff --git a/sci-mathematics/maxima/maxima-5.45.0.ebuild 
b/sci-mathematics/maxima/maxima-5.45.0.ebuild
deleted file mode 100644
index d76b8b91037..000
--- a/sci-mathematics/maxima/maxima-5.45.0.ebuild
+++ /dev/null
@@ -1,235 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8} )
-
-inherit autotools elisp-common flag-o-matic python-single-r1 xdg-utils
-
-DESCRIPTION="Free computer algebra environment based on Macsyma"
-HOMEPAGE="http://maxima.sourceforge.net/;
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2 GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-
-IUSE="clisp clozurecl clozurecl64 cmucl ecls emacs gcl gui nls +sbcl unicode 
vtk X test"
-RESTRICT="!test? ( test )"
-
-# Languages
-LANGS="de es pt pt_BR"
-for lang in ${LANGS}; do
-   IUSE="${IUSE} l10n_${lang/_/-}"
-done
-
-LISP_DEPEND="
-   clisp? ( dev-lisp/clisp )
-   clozurecl? ( dev-lisp/clozurecl app-misc/rlwrap )
-   clozurecl64? ( dev-lisp/clozurecl app-misc/rlwrap )
-   cmucl? ( dev-lisp/cmucl app-misc/rlwrap )
-   ecls? ( dev-lisp/ecls app-misc/rlwrap )
-   gcl? ( dev-lisp/gcl[ansi,readline] )
-   sbcl? ( dev-lisp/sbcl app-misc/rlwrap )
-"
-
-# Python is used in e.g. doc/info/build_html.sh to build the docs.
-# LISP_DEPEND is included in both BDEPEND and DEPEND because the various
-# lisp engines are used to both compile and run maxima. It's possible
-# that they don't (all?) need to be listed in DEPEND; who knows.
-BDEPEND="
-   ${PYTHON_DEPS}
-   ${LISP_DEPEND}
-   test? ( sci-visualization/gnuplot )
-   sys-apps/texinfo
-"
-
-DEPEND="
-   ${LISP_DEPEND}
-   emacs? ( >=app-editors/emacs-26:* )
-   gui? ( dev-lang/tk:0 )
-"
-
-# texlive-latexrecommended needed by imaxima for breqn.sty
-#
-# VTK is an optional plotting backend that can be enabled by
-# running "draw_renderer: 'vtk;" within maxima.
-#
-# It's NON-optional for the scene() command, but that command is
-# currently useless since Tcl/Tk support was dropped in sci-libs/vtk.
-# Thus we include VTK only as an optional dependency.
-#
-# We require app-misc/rlwrap for any lisps that don't support readline
-# themselves.
-RDEPEND="
-   ${DEPEND}
-   X? (
-   x11-misc/xdg-utils
-   sci-visualization/gnuplot[gd]
-   vtk? (
-   ${PYTHON_DEPS}
-   sci-libs/vtk[python,rendering,${PYTHON_SINGLE_USEDEP}]
-   )
-   )
-   emacs? (
-   virtual/latex-base
-   app-emacs/auctex
-   app-text/ghostscript-gpl
-   dev-texlive/texlive-latexrecommended
-   )"
-
-# Maxima can make use of X features like plotting (and launching a PNG
-# viewer) from the console, but you can't use the xmaxima GUI without X.
-REQUIRED_USE="
-   

[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/

2021-06-20 Thread Andrey Grozin
commit: 30240deb6a7a23a55954da5a144397e11d95d84a
Author: Andrey Grozin  gentoo  org>
AuthorDate: Mon Jun 21 04:06:58 2021 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Mon Jun 21 04:06:58 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30240deb

sci-mathematics/maxima: bump to 5.45.1

Closes: https://bugs.gentoo.org/796386
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Andrey Grozin  gentoo.org>

 sci-mathematics/maxima/Manifest |   1 +
 sci-mathematics/maxima/maxima-5.45.1.ebuild | 235 
 2 files changed, 236 insertions(+)

diff --git a/sci-mathematics/maxima/Manifest b/sci-mathematics/maxima/Manifest
index 8aabbfd7df5..94e8ada3253 100644
--- a/sci-mathematics/maxima/Manifest
+++ b/sci-mathematics/maxima/Manifest
@@ -1,3 +1,4 @@
 DIST maxima-5.42.1.tar.gz 41865510 BLAKE2B 
d3b8a50594dc0cef0c354c42be1aee96df77a4e222dbe457edeb47d7fe77a8fe376b10ce8da9e4ff6c447242e9c53a32286d09a64d8600112f6feda92f1fb58d
 SHA512 
79c5e70119b0384d9dd8aa47c7e96a0ccb7e6367526b8a14d21f00137a1c2f0c8b7990bb7231d7c90ffa0090f67c1fa30a418d013d9c5982030ae68de9717f48
 DIST maxima-5.44.0.tar.gz 34976354 BLAKE2B 
d6870b6fb0581d9e60d6ed97c7daed8ce12b8b1ae49d0edb7b8d31dd723f9b879eb70440659ff958f53cee16d8d2a92f80dcaa3898d9f6dbabd79a5059073a65
 SHA512 
1e043bebb7c6d002c113d8de20a98d58d1a8e7bedfc9bcf52819e7c7554655991dc2f42f0333889706574249736db833a237b3e59b967e7e42ede28262e31f2f
 DIST maxima-5.45.0.tar.gz 39946933 BLAKE2B 
bdccb6cb88d458eec4359b7bc0b5337c9d1d0af9fe4cfeece9c80e840a2aa3963793cdf5c02437b72af647ef6c9306224c524f5a715860808d3b49ad5a85641f
 SHA512 
353d33a89e5fd1986e84698866cc9716307a5ab3c7a29908ed474b5d00f6f8869f616334ff068c2c5d175c4bbb95f892d6061b12e43686ee4813b9a16e5a4139
+DIST maxima-5.45.1.tar.gz 39951932 BLAKE2B 
b6d67aebf34c12567ec5d08581dc22d13a902d42074abc967f8e50e029845a52a2538da8cb4382e3e28163ce11a6d8c245cfc48150cc10768250de34368acf6c
 SHA512 
08e7a2b24324c0f0dda127d291b9d439125fa1324732b17c804c3eb68d35f87e3fc713c147472821a1781e6378b7afb0721d5da907826324ec3d24848251b7cf

diff --git a/sci-mathematics/maxima/maxima-5.45.1.ebuild 
b/sci-mathematics/maxima/maxima-5.45.1.ebuild
new file mode 100644
index 000..02d33fe5db6
--- /dev/null
+++ b/sci-mathematics/maxima/maxima-5.45.1.ebuild
@@ -0,0 +1,235 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+
+inherit autotools elisp-common flag-o-matic python-single-r1 xdg-utils
+
+DESCRIPTION="Free computer algebra environment based on Macsyma"
+HOMEPAGE="http://maxima.sourceforge.net/;
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2 GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+
+IUSE="clisp clozurecl clozurecl64 cmucl ecls emacs gcl gui nls +sbcl unicode 
vtk X test"
+RESTRICT="!test? ( test )"
+
+# Languages
+LANGS="de es pt pt_BR"
+for lang in ${LANGS}; do
+   IUSE="${IUSE} l10n_${lang/_/-}"
+done
+
+LISP_DEPEND="
+   clisp? ( dev-lisp/clisp )
+   clozurecl? ( dev-lisp/clozurecl app-misc/rlwrap )
+   clozurecl64? ( dev-lisp/clozurecl app-misc/rlwrap )
+   cmucl? ( dev-lisp/cmucl app-misc/rlwrap )
+   ecls? ( dev-lisp/ecls app-misc/rlwrap )
+   gcl? ( dev-lisp/gcl[ansi,readline] )
+   sbcl? ( dev-lisp/sbcl app-misc/rlwrap )
+"
+
+# Python is used in e.g. doc/info/build_html.sh to build the docs.
+# LISP_DEPEND is included in both BDEPEND and DEPEND because the various
+# lisp engines are used to both compile and run maxima. It's possible
+# that they don't (all?) need to be listed in DEPEND; who knows.
+BDEPEND="
+   ${PYTHON_DEPS}
+   ${LISP_DEPEND}
+   test? ( sci-visualization/gnuplot )
+   sys-apps/texinfo
+"
+
+DEPEND="
+   ${LISP_DEPEND}
+   emacs? ( >=app-editors/emacs-26:* )
+   gui? ( dev-lang/tk:0 )
+"
+
+# texlive-latexrecommended needed by imaxima for breqn.sty
+#
+# VTK is an optional plotting backend that can be enabled by
+# running "draw_renderer: 'vtk;" within maxima.
+#
+# It's NON-optional for the scene() command, but that command is
+# currently useless since Tcl/Tk support was dropped in sci-libs/vtk.
+# Thus we include VTK only as an optional dependency.
+#
+# We require app-misc/rlwrap for any lisps that don't support readline
+# themselves.
+RDEPEND="
+   ${DEPEND}
+   X? (
+   x11-misc/xdg-utils
+   sci-visualization/gnuplot[gd]
+   vtk? (
+   ${PYTHON_DEPS}
+   sci-libs/vtk[python,rendering,${PYTHON_SINGLE_USEDEP}]
+   )
+   )
+   emacs? (
+   virtual/latex-base
+   app-emacs/auctex
+   app-text/ghostscript-gpl
+   dev-texlive/texlive-latexrecommended
+   )"
+
+# Maxima can make use of X features like plotting (and launching a PNG
+# viewer) from the console, but you can't use the xmaxima GUI 

[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/

2021-06-09 Thread Andrey Grozin
commit: 28f7c358f20c84b1c8b1c5be1b9afe057f8529e0
Author: Andrey Grozin  gentoo  org>
AuthorDate: Wed Jun  9 10:28:22 2021 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Wed Jun  9 10:28:22 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28f7c358

sci-mathematics/maxima: depend on >=emacs-26

Closes: https://bugs.gentoo.org/794190
Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Andrey Grozin  gentoo.org>

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

diff --git a/sci-mathematics/maxima/maxima-5.45.0.ebuild 
b/sci-mathematics/maxima/maxima-5.45.0.ebuild
index 32f16ada3d3..d76b8b91037 100644
--- a/sci-mathematics/maxima/maxima-5.45.0.ebuild
+++ b/sci-mathematics/maxima/maxima-5.45.0.ebuild
@@ -47,7 +47,7 @@ BDEPEND="
 
 DEPEND="
${LISP_DEPEND}
-   emacs? ( >=app-editors/emacs-23.1:* )
+   emacs? ( >=app-editors/emacs-26:* )
gui? ( dev-lang/tk:0 )
 "
 



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/, sci-mathematics/maxima/files/

2021-05-25 Thread Andrey Grozin
commit: 0dbef4d44bbcdece9d737d3d53eea9b2c6c41460
Author: Andrey Grozin  gentoo  org>
AuthorDate: Tue May 25 12:07:10 2021 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Tue May 25 12:07:10 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0dbef4d4

sci-mathematics/maxima: bump to 5.45.0

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andrey Grozin  gentoo.org>

 sci-mathematics/maxima/Manifest  |   1 +
 sci-mathematics/maxima/files/imaxima-0.patch |  10 ++
 sci-mathematics/maxima/maxima-5.45.0.ebuild  | 235 +++
 3 files changed, 246 insertions(+)

diff --git a/sci-mathematics/maxima/Manifest b/sci-mathematics/maxima/Manifest
index 1fd7d2d37f5..8aabbfd7df5 100644
--- a/sci-mathematics/maxima/Manifest
+++ b/sci-mathematics/maxima/Manifest
@@ -1,2 +1,3 @@
 DIST maxima-5.42.1.tar.gz 41865510 BLAKE2B 
d3b8a50594dc0cef0c354c42be1aee96df77a4e222dbe457edeb47d7fe77a8fe376b10ce8da9e4ff6c447242e9c53a32286d09a64d8600112f6feda92f1fb58d
 SHA512 
79c5e70119b0384d9dd8aa47c7e96a0ccb7e6367526b8a14d21f00137a1c2f0c8b7990bb7231d7c90ffa0090f67c1fa30a418d013d9c5982030ae68de9717f48
 DIST maxima-5.44.0.tar.gz 34976354 BLAKE2B 
d6870b6fb0581d9e60d6ed97c7daed8ce12b8b1ae49d0edb7b8d31dd723f9b879eb70440659ff958f53cee16d8d2a92f80dcaa3898d9f6dbabd79a5059073a65
 SHA512 
1e043bebb7c6d002c113d8de20a98d58d1a8e7bedfc9bcf52819e7c7554655991dc2f42f0333889706574249736db833a237b3e59b967e7e42ede28262e31f2f
+DIST maxima-5.45.0.tar.gz 39946933 BLAKE2B 
bdccb6cb88d458eec4359b7bc0b5337c9d1d0af9fe4cfeece9c80e840a2aa3963793cdf5c02437b72af647ef6c9306224c524f5a715860808d3b49ad5a85641f
 SHA512 
353d33a89e5fd1986e84698866cc9716307a5ab3c7a29908ed474b5d00f6f8869f616334ff068c2c5d175c4bbb95f892d6061b12e43686ee4813b9a16e5a4139

diff --git a/sci-mathematics/maxima/files/imaxima-0.patch 
b/sci-mathematics/maxima/files/imaxima-0.patch
new file mode 100644
index 000..6e7ce2ee1a5
--- /dev/null
+++ b/sci-mathematics/maxima/files/imaxima-0.patch
@@ -0,0 +1,10 @@
+diff -r -U2 maxima-5.45.0.orig/interfaces/emacs/imaxima/setup-imaxima-imath.el 
maxima-5.45.0/interfaces/emacs/imaxima/setup-imaxima-imath.el
+--- maxima-5.45.0.orig/interfaces/emacs/imaxima/setup-imaxima-imath.el 
2021-05-16 06:20:53.0 +0700
 maxima-5.45.0/interfaces/emacs/imaxima/setup-imaxima-imath.el  
2021-05-25 18:31:38.005882847 +0700
+@@ -133,5 +133,5 @@
+ ;;; imaxima-maxima-options should be "" instead of "(user::run)"
+ ;;; assigned in the imaxima.el
+-(setq imaxima-maxima-options "")
++;(setq imaxima-maxima-options "")
+ 
+ (autoload 'maxima "maxima" "Maxima CAS mode" t nil)

diff --git a/sci-mathematics/maxima/maxima-5.45.0.ebuild 
b/sci-mathematics/maxima/maxima-5.45.0.ebuild
new file mode 100644
index 000..32f16ada3d3
--- /dev/null
+++ b/sci-mathematics/maxima/maxima-5.45.0.ebuild
@@ -0,0 +1,235 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8} )
+
+inherit autotools elisp-common flag-o-matic python-single-r1 xdg-utils
+
+DESCRIPTION="Free computer algebra environment based on Macsyma"
+HOMEPAGE="http://maxima.sourceforge.net/;
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2 GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+
+IUSE="clisp clozurecl clozurecl64 cmucl ecls emacs gcl gui nls +sbcl unicode 
vtk X test"
+RESTRICT="!test? ( test )"
+
+# Languages
+LANGS="de es pt pt_BR"
+for lang in ${LANGS}; do
+   IUSE="${IUSE} l10n_${lang/_/-}"
+done
+
+LISP_DEPEND="
+   clisp? ( dev-lisp/clisp )
+   clozurecl? ( dev-lisp/clozurecl app-misc/rlwrap )
+   clozurecl64? ( dev-lisp/clozurecl app-misc/rlwrap )
+   cmucl? ( dev-lisp/cmucl app-misc/rlwrap )
+   ecls? ( dev-lisp/ecls app-misc/rlwrap )
+   gcl? ( dev-lisp/gcl[ansi,readline] )
+   sbcl? ( dev-lisp/sbcl app-misc/rlwrap )
+"
+
+# Python is used in e.g. doc/info/build_html.sh to build the docs.
+# LISP_DEPEND is included in both BDEPEND and DEPEND because the various
+# lisp engines are used to both compile and run maxima. It's possible
+# that they don't (all?) need to be listed in DEPEND; who knows.
+BDEPEND="
+   ${PYTHON_DEPS}
+   ${LISP_DEPEND}
+   test? ( sci-visualization/gnuplot )
+   sys-apps/texinfo
+"
+
+DEPEND="
+   ${LISP_DEPEND}
+   emacs? ( >=app-editors/emacs-23.1:* )
+   gui? ( dev-lang/tk:0 )
+"
+
+# texlive-latexrecommended needed by imaxima for breqn.sty
+#
+# VTK is an optional plotting backend that can be enabled by
+# running "draw_renderer: 'vtk;" within maxima.
+#
+# It's NON-optional for the scene() command, but that command is
+# currently useless since Tcl/Tk support was dropped in sci-libs/vtk.
+# Thus we include VTK only as an optional dependency.
+#
+# We require app-misc/rlwrap for any lisps that don't support readline
+# themselves.
+RDEPEND="
+   ${DEPEND}
+   X? (
+   

[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/

2021-04-01 Thread Michael Orlitzky
commit: 1a9940d0ac4095df662d7275198e6459e2083f1b
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Thu Apr  1 23:07:39 2021 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Fri Apr  2 00:41:32 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a9940d0

sci-mathematics/maxima: require USE="ansi" and USE="readline" for gcl.

While digging through its configure.ac, I noticed that maxima needs
(and checks for) ANSI support within GCL. And we pull in
app-misc/rlwrap to ensure that all lisp implementations support
readline, but not for gcl. So we probably want USE=readline there,
too. The revisions are getting annoying but I have to fix this
before I forget.

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Michael Orlitzky  gentoo.org>

 .../maxima/{maxima-5.44.0-r7.ebuild => maxima-5.44.0-r8.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-mathematics/maxima/maxima-5.44.0-r7.ebuild 
b/sci-mathematics/maxima/maxima-5.44.0-r8.ebuild
similarity index 99%
rename from sci-mathematics/maxima/maxima-5.44.0-r7.ebuild
rename to sci-mathematics/maxima/maxima-5.44.0-r8.ebuild
index f428670e1bf..1ef1c4f672a 100644
--- a/sci-mathematics/maxima/maxima-5.44.0-r7.ebuild
+++ b/sci-mathematics/maxima/maxima-5.44.0-r8.ebuild
@@ -30,7 +30,7 @@ LISP_DEPEND="
clozurecl64? ( dev-lisp/clozurecl app-misc/rlwrap )
cmucl? ( dev-lisp/cmucl app-misc/rlwrap )
ecls? ( dev-lisp/ecls app-misc/rlwrap )
-   gcl? ( dev-lisp/gcl )
+   gcl? ( dev-lisp/gcl[ansi,readline] )
sbcl? ( dev-lisp/sbcl app-misc/rlwrap )
 "
 



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/

2021-03-30 Thread Michael Orlitzky
commit: d165604ed61363129ae90021ba998bde968ab2a1
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Tue Mar 30 11:19:21 2021 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Tue Mar 30 12:40:52 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d165604e

sci-mathematics/maxima: drop eutils.eclass and duplicate launcher.

Upstream provides its own xmaxima launcher now, so the one that we
were (attempting to, since I borked it during the EAPI=7 bump) create
is no longer necessary. This commit drops the duplicate icon, and the
use of eutils.eclass which no longer serves any discernable purpose.

Closes: https://bugs.gentoo.org/779325
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Michael Orlitzky  gentoo.org>

 .../maxima/{maxima-5.44.0-r6.ebuild => maxima-5.44.0-r7.ebuild}| 7 ++-
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/sci-mathematics/maxima/maxima-5.44.0-r6.ebuild 
b/sci-mathematics/maxima/maxima-5.44.0-r7.ebuild
similarity index 96%
rename from sci-mathematics/maxima/maxima-5.44.0-r6.ebuild
rename to sci-mathematics/maxima/maxima-5.44.0-r7.ebuild
index 540d0048980..f428670e1bf 100644
--- a/sci-mathematics/maxima/maxima-5.44.0-r6.ebuild
+++ b/sci-mathematics/maxima/maxima-5.44.0-r7.ebuild
@@ -5,7 +5,7 @@ EAPI=7
 
 PYTHON_COMPAT=( python3_{7,8} )
 
-inherit autotools elisp-common eutils flag-o-matic python-single-r1 xdg-utils
+inherit autotools elisp-common flag-o-matic python-single-r1 xdg-utils
 
 DESCRIPTION="Free computer algebra environment based on Macsyma"
 HOMEPAGE="http://maxima.sourceforge.net/;
@@ -115,6 +115,7 @@ src_prepare() {
rm src/Makefile.in || die
touch src/*.mk
touch src/Makefile.am
+
eautoreconf
 }
 
@@ -182,10 +183,6 @@ src_install() {
docompress -x /usr/share/info
emake DESTDIR="${D}" emacsdir="${EPREFIX}/${SITELISP}/${PN}" install
 
-   use gui && make_desktop_entry xmaxima xmaxima \
-   /usr/share/${PN}/${PV}/xmaxima/maxima-new.png \
-   "Science;Math;Education"
-
# do not use dodoc because interfaces can't read compressed files
# read COPYING before attempt to remove it from dodoc
insinto /usr/share/${PN}/${PV}/doc



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/

2021-03-29 Thread Michael Orlitzky
commit: 33d71eafab35a8f6083ebeeaa849a7c0a5d82e29
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Sat Mar 27 11:35:44 2021 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Mon Mar 29 12:42:05 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33d71eaf

sci-mathematics/maxima: new revision with separate ccl/ccl64 support.

In Gentoo, both the 32-bit and 64-bit versions of clozurecl are
provided by the same package and executable name (ccl). Maxima
however treats them as separate lisp implementations, with two
complete sets of configure flags.

To make that work correctly in the ebuild, we'd need to have a bunch
of special cases for the user's architecture. Instead, this commit
adds a separate "clozurecl64" USE flag to complement the existing,
now 32-bit, "clozurecl" flag. This will allow us to mask the 32-bit
flag in the 64-bit profiles and vice-versa.

Closes: https://bugs.gentoo.org/665364
Closes: https://bugs.gentoo.org/715278
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Michael Orlitzky  gentoo.org>

 sci-mathematics/maxima/maxima-5.44.0-r5.ebuild | 231 +
 sci-mathematics/maxima/metadata.xml|   4 +-
 2 files changed, 234 insertions(+), 1 deletion(-)

diff --git a/sci-mathematics/maxima/maxima-5.44.0-r5.ebuild 
b/sci-mathematics/maxima/maxima-5.44.0-r5.ebuild
new file mode 100644
index 000..e0dbc91fdb0
--- /dev/null
+++ b/sci-mathematics/maxima/maxima-5.44.0-r5.ebuild
@@ -0,0 +1,231 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8} )
+
+inherit autotools elisp-common eutils flag-o-matic python-single-r1 xdg-utils
+
+DESCRIPTION="Free computer algebra environment based on Macsyma"
+HOMEPAGE="http://maxima.sourceforge.net/;
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2 GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+
+IUSE="clisp clozurecl clozurecl64 cmucl ecls emacs gcl gui nls +sbcl unicode 
vtk X test"
+RESTRICT="!test? ( test )"
+
+# Languages
+LANGS="de es pt pt_BR"
+for lang in ${LANGS}; do
+   IUSE="${IUSE} l10n_${lang/_/-}"
+done
+
+LISP_DEPEND="
+   clisp? ( dev-lisp/clisp )
+   clozurecl? ( dev-lisp/clozurecl app-misc/rlwrap )
+   clozurecl64? ( dev-lisp/clozurecl app-misc/rlwrap )
+   cmucl? ( dev-lisp/cmucl app-misc/rlwrap )
+   ecls? ( dev-lisp/ecls app-misc/rlwrap )
+   gcl? ( dev-lisp/gcl )
+   sbcl? ( dev-lisp/sbcl app-misc/rlwrap )
+"
+
+# Python is used in e.g. doc/info/build_html.sh to build the docs.
+# LISP_DEPEND is included in both BDEPEND and DEPEND because the various
+# lisp engines are used to both compile and run maxima. It's possible
+# that they don't (all?) need to be listed in DEPEND; who knows.
+BDEPEND="
+   ${PYTHON_DEPS}
+   ${LISP_DEPEND}
+   test? ( sci-visualization/gnuplot )
+   sys-apps/texinfo
+"
+
+DEPEND="
+   ${LISP_DEPEND}
+   emacs? ( >=app-editors/emacs-23.1:* )
+   gui? ( dev-lang/tk:0 )
+"
+
+# texlive-latexrecommended needed by imaxima for breqn.sty
+#
+# VTK is an optional plotting backend that can be enabled by
+# running "draw_renderer: 'vtk;" within maxima.
+#
+# It's NON-optional for the scene() command, but that command is
+# currently useless since Tcl/Tk support was dropped in sci-libs/vtk.
+# Thus we include VTK only as an optional dependency.
+#
+# We require app-misc/rlwrap for any lisps that don't support readline
+# themselves.
+RDEPEND="
+   ${DEPEND}
+   X? (
+   x11-misc/xdg-utils
+   sci-visualization/gnuplot[gd]
+   vtk? (
+   ${PYTHON_DEPS}
+   sci-libs/vtk[python,rendering,${PYTHON_SINGLE_USEDEP}]
+   )
+   )
+   emacs? (
+   virtual/latex-base
+   app-emacs/auctex
+   app-text/ghostscript-gpl
+   dev-texlive/texlive-latexrecommended
+   )"
+
+# Maxima can make use of X features like plotting (and launching a PNG
+# viewer) from the console, but you can't use the xmaxima GUI without X.
+REQUIRED_USE="
+   ${PYTHON_REQUIRED_USE}
+   || ( clisp clozurecl clozurecl64 cmucl ecls gcl sbcl )
+   gui? ( X )"
+
+TEXMF="${EPREFIX}"/usr/share/texmf-site
+
+pkg_setup() {
+   # Set the PYTHON variable to whatever it should be.
+   python-single-r1_pkg_setup
+}
+
+PATCHES=(
+   "${FILESDIR}/support-new-vtk.patch"
+   "${FILESDIR}/dont-hardcode-python.patch"
+   "${FILESDIR}/xdg-utils-1.patch"
+   "${FILESDIR}/wish-2.patch"
+   "${FILESDIR}/rmaxima-0.patch"
+   "${FILESDIR}/emacs-0.patch"
+   "${FILESDIR}/clisp-1.patch"
+   "${FILESDIR}/clozurecl-3.patch"
+   "${FILESDIR}/ecls-4.patch"
+   "${FILESDIR}/cmucl-1.patch"
+   "${FILESDIR}/sbcl-2.patch"
+)
+
+src_prepare() {
+   default
+
+   # bug #343331
+   rm 

[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/

2021-03-29 Thread Michael Orlitzky
commit: a06a3691b52cafd5101b43ff0aa00aef5d1f29e8
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Sun Mar 28 19:54:31 2021 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Mon Mar 29 13:43:42 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a06a3691

sci-mathematics/maxima: hide dbl.el when USE=gcl is unset.

One of the emacs modes installed by maxima requires the gcl lisp
interpreter (with emacs support) to be installed. To avoid confusing
error messages, we remove it from the installation image when USE=gcl
is unset.

Closes: https://bugs.gentoo.org/502112
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Michael Orlitzky  gentoo.org>

 .../maxima/{maxima-5.44.0-r5.ebuild => maxima-5.44.0-r6.ebuild}| 7 +++
 1 file changed, 7 insertions(+)

diff --git a/sci-mathematics/maxima/maxima-5.44.0-r5.ebuild 
b/sci-mathematics/maxima/maxima-5.44.0-r6.ebuild
similarity index 95%
rename from sci-mathematics/maxima/maxima-5.44.0-r5.ebuild
rename to sci-mathematics/maxima/maxima-5.44.0-r6.ebuild
index e0dbc91fdb0..540d0048980 100644
--- a/sci-mathematics/maxima/maxima-5.44.0-r5.ebuild
+++ b/sci-mathematics/maxima/maxima-5.44.0-r6.ebuild
@@ -204,6 +204,13 @@ src_install() {
insinto /usr/share/${PN}/${PV}/doc/imaxima
doins interfaces/emacs/imaxima/README
doins -r interfaces/emacs/imaxima/imath-example
+
+   if ! use gcl; then
+   # This emacs package is used to run gcl, maxima, gdb, 
etc.
+   # all at once and possibly in the same buffer. As such, 
it's
+   # no use without gcl (more to the point: it requires 
gcl.el).
+   find "${ED}" -name 'dbl.el' -type f -delete || die
+   fi
fi
 
if use ecls; then



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/

2021-03-25 Thread Michael Orlitzky
commit: f3eb23e2183025fcf28dbcf8f323cc961cc45f0a
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Thu Mar 25 11:27:43 2021 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Fri Mar 26 00:56:25 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3eb23e2

sci-mathematics/maxima: rename USE=tk to USE=gui.

The "tk" flag isn't something a normal user can understand. Since its
main purpose it to enable a GUI, I've renamed it to "gui".

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Michael Orlitzky  gentoo.org>

 ...ima-5.44.0-r2.ebuild => maxima-5.44.0-r3.ebuild} | 21 -
 1 file changed, 12 insertions(+), 9 deletions(-)

diff --git a/sci-mathematics/maxima/maxima-5.44.0-r2.ebuild 
b/sci-mathematics/maxima/maxima-5.44.0-r3.ebuild
similarity index 91%
rename from sci-mathematics/maxima/maxima-5.44.0-r2.ebuild
rename to sci-mathematics/maxima/maxima-5.44.0-r3.ebuild
index 778b0ba34fb..57a63d133cc 100644
--- a/sci-mathematics/maxima/maxima-5.44.0-r2.ebuild
+++ b/sci-mathematics/maxima/maxima-5.44.0-r3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-PYTHON_COMPAT=( python3_{7,8,9} )
+PYTHON_COMPAT=( python3_{7,8} )
 
 inherit autotools elisp-common eutils flag-o-matic python-single-r1 xdg-utils
 
@@ -24,7 +24,7 @@ CONF_FLAG=( .. .   ecl  ccl   . )
 # patch file version; . - no patch
 PATCH_V=(   21 .   43 1 )
 
-IUSE="emacs tk nls unicode X test ${LISPS[*]}"
+IUSE="emacs gui nls unicode X test ${LISPS[*]}"
 RESTRICT="!test? ( test )"
 
 # Languages
@@ -36,13 +36,13 @@ done
 # texlive-latexrecommended needed by imaxima for breqn.sty
 RDEPEND="
X? ( x11-misc/xdg-utils
-sci-visualization/gnuplot[gd]
-tk? ( dev-lang/tk:0 ) )
+sci-visualization/gnuplot[gd] )
emacs? ( >=app-editors/emacs-23.1:*
virtual/latex-base
app-emacs/auctex
app-text/ghostscript-gpl
-   dev-texlive/texlive-latexrecommended )"
+   dev-texlive/texlive-latexrecommended )
+   gui? ( dev-lang/tk:0 )"
 
 # generating lisp dependencies
 depends() {
@@ -74,7 +74,9 @@ done
 
 unset LISP
 
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+# Maxima can make use of X features like plotting (and launching a PNG
+# viewer) from the console, but you can't use the xmaxima GUI without X.
+REQUIRED_USE="${PYTHON_REQUIRED_USE} gui? ( X )"
 
 RDEPEND="${RDEPEND}
${DEF_DEP}"
@@ -106,7 +108,8 @@ pkg_setup() {
 
 src_prepare() {
local n PATCHES v
-   PATCHES=( emacs-0 rmaxima-0 wish-2 xdg-utils-1 dont-hardcode-python )
+   PATCHES=( emacs-0 rmaxima-0 wish-2 xdg-utils-1
+ dont-hardcode-python )
 
n=${#PATCHES[*]}
for ((n--; n >= 0; n--)); do
@@ -160,7 +163,7 @@ src_configure() {
#
econf ${CONFS} \
LDFLAGS="$(raw-ldflags)" \
-   $(use_with tk wish) \
+   $(use_with gui wish) \
$(use_enable emacs) \
--with-lispdir="${EPREFIX}/${SITELISP}/${PN}"
 }
@@ -185,7 +188,7 @@ src_install() {
docompress -x /usr/share/info
emake DESTDIR="${D}" emacsdir="${EPREFIX}/${SITELISP}/${PN}" install
 
-   use tk && make_desktop_entry xmaxima xmaxima \
+   use gui && make_desktop_entry xmaxima xmaxima \
/usr/share/${PN}/${PV}/xmaxima/maxima-new.png \
"Science;Math;Education"
 



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/, sci-mathematics/maxima/files/

2021-03-25 Thread Michael Orlitzky
commit: 16f964dc700f819d2182707cfc49fd0bb71987b9
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Thu Mar 25 21:09:28 2021 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Fri Mar 26 00:56:25 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16f964dc

sci-mathematics/maxima: new USE-controlled dependency on sci-libs/vtk.

VTK is an optional backend for plotting in Maxima that you can enable
with "draw_renderer: 'vtk;". It is also NON-optional when drawing with
the scene() command; however, scene() is presently broken after VTK
dropped its Tcl/Tk interface. As a result, we add sci-libs/vtk only as
an optional dependency to Maxima, behind USE=vtk.

This requires dropping ~ppc for now.

Closes: https://bugs.gentoo.org/769899
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Michael Orlitzky  gentoo.org>

 sci-mathematics/maxima/files/support-new-vtk.patch | 26 +++
 ...ma-5.44.0-r3.ebuild => maxima-5.44.0-r4.ebuild} | 29 --
 sci-mathematics/maxima/metadata.xml|  3 +++
 3 files changed, 51 insertions(+), 7 deletions(-)

diff --git a/sci-mathematics/maxima/files/support-new-vtk.patch 
b/sci-mathematics/maxima/files/support-new-vtk.patch
new file mode 100644
index 000..3296ce27646
--- /dev/null
+++ b/sci-mathematics/maxima/files/support-new-vtk.patch
@@ -0,0 +1,26 @@
+commit c21598340008892173578718afa577f93ebfdd45
+Author: Leo Butler 
+Date:   Sat Feb 13 16:16:20 2021 -0600
+
+Fix SF Bug #3714, Update maxima to use vtk-8.2.0
+
+The GlobalImmediateModeRenderingOn method was deprecated in the VTK
+codebase in 2017,
+
+
https://github.com/Kitware/VTK/commit/67e054c91063be30e8e991de489fdda3af668e22
+
+This commit may change or break draw-vtk user code that relies on
+older versions of vtk.
+
+diff --git a/share/draw/vtk.lisp b/share/draw/vtk.lisp
+index 6ff0f9586..1964048d2 100644
+--- a/share/draw/vtk.lisp
 b/share/draw/vtk.lisp
+@@ -224,7 +224,6 @@
+ (defun vtkpolydatamapper-code (mn fn con)
+   (concatenate 'string
+ (format nil "~a=vtk.vtkPolyDataMapper()~%" mn)
+-(format nil "~a.GlobalImmediateModeRenderingOn()~%" mn) 
+ (if con
+   (format nil "~a.SetInputConnection(~a.GetOutputPort())~%" mn fn)
+   "") ))

diff --git a/sci-mathematics/maxima/maxima-5.44.0-r3.ebuild 
b/sci-mathematics/maxima/maxima-5.44.0-r4.ebuild
similarity index 89%
rename from sci-mathematics/maxima/maxima-5.44.0-r3.ebuild
rename to sci-mathematics/maxima/maxima-5.44.0-r4.ebuild
index 57a63d133cc..3babe7349ba 100644
--- a/sci-mathematics/maxima/maxima-5.44.0-r3.ebuild
+++ b/sci-mathematics/maxima/maxima-5.44.0-r4.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-2 GPL-2+"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 
 # Supported lisps
 LISPS=( sbcl cmucl gcl ecls clozurecl clisp )
@@ -24,7 +24,7 @@ CONF_FLAG=( .. .   ecl  ccl   . )
 # patch file version; . - no patch
 PATCH_V=(   21 .   43 1 )
 
-IUSE="emacs gui nls unicode X test ${LISPS[*]}"
+IUSE="emacs gui nls unicode vtk X test ${LISPS[*]}"
 RESTRICT="!test? ( test )"
 
 # Languages
@@ -34,14 +34,29 @@ for lang in ${LANGS}; do
 done
 
 # texlive-latexrecommended needed by imaxima for breqn.sty
+#
+# VTK is an optional plotting backend that can be enabled by
+# running "draw_renderer: 'vtk;" within maxima.
+#
+# It's NON-optional for the scene() command, but that command is
+# currently useless since Tcl/Tk support was dropped in sci-libs/vtk.
+# Thus we include VTK only as an optional dependency.
 RDEPEND="
-   X? ( x11-misc/xdg-utils
-sci-visualization/gnuplot[gd] )
-   emacs? ( >=app-editors/emacs-23.1:*
+   X? (
+   x11-misc/xdg-utils
+   sci-visualization/gnuplot[gd]
+   vtk? (
+   ${PYTHON_DEPS}
+   sci-libs/vtk[python,rendering,${PYTHON_SINGLE_USEDEP}]
+   )
+   )
+   emacs? (
+   >=app-editors/emacs-23.1:*
virtual/latex-base
app-emacs/auctex
app-text/ghostscript-gpl
-   dev-texlive/texlive-latexrecommended )
+   dev-texlive/texlive-latexrecommended
+   )
gui? ( dev-lang/tk:0 )"
 
 # generating lisp dependencies
@@ -109,7 +124,7 @@ pkg_setup() {
 src_prepare() {
local n PATCHES v
PATCHES=( emacs-0 rmaxima-0 wish-2 xdg-utils-1
- dont-hardcode-python )
+ dont-hardcode-python support-new-vtk )
 
n=${#PATCHES[*]}
for ((n--; n >= 0; n--)); do

diff --git a/sci-mathematics/maxima/metadata.xml 
b/sci-mathematics/maxima/metadata.xml
index 2ee0d1e396a..d87f8aea9f0 100644
--- a/sci-mathematics/maxima/metadata.xml
+++ 

[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/, sci-mathematics/maxima/files/

2021-03-25 Thread Michael Orlitzky
commit: 1d8da22fd88af065e8691d00fafee09cdd570e85
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Thu Mar 25 14:24:25 2021 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Thu Mar 25 14:35:11 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d8da22f

sci-mathematics/maxima: Revert "don't hardcode python"

This reverts commit 9b7b496428d9e3c307666e05aed3035c0ebb883d. I have a
complete fix for this (and other open maxima bugs) in the middle of a
series of patches/revisions. Reverting so that it doesn't clobber my
rebase. Sorry for not speaking up!

Signed-off-by: Michael Orlitzky  gentoo.org>

 sci-mathematics/maxima/files/python-0.patch | 38 -
 sci-mathematics/maxima/maxima-5.44.0.ebuild |  4 +--
 2 files changed, 2 insertions(+), 40 deletions(-)

diff --git a/sci-mathematics/maxima/files/python-0.patch 
b/sci-mathematics/maxima/files/python-0.patch
deleted file mode 100644
index 63dea1ea1de..000
--- a/sci-mathematics/maxima/files/python-0.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From a640c5e357ce2aafb6edcba9b6c641cbc7753880 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky 
-Date: Wed, 24 Mar 2021 20:57:44 -0400
-Subject: [PATCH 1/1] doc/info/build_html.sh.in: use @PYTHON@ for the python
- interpreter.
-
-Maxima's ./configure script already detects (or is prodded to use) a
-certain python interpreter. The build_html.sh script, however, is
-still using a hard-coded "python" command. On many systems, "python"
-will be different from the python interpreter that we want to use; for
-example when "python" is python-2.7.x and "python3" is what we want to
-use with Maxima.
-
-This commit tweaks doc/info/build_html.sh.in to use the value of the
-$PYTHON variable instead.
-
-Maxima-Bug: https://sourceforge.net/p/maxima/bugs/3754
-Gentoo-Bug: https://bugs.gentoo.org/766291

- doc/info/build_html.sh.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/doc/info/build_html.sh.in b/doc/info/build_html.sh.in
-index 37930e9..c10e38d 100755
 a/doc/info/build_html.sh.in
-+++ b/doc/info/build_html.sh.in
-@@ -46,7 +46,7 @@ do
-   echo "filenamebase = \"$filenamebase\""
-   cat $f
- done | @AWK@ '!/^@c / && !/^@c$/ && (/^@deffn/ || /^@defvr/ || /^@end deffn/ 
|| /^@end defvr/ || /@category/ || /@node/ || /^filenamebase/)' | @SED@ -f 
@abs_srcdir@/extract_categories1.sed | @AWK@ -f 
@abs_srcdir@/extract_categories1.awk > make-categories.py 
--python make-categories.py 
-+@PYTHON@ make-categories.py 
- @SED@ -e 's/^@bye/@node Documentation Categories, , Function and Variable 
Index\n@chapter Documentation Categories/' @abs_srcdir@/maxima.texi > 
maxima.texi 
- ( for f in Category-*.texi; do echo '@include' $f; done ; echo @bye ) >> 
maxima.texi 
- 
--- 
-2.26.2
-

diff --git a/sci-mathematics/maxima/maxima-5.44.0.ebuild 
b/sci-mathematics/maxima/maxima-5.44.0.ebuild
index da0d520a076..6588716b494 100644
--- a/sci-mathematics/maxima/maxima-5.44.0.ebuild
+++ b/sci-mathematics/maxima/maxima-5.44.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -97,7 +97,7 @@ pkg_setup() {
 
 src_prepare() {
local n PATCHES v
-   PATCHES=( emacs-0 rmaxima-0 wish-2 xdg-utils-1 python-0 )
+   PATCHES=( emacs-0 rmaxima-0 wish-2 xdg-utils-1 )
 
n=${#PATCHES[*]}
for ((n--; n >= 0; n--)); do



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/, sci-mathematics/maxima/files/

2021-03-25 Thread Michael Orlitzky
commit: 579ffa0836ee9943a212862eadb0b27638038316
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Thu Mar 25 02:47:14 2021 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Thu Mar 25 14:35:27 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=579ffa08

sci-mathematics/maxima: don't hard-code the python interpreter.

This is a two-parter to fix bug 766291, which has the build
failing because it can't find "python". First, we patch the
build system to use @PYTHON@ instead of "python" in the one
place upstream missed it. Second, we add python-single-r1 to
the ebuild so that we get $PYTHON set appropriately.

Closes: https://bugs.gentoo.org/766291
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Michael Orlitzky  gentoo.org>

 .../maxima/files/dont-hardcode-python.patch| 38 ++
 ...ma-5.44.0-r1.ebuild => maxima-5.44.0-r2.ebuild} | 21 +---
 2 files changed, 55 insertions(+), 4 deletions(-)

diff --git a/sci-mathematics/maxima/files/dont-hardcode-python.patch 
b/sci-mathematics/maxima/files/dont-hardcode-python.patch
new file mode 100644
index 000..63dea1ea1de
--- /dev/null
+++ b/sci-mathematics/maxima/files/dont-hardcode-python.patch
@@ -0,0 +1,38 @@
+From a640c5e357ce2aafb6edcba9b6c641cbc7753880 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky 
+Date: Wed, 24 Mar 2021 20:57:44 -0400
+Subject: [PATCH 1/1] doc/info/build_html.sh.in: use @PYTHON@ for the python
+ interpreter.
+
+Maxima's ./configure script already detects (or is prodded to use) a
+certain python interpreter. The build_html.sh script, however, is
+still using a hard-coded "python" command. On many systems, "python"
+will be different from the python interpreter that we want to use; for
+example when "python" is python-2.7.x and "python3" is what we want to
+use with Maxima.
+
+This commit tweaks doc/info/build_html.sh.in to use the value of the
+$PYTHON variable instead.
+
+Maxima-Bug: https://sourceforge.net/p/maxima/bugs/3754
+Gentoo-Bug: https://bugs.gentoo.org/766291
+---
+ doc/info/build_html.sh.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/doc/info/build_html.sh.in b/doc/info/build_html.sh.in
+index 37930e9..c10e38d 100755
+--- a/doc/info/build_html.sh.in
 b/doc/info/build_html.sh.in
+@@ -46,7 +46,7 @@ do
+   echo "filenamebase = \"$filenamebase\""
+   cat $f
+ done | @AWK@ '!/^@c / && !/^@c$/ && (/^@deffn/ || /^@defvr/ || /^@end deffn/ 
|| /^@end defvr/ || /@category/ || /@node/ || /^filenamebase/)' | @SED@ -f 
@abs_srcdir@/extract_categories1.sed | @AWK@ -f 
@abs_srcdir@/extract_categories1.awk > make-categories.py 
+-python make-categories.py 
++@PYTHON@ make-categories.py 
+ @SED@ -e 's/^@bye/@node Documentation Categories, , Function and Variable 
Index\n@chapter Documentation Categories/' @abs_srcdir@/maxima.texi > 
maxima.texi 
+ ( for f in Category-*.texi; do echo '@include' $f; done ; echo @bye ) >> 
maxima.texi 
+ 
+-- 
+2.26.2
+

diff --git a/sci-mathematics/maxima/maxima-5.44.0-r1.ebuild 
b/sci-mathematics/maxima/maxima-5.44.0-r2.ebuild
similarity index 88%
rename from sci-mathematics/maxima/maxima-5.44.0-r1.ebuild
rename to sci-mathematics/maxima/maxima-5.44.0-r2.ebuild
index 4cb02071d12..778b0ba34fb 100644
--- a/sci-mathematics/maxima/maxima-5.44.0-r1.ebuild
+++ b/sci-mathematics/maxima/maxima-5.44.0-r2.ebuild
@@ -3,7 +3,9 @@
 
 EAPI=6
 
-inherit autotools elisp-common eutils flag-o-matic xdg-utils
+PYTHON_COMPAT=( python3_{7,8,9} )
+
+inherit autotools elisp-common eutils flag-o-matic python-single-r1 xdg-utils
 
 DESCRIPTION="Free computer algebra environment based on Macsyma"
 HOMEPAGE="http://maxima.sourceforge.net/;
@@ -72,16 +74,23 @@ done
 
 unset LISP
 
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
 RDEPEND="${RDEPEND}
${DEF_DEP}"
 
-DEPEND="${RDEPEND}
+# Python is used in e.g. doc/info/build_html.sh to build the docs.
+DEPEND="${PYTHON_DEPS}
+   ${RDEPEND}
test? ( sci-visualization/gnuplot )
sys-apps/texinfo"
 
 TEXMF="${EPREFIX}"/usr/share/texmf-site
 
 pkg_setup() {
+   # Set the PYTHON variable to whatever it should be.
+   python-single-r1_pkg_setup
+
local n=${#LISPS[*]}
 
for ((n--; n >= 0; n--)); do
@@ -97,7 +106,7 @@ pkg_setup() {
 
 src_prepare() {
local n PATCHES v
-   PATCHES=( emacs-0 rmaxima-0 wish-2 xdg-utils-1 )
+   PATCHES=( emacs-0 rmaxima-0 wish-2 xdg-utils-1 dont-hardcode-python )
 
n=${#PATCHES[*]}
for ((n--; n >= 0; n--)); do
@@ -148,6 +157,7 @@ src_configure() {
#   value (expected an integer): 1 -Wl
#
# when building the maxima.fas library for ECL.
+   #
econf ${CONFS} \
LDFLAGS="$(raw-ldflags)" \
$(use_with tk wish) \
@@ -156,7 +166,10 @@ src_configure() {
 }
 
 src_compile() {
-   emake
+   # The variable PYTHONBIN is used in one place while building the
+   # German documentation. Some day that script 

[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/, sci-mathematics/maxima/files/

2021-03-25 Thread Michael Orlitzky
commit: 99d068bcd512389b60a972d53c95f22571ed3537
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Wed Mar 24 21:35:49 2021 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Thu Mar 25 14:35:26 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99d068bc

sci-mathematics/maxima: re-enable ECL package.

The ECL package needed for USE=ecls got dropped from the ebuild
because the patch it requires no longer applied. We take François
Bissey's patch from the sage-on-gentoo overlay and re-enable it.

Closes: https://bugs.gentoo.org/732776
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Michael Orlitzky  gentoo.org>

 sci-mathematics/maxima/files/ecls-4.patch| 16 
 ...{maxima-5.44.0.ebuild => maxima-5.44.0-r1.ebuild} | 20 +---
 2 files changed, 33 insertions(+), 3 deletions(-)

diff --git a/sci-mathematics/maxima/files/ecls-4.patch 
b/sci-mathematics/maxima/files/ecls-4.patch
new file mode 100644
index 000..7c597c22333
--- /dev/null
+++ b/sci-mathematics/maxima/files/ecls-4.patch
@@ -0,0 +1,16 @@
+diff --git a/src/maxima.system b/src/maxima.system
+index ee7ca0f..85ec36f 100644
+--- a/src/maxima.system
 b/src/maxima.system
+@@ -75,6 +75,11 @@
+;; Convert dir/foo.fas to dir/foo.o
+(make-pathname :type "o" :defaults p))
+files)))
++(c::build-fasl "binary-ecl/maxima" :lisp-files obj
++   :ld-flags
++   (let ((x (symbol-value (find-symbol 
"*AUTOCONF-LD-FLAGS*"
++   (find-package 
"MAXIMA")
++ (if (and x (not (string= x ""))) (list x
+   (c::build-program "binary-ecl/maxima" :lisp-files obj
+ :ld-flags
+ (let ((x (symbol-value (find-symbol 
"*AUTOCONF-LD-FLAGS*"

diff --git a/sci-mathematics/maxima/maxima-5.44.0.ebuild 
b/sci-mathematics/maxima/maxima-5.44.0-r1.ebuild
similarity index 88%
rename from sci-mathematics/maxima/maxima-5.44.0.ebuild
rename to sci-mathematics/maxima/maxima-5.44.0-r1.ebuild
index 6588716b494..4cb02071d12 100644
--- a/sci-mathematics/maxima/maxima-5.44.0.ebuild
+++ b/sci-mathematics/maxima/maxima-5.44.0-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-inherit autotools elisp-common eutils xdg-utils
+inherit autotools elisp-common eutils flag-o-matic xdg-utils
 
 DESCRIPTION="Free computer algebra environment based on Macsyma"
 HOMEPAGE="http://maxima.sourceforge.net/;
@@ -20,7 +20,7 @@ SUPP_RL=(   .. y   .. y )
 # . - just --enable-,  - --enable-
 CONF_FLAG=( .. .   ecl  ccl   . )
 # patch file version; . - no patch
-PATCH_V=(   21 .   .3 1 )
+PATCH_V=(   21 .   43 1 )
 
 IUSE="emacs tk nls unicode X test ${LISPS[*]}"
 RESTRICT="!test? ( test )"
@@ -142,7 +142,14 @@ src_configure() {
done
fi
 
+   # Using raw-ldflags fixes the error,
+   #
+   #   x86_64-pc-linux-gnu/bin/ld: fatal error: -O1 -Wl: invalid option
+   #   value (expected an integer): 1 -Wl
+   #
+   # when building the maxima.fas library for ECL.
econf ${CONFS} \
+   LDFLAGS="$(raw-ldflags)" \
$(use_with tk wish) \
$(use_enable emacs) \
--with-lispdir="${EPREFIX}/${SITELISP}/${PN}"
@@ -188,6 +195,13 @@ src_install() {
doins interfaces/emacs/imaxima/README
doins -r interfaces/emacs/imaxima/imath-example
fi
+
+   if use ecls; then
+   # Use ECL to find the path where it expects to load packages 
from.
+   ECLLIB=$(ecl -eval "(princ (SI:GET-LIBRARY-PATHNAME))" -eval 
"(quit)")
+   insinto "${ECLLIB#${EPREFIX}}"
+   doins src/binary-ecl/maxima.fas
+   fi
 }
 
 pkg_postinst() {



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/, sci-mathematics/maxima/files/

2021-03-25 Thread Andrey Grozin
commit: 9b7b496428d9e3c307666e05aed3035c0ebb883d
Author: Andrey Grozin  gentoo  org>
AuthorDate: Thu Mar 25 13:55:42 2021 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Thu Mar 25 13:55:42 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b7b4964

sci-mathematics/maxima: don't hardcode python

Suggested-by: Michael Orlitzky  gentoo.org>
Closes: https://bugs.gentoo.org/766291
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Andrey Grozin  gentoo.org>

 sci-mathematics/maxima/files/python-0.patch | 38 +
 sci-mathematics/maxima/maxima-5.44.0.ebuild |  4 +--
 2 files changed, 40 insertions(+), 2 deletions(-)

diff --git a/sci-mathematics/maxima/files/python-0.patch 
b/sci-mathematics/maxima/files/python-0.patch
new file mode 100644
index 000..63dea1ea1de
--- /dev/null
+++ b/sci-mathematics/maxima/files/python-0.patch
@@ -0,0 +1,38 @@
+From a640c5e357ce2aafb6edcba9b6c641cbc7753880 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky 
+Date: Wed, 24 Mar 2021 20:57:44 -0400
+Subject: [PATCH 1/1] doc/info/build_html.sh.in: use @PYTHON@ for the python
+ interpreter.
+
+Maxima's ./configure script already detects (or is prodded to use) a
+certain python interpreter. The build_html.sh script, however, is
+still using a hard-coded "python" command. On many systems, "python"
+will be different from the python interpreter that we want to use; for
+example when "python" is python-2.7.x and "python3" is what we want to
+use with Maxima.
+
+This commit tweaks doc/info/build_html.sh.in to use the value of the
+$PYTHON variable instead.
+
+Maxima-Bug: https://sourceforge.net/p/maxima/bugs/3754
+Gentoo-Bug: https://bugs.gentoo.org/766291
+---
+ doc/info/build_html.sh.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/doc/info/build_html.sh.in b/doc/info/build_html.sh.in
+index 37930e9..c10e38d 100755
+--- a/doc/info/build_html.sh.in
 b/doc/info/build_html.sh.in
+@@ -46,7 +46,7 @@ do
+   echo "filenamebase = \"$filenamebase\""
+   cat $f
+ done | @AWK@ '!/^@c / && !/^@c$/ && (/^@deffn/ || /^@defvr/ || /^@end deffn/ 
|| /^@end defvr/ || /@category/ || /@node/ || /^filenamebase/)' | @SED@ -f 
@abs_srcdir@/extract_categories1.sed | @AWK@ -f 
@abs_srcdir@/extract_categories1.awk > make-categories.py 
+-python make-categories.py 
++@PYTHON@ make-categories.py 
+ @SED@ -e 's/^@bye/@node Documentation Categories, , Function and Variable 
Index\n@chapter Documentation Categories/' @abs_srcdir@/maxima.texi > 
maxima.texi 
+ ( for f in Category-*.texi; do echo '@include' $f; done ; echo @bye ) >> 
maxima.texi 
+ 
+-- 
+2.26.2
+

diff --git a/sci-mathematics/maxima/maxima-5.44.0.ebuild 
b/sci-mathematics/maxima/maxima-5.44.0.ebuild
index 6588716b494..da0d520a076 100644
--- a/sci-mathematics/maxima/maxima-5.44.0.ebuild
+++ b/sci-mathematics/maxima/maxima-5.44.0.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
@@ -97,7 +97,7 @@ pkg_setup() {
 
 src_prepare() {
local n PATCHES v
-   PATCHES=( emacs-0 rmaxima-0 wish-2 xdg-utils-1 )
+   PATCHES=( emacs-0 rmaxima-0 wish-2 xdg-utils-1 python-0 )
 
n=${#PATCHES[*]}
for ((n--; n >= 0; n--)); do



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/files/

2021-02-27 Thread Conrad Kostecki
commit: 101ebf24046c76fe8cb779a2b8de9ac2904b9598
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Thu Feb 25 17:35:35 2021 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sat Feb 27 15:36:02 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=101ebf24

sci-mathematics/maxima: remove unused patches

Closes: https://github.com/gentoo/gentoo/pull/19652
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Signed-off-by: Conrad Kostecki  gentoo.org>

 sci-mathematics/maxima/files/ecls-2.patch  | 35 --
 sci-mathematics/maxima/files/texinfo-0.patch   | 12 -
 sci-mathematics/maxima/files/xdg-utils-0.patch | 35 --
 3 files changed, 82 deletions(-)

diff --git a/sci-mathematics/maxima/files/ecls-2.patch 
b/sci-mathematics/maxima/files/ecls-2.patch
deleted file mode 100644
index d9af8c373ca..000
--- a/sci-mathematics/maxima/files/ecls-2.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-diff -r -U1 maxima-5.37.1.orig/src/maxima.in maxima-5.37.1/src/maxima.in
 maxima-5.37.1.orig/src/maxima.in   2015-05-22 04:40:03.0 +0600
-+++ maxima-5.37.1/src/maxima.in2015-09-03 16:33:30.913866985 +0600
-@@ -188,3 +188,3 @@
- elif [ "$MAXIMA_LISP" = "ecl" ]; then
--   exec "$maxima_image_base"  $MAXIMA_LISP_OPTIONS -- "$@"
-+   exec "$maxima_image_base"  $MAXIMA_LISP_OPTIONS -norc -- "$@"
- 
-diff -r -U1 maxima-5.37.1.orig/src/maxima.system 
maxima-5.37.1/src/maxima.system
 maxima-5.37.1.orig/src/maxima.system   2015-09-01 02:26:13.0 
+0600
-+++ maxima-5.37.1/src/maxima.system2015-09-03 16:42:47.071843596 +0600
-@@ -61,2 +61,10 @@
- #+ecl
-+(defun split-ld-flags-for-ecl (string  space)
-+  (setf string (string-trim '(#\Space) string))
-+  (if (setf space (position #\Space string))
-+(cons (subseq string 0 space)
-+  (split-ld-flags-for-ecl (subseq string (1+ space
-+(cons string nil)))
-+
-+#+ecl
- (defun build-maxima-lib ()
-@@ -77,2 +85,7 @@
-files)))
-+  (c::build-fasl "binary-ecl/maxima" :lisp-files obj
-+ :ld-flags
-+   (let ((x (symbol-value (find-symbol 
"*AUTOCONF-LD-FLAGS*"
-+   (find-package 
"MAXIMA")
-+ (if (and x (not (string= x ""))) 
(split-ld-flags-for-ecl x
-   (c::build-program "binary-ecl/maxima" :lisp-files obj
-@@ -81,3 +94,3 @@
- (find-package 
"MAXIMA")
--  (if (and x (not (string= x ""))) (list x)))
-+  (if (and x (not (string= x ""))) 
(split-ld-flags-for-ecl x)))
- :epilogue-code '(progn (require :defsystem)

diff --git a/sci-mathematics/maxima/files/texinfo-0.patch 
b/sci-mathematics/maxima/files/texinfo-0.patch
deleted file mode 100644
index 9b8782dffce..000
--- a/sci-mathematics/maxima/files/texinfo-0.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-Fix build with texinfo-6.7.
-https://bugs.gentoo.org/697494
-
 maxima-5.43.0.orig/interfaces/emacs/imaxima/imaxima.texi
-+++ maxima-5.43.0/interfaces/emacs/imaxima/imaxima.texi
-@@ -1,5 +1,6 @@
- \input texinfo  @c -*-texinfo-*-
- @c %**start of header
-+@documentencoding ISO-8859-1
- @setfilename imaxima.info
- @settitle Imaxima Manual
- @paragraphindent 0

diff --git a/sci-mathematics/maxima/files/xdg-utils-0.patch 
b/sci-mathematics/maxima/files/xdg-utils-0.patch
deleted file mode 100644
index 876fe6fcd46..000
--- a/sci-mathematics/maxima/files/xdg-utils-0.patch
+++ /dev/null
@@ -1,35 +0,0 @@
 interfaces/emacs/misc/bookmode.el.orig 2008-02-07 12:42:18.008472937 
+
-+++ interfaces/emacs/misc/bookmode.el  2008-02-07 12:43:02.531010132 +
-@@ -680,7 +680,7 @@
-   
- (and tem
-  (list (concat "View "(nth 1 tem))
--   'call-process  "ghostview" nil nil nil
-+   'call-process  "xdg-open" nil nil nil
-(expand-file-name(nth 1 tem))
-))
- (list "Cancel")
-@@ -705,7 +705,7 @@
-(concat
- (cond ((looking-at "%PS") "")
-   (t "gzip -dc | "))
--"ghostview -")
-+"xdg-open -")
-
-   )))
-
 interfaces/xmaxima/Tkmaxima/Constants.tcl.orig 2008-02-07 
12:42:47.294141832 +
-+++ interfaces/xmaxima/Tkmaxima/Constants.tcl  2008-02-07 12:43:02.539010587 
+
-@@ -143,9 +143,9 @@
- image/gif  netmath
- image/png  netmath
- image/jpeg netmath
--application/postscript "ghostview -safer %s"
--application/pdf "acroread %s"
--application/x-dvi "xdvi %s"
-+application/postscript 

[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/

2020-11-05 Thread Andreas Sturmlechner
commit: 71575ecdb5ac9d8e640a239a2fa7dbd36e90873e
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Thu Nov  5 19:36:48 2020 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Thu Nov  5 20:25:13 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71575ecd

sci-mathematics/maxima: Drop 5.38.1

Bug: https://bugs.gentoo.org/677422
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 sci-mathematics/maxima/Manifest |   1 -
 sci-mathematics/maxima/maxima-5.38.1.ebuild | 208 
 2 files changed, 209 deletions(-)

diff --git a/sci-mathematics/maxima/Manifest b/sci-mathematics/maxima/Manifest
index 1463dd00165..2c38b1e48d0 100644
--- a/sci-mathematics/maxima/Manifest
+++ b/sci-mathematics/maxima/Manifest
@@ -1,4 +1,3 @@
-DIST maxima-5.38.1.tar.gz 38641257 BLAKE2B 
0244b5dbdd337e64d4f7c3e7f6b946463b0246a9fd0660588798f7891fd1599cf400369fe0d1ce3433d01ce2e4b8bc86ad405d3f8368b429cd028362ec66a1b4
 SHA512 
abca10984dbb22a48bae481b2e803cb5bee6776e974b4bb9271773aa035fb5e49f34b2458aabca01f0a681a07179e57c012273be6f8d53c615b3309b1034abf9
 DIST maxima-5.42.1.tar.gz 41865510 BLAKE2B 
d3b8a50594dc0cef0c354c42be1aee96df77a4e222dbe457edeb47d7fe77a8fe376b10ce8da9e4ff6c447242e9c53a32286d09a64d8600112f6feda92f1fb58d
 SHA512 
79c5e70119b0384d9dd8aa47c7e96a0ccb7e6367526b8a14d21f00137a1c2f0c8b7990bb7231d7c90ffa0090f67c1fa30a418d013d9c5982030ae68de9717f48
 DIST maxima-5.42.2.tar.gz 41840181 BLAKE2B 
bca8a94366f1fe2f508436fdef8de80107b19c9b267a4b72dc6f56870078d35b3feb7dbdda384589b38c5351d6eeede1b9738a5ec2152063de2afacd1ced48c4
 SHA512 
5033b02272121f6aacff5ededf90eaad5e644a06d0c62aafd745401c08429da979ecd8274f7aa12596a0e32ddb614659af14e4273f59d372fe1ecbec081e7829
 DIST maxima-5.43.2.tar.gz 40871773 BLAKE2B 
a00a6ca06159d5acde195d9dc0f59d3a4b72738b2690997c18a9d1b2c642983b3a2005aee98544d4f45d8bc9ee5d9c6b0e43e4be40df4224b0174662bd75f71d
 SHA512 
b2503440b2c4d515de9a39dd6acbe1c8dfae5daf083c47b6af2ffce381ad48923d1fa4e5f25ec1dc0621ad592b23cebc4c456b8ee2ee52bea958df6fb9df26fd

diff --git a/sci-mathematics/maxima/maxima-5.38.1.ebuild 
b/sci-mathematics/maxima/maxima-5.38.1.ebuild
deleted file mode 100644
index 5725c52e406..000
--- a/sci-mathematics/maxima/maxima-5.38.1.ebuild
+++ /dev/null
@@ -1,208 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit autotools elisp-common eutils
-
-DESCRIPTION="Free computer algebra environment based on Macsyma"
-HOMEPAGE="http://maxima.sourceforge.net/;
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2 GPL-2+"
-SLOT="0"
-KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux"
-
-# Supported lisps
-LISPS=( sbcl cmucl gcl ecls clozurecl clisp )
-#  supports readline: . - no, y - yes
-SUPP_RL=(   .. y   .. y )
-# . - just --enable-,  - --enable-
-CONF_FLAG=( .. .   ecl  ccl   . )
-# patch file version; . - no patch
-PATCH_V=(   21 .   22 1 )
-
-IUSE="emacs tk nls unicode X ${LISPS[*]}"
-
-# Languages
-LANGS="de es pt pt_BR"
-for lang in ${LANGS}; do
-   IUSE="${IUSE} l10n_${lang/_/-}"
-done
-
-# texlive-latexrecommended needed by imaxima for breqn.sty
-RDEPEND="!app-emacs/imaxima
-   X? ( x11-misc/xdg-utils
-sci-visualization/gnuplot[gd]
-tk? ( dev-lang/tk:0 ) )
-   emacs? ( >=app-editors/emacs-23.1:*
-   virtual/latex-base
-   app-emacs/auctex
-   app-text/ghostscript-gpl
-   dev-texlive/texlive-latexrecommended )"
-
-# generating lisp dependencies
-depends() {
-   local LISP DEP
-   LISP=${LISPS[$1]}
-   DEP="dev-lisp/${LISP}:="
-   if [ "${SUPP_RL[$1]}" = "." ]; then
-   DEP="${DEP} app-misc/rlwrap"
-   fi
-   echo ${DEP}
-}
-
-n=${#LISPS[*]}
-for ((n--; n >= 0; n--)); do
-   LISP=${LISPS[${n}]}
-   RDEPEND="${RDEPEND} ${LISP}? ( $(depends ${n}) )"
-   DEF_DEP="${DEF_DEP} !${LISP}? ( "
-done
-
-# default lisp
-DEF_LISP=0 # sbcl
-ARM_LISP=2 # gcl
-DEF_DEP="${DEF_DEP} arm? ( `depends ${ARM_LISP}` ) !arm? ( `depends 
${DEF_LISP}` )"
-
-n=${#LISPS[*]}
-for ((n--; n >= 0; n--)); do
-   DEF_DEP="${DEF_DEP} )"
-done
-
-unset LISP
-
-RDEPEND="${RDEPEND}
-   ${DEF_DEP}"
-
-DEPEND="${RDEPEND}
-   sys-apps/texinfo"
-
-TEXMF="${EPREFIX}"/usr/share/texmf-site
-
-pkg_setup() {
-   local n=${#LISPS[*]}
-
-   for ((n--; n >= 0; n--)); do
-   use ${LISPS[${n}]} && NLISPS="${NLISPS} ${n}"
-   done
-
-   if [ -z "${NLISPS}" ]; then
-   use arm && DEF_LISP=${ARM_LISP}
-   ewarn "No lisp specified in USE flags, choosing 
${LISPS[${DEF_LISP}]} as default"
-   NLISPS=${DEF_LISP}
-   fi
-}
-
-src_prepare() {
-   local n PATCHES v
-   PATCHES=( emacs-0 rmaxima-0 

[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/

2020-07-23 Thread Kent Fredric
commit: 560a9305947ccbc455b9fd51d40e81df8b73212c
Author: Kent Fredric  gentoo  org>
AuthorDate: Thu Jul 23 06:56:20 2020 +
Commit: Kent Fredric  gentoo  org>
CommitDate: Thu Jul 23 07:02:46 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=560a9305

sci-mathematics/maxima: Drop macos prefixes re bug #690140

Depends:
- x11-misc/xdg-utils
 - dev-perl/Net-DBus
  - dev-perl/XML-Twig
   - dev-perl/libwww-perl
- dev-perl/LWP-Protocol-https
 - dev-perl/IO-Socket-SSL

Bug: https://bugs.gentoo.org/690140
Package-Manager: Portage-2.3.103, Repoman-2.3.22
Signed-off-by: Kent Fredric  gentoo.org>

 sci-mathematics/maxima/maxima-5.38.1.ebuild | 4 ++--
 sci-mathematics/maxima/maxima-5.42.1.ebuild | 4 ++--
 sci-mathematics/maxima/maxima-5.42.2.ebuild | 4 ++--
 sci-mathematics/maxima/maxima-5.43.2.ebuild | 2 +-
 sci-mathematics/maxima/maxima-5.44.0.ebuild | 2 +-
 5 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/sci-mathematics/maxima/maxima-5.38.1.ebuild 
b/sci-mathematics/maxima/maxima-5.38.1.ebuild
index a97ec7dee44..5725c52e406 100644
--- a/sci-mathematics/maxima/maxima-5.38.1.ebuild
+++ b/sci-mathematics/maxima/maxima-5.38.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-2 GPL-2+"
 SLOT="0"
-KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux"
 
 # Supported lisps
 LISPS=( sbcl cmucl gcl ecls clozurecl clisp )

diff --git a/sci-mathematics/maxima/maxima-5.42.1.ebuild 
b/sci-mathematics/maxima/maxima-5.42.1.ebuild
index 215a11d12fe..fa012edc92b 100644
--- a/sci-mathematics/maxima/maxima-5.42.1.ebuild
+++ b/sci-mathematics/maxima/maxima-5.42.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-2 GPL-2+"
 SLOT="0"
-KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux"
 
 # Supported lisps
 LISPS=( sbcl cmucl gcl ecls clozurecl clisp )

diff --git a/sci-mathematics/maxima/maxima-5.42.2.ebuild 
b/sci-mathematics/maxima/maxima-5.42.2.ebuild
index 17150f7e4e3..68329d1041c 100644
--- a/sci-mathematics/maxima/maxima-5.42.2.ebuild
+++ b/sci-mathematics/maxima/maxima-5.42.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-2 GPL-2+"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
 
 # Supported lisps
 LISPS=( sbcl cmucl gcl ecls clozurecl clisp )

diff --git a/sci-mathematics/maxima/maxima-5.43.2.ebuild 
b/sci-mathematics/maxima/maxima-5.43.2.ebuild
index d139d3dcda0..4952aea0d09 100644
--- a/sci-mathematics/maxima/maxima-5.43.2.ebuild
+++ b/sci-mathematics/maxima/maxima-5.43.2.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-2 GPL-2+"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
 
 # Supported lisps
 LISPS=( sbcl cmucl gcl ecls clozurecl clisp )

diff --git a/sci-mathematics/maxima/maxima-5.44.0.ebuild 
b/sci-mathematics/maxima/maxima-5.44.0.ebuild
index af3557fd4f3..6588716b494 100644
--- a/sci-mathematics/maxima/maxima-5.44.0.ebuild
+++ b/sci-mathematics/maxima/maxima-5.44.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-2 GPL-2+"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
 
 # Supported lisps
 LISPS=( sbcl cmucl gcl ecls clozurecl clisp )



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/

2020-06-08 Thread Andrey Grozin
commit: 459d617ddc8be32d8c2ca1c9b0f759df09dd72e5
Author: Andrey Grozin  gentoo  org>
AuthorDate: Mon Jun  8 14:10:23 2020 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Mon Jun  8 14:10:23 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=459d617d

sci-mathematics/maxima: bump to 5.44.0

Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Andrey Grozin  gentoo.org>

 sci-mathematics/maxima/Manifest |   1 +
 sci-mathematics/maxima/maxima-5.44.0.ebuild | 207 
 2 files changed, 208 insertions(+)

diff --git a/sci-mathematics/maxima/Manifest b/sci-mathematics/maxima/Manifest
index f4d6e2af05f..1463dd00165 100644
--- a/sci-mathematics/maxima/Manifest
+++ b/sci-mathematics/maxima/Manifest
@@ -2,3 +2,4 @@ DIST maxima-5.38.1.tar.gz 38641257 BLAKE2B 
0244b5dbdd337e64d4f7c3e7f6b946463b024
 DIST maxima-5.42.1.tar.gz 41865510 BLAKE2B 
d3b8a50594dc0cef0c354c42be1aee96df77a4e222dbe457edeb47d7fe77a8fe376b10ce8da9e4ff6c447242e9c53a32286d09a64d8600112f6feda92f1fb58d
 SHA512 
79c5e70119b0384d9dd8aa47c7e96a0ccb7e6367526b8a14d21f00137a1c2f0c8b7990bb7231d7c90ffa0090f67c1fa30a418d013d9c5982030ae68de9717f48
 DIST maxima-5.42.2.tar.gz 41840181 BLAKE2B 
bca8a94366f1fe2f508436fdef8de80107b19c9b267a4b72dc6f56870078d35b3feb7dbdda384589b38c5351d6eeede1b9738a5ec2152063de2afacd1ced48c4
 SHA512 
5033b02272121f6aacff5ededf90eaad5e644a06d0c62aafd745401c08429da979ecd8274f7aa12596a0e32ddb614659af14e4273f59d372fe1ecbec081e7829
 DIST maxima-5.43.2.tar.gz 40871773 BLAKE2B 
a00a6ca06159d5acde195d9dc0f59d3a4b72738b2690997c18a9d1b2c642983b3a2005aee98544d4f45d8bc9ee5d9c6b0e43e4be40df4224b0174662bd75f71d
 SHA512 
b2503440b2c4d515de9a39dd6acbe1c8dfae5daf083c47b6af2ffce381ad48923d1fa4e5f25ec1dc0621ad592b23cebc4c456b8ee2ee52bea958df6fb9df26fd
+DIST maxima-5.44.0.tar.gz 34976354 BLAKE2B 
d6870b6fb0581d9e60d6ed97c7daed8ce12b8b1ae49d0edb7b8d31dd723f9b879eb70440659ff958f53cee16d8d2a92f80dcaa3898d9f6dbabd79a5059073a65
 SHA512 
1e043bebb7c6d002c113d8de20a98d58d1a8e7bedfc9bcf52819e7c7554655991dc2f42f0333889706574249736db833a237b3e59b967e7e42ede28262e31f2f

diff --git a/sci-mathematics/maxima/maxima-5.44.0.ebuild 
b/sci-mathematics/maxima/maxima-5.44.0.ebuild
new file mode 100644
index 000..af3557fd4f3
--- /dev/null
+++ b/sci-mathematics/maxima/maxima-5.44.0.ebuild
@@ -0,0 +1,207 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools elisp-common eutils xdg-utils
+
+DESCRIPTION="Free computer algebra environment based on Macsyma"
+HOMEPAGE="http://maxima.sourceforge.net/;
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2 GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+
+# Supported lisps
+LISPS=( sbcl cmucl gcl ecls clozurecl clisp )
+#  supports readline: . - no, y - yes
+SUPP_RL=(   .. y   .. y )
+# . - just --enable-,  - --enable-
+CONF_FLAG=( .. .   ecl  ccl   . )
+# patch file version; . - no patch
+PATCH_V=(   21 .   .3 1 )
+
+IUSE="emacs tk nls unicode X test ${LISPS[*]}"
+RESTRICT="!test? ( test )"
+
+# Languages
+LANGS="de es pt pt_BR"
+for lang in ${LANGS}; do
+   IUSE="${IUSE} l10n_${lang/_/-}"
+done
+
+# texlive-latexrecommended needed by imaxima for breqn.sty
+RDEPEND="
+   X? ( x11-misc/xdg-utils
+sci-visualization/gnuplot[gd]
+tk? ( dev-lang/tk:0 ) )
+   emacs? ( >=app-editors/emacs-23.1:*
+   virtual/latex-base
+   app-emacs/auctex
+   app-text/ghostscript-gpl
+   dev-texlive/texlive-latexrecommended )"
+
+# generating lisp dependencies
+depends() {
+   local LISP DEP
+   LISP=${LISPS[$1]}
+   DEP="dev-lisp/${LISP}:="
+   if [ "${SUPP_RL[$1]}" = "." ]; then
+   DEP="${DEP} app-misc/rlwrap"
+   fi
+   echo ${DEP}
+}
+
+n=${#LISPS[*]}
+for ((n--; n >= 0; n--)); do
+   LISP=${LISPS[${n}]}
+   RDEPEND="${RDEPEND} ${LISP}? ( $(depends ${n}) )"
+   DEF_DEP="${DEF_DEP} !${LISP}? ( "
+done
+
+# default lisp
+DEF_LISP=0 # sbcl
+ARM_LISP=2 # gcl
+DEF_DEP="${DEF_DEP} arm? ( `depends ${ARM_LISP}` ) !arm? ( `depends 
${DEF_LISP}` )"
+
+n=${#LISPS[*]}
+for ((n--; n >= 0; n--)); do
+   DEF_DEP="${DEF_DEP} )"
+done
+
+unset LISP
+
+RDEPEND="${RDEPEND}
+   ${DEF_DEP}"
+
+DEPEND="${RDEPEND}
+   test? ( sci-visualization/gnuplot )
+   sys-apps/texinfo"
+
+TEXMF="${EPREFIX}"/usr/share/texmf-site
+
+pkg_setup() {
+   local n=${#LISPS[*]}
+
+   for ((n--; n >= 0; n--)); do
+   use ${LISPS[${n}]} && NLISPS="${NLISPS} ${n}"
+   done
+
+   if [ -z "${NLISPS}" ]; then
+   use arm && DEF_LISP=${ARM_LISP}
+   ewarn "No lisp specified in USE flags, choosing 
${LISPS[${DEF_LISP}]} as default"
+ 

[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/

2020-04-07 Thread Andrey Grozin
commit: fe4232a5731c860fc568c1c50a9190b7ef4dbe90
Author: Andrey Grozin  gentoo  org>
AuthorDate: Tue Apr  7 15:07:09 2020 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Tue Apr  7 15:07:09 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe4232a5

sci-mathematics/maxima: revert 9cac2697e91de4b2484524f4f5618d809a8b03ca

This change has broken building with sbcl
Closes: https://bugs.gentoo.org/show_bug.cgi?id=715330
Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Andrey Grozin  gentoo.org>

 sci-mathematics/maxima/maxima-5.43.2.ebuild | 10 --
 1 file changed, 10 deletions(-)

diff --git a/sci-mathematics/maxima/maxima-5.43.2.ebuild 
b/sci-mathematics/maxima/maxima-5.43.2.ebuild
index e920da97f17..d139d3dcda0 100644
--- a/sci-mathematics/maxima/maxima-5.43.2.ebuild
+++ b/sci-mathematics/maxima/maxima-5.43.2.ebuild
@@ -129,19 +129,9 @@ src_configure() {
if [ ${CONF} = . ]; then
CONF=${LISPS[${n}]}
fi
-   if [[ ${CONF} == ccl ]]; then
-   # 64-bit version of clozurecl is enabled
-   # by --enable-ccl64, not by --enable-ccl.
-   # bug #665364
-   use amd64 && CONF=ccl64
-   fi
CONFS="${CONFS} --enable-${CONF}"
done
 
-   # Gentoo calls 'ccl' both 32-bit and 64-bit version of clozurecl.
-   # bug #665364
-   CONFS="${CONFS} --with-ccl64=ccl"
-
# enable existing translated doc
if use nls; then
for lang in ${LANGS}; do



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/

2020-03-26 Thread Michael Orlitzky
commit: 0d8f1f7a4e4031155212e6bf0b0865cea1f8baf2
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Fri Mar 27 03:47:43 2020 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Fri Mar 27 03:47:43 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d8f1f7a

sci-mathematics/maxima: remove outdated app-emacs/imaxima blocker.

Fix the pkgcheck warning

  OutdatedBlocker: version 5.43.2: outdated blocker
  DEPEND="!app-emacs/imaxima": last match removed 3.12
  years ago

by deleting that blocker.

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Michael Orlitzky  gentoo.org>

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

diff --git a/sci-mathematics/maxima/maxima-5.43.2.ebuild 
b/sci-mathematics/maxima/maxima-5.43.2.ebuild
index 88f7e81d580..e920da97f17 100644
--- a/sci-mathematics/maxima/maxima-5.43.2.ebuild
+++ b/sci-mathematics/maxima/maxima-5.43.2.ebuild
@@ -32,7 +32,7 @@ for lang in ${LANGS}; do
 done
 
 # texlive-latexrecommended needed by imaxima for breqn.sty
-RDEPEND="!app-emacs/imaxima
+RDEPEND="
X? ( x11-misc/xdg-utils
 sci-visualization/gnuplot[gd]
 tk? ( dev-lang/tk:0 ) )



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/

2020-03-26 Thread Michael Orlitzky
commit: 9cac2697e91de4b2484524f4f5618d809a8b03ca
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Fri Mar 27 03:33:22 2020 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Fri Mar 27 03:42:07 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9cac2697

sci-mathematics/maxima: fix amd64 build with USE=clozurecl.

The maxima build needs some special-case hacking on amd64 with
clozurecl. Thanks to slyfox for the patch.

Closes: https://bugs.gentoo.org/665364
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Michael Orlitzky  gentoo.org>

 sci-mathematics/maxima/maxima-5.43.2.ebuild | 10 ++
 1 file changed, 10 insertions(+)

diff --git a/sci-mathematics/maxima/maxima-5.43.2.ebuild 
b/sci-mathematics/maxima/maxima-5.43.2.ebuild
index 7c68f0a0e32..88f7e81d580 100644
--- a/sci-mathematics/maxima/maxima-5.43.2.ebuild
+++ b/sci-mathematics/maxima/maxima-5.43.2.ebuild
@@ -129,9 +129,19 @@ src_configure() {
if [ ${CONF} = . ]; then
CONF=${LISPS[${n}]}
fi
+   if [[ ${CONF} == ccl ]]; then
+   # 64-bit version of clozurecl is enabled
+   # by --enable-ccl64, not by --enable-ccl.
+   # bug #665364
+   use amd64 && CONF=ccl64
+   fi
CONFS="${CONFS} --enable-${CONF}"
done
 
+   # Gentoo calls 'ccl' both 32-bit and 64-bit version of clozurecl.
+   # bug #665364
+   CONFS="${CONFS} --with-ccl64=ccl"
+
# enable existing translated doc
if use nls; then
for lang in ${LANGS}; do



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/

2020-01-30 Thread Andrey Grozin
commit: 792d167b6d8ecc25eedef389d9542ba721bda449
Author: Andrey Grozin  gentoo  org>
AuthorDate: Thu Jan 30 15:44:25 2020 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Thu Jan 30 15:44:25 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=792d167b

sci-mathematics/maxima: cleaning old

Package-Manager: Portage-2.3.85, Repoman-2.3.20
Signed-off-by: Andrey Grozin  gentoo.org>

 sci-mathematics/maxima/Manifest |   2 -
 sci-mathematics/maxima/maxima-5.43.0.ebuild | 216 
 2 files changed, 218 deletions(-)

diff --git a/sci-mathematics/maxima/Manifest b/sci-mathematics/maxima/Manifest
index ab667a5ad2b..f4d6e2af05f 100644
--- a/sci-mathematics/maxima/Manifest
+++ b/sci-mathematics/maxima/Manifest
@@ -1,6 +1,4 @@
 DIST maxima-5.38.1.tar.gz 38641257 BLAKE2B 
0244b5dbdd337e64d4f7c3e7f6b946463b0246a9fd0660588798f7891fd1599cf400369fe0d1ce3433d01ce2e4b8bc86ad405d3f8368b429cd028362ec66a1b4
 SHA512 
abca10984dbb22a48bae481b2e803cb5bee6776e974b4bb9271773aa035fb5e49f34b2458aabca01f0a681a07179e57c012273be6f8d53c615b3309b1034abf9
 DIST maxima-5.42.1.tar.gz 41865510 BLAKE2B 
d3b8a50594dc0cef0c354c42be1aee96df77a4e222dbe457edeb47d7fe77a8fe376b10ce8da9e4ff6c447242e9c53a32286d09a64d8600112f6feda92f1fb58d
 SHA512 
79c5e70119b0384d9dd8aa47c7e96a0ccb7e6367526b8a14d21f00137a1c2f0c8b7990bb7231d7c90ffa0090f67c1fa30a418d013d9c5982030ae68de9717f48
 DIST maxima-5.42.2.tar.gz 41840181 BLAKE2B 
bca8a94366f1fe2f508436fdef8de80107b19c9b267a4b72dc6f56870078d35b3feb7dbdda384589b38c5351d6eeede1b9738a5ec2152063de2afacd1ced48c4
 SHA512 
5033b02272121f6aacff5ededf90eaad5e644a06d0c62aafd745401c08429da979ecd8274f7aa12596a0e32ddb614659af14e4273f59d372fe1ecbec081e7829
-DIST maxima-5.43.0-missing-texi-file.tar.gz 6713 BLAKE2B 
4e2c8c7a2ec9007c47cbb45272eb00f930c0014e0a70e52418124bd06731668d47dd76a854c395ccfa2ef00f87e60d8a5811d9237653126680ecfa2d3013e9ec
 SHA512 
e09f983e2eb76adbf8b237c2b2909ff643bd562e16c28f50096509470cd3c9e72d69d39d4ac35315698d20937489c28883604e24302c4424222b51ecc20e438d
-DIST maxima-5.43.0.tar.gz 34605709 BLAKE2B 
db9db75b7eff0454d4b9595120d726969b4e8b651f611ac69dcd92c4496bf9530ce76867348fd87a33444eef3abb7d123ef2726a7b96ebde9e43f231b21a2b8c
 SHA512 
6611eda4bf81bc5454bf6dd641c73a470cc07b2f768d9550b3abeb7b68f1b4675fd5eca766c52844438e9247d8035be537c7120c9f49cdaed9f918d49ed16659
 DIST maxima-5.43.2.tar.gz 40871773 BLAKE2B 
a00a6ca06159d5acde195d9dc0f59d3a4b72738b2690997c18a9d1b2c642983b3a2005aee98544d4f45d8bc9ee5d9c6b0e43e4be40df4224b0174662bd75f71d
 SHA512 
b2503440b2c4d515de9a39dd6acbe1c8dfae5daf083c47b6af2ffce381ad48923d1fa4e5f25ec1dc0621ad592b23cebc4c456b8ee2ee52bea958df6fb9df26fd

diff --git a/sci-mathematics/maxima/maxima-5.43.0.ebuild 
b/sci-mathematics/maxima/maxima-5.43.0.ebuild
deleted file mode 100644
index ab449ae5f1e..000
--- a/sci-mathematics/maxima/maxima-5.43.0.ebuild
+++ /dev/null
@@ -1,216 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools elisp-common eutils xdg-utils
-
-DESCRIPTION="Free computer algebra environment based on Macsyma"
-HOMEPAGE="http://maxima.sourceforge.net/;
-# the 5.43.0 tarball misses doc/info/de/include-maxima.de.texi #687244
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
-   https://dev.gentoo.org/~ulm/distfiles/${P}-missing-texi-file.tar.gz;
-
-LICENSE="GPL-2 GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
-
-# Supported lisps
-LISPS=( sbcl cmucl gcl ecls clozurecl clisp )
-#  supports readline: . - no, y - yes
-SUPP_RL=(   .. y   .. y )
-# . - just --enable-,  - --enable-
-CONF_FLAG=( .. .   ecl  ccl   . )
-# patch file version; . - no patch
-PATCH_V=(   21 .   33 1 )
-
-IUSE="emacs tk nls unicode X test ${LISPS[*]}"
-RESTRICT="!test? ( test )"
-
-# Languages
-LANGS="de es pt pt_BR"
-for lang in ${LANGS}; do
-   IUSE="${IUSE} l10n_${lang/_/-}"
-done
-
-# texlive-latexrecommended needed by imaxima for breqn.sty
-RDEPEND="!app-emacs/imaxima
-   X? ( x11-misc/xdg-utils
-sci-visualization/gnuplot[gd]
-tk? ( dev-lang/tk:0 ) )
-   emacs? ( >=app-editors/emacs-23.1:*
-   virtual/latex-base
-   app-emacs/auctex
-   app-text/ghostscript-gpl
-   dev-texlive/texlive-latexrecommended )"
-
-# generating lisp dependencies
-depends() {
-   local LISP DEP
-   LISP=${LISPS[$1]}
-   DEP="dev-lisp/${LISP}:="
-   if [ "${SUPP_RL[$1]}" = "." ]; then
-   DEP="${DEP} app-misc/rlwrap"
-   fi
-   echo ${DEP}
-}
-
-n=${#LISPS[*]}
-for ((n--; n >= 0; n--)); do
-   LISP=${LISPS[${n}]}
-   RDEPEND="${RDEPEND} ${LISP}? ( $(depends ${n}) )"
-   DEF_DEP="${DEF_DEP} !${LISP}? ( "
-done
-
-# default lisp
-DEF_LISP=0 # sbcl
-ARM_LISP=2 # gcl

[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/

2020-01-30 Thread Andrey Grozin
commit: e0fd55708ce23e9be5c3672c0d78317681529435
Author: Andrey Grozin  gentoo  org>
AuthorDate: Thu Jan 30 15:42:19 2020 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Thu Jan 30 15:42:19 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0fd5570

sci-mathematics/maxima: bump to 5.43.2

Package-Manager: Portage-2.3.85, Repoman-2.3.20
Signed-off-by: Andrey Grozin  gentoo.org>

 sci-mathematics/maxima/Manifest |   1 +
 sci-mathematics/maxima/maxima-5.43.2.ebuild | 214 
 2 files changed, 215 insertions(+)

diff --git a/sci-mathematics/maxima/Manifest b/sci-mathematics/maxima/Manifest
index c360d028503..ab667a5ad2b 100644
--- a/sci-mathematics/maxima/Manifest
+++ b/sci-mathematics/maxima/Manifest
@@ -3,3 +3,4 @@ DIST maxima-5.42.1.tar.gz 41865510 BLAKE2B 
d3b8a50594dc0cef0c354c42be1aee96df77a
 DIST maxima-5.42.2.tar.gz 41840181 BLAKE2B 
bca8a94366f1fe2f508436fdef8de80107b19c9b267a4b72dc6f56870078d35b3feb7dbdda384589b38c5351d6eeede1b9738a5ec2152063de2afacd1ced48c4
 SHA512 
5033b02272121f6aacff5ededf90eaad5e644a06d0c62aafd745401c08429da979ecd8274f7aa12596a0e32ddb614659af14e4273f59d372fe1ecbec081e7829
 DIST maxima-5.43.0-missing-texi-file.tar.gz 6713 BLAKE2B 
4e2c8c7a2ec9007c47cbb45272eb00f930c0014e0a70e52418124bd06731668d47dd76a854c395ccfa2ef00f87e60d8a5811d9237653126680ecfa2d3013e9ec
 SHA512 
e09f983e2eb76adbf8b237c2b2909ff643bd562e16c28f50096509470cd3c9e72d69d39d4ac35315698d20937489c28883604e24302c4424222b51ecc20e438d
 DIST maxima-5.43.0.tar.gz 34605709 BLAKE2B 
db9db75b7eff0454d4b9595120d726969b4e8b651f611ac69dcd92c4496bf9530ce76867348fd87a33444eef3abb7d123ef2726a7b96ebde9e43f231b21a2b8c
 SHA512 
6611eda4bf81bc5454bf6dd641c73a470cc07b2f768d9550b3abeb7b68f1b4675fd5eca766c52844438e9247d8035be537c7120c9f49cdaed9f918d49ed16659
+DIST maxima-5.43.2.tar.gz 40871773 BLAKE2B 
a00a6ca06159d5acde195d9dc0f59d3a4b72738b2690997c18a9d1b2c642983b3a2005aee98544d4f45d8bc9ee5d9c6b0e43e4be40df4224b0174662bd75f71d
 SHA512 
b2503440b2c4d515de9a39dd6acbe1c8dfae5daf083c47b6af2ffce381ad48923d1fa4e5f25ec1dc0621ad592b23cebc4c456b8ee2ee52bea958df6fb9df26fd

diff --git a/sci-mathematics/maxima/maxima-5.43.2.ebuild 
b/sci-mathematics/maxima/maxima-5.43.2.ebuild
new file mode 100644
index 000..7c68f0a0e32
--- /dev/null
+++ b/sci-mathematics/maxima/maxima-5.43.2.ebuild
@@ -0,0 +1,214 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools elisp-common eutils xdg-utils
+
+DESCRIPTION="Free computer algebra environment based on Macsyma"
+HOMEPAGE="http://maxima.sourceforge.net/;
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2 GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+
+# Supported lisps
+LISPS=( sbcl cmucl gcl ecls clozurecl clisp )
+#  supports readline: . - no, y - yes
+SUPP_RL=(   .. y   .. y )
+# . - just --enable-,  - --enable-
+CONF_FLAG=( .. .   ecl  ccl   . )
+# patch file version; . - no patch
+PATCH_V=(   21 .   33 1 )
+
+IUSE="emacs tk nls unicode X test ${LISPS[*]}"
+RESTRICT="!test? ( test )"
+
+# Languages
+LANGS="de es pt pt_BR"
+for lang in ${LANGS}; do
+   IUSE="${IUSE} l10n_${lang/_/-}"
+done
+
+# texlive-latexrecommended needed by imaxima for breqn.sty
+RDEPEND="!app-emacs/imaxima
+   X? ( x11-misc/xdg-utils
+sci-visualization/gnuplot[gd]
+tk? ( dev-lang/tk:0 ) )
+   emacs? ( >=app-editors/emacs-23.1:*
+   virtual/latex-base
+   app-emacs/auctex
+   app-text/ghostscript-gpl
+   dev-texlive/texlive-latexrecommended )"
+
+# generating lisp dependencies
+depends() {
+   local LISP DEP
+   LISP=${LISPS[$1]}
+   DEP="dev-lisp/${LISP}:="
+   if [ "${SUPP_RL[$1]}" = "." ]; then
+   DEP="${DEP} app-misc/rlwrap"
+   fi
+   echo ${DEP}
+}
+
+n=${#LISPS[*]}
+for ((n--; n >= 0; n--)); do
+   LISP=${LISPS[${n}]}
+   RDEPEND="${RDEPEND} ${LISP}? ( $(depends ${n}) )"
+   DEF_DEP="${DEF_DEP} !${LISP}? ( "
+done
+
+# default lisp
+DEF_LISP=0 # sbcl
+ARM_LISP=2 # gcl
+DEF_DEP="${DEF_DEP} arm? ( `depends ${ARM_LISP}` ) !arm? ( `depends 
${DEF_LISP}` )"
+
+n=${#LISPS[*]}
+for ((n--; n >= 0; n--)); do
+   DEF_DEP="${DEF_DEP} )"
+done
+
+unset LISP
+
+RDEPEND="${RDEPEND}
+   ${DEF_DEP}"
+
+DEPEND="${RDEPEND}
+   test? ( sci-visualization/gnuplot )
+   sys-apps/texinfo"
+
+TEXMF="${EPREFIX}"/usr/share/texmf-site
+
+pkg_setup() {
+   local n=${#LISPS[*]}
+
+   for ((n--; n >= 0; n--)); do
+   use ${LISPS[${n}]} && NLISPS="${NLISPS} ${n}"
+   done
+
+   if [ -z "${NLISPS}" ]; then
+   use arm && DEF_LISP=${ARM_LISP}
+   ewarn "No lisp specified in USE flags, choosing 

[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/

2019-12-20 Thread Ulrich Müller
commit: d590f408e20fae70e9c114f60ec8deeaff1a73a7
Author: Ulrich Müller  gentoo  org>
AuthorDate: Fri Dec 20 16:30:01 2019 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Fri Dec 20 22:48:50 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d590f408

sci-mathematics/maxima: Update virtual/emacs dependency.

The virtual is deprecated, depend on app-editors/emacs instead.

Package-Manager: Portage-2.3.82, Repoman-2.3.20
Signed-off-by: Ulrich Müller  gentoo.org>

 sci-mathematics/maxima/maxima-5.38.1.ebuild | 4 ++--
 sci-mathematics/maxima/maxima-5.42.1.ebuild | 2 +-
 sci-mathematics/maxima/maxima-5.42.2.ebuild | 2 +-
 sci-mathematics/maxima/maxima-5.43.0.ebuild | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/sci-mathematics/maxima/maxima-5.38.1.ebuild 
b/sci-mathematics/maxima/maxima-5.38.1.ebuild
index 66c232a18d7..a97ec7dee44 100644
--- a/sci-mathematics/maxima/maxima-5.38.1.ebuild
+++ b/sci-mathematics/maxima/maxima-5.38.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -35,7 +35,7 @@ RDEPEND="!app-emacs/imaxima
X? ( x11-misc/xdg-utils
 sci-visualization/gnuplot[gd]
 tk? ( dev-lang/tk:0 ) )
-   emacs? ( virtual/emacs
+   emacs? ( >=app-editors/emacs-23.1:*
virtual/latex-base
app-emacs/auctex
app-text/ghostscript-gpl

diff --git a/sci-mathematics/maxima/maxima-5.42.1.ebuild 
b/sci-mathematics/maxima/maxima-5.42.1.ebuild
index 07c6bbdadd5..215a11d12fe 100644
--- a/sci-mathematics/maxima/maxima-5.42.1.ebuild
+++ b/sci-mathematics/maxima/maxima-5.42.1.ebuild
@@ -35,7 +35,7 @@ RDEPEND="!app-emacs/imaxima
X? ( x11-misc/xdg-utils
 sci-visualization/gnuplot[gd]
 tk? ( dev-lang/tk:0 ) )
-   emacs? ( virtual/emacs
+   emacs? ( >=app-editors/emacs-23.1:*
virtual/latex-base
app-emacs/auctex
app-text/ghostscript-gpl

diff --git a/sci-mathematics/maxima/maxima-5.42.2.ebuild 
b/sci-mathematics/maxima/maxima-5.42.2.ebuild
index f55566f6504..17150f7e4e3 100644
--- a/sci-mathematics/maxima/maxima-5.42.2.ebuild
+++ b/sci-mathematics/maxima/maxima-5.42.2.ebuild
@@ -35,7 +35,7 @@ RDEPEND="!app-emacs/imaxima
X? ( x11-misc/xdg-utils
 sci-visualization/gnuplot[gd]
 tk? ( dev-lang/tk:0 ) )
-   emacs? ( virtual/emacs
+   emacs? ( >=app-editors/emacs-23.1:*
virtual/latex-base
app-emacs/auctex
app-text/ghostscript-gpl

diff --git a/sci-mathematics/maxima/maxima-5.43.0.ebuild 
b/sci-mathematics/maxima/maxima-5.43.0.ebuild
index ddd827ba176..ab449ae5f1e 100644
--- a/sci-mathematics/maxima/maxima-5.43.0.ebuild
+++ b/sci-mathematics/maxima/maxima-5.43.0.ebuild
@@ -38,7 +38,7 @@ RDEPEND="!app-emacs/imaxima
X? ( x11-misc/xdg-utils
 sci-visualization/gnuplot[gd]
 tk? ( dev-lang/tk:0 ) )
-   emacs? ( virtual/emacs
+   emacs? ( >=app-editors/emacs-23.1:*
virtual/latex-base
app-emacs/auctex
app-text/ghostscript-gpl



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/

2019-12-20 Thread Ulrich Müller
commit: efc10769ad1fd6769f59be81ce2e58b8c05a35af
Author: Ulrich Müller  gentoo  org>
AuthorDate: Fri Dec 20 10:10:49 2019 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Fri Dec 20 10:11:13 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efc10769

sci-mathematics/maxima: Provide missing texinfo file.

doc/info/de/include-maxima.de.texi is missing from the tarball, which
caused the build to fail for L10N=de.

Bug: https://bugs.gentoo.org/687244
Package-Manager: Portage-2.3.82, Repoman-2.3.20
Signed-off-by: Ulrich Müller  gentoo.org>

 sci-mathematics/maxima/Manifest | 1 +
 sci-mathematics/maxima/maxima-5.43.0.ebuild | 4 +++-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/sci-mathematics/maxima/Manifest b/sci-mathematics/maxima/Manifest
index f22ecb58c2b..c360d028503 100644
--- a/sci-mathematics/maxima/Manifest
+++ b/sci-mathematics/maxima/Manifest
@@ -1,4 +1,5 @@
 DIST maxima-5.38.1.tar.gz 38641257 BLAKE2B 
0244b5dbdd337e64d4f7c3e7f6b946463b0246a9fd0660588798f7891fd1599cf400369fe0d1ce3433d01ce2e4b8bc86ad405d3f8368b429cd028362ec66a1b4
 SHA512 
abca10984dbb22a48bae481b2e803cb5bee6776e974b4bb9271773aa035fb5e49f34b2458aabca01f0a681a07179e57c012273be6f8d53c615b3309b1034abf9
 DIST maxima-5.42.1.tar.gz 41865510 BLAKE2B 
d3b8a50594dc0cef0c354c42be1aee96df77a4e222dbe457edeb47d7fe77a8fe376b10ce8da9e4ff6c447242e9c53a32286d09a64d8600112f6feda92f1fb58d
 SHA512 
79c5e70119b0384d9dd8aa47c7e96a0ccb7e6367526b8a14d21f00137a1c2f0c8b7990bb7231d7c90ffa0090f67c1fa30a418d013d9c5982030ae68de9717f48
 DIST maxima-5.42.2.tar.gz 41840181 BLAKE2B 
bca8a94366f1fe2f508436fdef8de80107b19c9b267a4b72dc6f56870078d35b3feb7dbdda384589b38c5351d6eeede1b9738a5ec2152063de2afacd1ced48c4
 SHA512 
5033b02272121f6aacff5ededf90eaad5e644a06d0c62aafd745401c08429da979ecd8274f7aa12596a0e32ddb614659af14e4273f59d372fe1ecbec081e7829
+DIST maxima-5.43.0-missing-texi-file.tar.gz 6713 BLAKE2B 
4e2c8c7a2ec9007c47cbb45272eb00f930c0014e0a70e52418124bd06731668d47dd76a854c395ccfa2ef00f87e60d8a5811d9237653126680ecfa2d3013e9ec
 SHA512 
e09f983e2eb76adbf8b237c2b2909ff643bd562e16c28f50096509470cd3c9e72d69d39d4ac35315698d20937489c28883604e24302c4424222b51ecc20e438d
 DIST maxima-5.43.0.tar.gz 34605709 BLAKE2B 
db9db75b7eff0454d4b9595120d726969b4e8b651f611ac69dcd92c4496bf9530ce76867348fd87a33444eef3abb7d123ef2726a7b96ebde9e43f231b21a2b8c
 SHA512 
6611eda4bf81bc5454bf6dd641c73a470cc07b2f768d9550b3abeb7b68f1b4675fd5eca766c52844438e9247d8035be537c7120c9f49cdaed9f918d49ed16659

diff --git a/sci-mathematics/maxima/maxima-5.43.0.ebuild 
b/sci-mathematics/maxima/maxima-5.43.0.ebuild
index 177564b4b5f..ddd827ba176 100644
--- a/sci-mathematics/maxima/maxima-5.43.0.ebuild
+++ b/sci-mathematics/maxima/maxima-5.43.0.ebuild
@@ -7,7 +7,9 @@ inherit autotools elisp-common eutils xdg-utils
 
 DESCRIPTION="Free computer algebra environment based on Macsyma"
 HOMEPAGE="http://maxima.sourceforge.net/;
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+# the 5.43.0 tarball misses doc/info/de/include-maxima.de.texi #687244
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
+   https://dev.gentoo.org/~ulm/distfiles/${P}-missing-texi-file.tar.gz;
 
 LICENSE="GPL-2 GPL-2+"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/files/, sci-mathematics/maxima/

2019-10-18 Thread Ulrich Müller
commit: 35338f9e73b8ddbf63c2c2c75639ae142bf0c686
Author: Ulrich Müller  gentoo  org>
AuthorDate: Fri Oct 18 21:12:17 2019 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Fri Oct 18 21:12:41 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35338f9e

sci-mathematics/maxima: Declare encoding of imaxima texinfo file.

Closes: https://bugs.gentoo.org/697494
Package-Manager: Portage-2.3.77, Repoman-2.3.17
Signed-off-by: Ulrich Müller  gentoo.org>

 sci-mathematics/maxima/files/texinfo-0.patch | 12 
 sci-mathematics/maxima/maxima-5.43.0.ebuild  |  2 +-
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/sci-mathematics/maxima/files/texinfo-0.patch 
b/sci-mathematics/maxima/files/texinfo-0.patch
new file mode 100644
index 000..9b8782dffce
--- /dev/null
+++ b/sci-mathematics/maxima/files/texinfo-0.patch
@@ -0,0 +1,12 @@
+Fix build with texinfo-6.7.
+https://bugs.gentoo.org/697494
+
+--- maxima-5.43.0.orig/interfaces/emacs/imaxima/imaxima.texi
 maxima-5.43.0/interfaces/emacs/imaxima/imaxima.texi
+@@ -1,5 +1,6 @@
+ \input texinfo  @c -*-texinfo-*-
+ @c %**start of header
++@documentencoding ISO-8859-1
+ @setfilename imaxima.info
+ @settitle Imaxima Manual
+ @paragraphindent 0

diff --git a/sci-mathematics/maxima/maxima-5.43.0.ebuild 
b/sci-mathematics/maxima/maxima-5.43.0.ebuild
index c537cea53d2..3d2e0121287 100644
--- a/sci-mathematics/maxima/maxima-5.43.0.ebuild
+++ b/sci-mathematics/maxima/maxima-5.43.0.ebuild
@@ -96,7 +96,7 @@ pkg_setup() {
 
 src_prepare() {
local n PATCHES v
-   PATCHES=( emacs-0 rmaxima-0 wish-2 xdg-utils-1 )
+   PATCHES=( emacs-0 rmaxima-0 wish-2 xdg-utils-1 texinfo-0 )
 
n=${#PATCHES[*]}
for ((n--; n >= 0; n--)); do



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/, sci-mathematics/maxima/files/

2019-06-01 Thread Andrey Grozin
commit: 073c7f9a0c3ddc8610e809d1fb3082b32d8e3b9c
Author: Andrey Grozin  gentoo  org>
AuthorDate: Sat Jun  1 11:24:34 2019 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Sat Jun  1 11:25:19 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=073c7f9a

sci-mathematics/maxima: bump to 5.43.0

Closes: https://bugs.gentoo.org/show_bug.cgi?id=684670
Package-Manager: Portage-2.3.67, Repoman-2.3.13
Signed-off-by: Andrey Grozin  gentoo.org>

 sci-mathematics/maxima/Manifest|   1 +
 sci-mathematics/maxima/files/clozurecl-3.patch |  27 
 sci-mathematics/maxima/maxima-5.43.0.ebuild| 213 +
 3 files changed, 241 insertions(+)

diff --git a/sci-mathematics/maxima/Manifest b/sci-mathematics/maxima/Manifest
index a0c2fc48ac1..f22ecb58c2b 100644
--- a/sci-mathematics/maxima/Manifest
+++ b/sci-mathematics/maxima/Manifest
@@ -1,3 +1,4 @@
 DIST maxima-5.38.1.tar.gz 38641257 BLAKE2B 
0244b5dbdd337e64d4f7c3e7f6b946463b0246a9fd0660588798f7891fd1599cf400369fe0d1ce3433d01ce2e4b8bc86ad405d3f8368b429cd028362ec66a1b4
 SHA512 
abca10984dbb22a48bae481b2e803cb5bee6776e974b4bb9271773aa035fb5e49f34b2458aabca01f0a681a07179e57c012273be6f8d53c615b3309b1034abf9
 DIST maxima-5.42.1.tar.gz 41865510 BLAKE2B 
d3b8a50594dc0cef0c354c42be1aee96df77a4e222dbe457edeb47d7fe77a8fe376b10ce8da9e4ff6c447242e9c53a32286d09a64d8600112f6feda92f1fb58d
 SHA512 
79c5e70119b0384d9dd8aa47c7e96a0ccb7e6367526b8a14d21f00137a1c2f0c8b7990bb7231d7c90ffa0090f67c1fa30a418d013d9c5982030ae68de9717f48
 DIST maxima-5.42.2.tar.gz 41840181 BLAKE2B 
bca8a94366f1fe2f508436fdef8de80107b19c9b267a4b72dc6f56870078d35b3feb7dbdda384589b38c5351d6eeede1b9738a5ec2152063de2afacd1ced48c4
 SHA512 
5033b02272121f6aacff5ededf90eaad5e644a06d0c62aafd745401c08429da979ecd8274f7aa12596a0e32ddb614659af14e4273f59d372fe1ecbec081e7829
+DIST maxima-5.43.0.tar.gz 34605709 BLAKE2B 
db9db75b7eff0454d4b9595120d726969b4e8b651f611ac69dcd92c4496bf9530ce76867348fd87a33444eef3abb7d123ef2726a7b96ebde9e43f231b21a2b8c
 SHA512 
6611eda4bf81bc5454bf6dd641c73a470cc07b2f768d9550b3abeb7b68f1b4675fd5eca766c52844438e9247d8035be537c7120c9f49cdaed9f918d49ed16659

diff --git a/sci-mathematics/maxima/files/clozurecl-3.patch 
b/sci-mathematics/maxima/files/clozurecl-3.patch
new file mode 100644
index 000..531c6caca9d
--- /dev/null
+++ b/sci-mathematics/maxima/files/clozurecl-3.patch
@@ -0,0 +1,27 @@
+diff -r -U1 maxima-5.43.0.orig/configure.ac maxima-5.43.0/configure.ac
+--- maxima-5.43.0.orig/configure.ac2019-05-31 00:52:28.0 +0200
 maxima-5.43.0/configure.ac 2019-06-01 12:08:22.549425058 +0200
+@@ -434,3 +434,3 @@
+ dnl n.b. openmcl_default_name is hardcoded in "with" message
+-openmcl_default_name=openmcl
++openmcl_default_name=ccl
+ AC_ARG_ENABLE(openmcl,
+diff -r -U1 maxima-5.43.0.orig/src/Makefile.am maxima-5.43.0/src/Makefile.am
+--- maxima-5.43.0.orig/src/Makefile.am 2019-05-31 00:52:28.0 +0200
 maxima-5.43.0/src/Makefile.am  2019-06-01 12:06:49.990422763 +0200
+@@ -392,3 +392,3 @@
+ 
+-EXECUTEOPENMCL = $(OPENMCL_NAME)
++EXECUTEOPENMCL = $(OPENMCL_NAME) --no-init
+ BUILT_FILES += $(OPENMCL_MAXIMA)
+diff -r -U1 maxima-5.43.0.orig/src/maxima.in maxima-5.43.0/src/maxima.in
+--- maxima-5.43.0.orig/src/maxima.in   2019-05-31 00:52:28.0 +0200
 maxima-5.43.0/src/maxima.in2019-06-01 12:10:12.251427778 +0200
+@@ -221,5 +221,5 @@
+ if [ -x "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" ]; then
+-  exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" 
$MAXIMA_LISP_OPTIONS -e '(cl-user::run)' -- "$@"
++  exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" 
$MAXIMA_LISP_OPTIONS --no-init -e '(cl-user::run)' -- "$@"
+ else
+-  exec "@OPENMCL_NAME@" -I "$maxima_image_base.image" 
$MAXIMA_LISP_OPTIONS -e '(cl-user::run)' -- "$@"
++  exec "@OPENMCL_NAME@" -I "$maxima_image_base.image" 
$MAXIMA_LISP_OPTIONS --no-init -e '(cl-user::run)' -- "$@"
+fi

diff --git a/sci-mathematics/maxima/maxima-5.43.0.ebuild 
b/sci-mathematics/maxima/maxima-5.43.0.ebuild
new file mode 100644
index 000..c537cea53d2
--- /dev/null
+++ b/sci-mathematics/maxima/maxima-5.43.0.ebuild
@@ -0,0 +1,213 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools elisp-common eutils xdg-utils
+
+DESCRIPTION="Free computer algebra environment based on Macsyma"
+HOMEPAGE="http://maxima.sourceforge.net/;
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2 GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+
+# Supported lisps
+LISPS=( sbcl cmucl gcl ecls clozurecl clisp )
+#  supports readline: . - no, y - yes
+SUPP_RL=(   .. y   .. y )
+# . - just --enable-,  - --enable-
+CONF_FLAG=( .. .   ecl  ccl   . )
+# patch file version; . - no patch
+PATCH_V=(   21 .

[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/

2019-04-28 Thread Thomas Deutschmann
commit: 6af0be7ee20bcfc49f7f1d5fc615b7f8fd0c89cc
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sun Apr 28 21:58:49 2019 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sun Apr 28 22:05:10 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6af0be7e

sci-mathematics/maxima: x86 stable (bug #677422)

Package-Manager: Portage-2.3.64, Repoman-2.3.12
Signed-off-by: Thomas Deutschmann  gentoo.org>

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

diff --git a/sci-mathematics/maxima/maxima-5.42.1.ebuild 
b/sci-mathematics/maxima/maxima-5.42.1.ebuild
index 24423bba7cf..07c6bbdadd5 100644
--- a/sci-mathematics/maxima/maxima-5.42.1.ebuild
+++ b/sci-mathematics/maxima/maxima-5.42.1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-2 GPL-2+"
 SLOT="0"
-KEYWORDS="amd64 ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
 
 # Supported lisps
 LISPS=( sbcl cmucl gcl ecls clozurecl clisp )



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/

2019-04-08 Thread Mikle Kolyada
commit: b67356e65e5477f4145cffd7ebe965cac2b9de3c
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Mon Apr  8 14:13:18 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Mon Apr  8 14:13:18 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b67356e6

sci-mathematics/maxima: amd64 stable wrt bug #677422

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
RepoMan-Options: --include-arches="amd64"

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

diff --git a/sci-mathematics/maxima/maxima-5.42.1.ebuild 
b/sci-mathematics/maxima/maxima-5.42.1.ebuild
index 27fdbf830bf..24423bba7cf 100644
--- a/sci-mathematics/maxima/maxima-5.42.1.ebuild
+++ b/sci-mathematics/maxima/maxima-5.42.1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-2 GPL-2+"
 SLOT="0"
-KEYWORDS="~amd64 ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+KEYWORDS="amd64 ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
 
 # Supported lisps
 LISPS=( sbcl cmucl gcl ecls clozurecl clisp )



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/files/

2019-04-04 Thread Aaron Bauman
commit: 33a9efe7abb126f6098204d55bb5e47d12722797
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Sat Mar 30 15:49:46 2019 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Thu Apr  4 21:16:22 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33a9efe7

sci-mathematics/maxima: remove unused patch

Signed-off-by: Michael Mair-Keimberger  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/11548
Signed-off-by: Aaron Bauman  gentoo.org>

 sci-mathematics/maxima/files/emacs-27.patch | 10 --
 1 file changed, 10 deletions(-)

diff --git a/sci-mathematics/maxima/files/emacs-27.patch 
b/sci-mathematics/maxima/files/emacs-27.patch
deleted file mode 100644
index ded11659900..000
--- a/sci-mathematics/maxima/files/emacs-27.patch
+++ /dev/null
@@ -1,10 +0,0 @@
-diff -r -U2 maxima-5.41.0.orig/interfaces/emacs/imaxima/imaxima.el 
maxima-5.41.0/interfaces/emacs/imaxima/imaxima.el
 maxima-5.41.0.orig/interfaces/emacs/imaxima/imaxima.el 2016-04-03 
03:42:45.0 +0600
-+++ maxima-5.41.0/interfaces/emacs/imaxima/imaxima.el  2018-09-05 
20:29:46.843231210 +0700
-@@ -528,5 +528,5 @@
- (set-process-filter imaxima-gs-process 'imaxima-gs-filter)
- (imaxima-gs-wait)
--(process-kill-without-query imaxima-gs-process nil)
-+(set-process-query-on-exit-flag imaxima-gs-process nil)
- (unless (eq (process-status imaxima-gs-process) 'run)
-   (setq output (shell-command-to-string (concat imaxima-gs-program " 
-h")))



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/

2019-03-15 Thread Andrey Grozin
commit: ba5edca4a434ed2051e4e0cf3ccf62e148649d41
Author: Andrey Grozin  gentoo  org>
AuthorDate: Fri Mar 15 15:38:48 2019 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Fri Mar 15 15:38:48 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba5edca4

sci-mathematics/maxima: clean 5.41

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Andrey Grozin  gentoo.org>

 sci-mathematics/maxima/Manifest|   1 -
 sci-mathematics/maxima/maxima-5.41.0-r1.ebuild | 210 
 sci-mathematics/maxima/maxima-5.41.0-r2.ebuild | 212 -
 3 files changed, 423 deletions(-)

diff --git a/sci-mathematics/maxima/Manifest b/sci-mathematics/maxima/Manifest
index 1d01cae2071..a0c2fc48ac1 100644
--- a/sci-mathematics/maxima/Manifest
+++ b/sci-mathematics/maxima/Manifest
@@ -1,4 +1,3 @@
 DIST maxima-5.38.1.tar.gz 38641257 BLAKE2B 
0244b5dbdd337e64d4f7c3e7f6b946463b0246a9fd0660588798f7891fd1599cf400369fe0d1ce3433d01ce2e4b8bc86ad405d3f8368b429cd028362ec66a1b4
 SHA512 
abca10984dbb22a48bae481b2e803cb5bee6776e974b4bb9271773aa035fb5e49f34b2458aabca01f0a681a07179e57c012273be6f8d53c615b3309b1034abf9
-DIST maxima-5.41.0.tar.gz 41540226 BLAKE2B 
ff726044c9026bc58d04832fa6382146ed7e7d61d801fa7131b1e7e2ed386b99e238e039481697f9aa24cea59ffd0f6811675cd28818c9fe53f023f965f9d149
 SHA512 
1b93ae2db055ba7fb4a95924a896667f0cfa1c675c603c104181662aeb32b10b006158526b2f3ad93a59688a23eacdc82e870bb8ffb182a89e1e51de013ec209
 DIST maxima-5.42.1.tar.gz 41865510 BLAKE2B 
d3b8a50594dc0cef0c354c42be1aee96df77a4e222dbe457edeb47d7fe77a8fe376b10ce8da9e4ff6c447242e9c53a32286d09a64d8600112f6feda92f1fb58d
 SHA512 
79c5e70119b0384d9dd8aa47c7e96a0ccb7e6367526b8a14d21f00137a1c2f0c8b7990bb7231d7c90ffa0090f67c1fa30a418d013d9c5982030ae68de9717f48
 DIST maxima-5.42.2.tar.gz 41840181 BLAKE2B 
bca8a94366f1fe2f508436fdef8de80107b19c9b267a4b72dc6f56870078d35b3feb7dbdda384589b38c5351d6eeede1b9738a5ec2152063de2afacd1ced48c4
 SHA512 
5033b02272121f6aacff5ededf90eaad5e644a06d0c62aafd745401c08429da979ecd8274f7aa12596a0e32ddb614659af14e4273f59d372fe1ecbec081e7829

diff --git a/sci-mathematics/maxima/maxima-5.41.0-r1.ebuild 
b/sci-mathematics/maxima/maxima-5.41.0-r1.ebuild
deleted file mode 100644
index c9917d44ca0..000
--- a/sci-mathematics/maxima/maxima-5.41.0-r1.ebuild
+++ /dev/null
@@ -1,210 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit autotools elisp-common eutils xdg
-
-DESCRIPTION="Free computer algebra environment based on Macsyma"
-HOMEPAGE="http://maxima.sourceforge.net/;
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2 GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
-
-# Supported lisps
-LISPS=( sbcl cmucl gcl ecls clozurecl clisp )
-#  supports readline: . - no, y - yes
-SUPP_RL=(   .. y   .. y )
-# . - just --enable-,  - --enable-
-CONF_FLAG=( .. .   ecl  ccl   . )
-# patch file version; . - no patch
-PATCH_V=(   21 .   22 1 )
-
-IUSE="emacs tk nls unicode X ${LISPS[*]}"
-
-# Languages
-LANGS="de es pt pt_BR"
-for lang in ${LANGS}; do
-   IUSE="${IUSE} l10n_${lang/_/-}"
-done
-
-# texlive-latexrecommended needed by imaxima for breqn.sty
-RDEPEND="!app-emacs/imaxima
-   X? ( x11-misc/xdg-utils
-sci-visualization/gnuplot[gd]
-tk? ( dev-lang/tk:0 ) )
-   emacs? ( virtual/emacs
-   virtual/latex-base
-   app-emacs/auctex
-   app-text/ghostscript-gpl
-   dev-texlive/texlive-latexrecommended )"
-
-# generating lisp dependencies
-depends() {
-   local LISP DEP
-   LISP=${LISPS[$1]}
-   DEP="dev-lisp/${LISP}:="
-   if [ "${SUPP_RL[$1]}" = "." ]; then
-   DEP="${DEP} app-misc/rlwrap"
-   fi
-   echo ${DEP}
-}
-
-n=${#LISPS[*]}
-for ((n--; n >= 0; n--)); do
-   LISP=${LISPS[${n}]}
-   RDEPEND="${RDEPEND} ${LISP}? ( $(depends ${n}) )"
-   DEF_DEP="${DEF_DEP} !${LISP}? ( "
-done
-
-# default lisp
-DEF_LISP=0 # sbcl
-ARM_LISP=2 # gcl
-DEF_DEP="${DEF_DEP} arm? ( `depends ${ARM_LISP}` ) !arm? ( `depends 
${DEF_LISP}` )"
-
-n=${#LISPS[*]}
-for ((n--; n >= 0; n--)); do
-   DEF_DEP="${DEF_DEP} )"
-done
-
-unset LISP
-
-RDEPEND="${RDEPEND}
-   ${DEF_DEP}"
-
-DEPEND="${RDEPEND}
-   sys-apps/texinfo"
-
-TEXMF="${EPREFIX}"/usr/share/texmf-site
-
-pkg_setup() {
-   local n=${#LISPS[*]}
-
-   for ((n--; n >= 0; n--)); do
-   use ${LISPS[${n}]} && NLISPS="${NLISPS} ${n}"
-   done
-
-   if [ -z "${NLISPS}" ]; then
-   use arm && DEF_LISP=${ARM_LISP}
-   ewarn "No lisp specified in USE flags, choosing 
${LISPS[${DEF_LISP}]} as default"
-   NLISPS=${DEF_LISP}
-   fi
-}
-
-src_prepare() {
-   local 

[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/

2019-03-12 Thread Andrey Grozin
commit: d91daa1d72ad93431908a869d466b334e813cbb1
Author: Andrey Grozin  gentoo  org>
AuthorDate: Tue Mar 12 18:32:04 2019 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Tue Mar 12 18:32:04 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d91daa1d

sci-mathematics/maxima: bump to 5.42.2

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Andrey Grozin  gentoo.org>

 sci-mathematics/maxima/Manifest |   1 +
 sci-mathematics/maxima/maxima-5.42.2.ebuild | 212 
 2 files changed, 213 insertions(+)

diff --git a/sci-mathematics/maxima/Manifest b/sci-mathematics/maxima/Manifest
index ff5d542a946..1d01cae2071 100644
--- a/sci-mathematics/maxima/Manifest
+++ b/sci-mathematics/maxima/Manifest
@@ -1,3 +1,4 @@
 DIST maxima-5.38.1.tar.gz 38641257 BLAKE2B 
0244b5dbdd337e64d4f7c3e7f6b946463b0246a9fd0660588798f7891fd1599cf400369fe0d1ce3433d01ce2e4b8bc86ad405d3f8368b429cd028362ec66a1b4
 SHA512 
abca10984dbb22a48bae481b2e803cb5bee6776e974b4bb9271773aa035fb5e49f34b2458aabca01f0a681a07179e57c012273be6f8d53c615b3309b1034abf9
 DIST maxima-5.41.0.tar.gz 41540226 BLAKE2B 
ff726044c9026bc58d04832fa6382146ed7e7d61d801fa7131b1e7e2ed386b99e238e039481697f9aa24cea59ffd0f6811675cd28818c9fe53f023f965f9d149
 SHA512 
1b93ae2db055ba7fb4a95924a896667f0cfa1c675c603c104181662aeb32b10b006158526b2f3ad93a59688a23eacdc82e870bb8ffb182a89e1e51de013ec209
 DIST maxima-5.42.1.tar.gz 41865510 BLAKE2B 
d3b8a50594dc0cef0c354c42be1aee96df77a4e222dbe457edeb47d7fe77a8fe376b10ce8da9e4ff6c447242e9c53a32286d09a64d8600112f6feda92f1fb58d
 SHA512 
79c5e70119b0384d9dd8aa47c7e96a0ccb7e6367526b8a14d21f00137a1c2f0c8b7990bb7231d7c90ffa0090f67c1fa30a418d013d9c5982030ae68de9717f48
+DIST maxima-5.42.2.tar.gz 41840181 BLAKE2B 
bca8a94366f1fe2f508436fdef8de80107b19c9b267a4b72dc6f56870078d35b3feb7dbdda384589b38c5351d6eeede1b9738a5ec2152063de2afacd1ced48c4
 SHA512 
5033b02272121f6aacff5ededf90eaad5e644a06d0c62aafd745401c08429da979ecd8274f7aa12596a0e32ddb614659af14e4273f59d372fe1ecbec081e7829

diff --git a/sci-mathematics/maxima/maxima-5.42.2.ebuild 
b/sci-mathematics/maxima/maxima-5.42.2.ebuild
new file mode 100644
index 000..f55566f6504
--- /dev/null
+++ b/sci-mathematics/maxima/maxima-5.42.2.ebuild
@@ -0,0 +1,212 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools elisp-common eutils xdg-utils
+
+DESCRIPTION="Free computer algebra environment based on Macsyma"
+HOMEPAGE="http://maxima.sourceforge.net/;
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2 GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+
+# Supported lisps
+LISPS=( sbcl cmucl gcl ecls clozurecl clisp )
+#  supports readline: . - no, y - yes
+SUPP_RL=(   .. y   .. y )
+# . - just --enable-,  - --enable-
+CONF_FLAG=( .. .   ecl  ccl   . )
+# patch file version; . - no patch
+PATCH_V=(   21 .   32 1 )
+
+IUSE="emacs tk nls unicode X ${LISPS[*]}"
+
+# Languages
+LANGS="de es pt pt_BR"
+for lang in ${LANGS}; do
+   IUSE="${IUSE} l10n_${lang/_/-}"
+done
+
+# texlive-latexrecommended needed by imaxima for breqn.sty
+RDEPEND="!app-emacs/imaxima
+   X? ( x11-misc/xdg-utils
+sci-visualization/gnuplot[gd]
+tk? ( dev-lang/tk:0 ) )
+   emacs? ( virtual/emacs
+   virtual/latex-base
+   app-emacs/auctex
+   app-text/ghostscript-gpl
+   dev-texlive/texlive-latexrecommended )"
+
+# generating lisp dependencies
+depends() {
+   local LISP DEP
+   LISP=${LISPS[$1]}
+   DEP="dev-lisp/${LISP}:="
+   if [ "${SUPP_RL[$1]}" = "." ]; then
+   DEP="${DEP} app-misc/rlwrap"
+   fi
+   echo ${DEP}
+}
+
+n=${#LISPS[*]}
+for ((n--; n >= 0; n--)); do
+   LISP=${LISPS[${n}]}
+   RDEPEND="${RDEPEND} ${LISP}? ( $(depends ${n}) )"
+   DEF_DEP="${DEF_DEP} !${LISP}? ( "
+done
+
+# default lisp
+DEF_LISP=0 # sbcl
+ARM_LISP=2 # gcl
+DEF_DEP="${DEF_DEP} arm? ( `depends ${ARM_LISP}` ) !arm? ( `depends 
${DEF_LISP}` )"
+
+n=${#LISPS[*]}
+for ((n--; n >= 0; n--)); do
+   DEF_DEP="${DEF_DEP} )"
+done
+
+unset LISP
+
+RDEPEND="${RDEPEND}
+   ${DEF_DEP}"
+
+DEPEND="${RDEPEND}
+   sys-apps/texinfo"
+
+TEXMF="${EPREFIX}"/usr/share/texmf-site
+
+pkg_setup() {
+   local n=${#LISPS[*]}
+
+   for ((n--; n >= 0; n--)); do
+   use ${LISPS[${n}]} && NLISPS="${NLISPS} ${n}"
+   done
+
+   if [ -z "${NLISPS}" ]; then
+   use arm && DEF_LISP=${ARM_LISP}
+   ewarn "No lisp specified in USE flags, choosing 
${LISPS[${DEF_LISP}]} as default"
+   NLISPS=${DEF_LISP}
+   fi
+}
+
+src_prepare() {
+   local n PATCHES v
+   PATCHES=( emacs-0 rmaxima-0 wish-2 xdg-utils-1 )
+
+   

[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/

2018-10-18 Thread Andrey Grozin
commit: e07f3dc0ec6f22193b8a28840ae930060761119c
Author: Andrey Grozin  gentoo  org>
AuthorDate: Thu Oct 18 16:51:21 2018 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Thu Oct 18 16:51:21 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e07f3dc0

sci-mathematics/maxima: bump to 5.42.1

Signed-off-by: Andrey Grozin  gentoo.org>
Package-Manager: Portage-2.3.41, Repoman-2.3.9

 sci-mathematics/maxima/Manifest   | 2 +-
 sci-mathematics/maxima/{maxima-5.42.0.ebuild => maxima-5.42.1.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-mathematics/maxima/Manifest b/sci-mathematics/maxima/Manifest
index 76d4d1d3864..ff5d542a946 100644
--- a/sci-mathematics/maxima/Manifest
+++ b/sci-mathematics/maxima/Manifest
@@ -1,3 +1,3 @@
 DIST maxima-5.38.1.tar.gz 38641257 BLAKE2B 
0244b5dbdd337e64d4f7c3e7f6b946463b0246a9fd0660588798f7891fd1599cf400369fe0d1ce3433d01ce2e4b8bc86ad405d3f8368b429cd028362ec66a1b4
 SHA512 
abca10984dbb22a48bae481b2e803cb5bee6776e974b4bb9271773aa035fb5e49f34b2458aabca01f0a681a07179e57c012273be6f8d53c615b3309b1034abf9
 DIST maxima-5.41.0.tar.gz 41540226 BLAKE2B 
ff726044c9026bc58d04832fa6382146ed7e7d61d801fa7131b1e7e2ed386b99e238e039481697f9aa24cea59ffd0f6811675cd28818c9fe53f023f965f9d149
 SHA512 
1b93ae2db055ba7fb4a95924a896667f0cfa1c675c603c104181662aeb32b10b006158526b2f3ad93a59688a23eacdc82e870bb8ffb182a89e1e51de013ec209
-DIST maxima-5.42.0.tar.gz 41902466 BLAKE2B 
ff09294ee66fc407845b1713e5762d28597bda067fdcaca942a61e6f07365965a9cdeb3f6d7369d9a074f5835cf64d9724d1ac8f2ad84033b84483f3cb619476
 SHA512 
dedd86838b254c9932166eb161589187f353e986ecd398e9405db43b5159597ba87369e9d7afa8bbfd18288c1213818812fe27881b5f5e99efc63bf31a1d7854
+DIST maxima-5.42.1.tar.gz 41865510 BLAKE2B 
d3b8a50594dc0cef0c354c42be1aee96df77a4e222dbe457edeb47d7fe77a8fe376b10ce8da9e4ff6c447242e9c53a32286d09a64d8600112f6feda92f1fb58d
 SHA512 
79c5e70119b0384d9dd8aa47c7e96a0ccb7e6367526b8a14d21f00137a1c2f0c8b7990bb7231d7c90ffa0090f67c1fa30a418d013d9c5982030ae68de9717f48

diff --git a/sci-mathematics/maxima/maxima-5.42.0.ebuild 
b/sci-mathematics/maxima/maxima-5.42.1.ebuild
similarity index 100%
rename from sci-mathematics/maxima/maxima-5.42.0.ebuild
rename to sci-mathematics/maxima/maxima-5.42.1.ebuild



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/, sci-mathematics/maxima/files/

2018-10-01 Thread Andrey Grozin
commit: e671c6b407b19d81a63ece43e98f5c507594e96b
Author: Andrey Grozin  gentoo  org>
AuthorDate: Mon Oct  1 16:05:52 2018 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Mon Oct  1 16:05:52 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e671c6b4

sci-mathematics/maxima: bump to 5.42.0

Signed-off-by: Andrey Grozin  gentoo.org>
Package-Manager: Portage-2.3.41, Repoman-2.3.9

 sci-mathematics/maxima/Manifest |   1 +
 sci-mathematics/maxima/files/ecls-3.patch   |  48 +++
 sci-mathematics/maxima/maxima-5.42.0.ebuild | 212 
 3 files changed, 261 insertions(+)

diff --git a/sci-mathematics/maxima/Manifest b/sci-mathematics/maxima/Manifest
index 47cab5b50ef..76d4d1d3864 100644
--- a/sci-mathematics/maxima/Manifest
+++ b/sci-mathematics/maxima/Manifest
@@ -1,2 +1,3 @@
 DIST maxima-5.38.1.tar.gz 38641257 BLAKE2B 
0244b5dbdd337e64d4f7c3e7f6b946463b0246a9fd0660588798f7891fd1599cf400369fe0d1ce3433d01ce2e4b8bc86ad405d3f8368b429cd028362ec66a1b4
 SHA512 
abca10984dbb22a48bae481b2e803cb5bee6776e974b4bb9271773aa035fb5e49f34b2458aabca01f0a681a07179e57c012273be6f8d53c615b3309b1034abf9
 DIST maxima-5.41.0.tar.gz 41540226 BLAKE2B 
ff726044c9026bc58d04832fa6382146ed7e7d61d801fa7131b1e7e2ed386b99e238e039481697f9aa24cea59ffd0f6811675cd28818c9fe53f023f965f9d149
 SHA512 
1b93ae2db055ba7fb4a95924a896667f0cfa1c675c603c104181662aeb32b10b006158526b2f3ad93a59688a23eacdc82e870bb8ffb182a89e1e51de013ec209
+DIST maxima-5.42.0.tar.gz 41902466 BLAKE2B 
ff09294ee66fc407845b1713e5762d28597bda067fdcaca942a61e6f07365965a9cdeb3f6d7369d9a074f5835cf64d9724d1ac8f2ad84033b84483f3cb619476
 SHA512 
dedd86838b254c9932166eb161589187f353e986ecd398e9405db43b5159597ba87369e9d7afa8bbfd18288c1213818812fe27881b5f5e99efc63bf31a1d7854

diff --git a/sci-mathematics/maxima/files/ecls-3.patch 
b/sci-mathematics/maxima/files/ecls-3.patch
new file mode 100644
index 000..b44dea4d09a
--- /dev/null
+++ b/sci-mathematics/maxima/files/ecls-3.patch
@@ -0,0 +1,48 @@
+diff -r -U3 maxima-5.42.0.orig/src/maxima.in maxima-5.42.0/src/maxima.in
+--- maxima-5.42.0.orig/src/maxima.in   2018-09-21 08:21:11.0 +0700
 maxima-5.42.0/src/maxima.in2018-10-01 21:49:23.551633882 +0700
+@@ -236,7 +236,7 @@
+fi
+ 
+ elif [ "$MAXIMA_LISP" = "ecl" ]; then
+-   exec "$maxima_image_base" --frame-stack 4096 --lisp-stack 65536 
$MAXIMA_LISP_OPTIONS -- "$@"
++   exec "$maxima_image_base" --frame-stack 4096 --lisp-stack 65536 
$MAXIMA_LISP_OPTIONS -norc -- "$@"
+ 
+ elif [ "$MAXIMA_LISP" = "sbcl" ]; then
+ # Use executable image if it exists.
+diff -r -U3 maxima-5.42.0.orig/src/maxima.system 
maxima-5.42.0/src/maxima.system
+--- maxima-5.42.0.orig/src/maxima.system   2016-12-04 05:27:40.0 
+0700
 maxima-5.42.0/src/maxima.system2018-10-01 22:01:08.068604254 +0700
+@@ -59,6 +59,14 @@
+(c:build-fasl output :lisp-files (list object-output)
+ 
+ #+ecl
++(defun split-ld-flags-for-ecl (string  space)
++  (setf string (string-trim '(#\Space) string))
++  (if (setf space (position #\Space string))
++(cons (subseq string 0 space)
++  (split-ld-flags-for-ecl (subseq string (1+ space
++(cons string nil)))
++
++#+ecl
+ (defun build-maxima-lib ()
+   (labels ((list-all-objects (module)
+  (if (eql (mk::component-type module) :file)
+@@ -75,11 +83,16 @@
+;; Convert dir/foo.fas to dir/foo.o
+(make-pathname :type "o" :defaults p))
+files)))
++   (c::build-fasl "binary-ecl/maxima" :lisp-files obj
++  :ld-flags
++   (let ((x (symbol-value (find-symbol 
"*AUTOCONF-LD-FLAGS*"
++   (find-package 
"MAXIMA")
++ (if (and x (not (string= x ""))) 
(split-ld-flags-for-ecl x
+   (c::build-program "binary-ecl/maxima" :lisp-files obj
+ :ld-flags
+ (let ((x (symbol-value (find-symbol 
"*AUTOCONF-LD-FLAGS*"
+ (find-package 
"MAXIMA")
+-  (if (and x (not (string= x ""))) (list x)))
++  (if (and x (not (string= x ""))) 
(split-ld-flags-for-ecl x)))
+ :epilogue-code '(progn (require :defsystem)
+(cl-user::run)))
+ 

diff --git a/sci-mathematics/maxima/maxima-5.42.0.ebuild 
b/sci-mathematics/maxima/maxima-5.42.0.ebuild
new file mode 100644
index 000..1c0c67e3ac6
--- /dev/null
+++ b/sci-mathematics/maxima/maxima-5.42.0.ebuild
@@ -0,0 +1,212 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools elisp-common eutils xdg-utils
+
+DESCRIPTION="Free computer algebra environment based on Macsyma"

[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/, sci-mathematics/maxima/files/

2018-09-05 Thread Andrey Grozin
commit: 0547f4e74b206aa4fc02746df0e929a3b8777d19
Author: Andrey Grozin  gentoo  org>
AuthorDate: Wed Sep  5 15:26:17 2018 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Wed Sep  5 15:26:17 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0547f4e7

sci-mathematics/maxima: be compatible with emacs-27

add the upstream patch
bump to eapi 6
Closes: https://bugs.gentoo.org/664848
Package-Manager: Portage-2.3.41, Repoman-2.3.9

 sci-mathematics/maxima/files/emacs-27.patch|  10 ++
 sci-mathematics/maxima/files/xdg-utils-1.patch |  31 
 sci-mathematics/maxima/maxima-5.41.0-r2.ebuild | 212 +
 3 files changed, 253 insertions(+)

diff --git a/sci-mathematics/maxima/files/emacs-27.patch 
b/sci-mathematics/maxima/files/emacs-27.patch
new file mode 100644
index 000..ded11659900
--- /dev/null
+++ b/sci-mathematics/maxima/files/emacs-27.patch
@@ -0,0 +1,10 @@
+diff -r -U2 maxima-5.41.0.orig/interfaces/emacs/imaxima/imaxima.el 
maxima-5.41.0/interfaces/emacs/imaxima/imaxima.el
+--- maxima-5.41.0.orig/interfaces/emacs/imaxima/imaxima.el 2016-04-03 
03:42:45.0 +0600
 maxima-5.41.0/interfaces/emacs/imaxima/imaxima.el  2018-09-05 
20:29:46.843231210 +0700
+@@ -528,5 +528,5 @@
+ (set-process-filter imaxima-gs-process 'imaxima-gs-filter)
+ (imaxima-gs-wait)
+-(process-kill-without-query imaxima-gs-process nil)
++(set-process-query-on-exit-flag imaxima-gs-process nil)
+ (unless (eq (process-status imaxima-gs-process) 'run)
+   (setq output (shell-command-to-string (concat imaxima-gs-program " 
-h")))

diff --git a/sci-mathematics/maxima/files/xdg-utils-1.patch 
b/sci-mathematics/maxima/files/xdg-utils-1.patch
new file mode 100644
index 000..4150eb52cb9
--- /dev/null
+++ b/sci-mathematics/maxima/files/xdg-utils-1.patch
@@ -0,0 +1,31 @@
+diff -r -U2 maxima-5.41.0.orig/interfaces/emacs/misc/bookmode.el 
maxima-5.41.0/interfaces/emacs/misc/bookmode.el
+--- maxima-5.41.0.orig/interfaces/emacs/misc/bookmode.el   2017-05-29 
05:30:43.0 +0700
 maxima-5.41.0/interfaces/emacs/misc/bookmode.el2018-09-05 
20:53:02.518172515 +0700
+@@ -681,5 +681,5 @@
+ (and tem
+  (list (concat "View "(nth 1 tem))
+-   'call-process  "ghostview" nil nil nil
++   'call-process  "xdg-open" nil nil nil
+(expand-file-name(nth 1 tem))
+))
+@@ -706,5 +706,5 @@
+ (cond ((looking-at "%PS") "")
+   (t "gzip -dc | "))
+-"ghostview -")
++"xdg-open -")
+
+   )))
+diff -r -U2 maxima-5.41.0.orig/interfaces/xmaxima/Tkmaxima/Constants.tcl 
maxima-5.41.0/interfaces/xmaxima/Tkmaxima/Constants.tcl
+--- maxima-5.41.0.orig/interfaces/xmaxima/Tkmaxima/Constants.tcl   
2016-04-03 03:42:45.0 +0600
 maxima-5.41.0/interfaces/xmaxima/Tkmaxima/Constants.tcl2018-09-05 
20:55:25.180166516 +0700
+@@ -154,7 +154,7 @@
+ image/png  netmath
+ image/jpeg netmath
+-application/postscript "ghostview -safer %s"
+-application/pdf "acroread %s"
+-application/x-dvi "xdvi %s"
++application/postscript "xdg-open %s"
++application/pdf "xdg-open %s"
++application/x-dvi "xdg-open %s"
+ }
+ set maxima_priv(imagecounter) 0

diff --git a/sci-mathematics/maxima/maxima-5.41.0-r2.ebuild 
b/sci-mathematics/maxima/maxima-5.41.0-r2.ebuild
new file mode 100644
index 000..c09441ad802
--- /dev/null
+++ b/sci-mathematics/maxima/maxima-5.41.0-r2.ebuild
@@ -0,0 +1,212 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools elisp-common eutils xdg-utils
+
+DESCRIPTION="Free computer algebra environment based on Macsyma"
+HOMEPAGE="http://maxima.sourceforge.net/;
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2 GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+
+# Supported lisps
+LISPS=( sbcl cmucl gcl ecls clozurecl clisp )
+#  supports readline: . - no, y - yes
+SUPP_RL=(   .. y   .. y )
+# . - just --enable-,  - --enable-
+CONF_FLAG=( .. .   ecl  ccl   . )
+# patch file version; . - no patch
+PATCH_V=(   21 .   22 1 )
+
+IUSE="emacs tk nls unicode X ${LISPS[*]}"
+
+# Languages
+LANGS="de es pt pt_BR"
+for lang in ${LANGS}; do
+   IUSE="${IUSE} l10n_${lang/_/-}"
+done
+
+# texlive-latexrecommended needed by imaxima for breqn.sty
+RDEPEND="!app-emacs/imaxima
+   X? ( x11-misc/xdg-utils
+sci-visualization/gnuplot[gd]
+tk? ( dev-lang/tk:0 ) )
+   emacs? ( virtual/emacs
+   virtual/latex-base
+   app-emacs/auctex
+

[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/

2018-09-05 Thread Andrey Grozin
commit: fdbe9c79c005256cb97f2959d1673055fc9ad2c3
Author: Andrey Grozin  gentoo  org>
AuthorDate: Wed Sep  5 15:21:55 2018 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Wed Sep  5 15:21:55 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fdbe9c79

sci-mathematics/maxima: clean old

Package-Manager: Portage-2.3.41, Repoman-2.3.9

 sci-mathematics/maxima/maxima-5.41.0.ebuild | 208 
 1 file changed, 208 deletions(-)

diff --git a/sci-mathematics/maxima/maxima-5.41.0.ebuild 
b/sci-mathematics/maxima/maxima-5.41.0.ebuild
deleted file mode 100644
index cf8753a2f9e..000
--- a/sci-mathematics/maxima/maxima-5.41.0.ebuild
+++ /dev/null
@@ -1,208 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit autotools elisp-common eutils
-
-DESCRIPTION="Free computer algebra environment based on Macsyma"
-HOMEPAGE="http://maxima.sourceforge.net/;
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2 GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
-
-# Supported lisps
-LISPS=( sbcl cmucl gcl ecls clozurecl clisp )
-#  supports readline: . - no, y - yes
-SUPP_RL=(   .. y   .. y )
-# . - just --enable-,  - --enable-
-CONF_FLAG=( .. .   ecl  ccl   . )
-# patch file version; . - no patch
-PATCH_V=(   21 .   22 1 )
-
-IUSE="emacs tk nls unicode X ${LISPS[*]}"
-
-# Languages
-LANGS="de es pt pt_BR"
-for lang in ${LANGS}; do
-   IUSE="${IUSE} l10n_${lang/_/-}"
-done
-
-# texlive-latexrecommended needed by imaxima for breqn.sty
-RDEPEND="!app-emacs/imaxima
-   X? ( x11-misc/xdg-utils
-sci-visualization/gnuplot[gd]
-tk? ( dev-lang/tk:0 ) )
-   emacs? ( virtual/emacs
-   virtual/latex-base
-   app-emacs/auctex
-   app-text/ghostscript-gpl
-   dev-texlive/texlive-latexrecommended )"
-
-# generating lisp dependencies
-depends() {
-   local LISP DEP
-   LISP=${LISPS[$1]}
-   DEP="dev-lisp/${LISP}:="
-   if [ "${SUPP_RL[$1]}" = "." ]; then
-   DEP="${DEP} app-misc/rlwrap"
-   fi
-   echo ${DEP}
-}
-
-n=${#LISPS[*]}
-for ((n--; n >= 0; n--)); do
-   LISP=${LISPS[${n}]}
-   RDEPEND="${RDEPEND} ${LISP}? ( $(depends ${n}) )"
-   DEF_DEP="${DEF_DEP} !${LISP}? ( "
-done
-
-# default lisp
-DEF_LISP=0 # sbcl
-ARM_LISP=2 # gcl
-DEF_DEP="${DEF_DEP} arm? ( `depends ${ARM_LISP}` ) !arm? ( `depends 
${DEF_LISP}` )"
-
-n=${#LISPS[*]}
-for ((n--; n >= 0; n--)); do
-   DEF_DEP="${DEF_DEP} )"
-done
-
-unset LISP
-
-RDEPEND="${RDEPEND}
-   ${DEF_DEP}"
-
-DEPEND="${RDEPEND}
-   sys-apps/texinfo"
-
-TEXMF="${EPREFIX}"/usr/share/texmf-site
-
-pkg_setup() {
-   local n=${#LISPS[*]}
-
-   for ((n--; n >= 0; n--)); do
-   use ${LISPS[${n}]} && NLISPS="${NLISPS} ${n}"
-   done
-
-   if [ -z "${NLISPS}" ]; then
-   use arm && DEF_LISP=${ARM_LISP}
-   ewarn "No lisp specified in USE flags, choosing 
${LISPS[${DEF_LISP}]} as default"
-   NLISPS=${DEF_LISP}
-   fi
-}
-
-src_prepare() {
-   local n PATCHES v
-   PATCHES=( emacs-0 rmaxima-0 wish-2 xdg-utils-0 )
-
-   n=${#PATCHES[*]}
-   for ((n--; n >= 0; n--)); do
-   epatch "${FILESDIR}"/${PATCHES[${n}]}.patch
-   done
-
-   n=${#LISPS[*]}
-   for ((n--; n >= 0; n--)); do
-   v=${PATCH_V[${n}]}
-   if [ "${v}" != "." ]; then
-   epatch "${FILESDIR}"/${LISPS[${n}]}-${v}.patch
-   fi
-   done
-
-   # bug #343331
-   rm share/Makefile.in || die
-   rm src/Makefile.in || die
-   touch src/*.mk
-   touch src/Makefile.am
-   eautoreconf
-}
-
-src_configure() {
-   local CONFS CONF n lang
-   for n in ${NLISPS}; do
-   CONF=${CONF_FLAG[${n}]}
-   if [ ${CONF} = . ]; then
-   CONF=${LISPS[${n}]}
-   fi
-   CONFS="${CONFS} --enable-${CONF}"
-   done
-
-   # enable existing translated doc
-   if use nls; then
-   for lang in ${LANGS}; do
-   if use "l10n_${lang/_/-}"; then
-   CONFS="${CONFS} --enable-lang-${lang}"
-   use unicode && CONFS="${CONFS} 
--enable-lang-${lang}-utf8"
-   fi
-   done
-   fi
-
-   econf ${CONFS} \
-   $(use_with tk wish) \
-   $(use_enable emacs) \
-   --with-lispdir="${EPREFIX}/${SITELISP}/${PN}"
-}
-
-src_compile() {
-   emake
-   if use emacs; then
-   pushd interfaces/emacs/emaxima > /dev/null
-   elisp-compile *.el
-   popd > 

[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/

2018-01-07 Thread Ulrich Müller
commit: fce3c9c6dae29b079268507c8f680c9244883786
Author: Ulrich Müller  gentoo  org>
AuthorDate: Sun Jan  7 16:56:55 2018 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Sun Jan  7 16:57:38 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fce3c9c6

sci-mathematics/maxima: Migrate also the stable ebuild to L10N.

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sci-mathematics/maxima/maxima-5.38.1.ebuild | 6 +++---
 sci-mathematics/maxima/maxima-5.41.0.ebuild | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/sci-mathematics/maxima/maxima-5.38.1.ebuild 
b/sci-mathematics/maxima/maxima-5.38.1.ebuild
index af6a58ee435..66c232a18d7 100644
--- a/sci-mathematics/maxima/maxima-5.38.1.ebuild
+++ b/sci-mathematics/maxima/maxima-5.38.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -27,7 +27,7 @@ IUSE="emacs tk nls unicode X ${LISPS[*]}"
 # Languages
 LANGS="de es pt pt_BR"
 for lang in ${LANGS}; do
-   IUSE="${IUSE} linguas_${lang}"
+   IUSE="${IUSE} l10n_${lang/_/-}"
 done
 
 # texlive-latexrecommended needed by imaxima for breqn.sty
@@ -131,7 +131,7 @@ src_configure() {
# enable existing translated doc
if use nls; then
for lang in ${LANGS}; do
-   if use "linguas_${lang}"; then
+   if use "l10n_${lang/_/-}"; then
CONFS="${CONFS} --enable-lang-${lang}"
use unicode && CONFS="${CONFS} 
--enable-lang-${lang}-utf8"
fi

diff --git a/sci-mathematics/maxima/maxima-5.41.0.ebuild 
b/sci-mathematics/maxima/maxima-5.41.0.ebuild
index 8bdc377e848..cf8753a2f9e 100644
--- a/sci-mathematics/maxima/maxima-5.41.0.ebuild
+++ b/sci-mathematics/maxima/maxima-5.41.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -27,7 +27,7 @@ IUSE="emacs tk nls unicode X ${LISPS[*]}"
 # Languages
 LANGS="de es pt pt_BR"
 for lang in ${LANGS}; do
-   IUSE="${IUSE} linguas_${lang}"
+   IUSE="${IUSE} l10n_${lang/_/-}"
 done
 
 # texlive-latexrecommended needed by imaxima for breqn.sty
@@ -131,7 +131,7 @@ src_configure() {
# enable existing translated doc
if use nls; then
for lang in ${LANGS}; do
-   if use "linguas_${lang}"; then
+   if use "l10n_${lang/_/-}"; then
CONFS="${CONFS} --enable-lang-${lang}"
use unicode && CONFS="${CONFS} 
--enable-lang-${lang}-utf8"
fi



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/

2017-12-31 Thread Andrey Grozin
commit: c368290e053a21a32273f3c3d521021f7c95575a
Author: Andrey Grozin  gentoo  org>
AuthorDate: Sun Dec 31 13:31:59 2017 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Sun Dec 31 13:31:59 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c368290e

sci-mathematics/maxima: call xdg_mimeinfo_database_update

Closes: https://bugs.gentoo.org/642820
Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sci-mathematics/maxima/maxima-5.41.0-r1.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sci-mathematics/maxima/maxima-5.41.0-r1.ebuild 
b/sci-mathematics/maxima/maxima-5.41.0-r1.ebuild
index d525a57c25f..c9917d44ca0 100644
--- a/sci-mathematics/maxima/maxima-5.41.0-r1.ebuild
+++ b/sci-mathematics/maxima/maxima-5.41.0-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=5
 
-inherit autotools elisp-common eutils
+inherit autotools elisp-common eutils xdg
 
 DESCRIPTION="Free computer algebra environment based on Macsyma"
 HOMEPAGE="http://maxima.sourceforge.net/;
@@ -194,6 +194,7 @@ src_install() {
 }
 
 pkg_postinst() {
+   xdg_mimeinfo_database_update
if use emacs; then
elisp-site-regen
mktexlsr
@@ -201,6 +202,7 @@ pkg_postinst() {
 }
 
 pkg_postrm() {
+   xdg_mimeinfo_database_update
if use emacs; then
elisp-site-regen
mktexlsr



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/files/, sci-mathematics/maxima/

2017-12-30 Thread Andrey Grozin
commit: e954c188b17b8fb279bfadf1051de87bad4cbae3
Author: Andrey Grozin  gentoo  org>
AuthorDate: Sun Dec 31 05:13:52 2017 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Sun Dec 31 05:13:52 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e954c188

sci-mathematics/maxima: clean 5.37.3-r4, 5.39.0, 5.40.0

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sci-mathematics/maxima/Manifest|   3 -
 sci-mathematics/maxima/files/db-0.patch|  20 ---
 sci-mathematics/maxima/files/sbcl-1.patch  |  18 ---
 sci-mathematics/maxima/maxima-5.37.3-r4.ebuild | 208 -
 sci-mathematics/maxima/maxima-5.39.0.ebuild| 208 -
 sci-mathematics/maxima/maxima-5.40.0.ebuild| 208 -
 6 files changed, 665 deletions(-)

diff --git a/sci-mathematics/maxima/Manifest b/sci-mathematics/maxima/Manifest
index fbdaef9a84b..47cab5b50ef 100644
--- a/sci-mathematics/maxima/Manifest
+++ b/sci-mathematics/maxima/Manifest
@@ -1,5 +1,2 @@
-DIST maxima-5.37.3.tar.gz 29964644 BLAKE2B 
8f98de6cd331fe6306298f962da953c3dd90a4d44f2ab062117eff42f1d63a82db92232d14fe48997241acc34cb9d7af2e997e8df215a49ba1df75702f650f92
 SHA512 
a337afdc779abc88297e7dadf8af949da881c91a237e85ed654046c98692f2446c0b2ddb8c81b637cb7a35dd3b712832aadc5dedcaa8b681496dae4835c9d0f1
 DIST maxima-5.38.1.tar.gz 38641257 BLAKE2B 
0244b5dbdd337e64d4f7c3e7f6b946463b0246a9fd0660588798f7891fd1599cf400369fe0d1ce3433d01ce2e4b8bc86ad405d3f8368b429cd028362ec66a1b4
 SHA512 
abca10984dbb22a48bae481b2e803cb5bee6776e974b4bb9271773aa035fb5e49f34b2458aabca01f0a681a07179e57c012273be6f8d53c615b3309b1034abf9
-DIST maxima-5.39.0.tar.gz 38652090 BLAKE2B 
13642beb12e5ca5d3284abc0f7a7a0f00913e22b224f5f6fbca24a75445371fb46131ad32c48e539143524b79a32cda307be94642daf6287a050b99559b18246
 SHA512 
393ade47fc3832ee44df7bf0c3bd2e501755167ec0f02d50d5876e7cf54fe682f2ebf2511290fa498d174e55961451e61ea5c1c5f6e5f9e6d04ad73d45a5d2a9
-DIST maxima-5.40.0.tar.gz 41668208 BLAKE2B 
da33cbfb655419cee697dd74861256f4b77b2d52b0a19869010781008d50c6841259db74d95b283e25a9827fc47e340f24c5b0d781f548eae039fdea3d98d310
 SHA512 
7aa36ae56c289e1cc6bb1722a6ee93fed5bf893747a26bb52a48f93cd02d65b63c453f37dc2c86ab4596ad192150aed9ad6b361ab295eda5207d9633c07cdee6
 DIST maxima-5.41.0.tar.gz 41540226 BLAKE2B 
ff726044c9026bc58d04832fa6382146ed7e7d61d801fa7131b1e7e2ed386b99e238e039481697f9aa24cea59ffd0f6811675cd28818c9fe53f023f965f9d149
 SHA512 
1b93ae2db055ba7fb4a95924a896667f0cfa1c675c603c104181662aeb32b10b006158526b2f3ad93a59688a23eacdc82e870bb8ffb182a89e1e51de013ec209

diff --git a/sci-mathematics/maxima/files/db-0.patch 
b/sci-mathematics/maxima/files/db-0.patch
deleted file mode 100644
index d6cc18617cc..000
--- a/sci-mathematics/maxima/files/db-0.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-diff -r -U2 maxima-5.37.1.orig/src/db.lisp maxima-5.37.1/src/db.lisp
 maxima-5.37.1.orig/src/db.lisp 2015-08-11 01:01:13.0 +0600
-+++ maxima-5.37.1/src/db.lisp  2015-09-04 00:21:43.596685564 +0600
-@@ -389,10 +389,14 @@
- 
- (defmfun isp (pat)
--  (let ((isp 'unknown))
-+  (let ((isp 'unknown) #+ccl (err t))
- (ignore-errors
-   (setq isp
-   (cond ((truep pat))
- ((falsep pat) nil)
--(t 'unknown
-+(t 'unknown)))
-+  (setq err nil))
-+#+ccl
-+(when err
-+  (setq +labs nil))
- isp))
- 

diff --git a/sci-mathematics/maxima/files/sbcl-1.patch 
b/sci-mathematics/maxima/files/sbcl-1.patch
deleted file mode 100644
index 8899f097370..000
--- a/sci-mathematics/maxima/files/sbcl-1.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-diff -r -U1 maxima-5.37.1.orig/src/maxima.in maxima-5.37.1/src/maxima.in
 maxima-5.37.1.orig/src/maxima.in   2015-05-22 04:40:03.0 +0600
-+++ maxima-5.37.1/src/maxima.in2015-09-03 16:22:57.340893630 +0600
-@@ -193,5 +193,5 @@
-   if [ -x "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" ]; then
--exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" --noinform 
$MAXIMA_LISP_OPTIONS --end-runtime-options --eval '(cl-user::run)' 
--end-toplevel-options "$@"
-+exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" --noinform 
$MAXIMA_LISP_OPTIONS --end-runtime-options --no-sysinit --no-userinit --eval 
'(cl-user::run)' --end-toplevel-options "$@"
-   else
--exec "@SBCL_NAME@" --core "$maxima_image_base.core" --noinform 
$MAXIMA_LISP_OPTIONS --end-runtime-options --eval '(cl-user::run)' 
--end-toplevel-options "$@"
-+exec "@SBCL_NAME@" --core "$maxima_image_base.core" --noinform 
$MAXIMA_LISP_OPTIONS --end-runtime-options --no-sysinit --no-userinit --eval 
'(cl-user::run)' --end-toplevel-options "$@"
-   fi
-diff -r -U1 maxima-5.37.1.orig/src/server.lisp maxima-5.37.1/src/server.lisp
 maxima-5.37.1.orig/src/server.lisp 2015-04-10 01:41:59.0 +0600
-+++ maxima-5.37.1/src/server.lisp  2015-09-03 16:23:47.100891537 +0600
-@@ -10,3 +10,2 @@
- (eval-when 

[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/

2017-12-30 Thread Andrey Grozin
commit: 474542b951582bba7565591e70121c55774fdd13
Author: Andrey Grozin  gentoo  org>
AuthorDate: Sun Dec 31 04:59:28 2017 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Sun Dec 31 04:59:28 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=474542b9

sci-mathematics/maxima: use l10n instead of linguas

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sci-mathematics/maxima/maxima-5.41.0-r1.ebuild | 208 +
 1 file changed, 208 insertions(+)

diff --git a/sci-mathematics/maxima/maxima-5.41.0-r1.ebuild 
b/sci-mathematics/maxima/maxima-5.41.0-r1.ebuild
new file mode 100644
index 000..d525a57c25f
--- /dev/null
+++ b/sci-mathematics/maxima/maxima-5.41.0-r1.ebuild
@@ -0,0 +1,208 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit autotools elisp-common eutils
+
+DESCRIPTION="Free computer algebra environment based on Macsyma"
+HOMEPAGE="http://maxima.sourceforge.net/;
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2 GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+
+# Supported lisps
+LISPS=( sbcl cmucl gcl ecls clozurecl clisp )
+#  supports readline: . - no, y - yes
+SUPP_RL=(   .. y   .. y )
+# . - just --enable-,  - --enable-
+CONF_FLAG=( .. .   ecl  ccl   . )
+# patch file version; . - no patch
+PATCH_V=(   21 .   22 1 )
+
+IUSE="emacs tk nls unicode X ${LISPS[*]}"
+
+# Languages
+LANGS="de es pt pt_BR"
+for lang in ${LANGS}; do
+   IUSE="${IUSE} l10n_${lang/_/-}"
+done
+
+# texlive-latexrecommended needed by imaxima for breqn.sty
+RDEPEND="!app-emacs/imaxima
+   X? ( x11-misc/xdg-utils
+sci-visualization/gnuplot[gd]
+tk? ( dev-lang/tk:0 ) )
+   emacs? ( virtual/emacs
+   virtual/latex-base
+   app-emacs/auctex
+   app-text/ghostscript-gpl
+   dev-texlive/texlive-latexrecommended )"
+
+# generating lisp dependencies
+depends() {
+   local LISP DEP
+   LISP=${LISPS[$1]}
+   DEP="dev-lisp/${LISP}:="
+   if [ "${SUPP_RL[$1]}" = "." ]; then
+   DEP="${DEP} app-misc/rlwrap"
+   fi
+   echo ${DEP}
+}
+
+n=${#LISPS[*]}
+for ((n--; n >= 0; n--)); do
+   LISP=${LISPS[${n}]}
+   RDEPEND="${RDEPEND} ${LISP}? ( $(depends ${n}) )"
+   DEF_DEP="${DEF_DEP} !${LISP}? ( "
+done
+
+# default lisp
+DEF_LISP=0 # sbcl
+ARM_LISP=2 # gcl
+DEF_DEP="${DEF_DEP} arm? ( `depends ${ARM_LISP}` ) !arm? ( `depends 
${DEF_LISP}` )"
+
+n=${#LISPS[*]}
+for ((n--; n >= 0; n--)); do
+   DEF_DEP="${DEF_DEP} )"
+done
+
+unset LISP
+
+RDEPEND="${RDEPEND}
+   ${DEF_DEP}"
+
+DEPEND="${RDEPEND}
+   sys-apps/texinfo"
+
+TEXMF="${EPREFIX}"/usr/share/texmf-site
+
+pkg_setup() {
+   local n=${#LISPS[*]}
+
+   for ((n--; n >= 0; n--)); do
+   use ${LISPS[${n}]} && NLISPS="${NLISPS} ${n}"
+   done
+
+   if [ -z "${NLISPS}" ]; then
+   use arm && DEF_LISP=${ARM_LISP}
+   ewarn "No lisp specified in USE flags, choosing 
${LISPS[${DEF_LISP}]} as default"
+   NLISPS=${DEF_LISP}
+   fi
+}
+
+src_prepare() {
+   local n PATCHES v
+   PATCHES=( emacs-0 rmaxima-0 wish-2 xdg-utils-0 )
+
+   n=${#PATCHES[*]}
+   for ((n--; n >= 0; n--)); do
+   epatch "${FILESDIR}"/${PATCHES[${n}]}.patch
+   done
+
+   n=${#LISPS[*]}
+   for ((n--; n >= 0; n--)); do
+   v=${PATCH_V[${n}]}
+   if [ "${v}" != "." ]; then
+   epatch "${FILESDIR}"/${LISPS[${n}]}-${v}.patch
+   fi
+   done
+
+   # bug #343331
+   rm share/Makefile.in || die
+   rm src/Makefile.in || die
+   touch src/*.mk
+   touch src/Makefile.am
+   eautoreconf
+}
+
+src_configure() {
+   local CONFS CONF n lang
+   for n in ${NLISPS}; do
+   CONF=${CONF_FLAG[${n}]}
+   if [ ${CONF} = . ]; then
+   CONF=${LISPS[${n}]}
+   fi
+   CONFS="${CONFS} --enable-${CONF}"
+   done
+
+   # enable existing translated doc
+   if use nls; then
+   for lang in ${LANGS}; do
+   if use "l10n_${lang/_/-}"; then
+   CONFS="${CONFS} --enable-lang-${lang}"
+   use unicode && CONFS="${CONFS} 
--enable-lang-${lang}-utf8"
+   fi
+   done
+   fi
+
+   econf ${CONFS} \
+   $(use_with tk wish) \
+   $(use_enable emacs) \
+   --with-lispdir="${EPREFIX}/${SITELISP}/${PN}"
+}
+
+src_compile() {
+   emake
+   if use emacs; then
+   pushd interfaces/emacs/emaxima > /dev/null
+   elisp-compile *.el
+   

[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/

2017-10-05 Thread Andrey Grozin
commit: 02e56ee24725f083e92b14c9ee94dadc9a1613ed
Author: Andrey Grozin  gentoo  org>
AuthorDate: Thu Oct  5 15:59:20 2017 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Thu Oct  5 15:59:20 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02e56ee2

sci-mathematics/maxima: bump to 5.41.0

Package-Manager: Portage-2.3.6, Repoman-2.3.3

 sci-mathematics/maxima/Manifest |   1 +
 sci-mathematics/maxima/maxima-5.41.0.ebuild | 208 
 2 files changed, 209 insertions(+)

diff --git a/sci-mathematics/maxima/Manifest b/sci-mathematics/maxima/Manifest
index 07b5abb8401..40dfcadef20 100644
--- a/sci-mathematics/maxima/Manifest
+++ b/sci-mathematics/maxima/Manifest
@@ -2,3 +2,4 @@ DIST maxima-5.37.3.tar.gz 29964644 SHA256 
8bd5dcd672f37ea752385475fc64f8c87dfa29
 DIST maxima-5.38.1.tar.gz 38641257 SHA256 
0e866536ab5847ec045ba013570f80f36206ca6ce07a5d13987010bcb321c6dc SHA512 
abca10984dbb22a48bae481b2e803cb5bee6776e974b4bb9271773aa035fb5e49f34b2458aabca01f0a681a07179e57c012273be6f8d53c615b3309b1034abf9
 WHIRLPOOL 
443ab032e784e4e2c37274dc3b1635acd9ede08af7863793f93b2f8fdc10e9cce8d4b1a5e98df9a6486fe97e082fb4030fbb3208939ab627f7ca333de7c224b8
 DIST maxima-5.39.0.tar.gz 38652090 SHA256 
f58ff98013fcaa37d8661b941672c38db58f982f082d6cfcca1f1b5fac7d71b3 SHA512 
393ade47fc3832ee44df7bf0c3bd2e501755167ec0f02d50d5876e7cf54fe682f2ebf2511290fa498d174e55961451e61ea5c1c5f6e5f9e6d04ad73d45a5d2a9
 WHIRLPOOL 
35c7e4acf7933c11562ade2ce30b9c3865a052fc13f9880502165313aae66925aff44cc9d70666001d0378ef14b2e0bf6bc2faeb258b6d50e558b9e043cd972c
 DIST maxima-5.40.0.tar.gz 41668208 SHA256 
74fe468cd372714622a99afb6b34297589ddd80386e125d71067d3e75519f796 SHA512 
7aa36ae56c289e1cc6bb1722a6ee93fed5bf893747a26bb52a48f93cd02d65b63c453f37dc2c86ab4596ad192150aed9ad6b361ab295eda5207d9633c07cdee6
 WHIRLPOOL 
0e66c5492728a1d21ef7b72fd227943200725c5dad812d81e111f609f381a94a66432c7ff13608e18fc5f2616f8992b46769b421b6942d10fb796d3992d46c8a
+DIST maxima-5.41.0.tar.gz 41540226 SHA256 
daf8254600f4c7d9f079a0084178aaf036bd97a63b1e77b945f4120d7e401674 SHA512 
1b93ae2db055ba7fb4a95924a896667f0cfa1c675c603c104181662aeb32b10b006158526b2f3ad93a59688a23eacdc82e870bb8ffb182a89e1e51de013ec209
 WHIRLPOOL 
3b3ebd648be9c51280e80312ef4666eb1e190391f196fd4f4a49326be1abd46f1bbffe2d6184d0e4d477a18f0409eb259104f1a030218bc190185873cee3e3a1

diff --git a/sci-mathematics/maxima/maxima-5.41.0.ebuild 
b/sci-mathematics/maxima/maxima-5.41.0.ebuild
new file mode 100644
index 000..8bdc377e848
--- /dev/null
+++ b/sci-mathematics/maxima/maxima-5.41.0.ebuild
@@ -0,0 +1,208 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit autotools elisp-common eutils
+
+DESCRIPTION="Free computer algebra environment based on Macsyma"
+HOMEPAGE="http://maxima.sourceforge.net/;
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2 GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+
+# Supported lisps
+LISPS=( sbcl cmucl gcl ecls clozurecl clisp )
+#  supports readline: . - no, y - yes
+SUPP_RL=(   .. y   .. y )
+# . - just --enable-,  - --enable-
+CONF_FLAG=( .. .   ecl  ccl   . )
+# patch file version; . - no patch
+PATCH_V=(   21 .   22 1 )
+
+IUSE="emacs tk nls unicode X ${LISPS[*]}"
+
+# Languages
+LANGS="de es pt pt_BR"
+for lang in ${LANGS}; do
+   IUSE="${IUSE} linguas_${lang}"
+done
+
+# texlive-latexrecommended needed by imaxima for breqn.sty
+RDEPEND="!app-emacs/imaxima
+   X? ( x11-misc/xdg-utils
+sci-visualization/gnuplot[gd]
+tk? ( dev-lang/tk:0 ) )
+   emacs? ( virtual/emacs
+   virtual/latex-base
+   app-emacs/auctex
+   app-text/ghostscript-gpl
+   dev-texlive/texlive-latexrecommended )"
+
+# generating lisp dependencies
+depends() {
+   local LISP DEP
+   LISP=${LISPS[$1]}
+   DEP="dev-lisp/${LISP}:="
+   if [ "${SUPP_RL[$1]}" = "." ]; then
+   DEP="${DEP} app-misc/rlwrap"
+   fi
+   echo ${DEP}
+}
+
+n=${#LISPS[*]}
+for ((n--; n >= 0; n--)); do
+   LISP=${LISPS[${n}]}
+   RDEPEND="${RDEPEND} ${LISP}? ( $(depends ${n}) )"
+   DEF_DEP="${DEF_DEP} !${LISP}? ( "
+done
+
+# default lisp
+DEF_LISP=0 # sbcl
+ARM_LISP=2 # gcl
+DEF_DEP="${DEF_DEP} arm? ( `depends ${ARM_LISP}` ) !arm? ( `depends 
${DEF_LISP}` )"
+
+n=${#LISPS[*]}
+for ((n--; n >= 0; n--)); do
+   DEF_DEP="${DEF_DEP} )"
+done
+
+unset LISP
+
+RDEPEND="${RDEPEND}
+   ${DEF_DEP}"
+
+DEPEND="${RDEPEND}
+   sys-apps/texinfo"
+
+TEXMF="${EPREFIX}"/usr/share/texmf-site
+
+pkg_setup() {
+   local n=${#LISPS[*]}
+
+   for ((n--; n >= 0; n--)); do
+   use ${LISPS[${n}]} && NLISPS="${NLISPS} ${n}"
+   done
+
+   if [ -z 

[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/

2017-05-30 Thread Andrey Grozin
commit: ae0479ad313ba28c0661a399552606701365e925
Author: Andrey Grozin  gentoo  org>
AuthorDate: Tue May 30 19:36:43 2017 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Tue May 30 19:37:46 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae0479ad

sci-mathematics/maxima: bump to 5.40.0

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 sci-mathematics/maxima/Manifest |   1 +
 sci-mathematics/maxima/maxima-5.40.0.ebuild | 208 
 2 files changed, 209 insertions(+)

diff --git a/sci-mathematics/maxima/Manifest b/sci-mathematics/maxima/Manifest
index bd89940df54..07b5abb8401 100644
--- a/sci-mathematics/maxima/Manifest
+++ b/sci-mathematics/maxima/Manifest
@@ -1,3 +1,4 @@
 DIST maxima-5.37.3.tar.gz 29964644 SHA256 
8bd5dcd672f37ea752385475fc64f8c87dfa29bbe34766cbcb87b1f63dfb5934 SHA512 
a337afdc779abc88297e7dadf8af949da881c91a237e85ed654046c98692f2446c0b2ddb8c81b637cb7a35dd3b712832aadc5dedcaa8b681496dae4835c9d0f1
 WHIRLPOOL 
d24eeb7f39f88b9f542e28db28b8f249b1badc059fe744a83209b102b8f776131e4b2f91c28949f4f6de8323f163cb0a6be9bafc3c0ef058a73e9b543622e976
 DIST maxima-5.38.1.tar.gz 38641257 SHA256 
0e866536ab5847ec045ba013570f80f36206ca6ce07a5d13987010bcb321c6dc SHA512 
abca10984dbb22a48bae481b2e803cb5bee6776e974b4bb9271773aa035fb5e49f34b2458aabca01f0a681a07179e57c012273be6f8d53c615b3309b1034abf9
 WHIRLPOOL 
443ab032e784e4e2c37274dc3b1635acd9ede08af7863793f93b2f8fdc10e9cce8d4b1a5e98df9a6486fe97e082fb4030fbb3208939ab627f7ca333de7c224b8
 DIST maxima-5.39.0.tar.gz 38652090 SHA256 
f58ff98013fcaa37d8661b941672c38db58f982f082d6cfcca1f1b5fac7d71b3 SHA512 
393ade47fc3832ee44df7bf0c3bd2e501755167ec0f02d50d5876e7cf54fe682f2ebf2511290fa498d174e55961451e61ea5c1c5f6e5f9e6d04ad73d45a5d2a9
 WHIRLPOOL 
35c7e4acf7933c11562ade2ce30b9c3865a052fc13f9880502165313aae66925aff44cc9d70666001d0378ef14b2e0bf6bc2faeb258b6d50e558b9e043cd972c
+DIST maxima-5.40.0.tar.gz 41668208 SHA256 
74fe468cd372714622a99afb6b34297589ddd80386e125d71067d3e75519f796 SHA512 
7aa36ae56c289e1cc6bb1722a6ee93fed5bf893747a26bb52a48f93cd02d65b63c453f37dc2c86ab4596ad192150aed9ad6b361ab295eda5207d9633c07cdee6
 WHIRLPOOL 
0e66c5492728a1d21ef7b72fd227943200725c5dad812d81e111f609f381a94a66432c7ff13608e18fc5f2616f8992b46769b421b6942d10fb796d3992d46c8a

diff --git a/sci-mathematics/maxima/maxima-5.40.0.ebuild 
b/sci-mathematics/maxima/maxima-5.40.0.ebuild
new file mode 100644
index 000..8bdc377e848
--- /dev/null
+++ b/sci-mathematics/maxima/maxima-5.40.0.ebuild
@@ -0,0 +1,208 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit autotools elisp-common eutils
+
+DESCRIPTION="Free computer algebra environment based on Macsyma"
+HOMEPAGE="http://maxima.sourceforge.net/;
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2 GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+
+# Supported lisps
+LISPS=( sbcl cmucl gcl ecls clozurecl clisp )
+#  supports readline: . - no, y - yes
+SUPP_RL=(   .. y   .. y )
+# . - just --enable-,  - --enable-
+CONF_FLAG=( .. .   ecl  ccl   . )
+# patch file version; . - no patch
+PATCH_V=(   21 .   22 1 )
+
+IUSE="emacs tk nls unicode X ${LISPS[*]}"
+
+# Languages
+LANGS="de es pt pt_BR"
+for lang in ${LANGS}; do
+   IUSE="${IUSE} linguas_${lang}"
+done
+
+# texlive-latexrecommended needed by imaxima for breqn.sty
+RDEPEND="!app-emacs/imaxima
+   X? ( x11-misc/xdg-utils
+sci-visualization/gnuplot[gd]
+tk? ( dev-lang/tk:0 ) )
+   emacs? ( virtual/emacs
+   virtual/latex-base
+   app-emacs/auctex
+   app-text/ghostscript-gpl
+   dev-texlive/texlive-latexrecommended )"
+
+# generating lisp dependencies
+depends() {
+   local LISP DEP
+   LISP=${LISPS[$1]}
+   DEP="dev-lisp/${LISP}:="
+   if [ "${SUPP_RL[$1]}" = "." ]; then
+   DEP="${DEP} app-misc/rlwrap"
+   fi
+   echo ${DEP}
+}
+
+n=${#LISPS[*]}
+for ((n--; n >= 0; n--)); do
+   LISP=${LISPS[${n}]}
+   RDEPEND="${RDEPEND} ${LISP}? ( $(depends ${n}) )"
+   DEF_DEP="${DEF_DEP} !${LISP}? ( "
+done
+
+# default lisp
+DEF_LISP=0 # sbcl
+ARM_LISP=2 # gcl
+DEF_DEP="${DEF_DEP} arm? ( `depends ${ARM_LISP}` ) !arm? ( `depends 
${DEF_LISP}` )"
+
+n=${#LISPS[*]}
+for ((n--; n >= 0; n--)); do
+   DEF_DEP="${DEF_DEP} )"
+done
+
+unset LISP
+
+RDEPEND="${RDEPEND}
+   ${DEF_DEP}"
+
+DEPEND="${RDEPEND}
+   sys-apps/texinfo"
+
+TEXMF="${EPREFIX}"/usr/share/texmf-site
+
+pkg_setup() {
+   local n=${#LISPS[*]}
+
+   for ((n--; n >= 0; n--)); do
+   use ${LISPS[${n}]} && NLISPS="${NLISPS} ${n}"
+   done
+
+   if [ -z "${NLISPS}" ]; then
+   use arm && DEF_LISP=${ARM_LISP}
+   

[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/, sci-mathematics/maxima/files/

2017-01-13 Thread Ulrich Müller
commit: 15e36e1852ee097c668f686a033f4ed22695f4d5
Author: Ulrich Müller  gentoo  org>
AuthorDate: Fri Jan 13 19:29:55 2017 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Fri Jan 13 20:35:27 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15e36e18

sci-mathematics/maxima: Remove old.

maxima-5.34.1 is the last reverse dependency blocking removal of
app-emacs/imaxima.

Bug: 448242

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 sci-mathematics/maxima/Manifest   |   1 -
 sci-mathematics/maxima/files/50maxima-gentoo-0.el |   9 --
 sci-mathematics/maxima/files/clisp-0.patch|  19 ---
 sci-mathematics/maxima/files/clozurecl-0.patch|  27 
 sci-mathematics/maxima/files/cmucl-0.patch|  27 
 sci-mathematics/maxima/files/ecls-1.patch |  37 -
 sci-mathematics/maxima/files/imaxima-0.patch  |   5 -
 sci-mathematics/maxima/files/sbcl-0.patch |  26 ---
 sci-mathematics/maxima/files/wish-0.patch |  28 
 sci-mathematics/maxima/maxima-5.34.1.ebuild   | 186 --
 10 files changed, 365 deletions(-)

diff --git a/sci-mathematics/maxima/Manifest b/sci-mathematics/maxima/Manifest
index 9f316ad..bd89940 100644
--- a/sci-mathematics/maxima/Manifest
+++ b/sci-mathematics/maxima/Manifest
@@ -1,4 +1,3 @@
-DIST maxima-5.34.1.tar.gz 29469851 SHA256 
20ca416ca912c8d3d99299f2ef45342a1beb2f077cf501c6a647de46bfdb89b7 SHA512 
24a9ce0d2bfb0fa107460bbeec561869f9d3f2ce2623e39ab16b810dbf2712981bbf98ceee9c30f4e70fdec7f918a7743b5fb8cf26b67313e1d367dd8f2a1823
 WHIRLPOOL 
0f59cfe14391686a543027bb5cab8669439d0e36b016924872662f61e36cf05663480f8a3f942d7deccbe39ec7f45ed77deeb8a3c84241189ac0f1993537c47a
 DIST maxima-5.37.3.tar.gz 29964644 SHA256 
8bd5dcd672f37ea752385475fc64f8c87dfa29bbe34766cbcb87b1f63dfb5934 SHA512 
a337afdc779abc88297e7dadf8af949da881c91a237e85ed654046c98692f2446c0b2ddb8c81b637cb7a35dd3b712832aadc5dedcaa8b681496dae4835c9d0f1
 WHIRLPOOL 
d24eeb7f39f88b9f542e28db28b8f249b1badc059fe744a83209b102b8f776131e4b2f91c28949f4f6de8323f163cb0a6be9bafc3c0ef058a73e9b543622e976
 DIST maxima-5.38.1.tar.gz 38641257 SHA256 
0e866536ab5847ec045ba013570f80f36206ca6ce07a5d13987010bcb321c6dc SHA512 
abca10984dbb22a48bae481b2e803cb5bee6776e974b4bb9271773aa035fb5e49f34b2458aabca01f0a681a07179e57c012273be6f8d53c615b3309b1034abf9
 WHIRLPOOL 
443ab032e784e4e2c37274dc3b1635acd9ede08af7863793f93b2f8fdc10e9cce8d4b1a5e98df9a6486fe97e082fb4030fbb3208939ab627f7ca333de7c224b8
 DIST maxima-5.39.0.tar.gz 38652090 SHA256 
f58ff98013fcaa37d8661b941672c38db58f982f082d6cfcca1f1b5fac7d71b3 SHA512 
393ade47fc3832ee44df7bf0c3bd2e501755167ec0f02d50d5876e7cf54fe682f2ebf2511290fa498d174e55961451e61ea5c1c5f6e5f9e6d04ad73d45a5d2a9
 WHIRLPOOL 
35c7e4acf7933c11562ade2ce30b9c3865a052fc13f9880502165313aae66925aff44cc9d70666001d0378ef14b2e0bf6bc2faeb258b6d50e558b9e043cd972c

diff --git a/sci-mathematics/maxima/files/50maxima-gentoo-0.el 
b/sci-mathematics/maxima/files/50maxima-gentoo-0.el
deleted file mode 100644
index ace2f4f..
--- a/sci-mathematics/maxima/files/50maxima-gentoo-0.el
+++ /dev/null
@@ -1,9 +0,0 @@
-(add-to-list 'load-path "@SITELISP@")
-(autoload 'maxima-mode "maxima" "Maxima mode" t)
-(autoload 'maxima "maxima" "Maxima interactive" t)
-(autoload 'dbl "dbl" "Make a debugger to run lisp, maxima and or gdb in" t)
-(add-to-list 'auto-mode-alist '("\\.ma?[cx]\\'" . maxima-mode))
-
-;; emaxima mode
-(autoload 'emaxima-mode "emaxima" "EMaxima" t)
-(add-hook 'emaxima-mode-hook 'emaxima-mark-file-as-emaxima)

diff --git a/sci-mathematics/maxima/files/clisp-0.patch 
b/sci-mathematics/maxima/files/clisp-0.patch
deleted file mode 100644
index 7e65c40..
--- a/sci-mathematics/maxima/files/clisp-0.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-diff -r -U1 maxima-5.30.0.orig/src/maxima.in maxima-5.30.0/src/maxima.in
 maxima-5.30.0.orig/src/maxima.in   2012-12-04 12:54:50.0 +0700
-+++ maxima-5.30.0/src/maxima.in2013-04-13 13:07:03.094128196 +0700
-@@ -138,5 +138,5 @@
-   if [ -x "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" ]; then
--exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" 
$MAXIMA_LISP_OPTIONS -q "" -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" 
"$arg7" "$arg8" "$arg9"
-+exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" 
$MAXIMA_LISP_OPTIONS -q -norc "" -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" 
"$arg6" "$arg7" "$arg8" "$arg9"
-   else
--  exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/@CLISP_RUNTIME@" 
$MAXIMA_LISP_OPTIONS -q -M "$maxima_image_base.mem" "" -- "$arg1" "$arg2" 
"$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
-+  exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/@CLISP_RUNTIME@" 
$MAXIMA_LISP_OPTIONS -q -norc -M "$maxima_image_base.mem" "" -- "$arg1" "$arg2" 
"$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
-   fi
-@@ -144,5 +144,5 @@
-   if [ -x "$maxima_image_base" ]; then
--exec "$maxima_image_base"  $MAXIMA_LISP_OPTIONS 

[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/

2016-12-29 Thread Agostino Sarubbo
commit: c655c56907f33fc9d279c991e98088d76368dc2d
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Dec 29 10:05:15 2016 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Dec 29 10:05:15 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c655c569

sci-mathematics/maxima: amd64 stable wrt bug #573544

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

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

diff --git a/sci-mathematics/maxima/maxima-5.38.1.ebuild 
b/sci-mathematics/maxima/maxima-5.38.1.ebuild
index 6a4afe8..4553cb7 100644
--- a/sci-mathematics/maxima/maxima-5.38.1.ebuild
+++ b/sci-mathematics/maxima/maxima-5.38.1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-2 GPL-2+"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+KEYWORDS="amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
 
 # Supported lisps
 LISPS=( sbcl cmucl gcl ecls clozurecl clisp )



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/

2016-12-11 Thread Andrey Grozin
commit: 5093ae83ee10d1fc580977d09d16d44736ec7cff
Author: Andrey Grozin  gentoo  org>
AuthorDate: Sun Dec 11 12:04:17 2016 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Sun Dec 11 12:04:17 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5093ae83

sci-mathematics/maxima: bump to 5.39.0

Package-Manager: portage-2.3.0

 sci-mathematics/maxima/Manifest |   1 +
 sci-mathematics/maxima/maxima-5.39.0.ebuild | 209 
 2 files changed, 210 insertions(+)

diff --git a/sci-mathematics/maxima/Manifest b/sci-mathematics/maxima/Manifest
index 3055daf..9f316ad 100644
--- a/sci-mathematics/maxima/Manifest
+++ b/sci-mathematics/maxima/Manifest
@@ -1,3 +1,4 @@
 DIST maxima-5.34.1.tar.gz 29469851 SHA256 
20ca416ca912c8d3d99299f2ef45342a1beb2f077cf501c6a647de46bfdb89b7 SHA512 
24a9ce0d2bfb0fa107460bbeec561869f9d3f2ce2623e39ab16b810dbf2712981bbf98ceee9c30f4e70fdec7f918a7743b5fb8cf26b67313e1d367dd8f2a1823
 WHIRLPOOL 
0f59cfe14391686a543027bb5cab8669439d0e36b016924872662f61e36cf05663480f8a3f942d7deccbe39ec7f45ed77deeb8a3c84241189ac0f1993537c47a
 DIST maxima-5.37.3.tar.gz 29964644 SHA256 
8bd5dcd672f37ea752385475fc64f8c87dfa29bbe34766cbcb87b1f63dfb5934 SHA512 
a337afdc779abc88297e7dadf8af949da881c91a237e85ed654046c98692f2446c0b2ddb8c81b637cb7a35dd3b712832aadc5dedcaa8b681496dae4835c9d0f1
 WHIRLPOOL 
d24eeb7f39f88b9f542e28db28b8f249b1badc059fe744a83209b102b8f776131e4b2f91c28949f4f6de8323f163cb0a6be9bafc3c0ef058a73e9b543622e976
 DIST maxima-5.38.1.tar.gz 38641257 SHA256 
0e866536ab5847ec045ba013570f80f36206ca6ce07a5d13987010bcb321c6dc SHA512 
abca10984dbb22a48bae481b2e803cb5bee6776e974b4bb9271773aa035fb5e49f34b2458aabca01f0a681a07179e57c012273be6f8d53c615b3309b1034abf9
 WHIRLPOOL 
443ab032e784e4e2c37274dc3b1635acd9ede08af7863793f93b2f8fdc10e9cce8d4b1a5e98df9a6486fe97e082fb4030fbb3208939ab627f7ca333de7c224b8
+DIST maxima-5.39.0.tar.gz 38652090 SHA256 
f58ff98013fcaa37d8661b941672c38db58f982f082d6cfcca1f1b5fac7d71b3 SHA512 
393ade47fc3832ee44df7bf0c3bd2e501755167ec0f02d50d5876e7cf54fe682f2ebf2511290fa498d174e55961451e61ea5c1c5f6e5f9e6d04ad73d45a5d2a9
 WHIRLPOOL 
35c7e4acf7933c11562ade2ce30b9c3865a052fc13f9880502165313aae66925aff44cc9d70666001d0378ef14b2e0bf6bc2faeb258b6d50e558b9e043cd972c

diff --git a/sci-mathematics/maxima/maxima-5.39.0.ebuild 
b/sci-mathematics/maxima/maxima-5.39.0.ebuild
new file mode 100644
index ..6a4afe8
--- /dev/null
+++ b/sci-mathematics/maxima/maxima-5.39.0.ebuild
@@ -0,0 +1,209 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit autotools elisp-common eutils
+
+DESCRIPTION="Free computer algebra environment based on Macsyma"
+HOMEPAGE="http://maxima.sourceforge.net/;
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2 GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+
+# Supported lisps
+LISPS=( sbcl cmucl gcl ecls clozurecl clisp )
+#  supports readline: . - no, y - yes
+SUPP_RL=(   .. y   .. y )
+# . - just --enable-,  - --enable-
+CONF_FLAG=( .. .   ecl  ccl   . )
+# patch file version; . - no patch
+PATCH_V=(   21 .   22 1 )
+
+IUSE="emacs tk nls unicode X ${LISPS[*]}"
+
+# Languages
+LANGS="de es pt pt_BR"
+for lang in ${LANGS}; do
+   IUSE="${IUSE} linguas_${lang}"
+done
+
+# texlive-latexrecommended needed by imaxima for breqn.sty
+RDEPEND="!app-emacs/imaxima
+   X? ( x11-misc/xdg-utils
+sci-visualization/gnuplot[gd]
+tk? ( dev-lang/tk:0 ) )
+   emacs? ( virtual/emacs
+   virtual/latex-base
+   app-emacs/auctex
+   app-text/ghostscript-gpl
+   dev-texlive/texlive-latexrecommended )"
+
+# generating lisp dependencies
+depends() {
+   local LISP DEP
+   LISP=${LISPS[$1]}
+   DEP="dev-lisp/${LISP}:="
+   if [ "${SUPP_RL[$1]}" = "." ]; then
+   DEP="${DEP} app-misc/rlwrap"
+   fi
+   echo ${DEP}
+}
+
+n=${#LISPS[*]}
+for ((n--; n >= 0; n--)); do
+   LISP=${LISPS[${n}]}
+   RDEPEND="${RDEPEND} ${LISP}? ( $(depends ${n}) )"
+   DEF_DEP="${DEF_DEP} !${LISP}? ( "
+done
+
+# default lisp
+DEF_LISP=0 # sbcl
+ARM_LISP=2 # gcl
+DEF_DEP="${DEF_DEP} arm? ( `depends ${ARM_LISP}` ) !arm? ( `depends 
${DEF_LISP}` )"
+
+n=${#LISPS[*]}
+for ((n--; n >= 0; n--)); do
+   DEF_DEP="${DEF_DEP} )"
+done
+
+unset LISP
+
+RDEPEND="${RDEPEND}
+   ${DEF_DEP}"
+
+DEPEND="${RDEPEND}
+   sys-apps/texinfo"
+
+TEXMF="${EPREFIX}"/usr/share/texmf-site
+
+pkg_setup() {
+   local n=${#LISPS[*]}
+
+   for ((n--; n >= 0; n--)); do
+   use ${LISPS[${n}]} && NLISPS="${NLISPS} ${n}"
+   done
+
+   if [ -z "${NLISPS}" ]; then
+   use arm && DEF_LISP=${ARM_LISP}
+   ewarn "No lisp specified 

[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/

2016-06-06 Thread Andrey Grozin
commit: d3719379ce98a943a373eb25803eb6da461546e3
Author: Andrey Grozin  gentoo  org>
AuthorDate: Mon Jun  6 11:44:03 2016 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Mon Jun  6 11:44:03 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3719379

Fix #566550 in stable

Package-Manager: portage-2.3.0_rc1

 sci-mathematics/maxima/maxima-5.34.1.ebuild | 8 ++--
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/sci-mathematics/maxima/maxima-5.34.1.ebuild 
b/sci-mathematics/maxima/maxima-5.34.1.ebuild
index fa91b3d..4843446 100644
--- a/sci-mathematics/maxima/maxima-5.34.1.ebuild
+++ b/sci-mathematics/maxima/maxima-5.34.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -63,11 +63,7 @@ for ((n--; n >= 0; n--)); do
 done
 
 # default lisp
-if use arm; then
-   DEF_LISP=2 # gcl
-else
-   DEF_LISP=0 # sbcl
-fi
+DEF_LISP=0 # sbcl
 
 DEF_DEP="${DEF_DEP} `depends ${DEF_LISP}`"
 



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/

2016-05-14 Thread Andrey Grozin
commit: b46c353dc84bb3b31d568a4667c69aad7f9f1ea0
Author: Andrey Grozin  gentoo  org>
AuthorDate: Sat May 14 07:45:59 2016 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Sat May 14 07:45:59 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b46c353d

sci-mathematics/maxima: drop 5.38.0

Package-Manager: portage-2.2.28

 sci-mathematics/maxima/Manifest |   1 -
 sci-mathematics/maxima/maxima-5.38.0.ebuild | 209 
 2 files changed, 210 deletions(-)

diff --git a/sci-mathematics/maxima/Manifest b/sci-mathematics/maxima/Manifest
index 45964f8..3055daf 100644
--- a/sci-mathematics/maxima/Manifest
+++ b/sci-mathematics/maxima/Manifest
@@ -1,4 +1,3 @@
 DIST maxima-5.34.1.tar.gz 29469851 SHA256 
20ca416ca912c8d3d99299f2ef45342a1beb2f077cf501c6a647de46bfdb89b7 SHA512 
24a9ce0d2bfb0fa107460bbeec561869f9d3f2ce2623e39ab16b810dbf2712981bbf98ceee9c30f4e70fdec7f918a7743b5fb8cf26b67313e1d367dd8f2a1823
 WHIRLPOOL 
0f59cfe14391686a543027bb5cab8669439d0e36b016924872662f61e36cf05663480f8a3f942d7deccbe39ec7f45ed77deeb8a3c84241189ac0f1993537c47a
 DIST maxima-5.37.3.tar.gz 29964644 SHA256 
8bd5dcd672f37ea752385475fc64f8c87dfa29bbe34766cbcb87b1f63dfb5934 SHA512 
a337afdc779abc88297e7dadf8af949da881c91a237e85ed654046c98692f2446c0b2ddb8c81b637cb7a35dd3b712832aadc5dedcaa8b681496dae4835c9d0f1
 WHIRLPOOL 
d24eeb7f39f88b9f542e28db28b8f249b1badc059fe744a83209b102b8f776131e4b2f91c28949f4f6de8323f163cb0a6be9bafc3c0ef058a73e9b543622e976
-DIST maxima-5.38.0.tar.gz 38502746 SHA256 
f7343fcf503e9bb0ad8ad8f149b71f01f9bb9c72b57ad03f5a9d210c74d4fc6b SHA512 
c7cbb777f01c540bad95200a7a7a4a60d17d1f9afe03647a8af78e40a3403be771e8cb305bcac4d636e2247a9994f22071b4ece2df91408d9ecfc29159ef6c58
 WHIRLPOOL 
f2cb2b7fef60b750b120daea38403bcefdc81d825121d2ad2428784bb2dc8c18beaacc927de5dbfa29db3c139edf5d20e17e36dd620a8636600a06210943dab4
 DIST maxima-5.38.1.tar.gz 38641257 SHA256 
0e866536ab5847ec045ba013570f80f36206ca6ce07a5d13987010bcb321c6dc SHA512 
abca10984dbb22a48bae481b2e803cb5bee6776e974b4bb9271773aa035fb5e49f34b2458aabca01f0a681a07179e57c012273be6f8d53c615b3309b1034abf9
 WHIRLPOOL 
443ab032e784e4e2c37274dc3b1635acd9ede08af7863793f93b2f8fdc10e9cce8d4b1a5e98df9a6486fe97e082fb4030fbb3208939ab627f7ca333de7c224b8

diff --git a/sci-mathematics/maxima/maxima-5.38.0.ebuild 
b/sci-mathematics/maxima/maxima-5.38.0.ebuild
deleted file mode 100644
index 6a4afe8..000
--- a/sci-mathematics/maxima/maxima-5.38.0.ebuild
+++ /dev/null
@@ -1,209 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit autotools elisp-common eutils
-
-DESCRIPTION="Free computer algebra environment based on Macsyma"
-HOMEPAGE="http://maxima.sourceforge.net/;
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2 GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
-
-# Supported lisps
-LISPS=( sbcl cmucl gcl ecls clozurecl clisp )
-#  supports readline: . - no, y - yes
-SUPP_RL=(   .. y   .. y )
-# . - just --enable-,  - --enable-
-CONF_FLAG=( .. .   ecl  ccl   . )
-# patch file version; . - no patch
-PATCH_V=(   21 .   22 1 )
-
-IUSE="emacs tk nls unicode X ${LISPS[*]}"
-
-# Languages
-LANGS="de es pt pt_BR"
-for lang in ${LANGS}; do
-   IUSE="${IUSE} linguas_${lang}"
-done
-
-# texlive-latexrecommended needed by imaxima for breqn.sty
-RDEPEND="!app-emacs/imaxima
-   X? ( x11-misc/xdg-utils
-sci-visualization/gnuplot[gd]
-tk? ( dev-lang/tk:0 ) )
-   emacs? ( virtual/emacs
-   virtual/latex-base
-   app-emacs/auctex
-   app-text/ghostscript-gpl
-   dev-texlive/texlive-latexrecommended )"
-
-# generating lisp dependencies
-depends() {
-   local LISP DEP
-   LISP=${LISPS[$1]}
-   DEP="dev-lisp/${LISP}:="
-   if [ "${SUPP_RL[$1]}" = "." ]; then
-   DEP="${DEP} app-misc/rlwrap"
-   fi
-   echo ${DEP}
-}
-
-n=${#LISPS[*]}
-for ((n--; n >= 0; n--)); do
-   LISP=${LISPS[${n}]}
-   RDEPEND="${RDEPEND} ${LISP}? ( $(depends ${n}) )"
-   DEF_DEP="${DEF_DEP} !${LISP}? ( "
-done
-
-# default lisp
-DEF_LISP=0 # sbcl
-ARM_LISP=2 # gcl
-DEF_DEP="${DEF_DEP} arm? ( `depends ${ARM_LISP}` ) !arm? ( `depends 
${DEF_LISP}` )"
-
-n=${#LISPS[*]}
-for ((n--; n >= 0; n--)); do
-   DEF_DEP="${DEF_DEP} )"
-done
-
-unset LISP
-
-RDEPEND="${RDEPEND}
-   ${DEF_DEP}"
-
-DEPEND="${RDEPEND}
-   sys-apps/texinfo"
-
-TEXMF="${EPREFIX}"/usr/share/texmf-site
-
-pkg_setup() {
-   local n=${#LISPS[*]}
-
-   for ((n--; n >= 0; n--)); do
-   use ${LISPS[${n}]} && NLISPS="${NLISPS} ${n}"
-   done
-
-   if [ -z "${NLISPS}" ]; then
-   use arm && DEF_LISP=${ARM_LISP}
-   ewarn "No lisp specified 

[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/

2016-05-14 Thread Andrey Grozin
commit: 0e380cd35ece6fb76b2e88fd2d105ff92e31933d
Author: Andrey Grozin  gentoo  org>
AuthorDate: Sat May 14 07:43:51 2016 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Sat May 14 07:43:51 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e380cd3

sci-mathematics/maxima: bump to 5.38.1

Package-Manager: portage-2.2.28

 sci-mathematics/maxima/Manifest |   1 +
 sci-mathematics/maxima/maxima-5.38.1.ebuild | 209 
 2 files changed, 210 insertions(+)

diff --git a/sci-mathematics/maxima/Manifest b/sci-mathematics/maxima/Manifest
index 55912ef..45964f8 100644
--- a/sci-mathematics/maxima/Manifest
+++ b/sci-mathematics/maxima/Manifest
@@ -1,3 +1,4 @@
 DIST maxima-5.34.1.tar.gz 29469851 SHA256 
20ca416ca912c8d3d99299f2ef45342a1beb2f077cf501c6a647de46bfdb89b7 SHA512 
24a9ce0d2bfb0fa107460bbeec561869f9d3f2ce2623e39ab16b810dbf2712981bbf98ceee9c30f4e70fdec7f918a7743b5fb8cf26b67313e1d367dd8f2a1823
 WHIRLPOOL 
0f59cfe14391686a543027bb5cab8669439d0e36b016924872662f61e36cf05663480f8a3f942d7deccbe39ec7f45ed77deeb8a3c84241189ac0f1993537c47a
 DIST maxima-5.37.3.tar.gz 29964644 SHA256 
8bd5dcd672f37ea752385475fc64f8c87dfa29bbe34766cbcb87b1f63dfb5934 SHA512 
a337afdc779abc88297e7dadf8af949da881c91a237e85ed654046c98692f2446c0b2ddb8c81b637cb7a35dd3b712832aadc5dedcaa8b681496dae4835c9d0f1
 WHIRLPOOL 
d24eeb7f39f88b9f542e28db28b8f249b1badc059fe744a83209b102b8f776131e4b2f91c28949f4f6de8323f163cb0a6be9bafc3c0ef058a73e9b543622e976
 DIST maxima-5.38.0.tar.gz 38502746 SHA256 
f7343fcf503e9bb0ad8ad8f149b71f01f9bb9c72b57ad03f5a9d210c74d4fc6b SHA512 
c7cbb777f01c540bad95200a7a7a4a60d17d1f9afe03647a8af78e40a3403be771e8cb305bcac4d636e2247a9994f22071b4ece2df91408d9ecfc29159ef6c58
 WHIRLPOOL 
f2cb2b7fef60b750b120daea38403bcefdc81d825121d2ad2428784bb2dc8c18beaacc927de5dbfa29db3c139edf5d20e17e36dd620a8636600a06210943dab4
+DIST maxima-5.38.1.tar.gz 38641257 SHA256 
0e866536ab5847ec045ba013570f80f36206ca6ce07a5d13987010bcb321c6dc SHA512 
abca10984dbb22a48bae481b2e803cb5bee6776e974b4bb9271773aa035fb5e49f34b2458aabca01f0a681a07179e57c012273be6f8d53c615b3309b1034abf9
 WHIRLPOOL 
443ab032e784e4e2c37274dc3b1635acd9ede08af7863793f93b2f8fdc10e9cce8d4b1a5e98df9a6486fe97e082fb4030fbb3208939ab627f7ca333de7c224b8

diff --git a/sci-mathematics/maxima/maxima-5.38.1.ebuild 
b/sci-mathematics/maxima/maxima-5.38.1.ebuild
new file mode 100644
index 000..6a4afe8
--- /dev/null
+++ b/sci-mathematics/maxima/maxima-5.38.1.ebuild
@@ -0,0 +1,209 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit autotools elisp-common eutils
+
+DESCRIPTION="Free computer algebra environment based on Macsyma"
+HOMEPAGE="http://maxima.sourceforge.net/;
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2 GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+
+# Supported lisps
+LISPS=( sbcl cmucl gcl ecls clozurecl clisp )
+#  supports readline: . - no, y - yes
+SUPP_RL=(   .. y   .. y )
+# . - just --enable-,  - --enable-
+CONF_FLAG=( .. .   ecl  ccl   . )
+# patch file version; . - no patch
+PATCH_V=(   21 .   22 1 )
+
+IUSE="emacs tk nls unicode X ${LISPS[*]}"
+
+# Languages
+LANGS="de es pt pt_BR"
+for lang in ${LANGS}; do
+   IUSE="${IUSE} linguas_${lang}"
+done
+
+# texlive-latexrecommended needed by imaxima for breqn.sty
+RDEPEND="!app-emacs/imaxima
+   X? ( x11-misc/xdg-utils
+sci-visualization/gnuplot[gd]
+tk? ( dev-lang/tk:0 ) )
+   emacs? ( virtual/emacs
+   virtual/latex-base
+   app-emacs/auctex
+   app-text/ghostscript-gpl
+   dev-texlive/texlive-latexrecommended )"
+
+# generating lisp dependencies
+depends() {
+   local LISP DEP
+   LISP=${LISPS[$1]}
+   DEP="dev-lisp/${LISP}:="
+   if [ "${SUPP_RL[$1]}" = "." ]; then
+   DEP="${DEP} app-misc/rlwrap"
+   fi
+   echo ${DEP}
+}
+
+n=${#LISPS[*]}
+for ((n--; n >= 0; n--)); do
+   LISP=${LISPS[${n}]}
+   RDEPEND="${RDEPEND} ${LISP}? ( $(depends ${n}) )"
+   DEF_DEP="${DEF_DEP} !${LISP}? ( "
+done
+
+# default lisp
+DEF_LISP=0 # sbcl
+ARM_LISP=2 # gcl
+DEF_DEP="${DEF_DEP} arm? ( `depends ${ARM_LISP}` ) !arm? ( `depends 
${DEF_LISP}` )"
+
+n=${#LISPS[*]}
+for ((n--; n >= 0; n--)); do
+   DEF_DEP="${DEF_DEP} )"
+done
+
+unset LISP
+
+RDEPEND="${RDEPEND}
+   ${DEF_DEP}"
+
+DEPEND="${RDEPEND}
+   sys-apps/texinfo"
+
+TEXMF="${EPREFIX}"/usr/share/texmf-site
+
+pkg_setup() {
+   local n=${#LISPS[*]}
+
+   for ((n--; n >= 0; n--)); do
+   use ${LISPS[${n}]} && NLISPS="${NLISPS} ${n}"
+   done
+
+   if [ -z "${NLISPS}" ]; then
+   use arm && DEF_LISP=${ARM_LISP}
+   ewarn "No lisp specified 

[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/, sci-mathematics/maxima/files/

2016-04-03 Thread Andrey Grozin
commit: 0c29cc6f7cc68ea14415b8626480f197fe10386b
Author: Andrey Grozin  gentoo  org>
AuthorDate: Sun Apr  3 08:27:01 2016 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Sun Apr  3 08:27:36 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c29cc6f

sci-mathematics/maxima: bump to 5.38.0

Package-Manager: portage-2.2.28

 sci-mathematics/maxima/Manifest |   1 +
 sci-mathematics/maxima/files/sbcl-2.patch   |  13 ++
 sci-mathematics/maxima/maxima-5.38.0.ebuild | 209 
 3 files changed, 223 insertions(+)

diff --git a/sci-mathematics/maxima/Manifest b/sci-mathematics/maxima/Manifest
index 321acdc..55912ef 100644
--- a/sci-mathematics/maxima/Manifest
+++ b/sci-mathematics/maxima/Manifest
@@ -1,2 +1,3 @@
 DIST maxima-5.34.1.tar.gz 29469851 SHA256 
20ca416ca912c8d3d99299f2ef45342a1beb2f077cf501c6a647de46bfdb89b7 SHA512 
24a9ce0d2bfb0fa107460bbeec561869f9d3f2ce2623e39ab16b810dbf2712981bbf98ceee9c30f4e70fdec7f918a7743b5fb8cf26b67313e1d367dd8f2a1823
 WHIRLPOOL 
0f59cfe14391686a543027bb5cab8669439d0e36b016924872662f61e36cf05663480f8a3f942d7deccbe39ec7f45ed77deeb8a3c84241189ac0f1993537c47a
 DIST maxima-5.37.3.tar.gz 29964644 SHA256 
8bd5dcd672f37ea752385475fc64f8c87dfa29bbe34766cbcb87b1f63dfb5934 SHA512 
a337afdc779abc88297e7dadf8af949da881c91a237e85ed654046c98692f2446c0b2ddb8c81b637cb7a35dd3b712832aadc5dedcaa8b681496dae4835c9d0f1
 WHIRLPOOL 
d24eeb7f39f88b9f542e28db28b8f249b1badc059fe744a83209b102b8f776131e4b2f91c28949f4f6de8323f163cb0a6be9bafc3c0ef058a73e9b543622e976
+DIST maxima-5.38.0.tar.gz 38502746 SHA256 
f7343fcf503e9bb0ad8ad8f149b71f01f9bb9c72b57ad03f5a9d210c74d4fc6b SHA512 
c7cbb777f01c540bad95200a7a7a4a60d17d1f9afe03647a8af78e40a3403be771e8cb305bcac4d636e2247a9994f22071b4ece2df91408d9ecfc29159ef6c58
 WHIRLPOOL 
f2cb2b7fef60b750b120daea38403bcefdc81d825121d2ad2428784bb2dc8c18beaacc927de5dbfa29db3c139edf5d20e17e36dd620a8636600a06210943dab4

diff --git a/sci-mathematics/maxima/files/sbcl-2.patch 
b/sci-mathematics/maxima/files/sbcl-2.patch
new file mode 100644
index 000..9fedc74
--- /dev/null
+++ b/sci-mathematics/maxima/files/sbcl-2.patch
@@ -0,0 +1,13 @@
+diff -r -U2 maxima-5.38.0.orig/src/maxima.in maxima-5.38.0/src/maxima.in
+--- maxima-5.38.0.orig/src/maxima.in   2016-04-02 23:42:45.0 +0200
 maxima-5.38.0/src/maxima.in2016-04-03 09:07:46.317809312 +0200
+@@ -195,7 +195,7 @@
+ # switch --dynamic-space-size in order to do so.
+   if [ -x "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" ]; then
+-exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" --noinform 
$MAXIMA_LISP_OPTIONS --end-runtime-options --eval '(cl-user::run)' 
--end-toplevel-options "$@"
++exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" --noinform 
$MAXIMA_LISP_OPTIONS --end-runtime-options --no-sysinit --no-userinit --eval 
'(cl-user::run)' --end-toplevel-options "$@"
+   else
+-exec "@SBCL_NAME@" --core "$maxima_image_base.core" --noinform 
$MAXIMA_LISP_OPTIONS --end-runtime-options --eval '(cl-user::run)' 
--end-toplevel-options "$@"
++exec "@SBCL_NAME@" --core "$maxima_image_base.core" --noinform 
$MAXIMA_LISP_OPTIONS --end-runtime-options --no-sysinit --no-userinit --eval 
'(cl-user::run)' --end-toplevel-options "$@"
+   fi
+ 

diff --git a/sci-mathematics/maxima/maxima-5.38.0.ebuild 
b/sci-mathematics/maxima/maxima-5.38.0.ebuild
new file mode 100644
index 000..6a4afe8
--- /dev/null
+++ b/sci-mathematics/maxima/maxima-5.38.0.ebuild
@@ -0,0 +1,209 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit autotools elisp-common eutils
+
+DESCRIPTION="Free computer algebra environment based on Macsyma"
+HOMEPAGE="http://maxima.sourceforge.net/;
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2 GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+
+# Supported lisps
+LISPS=( sbcl cmucl gcl ecls clozurecl clisp )
+#  supports readline: . - no, y - yes
+SUPP_RL=(   .. y   .. y )
+# . - just --enable-,  - --enable-
+CONF_FLAG=( .. .   ecl  ccl   . )
+# patch file version; . - no patch
+PATCH_V=(   21 .   22 1 )
+
+IUSE="emacs tk nls unicode X ${LISPS[*]}"
+
+# Languages
+LANGS="de es pt pt_BR"
+for lang in ${LANGS}; do
+   IUSE="${IUSE} linguas_${lang}"
+done
+
+# texlive-latexrecommended needed by imaxima for breqn.sty
+RDEPEND="!app-emacs/imaxima
+   X? ( x11-misc/xdg-utils
+sci-visualization/gnuplot[gd]
+tk? ( dev-lang/tk:0 ) )
+   emacs? ( virtual/emacs
+   virtual/latex-base
+   app-emacs/auctex
+   app-text/ghostscript-gpl
+   dev-texlive/texlive-latexrecommended )"
+
+# generating lisp dependencies
+depends() {
+   local LISP DEP
+   LISP=${LISPS[$1]}
+  

[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/

2016-03-18 Thread Andrey Grozin
commit: 4a1dff9398711407590429262674093a5d621de1
Author: Andrey Grozin  gentoo  org>
AuthorDate: Fri Mar 18 11:06:56 2016 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Fri Mar 18 11:07:54 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a1dff93

sci-mathematics/maxima: fix elisp files compilation

Bug: 576652

Package-Manager: portage-2.2.28

 sci-mathematics/maxima/maxima-5.37.3-r4.ebuild | 10 +-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/sci-mathematics/maxima/maxima-5.37.3-r4.ebuild 
b/sci-mathematics/maxima/maxima-5.37.3-r4.ebuild
index 06cbc93..fea3dd5 100644
--- a/sci-mathematics/maxima/maxima-5.37.3-r4.ebuild
+++ b/sci-mathematics/maxima/maxima-5.37.3-r4.ebuild
@@ -147,7 +147,15 @@ src_configure() {
 
 src_compile() {
emake
-   use emacs && elisp-compile interfaces/emacs/{emaxima,imaxima}/*.el
+   if use emacs; then
+   pushd interfaces/emacs/emaxima > /dev/null
+   elisp-compile *.el
+   popd > /dev/null
+   pushd interfaces/emacs/imaxima > /dev/null
+   BYTECOMPFLAGS="-L . -L ../emaxima"
+   elisp-compile *.el
+   popd > /dev/null
+   fi
 }
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/

2016-03-06 Thread Mikle Kolyada
commit: 6d5d1439619cbe4a3e58f86c5c6830d5d9b7eec7
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat Mar  5 16:23:13 2016 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat Mar  5 16:23:32 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d5d1439

sci-mathematics/maxima: amd64 stable wrt bug #573544

Package-Manager: portage-2.2.26

 sci-mathematics/maxima/maxima-5.37.3-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-mathematics/maxima/maxima-5.37.3-r4.ebuild 
b/sci-mathematics/maxima/maxima-5.37.3-r4.ebuild
index b769f1a..06cbc93 100644
--- a/sci-mathematics/maxima/maxima-5.37.3-r4.ebuild
+++ b/sci-mathematics/maxima/maxima-5.37.3-r4.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-2 GPL-2+"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+KEYWORDS="amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
 
 # Supported lisps
 LISPS=( sbcl cmucl gcl ecls clozurecl clisp )



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/

2015-12-25 Thread Andrey Grozin
commit: e7524765029c892fdc4cf17a2fe262c30b9382ef
Author: Andrey Grozin  gentoo  org>
AuthorDate: Fri Dec 25 11:40:16 2015 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Fri Dec 25 11:41:22 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7524765

sci-mathematics/maxima: linguas_de support

Thanks to Ulrich Müller  gentoo.org>
Bug: 569616

Package-Manager: portage-2.2.26

 .../maxima/{maxima-5.37.3-r3.ebuild => maxima-5.37.3-r4.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-mathematics/maxima/maxima-5.37.3-r3.ebuild 
b/sci-mathematics/maxima/maxima-5.37.3-r4.ebuild
similarity index 99%
rename from sci-mathematics/maxima/maxima-5.37.3-r3.ebuild
rename to sci-mathematics/maxima/maxima-5.37.3-r4.ebuild
index bfead78..b769f1a 100644
--- a/sci-mathematics/maxima/maxima-5.37.3-r3.ebuild
+++ b/sci-mathematics/maxima/maxima-5.37.3-r4.ebuild
@@ -26,7 +26,7 @@ PATCH_V=(   11 .   22 1 )
 IUSE="emacs tk nls unicode X ${LISPS[*]}"
 
 # Languages
-LANGS="es pt pt_BR"
+LANGS="de es pt pt_BR"
 for lang in ${LANGS}; do
IUSE="${IUSE} linguas_${lang}"
 done



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/

2015-12-23 Thread Ulrich Müller
commit: 6643986ab89822cb537c633cae07dfa8fc51e4e5
Author: Ulrich Müller  gentoo  org>
AuthorDate: Wed Dec 23 11:29:12 2015 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Wed Dec 23 11:29:12 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6643986a

sci-mathematics/maxima: Fix typo in pkg_postrm.

Package-Manager: portage-2.2.26

 sci-mathematics/maxima/maxima-5.37.3-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-mathematics/maxima/maxima-5.37.3-r3.ebuild 
b/sci-mathematics/maxima/maxima-5.37.3-r3.ebuild
index d0edb52..bfead78 100644
--- a/sci-mathematics/maxima/maxima-5.37.3-r3.ebuild
+++ b/sci-mathematics/maxima/maxima-5.37.3-r3.ebuild
@@ -195,7 +195,7 @@ pkg_postinst() {
 
 pkg_postrm() {
if use emacs; then
-   lisp-site-regen
+   elisp-site-regen
mktexlsr
fi
 }



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/files/, sci-mathematics/maxima/

2015-12-23 Thread Andrey Grozin
commit: 924f515d1cf351850428af99b39513c9bce6b570
Author: Andrey Grozin  gentoo  org>
AuthorDate: Wed Dec 23 15:19:40 2015 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Wed Dec 23 15:21:02 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=924f515d

sci-mathematics/maxima: remove 5.37.3-r1

Package-Manager: portage-2.2.26

 sci-mathematics/maxima/files/wish-1.patch  |  28 
 sci-mathematics/maxima/maxima-5.37.3-r1.ebuild | 184 -
 2 files changed, 212 deletions(-)

diff --git a/sci-mathematics/maxima/files/wish-1.patch 
b/sci-mathematics/maxima/files/wish-1.patch
deleted file mode 100644
index 6e002d9..000
--- a/sci-mathematics/maxima/files/wish-1.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-diff -r -U1 maxima-5.35.1.orig/configure.ac maxima-5.35.1/configure.ac
 maxima-5.35.1.orig/configure.ac2014-12-13 06:44:51.0 +0600
-+++ maxima-5.35.1/configure.ac 2014-12-15 16:30:07.574773386 +0600
-@@ -989,6 +989,11 @@
-   [  --with-wish=   Use  for Tk wish shell (default 
wish)],
--  [WISH="${withval}"],
--  [WISH="wish"])
-+  [],
-+  [with_wish="wish"])
-+case "${with_wish}" in
-+ no) WISH="none" ;;
-+ yes) WISH="wish" ;;
-+ *) WISH="${with_wish}" ;;
-+esac
- AC_SUBST(WISH)
--
-+AM_CONDITIONAL(WANT_TK, test x"${with_wish}" != xno)
- 
-diff -r -U1 maxima-5.35.1.orig/interfaces/Makefile.am 
maxima-5.35.1/interfaces/Makefile.am
 maxima-5.35.1.orig/interfaces/Makefile.am  2013-10-07 10:37:11.0 
+0700
-+++ maxima-5.35.1/interfaces/Makefile.am   2014-12-15 16:31:18.056770422 
+0600
-@@ -1,2 +1,6 @@
-+if WANT_TK
- SUBDIRS = emacs xmaxima
-+else
-+SUBDIRS = emacs
-+endif
- EXTRA_DIST = bin/xmaxima.iss

diff --git a/sci-mathematics/maxima/maxima-5.37.3-r1.ebuild 
b/sci-mathematics/maxima/maxima-5.37.3-r1.ebuild
deleted file mode 100644
index e71ebf0..000
--- a/sci-mathematics/maxima/maxima-5.37.3-r1.ebuild
+++ /dev/null
@@ -1,184 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit autotools elisp-common eutils
-
-DESCRIPTION="Free computer algebra environment based on Macsyma"
-HOMEPAGE="http://maxima.sourceforge.net/;
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
-
-# Supported lisps
-LISPS=( sbcl cmucl gcl ecls clozurecl clisp )
-#  supports readline: . - no, y - yes
-SUPP_RL=(   .. y   .. y )
-# . - just --enable-,  - --enable-
-CONF_FLAG=( .. .   ecl  ccl   . )
-# patch file version; . - no patch
-PATCH_V=(   11 .   22 1 )
-
-IUSE="latex emacs tk nls unicode xemacs X ${LISPS[*]}"
-
-# Languages
-LANGS="es pt pt_BR"
-for lang in ${LANGS}; do
-   IUSE="${IUSE} linguas_${lang}"
-done
-
-RDEPEND="X? ( x11-misc/xdg-utils
-sci-visualization/gnuplot[gd]
-tk? ( dev-lang/tk:0 ) )
-   latex? ( virtual/latex-base )
-   emacs? ( virtual/emacs
-   latex? ( app-emacs/auctex ) )
-   xemacs? ( app-editors/xemacs
-   latex? ( app-emacs/auctex ) )"
-
-PDEPEND="emacs? ( app-emacs/imaxima )"
-
-# generating lisp dependencies
-depends() {
-   local LISP DEP
-   LISP=${LISPS[$1]}
-   DEP="dev-lisp/${LISP}:="
-   if [ "${SUPP_RL[$1]}" = "." ]; then
-   DEP="${DEP} app-misc/rlwrap"
-   fi
-   echo ${DEP}
-}
-
-n=${#LISPS[*]}
-for ((n--; n >= 0; n--)); do
-   LISP=${LISPS[${n}]}
-   RDEPEND="${RDEPEND} ${LISP}? ( $(depends ${n}) )"
-   DEF_DEP="${DEF_DEP} !${LISP}? ( "
-done
-
-# default lisp
-DEF_LISP=0 # sbcl
-ARM_LISP=2 # gcl
-DEF_DEP="${DEF_DEP} arm? ( `depends ${ARM_LISP}` ) !arm? ( `depends 
${DEF_LISP}` )"
-
-n=${#LISPS[*]}
-for ((n--; n >= 0; n--)); do
-   DEF_DEP="${DEF_DEP} )"
-done
-
-unset LISP
-
-RDEPEND="${RDEPEND}
-   ${DEF_DEP}"
-
-DEPEND="${RDEPEND}
-   sys-apps/texinfo"
-
-TEXMF="${EPREFIX}"/usr/share/texmf-site
-
-pkg_setup() {
-   local n=${#LISPS[*]}
-
-   for ((n--; n >= 0; n--)); do
-   use ${LISPS[${n}]} && NLISPS="${NLISPS} ${n}"
-   done
-
-   if [ -z "${NLISPS}" ]; then
-   ewarn "No lisp specified in USE flags, choosing 
${LISPS[${DEF_LISP}]} as default"
-   NLISPS=${DEF_LISP}
-   fi
-}
-
-src_prepare() {
-   local n PATCHES v
-   PATCHES=( imaxima-0 rmaxima-0 wish-1 xdg-utils-0 db-0 )
-
-   n=${#PATCHES[*]}
-   for ((n--; n >= 0; n--)); do
-   epatch "${FILESDIR}"/${PATCHES[${n}]}.patch
-   done
-
-   n=${#LISPS[*]}
-   for ((n--; n >= 0; n--)); do
-   v=${PATCH_V[${n}]}
-   if [ "${v}" != "." ]; then
-   epatch "${FILESDIR}"/${LISPS[${n}]}-${v}.patch
-   fi
-   done
-
-   

[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/, sci-mathematics/maxima/files/

2015-12-23 Thread Ulrich Müller
commit: e88abf1da79f111c81842732f9dcb824d336573b
Author: Ulrich Müller  gentoo  org>
AuthorDate: Wed Dec 23 08:13:20 2015 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Wed Dec 23 08:20:05 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e88abf1d

sci-mathematics/maxima: Update Emacs support.

Consolidate "emacs" and "latex" USE flags. Remove the non-functional
"xemacs" flag. Add a configure option to disable Emacs support in the
upstream build system.

Bug: 448242

Package-Manager: portage-2.2.26

 sci-mathematics/maxima/files/emacs-0.patch | 32 +++
 sci-mathematics/maxima/files/wish-2.patch  | 26 
 ...ma-5.37.3-r2.ebuild => maxima-5.37.3-r3.ebuild} | 46 +++---
 3 files changed, 81 insertions(+), 23 deletions(-)

diff --git a/sci-mathematics/maxima/files/emacs-0.patch 
b/sci-mathematics/maxima/files/emacs-0.patch
new file mode 100644
index 000..8c84149
--- /dev/null
+++ b/sci-mathematics/maxima/files/emacs-0.patch
@@ -0,0 +1,32 @@
+--- maxima-5.37.3.orig/configure.ac
 maxima-5.37.3/configure.ac
+@@ -513,6 +513,17 @@
+   fi
+ fi
+ 
++AC_ARG_ENABLE(emacs,
++  [  --enable-emacs   Emacs support],
++  [case "${enableval}" in
++  yes) enable_emacs=true  ;;
++  no)  enable_emacs=false ;;
++  *) AC_MSG_ERROR(bad value ${enableval} for --enable-emacs) ;;
++  esac],
++  [enable_emacs=true])
++
++AM_CONDITIONAL(WANT_EMACS, test x$enable_emacs = xtrue)
++
+ dnl xgettext
+ AC_ARG_ENABLE(gettext,
+   [  --enable-gettext Locale support],
+--- maxima-5.37.3.orig/interfaces/Makefile.am
 maxima-5.37.3/interfaces/Makefile.am
+@@ -1,5 +1,8 @@
++if WANT_EMACS
++   MAYBE_EMACS = emacs
++endif
+ if WANT_TK
+MAYBE_XMAXIMA = xmaxima
+ endif
+-SUBDIRS = emacs $(MAYBE_XMAXIMA)
++SUBDIRS = $(MAYBE_EMACS) $(MAYBE_XMAXIMA)
+ EXTRA_DIST = bin/xmaxima.iss

diff --git a/sci-mathematics/maxima/files/wish-2.patch 
b/sci-mathematics/maxima/files/wish-2.patch
new file mode 100644
index 000..5942733
--- /dev/null
+++ b/sci-mathematics/maxima/files/wish-2.patch
@@ -0,0 +1,26 @@
+--- maxima-5.37.3.orig/configure.ac
 maxima-5.37.3/configure.ac
+@@ -991,6 +991,11 @@
+   [  --with-wish=   Use  for Tk wish shell (default 
wish)],
+-  [WISH="${withval}"],
+-  [WISH="wish"])
++  [],
++  [with_wish="wish"])
++case "${with_wish}" in
++ no) WISH="none" ;;
++ yes) WISH="wish" ;;
++ *) WISH="${with_wish}" ;;
++esac
+ AC_SUBST(WISH)
+-
++AM_CONDITIONAL(WANT_TK, test x"${with_wish}" != xno)
+ 
+--- maxima-5.37.3.orig/interfaces/Makefile.am
 maxima-5.37.3/interfaces/Makefile.am
+@@ -1,2 +1,5 @@
+-SUBDIRS = emacs xmaxima
++if WANT_TK
++   MAYBE_XMAXIMA = xmaxima
++endif
++SUBDIRS = emacs $(MAYBE_XMAXIMA)
+ EXTRA_DIST = bin/xmaxima.iss

diff --git a/sci-mathematics/maxima/maxima-5.37.3-r2.ebuild 
b/sci-mathematics/maxima/maxima-5.37.3-r3.ebuild
similarity index 86%
rename from sci-mathematics/maxima/maxima-5.37.3-r2.ebuild
rename to sci-mathematics/maxima/maxima-5.37.3-r3.ebuild
index 3afffbf..7c1c8e6 100644
--- a/sci-mathematics/maxima/maxima-5.37.3-r2.ebuild
+++ b/sci-mathematics/maxima/maxima-5.37.3-r3.ebuild
@@ -23,7 +23,7 @@ CONF_FLAG=( .. .   ecl  ccl   . )
 # patch file version; . - no patch
 PATCH_V=(   11 .   22 1 )
 
-IUSE="latex emacs tk nls unicode xemacs X ${LISPS[*]}"
+IUSE="emacs tk nls unicode X ${LISPS[*]}"
 
 # Languages
 LANGS="es pt pt_BR"
@@ -36,13 +36,11 @@ RDEPEND="!app-emacs/imaxima
X? ( x11-misc/xdg-utils
 sci-visualization/gnuplot[gd]
 tk? ( dev-lang/tk:0 ) )
-   latex? ( virtual/latex-base )
emacs? ( virtual/emacs
-   latex? ( app-emacs/auctex
-   app-text/ghostscript-gpl
-   dev-texlive/texlive-latexrecommended ) )
-   xemacs? ( app-editors/xemacs
-   latex? ( app-xemacs/auctex ) )"
+   virtual/latex-base
+   app-emacs/auctex
+   app-text/ghostscript-gpl
+   dev-texlive/texlive-latexrecommended )"
 
 # generating lisp dependencies
 depends() {
@@ -97,7 +95,7 @@ pkg_setup() {
 
 src_prepare() {
local n PATCHES v
-   PATCHES=( rmaxima-0 wish-1 xdg-utils-0 db-0 )
+   PATCHES=( emacs-0 rmaxima-0 wish-2 xdg-utils-0 db-0 )
 
n=${#PATCHES[*]}
for ((n--; n >= 0; n--)); do
@@ -140,7 +138,10 @@ src_configure() {
done
fi
 
-   econf ${CONFS} $(use_with tk wish) 
--with-lispdir="${EPREFIX}/${SITELISP}"/${PN}
+   econf ${CONFS} \
+   $(use_with tk wish) \
+   $(use_enable emacs) \
+   --with-lispdir="${EPREFIX}/${SITELISP}/${PN}"
 }
 
 src_compile() {
@@ -156,13 +157,6 @@ src_install() {
/usr/share/${PN}/${PV}/xmaxima/maxima-new.png \

[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/

2015-12-23 Thread Ulrich Müller
commit: fd9449a56a71bf1736cde37c5fa7e8a8bf437510
Author: Ulrich Müller  gentoo  org>
AuthorDate: Wed Dec 23 08:17:15 2015 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Wed Dec 23 08:20:05 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd9449a5

sci-mathematics/maxima: Fix ewarn on arm.

https://bugs.gentoo.org/show_bug.cgi?id=448242#c18

Package-Manager: portage-2.2.26

 sci-mathematics/maxima/maxima-5.37.3-r3.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sci-mathematics/maxima/maxima-5.37.3-r3.ebuild 
b/sci-mathematics/maxima/maxima-5.37.3-r3.ebuild
index 7c1c8e6..d0edb52 100644
--- a/sci-mathematics/maxima/maxima-5.37.3-r3.ebuild
+++ b/sci-mathematics/maxima/maxima-5.37.3-r3.ebuild
@@ -88,6 +88,7 @@ pkg_setup() {
done
 
if [ -z "${NLISPS}" ]; then
+   use arm && DEF_LISP=${ARM_LISP}
ewarn "No lisp specified in USE flags, choosing 
${LISPS[${DEF_LISP}]} as default"
NLISPS=${DEF_LISP}
fi



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/, sci-mathematics/maxima/files/

2015-12-21 Thread Ulrich Müller
commit: 71971e5abe53b50b83e1617634cd79fe8a49842b
Author: Ulrich Müller  gentoo  org>
AuthorDate: Mon Dec 21 21:04:13 2015 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Mon Dec 21 21:08:16 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71971e5a

sci-mathematics/maxima: Rename emacs site-init file.

Use similar naming scheme as for the patch files.

Package-Manager: portage-2.2.26

 .../maxima/files/{50maxima-gentoo.el => 50maxima-gentoo-0.el}  | 3 ---
 sci-mathematics/maxima/maxima-5.34.1.ebuild| 2 +-
 sci-mathematics/maxima/maxima-5.37.3-r1.ebuild | 2 +-
 3 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/sci-mathematics/maxima/files/50maxima-gentoo.el 
b/sci-mathematics/maxima/files/50maxima-gentoo-0.el
similarity index 91%
rename from sci-mathematics/maxima/files/50maxima-gentoo.el
rename to sci-mathematics/maxima/files/50maxima-gentoo-0.el
index 20c7399..ace2f4f 100644
--- a/sci-mathematics/maxima/files/50maxima-gentoo.el
+++ b/sci-mathematics/maxima/files/50maxima-gentoo-0.el
@@ -1,6 +1,3 @@
-
-;;; maxima site-lisp configuration
-
 (add-to-list 'load-path "@SITELISP@")
 (autoload 'maxima-mode "maxima" "Maxima mode" t)
 (autoload 'maxima "maxima" "Maxima interactive" t)

diff --git a/sci-mathematics/maxima/maxima-5.34.1.ebuild 
b/sci-mathematics/maxima/maxima-5.34.1.ebuild
index b679a8a..fa91b3d 100644
--- a/sci-mathematics/maxima/maxima-5.34.1.ebuild
+++ b/sci-mathematics/maxima/maxima-5.34.1.ebuild
@@ -168,7 +168,7 @@ src_install() {
dosym ../${PN}/${PV}/doc /usr/share/doc/${PF} || die
 
if use emacs; then
-   elisp-site-file-install "${FILESDIR}"/50maxima-gentoo.el || die
+   elisp-site-file-install "${FILESDIR}"/50maxima-gentoo-0.el || 
die
fi
 
# if we use ecls, build an ecls library for maxima

diff --git a/sci-mathematics/maxima/maxima-5.37.3-r1.ebuild 
b/sci-mathematics/maxima/maxima-5.37.3-r1.ebuild
index 85e2150..e71ebf0 100644
--- a/sci-mathematics/maxima/maxima-5.37.3-r1.ebuild
+++ b/sci-mathematics/maxima/maxima-5.37.3-r1.ebuild
@@ -162,7 +162,7 @@ src_install() {
dosym ../${PN}/${PV}/doc /usr/share/doc/${PF} || die
 
if use emacs; then
-   elisp-site-file-install "${FILESDIR}"/50maxima-gentoo.el || die
+   elisp-site-file-install "${FILESDIR}"/50maxima-gentoo-0.el || 
die
fi
 
# if we use ecls, build an ecls library for maxima



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/, sci-mathematics/maxima/files/

2015-12-21 Thread Ulrich Müller
commit: 727022b39e84bcb80ee0b63a1fd3424c83b90b79
Author: Ulrich Müller  gentoo  org>
AuthorDate: Mon Dec 21 21:00:34 2015 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Mon Dec 21 21:08:16 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=727022b3

sci-mathematics/maxima: Install imaxima.

With USE=emacs, install imaxima and byte-compile the elisp files.
This obsoletes app-emacs/imaxima, so block against it.
With USE=-emacs, remove any emacs files installed by the build system.

Bug: 448242

Package-Manager: portage-2.2.26

 sci-mathematics/maxima/files/50maxima-gentoo-1.el |  13 ++
 sci-mathematics/maxima/maxima-5.37.3-r2.ebuild| 200 ++
 2 files changed, 213 insertions(+)

diff --git a/sci-mathematics/maxima/files/50maxima-gentoo-1.el 
b/sci-mathematics/maxima/files/50maxima-gentoo-1.el
new file mode 100644
index 000..be14dbf
--- /dev/null
+++ b/sci-mathematics/maxima/files/50maxima-gentoo-1.el
@@ -0,0 +1,13 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'maxima-mode "maxima" "Maxima mode" t)
+(autoload 'maxima "maxima" "Maxima interactive" t)
+(autoload 'dbl "dbl" "Make a debugger to run lisp, maxima and or gdb in" t)
+(add-to-list 'auto-mode-alist '("\\.ma?[cx]\\'" . maxima-mode))
+
+;; emaxima mode
+(autoload 'emaxima-mode "emaxima" "EMaxima" t)
+(add-hook 'emaxima-mode-hook 'emaxima-mark-file-as-emaxima)
+
+;; imaxima
+(autoload 'imaxima "imaxima" "Image support for Maxima." t)
+(autoload 'imath-mode "imath" "Interactive Math minor mode." t)

diff --git a/sci-mathematics/maxima/maxima-5.37.3-r2.ebuild 
b/sci-mathematics/maxima/maxima-5.37.3-r2.ebuild
new file mode 100644
index 000..3afffbf
--- /dev/null
+++ b/sci-mathematics/maxima/maxima-5.37.3-r2.ebuild
@@ -0,0 +1,200 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit autotools elisp-common eutils
+
+DESCRIPTION="Free computer algebra environment based on Macsyma"
+HOMEPAGE="http://maxima.sourceforge.net/;
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2 GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+
+# Supported lisps
+LISPS=( sbcl cmucl gcl ecls clozurecl clisp )
+#  supports readline: . - no, y - yes
+SUPP_RL=(   .. y   .. y )
+# . - just --enable-,  - --enable-
+CONF_FLAG=( .. .   ecl  ccl   . )
+# patch file version; . - no patch
+PATCH_V=(   11 .   22 1 )
+
+IUSE="latex emacs tk nls unicode xemacs X ${LISPS[*]}"
+
+# Languages
+LANGS="es pt pt_BR"
+for lang in ${LANGS}; do
+   IUSE="${IUSE} linguas_${lang}"
+done
+
+# texlive-latexrecommended needed by imaxima for breqn.sty
+RDEPEND="!app-emacs/imaxima
+   X? ( x11-misc/xdg-utils
+sci-visualization/gnuplot[gd]
+tk? ( dev-lang/tk:0 ) )
+   latex? ( virtual/latex-base )
+   emacs? ( virtual/emacs
+   latex? ( app-emacs/auctex
+   app-text/ghostscript-gpl
+   dev-texlive/texlive-latexrecommended ) )
+   xemacs? ( app-editors/xemacs
+   latex? ( app-xemacs/auctex ) )"
+
+# generating lisp dependencies
+depends() {
+   local LISP DEP
+   LISP=${LISPS[$1]}
+   DEP="dev-lisp/${LISP}:="
+   if [ "${SUPP_RL[$1]}" = "." ]; then
+   DEP="${DEP} app-misc/rlwrap"
+   fi
+   echo ${DEP}
+}
+
+n=${#LISPS[*]}
+for ((n--; n >= 0; n--)); do
+   LISP=${LISPS[${n}]}
+   RDEPEND="${RDEPEND} ${LISP}? ( $(depends ${n}) )"
+   DEF_DEP="${DEF_DEP} !${LISP}? ( "
+done
+
+# default lisp
+DEF_LISP=0 # sbcl
+ARM_LISP=2 # gcl
+DEF_DEP="${DEF_DEP} arm? ( `depends ${ARM_LISP}` ) !arm? ( `depends 
${DEF_LISP}` )"
+
+n=${#LISPS[*]}
+for ((n--; n >= 0; n--)); do
+   DEF_DEP="${DEF_DEP} )"
+done
+
+unset LISP
+
+RDEPEND="${RDEPEND}
+   ${DEF_DEP}"
+
+DEPEND="${RDEPEND}
+   sys-apps/texinfo"
+
+TEXMF="${EPREFIX}"/usr/share/texmf-site
+
+pkg_setup() {
+   local n=${#LISPS[*]}
+
+   for ((n--; n >= 0; n--)); do
+   use ${LISPS[${n}]} && NLISPS="${NLISPS} ${n}"
+   done
+
+   if [ -z "${NLISPS}" ]; then
+   ewarn "No lisp specified in USE flags, choosing 
${LISPS[${DEF_LISP}]} as default"
+   NLISPS=${DEF_LISP}
+   fi
+}
+
+src_prepare() {
+   local n PATCHES v
+   PATCHES=( rmaxima-0 wish-1 xdg-utils-0 db-0 )
+
+   n=${#PATCHES[*]}
+   for ((n--; n >= 0; n--)); do
+   epatch "${FILESDIR}"/${PATCHES[${n}]}.patch
+   done
+
+   n=${#LISPS[*]}
+   for ((n--; n >= 0; n--)); do
+   v=${PATCH_V[${n}]}
+   if [ "${v}" != "." ]; then
+   epatch "${FILESDIR}"/${LISPS[${n}]}-${v}.patch
+   fi
+   done
+
+   # bug #343331
+   rm share/Makefile.in || die
+ 

[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/

2015-11-27 Thread Andrey Grozin
commit: b0a6a38caeb9b51e734ef129740a8f41466e2182
Author: Andrey Grozin  gentoo  org>
AuthorDate: Fri Nov 27 12:02:06 2015 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Fri Nov 27 12:02:06 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0a6a38c

sci-mathematics/maxima: fixing dependencies

Bug: 566550

Package-Manager: portage-2.2.25

 sci-mathematics/maxima/maxima-5.37.3-r1.ebuild | 184 +
 1 file changed, 184 insertions(+)

diff --git a/sci-mathematics/maxima/maxima-5.37.3-r1.ebuild 
b/sci-mathematics/maxima/maxima-5.37.3-r1.ebuild
new file mode 100644
index 000..85e2150
--- /dev/null
+++ b/sci-mathematics/maxima/maxima-5.37.3-r1.ebuild
@@ -0,0 +1,184 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit autotools elisp-common eutils
+
+DESCRIPTION="Free computer algebra environment based on Macsyma"
+HOMEPAGE="http://maxima.sourceforge.net/;
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+
+# Supported lisps
+LISPS=( sbcl cmucl gcl ecls clozurecl clisp )
+#  supports readline: . - no, y - yes
+SUPP_RL=(   .. y   .. y )
+# . - just --enable-,  - --enable-
+CONF_FLAG=( .. .   ecl  ccl   . )
+# patch file version; . - no patch
+PATCH_V=(   11 .   22 1 )
+
+IUSE="latex emacs tk nls unicode xemacs X ${LISPS[*]}"
+
+# Languages
+LANGS="es pt pt_BR"
+for lang in ${LANGS}; do
+   IUSE="${IUSE} linguas_${lang}"
+done
+
+RDEPEND="X? ( x11-misc/xdg-utils
+sci-visualization/gnuplot[gd]
+tk? ( dev-lang/tk:0 ) )
+   latex? ( virtual/latex-base )
+   emacs? ( virtual/emacs
+   latex? ( app-emacs/auctex ) )
+   xemacs? ( app-editors/xemacs
+   latex? ( app-emacs/auctex ) )"
+
+PDEPEND="emacs? ( app-emacs/imaxima )"
+
+# generating lisp dependencies
+depends() {
+   local LISP DEP
+   LISP=${LISPS[$1]}
+   DEP="dev-lisp/${LISP}:="
+   if [ "${SUPP_RL[$1]}" = "." ]; then
+   DEP="${DEP} app-misc/rlwrap"
+   fi
+   echo ${DEP}
+}
+
+n=${#LISPS[*]}
+for ((n--; n >= 0; n--)); do
+   LISP=${LISPS[${n}]}
+   RDEPEND="${RDEPEND} ${LISP}? ( $(depends ${n}) )"
+   DEF_DEP="${DEF_DEP} !${LISP}? ( "
+done
+
+# default lisp
+DEF_LISP=0 # sbcl
+ARM_LISP=2 # gcl
+DEF_DEP="${DEF_DEP} arm? ( `depends ${ARM_LISP}` ) !arm? ( `depends 
${DEF_LISP}` )"
+
+n=${#LISPS[*]}
+for ((n--; n >= 0; n--)); do
+   DEF_DEP="${DEF_DEP} )"
+done
+
+unset LISP
+
+RDEPEND="${RDEPEND}
+   ${DEF_DEP}"
+
+DEPEND="${RDEPEND}
+   sys-apps/texinfo"
+
+TEXMF="${EPREFIX}"/usr/share/texmf-site
+
+pkg_setup() {
+   local n=${#LISPS[*]}
+
+   for ((n--; n >= 0; n--)); do
+   use ${LISPS[${n}]} && NLISPS="${NLISPS} ${n}"
+   done
+
+   if [ -z "${NLISPS}" ]; then
+   ewarn "No lisp specified in USE flags, choosing 
${LISPS[${DEF_LISP}]} as default"
+   NLISPS=${DEF_LISP}
+   fi
+}
+
+src_prepare() {
+   local n PATCHES v
+   PATCHES=( imaxima-0 rmaxima-0 wish-1 xdg-utils-0 db-0 )
+
+   n=${#PATCHES[*]}
+   for ((n--; n >= 0; n--)); do
+   epatch "${FILESDIR}"/${PATCHES[${n}]}.patch
+   done
+
+   n=${#LISPS[*]}
+   for ((n--; n >= 0; n--)); do
+   v=${PATCH_V[${n}]}
+   if [ "${v}" != "." ]; then
+   epatch "${FILESDIR}"/${LISPS[${n}]}-${v}.patch
+   fi
+   done
+
+   # bug #343331
+   rm share/Makefile.in || die
+   rm src/Makefile.in || die
+   touch src/*.mk
+   touch src/Makefile.am
+   eautoreconf
+}
+
+src_configure() {
+   local CONFS CONF n lang
+   for n in ${NLISPS}; do
+   CONF=${CONF_FLAG[${n}]}
+   if [ ${CONF} = . ]; then
+   CONF=${LISPS[${n}]}
+   fi
+   CONFS="${CONFS} --enable-${CONF}"
+   done
+
+   # enable existing translated doc
+   if use nls; then
+   for lang in ${LANGS}; do
+   if use "linguas_${lang}"; then
+   CONFS="${CONFS} --enable-lang-${lang}"
+   use unicode && CONFS="${CONFS} 
--enable-lang-${lang}-utf8"
+   fi
+   done
+   fi
+
+   econf ${CONFS} $(use_with tk wish) 
--with-lispdir="${EPREFIX}/${SITELISP}"/${PN}
+}
+
+src_install() {
+   docompress -x /usr/share/info
+   emake DESTDIR="${D}" emacsdir="${EPREFIX}/${SITELISP}/${PN}" install
+
+   use tk && make_desktop_entry xmaxima xmaxima \
+   /usr/share/${PN}/${PV}/xmaxima/maxima-new.png \
+   "Science;Math;Education"
+
+   if use latex; then
+ 

[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/files/, sci-mathematics/maxima/

2015-11-27 Thread Andrey Grozin
commit: ad0a006bbf3a9460f3c3d74190e763bd3fcea1af
Author: Andrey Grozin  gentoo  org>
AuthorDate: Fri Nov 27 12:09:59 2015 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Fri Nov 27 12:11:36 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad0a006b

sci-mathematics/maxima: cleaning old

Package-Manager: portage-2.2.25

 sci-mathematics/maxima/Manifest|   1 -
 sci-mathematics/maxima/files/clozurecl-1.patch |  28 
 sci-mathematics/maxima/maxima-5.36.1.ebuild| 190 -
 sci-mathematics/maxima/maxima-5.37.3.ebuild| 190 -
 4 files changed, 409 deletions(-)

diff --git a/sci-mathematics/maxima/Manifest b/sci-mathematics/maxima/Manifest
index 4465bce..321acdc 100644
--- a/sci-mathematics/maxima/Manifest
+++ b/sci-mathematics/maxima/Manifest
@@ -1,3 +1,2 @@
 DIST maxima-5.34.1.tar.gz 29469851 SHA256 
20ca416ca912c8d3d99299f2ef45342a1beb2f077cf501c6a647de46bfdb89b7 SHA512 
24a9ce0d2bfb0fa107460bbeec561869f9d3f2ce2623e39ab16b810dbf2712981bbf98ceee9c30f4e70fdec7f918a7743b5fb8cf26b67313e1d367dd8f2a1823
 WHIRLPOOL 
0f59cfe14391686a543027bb5cab8669439d0e36b016924872662f61e36cf05663480f8a3f942d7deccbe39ec7f45ed77deeb8a3c84241189ac0f1993537c47a
-DIST maxima-5.36.1.tar.gz 29615673 SHA256 
400bf83000b84d280d75e200e078582fe44f23220824562cc06c589d8a993974 SHA512 
10e090230ab408777a1145ad90daef6bf237ba38ae31a654ba4d464e7a27e1f48baac5202ce8fb39e4c04ec9a6c9916ac83a58bd071b676ea5a989ea7db87d4c
 WHIRLPOOL 
ee7738085ae9e5b156b89afbf724b3ae5ef70b74550bee43cf3ab763f569d5ac51ea9c0e5aad67070f4b71f480b079aad8e4fd44ded34525a1f84cbeeb2d28b0
 DIST maxima-5.37.3.tar.gz 29964644 SHA256 
8bd5dcd672f37ea752385475fc64f8c87dfa29bbe34766cbcb87b1f63dfb5934 SHA512 
a337afdc779abc88297e7dadf8af949da881c91a237e85ed654046c98692f2446c0b2ddb8c81b637cb7a35dd3b712832aadc5dedcaa8b681496dae4835c9d0f1
 WHIRLPOOL 
d24eeb7f39f88b9f542e28db28b8f249b1badc059fe744a83209b102b8f776131e4b2f91c28949f4f6de8323f163cb0a6be9bafc3c0ef058a73e9b543622e976

diff --git a/sci-mathematics/maxima/files/clozurecl-1.patch 
b/sci-mathematics/maxima/files/clozurecl-1.patch
deleted file mode 100644
index 07203a2..000
--- a/sci-mathematics/maxima/files/clozurecl-1.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-diff -r -U1 maxima-5.35.1.orig/configure.ac maxima-5.35.1/configure.ac
 maxima-5.35.1.orig/configure.ac2014-12-13 06:44:51.0 +0600
-+++ maxima-5.35.1/configure.ac 2014-12-20 20:43:04.713305777 +0600
-@@ -379,3 +379,3 @@
- dnl n.b. openmcl_default_name is hardcoded in "with" message
--openmcl_default_name=openmcl
-+openmcl_default_name=ccl
- AC_ARG_ENABLE(openmcl,
-diff -r -U1 maxima-5.35.1.orig/src/Makefile.am maxima-5.35.1/src/Makefile.am
 maxima-5.35.1.orig/src/Makefile.am 2014-09-24 00:02:16.0 +0700
-+++ maxima-5.35.1/src/Makefile.am  2014-12-20 20:43:04.713305777 +0600
-@@ -359,3 +359,3 @@
- 
--EXECUTEOPENMCL = $(OPENMCL_NAME) -e
-+EXECUTEOPENMCL = $(OPENMCL_NAME) --no-init -e
- BUILT_FILES += $(OPENMCL_MAXIMA)
-Только в maxima-5.35.1/src: Makefile.am.orig
-diff -r -U1 maxima-5.35.1.orig/src/maxima.in maxima-5.35.1/src/maxima.in
 maxima-5.35.1.orig/src/maxima.in   2014-12-03 04:17:05.0 +0600
-+++ maxima-5.35.1/src/maxima.in2014-12-20 20:43:04.713305777 +0600
-@@ -185,5 +185,5 @@
- if [ -x "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" ]; then
--  exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" 
$MAXIMA_LISP_OPTIONS -e '(cl-user::run)' -- "$arg1" "$arg2" "$arg3" "$arg4" 
"$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
-+  exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" 
$MAXIMA_LISP_OPTIONS --no-init -e '(cl-user::run)' -- "$arg1" "$arg2" "$arg3" 
"$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
- else
--  exec "@OPENMCL_NAME@" -I "$maxima_image_base.image" 
$MAXIMA_LISP_OPTIONS -e '(cl-user::run)' -- "$arg1" "$arg2" "$arg3" "$arg4" 
"$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
-+  exec "@OPENMCL_NAME@" -I "$maxima_image_base.image" 
$MAXIMA_LISP_OPTIONS --no-init -e '(cl-user::run)' -- "$arg1" "$arg2" "$arg3" 
"$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
-fi

diff --git a/sci-mathematics/maxima/maxima-5.36.1.ebuild 
b/sci-mathematics/maxima/maxima-5.36.1.ebuild
deleted file mode 100644
index 79aa856..000
--- a/sci-mathematics/maxima/maxima-5.36.1.ebuild
+++ /dev/null
@@ -1,190 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit autotools elisp-common eutils
-
-DESCRIPTION="Free computer algebra environment based on Macsyma"
-HOMEPAGE="http://maxima.sourceforge.net/;
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
-
-# Supported lisps
-LISPS=( sbcl cmucl gcl ecls clozurecl clisp )
-#  supports readline: . - no, y - yes
-SUPP_RL=(   .. y   .. 

[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/

2015-11-09 Thread Andrey Grozin
commit: 68a1f62b21ee1d99f1e92f2265c0845f13ee85a9
Author: Andrey Grozin  gentoo  org>
AuthorDate: Tue Nov 10 05:01:10 2015 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Tue Nov 10 05:01:10 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68a1f62b

sci-mathematics/maxima: bump to 5.37.3

Package-Manager: portage-2.2.24

 sci-mathematics/maxima/Manifest |   1 +
 sci-mathematics/maxima/maxima-5.37.3.ebuild | 190 
 2 files changed, 191 insertions(+)

diff --git a/sci-mathematics/maxima/Manifest b/sci-mathematics/maxima/Manifest
index 16f7538..c4c3667 100644
--- a/sci-mathematics/maxima/Manifest
+++ b/sci-mathematics/maxima/Manifest
@@ -1,3 +1,4 @@
 DIST maxima-5.34.1.tar.gz 29469851 SHA256 
20ca416ca912c8d3d99299f2ef45342a1beb2f077cf501c6a647de46bfdb89b7 SHA512 
24a9ce0d2bfb0fa107460bbeec561869f9d3f2ce2623e39ab16b810dbf2712981bbf98ceee9c30f4e70fdec7f918a7743b5fb8cf26b67313e1d367dd8f2a1823
 WHIRLPOOL 
0f59cfe14391686a543027bb5cab8669439d0e36b016924872662f61e36cf05663480f8a3f942d7deccbe39ec7f45ed77deeb8a3c84241189ac0f1993537c47a
 DIST maxima-5.36.1.tar.gz 29615673 SHA256 
400bf83000b84d280d75e200e078582fe44f23220824562cc06c589d8a993974 SHA512 
10e090230ab408777a1145ad90daef6bf237ba38ae31a654ba4d464e7a27e1f48baac5202ce8fb39e4c04ec9a6c9916ac83a58bd071b676ea5a989ea7db87d4c
 WHIRLPOOL 
ee7738085ae9e5b156b89afbf724b3ae5ef70b74550bee43cf3ab763f569d5ac51ea9c0e5aad67070f4b71f480b079aad8e4fd44ded34525a1f84cbeeb2d28b0
 DIST maxima-5.37.2.tar.gz 29963535 SHA256 
b6bc38264405f092817f863d3a09e25027c0d3eb6c61e00db8c232ea2a41aa6b SHA512 
b043c9f48e0cdffeb9e81a938b3d17037741ff63a5a2c09b893f74d55ef9f54d998bf05b2312cb56139329c8ebb107b68c70d1b72a961c0bb91e0cc4932872c7
 WHIRLPOOL 
e5cadacb2844c16b0c74c5c0c847fb25cf0e6e26d458e4e16ec6422b661f6b3c8f42dfb45d4cea81ddf9e30ec0286c2218187e74fa28511a7e6753a04b4ca4d5
+DIST maxima-5.37.3.tar.gz 29964644 SHA256 
8bd5dcd672f37ea752385475fc64f8c87dfa29bbe34766cbcb87b1f63dfb5934 SHA512 
a337afdc779abc88297e7dadf8af949da881c91a237e85ed654046c98692f2446c0b2ddb8c81b637cb7a35dd3b712832aadc5dedcaa8b681496dae4835c9d0f1
 WHIRLPOOL 
d24eeb7f39f88b9f542e28db28b8f249b1badc059fe744a83209b102b8f776131e4b2f91c28949f4f6de8323f163cb0a6be9bafc3c0ef058a73e9b543622e976

diff --git a/sci-mathematics/maxima/maxima-5.37.3.ebuild 
b/sci-mathematics/maxima/maxima-5.37.3.ebuild
new file mode 100644
index 000..8f2f164
--- /dev/null
+++ b/sci-mathematics/maxima/maxima-5.37.3.ebuild
@@ -0,0 +1,190 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit autotools elisp-common eutils
+
+DESCRIPTION="Free computer algebra environment based on Macsyma"
+HOMEPAGE="http://maxima.sourceforge.net/;
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+
+# Supported lisps
+LISPS=( sbcl cmucl gcl ecls clozurecl clisp )
+#  supports readline: . - no, y - yes
+SUPP_RL=(   .. y   .. y )
+# . - just --enable-,  - --enable-
+CONF_FLAG=( .. .   ecl  ccl   . )
+# patch file version; . - no patch
+PATCH_V=(   11 .   22 1 )
+
+IUSE="latex emacs tk nls unicode xemacs X ${LISPS[*]}"
+
+# Languages
+LANGS="es pt pt_BR"
+for lang in ${LANGS}; do
+   IUSE="${IUSE} linguas_${lang}"
+done
+
+RDEPEND="X? ( x11-misc/xdg-utils
+sci-visualization/gnuplot[gd]
+tk? ( dev-lang/tk:0 ) )
+   latex? ( virtual/latex-base )
+   emacs? ( virtual/emacs
+   latex? ( app-emacs/auctex ) )
+   xemacs? ( app-editors/xemacs
+   latex? ( app-emacs/auctex ) )"
+
+PDEPEND="emacs? ( app-emacs/imaxima )"
+
+# generating lisp dependencies
+depends() {
+   local LISP DEP
+   LISP=${LISPS[$1]}
+   DEP="dev-lisp/${LISP}:="
+   if [ "${SUPP_RL[$1]}" = "." ]; then
+   DEP="${DEP} app-misc/rlwrap"
+   fi
+   echo ${DEP}
+}
+
+n=${#LISPS[*]}
+for ((n--; n >= 0; n--)); do
+   LISP=${LISPS[${n}]}
+   RDEPEND="${RDEPEND} ${LISP}? ( $(depends ${n}) )"
+   if (( ${n} > 0 )); then
+   DEF_DEP="${DEF_DEP} !${LISP}? ( "
+   fi
+done
+
+# default lisp
+if use arm; then
+   DEF_LISP=2 # gcl
+else
+   DEF_LISP=0 # sbcl
+fi
+
+DEF_DEP="${DEF_DEP} `depends ${DEF_LISP}`"
+
+n=${#LISPS[*]}
+for ((n--; n > 0; n--)); do
+   DEF_DEP="${DEF_DEP} )"
+done
+
+unset LISP
+
+RDEPEND="${RDEPEND}
+   ${DEF_DEP}"
+
+DEPEND="${RDEPEND}
+   sys-apps/texinfo"
+
+TEXMF="${EPREFIX}"/usr/share/texmf-site
+
+pkg_setup() {
+   local n=${#LISPS[*]}
+
+   for ((n--; n >= 0; n--)); do
+   use ${LISPS[${n}]} && NLISPS="${NLISPS} ${n}"
+   done
+
+   if [ -z "${NLISPS}" ]; then
+   ewarn "No lisp specified in USE flags, choosing 

[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/

2015-11-09 Thread Andrey Grozin
commit: b031ca14778c1eaa13ee7497ed5071e9aabda347
Author: Andrey Grozin  gentoo  org>
AuthorDate: Tue Nov 10 05:03:26 2015 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Tue Nov 10 05:03:26 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b031ca14

sci-mathematics/maxima: cleaning 5.37.2

Package-Manager: portage-2.2.24

 sci-mathematics/maxima/Manifest |   1 -
 sci-mathematics/maxima/maxima-5.37.2.ebuild | 190 
 2 files changed, 191 deletions(-)

diff --git a/sci-mathematics/maxima/Manifest b/sci-mathematics/maxima/Manifest
index c4c3667..4465bce 100644
--- a/sci-mathematics/maxima/Manifest
+++ b/sci-mathematics/maxima/Manifest
@@ -1,4 +1,3 @@
 DIST maxima-5.34.1.tar.gz 29469851 SHA256 
20ca416ca912c8d3d99299f2ef45342a1beb2f077cf501c6a647de46bfdb89b7 SHA512 
24a9ce0d2bfb0fa107460bbeec561869f9d3f2ce2623e39ab16b810dbf2712981bbf98ceee9c30f4e70fdec7f918a7743b5fb8cf26b67313e1d367dd8f2a1823
 WHIRLPOOL 
0f59cfe14391686a543027bb5cab8669439d0e36b016924872662f61e36cf05663480f8a3f942d7deccbe39ec7f45ed77deeb8a3c84241189ac0f1993537c47a
 DIST maxima-5.36.1.tar.gz 29615673 SHA256 
400bf83000b84d280d75e200e078582fe44f23220824562cc06c589d8a993974 SHA512 
10e090230ab408777a1145ad90daef6bf237ba38ae31a654ba4d464e7a27e1f48baac5202ce8fb39e4c04ec9a6c9916ac83a58bd071b676ea5a989ea7db87d4c
 WHIRLPOOL 
ee7738085ae9e5b156b89afbf724b3ae5ef70b74550bee43cf3ab763f569d5ac51ea9c0e5aad67070f4b71f480b079aad8e4fd44ded34525a1f84cbeeb2d28b0
-DIST maxima-5.37.2.tar.gz 29963535 SHA256 
b6bc38264405f092817f863d3a09e25027c0d3eb6c61e00db8c232ea2a41aa6b SHA512 
b043c9f48e0cdffeb9e81a938b3d17037741ff63a5a2c09b893f74d55ef9f54d998bf05b2312cb56139329c8ebb107b68c70d1b72a961c0bb91e0cc4932872c7
 WHIRLPOOL 
e5cadacb2844c16b0c74c5c0c847fb25cf0e6e26d458e4e16ec6422b661f6b3c8f42dfb45d4cea81ddf9e30ec0286c2218187e74fa28511a7e6753a04b4ca4d5
 DIST maxima-5.37.3.tar.gz 29964644 SHA256 
8bd5dcd672f37ea752385475fc64f8c87dfa29bbe34766cbcb87b1f63dfb5934 SHA512 
a337afdc779abc88297e7dadf8af949da881c91a237e85ed654046c98692f2446c0b2ddb8c81b637cb7a35dd3b712832aadc5dedcaa8b681496dae4835c9d0f1
 WHIRLPOOL 
d24eeb7f39f88b9f542e28db28b8f249b1badc059fe744a83209b102b8f776131e4b2f91c28949f4f6de8323f163cb0a6be9bafc3c0ef058a73e9b543622e976

diff --git a/sci-mathematics/maxima/maxima-5.37.2.ebuild 
b/sci-mathematics/maxima/maxima-5.37.2.ebuild
deleted file mode 100644
index 8f2f164..000
--- a/sci-mathematics/maxima/maxima-5.37.2.ebuild
+++ /dev/null
@@ -1,190 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit autotools elisp-common eutils
-
-DESCRIPTION="Free computer algebra environment based on Macsyma"
-HOMEPAGE="http://maxima.sourceforge.net/;
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
-
-# Supported lisps
-LISPS=( sbcl cmucl gcl ecls clozurecl clisp )
-#  supports readline: . - no, y - yes
-SUPP_RL=(   .. y   .. y )
-# . - just --enable-,  - --enable-
-CONF_FLAG=( .. .   ecl  ccl   . )
-# patch file version; . - no patch
-PATCH_V=(   11 .   22 1 )
-
-IUSE="latex emacs tk nls unicode xemacs X ${LISPS[*]}"
-
-# Languages
-LANGS="es pt pt_BR"
-for lang in ${LANGS}; do
-   IUSE="${IUSE} linguas_${lang}"
-done
-
-RDEPEND="X? ( x11-misc/xdg-utils
-sci-visualization/gnuplot[gd]
-tk? ( dev-lang/tk:0 ) )
-   latex? ( virtual/latex-base )
-   emacs? ( virtual/emacs
-   latex? ( app-emacs/auctex ) )
-   xemacs? ( app-editors/xemacs
-   latex? ( app-emacs/auctex ) )"
-
-PDEPEND="emacs? ( app-emacs/imaxima )"
-
-# generating lisp dependencies
-depends() {
-   local LISP DEP
-   LISP=${LISPS[$1]}
-   DEP="dev-lisp/${LISP}:="
-   if [ "${SUPP_RL[$1]}" = "." ]; then
-   DEP="${DEP} app-misc/rlwrap"
-   fi
-   echo ${DEP}
-}
-
-n=${#LISPS[*]}
-for ((n--; n >= 0; n--)); do
-   LISP=${LISPS[${n}]}
-   RDEPEND="${RDEPEND} ${LISP}? ( $(depends ${n}) )"
-   if (( ${n} > 0 )); then
-   DEF_DEP="${DEF_DEP} !${LISP}? ( "
-   fi
-done
-
-# default lisp
-if use arm; then
-   DEF_LISP=2 # gcl
-else
-   DEF_LISP=0 # sbcl
-fi
-
-DEF_DEP="${DEF_DEP} `depends ${DEF_LISP}`"
-
-n=${#LISPS[*]}
-for ((n--; n > 0; n--)); do
-   DEF_DEP="${DEF_DEP} )"
-done
-
-unset LISP
-
-RDEPEND="${RDEPEND}
-   ${DEF_DEP}"
-
-DEPEND="${RDEPEND}
-   sys-apps/texinfo"
-
-TEXMF="${EPREFIX}"/usr/share/texmf-site
-
-pkg_setup() {
-   local n=${#LISPS[*]}
-
-   for ((n--; n >= 0; n--)); do
-   use ${LISPS[${n}]} && NLISPS="${NLISPS} ${n}"
-   done
-
-   if [ -z "${NLISPS}" ]; then
-   ewarn "No lisp specified in USE flags, choosing 

[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/

2015-09-17 Thread Andrey Grozin
commit: fb78dcc4f65748b4999e030290fe7b43a661f001
Author: Andrey Grozin  gentoo  org>
AuthorDate: Fri Sep 18 04:19:33 2015 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Fri Sep 18 04:19:33 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb78dcc4

sci-mathematics/maxima: bump to 5.37.2

Package-Manager: portage-2.2.20.1

 sci-mathematics/maxima/Manifest |   1 +
 sci-mathematics/maxima/maxima-5.37.2.ebuild | 190 
 2 files changed, 191 insertions(+)

diff --git a/sci-mathematics/maxima/Manifest b/sci-mathematics/maxima/Manifest
index edee4ea..1c077ad 100644
--- a/sci-mathematics/maxima/Manifest
+++ b/sci-mathematics/maxima/Manifest
@@ -1,3 +1,4 @@
 DIST maxima-5.34.1.tar.gz 29469851 SHA256 
20ca416ca912c8d3d99299f2ef45342a1beb2f077cf501c6a647de46bfdb89b7 SHA512 
24a9ce0d2bfb0fa107460bbeec561869f9d3f2ce2623e39ab16b810dbf2712981bbf98ceee9c30f4e70fdec7f918a7743b5fb8cf26b67313e1d367dd8f2a1823
 WHIRLPOOL 
0f59cfe14391686a543027bb5cab8669439d0e36b016924872662f61e36cf05663480f8a3f942d7deccbe39ec7f45ed77deeb8a3c84241189ac0f1993537c47a
 DIST maxima-5.36.1.tar.gz 29615673 SHA256 
400bf83000b84d280d75e200e078582fe44f23220824562cc06c589d8a993974 SHA512 
10e090230ab408777a1145ad90daef6bf237ba38ae31a654ba4d464e7a27e1f48baac5202ce8fb39e4c04ec9a6c9916ac83a58bd071b676ea5a989ea7db87d4c
 WHIRLPOOL 
ee7738085ae9e5b156b89afbf724b3ae5ef70b74550bee43cf3ab763f569d5ac51ea9c0e5aad67070f4b71f480b079aad8e4fd44ded34525a1f84cbeeb2d28b0
 DIST maxima-5.37.1.tar.gz 29952404 SHA256 
511477cbdf4645a6abd49596d59ed449ec8e012f90b59b1ddffc783c697bf744 SHA512 
523f2768e18e7e368dee63f5f6350afc87c3f5a51ef317b1bf3d9c662c1326a40a5035c09c44ed2e1388d31b5450802b802088e95dc7a3e10343bc55daefd878
 WHIRLPOOL 
0d7fad832a145d38fc0106540ba17d270da64495b2c739c215c07fcefeba2ecb769e609a2e7c1dd516e58b8e128776f5365bf10273c5031f5750b5c250d78bc2
+DIST maxima-5.37.2.tar.gz 29963535 SHA256 
b6bc38264405f092817f863d3a09e25027c0d3eb6c61e00db8c232ea2a41aa6b SHA512 
b043c9f48e0cdffeb9e81a938b3d17037741ff63a5a2c09b893f74d55ef9f54d998bf05b2312cb56139329c8ebb107b68c70d1b72a961c0bb91e0cc4932872c7
 WHIRLPOOL 
e5cadacb2844c16b0c74c5c0c847fb25cf0e6e26d458e4e16ec6422b661f6b3c8f42dfb45d4cea81ddf9e30ec0286c2218187e74fa28511a7e6753a04b4ca4d5

diff --git a/sci-mathematics/maxima/maxima-5.37.2.ebuild 
b/sci-mathematics/maxima/maxima-5.37.2.ebuild
new file mode 100644
index 000..8f2f164
--- /dev/null
+++ b/sci-mathematics/maxima/maxima-5.37.2.ebuild
@@ -0,0 +1,190 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit autotools elisp-common eutils
+
+DESCRIPTION="Free computer algebra environment based on Macsyma"
+HOMEPAGE="http://maxima.sourceforge.net/;
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+
+# Supported lisps
+LISPS=( sbcl cmucl gcl ecls clozurecl clisp )
+#  supports readline: . - no, y - yes
+SUPP_RL=(   .. y   .. y )
+# . - just --enable-,  - --enable-
+CONF_FLAG=( .. .   ecl  ccl   . )
+# patch file version; . - no patch
+PATCH_V=(   11 .   22 1 )
+
+IUSE="latex emacs tk nls unicode xemacs X ${LISPS[*]}"
+
+# Languages
+LANGS="es pt pt_BR"
+for lang in ${LANGS}; do
+   IUSE="${IUSE} linguas_${lang}"
+done
+
+RDEPEND="X? ( x11-misc/xdg-utils
+sci-visualization/gnuplot[gd]
+tk? ( dev-lang/tk:0 ) )
+   latex? ( virtual/latex-base )
+   emacs? ( virtual/emacs
+   latex? ( app-emacs/auctex ) )
+   xemacs? ( app-editors/xemacs
+   latex? ( app-emacs/auctex ) )"
+
+PDEPEND="emacs? ( app-emacs/imaxima )"
+
+# generating lisp dependencies
+depends() {
+   local LISP DEP
+   LISP=${LISPS[$1]}
+   DEP="dev-lisp/${LISP}:="
+   if [ "${SUPP_RL[$1]}" = "." ]; then
+   DEP="${DEP} app-misc/rlwrap"
+   fi
+   echo ${DEP}
+}
+
+n=${#LISPS[*]}
+for ((n--; n >= 0; n--)); do
+   LISP=${LISPS[${n}]}
+   RDEPEND="${RDEPEND} ${LISP}? ( $(depends ${n}) )"
+   if (( ${n} > 0 )); then
+   DEF_DEP="${DEF_DEP} !${LISP}? ( "
+   fi
+done
+
+# default lisp
+if use arm; then
+   DEF_LISP=2 # gcl
+else
+   DEF_LISP=0 # sbcl
+fi
+
+DEF_DEP="${DEF_DEP} `depends ${DEF_LISP}`"
+
+n=${#LISPS[*]}
+for ((n--; n > 0; n--)); do
+   DEF_DEP="${DEF_DEP} )"
+done
+
+unset LISP
+
+RDEPEND="${RDEPEND}
+   ${DEF_DEP}"
+
+DEPEND="${RDEPEND}
+   sys-apps/texinfo"
+
+TEXMF="${EPREFIX}"/usr/share/texmf-site
+
+pkg_setup() {
+   local n=${#LISPS[*]}
+
+   for ((n--; n >= 0; n--)); do
+   use ${LISPS[${n}]} && NLISPS="${NLISPS} ${n}"
+   done
+
+   if [ -z "${NLISPS}" ]; then
+   ewarn "No lisp specified in USE flags, choosing 

[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/

2015-09-17 Thread Andrey Grozin
commit: ffbada846932140152536de5138313b3ee4634a1
Author: Andrey Grozin  gentoo  org>
AuthorDate: Fri Sep 18 04:21:44 2015 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Fri Sep 18 04:21:44 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffbada84

sci-mathematics/maxima: cleaning 5.37.1-r1

Package-Manager: portage-2.2.20.1

 sci-mathematics/maxima/Manifest|   1 -
 sci-mathematics/maxima/maxima-5.37.1-r1.ebuild | 190 -
 2 files changed, 191 deletions(-)

diff --git a/sci-mathematics/maxima/Manifest b/sci-mathematics/maxima/Manifest
index 1c077ad..16f7538 100644
--- a/sci-mathematics/maxima/Manifest
+++ b/sci-mathematics/maxima/Manifest
@@ -1,4 +1,3 @@
 DIST maxima-5.34.1.tar.gz 29469851 SHA256 
20ca416ca912c8d3d99299f2ef45342a1beb2f077cf501c6a647de46bfdb89b7 SHA512 
24a9ce0d2bfb0fa107460bbeec561869f9d3f2ce2623e39ab16b810dbf2712981bbf98ceee9c30f4e70fdec7f918a7743b5fb8cf26b67313e1d367dd8f2a1823
 WHIRLPOOL 
0f59cfe14391686a543027bb5cab8669439d0e36b016924872662f61e36cf05663480f8a3f942d7deccbe39ec7f45ed77deeb8a3c84241189ac0f1993537c47a
 DIST maxima-5.36.1.tar.gz 29615673 SHA256 
400bf83000b84d280d75e200e078582fe44f23220824562cc06c589d8a993974 SHA512 
10e090230ab408777a1145ad90daef6bf237ba38ae31a654ba4d464e7a27e1f48baac5202ce8fb39e4c04ec9a6c9916ac83a58bd071b676ea5a989ea7db87d4c
 WHIRLPOOL 
ee7738085ae9e5b156b89afbf724b3ae5ef70b74550bee43cf3ab763f569d5ac51ea9c0e5aad67070f4b71f480b079aad8e4fd44ded34525a1f84cbeeb2d28b0
-DIST maxima-5.37.1.tar.gz 29952404 SHA256 
511477cbdf4645a6abd49596d59ed449ec8e012f90b59b1ddffc783c697bf744 SHA512 
523f2768e18e7e368dee63f5f6350afc87c3f5a51ef317b1bf3d9c662c1326a40a5035c09c44ed2e1388d31b5450802b802088e95dc7a3e10343bc55daefd878
 WHIRLPOOL 
0d7fad832a145d38fc0106540ba17d270da64495b2c739c215c07fcefeba2ecb769e609a2e7c1dd516e58b8e128776f5365bf10273c5031f5750b5c250d78bc2
 DIST maxima-5.37.2.tar.gz 29963535 SHA256 
b6bc38264405f092817f863d3a09e25027c0d3eb6c61e00db8c232ea2a41aa6b SHA512 
b043c9f48e0cdffeb9e81a938b3d17037741ff63a5a2c09b893f74d55ef9f54d998bf05b2312cb56139329c8ebb107b68c70d1b72a961c0bb91e0cc4932872c7
 WHIRLPOOL 
e5cadacb2844c16b0c74c5c0c847fb25cf0e6e26d458e4e16ec6422b661f6b3c8f42dfb45d4cea81ddf9e30ec0286c2218187e74fa28511a7e6753a04b4ca4d5

diff --git a/sci-mathematics/maxima/maxima-5.37.1-r1.ebuild 
b/sci-mathematics/maxima/maxima-5.37.1-r1.ebuild
deleted file mode 100644
index 8f2f164..000
--- a/sci-mathematics/maxima/maxima-5.37.1-r1.ebuild
+++ /dev/null
@@ -1,190 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit autotools elisp-common eutils
-
-DESCRIPTION="Free computer algebra environment based on Macsyma"
-HOMEPAGE="http://maxima.sourceforge.net/;
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
-
-# Supported lisps
-LISPS=( sbcl cmucl gcl ecls clozurecl clisp )
-#  supports readline: . - no, y - yes
-SUPP_RL=(   .. y   .. y )
-# . - just --enable-,  - --enable-
-CONF_FLAG=( .. .   ecl  ccl   . )
-# patch file version; . - no patch
-PATCH_V=(   11 .   22 1 )
-
-IUSE="latex emacs tk nls unicode xemacs X ${LISPS[*]}"
-
-# Languages
-LANGS="es pt pt_BR"
-for lang in ${LANGS}; do
-   IUSE="${IUSE} linguas_${lang}"
-done
-
-RDEPEND="X? ( x11-misc/xdg-utils
-sci-visualization/gnuplot[gd]
-tk? ( dev-lang/tk:0 ) )
-   latex? ( virtual/latex-base )
-   emacs? ( virtual/emacs
-   latex? ( app-emacs/auctex ) )
-   xemacs? ( app-editors/xemacs
-   latex? ( app-emacs/auctex ) )"
-
-PDEPEND="emacs? ( app-emacs/imaxima )"
-
-# generating lisp dependencies
-depends() {
-   local LISP DEP
-   LISP=${LISPS[$1]}
-   DEP="dev-lisp/${LISP}:="
-   if [ "${SUPP_RL[$1]}" = "." ]; then
-   DEP="${DEP} app-misc/rlwrap"
-   fi
-   echo ${DEP}
-}
-
-n=${#LISPS[*]}
-for ((n--; n >= 0; n--)); do
-   LISP=${LISPS[${n}]}
-   RDEPEND="${RDEPEND} ${LISP}? ( $(depends ${n}) )"
-   if (( ${n} > 0 )); then
-   DEF_DEP="${DEF_DEP} !${LISP}? ( "
-   fi
-done
-
-# default lisp
-if use arm; then
-   DEF_LISP=2 # gcl
-else
-   DEF_LISP=0 # sbcl
-fi
-
-DEF_DEP="${DEF_DEP} `depends ${DEF_LISP}`"
-
-n=${#LISPS[*]}
-for ((n--; n > 0; n--)); do
-   DEF_DEP="${DEF_DEP} )"
-done
-
-unset LISP
-
-RDEPEND="${RDEPEND}
-   ${DEF_DEP}"
-
-DEPEND="${RDEPEND}
-   sys-apps/texinfo"
-
-TEXMF="${EPREFIX}"/usr/share/texmf-site
-
-pkg_setup() {
-   local n=${#LISPS[*]}
-
-   for ((n--; n >= 0; n--)); do
-   use ${LISPS[${n}]} && NLISPS="${NLISPS} ${n}"
-   done
-
-   if [ -z "${NLISPS}" ]; then
-   ewarn "No lisp specified in USE flags, 

[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/, sci-mathematics/maxima/files/

2015-09-03 Thread Andrey Grozin
commit: b5c632a81fc9457bd1af77f07c87961deb888bb2
Author: Andrey Grozin  gentoo  org>
AuthorDate: Thu Sep  3 14:22:01 2015 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Thu Sep  3 14:22:01 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5c632a8

sci-mathematics/maxima: version bump

Package-Manager: portage-2.2.20.1

 sci-mathematics/maxima/Manifest|   1 +
 sci-mathematics/maxima/files/clisp-1.patch |  19 +++
 sci-mathematics/maxima/files/clozurecl-2.patch |  27 
 sci-mathematics/maxima/files/cmucl-1.patch |  19 +++
 sci-mathematics/maxima/files/ecls-2.patch  |  35 +
 sci-mathematics/maxima/files/sbcl-1.patch  |  18 +++
 sci-mathematics/maxima/maxima-5.37.1.ebuild| 190 +
 7 files changed, 309 insertions(+)

diff --git a/sci-mathematics/maxima/Manifest b/sci-mathematics/maxima/Manifest
index 221c53c..edee4ea 100644
--- a/sci-mathematics/maxima/Manifest
+++ b/sci-mathematics/maxima/Manifest
@@ -1,2 +1,3 @@
 DIST maxima-5.34.1.tar.gz 29469851 SHA256 
20ca416ca912c8d3d99299f2ef45342a1beb2f077cf501c6a647de46bfdb89b7 SHA512 
24a9ce0d2bfb0fa107460bbeec561869f9d3f2ce2623e39ab16b810dbf2712981bbf98ceee9c30f4e70fdec7f918a7743b5fb8cf26b67313e1d367dd8f2a1823
 WHIRLPOOL 
0f59cfe14391686a543027bb5cab8669439d0e36b016924872662f61e36cf05663480f8a3f942d7deccbe39ec7f45ed77deeb8a3c84241189ac0f1993537c47a
 DIST maxima-5.36.1.tar.gz 29615673 SHA256 
400bf83000b84d280d75e200e078582fe44f23220824562cc06c589d8a993974 SHA512 
10e090230ab408777a1145ad90daef6bf237ba38ae31a654ba4d464e7a27e1f48baac5202ce8fb39e4c04ec9a6c9916ac83a58bd071b676ea5a989ea7db87d4c
 WHIRLPOOL 
ee7738085ae9e5b156b89afbf724b3ae5ef70b74550bee43cf3ab763f569d5ac51ea9c0e5aad67070f4b71f480b079aad8e4fd44ded34525a1f84cbeeb2d28b0
+DIST maxima-5.37.1.tar.gz 29952404 SHA256 
511477cbdf4645a6abd49596d59ed449ec8e012f90b59b1ddffc783c697bf744 SHA512 
523f2768e18e7e368dee63f5f6350afc87c3f5a51ef317b1bf3d9c662c1326a40a5035c09c44ed2e1388d31b5450802b802088e95dc7a3e10343bc55daefd878
 WHIRLPOOL 
0d7fad832a145d38fc0106540ba17d270da64495b2c739c215c07fcefeba2ecb769e609a2e7c1dd516e58b8e128776f5365bf10273c5031f5750b5c250d78bc2

diff --git a/sci-mathematics/maxima/files/clisp-1.patch 
b/sci-mathematics/maxima/files/clisp-1.patch
new file mode 100644
index 000..9dc8dfd
--- /dev/null
+++ b/sci-mathematics/maxima/files/clisp-1.patch
@@ -0,0 +1,19 @@
+diff -r -U1 maxima-5.37.1.orig/src/maxima.in maxima-5.37.1/src/maxima.in
+--- maxima-5.37.1.orig/src/maxima.in   2015-05-22 04:40:03.0 +0600
 maxima-5.37.1/src/maxima.in2015-09-03 16:08:22.467930422 +0600
+@@ -135,5 +135,5 @@
+   if [ -x "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" ]; then
+-exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" 
$MAXIMA_LISP_OPTIONS -q "" -- "$@"
++exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" 
$MAXIMA_LISP_OPTIONS -q -norc "" -- "$@"
+   else
+-  exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/@CLISP_RUNTIME@" 
$MAXIMA_LISP_OPTIONS -q -M "$maxima_image_base.mem" "" -- "$@"
++  exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/@CLISP_RUNTIME@" 
$MAXIMA_LISP_OPTIONS -q -norc -M "$maxima_image_base.mem" "" -- "$@"
+   fi
+@@ -141,5 +141,5 @@
+   if [ -x "$maxima_image_base" ]; then
+-exec "$maxima_image_base"  $MAXIMA_LISP_OPTIONS -q  "" -- "$@"
++exec "$maxima_image_base"  $MAXIMA_LISP_OPTIONS -q -norc  "" -- "$@"
+   else
+-  exec "@CLISP_NAME@" $MAXIMA_LISP_OPTIONS -q -M "$maxima_image_base.mem" 
"" -- "$@"
++  exec "@CLISP_NAME@" $MAXIMA_LISP_OPTIONS -q -norc -M 
"$maxima_image_base.mem" "" -- "$@"
+   fi

diff --git a/sci-mathematics/maxima/files/clozurecl-2.patch 
b/sci-mathematics/maxima/files/clozurecl-2.patch
new file mode 100644
index 000..5c5189c
--- /dev/null
+++ b/sci-mathematics/maxima/files/clozurecl-2.patch
@@ -0,0 +1,27 @@
+diff -r -U1 maxima-5.37.1.orig/configure.ac maxima-5.37.1/configure.ac
+--- maxima-5.37.1.orig/configure.ac2015-09-01 02:28:02.0 +0600
 maxima-5.37.1/configure.ac 2015-09-03 18:11:54.335618720 +0600
+@@ -386,3 +386,3 @@
+ dnl n.b. openmcl_default_name is hardcoded in "with" message
+-openmcl_default_name=openmcl
++openmcl_default_name=ccl
+ AC_ARG_ENABLE(openmcl,
+diff -r -U1 maxima-5.37.1.orig/src/Makefile.am maxima-5.37.1/src/Makefile.am
+--- maxima-5.37.1.orig/src/Makefile.am 2015-08-11 02:44:21.0 +0600
 maxima-5.37.1/src/Makefile.am  2015-09-03 17:26:12.849734012 +0600
+@@ -338,3 +338,3 @@
+ 
+-EXECUTEOPENMCL = $(OPENMCL_NAME) -e
++EXECUTEOPENMCL = $(OPENMCL_NAME) --no-init -e
+ BUILT_FILES += $(OPENMCL_MAXIMA)
+diff -r -U1 maxima-5.37.1.orig/src/maxima.in maxima-5.37.1/src/maxima.in
+--- maxima-5.37.1.orig/src/maxima.in   2015-05-22 04:40:03.0 +0600
 maxima-5.37.1/src/maxima.in2015-09-03 17:22:31.841743306 +0600
+@@ -182,5 +182,5 @@
+ if [ -x "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" ]; then
+-  exec 

[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/

2015-09-03 Thread Andrey Grozin
commit: 88b4c5c1a694ab3af8b93f07dcdedd594746a229
Author: Andrey Grozin  gentoo  org>
AuthorDate: Thu Sep  3 18:52:51 2015 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Thu Sep  3 18:52:51 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88b4c5c1

sci-mathematics/maxima: removing the unfixed version

 sci-mathematics/maxima/maxima-5.37.1.ebuild | 190 
 1 file changed, 190 deletions(-)

diff --git a/sci-mathematics/maxima/maxima-5.37.1.ebuild 
b/sci-mathematics/maxima/maxima-5.37.1.ebuild
deleted file mode 100644
index a0988d8..000
--- a/sci-mathematics/maxima/maxima-5.37.1.ebuild
+++ /dev/null
@@ -1,190 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit autotools elisp-common eutils
-
-DESCRIPTION="Free computer algebra environment based on Macsyma"
-HOMEPAGE="http://maxima.sourceforge.net/;
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
-
-# Supported lisps
-LISPS=( sbcl cmucl gcl ecls clozurecl clisp )
-#  supports readline: . - no, y - yes
-SUPP_RL=(   .. y   .. y )
-# . - just --enable-,  - --enable-
-CONF_FLAG=( .. .   ecl  ccl   . )
-# patch file version; . - no patch
-PATCH_V=(   11 .   22 1 )
-
-IUSE="latex emacs tk nls unicode xemacs X ${LISPS[*]}"
-
-# Languages
-LANGS="es pt pt_BR"
-for lang in ${LANGS}; do
-   IUSE="${IUSE} linguas_${lang}"
-done
-
-RDEPEND="X? ( x11-misc/xdg-utils
-sci-visualization/gnuplot[gd]
-tk? ( dev-lang/tk:0 ) )
-   latex? ( virtual/latex-base )
-   emacs? ( virtual/emacs
-   latex? ( app-emacs/auctex ) )
-   xemacs? ( app-editors/xemacs
-   latex? ( app-emacs/auctex ) )"
-
-PDEPEND="emacs? ( app-emacs/imaxima )"
-
-# generating lisp dependencies
-depends() {
-   local LISP DEP
-   LISP=${LISPS[$1]}
-   DEP="dev-lisp/${LISP}:="
-   if [ "${SUPP_RL[$1]}" = "." ]; then
-   DEP="${DEP} app-misc/rlwrap"
-   fi
-   echo ${DEP}
-}
-
-n=${#LISPS[*]}
-for ((n--; n >= 0; n--)); do
-   LISP=${LISPS[${n}]}
-   RDEPEND="${RDEPEND} ${LISP}? ( $(depends ${n}) )"
-   if (( ${n} > 0 )); then
-   DEF_DEP="${DEF_DEP} !${LISP}? ( "
-   fi
-done
-
-# default lisp
-if use arm; then
-   DEF_LISP=2 # gcl
-else
-   DEF_LISP=0 # sbcl
-fi
-
-DEF_DEP="${DEF_DEP} `depends ${DEF_LISP}`"
-
-n=${#LISPS[*]}
-for ((n--; n > 0; n--)); do
-   DEF_DEP="${DEF_DEP} )"
-done
-
-unset LISP
-
-RDEPEND="${RDEPEND}
-   ${DEF_DEP}"
-
-DEPEND="${RDEPEND}
-   sys-apps/texinfo"
-
-TEXMF="${EPREFIX}"/usr/share/texmf-site
-
-pkg_setup() {
-   local n=${#LISPS[*]}
-
-   for ((n--; n >= 0; n--)); do
-   use ${LISPS[${n}]} && NLISPS="${NLISPS} ${n}"
-   done
-
-   if [ -z "${NLISPS}" ]; then
-   ewarn "No lisp specified in USE flags, choosing 
${LISPS[${DEF_LISP}]} as default"
-   NLISPS=${DEF_LISP}
-   fi
-}
-
-src_prepare() {
-   local n PATCHES v
-   PATCHES=( imaxima-0 rmaxima-0 wish-1 xdg-utils-0 )
-
-   n=${#PATCHES[*]}
-   for ((n--; n >= 0; n--)); do
-   epatch "${FILESDIR}"/${PATCHES[${n}]}.patch
-   done
-
-   n=${#LISPS[*]}
-   for ((n--; n >= 0; n--)); do
-   v=${PATCH_V[${n}]}
-   if [ "${v}" != "." ]; then
-   epatch "${FILESDIR}"/${LISPS[${n}]}-${v}.patch
-   fi
-   done
-
-   # bug #343331
-   rm share/Makefile.in || die
-   rm src/Makefile.in || die
-   touch src/*.mk
-   touch src/Makefile.am
-   eautoreconf
-}
-
-src_configure() {
-   local CONFS CONF n lang
-   for n in ${NLISPS}; do
-   CONF=${CONF_FLAG[${n}]}
-   if [ ${CONF} = . ]; then
-   CONF=${LISPS[${n}]}
-   fi
-   CONFS="${CONFS} --enable-${CONF}"
-   done
-
-   # enable existing translated doc
-   if use nls; then
-   for lang in ${LANGS}; do
-   if use "linguas_${lang}"; then
-   CONFS="${CONFS} --enable-lang-${lang}"
-   use unicode && CONFS="${CONFS} 
--enable-lang-${lang}-utf8"
-   fi
-   done
-   fi
-
-   econf ${CONFS} $(use_with tk wish) 
--with-lispdir="${EPREFIX}/${SITELISP}"/${PN}
-}
-
-src_install() {
-   docompress -x /usr/share/info
-   emake DESTDIR="${D}" emacsdir="${EPREFIX}/${SITELISP}/${PN}" install
-
-   use tk && make_desktop_entry xmaxima xmaxima \
-   /usr/share/${PN}/${PV}/xmaxima/maxima-new.png \
-   "Science;Math;Education"
-
-   if use latex; 

[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/, sci-mathematics/maxima/files/

2015-09-03 Thread Andrey Grozin
commit: b4984251d983fd2bab88c967a452a5b251937a87
Author: Andrey Grozin  gentoo  org>
AuthorDate: Thu Sep  3 18:42:17 2015 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Thu Sep  3 18:42:17 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4984251

sci-mathematics/maxima: fixing a bug in clozurecl maxima

Package-Manager: portage-2.2.20.1

 sci-mathematics/maxima/files/db-0.patch|  20 +++
 sci-mathematics/maxima/maxima-5.37.1-r1.ebuild | 190 +
 2 files changed, 210 insertions(+)

diff --git a/sci-mathematics/maxima/files/db-0.patch 
b/sci-mathematics/maxima/files/db-0.patch
new file mode 100644
index 000..d6cc186
--- /dev/null
+++ b/sci-mathematics/maxima/files/db-0.patch
@@ -0,0 +1,20 @@
+diff -r -U2 maxima-5.37.1.orig/src/db.lisp maxima-5.37.1/src/db.lisp
+--- maxima-5.37.1.orig/src/db.lisp 2015-08-11 01:01:13.0 +0600
 maxima-5.37.1/src/db.lisp  2015-09-04 00:21:43.596685564 +0600
+@@ -389,10 +389,14 @@
+ 
+ (defmfun isp (pat)
+-  (let ((isp 'unknown))
++  (let ((isp 'unknown) #+ccl (err t))
+ (ignore-errors
+   (setq isp
+   (cond ((truep pat))
+ ((falsep pat) nil)
+-(t 'unknown
++(t 'unknown)))
++  (setq err nil))
++#+ccl
++(when err
++  (setq +labs nil))
+ isp))
+ 

diff --git a/sci-mathematics/maxima/maxima-5.37.1-r1.ebuild 
b/sci-mathematics/maxima/maxima-5.37.1-r1.ebuild
new file mode 100644
index 000..8f2f164
--- /dev/null
+++ b/sci-mathematics/maxima/maxima-5.37.1-r1.ebuild
@@ -0,0 +1,190 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit autotools elisp-common eutils
+
+DESCRIPTION="Free computer algebra environment based on Macsyma"
+HOMEPAGE="http://maxima.sourceforge.net/;
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+
+# Supported lisps
+LISPS=( sbcl cmucl gcl ecls clozurecl clisp )
+#  supports readline: . - no, y - yes
+SUPP_RL=(   .. y   .. y )
+# . - just --enable-,  - --enable-
+CONF_FLAG=( .. .   ecl  ccl   . )
+# patch file version; . - no patch
+PATCH_V=(   11 .   22 1 )
+
+IUSE="latex emacs tk nls unicode xemacs X ${LISPS[*]}"
+
+# Languages
+LANGS="es pt pt_BR"
+for lang in ${LANGS}; do
+   IUSE="${IUSE} linguas_${lang}"
+done
+
+RDEPEND="X? ( x11-misc/xdg-utils
+sci-visualization/gnuplot[gd]
+tk? ( dev-lang/tk:0 ) )
+   latex? ( virtual/latex-base )
+   emacs? ( virtual/emacs
+   latex? ( app-emacs/auctex ) )
+   xemacs? ( app-editors/xemacs
+   latex? ( app-emacs/auctex ) )"
+
+PDEPEND="emacs? ( app-emacs/imaxima )"
+
+# generating lisp dependencies
+depends() {
+   local LISP DEP
+   LISP=${LISPS[$1]}
+   DEP="dev-lisp/${LISP}:="
+   if [ "${SUPP_RL[$1]}" = "." ]; then
+   DEP="${DEP} app-misc/rlwrap"
+   fi
+   echo ${DEP}
+}
+
+n=${#LISPS[*]}
+for ((n--; n >= 0; n--)); do
+   LISP=${LISPS[${n}]}
+   RDEPEND="${RDEPEND} ${LISP}? ( $(depends ${n}) )"
+   if (( ${n} > 0 )); then
+   DEF_DEP="${DEF_DEP} !${LISP}? ( "
+   fi
+done
+
+# default lisp
+if use arm; then
+   DEF_LISP=2 # gcl
+else
+   DEF_LISP=0 # sbcl
+fi
+
+DEF_DEP="${DEF_DEP} `depends ${DEF_LISP}`"
+
+n=${#LISPS[*]}
+for ((n--; n > 0; n--)); do
+   DEF_DEP="${DEF_DEP} )"
+done
+
+unset LISP
+
+RDEPEND="${RDEPEND}
+   ${DEF_DEP}"
+
+DEPEND="${RDEPEND}
+   sys-apps/texinfo"
+
+TEXMF="${EPREFIX}"/usr/share/texmf-site
+
+pkg_setup() {
+   local n=${#LISPS[*]}
+
+   for ((n--; n >= 0; n--)); do
+   use ${LISPS[${n}]} && NLISPS="${NLISPS} ${n}"
+   done
+
+   if [ -z "${NLISPS}" ]; then
+   ewarn "No lisp specified in USE flags, choosing 
${LISPS[${DEF_LISP}]} as default"
+   NLISPS=${DEF_LISP}
+   fi
+}
+
+src_prepare() {
+   local n PATCHES v
+   PATCHES=( imaxima-0 rmaxima-0 wish-1 xdg-utils-0 db-0 )
+
+   n=${#PATCHES[*]}
+   for ((n--; n >= 0; n--)); do
+   epatch "${FILESDIR}"/${PATCHES[${n}]}.patch
+   done
+
+   n=${#LISPS[*]}
+   for ((n--; n >= 0; n--)); do
+   v=${PATCH_V[${n}]}
+   if [ "${v}" != "." ]; then
+   epatch "${FILESDIR}"/${LISPS[${n}]}-${v}.patch
+   fi
+   done
+
+   # bug #343331
+   rm share/Makefile.in || die
+   rm src/Makefile.in || die
+   touch src/*.mk
+   touch src/Makefile.am
+   eautoreconf
+}
+
+src_configure() {
+   local CONFS CONF n lang
+   for n in ${NLISPS}; do
+   CONF=${CONF_FLAG[${n}]}
+   if [ ${CONF} = . ]; then
+   

[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/, sci-mathematics/maxima/files/

2015-08-29 Thread Andrey Grozin
commit: f36e2c4a38ca026c643ef30fa8c02388831c2e28
Author: Andrey Grozin grozin AT gentoo DOT org
AuthorDate: Sat Aug 29 14:03:56 2015 +
Commit: Andrey Grozin grozin AT gentoo DOT org
CommitDate: Sat Aug 29 14:04:44 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f36e2c4a

sci-mathematics/maxima: cleaning old version

Package-Manager: portage-2.2.20.1

 sci-mathematics/maxima/Manifest|   1 -
 sci-mathematics/maxima/files/ecls-0.patch  |  27 
 .../maxima/files/maxima-5.26.0-ecls-12.2.1.patch   |   8 -
 .../maxima/files/maxima-5.26.0-wish.patch  |  28 
 sci-mathematics/maxima/files/maxima-5.26.0.patch   |  37 -
 .../maxima-5.27.0-inhibit-sys_usr-inits.patch  |  24 ---
 .../maxima/files/maxima-5.27.0-wish.patch  |  28 
 sci-mathematics/maxima/files/maxima-5.27.0.patch   |  37 -
 .../maxima/files/maxima-5.28.0-sbcl.patch  |   8 -
 .../maxima/files/maxima-5.28.0-wish.patch  |  28 
 sci-mathematics/maxima/files/maxima-5.28.0.patch   |  51 --
 .../maxima/files/maxima-5.29.1-sbcl.patch  |   8 -
 .../maxima/files/maxima-5.29.1-wish.patch  |  28 
 sci-mathematics/maxima/files/maxima-5.29.1.patch   |  51 --
 sci-mathematics/maxima/files/maxima-ccl.patch  |   8 -
 .../maxima/files/maxima-ecl-ldflags.patch  |  27 
 sci-mathematics/maxima/files/maxima-imaxima.patch  |   5 -
 .../maxima/files/maxima-no-init-files.patch|  31 
 sci-mathematics/maxima/files/maxima-rmaxima.patch  |  25 ---
 .../maxima/files/maxima-xdg-utils.patch|  35 -
 sci-mathematics/maxima/maxima-5.18.1.ebuild| 175 -
 21 files changed, 670 deletions(-)

diff --git a/sci-mathematics/maxima/Manifest b/sci-mathematics/maxima/Manifest
index d9727d8..221c53c 100644
--- a/sci-mathematics/maxima/Manifest
+++ b/sci-mathematics/maxima/Manifest
@@ -1,3 +1,2 @@
-DIST maxima-5.18.1.tar.gz 20440947 SHA256 
eef1f70503755ec8fb311a13731044e6fff17e6fd9534eb6bea68a12964d94bf
 DIST maxima-5.34.1.tar.gz 29469851 SHA256 
20ca416ca912c8d3d99299f2ef45342a1beb2f077cf501c6a647de46bfdb89b7 SHA512 
24a9ce0d2bfb0fa107460bbeec561869f9d3f2ce2623e39ab16b810dbf2712981bbf98ceee9c30f4e70fdec7f918a7743b5fb8cf26b67313e1d367dd8f2a1823
 WHIRLPOOL 
0f59cfe14391686a543027bb5cab8669439d0e36b016924872662f61e36cf05663480f8a3f942d7deccbe39ec7f45ed77deeb8a3c84241189ac0f1993537c47a
 DIST maxima-5.36.1.tar.gz 29615673 SHA256 
400bf83000b84d280d75e200e078582fe44f23220824562cc06c589d8a993974 SHA512 
10e090230ab408777a1145ad90daef6bf237ba38ae31a654ba4d464e7a27e1f48baac5202ce8fb39e4c04ec9a6c9916ac83a58bd071b676ea5a989ea7db87d4c
 WHIRLPOOL 
ee7738085ae9e5b156b89afbf724b3ae5ef70b74550bee43cf3ab763f569d5ac51ea9c0e5aad67070f4b71f480b079aad8e4fd44ded34525a1f84cbeeb2d28b0

diff --git a/sci-mathematics/maxima/files/ecls-0.patch 
b/sci-mathematics/maxima/files/ecls-0.patch
deleted file mode 100644
index df45dee..000
--- a/sci-mathematics/maxima/files/ecls-0.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-diff -r -U1 maxima-5.30.0.orig/src/maxima.in maxima-5.30.0/src/maxima.in
 maxima-5.30.0.orig/src/maxima.in   2012-12-04 12:54:50.0 +0700
-+++ maxima-5.30.0/src/maxima.in2013-04-13 12:57:12.037579805 +0700
-@@ -191,3 +191,3 @@
- elif [ $MAXIMA_LISP = ecl ]; then
--   exec $maxima_image_base  $MAXIMA_LISP_OPTIONS -- $arg1 $arg2 $arg3 
$arg4 $arg5 $arg6 $arg7 $arg8 $arg9
-+   exec $maxima_image_base  $MAXIMA_LISP_OPTIONS -norc -- $arg1 $arg2 
$arg3 $arg4 $arg5 $arg6 $arg7 $arg8 $arg9
- 
-diff -r -U1 maxima-5.30.0.orig/src/maxima.system 
maxima-5.30.0/src/maxima.system
 maxima-5.30.0.orig/src/maxima.system   2013-03-23 08:32:08.0 
+0700
-+++ maxima-5.30.0/src/maxima.system2013-04-13 12:59:54.086730845 +0700
-@@ -61,2 +61,10 @@
- #+ecl
-+(defun split-ld-flags-for-ecl (string aux space)
-+  (setf string (string-trim '(#\Space) string))
-+  (if (setf space (position #\Space string))
-+(cons (subseq string 0 space)
-+  (split-ld-flags-for-ecl (subseq string (1+ space
-+(cons string nil)))
-+
-+#+ecl
- (defun build-maxima-lib ()
-@@ -81,3 +89,3 @@
- (find-package 
MAXIMA)
--  (if (and x (not (string= x ))) (list x)))
-+  (if (and x (not (string= x ))) 
(split-ld-flags-for-ecl x)))
- :epilogue-code '(progn (require :defsystem)

diff --git a/sci-mathematics/maxima/files/maxima-5.26.0-ecls-12.2.1.patch 
b/sci-mathematics/maxima/files/maxima-5.26.0-ecls-12.2.1.patch
deleted file mode 100644
index 4fde880..000
--- a/sci-mathematics/maxima/files/maxima-5.26.0-ecls-12.2.1.patch
+++ /dev/null
@@ -1,8 +0,0 @@
-diff -r -U1 maxima-5.26.0.orig/src/numerical/slatec/xerprn.lisp 
maxima-5.26.0/src/numerical/slatec/xerprn.lisp
 maxima-5.26.0.orig/src/numerical/slatec/xerprn.lisp2011-08-01 
11:39:52.0 

[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/maxima/

2015-08-26 Thread Guilherme Amadio
commit: b9136d0e0a400e952faac8f93b42e8050fc502ea
Author: Guilherme Amadio amadio AT gentoo DOT org
AuthorDate: Wed Aug 26 12:30:40 2015 +
Commit: Guilherme Amadio amadio AT gentoo DOT org
CommitDate: Wed Aug 26 12:30:40 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9136d0e

sci-mathematics/maxima: fix prefix compilation, bug 548260

Signed-off-by: Guilherme Amadio amadio AT gentoo.org

Package-Manager: portage-2.2.20.1

 sci-mathematics/maxima/maxima-5.34.1.ebuild | 4 ++--
 sci-mathematics/maxima/maxima-5.36.1.ebuild | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sci-mathematics/maxima/maxima-5.34.1.ebuild 
b/sci-mathematics/maxima/maxima-5.34.1.ebuild
index d683128..b679a8a 100644
--- a/sci-mathematics/maxima/maxima-5.34.1.ebuild
+++ b/sci-mathematics/maxima/maxima-5.34.1.ebuild
@@ -144,12 +144,12 @@ src_configure() {
done
fi
 
-   econf ${CONFS} $(use_with tk wish) --with-lispdir=${SITELISP}/${PN}
+   econf ${CONFS} $(use_with tk wish) 
--with-lispdir=${EPREFIX}/${SITELISP}/${PN}
 }
 
 src_install() {
docompress -x /usr/share/info
-   emake DESTDIR=${D} emacsdir=${SITELISP}/${PN} install
+   emake DESTDIR=${D} emacsdir=${EPREFIX}/${SITELISP}/${PN} install
 
use tk  make_desktop_entry xmaxima xmaxima \
/usr/share/${PN}/${PV}/xmaxima/maxima-new.png \

diff --git a/sci-mathematics/maxima/maxima-5.36.1.ebuild 
b/sci-mathematics/maxima/maxima-5.36.1.ebuild
index fc3eb93..79aa856 100644
--- a/sci-mathematics/maxima/maxima-5.36.1.ebuild
+++ b/sci-mathematics/maxima/maxima-5.36.1.ebuild
@@ -144,12 +144,12 @@ src_configure() {
done
fi
 
-   econf ${CONFS} $(use_with tk wish) --with-lispdir=${SITELISP}/${PN}
+   econf ${CONFS} $(use_with tk wish) 
--with-lispdir=${EPREFIX}/${SITELISP}/${PN}
 }
 
 src_install() {
docompress -x /usr/share/info
-   emake DESTDIR=${D} emacsdir=${SITELISP}/${PN} install
+   emake DESTDIR=${D} emacsdir=${EPREFIX}/${SITELISP}/${PN} install
 
use tk  make_desktop_entry xmaxima xmaxima \
/usr/share/${PN}/${PV}/xmaxima/maxima-new.png \