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

2024-09-22 Thread Andrey Grozin
commit: 0b06e2d8c1c6fe8153d4cfcc66bd739f217acbe3
Author: Andrey Grozin  gentoo  org>
AuthorDate: Mon Sep 23 05:48:40 2024 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Mon Sep 23 05:48:40 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b06e2d8

sci-mathematics/fricas: remove old versions

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

 sci-mathematics/fricas/Manifest|   1 -
 sci-mathematics/fricas/fricas-1.3.10.ebuild|  78 ---
 sci-mathematics/fricas/fricas-1.3.11-r2.ebuild | 100 -
 3 files changed, 179 deletions(-)

diff --git a/sci-mathematics/fricas/Manifest b/sci-mathematics/fricas/Manifest
index 6c0959685da2..7f5ab6e655a2 100644
--- a/sci-mathematics/fricas/Manifest
+++ b/sci-mathematics/fricas/Manifest
@@ -1,2 +1 @@
-DIST fricas-1.3.10-full.tar.bz2 10971513 BLAKE2B 
0ea96cf1076dcd23f53ebdcd3ebf5c6e605915ce332093b83d62a5ed482d32f14833857e270865a4031d7bfc033d961c69007e936260e7d85e632b091d969e0d
 SHA512 
de23c34a1e47b0a4ab2f85e1154e6fa5b0905427718e8c0ad4fe298bf6ebbb1abcc02426e528b7b34d15aebfc2ca1b06f73e39a24ec741d2d5c70f9b48b02665
 DIST fricas-1.3.11-full.tar.bz2 10937641 BLAKE2B 
52bb467468de83dfbb8a61717356d74c605efe1174168c35af50d15232c8441457415ca2c88fd19356caec9f9ee29af556104f421dc0479f3ae635144432be7a
 SHA512 
611866829764fdf02e84c08f3afd8f631a40c8c5340648640b4fa388641c703021f5006e135ac32e671786b1a75bc290039e929ef322c60a0ba0cb0212ac

diff --git a/sci-mathematics/fricas/fricas-1.3.10.ebuild 
b/sci-mathematics/fricas/fricas-1.3.10.ebuild
deleted file mode 100644
index e6de50964068..
--- a/sci-mathematics/fricas/fricas-1.3.10.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-inherit elisp-common
-
-DESCRIPTION="FriCAS is a fork of Axiom computer algebra system"
-HOMEPAGE="https://fricas.sourceforge.net/
-   https://github.com/fricas/fricas
-   https://fricas.github.io/";
-SRC_URI="https://downloads.sourceforge.net/${PN}/${PV}/${P}-full.tar.bz2";
-
-LICENSE="BSD-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-IUSE="+sbcl cmucl gcl ecl clisp clozurecl X emacs gmp"
-REQUIRED_USE="^^ ( sbcl cmucl gcl ecl clisp clozurecl )
-   gmp? ( ^^ ( sbcl clozurecl ) )"
-RDEPEND="sbcl? ( dev-lisp/sbcl:= )
-   cmucl? ( dev-lisp/cmucl:= )
-   gcl? ( dev-lisp/gcl:= )
-   ecl? ( dev-lisp/ecl:= )
-   clisp? ( dev-lisp/clisp:= )
-   clozurecl? ( dev-lisp/clozurecl:= )
-   X? ( x11-libs/libXpm x11-libs/libICE )
-   emacs? ( >=app-editors/emacs-23.1:* )
-   gmp? ( dev-libs/gmp:= )"
-DEPEND="${RDEPEND}"
-
-# necessary for clisp and gcl
-RESTRICT="strip"
-
-src_configure() {
-   local LISP GMP
-   use sbcl && LISP="sbcl --dynamic-space-size 4096"
-   use cmucl && LISP=lisp
-   use gcl && LISP=gcl
-   use ecl && LISP=ecl
-   use clisp && LISP=clisp
-   use clozurecl && LISP=ccl
-
-   if use sbcl || use clozurecl
-   then GMP=$(use_with gmp)
-   else GMP=''
-   fi
-
-   # aldor is not yet in portage
-   econf --disable-aldor --with-lisp="${LISP}" $(use_with X x) ${GMP}
-}
-
-src_test() {
-   emake -j1 all-input
-}
-
-src_install() {
-   emake -j1 DESTDIR="${D}" install
-   dodoc README.rst FAQ
-
-   if use emacs; then
-   sed -e "s|(setq load-path (cons (quote 
\"/usr/$(get_libdir)/fricas/emacs\") load-path)) ||" \
-   -i "${D}"/usr/bin/efricas \
-   || die "sed efricas failed"
-   elisp-install ${PN} "${D}"/usr/$(get_libdir)/${PN}/emacs/*.el
-   elisp-make-site-file 64${PN}-gentoo.el
-   else
-   rm "${D}"/usr/bin/efricas || die "rm efricas failed"
-   fi
-   rm -r "${D}"/usr/$(get_libdir)/${PN}/emacs || die "rm -r emacs failed"
-}
-
-pkg_postinst() {
-   use emacs && elisp-site-regen
-}
-
-pkg_postrm() {
-   use emacs && elisp-site-regen
-}

diff --git a/sci-mathematics/fricas/fricas-1.3.11-r2.ebuild 
b/sci-mathematics/fricas/fricas-1.3.11-r2.ebuild
deleted file mode 100644
index f661206cab77..
--- a/sci-mathematics/fricas/fricas-1.3.11-r2.ebuild
+++ /dev/null
@@ -1,100 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-VIRTUALX_REQUIRED="doc"
-inherit virtualx elisp-common
-
-DESCRIPTION="FriCAS is a fork of Axiom computer algebra system"
-HOMEPAGE="https://fricas.sourceforge.net/
-   https://github.com/fricas/fricas
-   https://fricas.github.io/";
-SRC_URI="https://downloads.sourceforge.net/${PN}/${PV}/${P}-full.tar.bz2";
-
-LICENSE="BSD-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-IUSE="+sbcl cmucl gcl ecl clisp clozurecl X emacs gmp doc"
-REQUIRED_USE="^^ ( sbcl cmucl gcl ecl clisp clozurecl )
-   gmp? ( ^^ ( sbcl clozurecl ) )"
-RDEPEND="sbcl? ( dev-lisp/sbcl:= )
-   cmucl? ( dev-lisp/cmucl:= )
- 

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

2024-09-22 Thread Andrey Grozin
commit: b4c23352bba4873512e5ec718a43557d91101d4a
Author: Andrey Grozin  gentoo  org>
AuthorDate: Mon Sep 23 05:46:24 2024 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Mon Sep 23 05:46:53 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4c23352

sci-mathematics/fricas: USE flag gmp did not work. Fixed.

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

 sci-mathematics/fricas/fricas-1.3.11-r3.ebuild | 100 +
 1 file changed, 100 insertions(+)

diff --git a/sci-mathematics/fricas/fricas-1.3.11-r3.ebuild 
b/sci-mathematics/fricas/fricas-1.3.11-r3.ebuild
new file mode 100644
index ..138034c3269d
--- /dev/null
+++ b/sci-mathematics/fricas/fricas-1.3.11-r3.ebuild
@@ -0,0 +1,100 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+VIRTUALX_REQUIRED="doc"
+inherit virtualx elisp-common
+
+DESCRIPTION="FriCAS is a fork of Axiom computer algebra system"
+HOMEPAGE="https://fricas.sourceforge.net/
+   https://github.com/fricas/fricas
+   https://fricas.github.io/";
+SRC_URI="https://downloads.sourceforge.net/${PN}/${PV}/${P}-full.tar.bz2";
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="+sbcl cmucl gcl ecl clisp clozurecl X emacs gmp doc"
+REQUIRED_USE="^^ ( sbcl cmucl gcl ecl clisp clozurecl )
+   gmp? ( ^^ ( sbcl clozurecl ) )"
+RDEPEND="sbcl? ( dev-lisp/sbcl:= )
+   cmucl? ( dev-lisp/cmucl:= )
+   gcl? ( dev-lisp/gcl:= )
+   ecl? ( dev-lisp/ecl:= )
+   clisp? ( dev-lisp/clisp:= )
+   clozurecl? ( dev-lisp/clozurecl:= )
+   X? ( x11-libs/libXpm x11-libs/libICE )
+   emacs? ( >=app-editors/emacs-23.1:* )
+   gmp? ( dev-libs/gmp:= )"
+DEPEND="${RDEPEND}
+   doc? ( dev-texlive/texlive-basic
+   dev-texlive/texlive-latex
+   dev-texlive/texlive-latexrecommended
+   dev-texlive/texlive-latexextra
+   dev-texlive/texlive-mathscience
+   dev-tex/pgf )"
+
+# necessary for clisp and gcl
+RESTRICT="strip"
+
+PATCHES=( "${FILESDIR}"/${P}-doc.patch )
+
+src_configure() {
+   local LISP GMP
+   use sbcl && LISP="sbcl --dynamic-space-size 4096"
+   use cmucl && LISP=lisp
+   use gcl && LISP=gcl
+   use ecl && LISP=ecl
+   use clisp && LISP=clisp
+   use clozurecl && LISP=ccl
+
+   if use sbcl || use clozurecl
+   then GMP=$(use_enable gmp)
+   else GMP=''
+   fi
+
+   # aldor is not yet in portage
+   econf --disable-aldor --with-lisp="${LISP}" $(use_with X x) ${GMP}
+}
+
+src_compile() {
+   default
+   if use doc; then
+   pushd src/doc > /dev/null || die "pushd src/doc failed"
+   virtx emake book
+   popd > /dev/null
+   fi
+}
+
+src_test() {
+   emake -j1 all-input
+}
+
+src_install() {
+   emake -j1 DESTDIR="${D}" install
+   dodoc README.rst FAQ
+
+   if use emacs; then
+   sed -e "s|(setq load-path (cons (quote 
\"/usr/$(get_libdir)/fricas/emacs\") load-path)) ||" \
+   -i "${D}"/usr/bin/efricas \
+   || die "sed efricas failed"
+   elisp-install ${PN} "${D}"/usr/$(get_libdir)/${PN}/emacs/*.el
+   elisp-make-site-file 64${PN}-gentoo.el
+   else
+   rm "${D}"/usr/bin/efricas || die "rm efricas failed"
+   fi
+   rm -r "${D}"/usr/$(get_libdir)/${PN}/emacs || die "rm -r emacs failed"
+
+   if use doc; then
+   dodoc src/doc/book.pdf
+   fi
+}
+
+pkg_postinst() {
+   use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+   use emacs && elisp-site-regen
+}



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

2024-06-30 Thread Andrey Grozin
commit: c6b627ca62216dad8d8aa6ee0da4f29439807f88
Author: Andrey Grozin  gentoo  org>
AuthorDate: Sun Jun 30 18:04:38 2024 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Sun Jun 30 18:04:38 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6b627ca

sci-mathematics/fricas: remove old revision

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

 sci-mathematics/fricas/fricas-1.3.11-r1.ebuild | 94 --
 1 file changed, 94 deletions(-)

diff --git a/sci-mathematics/fricas/fricas-1.3.11-r1.ebuild 
b/sci-mathematics/fricas/fricas-1.3.11-r1.ebuild
deleted file mode 100644
index 41d8808bf5a8..
--- a/sci-mathematics/fricas/fricas-1.3.11-r1.ebuild
+++ /dev/null
@@ -1,94 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-VIRTUALX_REQUIRED="doc"
-inherit virtualx elisp-common
-
-DESCRIPTION="FriCAS is a fork of Axiom computer algebra system"
-HOMEPAGE="https://fricas.sourceforge.net/
-   https://github.com/fricas/fricas
-   https://fricas.github.io/";
-SRC_URI="https://downloads.sourceforge.net/${PN}/${PV}/${P}-full.tar.bz2";
-
-LICENSE="BSD-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-IUSE="+sbcl cmucl gcl ecl clisp clozurecl X emacs gmp doc"
-REQUIRED_USE="^^ ( sbcl cmucl gcl ecl clisp clozurecl )
-   gmp? ( ^^ ( sbcl clozurecl ) )"
-RDEPEND="sbcl? ( dev-lisp/sbcl:= )
-   cmucl? ( dev-lisp/cmucl:= )
-   gcl? ( dev-lisp/gcl:= )
-   ecl? ( dev-lisp/ecl:= )
-   clisp? ( dev-lisp/clisp:= )
-   clozurecl? ( dev-lisp/clozurecl:= )
-   X? ( x11-libs/libXpm x11-libs/libICE )
-   emacs? ( >=app-editors/emacs-23.1:* )
-   gmp? ( dev-libs/gmp:= )"
-DEPEND="${RDEPEND}"
-
-# necessary for clisp and gcl
-RESTRICT="strip"
-
-PATCHES=( "${FILESDIR}"/${P}-doc.patch )
-
-src_configure() {
-   local LISP GMP
-   use sbcl && LISP="sbcl --dynamic-space-size 4096"
-   use cmucl && LISP=lisp
-   use gcl && LISP=gcl
-   use ecl && LISP=ecl
-   use clisp && LISP=clisp
-   use clozurecl && LISP=ccl
-
-   if use sbcl || use clozurecl
-   then GMP=$(use_with gmp)
-   else GMP=''
-   fi
-
-   # aldor is not yet in portage
-   econf --disable-aldor --with-lisp="${LISP}" $(use_with X x) ${GMP}
-}
-
-src_compile() {
-   default
-   if use doc; then
-   pushd src/doc > /dev/null || die "pushd src/doc failed"
-   virtx emake book
-   popd > /dev/null
-   fi
-}
-
-src_test() {
-   emake -j1 all-input
-}
-
-src_install() {
-   emake -j1 DESTDIR="${D}" install
-   dodoc README.rst FAQ
-
-   if use emacs; then
-   sed -e "s|(setq load-path (cons (quote 
\"/usr/$(get_libdir)/fricas/emacs\") load-path)) ||" \
-   -i "${D}"/usr/bin/efricas \
-   || die "sed efricas failed"
-   elisp-install ${PN} "${D}"/usr/$(get_libdir)/${PN}/emacs/*.el
-   elisp-make-site-file 64${PN}-gentoo.el
-   else
-   rm "${D}"/usr/bin/efricas || die "rm efricas failed"
-   fi
-   rm -r "${D}"/usr/$(get_libdir)/${PN}/emacs || die "rm -r emacs failed"
-
-   if use doc; then
-   dodoc src/doc/book.pdf
-   fi
-}
-
-pkg_postinst() {
-   use emacs && elisp-site-regen
-}
-
-pkg_postrm() {
-   use emacs && elisp-site-regen
-}



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

2024-06-30 Thread Andrey Grozin
commit: ea96e9f5dcab6f462700bffa82125c05e55f62b8
Author: Andrey Grozin  gentoo  org>
AuthorDate: Sun Jun 30 18:03:06 2024 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Sun Jun 30 18:03:06 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea96e9f5

sci-mathematics/fricas: add missing dependencies

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

 sci-mathematics/fricas/fricas-1.3.11-r2.ebuild | 100 +
 1 file changed, 100 insertions(+)

diff --git a/sci-mathematics/fricas/fricas-1.3.11-r2.ebuild 
b/sci-mathematics/fricas/fricas-1.3.11-r2.ebuild
new file mode 100644
index ..f661206cab77
--- /dev/null
+++ b/sci-mathematics/fricas/fricas-1.3.11-r2.ebuild
@@ -0,0 +1,100 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+VIRTUALX_REQUIRED="doc"
+inherit virtualx elisp-common
+
+DESCRIPTION="FriCAS is a fork of Axiom computer algebra system"
+HOMEPAGE="https://fricas.sourceforge.net/
+   https://github.com/fricas/fricas
+   https://fricas.github.io/";
+SRC_URI="https://downloads.sourceforge.net/${PN}/${PV}/${P}-full.tar.bz2";
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="+sbcl cmucl gcl ecl clisp clozurecl X emacs gmp doc"
+REQUIRED_USE="^^ ( sbcl cmucl gcl ecl clisp clozurecl )
+   gmp? ( ^^ ( sbcl clozurecl ) )"
+RDEPEND="sbcl? ( dev-lisp/sbcl:= )
+   cmucl? ( dev-lisp/cmucl:= )
+   gcl? ( dev-lisp/gcl:= )
+   ecl? ( dev-lisp/ecl:= )
+   clisp? ( dev-lisp/clisp:= )
+   clozurecl? ( dev-lisp/clozurecl:= )
+   X? ( x11-libs/libXpm x11-libs/libICE )
+   emacs? ( >=app-editors/emacs-23.1:* )
+   gmp? ( dev-libs/gmp:= )"
+DEPEND="${RDEPEND}
+   doc? ( dev-texlive/texlive-basic
+   dev-texlive/texlive-latex
+   dev-texlive/texlive-latexrecommended
+   dev-texlive/texlive-latexextra
+   dev-texlive/texlive-mathscience
+   dev-tex/pgf )"
+
+# necessary for clisp and gcl
+RESTRICT="strip"
+
+PATCHES=( "${FILESDIR}"/${P}-doc.patch )
+
+src_configure() {
+   local LISP GMP
+   use sbcl && LISP="sbcl --dynamic-space-size 4096"
+   use cmucl && LISP=lisp
+   use gcl && LISP=gcl
+   use ecl && LISP=ecl
+   use clisp && LISP=clisp
+   use clozurecl && LISP=ccl
+
+   if use sbcl || use clozurecl
+   then GMP=$(use_with gmp)
+   else GMP=''
+   fi
+
+   # aldor is not yet in portage
+   econf --disable-aldor --with-lisp="${LISP}" $(use_with X x) ${GMP}
+}
+
+src_compile() {
+   default
+   if use doc; then
+   pushd src/doc > /dev/null || die "pushd src/doc failed"
+   virtx emake book
+   popd > /dev/null
+   fi
+}
+
+src_test() {
+   emake -j1 all-input
+}
+
+src_install() {
+   emake -j1 DESTDIR="${D}" install
+   dodoc README.rst FAQ
+
+   if use emacs; then
+   sed -e "s|(setq load-path (cons (quote 
\"/usr/$(get_libdir)/fricas/emacs\") load-path)) ||" \
+   -i "${D}"/usr/bin/efricas \
+   || die "sed efricas failed"
+   elisp-install ${PN} "${D}"/usr/$(get_libdir)/${PN}/emacs/*.el
+   elisp-make-site-file 64${PN}-gentoo.el
+   else
+   rm "${D}"/usr/bin/efricas || die "rm efricas failed"
+   fi
+   rm -r "${D}"/usr/$(get_libdir)/${PN}/emacs || die "rm -r emacs failed"
+
+   if use doc; then
+   dodoc src/doc/book.pdf
+   fi
+}
+
+pkg_postinst() {
+   use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+   use emacs && elisp-site-regen
+}



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

2024-06-30 Thread Andrey Grozin
commit: 2f04229f2700cefec8b573e5e500f3a4aa0f5650
Author: Andrey Grozin  gentoo  org>
AuthorDate: Sun Jun 30 17:16:46 2024 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Sun Jun 30 17:16:46 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f04229f

sci-mathematics/fricas: remove old revision

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

 sci-mathematics/fricas/fricas-1.3.11.ebuild | 78 -
 1 file changed, 78 deletions(-)

diff --git a/sci-mathematics/fricas/fricas-1.3.11.ebuild 
b/sci-mathematics/fricas/fricas-1.3.11.ebuild
deleted file mode 100644
index e6de50964068..
--- a/sci-mathematics/fricas/fricas-1.3.11.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-inherit elisp-common
-
-DESCRIPTION="FriCAS is a fork of Axiom computer algebra system"
-HOMEPAGE="https://fricas.sourceforge.net/
-   https://github.com/fricas/fricas
-   https://fricas.github.io/";
-SRC_URI="https://downloads.sourceforge.net/${PN}/${PV}/${P}-full.tar.bz2";
-
-LICENSE="BSD-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-IUSE="+sbcl cmucl gcl ecl clisp clozurecl X emacs gmp"
-REQUIRED_USE="^^ ( sbcl cmucl gcl ecl clisp clozurecl )
-   gmp? ( ^^ ( sbcl clozurecl ) )"
-RDEPEND="sbcl? ( dev-lisp/sbcl:= )
-   cmucl? ( dev-lisp/cmucl:= )
-   gcl? ( dev-lisp/gcl:= )
-   ecl? ( dev-lisp/ecl:= )
-   clisp? ( dev-lisp/clisp:= )
-   clozurecl? ( dev-lisp/clozurecl:= )
-   X? ( x11-libs/libXpm x11-libs/libICE )
-   emacs? ( >=app-editors/emacs-23.1:* )
-   gmp? ( dev-libs/gmp:= )"
-DEPEND="${RDEPEND}"
-
-# necessary for clisp and gcl
-RESTRICT="strip"
-
-src_configure() {
-   local LISP GMP
-   use sbcl && LISP="sbcl --dynamic-space-size 4096"
-   use cmucl && LISP=lisp
-   use gcl && LISP=gcl
-   use ecl && LISP=ecl
-   use clisp && LISP=clisp
-   use clozurecl && LISP=ccl
-
-   if use sbcl || use clozurecl
-   then GMP=$(use_with gmp)
-   else GMP=''
-   fi
-
-   # aldor is not yet in portage
-   econf --disable-aldor --with-lisp="${LISP}" $(use_with X x) ${GMP}
-}
-
-src_test() {
-   emake -j1 all-input
-}
-
-src_install() {
-   emake -j1 DESTDIR="${D}" install
-   dodoc README.rst FAQ
-
-   if use emacs; then
-   sed -e "s|(setq load-path (cons (quote 
\"/usr/$(get_libdir)/fricas/emacs\") load-path)) ||" \
-   -i "${D}"/usr/bin/efricas \
-   || die "sed efricas failed"
-   elisp-install ${PN} "${D}"/usr/$(get_libdir)/${PN}/emacs/*.el
-   elisp-make-site-file 64${PN}-gentoo.el
-   else
-   rm "${D}"/usr/bin/efricas || die "rm efricas failed"
-   fi
-   rm -r "${D}"/usr/$(get_libdir)/${PN}/emacs || die "rm -r emacs failed"
-}
-
-pkg_postinst() {
-   use emacs && elisp-site-regen
-}
-
-pkg_postrm() {
-   use emacs && elisp-site-regen
-}



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

2024-06-30 Thread Andrey Grozin
commit: 41f7c373a42716a70839935fc9a4c8361aa6d5bd
Author: Andrey Grozin  gentoo  org>
AuthorDate: Sun Jun 30 17:14:45 2024 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Sun Jun 30 17:14:45 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41f7c373

sci-mathematics/fricas: add USE flag doc

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

 .../fricas/files/fricas-1.3.11-doc.patch   | 12 +++
 sci-mathematics/fricas/fricas-1.3.11-r1.ebuild | 94 ++
 2 files changed, 106 insertions(+)

diff --git a/sci-mathematics/fricas/files/fricas-1.3.11-doc.patch 
b/sci-mathematics/fricas/files/fricas-1.3.11-doc.patch
new file mode 100644
index ..fa38eef84dcc
--- /dev/null
+++ b/sci-mathematics/fricas/files/fricas-1.3.11-doc.patch
@@ -0,0 +1,12 @@
+diff '--color=auto' -r -U3 fricas-1.3.11.orig/src/doc/Makefile.in 
fricas-1.3.11/src/doc/Makefile.in
+--- fricas-1.3.11.orig/src/doc/Makefile.in 2024-06-30 04:17:46.0 
+0700
 fricas-1.3.11/src/doc/Makefile.in  2024-06-30 22:46:39.519468947 +0700
+@@ -666,7 +666,7 @@
+ tmp/vp-knot3.input: knot3.input ${INPUT_EXTRA_INPUT}
+   cp $< $@
+ 
+-${HTEX_VIEWPORTS_STAMP}: tmp/stamp-%: tmp/vp-%.input
++${HTEX_VIEWPORTS_STAMP}: tmp/stamp-%: tmp/vp-%.input ${INPUT_EXTRA_INPUT}
+   unset DAASE; FRICAS=${FRICAS}; export FRICAS; \
+   echo ")read $<" | FRICAS_INITFILE='' ${XVFB} \
+ ${FRICAS}/bin/fricas -noht -noclef > /dev/null

diff --git a/sci-mathematics/fricas/fricas-1.3.11-r1.ebuild 
b/sci-mathematics/fricas/fricas-1.3.11-r1.ebuild
new file mode 100644
index ..41d8808bf5a8
--- /dev/null
+++ b/sci-mathematics/fricas/fricas-1.3.11-r1.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+VIRTUALX_REQUIRED="doc"
+inherit virtualx elisp-common
+
+DESCRIPTION="FriCAS is a fork of Axiom computer algebra system"
+HOMEPAGE="https://fricas.sourceforge.net/
+   https://github.com/fricas/fricas
+   https://fricas.github.io/";
+SRC_URI="https://downloads.sourceforge.net/${PN}/${PV}/${P}-full.tar.bz2";
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="+sbcl cmucl gcl ecl clisp clozurecl X emacs gmp doc"
+REQUIRED_USE="^^ ( sbcl cmucl gcl ecl clisp clozurecl )
+   gmp? ( ^^ ( sbcl clozurecl ) )"
+RDEPEND="sbcl? ( dev-lisp/sbcl:= )
+   cmucl? ( dev-lisp/cmucl:= )
+   gcl? ( dev-lisp/gcl:= )
+   ecl? ( dev-lisp/ecl:= )
+   clisp? ( dev-lisp/clisp:= )
+   clozurecl? ( dev-lisp/clozurecl:= )
+   X? ( x11-libs/libXpm x11-libs/libICE )
+   emacs? ( >=app-editors/emacs-23.1:* )
+   gmp? ( dev-libs/gmp:= )"
+DEPEND="${RDEPEND}"
+
+# necessary for clisp and gcl
+RESTRICT="strip"
+
+PATCHES=( "${FILESDIR}"/${P}-doc.patch )
+
+src_configure() {
+   local LISP GMP
+   use sbcl && LISP="sbcl --dynamic-space-size 4096"
+   use cmucl && LISP=lisp
+   use gcl && LISP=gcl
+   use ecl && LISP=ecl
+   use clisp && LISP=clisp
+   use clozurecl && LISP=ccl
+
+   if use sbcl || use clozurecl
+   then GMP=$(use_with gmp)
+   else GMP=''
+   fi
+
+   # aldor is not yet in portage
+   econf --disable-aldor --with-lisp="${LISP}" $(use_with X x) ${GMP}
+}
+
+src_compile() {
+   default
+   if use doc; then
+   pushd src/doc > /dev/null || die "pushd src/doc failed"
+   virtx emake book
+   popd > /dev/null
+   fi
+}
+
+src_test() {
+   emake -j1 all-input
+}
+
+src_install() {
+   emake -j1 DESTDIR="${D}" install
+   dodoc README.rst FAQ
+
+   if use emacs; then
+   sed -e "s|(setq load-path (cons (quote 
\"/usr/$(get_libdir)/fricas/emacs\") load-path)) ||" \
+   -i "${D}"/usr/bin/efricas \
+   || die "sed efricas failed"
+   elisp-install ${PN} "${D}"/usr/$(get_libdir)/${PN}/emacs/*.el
+   elisp-make-site-file 64${PN}-gentoo.el
+   else
+   rm "${D}"/usr/bin/efricas || die "rm efricas failed"
+   fi
+   rm -r "${D}"/usr/$(get_libdir)/${PN}/emacs || die "rm -r emacs failed"
+
+   if use doc; then
+   dodoc src/doc/book.pdf
+   fi
+}
+
+pkg_postinst() {
+   use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+   use emacs && elisp-site-regen
+}



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

2024-06-30 Thread Andrey Grozin
commit: 05bbbf5c83766df67a9d4a98129014b2138a51b7
Author: Andrey Grozin  gentoo  org>
AuthorDate: Sun Jun 30 12:44:21 2024 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Sun Jun 30 12:44:21 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05bbbf5c

sci-mathematics/fricas: remove old version

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

 sci-mathematics/fricas/Manifest|  1 -
 .../fricas/files/fricas-sbcl-2.3.9.patch   | 59 ---
 sci-mathematics/fricas/fricas-1.3.9-r3.ebuild  | 85 --
 3 files changed, 145 deletions(-)

diff --git a/sci-mathematics/fricas/Manifest b/sci-mathematics/fricas/Manifest
index 5ab55abf98ec..6c0959685da2 100644
--- a/sci-mathematics/fricas/Manifest
+++ b/sci-mathematics/fricas/Manifest
@@ -1,3 +1,2 @@
 DIST fricas-1.3.10-full.tar.bz2 10971513 BLAKE2B 
0ea96cf1076dcd23f53ebdcd3ebf5c6e605915ce332093b83d62a5ed482d32f14833857e270865a4031d7bfc033d961c69007e936260e7d85e632b091d969e0d
 SHA512 
de23c34a1e47b0a4ab2f85e1154e6fa5b0905427718e8c0ad4fe298bf6ebbb1abcc02426e528b7b34d15aebfc2ca1b06f73e39a24ec741d2d5c70f9b48b02665
 DIST fricas-1.3.11-full.tar.bz2 10937641 BLAKE2B 
52bb467468de83dfbb8a61717356d74c605efe1174168c35af50d15232c8441457415ca2c88fd19356caec9f9ee29af556104f421dc0479f3ae635144432be7a
 SHA512 
611866829764fdf02e84c08f3afd8f631a40c8c5340648640b4fa388641c703021f5006e135ac32e671786b1a75bc290039e929ef322c60a0ba0cb0212ac
-DIST fricas-1.3.9-full.tar.bz2 10949173 BLAKE2B 
c535d2a384fa55db53b6901d3ba5d1cc8eca35ccf67a2664f934da427a808b5adc7a5522b935f5dcff89795c0ca5816818d9cf37399b6f9bdc63cfe4d622a7c3
 SHA512 
9cfcb8bad52550a46216509154d5c06dac23625bc14d504a1febbea7ff771fd3172f91c2824df51375b8d85adc19959a5cbbfa2b77a0095ca37e8a4d4b8cc405

diff --git a/sci-mathematics/fricas/files/fricas-sbcl-2.3.9.patch 
b/sci-mathematics/fricas/files/fricas-sbcl-2.3.9.patch
deleted file mode 100644
index f3a28ed57457..
--- a/sci-mathematics/fricas/files/fricas-sbcl-2.3.9.patch
+++ /dev/null
@@ -1,59 +0,0 @@
-diff --git a/src/lisp/num_gmp.lisp b/src/lisp/num_gmp.lisp
-index b58001e0b..f4a022ad4 100644
 a/src/lisp/num_gmp.lisp
-+++ b/src/lisp/num_gmp.lisp
-@@ -646,14 +646,27 @@
- (setf (symbol-function 'orig-isqrt)
-   (symbol-function 'common-lisp:isqrt)))
-
-+(defmacro negate_bignum(x)
-+(let ((sym2
-+  (find-symbol "NEGATE-BIGNUM-NOT-FULLY-NORMALIZED" "SB-BIGNUM")))
-+(if sym2
-+`(,sym2 ,x)
-+;;; 'read-from-string' looks silly, but here we want error
-+;;;  if NEGATE-BIGNUM is absent from SB-BIGNUM
-+(let ((sym1 (read-from-string "SB-BIGNUM::NEGATE-BIGNUM")))
-+ `(,sym1 ,x nil))
-+)
-+)
-+)
-+
- (defun gmp-multiply-bignums0 (a b)
-   ;;; (declare (type bignum-type a b))
-   (let* ((a-plusp (sb-bignum::%bignum-0-or-plusp a
-   (sb-bignum::%bignum-length a)))
-  (b-plusp (sb-bignum::%bignum-0-or-plusp b
-   (sb-bignum::%bignum-length b)))
-- (a (if a-plusp a (sb-bignum::negate-bignum a)))
-- (b (if b-plusp b (sb-bignum::negate-bignum b)))
-+ (a (if a-plusp a (negate_bignum a)))
-+ (b (if b-plusp b (negate_bignum b)))
-  (len-a (sb-bignum::%bignum-length a))
-  (len-b (sb-bignum::%bignum-length b))
-  (len-res (+ len-a len-b))
-@@ -697,10 +710,10 @@
-   (let* (
- (nx (if (sb-bignum::%bignum-0-or-plusp x (sb-bignum::%bignum-length x))
- (sb-bignum::copy-bignum x)
--(sb-bignum::negate-bignum x nil)))
-+(negate_bignum x)))
- (ny (if (sb-bignum::%bignum-0-or-plusp y (sb-bignum::%bignum-length y))
- (sb-bignum::copy-bignum y)
--(sb-bignum::negate-bignum y nil)))
-+(negate_bignum y)))
- (xl (sb-bignum::%bignum-length nx))
- (yl (sb-bignum::%bignum-length ny))
- (rl (if (< xl yl) xl yl))
-@@ -735,9 +748,9 @@
- (x-plusp (sb-bignum::%bignum-0-or-plusp x (sb-bignum::%bignum-length x)))
- (y-plusp (sb-bignum::%bignum-0-or-plusp y (sb-bignum::%bignum-length y)))
- (nx (if x-plusp x
--   (sb-bignum::negate-bignum x nil)))
-+   (negate_bignum x)))
- (ny (if y-plusp y
--   (sb-bignum::negate-bignum y nil)))
-+   (negate_bignum y)))
- (len-x (sb-bignum::%bignum-length nx))
- (len-y (sb-bignum::%bignum-length ny))
- (q nil)

diff --git a/sci-mathematics/fricas/fricas-1.3.9-r3.ebuild 
b/sci-mathematics/fricas/fricas-1.3.9-r3.ebuild
deleted file mode 100644
index 0fc1aceea768..
--- a/sci-mathematics/fricas/fricas-1.3.9-r3.ebuild
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-inherit elisp-common
-
-DESCRIPTION="FriCAS is a fork of Axiom computer algebra system"
-HOMEPAGE="https://fricas.sourceforge.net/
-   https://github.com/fricas/frica

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

2024-06-30 Thread Andrey Grozin
commit: 02be5f37436bebbfe5a3f93c241e7d069d29c198
Author: Andrey Grozin  gentoo  org>
AuthorDate: Sun Jun 30 12:01:48 2024 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Sun Jun 30 12:42:17 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02be5f37

sci-mathematics/fricas: bump to 1.3.11

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

 sci-mathematics/fricas/Manifest |  1 +
 sci-mathematics/fricas/fricas-1.3.11.ebuild | 78 +
 2 files changed, 79 insertions(+)

diff --git a/sci-mathematics/fricas/Manifest b/sci-mathematics/fricas/Manifest
index 5c2658209faf..5ab55abf98ec 100644
--- a/sci-mathematics/fricas/Manifest
+++ b/sci-mathematics/fricas/Manifest
@@ -1,2 +1,3 @@
 DIST fricas-1.3.10-full.tar.bz2 10971513 BLAKE2B 
0ea96cf1076dcd23f53ebdcd3ebf5c6e605915ce332093b83d62a5ed482d32f14833857e270865a4031d7bfc033d961c69007e936260e7d85e632b091d969e0d
 SHA512 
de23c34a1e47b0a4ab2f85e1154e6fa5b0905427718e8c0ad4fe298bf6ebbb1abcc02426e528b7b34d15aebfc2ca1b06f73e39a24ec741d2d5c70f9b48b02665
+DIST fricas-1.3.11-full.tar.bz2 10937641 BLAKE2B 
52bb467468de83dfbb8a61717356d74c605efe1174168c35af50d15232c8441457415ca2c88fd19356caec9f9ee29af556104f421dc0479f3ae635144432be7a
 SHA512 
611866829764fdf02e84c08f3afd8f631a40c8c5340648640b4fa388641c703021f5006e135ac32e671786b1a75bc290039e929ef322c60a0ba0cb0212ac
 DIST fricas-1.3.9-full.tar.bz2 10949173 BLAKE2B 
c535d2a384fa55db53b6901d3ba5d1cc8eca35ccf67a2664f934da427a808b5adc7a5522b935f5dcff89795c0ca5816818d9cf37399b6f9bdc63cfe4d622a7c3
 SHA512 
9cfcb8bad52550a46216509154d5c06dac23625bc14d504a1febbea7ff771fd3172f91c2824df51375b8d85adc19959a5cbbfa2b77a0095ca37e8a4d4b8cc405

diff --git a/sci-mathematics/fricas/fricas-1.3.11.ebuild 
b/sci-mathematics/fricas/fricas-1.3.11.ebuild
new file mode 100644
index ..e6de50964068
--- /dev/null
+++ b/sci-mathematics/fricas/fricas-1.3.11.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit elisp-common
+
+DESCRIPTION="FriCAS is a fork of Axiom computer algebra system"
+HOMEPAGE="https://fricas.sourceforge.net/
+   https://github.com/fricas/fricas
+   https://fricas.github.io/";
+SRC_URI="https://downloads.sourceforge.net/${PN}/${PV}/${P}-full.tar.bz2";
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="+sbcl cmucl gcl ecl clisp clozurecl X emacs gmp"
+REQUIRED_USE="^^ ( sbcl cmucl gcl ecl clisp clozurecl )
+   gmp? ( ^^ ( sbcl clozurecl ) )"
+RDEPEND="sbcl? ( dev-lisp/sbcl:= )
+   cmucl? ( dev-lisp/cmucl:= )
+   gcl? ( dev-lisp/gcl:= )
+   ecl? ( dev-lisp/ecl:= )
+   clisp? ( dev-lisp/clisp:= )
+   clozurecl? ( dev-lisp/clozurecl:= )
+   X? ( x11-libs/libXpm x11-libs/libICE )
+   emacs? ( >=app-editors/emacs-23.1:* )
+   gmp? ( dev-libs/gmp:= )"
+DEPEND="${RDEPEND}"
+
+# necessary for clisp and gcl
+RESTRICT="strip"
+
+src_configure() {
+   local LISP GMP
+   use sbcl && LISP="sbcl --dynamic-space-size 4096"
+   use cmucl && LISP=lisp
+   use gcl && LISP=gcl
+   use ecl && LISP=ecl
+   use clisp && LISP=clisp
+   use clozurecl && LISP=ccl
+
+   if use sbcl || use clozurecl
+   then GMP=$(use_with gmp)
+   else GMP=''
+   fi
+
+   # aldor is not yet in portage
+   econf --disable-aldor --with-lisp="${LISP}" $(use_with X x) ${GMP}
+}
+
+src_test() {
+   emake -j1 all-input
+}
+
+src_install() {
+   emake -j1 DESTDIR="${D}" install
+   dodoc README.rst FAQ
+
+   if use emacs; then
+   sed -e "s|(setq load-path (cons (quote 
\"/usr/$(get_libdir)/fricas/emacs\") load-path)) ||" \
+   -i "${D}"/usr/bin/efricas \
+   || die "sed efricas failed"
+   elisp-install ${PN} "${D}"/usr/$(get_libdir)/${PN}/emacs/*.el
+   elisp-make-site-file 64${PN}-gentoo.el
+   else
+   rm "${D}"/usr/bin/efricas || die "rm efricas failed"
+   fi
+   rm -r "${D}"/usr/$(get_libdir)/${PN}/emacs || die "rm -r emacs failed"
+}
+
+pkg_postinst() {
+   use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+   use emacs && elisp-site-regen
+}



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

2024-01-11 Thread Andrey Grozin
commit: 30b2417ab4d03b65375e478044130181dfcffbec
Author: Andrey Grozin  gentoo  org>
AuthorDate: Thu Jan 11 09:48:39 2024 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Thu Jan 11 09:49:04 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30b2417a

sci-mathematics/fricas: bump to 1.3.10

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

 sci-mathematics/fricas/Manifest |  1 +
 sci-mathematics/fricas/fricas-1.3.10.ebuild | 78 +
 2 files changed, 79 insertions(+)

diff --git a/sci-mathematics/fricas/Manifest b/sci-mathematics/fricas/Manifest
index 1a64dd549538..5c2658209faf 100644
--- a/sci-mathematics/fricas/Manifest
+++ b/sci-mathematics/fricas/Manifest
@@ -1 +1,2 @@
+DIST fricas-1.3.10-full.tar.bz2 10971513 BLAKE2B 
0ea96cf1076dcd23f53ebdcd3ebf5c6e605915ce332093b83d62a5ed482d32f14833857e270865a4031d7bfc033d961c69007e936260e7d85e632b091d969e0d
 SHA512 
de23c34a1e47b0a4ab2f85e1154e6fa5b0905427718e8c0ad4fe298bf6ebbb1abcc02426e528b7b34d15aebfc2ca1b06f73e39a24ec741d2d5c70f9b48b02665
 DIST fricas-1.3.9-full.tar.bz2 10949173 BLAKE2B 
c535d2a384fa55db53b6901d3ba5d1cc8eca35ccf67a2664f934da427a808b5adc7a5522b935f5dcff89795c0ca5816818d9cf37399b6f9bdc63cfe4d622a7c3
 SHA512 
9cfcb8bad52550a46216509154d5c06dac23625bc14d504a1febbea7ff771fd3172f91c2824df51375b8d85adc19959a5cbbfa2b77a0095ca37e8a4d4b8cc405

diff --git a/sci-mathematics/fricas/fricas-1.3.10.ebuild 
b/sci-mathematics/fricas/fricas-1.3.10.ebuild
new file mode 100644
index ..96a81b24c204
--- /dev/null
+++ b/sci-mathematics/fricas/fricas-1.3.10.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit elisp-common
+
+DESCRIPTION="FriCAS is a fork of Axiom computer algebra system"
+HOMEPAGE="https://fricas.sourceforge.net/
+   https://github.com/fricas/fricas
+   https://fricas.github.io/";
+SRC_URI="mirror://sourceforge/${PN}/${PV}/${P}-full.tar.bz2"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="+sbcl cmucl gcl ecl clisp clozurecl X emacs gmp"
+REQUIRED_USE="^^ ( sbcl cmucl gcl ecl clisp clozurecl )
+   gmp? ( ^^ ( sbcl clozurecl ) )"
+RDEPEND="sbcl? ( dev-lisp/sbcl:= )
+   cmucl? ( dev-lisp/cmucl:= )
+   gcl? ( dev-lisp/gcl:= )
+   ecl? ( dev-lisp/ecl:= )
+   clisp? ( dev-lisp/clisp:= )
+   clozurecl? ( dev-lisp/clozurecl:= )
+   X? ( x11-libs/libXpm x11-libs/libICE )
+   emacs? ( >=app-editors/emacs-23.1:* )
+   gmp? ( dev-libs/gmp:= )"
+DEPEND="${RDEPEND}"
+
+# necessary for clisp and gcl
+RESTRICT="strip"
+
+src_configure() {
+   local LISP GMP
+   use sbcl && LISP="sbcl --dynamic-space-size 4096"
+   use cmucl && LISP=lisp
+   use gcl && LISP=gcl
+   use ecl && LISP=ecl
+   use clisp && LISP=clisp
+   use clozurecl && LISP=ccl
+
+   if use sbcl || use clozurecl
+   then GMP=$(use_with gmp)
+   else GMP=''
+   fi
+
+   # aldor is not yet in portage
+   econf --disable-aldor --with-lisp="${LISP}" $(use_with X x) ${GMP}
+}
+
+src_test() {
+   emake -j1 all-input
+}
+
+src_install() {
+   emake -j1 DESTDIR="${D}" install
+   dodoc README.rst FAQ
+
+   if use emacs; then
+   sed -e "s|(setq load-path (cons (quote 
\"/usr/$(get_libdir)/fricas/emacs\") load-path)) ||" \
+   -i "${D}"/usr/bin/efricas \
+   || die "sed efricas failed"
+   elisp-install ${PN} "${D}"/usr/$(get_libdir)/${PN}/emacs/*.el
+   elisp-make-site-file 64${PN}-gentoo.el
+   else
+   rm "${D}"/usr/bin/efricas || die "rm efricas failed"
+   fi
+   rm -r "${D}"/usr/$(get_libdir)/${PN}/emacs || die "rm -r emacs failed"
+}
+
+pkg_postinst() {
+   use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+   use emacs && elisp-site-regen
+}



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

2023-10-19 Thread Andrey Grozin
commit: 6398bb13bc6a0fae58a8bc4cab42f6751ba27a77
Author: Andrey Grozin  gentoo  org>
AuthorDate: Thu Oct 19 12:44:35 2023 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Thu Oct 19 12:44:35 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6398bb13

sci-mathematics/fricas: remove old revisions

Bug: https://bugs.gentoo.org/915647
Signed-off-by: Andrey Grozin  gentoo.org>

 sci-mathematics/fricas/fricas-1.3.9-r1.ebuild | 111 -
 sci-mathematics/fricas/fricas-1.3.9-r2.ebuild | 113 --
 2 files changed, 224 deletions(-)

diff --git a/sci-mathematics/fricas/fricas-1.3.9-r1.ebuild 
b/sci-mathematics/fricas/fricas-1.3.9-r1.ebuild
deleted file mode 100644
index 0cb3f278366a..
--- a/sci-mathematics/fricas/fricas-1.3.9-r1.ebuild
+++ /dev/null
@@ -1,111 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-inherit elisp-common
-
-DESCRIPTION="FriCAS is a fork of Axiom computer algebra system"
-HOMEPAGE="https://fricas.sourceforge.net/
-   https://github.com/fricas/fricas
-   https://fricas.github.io/";
-SRC_URI="mirror://sourceforge/${PN}/${PV}/${P}-full.tar.bz2"
-
-LICENSE="BSD-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-# Supported lisps, number 0 is the default
-LISPS=( sbcl   cmucl gcl ecl clisp clozurecl )
-# Version restrictions, . means no restrictions
-REST=(  ' 0; n--)); do
-   LISP=${LISPS[$n]}
-   if [ "${REST[$n]}" = "." ]; then
-   DEP="dev-lisp/${LISP}"
-   else
-   DEP="${REST[$n]}"
-   fi
-   RDEPEND="${RDEPEND} ${LISP}? ( ${DEP}:= ) !${LISP}? ("
-done
-if [ "${REST[0]}" = "." ]; then
-   DEP="dev-lisp/${LISPS[0]}"
-else
-   DEP="${REST[0]}"
-fi
-RDEPEND="${RDEPEND} ${DEP}:="
-n=${#LISPS[*]}
-for ((n--; n > 0; n--)); do
-   RDEPEND="${RDEPEND} )"
-done
-
-DEPEND="${RDEPEND}"
-
-# necessary for clisp and gcl
-RESTRICT="strip"
-
-src_configure() {
-   local LISP n GMP
-   LISP=sbcl
-   n=${#LISPS[*]}
-   for ((n--; n > 0; n--)); do
-   if use ${LISPS[$n]}; then
-   LISP=${COMS[$n]}
-   if [ "${LISP}" = "." ]; then
-   LISP=${LISPS[$n]}
-   fi
-   fi
-   done
-   einfo "Using lisp: ${LISP}"
-
-   # bug #650788
-   if [[ ${LISP} = sbcl || ${LISP} = ccl ]]
-   then GMP=$(use_with gmp)
-   else GMP=''
-   fi
-
-   # aldor is not yet in portage
-   econf --disable-aldor --with-lisp=${LISP} $(use_with X x) ${GMP}
-}
-
-src_compile() {
-   # bug #300132
-   emake -j1
-}
-
-src_test() {
-   emake -j1 all-input
-}
-
-src_install() {
-   emake -j1 DESTDIR="${D}" install
-   dodoc README.rst FAQ
-
-   if use emacs; then
-   sed -e "s|(setq load-path (cons (quote 
\"/usr/$(get_libdir)/fricas/emacs\") load-path)) ||" \
-   -i "${D}"/usr/bin/efricas \
-   || die "sed efricas failed"
-   elisp-install ${PN} "${D}"/usr/$(get_libdir)/${PN}/emacs/*.el
-   elisp-make-site-file 64${PN}-gentoo.el
-   else
-   rm "${D}"/usr/bin/efricas || die "rm efricas failed"
-   fi
-   rm -r "${D}"/usr/$(get_libdir)/${PN}/emacs || die "rm -r emacs failed"
-}
-
-pkg_postinst() {
-   use emacs && elisp-site-regen
-}
-
-pkg_postrm() {
-   use emacs && elisp-site-regen
-}

diff --git a/sci-mathematics/fricas/fricas-1.3.9-r2.ebuild 
b/sci-mathematics/fricas/fricas-1.3.9-r2.ebuild
deleted file mode 100644
index 07f9242ca06b..
--- a/sci-mathematics/fricas/fricas-1.3.9-r2.ebuild
+++ /dev/null
@@ -1,113 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-inherit elisp-common
-
-DESCRIPTION="FriCAS is a fork of Axiom computer algebra system"
-HOMEPAGE="https://fricas.sourceforge.net/
-   https://github.com/fricas/fricas
-   https://fricas.github.io/";
-SRC_URI="mirror://sourceforge/${PN}/${PV}/${P}-full.tar.bz2"
-
-LICENSE="BSD-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-# Supported lisps, number 0 is the default
-LISPS=( sbcl cmucl gcl ecl clisp clozurecl )
-# Version restrictions, . means no restrictions
-REST=(  .. .   .   . . )
-# command name: . means just ${LISP}
-COMS=(  .lisp  .   .   . ccl )
-
-IUSE="${LISPS[*]} X emacs gmp"
-RDEPEND="X? ( x11-libs/libXpm x11-libs/libICE )
-   emacs? ( >=app-editors/emacs-23.1:* )
-   gmp? ( dev-libs/gmp:= )"
-
-# Generating lisp deps
-n=${#LISPS[*]}
-for ((n--; n > 0; n--)); do
-   LISP=${LISPS[$n]}
-   if [ "${REST[$n]}" = "." ]; then
-   DEP="dev-lisp/${LISP}"
-   else
-   DEP="${REST[$n]}"
-   fi
-   RDEPEND="${RDEPEND} ${LISP}? ( ${DEP}:= ) !${LISP}? ("
-done
-if [ "${REST[0]}" = "." ]; then
-   DEP="de

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

2023-10-19 Thread Andrey Grozin
commit: b341492e256badccb690eafe93d34df68c9049a5
Author: Andrey Grozin  gentoo  org>
AuthorDate: Thu Oct 19 12:42:48 2023 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Thu Oct 19 12:42:48 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b341492e

sci-mathematics/fricas: fix building with clozurecl

Bug: https://bugs.gentoo.org/915647
Signed-off-by: Andrey Grozin  gentoo.org>

 .../fricas/files/fricas-sbcl-2.3.9.patch   | 22 +++---
 sci-mathematics/fricas/fricas-1.3.9-r3.ebuild  | 85 ++
 2 files changed, 95 insertions(+), 12 deletions(-)

diff --git a/sci-mathematics/fricas/files/fricas-sbcl-2.3.9.patch 
b/sci-mathematics/fricas/files/fricas-sbcl-2.3.9.patch
index 6f7440afecf5..f3a28ed57457 100644
--- a/sci-mathematics/fricas/files/fricas-sbcl-2.3.9.patch
+++ b/sci-mathematics/fricas/files/fricas-sbcl-2.3.9.patch
@@ -1,12 +1,11 @@
 diff --git a/src/lisp/num_gmp.lisp b/src/lisp/num_gmp.lisp
-index b58001e..9538e3c 100644
+index b58001e0b..f4a022ad4 100644
 --- a/src/lisp/num_gmp.lisp
 +++ b/src/lisp/num_gmp.lisp
-@@ -549,6 +549,20 @@
- ;;; (gmp-bignum-isqrt (expt 10 50))
- ;;; (gmp-bignum-isqrt (expt 2 127))
- #+:sbcl
-+
+@@ -646,14 +646,27 @@
+ (setf (symbol-function 'orig-isqrt)
+   (symbol-function 'common-lisp:isqrt)))
+
 +(defmacro negate_bignum(x)
 +(let ((sym2
 +  (find-symbol "NEGATE-BIGNUM-NOT-FULLY-NORMALIZED" "SB-BIGNUM")))
@@ -20,10 +19,9 @@ index b58001e..9538e3c 100644
 +)
 +)
 +
- (defun gmp-bignum-isqrt (x)
-   (let* ((len-x (sb-bignum::%bignum-length x))
-  (len-res (ceiling (+ 1 len-x) 2))
-@@ -652,8 +666,8 @@
+ (defun gmp-multiply-bignums0 (a b)
+   ;;; (declare (type bignum-type a b))
+   (let* ((a-plusp (sb-bignum::%bignum-0-or-plusp a
(sb-bignum::%bignum-length a)))
   (b-plusp (sb-bignum::%bignum-0-or-plusp b
(sb-bignum::%bignum-length b)))
@@ -34,7 +32,7 @@ index b58001e..9538e3c 100644
   (len-a (sb-bignum::%bignum-length a))
   (len-b (sb-bignum::%bignum-length b))
   (len-res (+ len-a len-b))
-@@ -697,10 +711,10 @@
+@@ -697,10 +710,10 @@
(let* (
  (nx (if (sb-bignum::%bignum-0-or-plusp x (sb-bignum::%bignum-length x))
  (sb-bignum::copy-bignum x)
@@ -47,7 +45,7 @@ index b58001e..9538e3c 100644
  (xl (sb-bignum::%bignum-length nx))
  (yl (sb-bignum::%bignum-length ny))
  (rl (if (< xl yl) xl yl))
-@@ -735,9 +749,9 @@
+@@ -735,9 +748,9 @@
  (x-plusp (sb-bignum::%bignum-0-or-plusp x (sb-bignum::%bignum-length x)))
  (y-plusp (sb-bignum::%bignum-0-or-plusp y (sb-bignum::%bignum-length y)))
  (nx (if x-plusp x

diff --git a/sci-mathematics/fricas/fricas-1.3.9-r3.ebuild 
b/sci-mathematics/fricas/fricas-1.3.9-r3.ebuild
new file mode 100644
index ..6515c133f0ca
--- /dev/null
+++ b/sci-mathematics/fricas/fricas-1.3.9-r3.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit elisp-common
+
+DESCRIPTION="FriCAS is a fork of Axiom computer algebra system"
+HOMEPAGE="https://fricas.sourceforge.net/
+   https://github.com/fricas/fricas
+   https://fricas.github.io/";
+SRC_URI="mirror://sourceforge/${PN}/${PV}/${P}-full.tar.bz2"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="+sbcl cmucl gcl ecl clisp clozurecl X emacs gmp"
+REQUIRED_USE="^^ ( sbcl cmucl gcl ecl clisp clozurecl )
+   gmp? ( ^^ ( sbcl clozurecl ) )"
+RDEPEND="sbcl? ( dev-lisp/sbcl:= )
+   cmucl? ( dev-lisp/cmucl:= )
+   gcl? ( dev-lisp/gcl:= )
+   ecl? ( dev-lisp/ecl:= )
+   clisp? ( dev-lisp/clisp:= )
+   clozurecl? ( dev-lisp/clozurecl:= )
+   X? ( x11-libs/libXpm x11-libs/libICE )
+   emacs? ( >=app-editors/emacs-23.1:* )
+   gmp? ( dev-libs/gmp:= )"
+DEPEND="${RDEPEND}"
+
+PATCHES=( "${FILESDIR}"/${PN}-sbcl-2.3.9.patch )
+
+# necessary for clisp and gcl
+RESTRICT="strip"
+
+src_configure() {
+   local LISP GMP
+   use sbcl && LISP=sbcl
+   use cmucl && LISP=lisp
+   use gcl && LISP=gcl
+   use ecl && LISP=ecl
+   use clisp && LISP=clisp
+   use clozurecl && LISP=ccl
+
+   if use sbcl || use clozurecl
+   then GMP=$(use_with gmp)
+   else GMP=''
+   fi
+
+   # aldor is not yet in portage
+   econf --disable-aldor --with-lisp=${LISP} $(use_with X x) ${GMP}
+}
+
+src_compile() {
+   # bug #300132
+   emake -j1
+}
+
+src_test() {
+   emake -j1 all-input
+}
+
+src_install() {
+   emake -j1 DESTDIR="${D}" install
+   dodoc README.rst FAQ
+
+   if use emacs; then
+   sed -e "s|(setq load-path (cons (quote 
\"/usr/$(get_libdir)/fricas/emacs\") load-path)) ||" \
+   -i "${D}"/usr/bin/efricas \
+   || die "sed efricas failed"
+   elisp-install ${PN} "${D}"/usr/$(get_libdir)/${PN}/emacs/*.el
+   elisp

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

2023-10-15 Thread Andrey Grozin
commit: cc71105828670c0a9d7314c938dfc806fac4a95c
Author: Andrey Grozin  gentoo  org>
AuthorDate: Sun Oct 15 08:26:51 2023 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Sun Oct 15 08:27:15 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc711058

sci-mathematics/fricas: now compiles with sbcl-2.3.9

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

 .../fricas/files/fricas-sbcl-2.3.9.patch   |  61 +++
 sci-mathematics/fricas/fricas-1.3.9-r2.ebuild  | 113 +
 2 files changed, 174 insertions(+)

diff --git a/sci-mathematics/fricas/files/fricas-sbcl-2.3.9.patch 
b/sci-mathematics/fricas/files/fricas-sbcl-2.3.9.patch
new file mode 100644
index ..6f7440afecf5
--- /dev/null
+++ b/sci-mathematics/fricas/files/fricas-sbcl-2.3.9.patch
@@ -0,0 +1,61 @@
+diff --git a/src/lisp/num_gmp.lisp b/src/lisp/num_gmp.lisp
+index b58001e..9538e3c 100644
+--- a/src/lisp/num_gmp.lisp
 b/src/lisp/num_gmp.lisp
+@@ -549,6 +549,20 @@
+ ;;; (gmp-bignum-isqrt (expt 10 50))
+ ;;; (gmp-bignum-isqrt (expt 2 127))
+ #+:sbcl
++
++(defmacro negate_bignum(x)
++(let ((sym2
++  (find-symbol "NEGATE-BIGNUM-NOT-FULLY-NORMALIZED" "SB-BIGNUM")))
++(if sym2
++`(,sym2 ,x)
++;;; 'read-from-string' looks silly, but here we want error
++;;;  if NEGATE-BIGNUM is absent from SB-BIGNUM
++(let ((sym1 (read-from-string "SB-BIGNUM::NEGATE-BIGNUM")))
++ `(,sym1 ,x nil))
++)
++)
++)
++
+ (defun gmp-bignum-isqrt (x)
+   (let* ((len-x (sb-bignum::%bignum-length x))
+  (len-res (ceiling (+ 1 len-x) 2))
+@@ -652,8 +666,8 @@
+   (sb-bignum::%bignum-length a)))
+  (b-plusp (sb-bignum::%bignum-0-or-plusp b
+   (sb-bignum::%bignum-length b)))
+- (a (if a-plusp a (sb-bignum::negate-bignum a)))
+- (b (if b-plusp b (sb-bignum::negate-bignum b)))
++ (a (if a-plusp a (negate_bignum a)))
++ (b (if b-plusp b (negate_bignum b)))
+  (len-a (sb-bignum::%bignum-length a))
+  (len-b (sb-bignum::%bignum-length b))
+  (len-res (+ len-a len-b))
+@@ -697,10 +711,10 @@
+   (let* (
+ (nx (if (sb-bignum::%bignum-0-or-plusp x (sb-bignum::%bignum-length x))
+ (sb-bignum::copy-bignum x)
+-(sb-bignum::negate-bignum x nil)))
++(negate_bignum x)))
+ (ny (if (sb-bignum::%bignum-0-or-plusp y (sb-bignum::%bignum-length y))
+ (sb-bignum::copy-bignum y)
+-(sb-bignum::negate-bignum y nil)))
++(negate_bignum y)))
+ (xl (sb-bignum::%bignum-length nx))
+ (yl (sb-bignum::%bignum-length ny))
+ (rl (if (< xl yl) xl yl))
+@@ -735,9 +749,9 @@
+ (x-plusp (sb-bignum::%bignum-0-or-plusp x (sb-bignum::%bignum-length x)))
+ (y-plusp (sb-bignum::%bignum-0-or-plusp y (sb-bignum::%bignum-length y)))
+ (nx (if x-plusp x
+-   (sb-bignum::negate-bignum x nil)))
++   (negate_bignum x)))
+ (ny (if y-plusp y
+-   (sb-bignum::negate-bignum y nil)))
++   (negate_bignum y)))
+ (len-x (sb-bignum::%bignum-length nx))
+ (len-y (sb-bignum::%bignum-length ny))
+ (q nil)

diff --git a/sci-mathematics/fricas/fricas-1.3.9-r2.ebuild 
b/sci-mathematics/fricas/fricas-1.3.9-r2.ebuild
new file mode 100644
index ..07f9242ca06b
--- /dev/null
+++ b/sci-mathematics/fricas/fricas-1.3.9-r2.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit elisp-common
+
+DESCRIPTION="FriCAS is a fork of Axiom computer algebra system"
+HOMEPAGE="https://fricas.sourceforge.net/
+   https://github.com/fricas/fricas
+   https://fricas.github.io/";
+SRC_URI="mirror://sourceforge/${PN}/${PV}/${P}-full.tar.bz2"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+# Supported lisps, number 0 is the default
+LISPS=( sbcl cmucl gcl ecl clisp clozurecl )
+# Version restrictions, . means no restrictions
+REST=(  .. .   .   . . )
+# command name: . means just ${LISP}
+COMS=(  .lisp  .   .   . ccl )
+
+IUSE="${LISPS[*]} X emacs gmp"
+RDEPEND="X? ( x11-libs/libXpm x11-libs/libICE )
+   emacs? ( >=app-editors/emacs-23.1:* )
+   gmp? ( dev-libs/gmp:= )"
+
+# Generating lisp deps
+n=${#LISPS[*]}
+for ((n--; n > 0; n--)); do
+   LISP=${LISPS[$n]}
+   if [ "${REST[$n]}" = "." ]; then
+   DEP="dev-lisp/${LISP}"
+   else
+   DEP="${REST[$n]}"
+   fi
+   RDEPEND="${RDEPEND} ${LISP}? ( ${DEP}:= ) !${LISP}? ("
+done
+if [ "${REST[0]}" = "." ]; then
+   DEP="dev-lisp/${LISPS[0]}"
+else
+   DEP="${REST[0]}"
+fi
+RDEPEND="${RDEPEND} ${DEP}:="
+n=${#LISPS[*]}
+for ((n--; n > 0; n--)); do
+   RDEPEND="${RDEPEND} )"
+done
+
+DEPEND="${RDEPEND}"
+
+PATCHES=( "${FILESDIR}"/${PN}-sbcl-2.3.9.patch )
+
+# necessary for clisp and gcl
+RESTRICT="strip"
+

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

2023-10-11 Thread Andrey Grozin
commit: 4962c844af760b3889682f744fbe76a4507cf1ba
Author: Andrey Grozin  gentoo  org>
AuthorDate: Thu Oct 12 05:55:14 2023 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Thu Oct 12 05:55:42 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4962c844

sci-mathematics/fricas: remove old versions

Bug: https://bugs.gentoo.org/915586
Signed-off-by: Andrey Grozin  gentoo.org>

 sci-mathematics/fricas/Manifest|   1 -
 .../fricas/files/fricas-sbcl-2.3.2.patch   |  18 
 sci-mathematics/fricas/fricas-1.3.8-r1.ebuild  | 112 -
 sci-mathematics/fricas/fricas-1.3.9.ebuild | 111 
 4 files changed, 242 deletions(-)

diff --git a/sci-mathematics/fricas/Manifest b/sci-mathematics/fricas/Manifest
index dde68418c933..1a64dd549538 100644
--- a/sci-mathematics/fricas/Manifest
+++ b/sci-mathematics/fricas/Manifest
@@ -1,2 +1 @@
-DIST fricas-1.3.8-full.tar.bz2 10878913 BLAKE2B 
214eecd430a2b758a10d985f512f3c79f6b12de35bc29e8f0a3fd296fe871b2e9a6b362060cbeec317dc355bd3c661fcab44087feeaa092fe6afcdebd0fb94a8
 SHA512 
330554f9dc36b47451195e3dee88fe26a80ab2bf9b6750d651cd53c5ba16b9c9736176936c7c69e699685be25aa62b6a099ed7340913e946a4f5e53579835dbb
 DIST fricas-1.3.9-full.tar.bz2 10949173 BLAKE2B 
c535d2a384fa55db53b6901d3ba5d1cc8eca35ccf67a2664f934da427a808b5adc7a5522b935f5dcff89795c0ca5816818d9cf37399b6f9bdc63cfe4d622a7c3
 SHA512 
9cfcb8bad52550a46216509154d5c06dac23625bc14d504a1febbea7ff771fd3172f91c2824df51375b8d85adc19959a5cbbfa2b77a0095ca37e8a4d4b8cc405

diff --git a/sci-mathematics/fricas/files/fricas-sbcl-2.3.2.patch 
b/sci-mathematics/fricas/files/fricas-sbcl-2.3.2.patch
deleted file mode 100644
index f5dd949abaa2..
--- a/sci-mathematics/fricas/files/fricas-sbcl-2.3.2.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-diff --git a/src/lisp/fricas-package.lisp b/src/lisp/fricas-package.lisp
-index c0dfc4ef5..37e1afc1e 100644
 a/src/lisp/fricas-package.lisp
-+++ b/src/lisp/fricas-package.lisp
-@@ -34,7 +34,12 @@
- #+gcl
- (shadow "QUIT")
- 
--(do-symbols (x "FRICAS-LISP") (export (list x)))
-+;;; We use uninterned symbols because at this point we do not
-+;;; want to add symbols to FRICAS-LISP
-+(let ((#1=#:ls nil))
-+(do-symbols (#2=#:el "FRICAS-LISP") (setf #1# (cons #2# #1#)))
-+(mapcar (lambda (#3=#:x) (export (list #3#))) #1#)
-+)
- 
- (export '(quit chdir |getEnv| |getCLArgs| |load_quietly| get-current-directory
-   trim-directory-name pad-directory-name

diff --git a/sci-mathematics/fricas/fricas-1.3.8-r1.ebuild 
b/sci-mathematics/fricas/fricas-1.3.8-r1.ebuild
deleted file mode 100644
index de065478169c..
--- a/sci-mathematics/fricas/fricas-1.3.8-r1.ebuild
+++ /dev/null
@@ -1,112 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-inherit elisp-common
-
-DESCRIPTION="FriCAS is a fork of Axiom computer algebra system"
-HOMEPAGE="http://fricas.sourceforge.net/
-   https://github.com/fricas/fricas
-   https://fricas.github.io/";
-SRC_URI="mirror://sourceforge/${PN}/${P}-full.tar.bz2"
-LICENSE="BSD-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-# Supported lisps, number 0 is the default
-LISPS=( sbcl cmucl gcl ecl clisp clozurecl )
-# Version restrictions, . means no restrictions
-REST=(  .. .   .   . . )
-# command name: . means just ${LISP}
-COMS=(  .lisp  .   .   . ccl )
-
-IUSE="${LISPS[*]} X emacs gmp"
-RDEPEND="X? ( x11-libs/libXpm x11-libs/libICE )
-   emacs? ( >=app-editors/emacs-23.1:* )
-   gmp? ( dev-libs/gmp:= )"
-
-# Generating lisp deps
-n=${#LISPS[*]}
-for ((n--; n > 0; n--)); do
-   LISP=${LISPS[$n]}
-   if [ "${REST[$n]}" = "." ]; then
-   DEP="dev-lisp/${LISP}"
-   else
-   DEP="${REST[$n]}"
-   fi
-   RDEPEND="${RDEPEND} ${LISP}? ( ${DEP}:= ) !${LISP}? ("
-done
-if [ "${REST[0]}" = "." ]; then
-   DEP="dev-lisp/${LISPS[0]}"
-else
-   DEP="${REST[0]}"
-fi
-RDEPEND="${RDEPEND} ${DEP}:="
-n=${#LISPS[*]}
-for ((n--; n > 0; n--)); do
-   RDEPEND="${RDEPEND} )"
-done
-
-DEPEND="${RDEPEND}"
-
-# necessary for clisp and gcl
-RESTRICT="strip"
-
-PATCHES=( "${FILESDIR}"/${PN}-sbcl-2.3.2.patch )
-
-src_configure() {
-   local LISP n GMP
-   LISP=sbcl
-   n=${#LISPS[*]}
-   for ((n--; n > 0; n--)); do
-   if use ${LISPS[$n]}; then
-   LISP=${COMS[$n]}
-   if [ "${LISP}" = "." ]; then
-   LISP=${LISPS[$n]}
-   fi
-   fi
-   done
-   einfo "Using lisp: ${LISP}"
-
-   # bug #650788
-   if [[ ${LISP} = sbcl || ${LISP} = ccl ]]
-   then GMP=$(use_with gmp)
-   else GMP=''
-   fi
-
-   # aldor is not yet in portage
-   econf --disable-aldor --with-lisp=${LISP} $(use_with X x) ${GMP}
-}
-
-src_compile() {
-   # bug #300132
-   emake -j1
-}
-
-src_te

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

2023-10-11 Thread Andrey Grozin
commit: 09ec74713d3070e9be5b5e78dd21d62db19873c4
Author: Andrey Grozin  gentoo  org>
AuthorDate: Thu Oct 12 05:52:18 2023 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Thu Oct 12 05:52:54 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09ec7471

sci-mathematics/fricas: cannot be compiled with sbcl-2.3.9

Closes: https://bugs.gentoo.org/915586
Signed-off-by: Andrey Grozin  gentoo.org>

 sci-mathematics/fricas/fricas-1.3.9-r1.ebuild | 111 ++
 1 file changed, 111 insertions(+)

diff --git a/sci-mathematics/fricas/fricas-1.3.9-r1.ebuild 
b/sci-mathematics/fricas/fricas-1.3.9-r1.ebuild
new file mode 100644
index ..0cb3f278366a
--- /dev/null
+++ b/sci-mathematics/fricas/fricas-1.3.9-r1.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit elisp-common
+
+DESCRIPTION="FriCAS is a fork of Axiom computer algebra system"
+HOMEPAGE="https://fricas.sourceforge.net/
+   https://github.com/fricas/fricas
+   https://fricas.github.io/";
+SRC_URI="mirror://sourceforge/${PN}/${PV}/${P}-full.tar.bz2"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+# Supported lisps, number 0 is the default
+LISPS=( sbcl   cmucl gcl ecl clisp clozurecl )
+# Version restrictions, . means no restrictions
+REST=(  ' 0; n--)); do
+   LISP=${LISPS[$n]}
+   if [ "${REST[$n]}" = "." ]; then
+   DEP="dev-lisp/${LISP}"
+   else
+   DEP="${REST[$n]}"
+   fi
+   RDEPEND="${RDEPEND} ${LISP}? ( ${DEP}:= ) !${LISP}? ("
+done
+if [ "${REST[0]}" = "." ]; then
+   DEP="dev-lisp/${LISPS[0]}"
+else
+   DEP="${REST[0]}"
+fi
+RDEPEND="${RDEPEND} ${DEP}:="
+n=${#LISPS[*]}
+for ((n--; n > 0; n--)); do
+   RDEPEND="${RDEPEND} )"
+done
+
+DEPEND="${RDEPEND}"
+
+# necessary for clisp and gcl
+RESTRICT="strip"
+
+src_configure() {
+   local LISP n GMP
+   LISP=sbcl
+   n=${#LISPS[*]}
+   for ((n--; n > 0; n--)); do
+   if use ${LISPS[$n]}; then
+   LISP=${COMS[$n]}
+   if [ "${LISP}" = "." ]; then
+   LISP=${LISPS[$n]}
+   fi
+   fi
+   done
+   einfo "Using lisp: ${LISP}"
+
+   # bug #650788
+   if [[ ${LISP} = sbcl || ${LISP} = ccl ]]
+   then GMP=$(use_with gmp)
+   else GMP=''
+   fi
+
+   # aldor is not yet in portage
+   econf --disable-aldor --with-lisp=${LISP} $(use_with X x) ${GMP}
+}
+
+src_compile() {
+   # bug #300132
+   emake -j1
+}
+
+src_test() {
+   emake -j1 all-input
+}
+
+src_install() {
+   emake -j1 DESTDIR="${D}" install
+   dodoc README.rst FAQ
+
+   if use emacs; then
+   sed -e "s|(setq load-path (cons (quote 
\"/usr/$(get_libdir)/fricas/emacs\") load-path)) ||" \
+   -i "${D}"/usr/bin/efricas \
+   || die "sed efricas failed"
+   elisp-install ${PN} "${D}"/usr/$(get_libdir)/${PN}/emacs/*.el
+   elisp-make-site-file 64${PN}-gentoo.el
+   else
+   rm "${D}"/usr/bin/efricas || die "rm efricas failed"
+   fi
+   rm -r "${D}"/usr/$(get_libdir)/${PN}/emacs || die "rm -r emacs failed"
+}
+
+pkg_postinst() {
+   use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+   use emacs && elisp-site-regen
+}



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

2023-07-11 Thread Ulrich Müller
commit: 4c6412ecf83a0465531c65b115b0e3ff8d875296
Author: Ulrich Müller  gentoo  org>
AuthorDate: Tue Jul 11 17:39:50 2023 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Tue Jul 11 17:39:50 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c6412ec

sci-mathematics/fricas: update HOMEPAGE, SRC_URI

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

 sci-mathematics/fricas/Manifest| 2 +-
 sci-mathematics/fricas/fricas-1.3.9.ebuild | 5 +++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/sci-mathematics/fricas/Manifest b/sci-mathematics/fricas/Manifest
index f880d5c7a0bf..dde68418c933 100644
--- a/sci-mathematics/fricas/Manifest
+++ b/sci-mathematics/fricas/Manifest
@@ -1,2 +1,2 @@
 DIST fricas-1.3.8-full.tar.bz2 10878913 BLAKE2B 
214eecd430a2b758a10d985f512f3c79f6b12de35bc29e8f0a3fd296fe871b2e9a6b362060cbeec317dc355bd3c661fcab44087feeaa092fe6afcdebd0fb94a8
 SHA512 
330554f9dc36b47451195e3dee88fe26a80ab2bf9b6750d651cd53c5ba16b9c9736176936c7c69e699685be25aa62b6a099ed7340913e946a4f5e53579835dbb
-DIST fricas-1.3.9.full.tar.bz2 10949173 BLAKE2B 
c535d2a384fa55db53b6901d3ba5d1cc8eca35ccf67a2664f934da427a808b5adc7a5522b935f5dcff89795c0ca5816818d9cf37399b6f9bdc63cfe4d622a7c3
 SHA512 
9cfcb8bad52550a46216509154d5c06dac23625bc14d504a1febbea7ff771fd3172f91c2824df51375b8d85adc19959a5cbbfa2b77a0095ca37e8a4d4b8cc405
+DIST fricas-1.3.9-full.tar.bz2 10949173 BLAKE2B 
c535d2a384fa55db53b6901d3ba5d1cc8eca35ccf67a2664f934da427a808b5adc7a5522b935f5dcff89795c0ca5816818d9cf37399b6f9bdc63cfe4d622a7c3
 SHA512 
9cfcb8bad52550a46216509154d5c06dac23625bc14d504a1febbea7ff771fd3172f91c2824df51375b8d85adc19959a5cbbfa2b77a0095ca37e8a4d4b8cc405

diff --git a/sci-mathematics/fricas/fricas-1.3.9.ebuild 
b/sci-mathematics/fricas/fricas-1.3.9.ebuild
index e3004457c1e1..7d21f5311d26 100644
--- a/sci-mathematics/fricas/fricas-1.3.9.ebuild
+++ b/sci-mathematics/fricas/fricas-1.3.9.ebuild
@@ -5,10 +5,11 @@ EAPI=8
 inherit elisp-common
 
 DESCRIPTION="FriCAS is a fork of Axiom computer algebra system"
-HOMEPAGE="http://fricas.sourceforge.net/
+HOMEPAGE="https://fricas.sourceforge.net/
https://github.com/fricas/fricas
https://fricas.github.io/";
-SRC_URI="mirror://sourceforge/${PN}/${PV}/${P}.full.tar.bz2"
+SRC_URI="mirror://sourceforge/${PN}/${PV}/${P}-full.tar.bz2"
+
 LICENSE="BSD-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"



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

2023-07-08 Thread Andrey Grozin
commit: 0eb5f79cd03d0aa4da0f7edd2ae62af3887429c3
Author: Andrey Grozin  gentoo  org>
AuthorDate: Sun Jul  9 04:48:30 2023 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Sun Jul  9 04:48:54 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0eb5f79c

sci-mathematics/fricas: bump to 1.3.9

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

 sci-mathematics/fricas/Manifest|   1 +
 sci-mathematics/fricas/fricas-1.3.9.ebuild | 110 +
 sci-mathematics/fricas/metadata.xml|   1 +
 3 files changed, 112 insertions(+)

diff --git a/sci-mathematics/fricas/Manifest b/sci-mathematics/fricas/Manifest
index 276c12bbc607..f880d5c7a0bf 100644
--- a/sci-mathematics/fricas/Manifest
+++ b/sci-mathematics/fricas/Manifest
@@ -1 +1,2 @@
 DIST fricas-1.3.8-full.tar.bz2 10878913 BLAKE2B 
214eecd430a2b758a10d985f512f3c79f6b12de35bc29e8f0a3fd296fe871b2e9a6b362060cbeec317dc355bd3c661fcab44087feeaa092fe6afcdebd0fb94a8
 SHA512 
330554f9dc36b47451195e3dee88fe26a80ab2bf9b6750d651cd53c5ba16b9c9736176936c7c69e699685be25aa62b6a099ed7340913e946a4f5e53579835dbb
+DIST fricas-1.3.9.full.tar.bz2 10949173 BLAKE2B 
c535d2a384fa55db53b6901d3ba5d1cc8eca35ccf67a2664f934da427a808b5adc7a5522b935f5dcff89795c0ca5816818d9cf37399b6f9bdc63cfe4d622a7c3
 SHA512 
9cfcb8bad52550a46216509154d5c06dac23625bc14d504a1febbea7ff771fd3172f91c2824df51375b8d85adc19959a5cbbfa2b77a0095ca37e8a4d4b8cc405

diff --git a/sci-mathematics/fricas/fricas-1.3.9.ebuild 
b/sci-mathematics/fricas/fricas-1.3.9.ebuild
new file mode 100644
index ..e3004457c1e1
--- /dev/null
+++ b/sci-mathematics/fricas/fricas-1.3.9.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit elisp-common
+
+DESCRIPTION="FriCAS is a fork of Axiom computer algebra system"
+HOMEPAGE="http://fricas.sourceforge.net/
+   https://github.com/fricas/fricas
+   https://fricas.github.io/";
+SRC_URI="mirror://sourceforge/${PN}/${PV}/${P}.full.tar.bz2"
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+# Supported lisps, number 0 is the default
+LISPS=( sbcl cmucl gcl ecls clisp clozurecl )
+# Version restrictions, . means no restrictions
+REST=(  .. .   .. . )
+# command name: . means just ${LISP}
+COMS=(  .lisp  .   ecl  . ccl )
+
+IUSE="${LISPS[*]} X emacs gmp"
+RDEPEND="X? ( x11-libs/libXpm x11-libs/libICE )
+   emacs? ( >=app-editors/emacs-23.1:* )
+   gmp? ( dev-libs/gmp:= )"
+
+# Generating lisp deps
+n=${#LISPS[*]}
+for ((n--; n > 0; n--)); do
+   LISP=${LISPS[$n]}
+   if [ "${REST[$n]}" = "." ]; then
+   DEP="dev-lisp/${LISP}"
+   else
+   DEP="${REST[$n]}"
+   fi
+   RDEPEND="${RDEPEND} ${LISP}? ( ${DEP}:= ) !${LISP}? ("
+done
+if [ "${REST[0]}" = "." ]; then
+   DEP="dev-lisp/${LISPS[0]}"
+else
+   DEP="${REST[0]}"
+fi
+RDEPEND="${RDEPEND} ${DEP}:="
+n=${#LISPS[*]}
+for ((n--; n > 0; n--)); do
+   RDEPEND="${RDEPEND} )"
+done
+
+DEPEND="${RDEPEND}"
+
+# necessary for clisp and gcl
+RESTRICT="strip"
+
+src_configure() {
+   local LISP n GMP
+   LISP=sbcl
+   n=${#LISPS[*]}
+   for ((n--; n > 0; n--)); do
+   if use ${LISPS[$n]}; then
+   LISP=${COMS[$n]}
+   if [ "${LISP}" = "." ]; then
+   LISP=${LISPS[$n]}
+   fi
+   fi
+   done
+   einfo "Using lisp: ${LISP}"
+
+   # bug #650788
+   if [[ ${LISP} = sbcl || ${LISP} = ccl ]]
+   then GMP=$(use_with gmp)
+   else GMP=''
+   fi
+
+   # aldor is not yet in portage
+   econf --disable-aldor --with-lisp=${LISP} $(use_with X x) ${GMP}
+}
+
+src_compile() {
+   # bug #300132
+   emake -j1
+}
+
+src_test() {
+   emake -j1 all-input
+}
+
+src_install() {
+   emake -j1 DESTDIR="${D}" install
+   dodoc README.rst FAQ
+
+   if use emacs; then
+   sed -e "s|(setq load-path (cons (quote 
\"/usr/$(get_libdir)/fricas/emacs\") load-path)) ||" \
+   -i "${D}"/usr/bin/efricas \
+   || die "sed efricas failed"
+   elisp-install ${PN} "${D}"/usr/$(get_libdir)/${PN}/emacs/*.el
+   elisp-make-site-file 64${PN}-gentoo.el
+   else
+   rm "${D}"/usr/bin/efricas || die "rm efricas failed"
+   fi
+   rm -r "${D}"/usr/$(get_libdir)/${PN}/emacs || die "rm -r emacs failed"
+}
+
+pkg_postinst() {
+   use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+   use emacs && elisp-site-regen
+}

diff --git a/sci-mathematics/fricas/metadata.xml 
b/sci-mathematics/fricas/metadata.xml
index c17dd82db612..5f547acf8a41 100644
--- a/sci-mathematics/fricas/metadata.xml
+++ b/sci-mathematics/fricas/metadata.xml
@@ -25,5 +25,6 @@
   
   
 fricas
+fricas/fricas
   
 



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

2023-07-03 Thread Ulrich Müller
commit: 6ebe64d48c6d20fbd51ffd411742d8325803a700
Author: Ulrich Müller  gentoo  org>
AuthorDate: Thu Jun 29 17:26:27 2023 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Mon Jul  3 17:50:48 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ebe64d4

sci-mathematics/fricas: Drop trivial Emacs site-init file

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

 sci-mathematics/fricas/files/64fricas-gentoo.el | 2 --
 sci-mathematics/fricas/fricas-1.3.8-r1.ebuild   | 2 +-
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/sci-mathematics/fricas/files/64fricas-gentoo.el 
b/sci-mathematics/fricas/files/64fricas-gentoo.el
deleted file mode 100644
index bc610ea83925..
--- a/sci-mathematics/fricas/files/64fricas-gentoo.el
+++ /dev/null
@@ -1,2 +0,0 @@
-;; site-init for sci-mathematics/fricas
-(add-to-list 'load-path "/usr/share/emacs/site-lisp/fricas")

diff --git a/sci-mathematics/fricas/fricas-1.3.8-r1.ebuild 
b/sci-mathematics/fricas/fricas-1.3.8-r1.ebuild
index 056e10ba687e..d3898d2d8e64 100644
--- a/sci-mathematics/fricas/fricas-1.3.8-r1.ebuild
+++ b/sci-mathematics/fricas/fricas-1.3.8-r1.ebuild
@@ -96,7 +96,7 @@ src_install() {
-i "${D}"/usr/bin/efricas \
|| die "sed efricas failed"
elisp-install ${PN} "${D}"/usr/$(get_libdir)/${PN}/emacs/*.el
-   elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el
+   elisp-make-site-file 64${PN}-gentoo.el
else
rm "${D}"/usr/bin/efricas || die "rm efricas failed"
fi



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

2023-03-27 Thread Andrey Grozin
commit: 5196f502351af4efc6278c817e2d0ec3abd4128a
Author: Andrey Grozin  gentoo  org>
AuthorDate: Mon Mar 27 10:14:53 2023 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Mon Mar 27 10:14:53 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5196f502

sci-mathematics/fricas: remove old

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

 sci-mathematics/fricas/Manifest|   1 -
 sci-mathematics/fricas/fricas-1.3.7.ebuild | 110 -
 sci-mathematics/fricas/fricas-1.3.8.ebuild | 110 -
 3 files changed, 221 deletions(-)

diff --git a/sci-mathematics/fricas/Manifest b/sci-mathematics/fricas/Manifest
index d23c3bae95e9..276c12bbc607 100644
--- a/sci-mathematics/fricas/Manifest
+++ b/sci-mathematics/fricas/Manifest
@@ -1,2 +1 @@
-DIST fricas-1.3.7-full.tar.bz2 38008318 BLAKE2B 
079a0e2739c0f28c7fb76681e9562802cd7d6f16a0a0bcd8310bb11a6678b2aeabca9cc8effdf81d9464742bf4a20d07845f870717326afbd87feb48fe408493
 SHA512 
fd3742eb56c279adcdbae62a8eb5843781d0da4318f1b6e55310a9ac243c712b24fef214414c8d656b222be890ec4d9d30ad243b77b8eeaeea95e0ae3dda890a
 DIST fricas-1.3.8-full.tar.bz2 10878913 BLAKE2B 
214eecd430a2b758a10d985f512f3c79f6b12de35bc29e8f0a3fd296fe871b2e9a6b362060cbeec317dc355bd3c661fcab44087feeaa092fe6afcdebd0fb94a8
 SHA512 
330554f9dc36b47451195e3dee88fe26a80ab2bf9b6750d651cd53c5ba16b9c9736176936c7c69e699685be25aa62b6a099ed7340913e946a4f5e53579835dbb

diff --git a/sci-mathematics/fricas/fricas-1.3.7.ebuild 
b/sci-mathematics/fricas/fricas-1.3.7.ebuild
deleted file mode 100644
index eefad5493a0a..
--- a/sci-mathematics/fricas/fricas-1.3.7.ebuild
+++ /dev/null
@@ -1,110 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit multilib elisp-common
-
-DESCRIPTION="FriCAS is a fork of Axiom computer algebra system"
-HOMEPAGE="http://fricas.sourceforge.net/
-   https://github.com/fricas/fricas
-   https://fricas.github.io/";
-SRC_URI="mirror://sourceforge/${PN}/${P}-full.tar.bz2"
-LICENSE="BSD-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-# Supported lisps, number 0 is the default
-LISPS=( sbcl cmucl gcl ecls clisp clozurecl )
-# Version restrictions, . means no restrictions
-REST=(  .. .   .. . )
-# command name: . means just ${LISP}
-COMS=(  .lisp  .   ecl  . ccl )
-
-IUSE="${LISPS[*]} X emacs gmp"
-RDEPEND="X? ( x11-libs/libXpm x11-libs/libICE )
-   emacs? ( >=app-editors/emacs-23.1:* )
-   gmp? ( dev-libs/gmp:= )"
-
-# Generating lisp deps
-n=${#LISPS[*]}
-for ((n--; n > 0; n--)); do
-   LISP=${LISPS[$n]}
-   if [ "${REST[$n]}" = "." ]; then
-   DEP="dev-lisp/${LISP}"
-   else
-   DEP="${REST[$n]}"
-   fi
-   RDEPEND="${RDEPEND} ${LISP}? ( ${DEP}:= ) !${LISP}? ("
-done
-if [ "${REST[0]}" = "." ]; then
-   DEP="dev-lisp/${LISPS[0]}"
-else
-   DEP="${REST[0]}"
-fi
-RDEPEND="${RDEPEND} ${DEP}:="
-n=${#LISPS[*]}
-for ((n--; n > 0; n--)); do
-   RDEPEND="${RDEPEND} )"
-done
-
-DEPEND="${RDEPEND}"
-
-# necessary for clisp and gcl
-RESTRICT="strip"
-
-src_configure() {
-   local LISP n GMP
-   LISP=sbcl
-   n=${#LISPS[*]}
-   for ((n--; n > 0; n--)); do
-   if use ${LISPS[$n]}; then
-   LISP=${COMS[$n]}
-   if [ "${LISP}" = "." ]; then
-   LISP=${LISPS[$n]}
-   fi
-   fi
-   done
-   einfo "Using lisp: ${LISP}"
-
-   # bug #650788
-   if [[ ${LISP} = sbcl || ${LISP} = ccl ]]
-   then GMP=$(use_with gmp)
-   else GMP=''
-   fi
-
-   # aldor is not yet in portage
-   econf --disable-aldor --with-lisp=${LISP} $(use_with X x) ${GMP}
-}
-
-src_compile() {
-   # bug #300132
-   emake -j1
-}
-
-src_test() {
-   emake -j1 all-input
-}
-
-src_install() {
-   emake -j1 DESTDIR="${D}" install
-   dodoc README.rst FAQ
-
-   if use emacs; then
-   sed -e "s|(setq load-path (cons (quote 
\"/usr/$(get_libdir)/fricas/emacs\") load-path)) ||" \
-   -i "${D}"/usr/bin/efricas \
-   || die "sed efricas failed"
-   elisp-install ${PN} "${D}"/usr/$(get_libdir)/${PN}/emacs/*.el
-   elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el
-   else
-   rm "${D}"/usr/bin/efricas || die "rm efricas failed"
-   fi
-   rm -r "${D}"/usr/$(get_libdir)/${PN}/emacs || die "rm -r emacs failed"
-}
-
-pkg_postinst() {
-   use emacs && elisp-site-regen
-}
-
-pkg_postrm() {
-   use emacs && elisp-site-regen
-}

diff --git a/sci-mathematics/fricas/fricas-1.3.8.ebuild 
b/sci-mathematics/fricas/fricas-1.3.8.ebuild
deleted file mode 100644
index 2d11d0c22808..
--- a/sci-mathematics/fricas/fricas-1.3.8.ebuild
+++ /dev/null
@@ -1,110 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under 

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

2023-03-27 Thread Andrey Grozin
commit: 0bf84e4b0b0d4690bbed0ef6bd6e0fbfe92730dc
Author: Andrey Grozin  gentoo  org>
AuthorDate: Mon Mar 27 10:13:14 2023 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Mon Mar 27 10:13:14 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0bf84e4b

sci-mathematics/fricas: fix building with sbcl-2.3.2

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

 .../fricas/files/fricas-sbcl-2.3.2.patch   |  18 
 sci-mathematics/fricas/fricas-1.3.8-r1.ebuild  | 112 +
 2 files changed, 130 insertions(+)

diff --git a/sci-mathematics/fricas/files/fricas-sbcl-2.3.2.patch 
b/sci-mathematics/fricas/files/fricas-sbcl-2.3.2.patch
new file mode 100644
index ..f5dd949abaa2
--- /dev/null
+++ b/sci-mathematics/fricas/files/fricas-sbcl-2.3.2.patch
@@ -0,0 +1,18 @@
+diff --git a/src/lisp/fricas-package.lisp b/src/lisp/fricas-package.lisp
+index c0dfc4ef5..37e1afc1e 100644
+--- a/src/lisp/fricas-package.lisp
 b/src/lisp/fricas-package.lisp
+@@ -34,7 +34,12 @@
+ #+gcl
+ (shadow "QUIT")
+ 
+-(do-symbols (x "FRICAS-LISP") (export (list x)))
++;;; We use uninterned symbols because at this point we do not
++;;; want to add symbols to FRICAS-LISP
++(let ((#1=#:ls nil))
++(do-symbols (#2=#:el "FRICAS-LISP") (setf #1# (cons #2# #1#)))
++(mapcar (lambda (#3=#:x) (export (list #3#))) #1#)
++)
+ 
+ (export '(quit chdir |getEnv| |getCLArgs| |load_quietly| get-current-directory
+   trim-directory-name pad-directory-name

diff --git a/sci-mathematics/fricas/fricas-1.3.8-r1.ebuild 
b/sci-mathematics/fricas/fricas-1.3.8-r1.ebuild
new file mode 100644
index ..056e10ba687e
--- /dev/null
+++ b/sci-mathematics/fricas/fricas-1.3.8-r1.ebuild
@@ -0,0 +1,112 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit elisp-common
+
+DESCRIPTION="FriCAS is a fork of Axiom computer algebra system"
+HOMEPAGE="http://fricas.sourceforge.net/
+   https://github.com/fricas/fricas
+   https://fricas.github.io/";
+SRC_URI="mirror://sourceforge/${PN}/${P}-full.tar.bz2"
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+# Supported lisps, number 0 is the default
+LISPS=( sbcl cmucl gcl ecls clisp clozurecl )
+# Version restrictions, . means no restrictions
+REST=(  .. .   .. . )
+# command name: . means just ${LISP}
+COMS=(  .lisp  .   ecl  . ccl )
+
+IUSE="${LISPS[*]} X emacs gmp"
+RDEPEND="X? ( x11-libs/libXpm x11-libs/libICE )
+   emacs? ( >=app-editors/emacs-23.1:* )
+   gmp? ( dev-libs/gmp:= )"
+
+# Generating lisp deps
+n=${#LISPS[*]}
+for ((n--; n > 0; n--)); do
+   LISP=${LISPS[$n]}
+   if [ "${REST[$n]}" = "." ]; then
+   DEP="dev-lisp/${LISP}"
+   else
+   DEP="${REST[$n]}"
+   fi
+   RDEPEND="${RDEPEND} ${LISP}? ( ${DEP}:= ) !${LISP}? ("
+done
+if [ "${REST[0]}" = "." ]; then
+   DEP="dev-lisp/${LISPS[0]}"
+else
+   DEP="${REST[0]}"
+fi
+RDEPEND="${RDEPEND} ${DEP}:="
+n=${#LISPS[*]}
+for ((n--; n > 0; n--)); do
+   RDEPEND="${RDEPEND} )"
+done
+
+DEPEND="${RDEPEND}"
+
+# necessary for clisp and gcl
+RESTRICT="strip"
+
+PATCHES=( "${FILESDIR}"/${PN}-sbcl-2.3.2.patch )
+
+src_configure() {
+   local LISP n GMP
+   LISP=sbcl
+   n=${#LISPS[*]}
+   for ((n--; n > 0; n--)); do
+   if use ${LISPS[$n]}; then
+   LISP=${COMS[$n]}
+   if [ "${LISP}" = "." ]; then
+   LISP=${LISPS[$n]}
+   fi
+   fi
+   done
+   einfo "Using lisp: ${LISP}"
+
+   # bug #650788
+   if [[ ${LISP} = sbcl || ${LISP} = ccl ]]
+   then GMP=$(use_with gmp)
+   else GMP=''
+   fi
+
+   # aldor is not yet in portage
+   econf --disable-aldor --with-lisp=${LISP} $(use_with X x) ${GMP}
+}
+
+src_compile() {
+   # bug #300132
+   emake -j1
+}
+
+src_test() {
+   emake -j1 all-input
+}
+
+src_install() {
+   emake -j1 DESTDIR="${D}" install
+   dodoc README.rst FAQ
+
+   if use emacs; then
+   sed -e "s|(setq load-path (cons (quote 
\"/usr/$(get_libdir)/fricas/emacs\") load-path)) ||" \
+   -i "${D}"/usr/bin/efricas \
+   || die "sed efricas failed"
+   elisp-install ${PN} "${D}"/usr/$(get_libdir)/${PN}/emacs/*.el
+   elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el
+   else
+   rm "${D}"/usr/bin/efricas || die "rm efricas failed"
+   fi
+   rm -r "${D}"/usr/$(get_libdir)/${PN}/emacs || die "rm -r emacs failed"
+}
+
+pkg_postinst() {
+   use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+   use emacs && elisp-site-regen
+}



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

2022-06-22 Thread Andrey Grozin
commit: 1fc647f3b4263aa25156e4a7b9c3448e882a4564
Author: Andrey Grozin  gentoo  org>
AuthorDate: Wed Jun 22 15:16:14 2022 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Wed Jun 22 15:16:14 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1fc647f3

sci-mathematics/fricas: remove old version

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

 sci-mathematics/fricas/Manifest|   1 -
 sci-mathematics/fricas/fricas-1.3.6.ebuild | 108 -
 2 files changed, 109 deletions(-)

diff --git a/sci-mathematics/fricas/Manifest b/sci-mathematics/fricas/Manifest
index 51a30643742b..d23c3bae95e9 100644
--- a/sci-mathematics/fricas/Manifest
+++ b/sci-mathematics/fricas/Manifest
@@ -1,3 +1,2 @@
-DIST fricas-1.3.6-full.tar.bz2 10422732 BLAKE2B 
c406907bbd8be66104db0ba52cfb49740a54daa53cbcb5949c4a4f090c7c978e8a5d345988544d4e93219be8c66a4c50b586ce4d99f32f8d020b1f015fe94b76
 SHA512 
5732a9645a15886a14b5778c3b2bd813462693e67ef2cd807742b325edd1ac4c3edbd671e25cc568c20e0a01b82d09defdac0b9eb7e355355461316be29d631c
 DIST fricas-1.3.7-full.tar.bz2 38008318 BLAKE2B 
079a0e2739c0f28c7fb76681e9562802cd7d6f16a0a0bcd8310bb11a6678b2aeabca9cc8effdf81d9464742bf4a20d07845f870717326afbd87feb48fe408493
 SHA512 
fd3742eb56c279adcdbae62a8eb5843781d0da4318f1b6e55310a9ac243c712b24fef214414c8d656b222be890ec4d9d30ad243b77b8eeaeea95e0ae3dda890a
 DIST fricas-1.3.8-full.tar.bz2 10878913 BLAKE2B 
214eecd430a2b758a10d985f512f3c79f6b12de35bc29e8f0a3fd296fe871b2e9a6b362060cbeec317dc355bd3c661fcab44087feeaa092fe6afcdebd0fb94a8
 SHA512 
330554f9dc36b47451195e3dee88fe26a80ab2bf9b6750d651cd53c5ba16b9c9736176936c7c69e699685be25aa62b6a099ed7340913e946a4f5e53579835dbb

diff --git a/sci-mathematics/fricas/fricas-1.3.6.ebuild 
b/sci-mathematics/fricas/fricas-1.3.6.ebuild
deleted file mode 100644
index e71afee95ae3..
--- a/sci-mathematics/fricas/fricas-1.3.6.ebuild
+++ /dev/null
@@ -1,108 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit multilib elisp-common
-
-DESCRIPTION="FriCAS is a fork of Axiom computer algebra system"
-HOMEPAGE="http://fricas.sourceforge.net/";
-SRC_URI="mirror://sourceforge/${PN}/${P}-full.tar.bz2"
-LICENSE="BSD-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-# Supported lisps, number 0 is the default
-LISPS=( sbcl cmucl gcl ecls clisp clozurecl )
-# Version restrictions, . means no restrictions
-REST=(  .. .   .. . )
-# command name: . means just ${LISP}
-COMS=(  .lisp  .   ecl  . ccl )
-
-IUSE="${LISPS[*]} X emacs gmp"
-RDEPEND="X? ( x11-libs/libXpm x11-libs/libICE )
-   emacs? ( >=app-editors/emacs-23.1:* )
-   gmp? ( dev-libs/gmp:= )"
-
-# Generating lisp deps
-n=${#LISPS[*]}
-for ((n--; n > 0; n--)); do
-   LISP=${LISPS[$n]}
-   if [ "${REST[$n]}" = "." ]; then
-   DEP="dev-lisp/${LISP}"
-   else
-   DEP="${REST[$n]}"
-   fi
-   RDEPEND="${RDEPEND} ${LISP}? ( ${DEP}:= ) !${LISP}? ("
-done
-if [ "${REST[0]}" = "." ]; then
-   DEP="dev-lisp/${LISPS[0]}"
-else
-   DEP="${REST[0]}"
-fi
-RDEPEND="${RDEPEND} ${DEP}:="
-n=${#LISPS[*]}
-for ((n--; n > 0; n--)); do
-   RDEPEND="${RDEPEND} )"
-done
-
-DEPEND="${RDEPEND}"
-
-# necessary for clisp and gcl
-RESTRICT="strip"
-
-src_configure() {
-   local LISP n GMP
-   LISP=sbcl
-   n=${#LISPS[*]}
-   for ((n--; n > 0; n--)); do
-   if use ${LISPS[$n]}; then
-   LISP=${COMS[$n]}
-   if [ "${LISP}" = "." ]; then
-   LISP=${LISPS[$n]}
-   fi
-   fi
-   done
-   einfo "Using lisp: ${LISP}"
-
-   # bug #650788
-   if [[ ${LISP} = sbcl || ${LISP} = ccl ]]
-   then GMP=$(use_with gmp)
-   else GMP=''
-   fi
-
-   # aldor is not yet in portage
-   econf --disable-aldor --with-lisp=${LISP} $(use_with X x) ${GMP}
-}
-
-src_compile() {
-   # bug #300132
-   emake -j1
-}
-
-src_test() {
-   emake -j1 all-input
-}
-
-src_install() {
-   emake -j1 DESTDIR="${D}" install
-   dodoc README FAQ
-
-   if use emacs; then
-   sed -e "s|(setq load-path (cons (quote 
\"/usr/$(get_libdir)/fricas/emacs\") load-path)) ||" \
-   -i "${D}"/usr/bin/efricas \
-   || die "sed efricas failed"
-   elisp-install ${PN} "${D}"/usr/$(get_libdir)/${PN}/emacs/*.el
-   elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el
-   else
-   rm "${D}"/usr/bin/efricas || die "rm efricas failed"
-   fi
-   rm -r "${D}"/usr/$(get_libdir)/${PN}/emacs || die "rm -r emacs failed"
-}
-
-pkg_postinst() {
-   use emacs && elisp-site-regen
-}
-
-pkg_postrm() {
-   use emacs && elisp-site-regen
-}



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

2022-06-22 Thread Andrey Grozin
commit: dd2ec5732c030100f41735ca7c4211e37c406332
Author: Andrey Grozin  gentoo  org>
AuthorDate: Wed Jun 22 15:14:27 2022 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Wed Jun 22 15:14:27 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd2ec573

sci-mathematics/fricas: bump to 1.3.8

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

 sci-mathematics/fricas/Manifest|   1 +
 sci-mathematics/fricas/fricas-1.3.8.ebuild | 110 +
 2 files changed, 111 insertions(+)

diff --git a/sci-mathematics/fricas/Manifest b/sci-mathematics/fricas/Manifest
index b6a551069a71..51a30643742b 100644
--- a/sci-mathematics/fricas/Manifest
+++ b/sci-mathematics/fricas/Manifest
@@ -1,2 +1,3 @@
 DIST fricas-1.3.6-full.tar.bz2 10422732 BLAKE2B 
c406907bbd8be66104db0ba52cfb49740a54daa53cbcb5949c4a4f090c7c978e8a5d345988544d4e93219be8c66a4c50b586ce4d99f32f8d020b1f015fe94b76
 SHA512 
5732a9645a15886a14b5778c3b2bd813462693e67ef2cd807742b325edd1ac4c3edbd671e25cc568c20e0a01b82d09defdac0b9eb7e355355461316be29d631c
 DIST fricas-1.3.7-full.tar.bz2 38008318 BLAKE2B 
079a0e2739c0f28c7fb76681e9562802cd7d6f16a0a0bcd8310bb11a6678b2aeabca9cc8effdf81d9464742bf4a20d07845f870717326afbd87feb48fe408493
 SHA512 
fd3742eb56c279adcdbae62a8eb5843781d0da4318f1b6e55310a9ac243c712b24fef214414c8d656b222be890ec4d9d30ad243b77b8eeaeea95e0ae3dda890a
+DIST fricas-1.3.8-full.tar.bz2 10878913 BLAKE2B 
214eecd430a2b758a10d985f512f3c79f6b12de35bc29e8f0a3fd296fe871b2e9a6b362060cbeec317dc355bd3c661fcab44087feeaa092fe6afcdebd0fb94a8
 SHA512 
330554f9dc36b47451195e3dee88fe26a80ab2bf9b6750d651cd53c5ba16b9c9736176936c7c69e699685be25aa62b6a099ed7340913e946a4f5e53579835dbb

diff --git a/sci-mathematics/fricas/fricas-1.3.8.ebuild 
b/sci-mathematics/fricas/fricas-1.3.8.ebuild
new file mode 100644
index ..2d11d0c22808
--- /dev/null
+++ b/sci-mathematics/fricas/fricas-1.3.8.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit elisp-common
+
+DESCRIPTION="FriCAS is a fork of Axiom computer algebra system"
+HOMEPAGE="http://fricas.sourceforge.net/
+   https://github.com/fricas/fricas
+   https://fricas.github.io/";
+SRC_URI="mirror://sourceforge/${PN}/${P}-full.tar.bz2"
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+# Supported lisps, number 0 is the default
+LISPS=( sbcl cmucl gcl ecls clisp clozurecl )
+# Version restrictions, . means no restrictions
+REST=(  .. .   .. . )
+# command name: . means just ${LISP}
+COMS=(  .lisp  .   ecl  . ccl )
+
+IUSE="${LISPS[*]} X emacs gmp"
+RDEPEND="X? ( x11-libs/libXpm x11-libs/libICE )
+   emacs? ( >=app-editors/emacs-23.1:* )
+   gmp? ( dev-libs/gmp:= )"
+
+# Generating lisp deps
+n=${#LISPS[*]}
+for ((n--; n > 0; n--)); do
+   LISP=${LISPS[$n]}
+   if [ "${REST[$n]}" = "." ]; then
+   DEP="dev-lisp/${LISP}"
+   else
+   DEP="${REST[$n]}"
+   fi
+   RDEPEND="${RDEPEND} ${LISP}? ( ${DEP}:= ) !${LISP}? ("
+done
+if [ "${REST[0]}" = "." ]; then
+   DEP="dev-lisp/${LISPS[0]}"
+else
+   DEP="${REST[0]}"
+fi
+RDEPEND="${RDEPEND} ${DEP}:="
+n=${#LISPS[*]}
+for ((n--; n > 0; n--)); do
+   RDEPEND="${RDEPEND} )"
+done
+
+DEPEND="${RDEPEND}"
+
+# necessary for clisp and gcl
+RESTRICT="strip"
+
+src_configure() {
+   local LISP n GMP
+   LISP=sbcl
+   n=${#LISPS[*]}
+   for ((n--; n > 0; n--)); do
+   if use ${LISPS[$n]}; then
+   LISP=${COMS[$n]}
+   if [ "${LISP}" = "." ]; then
+   LISP=${LISPS[$n]}
+   fi
+   fi
+   done
+   einfo "Using lisp: ${LISP}"
+
+   # bug #650788
+   if [[ ${LISP} = sbcl || ${LISP} = ccl ]]
+   then GMP=$(use_with gmp)
+   else GMP=''
+   fi
+
+   # aldor is not yet in portage
+   econf --disable-aldor --with-lisp=${LISP} $(use_with X x) ${GMP}
+}
+
+src_compile() {
+   # bug #300132
+   emake -j1
+}
+
+src_test() {
+   emake -j1 all-input
+}
+
+src_install() {
+   emake -j1 DESTDIR="${D}" install
+   dodoc README.rst FAQ
+
+   if use emacs; then
+   sed -e "s|(setq load-path (cons (quote 
\"/usr/$(get_libdir)/fricas/emacs\") load-path)) ||" \
+   -i "${D}"/usr/bin/efricas \
+   || die "sed efricas failed"
+   elisp-install ${PN} "${D}"/usr/$(get_libdir)/${PN}/emacs/*.el
+   elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el
+   else
+   rm "${D}"/usr/bin/efricas || die "rm efricas failed"
+   fi
+   rm -r "${D}"/usr/$(get_libdir)/${PN}/emacs || die "rm -r emacs failed"
+}
+
+pkg_postinst() {
+   use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+   use emacs && elisp-site-regen
+}



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

2021-06-25 Thread Andrey Grozin
commit: b9d3e062e433ebc6a6d13f64ceccc3f98d03871e
Author: Andrey Grozin  gentoo  org>
AuthorDate: Fri Jun 25 08:45:08 2021 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Fri Jun 25 08:45:08 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9d3e062

sci-mathematics/fricas: bump to 1.3.7

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

 sci-mathematics/fricas/Manifest|   1 +
 sci-mathematics/fricas/fricas-1.3.7.ebuild | 110 +
 2 files changed, 111 insertions(+)

diff --git a/sci-mathematics/fricas/Manifest b/sci-mathematics/fricas/Manifest
index 7e6fb084499..b6a551069a7 100644
--- a/sci-mathematics/fricas/Manifest
+++ b/sci-mathematics/fricas/Manifest
@@ -1 +1,2 @@
 DIST fricas-1.3.6-full.tar.bz2 10422732 BLAKE2B 
c406907bbd8be66104db0ba52cfb49740a54daa53cbcb5949c4a4f090c7c978e8a5d345988544d4e93219be8c66a4c50b586ce4d99f32f8d020b1f015fe94b76
 SHA512 
5732a9645a15886a14b5778c3b2bd813462693e67ef2cd807742b325edd1ac4c3edbd671e25cc568c20e0a01b82d09defdac0b9eb7e355355461316be29d631c
+DIST fricas-1.3.7-full.tar.bz2 38008318 BLAKE2B 
079a0e2739c0f28c7fb76681e9562802cd7d6f16a0a0bcd8310bb11a6678b2aeabca9cc8effdf81d9464742bf4a20d07845f870717326afbd87feb48fe408493
 SHA512 
fd3742eb56c279adcdbae62a8eb5843781d0da4318f1b6e55310a9ac243c712b24fef214414c8d656b222be890ec4d9d30ad243b77b8eeaeea95e0ae3dda890a

diff --git a/sci-mathematics/fricas/fricas-1.3.7.ebuild 
b/sci-mathematics/fricas/fricas-1.3.7.ebuild
new file mode 100644
index 000..eefad5493a0
--- /dev/null
+++ b/sci-mathematics/fricas/fricas-1.3.7.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit multilib elisp-common
+
+DESCRIPTION="FriCAS is a fork of Axiom computer algebra system"
+HOMEPAGE="http://fricas.sourceforge.net/
+   https://github.com/fricas/fricas
+   https://fricas.github.io/";
+SRC_URI="mirror://sourceforge/${PN}/${P}-full.tar.bz2"
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+# Supported lisps, number 0 is the default
+LISPS=( sbcl cmucl gcl ecls clisp clozurecl )
+# Version restrictions, . means no restrictions
+REST=(  .. .   .. . )
+# command name: . means just ${LISP}
+COMS=(  .lisp  .   ecl  . ccl )
+
+IUSE="${LISPS[*]} X emacs gmp"
+RDEPEND="X? ( x11-libs/libXpm x11-libs/libICE )
+   emacs? ( >=app-editors/emacs-23.1:* )
+   gmp? ( dev-libs/gmp:= )"
+
+# Generating lisp deps
+n=${#LISPS[*]}
+for ((n--; n > 0; n--)); do
+   LISP=${LISPS[$n]}
+   if [ "${REST[$n]}" = "." ]; then
+   DEP="dev-lisp/${LISP}"
+   else
+   DEP="${REST[$n]}"
+   fi
+   RDEPEND="${RDEPEND} ${LISP}? ( ${DEP}:= ) !${LISP}? ("
+done
+if [ "${REST[0]}" = "." ]; then
+   DEP="dev-lisp/${LISPS[0]}"
+else
+   DEP="${REST[0]}"
+fi
+RDEPEND="${RDEPEND} ${DEP}:="
+n=${#LISPS[*]}
+for ((n--; n > 0; n--)); do
+   RDEPEND="${RDEPEND} )"
+done
+
+DEPEND="${RDEPEND}"
+
+# necessary for clisp and gcl
+RESTRICT="strip"
+
+src_configure() {
+   local LISP n GMP
+   LISP=sbcl
+   n=${#LISPS[*]}
+   for ((n--; n > 0; n--)); do
+   if use ${LISPS[$n]}; then
+   LISP=${COMS[$n]}
+   if [ "${LISP}" = "." ]; then
+   LISP=${LISPS[$n]}
+   fi
+   fi
+   done
+   einfo "Using lisp: ${LISP}"
+
+   # bug #650788
+   if [[ ${LISP} = sbcl || ${LISP} = ccl ]]
+   then GMP=$(use_with gmp)
+   else GMP=''
+   fi
+
+   # aldor is not yet in portage
+   econf --disable-aldor --with-lisp=${LISP} $(use_with X x) ${GMP}
+}
+
+src_compile() {
+   # bug #300132
+   emake -j1
+}
+
+src_test() {
+   emake -j1 all-input
+}
+
+src_install() {
+   emake -j1 DESTDIR="${D}" install
+   dodoc README.rst FAQ
+
+   if use emacs; then
+   sed -e "s|(setq load-path (cons (quote 
\"/usr/$(get_libdir)/fricas/emacs\") load-path)) ||" \
+   -i "${D}"/usr/bin/efricas \
+   || die "sed efricas failed"
+   elisp-install ${PN} "${D}"/usr/$(get_libdir)/${PN}/emacs/*.el
+   elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el
+   else
+   rm "${D}"/usr/bin/efricas || die "rm efricas failed"
+   fi
+   rm -r "${D}"/usr/$(get_libdir)/${PN}/emacs || die "rm -r emacs failed"
+}
+
+pkg_postinst() {
+   use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+   use emacs && elisp-site-regen
+}



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

2020-03-10 Thread Andrey Grozin
commit: 0e34851a2878891d47ba387944ce4263954137d3
Author: Andrey Grozin  gentoo  org>
AuthorDate: Tue Mar 10 14:59:20 2020 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Tue Mar 10 14:59:20 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e34851a

sci-mathematics/fricas: bump to 1.3.6

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

 sci-mathematics/fricas/Manifest|   1 +
 sci-mathematics/fricas/fricas-1.3.6.ebuild | 108 +
 2 files changed, 109 insertions(+)

diff --git a/sci-mathematics/fricas/Manifest b/sci-mathematics/fricas/Manifest
index 4b47a405ff4..6166377ba81 100644
--- a/sci-mathematics/fricas/Manifest
+++ b/sci-mathematics/fricas/Manifest
@@ -1,2 +1,3 @@
 DIST fricas-1.3.4-full.tar.bz2 10381144 BLAKE2B 
caff50ef2b2d8e9ef76448c265316ac8878010c505f9d871aa5579210ab2de3915f56a44687d3f96aba1f857efc8b3ec182b9b6c5c390e38dbdaf7cdba188dcc
 SHA512 
efee0d8a05979c806182e9e45f81b56037d1a660909971d6b94af1f97732cfb7b689709d8af4229b7f649506860b1ed915dd5afb91378f4c9d8a6e960a248170
 DIST fricas-1.3.5-full.tar.bz2 10477848 BLAKE2B 
2431e6dacbe1fc9069baa4335876809ee334b677d3d1bd9ddfbb6c23f6bdaaf2307ec994956c736d9dbbe07915cb1e51a235ef58d6307bdd239dca1c19d65552
 SHA512 
b800a9b3793506e49a4c5a63bd12a20f00b183d00ed9bd0061865f6cea39b05c026975458dcb3bb7da652fb75b3ce6417bbe1c16312da08cd6a366428ae9eaf9
+DIST fricas-1.3.6-full.tar.bz2 10422732 BLAKE2B 
c406907bbd8be66104db0ba52cfb49740a54daa53cbcb5949c4a4f090c7c978e8a5d345988544d4e93219be8c66a4c50b586ce4d99f32f8d020b1f015fe94b76
 SHA512 
5732a9645a15886a14b5778c3b2bd813462693e67ef2cd807742b325edd1ac4c3edbd671e25cc568c20e0a01b82d09defdac0b9eb7e355355461316be29d631c

diff --git a/sci-mathematics/fricas/fricas-1.3.6.ebuild 
b/sci-mathematics/fricas/fricas-1.3.6.ebuild
new file mode 100644
index 000..e71afee95ae
--- /dev/null
+++ b/sci-mathematics/fricas/fricas-1.3.6.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit multilib elisp-common
+
+DESCRIPTION="FriCAS is a fork of Axiom computer algebra system"
+HOMEPAGE="http://fricas.sourceforge.net/";
+SRC_URI="mirror://sourceforge/${PN}/${P}-full.tar.bz2"
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+# Supported lisps, number 0 is the default
+LISPS=( sbcl cmucl gcl ecls clisp clozurecl )
+# Version restrictions, . means no restrictions
+REST=(  .. .   .. . )
+# command name: . means just ${LISP}
+COMS=(  .lisp  .   ecl  . ccl )
+
+IUSE="${LISPS[*]} X emacs gmp"
+RDEPEND="X? ( x11-libs/libXpm x11-libs/libICE )
+   emacs? ( >=app-editors/emacs-23.1:* )
+   gmp? ( dev-libs/gmp:= )"
+
+# Generating lisp deps
+n=${#LISPS[*]}
+for ((n--; n > 0; n--)); do
+   LISP=${LISPS[$n]}
+   if [ "${REST[$n]}" = "." ]; then
+   DEP="dev-lisp/${LISP}"
+   else
+   DEP="${REST[$n]}"
+   fi
+   RDEPEND="${RDEPEND} ${LISP}? ( ${DEP}:= ) !${LISP}? ("
+done
+if [ "${REST[0]}" = "." ]; then
+   DEP="dev-lisp/${LISPS[0]}"
+else
+   DEP="${REST[0]}"
+fi
+RDEPEND="${RDEPEND} ${DEP}:="
+n=${#LISPS[*]}
+for ((n--; n > 0; n--)); do
+   RDEPEND="${RDEPEND} )"
+done
+
+DEPEND="${RDEPEND}"
+
+# necessary for clisp and gcl
+RESTRICT="strip"
+
+src_configure() {
+   local LISP n GMP
+   LISP=sbcl
+   n=${#LISPS[*]}
+   for ((n--; n > 0; n--)); do
+   if use ${LISPS[$n]}; then
+   LISP=${COMS[$n]}
+   if [ "${LISP}" = "." ]; then
+   LISP=${LISPS[$n]}
+   fi
+   fi
+   done
+   einfo "Using lisp: ${LISP}"
+
+   # bug #650788
+   if [[ ${LISP} = sbcl || ${LISP} = ccl ]]
+   then GMP=$(use_with gmp)
+   else GMP=''
+   fi
+
+   # aldor is not yet in portage
+   econf --disable-aldor --with-lisp=${LISP} $(use_with X x) ${GMP}
+}
+
+src_compile() {
+   # bug #300132
+   emake -j1
+}
+
+src_test() {
+   emake -j1 all-input
+}
+
+src_install() {
+   emake -j1 DESTDIR="${D}" install
+   dodoc README FAQ
+
+   if use emacs; then
+   sed -e "s|(setq load-path (cons (quote 
\"/usr/$(get_libdir)/fricas/emacs\") load-path)) ||" \
+   -i "${D}"/usr/bin/efricas \
+   || die "sed efricas failed"
+   elisp-install ${PN} "${D}"/usr/$(get_libdir)/${PN}/emacs/*.el
+   elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el
+   else
+   rm "${D}"/usr/bin/efricas || die "rm efricas failed"
+   fi
+   rm -r "${D}"/usr/$(get_libdir)/${PN}/emacs || die "rm -r emacs failed"
+}
+
+pkg_postinst() {
+   use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+   use emacs && elisp-site-regen
+}



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

2020-01-15 Thread Andrey Grozin
commit: 28114fe6455a9cb85f09df6e429629f48f464661
Author: Andrey Grozin  gentoo  org>
AuthorDate: Wed Jan 15 16:05:35 2020 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Wed Jan 15 16:05:35 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28114fe6

sci-mathematics/fricas: fix HOMEPAGE

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

 sci-mathematics/fricas/fricas-1.3.4.ebuild | 4 ++--
 sci-mathematics/fricas/fricas-1.3.5.ebuild | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sci-mathematics/fricas/fricas-1.3.4.ebuild 
b/sci-mathematics/fricas/fricas-1.3.4.ebuild
index 2ed8ffb542c..31d9696c2d7 100644
--- a/sci-mathematics/fricas/fricas-1.3.4.ebuild
+++ b/sci-mathematics/fricas/fricas-1.3.4.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 inherit multilib elisp-common
 
 DESCRIPTION="FriCAS is a fork of Axiom computer algebra system"
-HOMEPAGE="http://${PN}.sourceforge.net/";
+HOMEPAGE="http://fricas.sourceforge.net/";
 SRC_URI="mirror://sourceforge/${PN}/${P}-full.tar.bz2"
 LICENSE="BSD-2"
 SLOT="0"

diff --git a/sci-mathematics/fricas/fricas-1.3.5.ebuild 
b/sci-mathematics/fricas/fricas-1.3.5.ebuild
index 2ed8ffb542c..31d9696c2d7 100644
--- a/sci-mathematics/fricas/fricas-1.3.5.ebuild
+++ b/sci-mathematics/fricas/fricas-1.3.5.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 inherit multilib elisp-common
 
 DESCRIPTION="FriCAS is a fork of Axiom computer algebra system"
-HOMEPAGE="http://${PN}.sourceforge.net/";
+HOMEPAGE="http://fricas.sourceforge.net/";
 SRC_URI="mirror://sourceforge/${PN}/${P}-full.tar.bz2"
 LICENSE="BSD-2"
 SLOT="0"



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

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

sci-mathematics/fricas: 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/fricas/fricas-1.3.4.ebuild | 4 ++--
 sci-mathematics/fricas/fricas-1.3.5.ebuild | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sci-mathematics/fricas/fricas-1.3.4.ebuild 
b/sci-mathematics/fricas/fricas-1.3.4.ebuild
index b844cb78f7b..2ed8ffb542c 100644
--- a/sci-mathematics/fricas/fricas-1.3.4.ebuild
+++ b/sci-mathematics/fricas/fricas-1.3.4.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=6
@@ -20,7 +20,7 @@ COMS=(  .lisp  .   ecl  . ccl )
 
 IUSE="${LISPS[*]} X emacs gmp"
 RDEPEND="X? ( x11-libs/libXpm x11-libs/libICE )
-   emacs? ( virtual/emacs )
+   emacs? ( >=app-editors/emacs-23.1:* )
gmp? ( dev-libs/gmp:= )"
 
 # Generating lisp deps

diff --git a/sci-mathematics/fricas/fricas-1.3.5.ebuild 
b/sci-mathematics/fricas/fricas-1.3.5.ebuild
index b9e209804b8..2ed8ffb542c 100644
--- a/sci-mathematics/fricas/fricas-1.3.5.ebuild
+++ b/sci-mathematics/fricas/fricas-1.3.5.ebuild
@@ -20,7 +20,7 @@ COMS=(  .lisp  .   ecl  . ccl )
 
 IUSE="${LISPS[*]} X emacs gmp"
 RDEPEND="X? ( x11-libs/libXpm x11-libs/libICE )
-   emacs? ( virtual/emacs )
+   emacs? ( >=app-editors/emacs-23.1:* )
gmp? ( dev-libs/gmp:= )"
 
 # Generating lisp deps



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

2019-02-04 Thread Andrey Grozin
commit: 74a53c829a3bb8619b12b2abd16479b00d9a0072
Author: Andrey Grozin  gentoo  org>
AuthorDate: Mon Feb  4 13:21:18 2019 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Mon Feb  4 13:21:53 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74a53c82

sci-mathematics/fricas: cleaning old versions

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

 sci-mathematics/fricas/Manifest|   2 -
 sci-mathematics/fricas/fricas-1.3.2.ebuild | 102 ---
 sci-mathematics/fricas/fricas-1.3.3.ebuild | 108 -
 3 files changed, 212 deletions(-)

diff --git a/sci-mathematics/fricas/Manifest b/sci-mathematics/fricas/Manifest
index ba10c2a8e47..4b47a405ff4 100644
--- a/sci-mathematics/fricas/Manifest
+++ b/sci-mathematics/fricas/Manifest
@@ -1,4 +1,2 @@
-DIST fricas-1.3.2-full.tar.bz2 10523665 BLAKE2B 
23de3147177e7c3c75dafa6de0f4f17432f323512aa38aef85e27c8cf1b9e335009870dc608219f0e1c4f53f1790a41b00b915aedd71633459f789cfda9f5244
 SHA512 
679dffbe8a991d4ae3d6667a6163337ffa24d48b9d1d776ba1a39569cb3b9f17e8d484075746b75b7eb6bbe5b9d26af3e526850a19118274988b9e88ad52a679
-DIST fricas-1.3.3-full.tar.bz2 10506559 BLAKE2B 
1a9822f0a94db5c7e7a3e2a52287b475c382caaaf9c5e1830621a17b6634f6f72958f0c81995463d135b4567a74c588f33c88d51a83b0a8749479d65645de4bc
 SHA512 
74ac88ffbbacba33883498a75382ef351003ce8499f6b458367ca0de3041a9bba496693eb90f798945aa6e11c5072137227efa385ee6d8e2051f93dfea6d7fbe
 DIST fricas-1.3.4-full.tar.bz2 10381144 BLAKE2B 
caff50ef2b2d8e9ef76448c265316ac8878010c505f9d871aa5579210ab2de3915f56a44687d3f96aba1f857efc8b3ec182b9b6c5c390e38dbdaf7cdba188dcc
 SHA512 
efee0d8a05979c806182e9e45f81b56037d1a660909971d6b94af1f97732cfb7b689709d8af4229b7f649506860b1ed915dd5afb91378f4c9d8a6e960a248170
 DIST fricas-1.3.5-full.tar.bz2 10477848 BLAKE2B 
2431e6dacbe1fc9069baa4335876809ee334b677d3d1bd9ddfbb6c23f6bdaaf2307ec994956c736d9dbbe07915cb1e51a235ef58d6307bdd239dca1c19d65552
 SHA512 
b800a9b3793506e49a4c5a63bd12a20f00b183d00ed9bd0061865f6cea39b05c026975458dcb3bb7da652fb75b3ce6417bbe1c16312da08cd6a366428ae9eaf9

diff --git a/sci-mathematics/fricas/fricas-1.3.2.ebuild 
b/sci-mathematics/fricas/fricas-1.3.2.ebuild
deleted file mode 100644
index 7006655bdef..000
--- a/sci-mathematics/fricas/fricas-1.3.2.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit multilib elisp-common
-
-DESCRIPTION="FriCAS is a fork of Axiom computer algebra system"
-HOMEPAGE="http://${PN}.sourceforge.net/";
-SRC_URI="mirror://sourceforge/${PN}/${P}-full.tar.bz2"
-LICENSE="BSD-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-# Supported lisps, number 0 is the default
-LISPS=( sbcl cmucl gcl ecls clisp clozurecl )
-# Version restrictions, . means no restrictions
-REST=(  .. .   .. . )
-# command name: . means just ${LISP}
-COMS=(  .lisp  .   ecl  . ccl )
-
-IUSE="${LISPS[*]} X emacs gmp"
-RDEPEND="X? ( x11-libs/libXpm x11-libs/libICE )
-   emacs? ( virtual/emacs )
-   gmp? ( dev-libs/gmp:= )"
-
-# Generating lisp deps
-n=${#LISPS[*]}
-for ((n--; n > 0; n--)); do
-   LISP=${LISPS[$n]}
-   if [ "${REST[$n]}" = "." ]; then
-   DEP="dev-lisp/${LISP}"
-   else
-   DEP="${REST[$n]}"
-   fi
-   RDEPEND="${RDEPEND} ${LISP}? ( ${DEP}:= ) !${LISP}? ("
-done
-if [ "${REST[0]}" = "." ]; then
-   DEP="dev-lisp/${LISPS[0]}"
-else
-   DEP="${REST[0]}"
-fi
-RDEPEND="${RDEPEND} ${DEP}:="
-n=${#LISPS[*]}
-for ((n--; n > 0; n--)); do
-   RDEPEND="${RDEPEND} )"
-done
-
-DEPEND="${RDEPEND}"
-
-# necessary for clisp and gcl
-RESTRICT="strip"
-
-src_configure() {
-   local LISP n
-   LISP=sbcl
-   n=${#LISPS[*]}
-   for ((n--; n > 0; n--)); do
-   if use ${LISPS[$n]}; then
-   LISP=${COMS[$n]}
-   if [ "${LISP}" = "." ]; then
-   LISP=${LISPS[$n]}
-   fi
-   fi
-   done
-   einfo "Using lisp: ${LISP}"
-
-   # aldor is not yet in portage
-   econf --disable-aldor --with-lisp=${LISP} $(use_with X x) $(use_with 
gmp)
-}
-
-src_compile() {
-   # bug #300132
-   emake -j1
-}
-
-src_test() {
-   emake -j1 all-input
-}
-
-src_install() {
-   emake -j1 DESTDIR="${D}" install
-   dodoc README FAQ
-
-   if use emacs; then
-   sed -e "s|(setq load-path (cons (quote 
\"/usr/$(get_libdir)/fricas/emacs\") load-path)) ||" \
-   -i "${D}"/usr/bin/efricas \
-   || die "sed efricas failed"
-   elisp-install ${PN} "${D}"/usr/$(get_libdir)/${PN}/emacs/*.el
-   elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el
-   else
-   rm "${D}"/usr/bin/efricas || die "rm efricas failed"
-   fi
-   rm -r "${D}"/usr/$(get_libd

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

2019-02-04 Thread Andrey Grozin
commit: cd64bac1b5b99ceb439883ce13b69aba9084a4c0
Author: Andrey Grozin  gentoo  org>
AuthorDate: Mon Feb  4 13:19:23 2019 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Mon Feb  4 13:19:23 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd64bac1

sci-mathematics/fricas: bump to 1.3.5

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

 sci-mathematics/fricas/Manifest|   1 +
 sci-mathematics/fricas/fricas-1.3.5.ebuild | 108 +
 2 files changed, 109 insertions(+)

diff --git a/sci-mathematics/fricas/Manifest b/sci-mathematics/fricas/Manifest
index 87e485c0458..ba10c2a8e47 100644
--- a/sci-mathematics/fricas/Manifest
+++ b/sci-mathematics/fricas/Manifest
@@ -1,3 +1,4 @@
 DIST fricas-1.3.2-full.tar.bz2 10523665 BLAKE2B 
23de3147177e7c3c75dafa6de0f4f17432f323512aa38aef85e27c8cf1b9e335009870dc608219f0e1c4f53f1790a41b00b915aedd71633459f789cfda9f5244
 SHA512 
679dffbe8a991d4ae3d6667a6163337ffa24d48b9d1d776ba1a39569cb3b9f17e8d484075746b75b7eb6bbe5b9d26af3e526850a19118274988b9e88ad52a679
 DIST fricas-1.3.3-full.tar.bz2 10506559 BLAKE2B 
1a9822f0a94db5c7e7a3e2a52287b475c382caaaf9c5e1830621a17b6634f6f72958f0c81995463d135b4567a74c588f33c88d51a83b0a8749479d65645de4bc
 SHA512 
74ac88ffbbacba33883498a75382ef351003ce8499f6b458367ca0de3041a9bba496693eb90f798945aa6e11c5072137227efa385ee6d8e2051f93dfea6d7fbe
 DIST fricas-1.3.4-full.tar.bz2 10381144 BLAKE2B 
caff50ef2b2d8e9ef76448c265316ac8878010c505f9d871aa5579210ab2de3915f56a44687d3f96aba1f857efc8b3ec182b9b6c5c390e38dbdaf7cdba188dcc
 SHA512 
efee0d8a05979c806182e9e45f81b56037d1a660909971d6b94af1f97732cfb7b689709d8af4229b7f649506860b1ed915dd5afb91378f4c9d8a6e960a248170
+DIST fricas-1.3.5-full.tar.bz2 10477848 BLAKE2B 
2431e6dacbe1fc9069baa4335876809ee334b677d3d1bd9ddfbb6c23f6bdaaf2307ec994956c736d9dbbe07915cb1e51a235ef58d6307bdd239dca1c19d65552
 SHA512 
b800a9b3793506e49a4c5a63bd12a20f00b183d00ed9bd0061865f6cea39b05c026975458dcb3bb7da652fb75b3ce6417bbe1c16312da08cd6a366428ae9eaf9

diff --git a/sci-mathematics/fricas/fricas-1.3.5.ebuild 
b/sci-mathematics/fricas/fricas-1.3.5.ebuild
new file mode 100644
index 000..b9e209804b8
--- /dev/null
+++ b/sci-mathematics/fricas/fricas-1.3.5.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit multilib elisp-common
+
+DESCRIPTION="FriCAS is a fork of Axiom computer algebra system"
+HOMEPAGE="http://${PN}.sourceforge.net/";
+SRC_URI="mirror://sourceforge/${PN}/${P}-full.tar.bz2"
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+# Supported lisps, number 0 is the default
+LISPS=( sbcl cmucl gcl ecls clisp clozurecl )
+# Version restrictions, . means no restrictions
+REST=(  .. .   .. . )
+# command name: . means just ${LISP}
+COMS=(  .lisp  .   ecl  . ccl )
+
+IUSE="${LISPS[*]} X emacs gmp"
+RDEPEND="X? ( x11-libs/libXpm x11-libs/libICE )
+   emacs? ( virtual/emacs )
+   gmp? ( dev-libs/gmp:= )"
+
+# Generating lisp deps
+n=${#LISPS[*]}
+for ((n--; n > 0; n--)); do
+   LISP=${LISPS[$n]}
+   if [ "${REST[$n]}" = "." ]; then
+   DEP="dev-lisp/${LISP}"
+   else
+   DEP="${REST[$n]}"
+   fi
+   RDEPEND="${RDEPEND} ${LISP}? ( ${DEP}:= ) !${LISP}? ("
+done
+if [ "${REST[0]}" = "." ]; then
+   DEP="dev-lisp/${LISPS[0]}"
+else
+   DEP="${REST[0]}"
+fi
+RDEPEND="${RDEPEND} ${DEP}:="
+n=${#LISPS[*]}
+for ((n--; n > 0; n--)); do
+   RDEPEND="${RDEPEND} )"
+done
+
+DEPEND="${RDEPEND}"
+
+# necessary for clisp and gcl
+RESTRICT="strip"
+
+src_configure() {
+   local LISP n GMP
+   LISP=sbcl
+   n=${#LISPS[*]}
+   for ((n--; n > 0; n--)); do
+   if use ${LISPS[$n]}; then
+   LISP=${COMS[$n]}
+   if [ "${LISP}" = "." ]; then
+   LISP=${LISPS[$n]}
+   fi
+   fi
+   done
+   einfo "Using lisp: ${LISP}"
+
+   # bug #650788
+   if [[ ${LISP} = sbcl || ${LISP} = ccl ]]
+   then GMP=$(use_with gmp)
+   else GMP=''
+   fi
+
+   # aldor is not yet in portage
+   econf --disable-aldor --with-lisp=${LISP} $(use_with X x) ${GMP}
+}
+
+src_compile() {
+   # bug #300132
+   emake -j1
+}
+
+src_test() {
+   emake -j1 all-input
+}
+
+src_install() {
+   emake -j1 DESTDIR="${D}" install
+   dodoc README FAQ
+
+   if use emacs; then
+   sed -e "s|(setq load-path (cons (quote 
\"/usr/$(get_libdir)/fricas/emacs\") load-path)) ||" \
+   -i "${D}"/usr/bin/efricas \
+   || die "sed efricas failed"
+   elisp-install ${PN} "${D}"/usr/$(get_libdir)/${PN}/emacs/*.el
+   elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el
+   else
+   rm "${D}"/usr/bin/efricas || die "rm efricas failed"
+  

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

2018-06-28 Thread Andrey Grozin
commit: 26101fe4944ac2c5972c4ee654bf7c6b99d66786
Author: Andrey Grozin  gentoo  org>
AuthorDate: Thu Jun 28 10:08:28 2018 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Thu Jun 28 10:08:28 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26101fe4

sci-mathematics/fricas: bump to 1.3.4

Package-Manager: Portage-2.3.41, Repoman-2.3.9

 sci-mathematics/fricas/Manifest|   1 +
 sci-mathematics/fricas/fricas-1.3.4.ebuild | 108 +
 2 files changed, 109 insertions(+)

diff --git a/sci-mathematics/fricas/Manifest b/sci-mathematics/fricas/Manifest
index 7a7016d1828..87e485c0458 100644
--- a/sci-mathematics/fricas/Manifest
+++ b/sci-mathematics/fricas/Manifest
@@ -1,2 +1,3 @@
 DIST fricas-1.3.2-full.tar.bz2 10523665 BLAKE2B 
23de3147177e7c3c75dafa6de0f4f17432f323512aa38aef85e27c8cf1b9e335009870dc608219f0e1c4f53f1790a41b00b915aedd71633459f789cfda9f5244
 SHA512 
679dffbe8a991d4ae3d6667a6163337ffa24d48b9d1d776ba1a39569cb3b9f17e8d484075746b75b7eb6bbe5b9d26af3e526850a19118274988b9e88ad52a679
 DIST fricas-1.3.3-full.tar.bz2 10506559 BLAKE2B 
1a9822f0a94db5c7e7a3e2a52287b475c382caaaf9c5e1830621a17b6634f6f72958f0c81995463d135b4567a74c588f33c88d51a83b0a8749479d65645de4bc
 SHA512 
74ac88ffbbacba33883498a75382ef351003ce8499f6b458367ca0de3041a9bba496693eb90f798945aa6e11c5072137227efa385ee6d8e2051f93dfea6d7fbe
+DIST fricas-1.3.4-full.tar.bz2 10381144 BLAKE2B 
caff50ef2b2d8e9ef76448c265316ac8878010c505f9d871aa5579210ab2de3915f56a44687d3f96aba1f857efc8b3ec182b9b6c5c390e38dbdaf7cdba188dcc
 SHA512 
efee0d8a05979c806182e9e45f81b56037d1a660909971d6b94af1f97732cfb7b689709d8af4229b7f649506860b1ed915dd5afb91378f4c9d8a6e960a248170

diff --git a/sci-mathematics/fricas/fricas-1.3.4.ebuild 
b/sci-mathematics/fricas/fricas-1.3.4.ebuild
new file mode 100644
index 000..b844cb78f7b
--- /dev/null
+++ b/sci-mathematics/fricas/fricas-1.3.4.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit multilib elisp-common
+
+DESCRIPTION="FriCAS is a fork of Axiom computer algebra system"
+HOMEPAGE="http://${PN}.sourceforge.net/";
+SRC_URI="mirror://sourceforge/${PN}/${P}-full.tar.bz2"
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+# Supported lisps, number 0 is the default
+LISPS=( sbcl cmucl gcl ecls clisp clozurecl )
+# Version restrictions, . means no restrictions
+REST=(  .. .   .. . )
+# command name: . means just ${LISP}
+COMS=(  .lisp  .   ecl  . ccl )
+
+IUSE="${LISPS[*]} X emacs gmp"
+RDEPEND="X? ( x11-libs/libXpm x11-libs/libICE )
+   emacs? ( virtual/emacs )
+   gmp? ( dev-libs/gmp:= )"
+
+# Generating lisp deps
+n=${#LISPS[*]}
+for ((n--; n > 0; n--)); do
+   LISP=${LISPS[$n]}
+   if [ "${REST[$n]}" = "." ]; then
+   DEP="dev-lisp/${LISP}"
+   else
+   DEP="${REST[$n]}"
+   fi
+   RDEPEND="${RDEPEND} ${LISP}? ( ${DEP}:= ) !${LISP}? ("
+done
+if [ "${REST[0]}" = "." ]; then
+   DEP="dev-lisp/${LISPS[0]}"
+else
+   DEP="${REST[0]}"
+fi
+RDEPEND="${RDEPEND} ${DEP}:="
+n=${#LISPS[*]}
+for ((n--; n > 0; n--)); do
+   RDEPEND="${RDEPEND} )"
+done
+
+DEPEND="${RDEPEND}"
+
+# necessary for clisp and gcl
+RESTRICT="strip"
+
+src_configure() {
+   local LISP n GMP
+   LISP=sbcl
+   n=${#LISPS[*]}
+   for ((n--; n > 0; n--)); do
+   if use ${LISPS[$n]}; then
+   LISP=${COMS[$n]}
+   if [ "${LISP}" = "." ]; then
+   LISP=${LISPS[$n]}
+   fi
+   fi
+   done
+   einfo "Using lisp: ${LISP}"
+
+   # bug #650788
+   if [[ ${LISP} = sbcl || ${LISP} = ccl ]]
+   then GMP=$(use_with gmp)
+   else GMP=''
+   fi
+
+   # aldor is not yet in portage
+   econf --disable-aldor --with-lisp=${LISP} $(use_with X x) ${GMP}
+}
+
+src_compile() {
+   # bug #300132
+   emake -j1
+}
+
+src_test() {
+   emake -j1 all-input
+}
+
+src_install() {
+   emake -j1 DESTDIR="${D}" install
+   dodoc README FAQ
+
+   if use emacs; then
+   sed -e "s|(setq load-path (cons (quote 
\"/usr/$(get_libdir)/fricas/emacs\") load-path)) ||" \
+   -i "${D}"/usr/bin/efricas \
+   || die "sed efricas failed"
+   elisp-install ${PN} "${D}"/usr/$(get_libdir)/${PN}/emacs/*.el
+   elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el
+   else
+   rm "${D}"/usr/bin/efricas || die "rm efricas failed"
+   fi
+   rm -r "${D}"/usr/$(get_libdir)/${PN}/emacs || die "rm -r emacs failed"
+}
+
+pkg_postinst() {
+   use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+   use emacs && elisp-site-regen
+}



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

2018-03-25 Thread Andrey Grozin
commit: 62e21bf1fb7b68552dbfa277d32e124bb4f7a23e
Author: Andrey Grozin  gentoo  org>
AuthorDate: Mon Mar 26 06:28:21 2018 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Mon Mar 26 06:28:21 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62e21bf1

sci-mathematics/fricas: fix configure for lisps other than sbcl and ccl

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

 sci-mathematics/fricas/fricas-1.3.3.ebuild | 10 --
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/sci-mathematics/fricas/fricas-1.3.3.ebuild 
b/sci-mathematics/fricas/fricas-1.3.3.ebuild
index 1be321f3f7b..b844cb78f7b 100644
--- a/sci-mathematics/fricas/fricas-1.3.3.ebuild
+++ b/sci-mathematics/fricas/fricas-1.3.3.ebuild
@@ -51,7 +51,7 @@ DEPEND="${RDEPEND}"
 RESTRICT="strip"
 
 src_configure() {
-   local LISP n
+   local LISP n GMP
LISP=sbcl
n=${#LISPS[*]}
for ((n--; n > 0; n--)); do
@@ -64,8 +64,14 @@ src_configure() {
done
einfo "Using lisp: ${LISP}"
 
+   # bug #650788
+   if [[ ${LISP} = sbcl || ${LISP} = ccl ]]
+   then GMP=$(use_with gmp)
+   else GMP=''
+   fi
+
# aldor is not yet in portage
-   econf --disable-aldor --with-lisp=${LISP} $(use_with X x) $(use_with 
gmp)
+   econf --disable-aldor --with-lisp=${LISP} $(use_with X x) ${GMP}
 }
 
 src_compile() {



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

2018-03-25 Thread Andrey Grozin
commit: 6ebf021d7589479ef62bbaa71f60ad7263cd2457
Author: Andrey Grozin  gentoo  org>
AuthorDate: Mon Mar 26 06:24:05 2018 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Mon Mar 26 06:25:04 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ebf021d

sci-mathematics/fricas: cleaning old

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sci-mathematics/fricas/Manifest   |   2 -
 sci-mathematics/fricas/fricas-1.3.0-r1.ebuild | 102 --
 sci-mathematics/fricas/fricas-1.3.1.ebuild| 102 --
 3 files changed, 206 deletions(-)

diff --git a/sci-mathematics/fricas/Manifest b/sci-mathematics/fricas/Manifest
index 4438d426efa..7a7016d1828 100644
--- a/sci-mathematics/fricas/Manifest
+++ b/sci-mathematics/fricas/Manifest
@@ -1,4 +1,2 @@
-DIST fricas-1.3.0-full.tar.bz2 10459788 BLAKE2B 
93f57290fa17b25688454fba3f54bbc6de7aaf4e336fcd3117011a49a2d8705c3df07f1dd79472f7fe879bc8f2087c65eca6638229156e15b51534c5f054e09b
 SHA512 
fd084c3d3ada76424b0159eff76660872da63c1e25f392d98bc7175b37c05fe23a117587addc89828ff38a368f5161d34febcc269f530710ff7da6b53860653f
-DIST fricas-1.3.1-full.tar.bz2 10522387 BLAKE2B 
c1315bbb30ac94fe2b1b612a053f378f7d044111ba8d0405fd35e80902cd269b515f61d184b025b707b01d74aed26bf093e9af166b8b4f10d50e2ce0357d26b2
 SHA512 
d492686fc03ed704cc015ec0ba250ab7928b637ff6ef8cf1aa924190e7fe22bd63a512074439dbf7ce44dce786d51ad5e27857522a1e21136b4b8d6cf014c486
 DIST fricas-1.3.2-full.tar.bz2 10523665 BLAKE2B 
23de3147177e7c3c75dafa6de0f4f17432f323512aa38aef85e27c8cf1b9e335009870dc608219f0e1c4f53f1790a41b00b915aedd71633459f789cfda9f5244
 SHA512 
679dffbe8a991d4ae3d6667a6163337ffa24d48b9d1d776ba1a39569cb3b9f17e8d484075746b75b7eb6bbe5b9d26af3e526850a19118274988b9e88ad52a679
 DIST fricas-1.3.3-full.tar.bz2 10506559 BLAKE2B 
1a9822f0a94db5c7e7a3e2a52287b475c382caaaf9c5e1830621a17b6634f6f72958f0c81995463d135b4567a74c588f33c88d51a83b0a8749479d65645de4bc
 SHA512 
74ac88ffbbacba33883498a75382ef351003ce8499f6b458367ca0de3041a9bba496693eb90f798945aa6e11c5072137227efa385ee6d8e2051f93dfea6d7fbe

diff --git a/sci-mathematics/fricas/fricas-1.3.0-r1.ebuild 
b/sci-mathematics/fricas/fricas-1.3.0-r1.ebuild
deleted file mode 100644
index 236d30d11c9..000
--- a/sci-mathematics/fricas/fricas-1.3.0-r1.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit multilib elisp-common
-
-DESCRIPTION="FriCAS is a fork of Axiom computer algebra system"
-HOMEPAGE="http://${PN}.sourceforge.net/";
-SRC_URI="mirror://sourceforge/${PN}/${P}-full.tar.bz2"
-LICENSE="BSD-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-# Supported lisps, number 0 is the default
-LISPS=( sbcl cmucl gcl ecls   clisp clozurecl )
-# Version restrictions, . means no restrictions
-REST=( ">=dev-lisp/sbcl-1.3.6:=  0; n--)); do
-   LISP=${LISPS[$n]}
-   if [ "${REST[$n]}" = "." ]; then
-   DEP="dev-lisp/${LISP}"
-   else
-   DEP="${REST[$n]}"
-   fi
-   RDEPEND="${RDEPEND} ${LISP}? ( ${DEP}:= ) !${LISP}? ("
-done
-if [ "${REST[0]}" = "." ]; then
-   DEP="dev-lisp/${LISPS[0]}"
-else
-   DEP="${REST[0]}"
-fi
-RDEPEND="${RDEPEND} ${DEP}:="
-n=${#LISPS[*]}
-for ((n--; n > 0; n--)); do
-   RDEPEND="${RDEPEND} )"
-done
-
-DEPEND="${RDEPEND}"
-
-# necessary for clisp and gcl
-RESTRICT="strip"
-
-src_configure() {
-   local LISP n
-   LISP=sbcl
-   n=${#LISPS[*]}
-   for ((n--; n > 0; n--)); do
-   if use ${LISPS[$n]}; then
-   LISP=${COMS[$n]}
-   if [ "${LISP}" = "." ]; then
-   LISP=${LISPS[$n]}
-   fi
-   fi
-   done
-   einfo "Using lisp: ${LISP}"
-
-   # aldor is not yet in portage
-   econf --disable-aldor --with-lisp=${LISP} $(use_with X x) $(use_with 
gmp)
-}
-
-src_compile() {
-   # bug #300132
-   emake -j1
-}
-
-src_test() {
-   emake -j1 all-input
-}
-
-src_install() {
-   emake -j1 DESTDIR="${D}" install
-   dodoc README FAQ
-
-   if use emacs; then
-   sed -e "s|(setq load-path (cons (quote 
\"/usr/$(get_libdir)/fricas/emacs\") load-path)) ||" \
-   -i "${D}"/usr/bin/efricas \
-   || die "sed efricas failed"
-   elisp-install ${PN} "${D}"/usr/$(get_libdir)/${PN}/emacs/*.el
-   elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el
-   else
-   rm "${D}"/usr/bin/efricas || die "rm efricas failed"
-   fi
-   rm -r "${D}"/usr/$(get_libdir)/${PN}/emacs || die "rm -r emacs failed"
-}
-
-pkg_postinst() {
-   use emacs && elisp-site-regen
-}
-
-pkg_postrm() {
-   use emacs && elisp-site-regen
-}

diff --git a/sci-mathematics/fricas/fricas-1.3.1.ebuild 
b/sci-mathematics/fricas/fricas-1.3.1.ebuild
deleted file mode 100644
index 7006655bdef..0

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

2018-03-13 Thread Andrey Grozin
commit: 55c19762fdd6bf934242478b9b812af7690b9a6f
Author: Andrey Grozin  gentoo  org>
AuthorDate: Tue Mar 13 21:44:01 2018 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Tue Mar 13 21:44:01 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55c19762

sci-mathematics/fricas: bump to 1.3.3

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sci-mathematics/fricas/Manifest|   1 +
 sci-mathematics/fricas/fricas-1.3.3.ebuild | 102 +
 2 files changed, 103 insertions(+)

diff --git a/sci-mathematics/fricas/Manifest b/sci-mathematics/fricas/Manifest
index 6b1538c3fdd..4438d426efa 100644
--- a/sci-mathematics/fricas/Manifest
+++ b/sci-mathematics/fricas/Manifest
@@ -1,3 +1,4 @@
 DIST fricas-1.3.0-full.tar.bz2 10459788 BLAKE2B 
93f57290fa17b25688454fba3f54bbc6de7aaf4e336fcd3117011a49a2d8705c3df07f1dd79472f7fe879bc8f2087c65eca6638229156e15b51534c5f054e09b
 SHA512 
fd084c3d3ada76424b0159eff76660872da63c1e25f392d98bc7175b37c05fe23a117587addc89828ff38a368f5161d34febcc269f530710ff7da6b53860653f
 DIST fricas-1.3.1-full.tar.bz2 10522387 BLAKE2B 
c1315bbb30ac94fe2b1b612a053f378f7d044111ba8d0405fd35e80902cd269b515f61d184b025b707b01d74aed26bf093e9af166b8b4f10d50e2ce0357d26b2
 SHA512 
d492686fc03ed704cc015ec0ba250ab7928b637ff6ef8cf1aa924190e7fe22bd63a512074439dbf7ce44dce786d51ad5e27857522a1e21136b4b8d6cf014c486
 DIST fricas-1.3.2-full.tar.bz2 10523665 BLAKE2B 
23de3147177e7c3c75dafa6de0f4f17432f323512aa38aef85e27c8cf1b9e335009870dc608219f0e1c4f53f1790a41b00b915aedd71633459f789cfda9f5244
 SHA512 
679dffbe8a991d4ae3d6667a6163337ffa24d48b9d1d776ba1a39569cb3b9f17e8d484075746b75b7eb6bbe5b9d26af3e526850a19118274988b9e88ad52a679
+DIST fricas-1.3.3-full.tar.bz2 10506559 BLAKE2B 
1a9822f0a94db5c7e7a3e2a52287b475c382caaaf9c5e1830621a17b6634f6f72958f0c81995463d135b4567a74c588f33c88d51a83b0a8749479d65645de4bc
 SHA512 
74ac88ffbbacba33883498a75382ef351003ce8499f6b458367ca0de3041a9bba496693eb90f798945aa6e11c5072137227efa385ee6d8e2051f93dfea6d7fbe

diff --git a/sci-mathematics/fricas/fricas-1.3.3.ebuild 
b/sci-mathematics/fricas/fricas-1.3.3.ebuild
new file mode 100644
index 000..1be321f3f7b
--- /dev/null
+++ b/sci-mathematics/fricas/fricas-1.3.3.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit multilib elisp-common
+
+DESCRIPTION="FriCAS is a fork of Axiom computer algebra system"
+HOMEPAGE="http://${PN}.sourceforge.net/";
+SRC_URI="mirror://sourceforge/${PN}/${P}-full.tar.bz2"
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+# Supported lisps, number 0 is the default
+LISPS=( sbcl cmucl gcl ecls clisp clozurecl )
+# Version restrictions, . means no restrictions
+REST=(  .. .   .. . )
+# command name: . means just ${LISP}
+COMS=(  .lisp  .   ecl  . ccl )
+
+IUSE="${LISPS[*]} X emacs gmp"
+RDEPEND="X? ( x11-libs/libXpm x11-libs/libICE )
+   emacs? ( virtual/emacs )
+   gmp? ( dev-libs/gmp:= )"
+
+# Generating lisp deps
+n=${#LISPS[*]}
+for ((n--; n > 0; n--)); do
+   LISP=${LISPS[$n]}
+   if [ "${REST[$n]}" = "." ]; then
+   DEP="dev-lisp/${LISP}"
+   else
+   DEP="${REST[$n]}"
+   fi
+   RDEPEND="${RDEPEND} ${LISP}? ( ${DEP}:= ) !${LISP}? ("
+done
+if [ "${REST[0]}" = "." ]; then
+   DEP="dev-lisp/${LISPS[0]}"
+else
+   DEP="${REST[0]}"
+fi
+RDEPEND="${RDEPEND} ${DEP}:="
+n=${#LISPS[*]}
+for ((n--; n > 0; n--)); do
+   RDEPEND="${RDEPEND} )"
+done
+
+DEPEND="${RDEPEND}"
+
+# necessary for clisp and gcl
+RESTRICT="strip"
+
+src_configure() {
+   local LISP n
+   LISP=sbcl
+   n=${#LISPS[*]}
+   for ((n--; n > 0; n--)); do
+   if use ${LISPS[$n]}; then
+   LISP=${COMS[$n]}
+   if [ "${LISP}" = "." ]; then
+   LISP=${LISPS[$n]}
+   fi
+   fi
+   done
+   einfo "Using lisp: ${LISP}"
+
+   # aldor is not yet in portage
+   econf --disable-aldor --with-lisp=${LISP} $(use_with X x) $(use_with 
gmp)
+}
+
+src_compile() {
+   # bug #300132
+   emake -j1
+}
+
+src_test() {
+   emake -j1 all-input
+}
+
+src_install() {
+   emake -j1 DESTDIR="${D}" install
+   dodoc README FAQ
+
+   if use emacs; then
+   sed -e "s|(setq load-path (cons (quote 
\"/usr/$(get_libdir)/fricas/emacs\") load-path)) ||" \
+   -i "${D}"/usr/bin/efricas \
+   || die "sed efricas failed"
+   elisp-install ${PN} "${D}"/usr/$(get_libdir)/${PN}/emacs/*.el
+   elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el
+   else
+   rm "${D}"/usr/bin/efricas || die "rm efricas failed"
+   fi
+   rm -r "${D}"/usr/$(get_libdir)/${PN}/emacs || die "rm -r emacs failed"
+}
+
+pkg_postinst() {
+   use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ 

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

2017-11-25 Thread Patrick Lauer
commit: ddab1e6cc1c6a46a737555111400f150c49d74a7
Author: Patrick Lauer  gentoo  org>
AuthorDate: Sat Nov 25 14:37:24 2017 +
Commit: Patrick Lauer  gentoo  org>
CommitDate: Sat Nov 25 14:39:09 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ddab1e6c

sci-mathematics/fricas: Whitespace

Package-Manager: Portage-2.3.16, Repoman-2.3.6

 sci-mathematics/fricas/fricas-1.3.0-r1.ebuild | 1 +
 sci-mathematics/fricas/fricas-1.3.1.ebuild| 1 +
 sci-mathematics/fricas/fricas-1.3.2.ebuild| 1 +
 3 files changed, 3 insertions(+)

diff --git a/sci-mathematics/fricas/fricas-1.3.0-r1.ebuild 
b/sci-mathematics/fricas/fricas-1.3.0-r1.ebuild
index 10e11cd67e7..236d30d11c9 100644
--- a/sci-mathematics/fricas/fricas-1.3.0-r1.ebuild
+++ b/sci-mathematics/fricas/fricas-1.3.0-r1.ebuild
@@ -1,5 +1,6 @@
 # Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
+
 EAPI=5
 inherit multilib elisp-common
 

diff --git a/sci-mathematics/fricas/fricas-1.3.1.ebuild 
b/sci-mathematics/fricas/fricas-1.3.1.ebuild
index 315a133b047..7006655bdef 100644
--- a/sci-mathematics/fricas/fricas-1.3.1.ebuild
+++ b/sci-mathematics/fricas/fricas-1.3.1.ebuild
@@ -1,5 +1,6 @@
 # Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
+
 EAPI=5
 inherit multilib elisp-common
 

diff --git a/sci-mathematics/fricas/fricas-1.3.2.ebuild 
b/sci-mathematics/fricas/fricas-1.3.2.ebuild
index 315a133b047..7006655bdef 100644
--- a/sci-mathematics/fricas/fricas-1.3.2.ebuild
+++ b/sci-mathematics/fricas/fricas-1.3.2.ebuild
@@ -1,5 +1,6 @@
 # Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
+
 EAPI=5
 inherit multilib elisp-common
 



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

2017-04-25 Thread Andrey Grozin
commit: 786377e80650a704eda3ffa754839a1e63bf1305
Author: Andrey Grozin  gentoo  org>
AuthorDate: Wed Apr 26 06:10:55 2017 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Wed Apr 26 06:10:55 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=786377e8

sci-mathematics/fricas: bump to 1.3.2

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 sci-mathematics/fricas/Manifest|   1 +
 sci-mathematics/fricas/fricas-1.3.2.ebuild | 101 +
 2 files changed, 102 insertions(+)

diff --git a/sci-mathematics/fricas/Manifest b/sci-mathematics/fricas/Manifest
index 804b46eee39..80f19774eff 100644
--- a/sci-mathematics/fricas/Manifest
+++ b/sci-mathematics/fricas/Manifest
@@ -1,2 +1,3 @@
 DIST fricas-1.3.0-full.tar.bz2 10459788 SHA256 
d4ceb6bcf4049196130d463dc7442dd206fd9cde0634f3e2f70add2e2c774f03 SHA512 
fd084c3d3ada76424b0159eff76660872da63c1e25f392d98bc7175b37c05fe23a117587addc89828ff38a368f5161d34febcc269f530710ff7da6b53860653f
 WHIRLPOOL 
c334c42ee83f676ce9640870e4ddf42a2a3c034570c173ec633c6eecf45d3e2d14f9e6e9fa4240d4f090fa0b1ddfaa3e4b117d530dc6f3c9d70a9b1a399cd188
 DIST fricas-1.3.1-full.tar.bz2 10522387 SHA256 
7d4a768aed086aefa332930787dbc1be810aeded9385ae2b7205d6c1827c5c30 SHA512 
d492686fc03ed704cc015ec0ba250ab7928b637ff6ef8cf1aa924190e7fe22bd63a512074439dbf7ce44dce786d51ad5e27857522a1e21136b4b8d6cf014c486
 WHIRLPOOL 
143c7ef847292ac37ae9f1322ec4d93e3879e0fc9b602d727b870c808569aa2dc6c4f76e0f1880ec3bb2915e713fa773c1e936be2b9059b73e7d5786efeef297
+DIST fricas-1.3.2-full.tar.bz2 10523665 SHA256 
798b123e61f3566e6b1b367c235f5b4599a9c737b938aa71f32d0aabb7db439d SHA512 
679dffbe8a991d4ae3d6667a6163337ffa24d48b9d1d776ba1a39569cb3b9f17e8d484075746b75b7eb6bbe5b9d26af3e526850a19118274988b9e88ad52a679
 WHIRLPOOL 
2ce62a2917a6378d75e844ba0b63d1386552698181892ad9f1d519019c89525c20b19b6ea6a7e9f93b656529c7bd4f1f2f2c6a7f571fec1e2713a4faa0d3e41b

diff --git a/sci-mathematics/fricas/fricas-1.3.2.ebuild 
b/sci-mathematics/fricas/fricas-1.3.2.ebuild
new file mode 100644
index 000..315a133b047
--- /dev/null
+++ b/sci-mathematics/fricas/fricas-1.3.2.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+EAPI=5
+inherit multilib elisp-common
+
+DESCRIPTION="FriCAS is a fork of Axiom computer algebra system"
+HOMEPAGE="http://${PN}.sourceforge.net/";
+SRC_URI="mirror://sourceforge/${PN}/${P}-full.tar.bz2"
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+# Supported lisps, number 0 is the default
+LISPS=( sbcl cmucl gcl ecls clisp clozurecl )
+# Version restrictions, . means no restrictions
+REST=(  .. .   .. . )
+# command name: . means just ${LISP}
+COMS=(  .lisp  .   ecl  . ccl )
+
+IUSE="${LISPS[*]} X emacs gmp"
+RDEPEND="X? ( x11-libs/libXpm x11-libs/libICE )
+   emacs? ( virtual/emacs )
+   gmp? ( dev-libs/gmp:= )"
+
+# Generating lisp deps
+n=${#LISPS[*]}
+for ((n--; n > 0; n--)); do
+   LISP=${LISPS[$n]}
+   if [ "${REST[$n]}" = "." ]; then
+   DEP="dev-lisp/${LISP}"
+   else
+   DEP="${REST[$n]}"
+   fi
+   RDEPEND="${RDEPEND} ${LISP}? ( ${DEP}:= ) !${LISP}? ("
+done
+if [ "${REST[0]}" = "." ]; then
+   DEP="dev-lisp/${LISPS[0]}"
+else
+   DEP="${REST[0]}"
+fi
+RDEPEND="${RDEPEND} ${DEP}:="
+n=${#LISPS[*]}
+for ((n--; n > 0; n--)); do
+   RDEPEND="${RDEPEND} )"
+done
+
+DEPEND="${RDEPEND}"
+
+# necessary for clisp and gcl
+RESTRICT="strip"
+
+src_configure() {
+   local LISP n
+   LISP=sbcl
+   n=${#LISPS[*]}
+   for ((n--; n > 0; n--)); do
+   if use ${LISPS[$n]}; then
+   LISP=${COMS[$n]}
+   if [ "${LISP}" = "." ]; then
+   LISP=${LISPS[$n]}
+   fi
+   fi
+   done
+   einfo "Using lisp: ${LISP}"
+
+   # aldor is not yet in portage
+   econf --disable-aldor --with-lisp=${LISP} $(use_with X x) $(use_with 
gmp)
+}
+
+src_compile() {
+   # bug #300132
+   emake -j1
+}
+
+src_test() {
+   emake -j1 all-input
+}
+
+src_install() {
+   emake -j1 DESTDIR="${D}" install
+   dodoc README FAQ
+
+   if use emacs; then
+   sed -e "s|(setq load-path (cons (quote 
\"/usr/$(get_libdir)/fricas/emacs\") load-path)) ||" \
+   -i "${D}"/usr/bin/efricas \
+   || die "sed efricas failed"
+   elisp-install ${PN} "${D}"/usr/$(get_libdir)/${PN}/emacs/*.el
+   elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el
+   else
+   rm "${D}"/usr/bin/efricas || die "rm efricas failed"
+   fi
+   rm -r "${D}"/usr/$(get_libdir)/${PN}/emacs || die "rm -r emacs failed"
+}
+
+pkg_postinst() {
+   use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+   use emacs && elisp-site-regen
+}



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

2017-02-16 Thread Andrey Grozin
commit: 4632e29ce4d8c04099c01e21f9f328b0901810b6
Author: Andrey Grozin  gentoo  org>
AuthorDate: Thu Feb 16 18:50:51 2017 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Thu Feb 16 18:51:49 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4632e29c

sci-mathematics/fricas: bump to 1.3.1

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 sci-mathematics/fricas/Manifest|   1 +
 sci-mathematics/fricas/fricas-1.3.1.ebuild | 102 +
 2 files changed, 103 insertions(+)

diff --git a/sci-mathematics/fricas/Manifest b/sci-mathematics/fricas/Manifest
index c8e850c225..804b46eee3 100644
--- a/sci-mathematics/fricas/Manifest
+++ b/sci-mathematics/fricas/Manifest
@@ -1 +1,2 @@
 DIST fricas-1.3.0-full.tar.bz2 10459788 SHA256 
d4ceb6bcf4049196130d463dc7442dd206fd9cde0634f3e2f70add2e2c774f03 SHA512 
fd084c3d3ada76424b0159eff76660872da63c1e25f392d98bc7175b37c05fe23a117587addc89828ff38a368f5161d34febcc269f530710ff7da6b53860653f
 WHIRLPOOL 
c334c42ee83f676ce9640870e4ddf42a2a3c034570c173ec633c6eecf45d3e2d14f9e6e9fa4240d4f090fa0b1ddfaa3e4b117d530dc6f3c9d70a9b1a399cd188
+DIST fricas-1.3.1-full.tar.bz2 10522387 SHA256 
7d4a768aed086aefa332930787dbc1be810aeded9385ae2b7205d6c1827c5c30 SHA512 
d492686fc03ed704cc015ec0ba250ab7928b637ff6ef8cf1aa924190e7fe22bd63a512074439dbf7ce44dce786d51ad5e27857522a1e21136b4b8d6cf014c486
 WHIRLPOOL 
143c7ef847292ac37ae9f1322ec4d93e3879e0fc9b602d727b870c808569aa2dc6c4f76e0f1880ec3bb2915e713fa773c1e936be2b9059b73e7d5786efeef297

diff --git a/sci-mathematics/fricas/fricas-1.3.1.ebuild 
b/sci-mathematics/fricas/fricas-1.3.1.ebuild
new file mode 100644
index 00..908ca1722d
--- /dev/null
+++ b/sci-mathematics/fricas/fricas-1.3.1.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI=5
+inherit multilib elisp-common
+
+DESCRIPTION="FriCAS is a fork of Axiom computer algebra system"
+HOMEPAGE="http://${PN}.sourceforge.net/";
+SRC_URI="mirror://sourceforge/${PN}/${P}-full.tar.bz2"
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+# Supported lisps, number 0 is the default
+LISPS=( sbcl cmucl gcl ecls clisp clozurecl )
+# Version restrictions, . means no restrictions
+REST=(  .. .   .. . )
+# command name: . means just ${LISP}
+COMS=(  .lisp  .   ecl  . ccl )
+
+IUSE="${LISPS[*]} X emacs gmp"
+RDEPEND="X? ( x11-libs/libXpm x11-libs/libICE )
+   emacs? ( virtual/emacs )
+   gmp? ( dev-libs/gmp:= )"
+
+# Generating lisp deps
+n=${#LISPS[*]}
+for ((n--; n > 0; n--)); do
+   LISP=${LISPS[$n]}
+   if [ "${REST[$n]}" = "." ]; then
+   DEP="dev-lisp/${LISP}"
+   else
+   DEP="${REST[$n]}"
+   fi
+   RDEPEND="${RDEPEND} ${LISP}? ( ${DEP}:= ) !${LISP}? ("
+done
+if [ "${REST[0]}" = "." ]; then
+   DEP="dev-lisp/${LISPS[0]}"
+else
+   DEP="${REST[0]}"
+fi
+RDEPEND="${RDEPEND} ${DEP}:="
+n=${#LISPS[*]}
+for ((n--; n > 0; n--)); do
+   RDEPEND="${RDEPEND} )"
+done
+
+DEPEND="${RDEPEND}"
+
+# necessary for clisp and gcl
+RESTRICT="strip"
+
+src_configure() {
+   local LISP n
+   LISP=sbcl
+   n=${#LISPS[*]}
+   for ((n--; n > 0; n--)); do
+   if use ${LISPS[$n]}; then
+   LISP=${COMS[$n]}
+   if [ "${LISP}" = "." ]; then
+   LISP=${LISPS[$n]}
+   fi
+   fi
+   done
+   einfo "Using lisp: ${LISP}"
+
+   # aldor is not yet in portage
+   econf --disable-aldor --with-lisp=${LISP} $(use_with X x) $(use_with 
gmp)
+}
+
+src_compile() {
+   # bug #300132
+   emake -j1
+}
+
+src_test() {
+   emake -j1 all-input
+}
+
+src_install() {
+   emake -j1 DESTDIR="${D}" install
+   dodoc README FAQ
+
+   if use emacs; then
+   sed -e "s|(setq load-path (cons (quote 
\"/usr/$(get_libdir)/fricas/emacs\") load-path)) ||" \
+   -i "${D}"/usr/bin/efricas \
+   || die "sed efricas failed"
+   elisp-install ${PN} "${D}"/usr/$(get_libdir)/${PN}/emacs/*.el
+   elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el
+   else
+   rm "${D}"/usr/bin/efricas || die "rm efricas failed"
+   fi
+   rm -r "${D}"/usr/$(get_libdir)/${PN}/emacs || die "rm -r emacs failed"
+}
+
+pkg_postinst() {
+   use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+   use emacs && elisp-site-regen
+}



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

2017-01-22 Thread Andrey Grozin
commit: 00c057d792af0fc7f9b6c44a74a4cd2b8982dd90
Author: Andrey Grozin  gentoo  org>
AuthorDate: Sun Jan 22 16:24:54 2017 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Sun Jan 22 16:25:32 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00c057d7

sci-mathematics/fricas: cleaning old

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 sci-mathematics/fricas/Manifest   |   1 -
 sci-mathematics/fricas/fricas-1.2.7-r3.ebuild | 102 --
 sci-mathematics/fricas/fricas-1.3.0.ebuild| 102 --
 3 files changed, 205 deletions(-)

diff --git a/sci-mathematics/fricas/Manifest b/sci-mathematics/fricas/Manifest
index af10b4c..c8e850c 100644
--- a/sci-mathematics/fricas/Manifest
+++ b/sci-mathematics/fricas/Manifest
@@ -1,2 +1 @@
-DIST fricas-1.2.7-full.tar.bz2 10289500 SHA256 
f23d892c17fca850726ab6f1f03061bbced6c487d2eed23e86037672b7473e1b SHA512 
1e6e34dc0e4b535bf937ebdefb5099629b2893e6db0dba8b84f259e2a3b7244692ab704dd04aa24f257089661f6747d8f367d0f58bb8cebd652469cb58c72897
 WHIRLPOOL 
41934d03203b6b6ca51ab0f54d3c7087de67366bba5794785360cbb61fc7cb18a6d4b489c176d75815bdb7b68b4aba31d0724bb5be94f1bfa6cb01e930af7991
 DIST fricas-1.3.0-full.tar.bz2 10459788 SHA256 
d4ceb6bcf4049196130d463dc7442dd206fd9cde0634f3e2f70add2e2c774f03 SHA512 
fd084c3d3ada76424b0159eff76660872da63c1e25f392d98bc7175b37c05fe23a117587addc89828ff38a368f5161d34febcc269f530710ff7da6b53860653f
 WHIRLPOOL 
c334c42ee83f676ce9640870e4ddf42a2a3c034570c173ec633c6eecf45d3e2d14f9e6e9fa4240d4f090fa0b1ddfaa3e4b117d530dc6f3c9d70a9b1a399cd188

diff --git a/sci-mathematics/fricas/fricas-1.2.7-r3.ebuild 
b/sci-mathematics/fricas/fricas-1.2.7-r3.ebuild
deleted file mode 100644
index 60ef380..
--- a/sci-mathematics/fricas/fricas-1.2.7-r3.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-EAPI=5
-inherit multilib elisp-common
-
-DESCRIPTION="FriCAS is a fork of Axiom computer algebra system"
-HOMEPAGE="http://${PN}.sourceforge.net/";
-SRC_URI="mirror://sourceforge/${PN}/${P}-full.tar.bz2"
-LICENSE="BSD-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-# Supported lisps, number 0 is the default
-LISPS=( sbcl cmucl gcl ecls   clisp clozurecl )
-# Version restrictions, . means no restrictions
-REST=( "<=dev-lisp/sbcl-1.3.0" . . . . . )
-# command name: . means just ${LISP}
-COMS=(  .lisp  .   ecl. ccl   )
-
-IUSE="${LISPS[*]} X emacs gmp"
-RDEPEND="X? ( x11-libs/libXpm x11-libs/libICE )
-   emacs? ( virtual/emacs )
-   gmp? ( dev-libs/gmp:= )"
-
-# Generating lisp deps
-n=${#LISPS[*]}
-for ((n--; n > 0; n--)); do
-   LISP=${LISPS[$n]}
-   if [ "${REST[$n]}" = "." ]; then
-   DEP="dev-lisp/${LISP}"
-   else
-   DEP="${REST[$n]}"
-   fi
-   RDEPEND="${RDEPEND} ${LISP}? ( ${DEP}:= ) !${LISP}? ("
-done
-if [ "${REST[0]}" = "." ]; then
-   DEP="dev-lisp/${LISPS[0]}"
-else
-   DEP="${REST[0]}"
-fi
-RDEPEND="${RDEPEND} ${DEP}:="
-n=${#LISPS[*]}
-for ((n--; n > 0; n--)); do
-   RDEPEND="${RDEPEND} )"
-done
-
-DEPEND="${RDEPEND}"
-
-# necessary for clisp and gcl
-RESTRICT="strip"
-
-src_configure() {
-   local LISP n
-   LISP=sbcl
-   n=${#LISPS[*]}
-   for ((n--; n > 0; n--)); do
-   if use ${LISPS[$n]}; then
-   LISP=${COMS[$n]}
-   if [ "${LISP}" = "." ]; then
-   LISP=${LISPS[$n]}
-   fi
-   fi
-   done
-   einfo "Using lisp: ${LISP}"
-
-   # aldor is not yet in portage
-   econf --disable-aldor --with-lisp=${LISP} $(use_with X x) $(use_with 
gmp)
-}
-
-src_compile() {
-   # bug #300132
-   emake -j1
-}
-
-src_test() {
-   emake -j1 all-input
-}
-
-src_install() {
-   emake -j1 DESTDIR="${D}" install
-   dodoc README FAQ
-
-   if use emacs; then
-   sed -e "s|(setq load-path (cons (quote 
\"/usr/$(get_libdir)/fricas/emacs\") load-path)) ||" \
-   -i "${D}"/usr/bin/efricas \
-   || die "sed efricas failed"
-   elisp-install ${PN} "${D}"/usr/$(get_libdir)/${PN}/emacs/*.el
-   elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el
-   else
-   rm "${D}"/usr/bin/efricas || die "rm efricas failed"
-   fi
-   rm -r "${D}"/usr/$(get_libdir)/${PN}/emacs || die "rm -r emacs failed"
-}
-
-pkg_postinst() {
-   use emacs && elisp-site-regen
-}
-
-pkg_postrm() {
-   use emacs && elisp-site-regen
-}

diff --git a/sci-mathematics/fricas/fricas-1.3.0.ebuild 
b/sci-mathematics/fricas/fricas-1.3.0.ebuild
deleted file mode 100644
index 5d18967..
--- a/sci-mathematics/fricas/fricas-1.3.0.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-#

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

2017-01-22 Thread Andrey Grozin
commit: 24aa0d498d7b03abaea2ceb5ce3b2a3570187638
Author: Andrey Grozin  gentoo  org>
AuthorDate: Sun Jan 22 16:21:22 2017 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Sun Jan 22 16:22:13 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24aa0d49

sci-mathematics/fricas: sbcl must be <1.3.13

Bug: 605596

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 sci-mathematics/fricas/fricas-1.3.0-r1.ebuild | 102 ++
 1 file changed, 102 insertions(+)

diff --git a/sci-mathematics/fricas/fricas-1.3.0-r1.ebuild 
b/sci-mathematics/fricas/fricas-1.3.0-r1.ebuild
new file mode 100644
index ..9bab3ea
--- /dev/null
+++ b/sci-mathematics/fricas/fricas-1.3.0-r1.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI=5
+inherit multilib elisp-common
+
+DESCRIPTION="FriCAS is a fork of Axiom computer algebra system"
+HOMEPAGE="http://${PN}.sourceforge.net/";
+SRC_URI="mirror://sourceforge/${PN}/${P}-full.tar.bz2"
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+# Supported lisps, number 0 is the default
+LISPS=( sbcl cmucl gcl ecls   clisp clozurecl )
+# Version restrictions, . means no restrictions
+REST=( ">=dev-lisp/sbcl-1.3.6:=  0; n--)); do
+   LISP=${LISPS[$n]}
+   if [ "${REST[$n]}" = "." ]; then
+   DEP="dev-lisp/${LISP}"
+   else
+   DEP="${REST[$n]}"
+   fi
+   RDEPEND="${RDEPEND} ${LISP}? ( ${DEP}:= ) !${LISP}? ("
+done
+if [ "${REST[0]}" = "." ]; then
+   DEP="dev-lisp/${LISPS[0]}"
+else
+   DEP="${REST[0]}"
+fi
+RDEPEND="${RDEPEND} ${DEP}:="
+n=${#LISPS[*]}
+for ((n--; n > 0; n--)); do
+   RDEPEND="${RDEPEND} )"
+done
+
+DEPEND="${RDEPEND}"
+
+# necessary for clisp and gcl
+RESTRICT="strip"
+
+src_configure() {
+   local LISP n
+   LISP=sbcl
+   n=${#LISPS[*]}
+   for ((n--; n > 0; n--)); do
+   if use ${LISPS[$n]}; then
+   LISP=${COMS[$n]}
+   if [ "${LISP}" = "." ]; then
+   LISP=${LISPS[$n]}
+   fi
+   fi
+   done
+   einfo "Using lisp: ${LISP}"
+
+   # aldor is not yet in portage
+   econf --disable-aldor --with-lisp=${LISP} $(use_with X x) $(use_with 
gmp)
+}
+
+src_compile() {
+   # bug #300132
+   emake -j1
+}
+
+src_test() {
+   emake -j1 all-input
+}
+
+src_install() {
+   emake -j1 DESTDIR="${D}" install
+   dodoc README FAQ
+
+   if use emacs; then
+   sed -e "s|(setq load-path (cons (quote 
\"/usr/$(get_libdir)/fricas/emacs\") load-path)) ||" \
+   -i "${D}"/usr/bin/efricas \
+   || die "sed efricas failed"
+   elisp-install ${PN} "${D}"/usr/$(get_libdir)/${PN}/emacs/*.el
+   elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el
+   else
+   rm "${D}"/usr/bin/efricas || die "rm efricas failed"
+   fi
+   rm -r "${D}"/usr/$(get_libdir)/${PN}/emacs || die "rm -r emacs failed"
+}
+
+pkg_postinst() {
+   use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+   use emacs && elisp-site-regen
+}



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

2016-08-31 Thread Andrey Grozin
commit: cc6df4d96ca9fd0118a9661f9f02570ea11494f0
Author: Andrey Grozin  gentoo  org>
AuthorDate: Wed Aug 31 11:40:05 2016 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Wed Aug 31 11:40:05 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc6df4d9

sci-mathematics/fricas: bump to 1.3.0

Package-Manager: portage-2.3.0

 sci-mathematics/fricas/Manifest|   1 +
 sci-mathematics/fricas/fricas-1.3.0.ebuild | 102 +
 2 files changed, 103 insertions(+)

diff --git a/sci-mathematics/fricas/Manifest b/sci-mathematics/fricas/Manifest
index bf6cc81..af10b4c 100644
--- a/sci-mathematics/fricas/Manifest
+++ b/sci-mathematics/fricas/Manifest
@@ -1 +1,2 @@
 DIST fricas-1.2.7-full.tar.bz2 10289500 SHA256 
f23d892c17fca850726ab6f1f03061bbced6c487d2eed23e86037672b7473e1b SHA512 
1e6e34dc0e4b535bf937ebdefb5099629b2893e6db0dba8b84f259e2a3b7244692ab704dd04aa24f257089661f6747d8f367d0f58bb8cebd652469cb58c72897
 WHIRLPOOL 
41934d03203b6b6ca51ab0f54d3c7087de67366bba5794785360cbb61fc7cb18a6d4b489c176d75815bdb7b68b4aba31d0724bb5be94f1bfa6cb01e930af7991
+DIST fricas-1.3.0-full.tar.bz2 10459788 SHA256 
d4ceb6bcf4049196130d463dc7442dd206fd9cde0634f3e2f70add2e2c774f03 SHA512 
fd084c3d3ada76424b0159eff76660872da63c1e25f392d98bc7175b37c05fe23a117587addc89828ff38a368f5161d34febcc269f530710ff7da6b53860653f
 WHIRLPOOL 
c334c42ee83f676ce9640870e4ddf42a2a3c034570c173ec633c6eecf45d3e2d14f9e6e9fa4240d4f090fa0b1ddfaa3e4b117d530dc6f3c9d70a9b1a399cd188

diff --git a/sci-mathematics/fricas/fricas-1.3.0.ebuild 
b/sci-mathematics/fricas/fricas-1.3.0.ebuild
new file mode 100644
index ..5d18967
--- /dev/null
+++ b/sci-mathematics/fricas/fricas-1.3.0.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI=5
+inherit multilib elisp-common
+
+DESCRIPTION="FriCAS is a fork of Axiom computer algebra system"
+HOMEPAGE="http://${PN}.sourceforge.net/";
+SRC_URI="mirror://sourceforge/${PN}/${P}-full.tar.bz2"
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+# Supported lisps, number 0 is the default
+LISPS=( sbcl cmucl gcl ecls   clisp clozurecl )
+# Version restrictions, . means no restrictions
+REST=( ">=dev-lisp/sbcl-1.3.6" . . . . . )
+# command name: . means just ${LISP}
+COMS=(  .lisp  .   ecl. ccl   )
+
+IUSE="${LISPS[*]} X emacs gmp"
+RDEPEND="X? ( x11-libs/libXpm x11-libs/libICE )
+   emacs? ( virtual/emacs )
+   gmp? ( dev-libs/gmp:= )"
+
+# Generating lisp deps
+n=${#LISPS[*]}
+for ((n--; n > 0; n--)); do
+   LISP=${LISPS[$n]}
+   if [ "${REST[$n]}" = "." ]; then
+   DEP="dev-lisp/${LISP}"
+   else
+   DEP="${REST[$n]}"
+   fi
+   RDEPEND="${RDEPEND} ${LISP}? ( ${DEP}:= ) !${LISP}? ("
+done
+if [ "${REST[0]}" = "." ]; then
+   DEP="dev-lisp/${LISPS[0]}"
+else
+   DEP="${REST[0]}"
+fi
+RDEPEND="${RDEPEND} ${DEP}:="
+n=${#LISPS[*]}
+for ((n--; n > 0; n--)); do
+   RDEPEND="${RDEPEND} )"
+done
+
+DEPEND="${RDEPEND}"
+
+# necessary for clisp and gcl
+RESTRICT="strip"
+
+src_configure() {
+   local LISP n
+   LISP=sbcl
+   n=${#LISPS[*]}
+   for ((n--; n > 0; n--)); do
+   if use ${LISPS[$n]}; then
+   LISP=${COMS[$n]}
+   if [ "${LISP}" = "." ]; then
+   LISP=${LISPS[$n]}
+   fi
+   fi
+   done
+   einfo "Using lisp: ${LISP}"
+
+   # aldor is not yet in portage
+   econf --disable-aldor --with-lisp=${LISP} $(use_with X x) $(use_with 
gmp)
+}
+
+src_compile() {
+   # bug #300132
+   emake -j1
+}
+
+src_test() {
+   emake -j1 all-input
+}
+
+src_install() {
+   emake -j1 DESTDIR="${D}" install
+   dodoc README FAQ
+
+   if use emacs; then
+   sed -e "s|(setq load-path (cons (quote 
\"/usr/$(get_libdir)/fricas/emacs\") load-path)) ||" \
+   -i "${D}"/usr/bin/efricas \
+   || die "sed efricas failed"
+   elisp-install ${PN} "${D}"/usr/$(get_libdir)/${PN}/emacs/*.el
+   elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el
+   else
+   rm "${D}"/usr/bin/efricas || die "rm efricas failed"
+   fi
+   rm -r "${D}"/usr/$(get_libdir)/${PN}/emacs || die "rm -r emacs failed"
+}
+
+pkg_postinst() {
+   use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+   use emacs && elisp-site-regen
+}



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

2016-02-26 Thread Andrey Grozin
commit: af6383eb3c405f92f626e9e59f786217f1e0f832
Author: Andrey Grozin  gentoo  org>
AuthorDate: Fri Feb 26 14:38:01 2016 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Fri Feb 26 14:38:01 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af6383eb

sci-mathematics/fricas: cleaning 1.2.7-r2

Package-Manager: portage-2.2.27

 sci-mathematics/fricas/fricas-1.2.7-r2.ebuild | 92 ---
 1 file changed, 92 deletions(-)

diff --git a/sci-mathematics/fricas/fricas-1.2.7-r2.ebuild 
b/sci-mathematics/fricas/fricas-1.2.7-r2.ebuild
deleted file mode 100644
index 3e1eadb..000
--- a/sci-mathematics/fricas/fricas-1.2.7-r2.ebuild
+++ /dev/null
@@ -1,92 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-EAPI=5
-inherit multilib elisp-common
-
-DESCRIPTION="FriCAS is a fork of Axiom computer algebra system"
-HOMEPAGE="http://${PN}.sourceforge.net/";
-SRC_URI="mirror://sourceforge/${PN}/${P}-full.tar.bz2"
-LICENSE="BSD-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-# Supported lisps, number 0 is the default
-LISPS=( sbcl cmucl gcl ecls   clisp clozurecl )
-# command name: . means just ${LISP}
-COMS=(  .lisp  .   ecl. ccl   )
-
-IUSE="${LISPS[*]} X emacs gmp"
-RDEPEND="X? ( x11-libs/libXpm x11-libs/libICE )
-   emacs? ( virtual/emacs )
-   gmp? ( dev-libs/gmp:= )"
-
-# Generating lisp deps
-n=${#LISPS[*]}
-for ((n--; n > 0; n--)); do
-   LISP=${LISPS[$n]}
-   DEP="dev-lisp/${LISP}"
-   RDEPEND="${RDEPEND} ${LISP}? ( ${DEP}:= ) !${LISP}? ("
-done
-DEP="dev-lisp/${LISPS[0]}"
-RDEPEND="${RDEPEND} ${DEP}:="
-n=${#LISPS[*]}
-for ((n--; n > 0; n--)); do
-   RDEPEND="${RDEPEND} )"
-done
-
-DEPEND="${RDEPEND}"
-
-# necessary for clisp and gcl
-RESTRICT="strip"
-
-src_configure() {
-   local LISP n
-   LISP=sbcl
-   n=${#LISPS[*]}
-   for ((n--; n > 0; n--)); do
-   if use ${LISPS[$n]}; then
-   LISP=${COMS[$n]}
-   if [ "${LISP}" = "." ]; then
-   LISP=${LISPS[$n]}
-   fi
-   fi
-   done
-   einfo "Using lisp: ${LISP}"
-
-   # aldor is not yet in portage
-   econf --disable-aldor --with-lisp=${LISP} $(use_with X x) $(use_with 
gmp)
-}
-
-src_compile() {
-   # bug #300132
-   emake -j1
-}
-
-src_test() {
-   emake -j1 all-input
-}
-
-src_install() {
-   emake -j1 DESTDIR="${D}" install
-   dodoc README FAQ
-
-   if use emacs; then
-   sed -e "s|(setq load-path (cons (quote 
\"/usr/$(get_libdir)/fricas/emacs\") load-path)) ||" \
-   -i "${D}"/usr/bin/efricas \
-   || die "sed efricas failed"
-   elisp-install ${PN} "${D}"/usr/$(get_libdir)/${PN}/emacs/*.el
-   elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el
-   else
-   rm "${D}"/usr/bin/efricas || die "rm efricas failed"
-   fi
-   rm -r "${D}"/usr/$(get_libdir)/${PN}/emacs || die "rm -r emacs failed"
-}
-
-pkg_postinst() {
-   use emacs && elisp-site-regen
-}
-
-pkg_postrm() {
-   use emacs && elisp-site-regen
-}



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

2016-02-26 Thread Andrey Grozin
commit: b47f220ca983a97792b07dfec9ffc9bd9dab1e44
Author: Andrey Grozin  gentoo  org>
AuthorDate: Fri Feb 26 14:35:09 2016 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Fri Feb 26 14:36:27 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b47f220c

sci-mathematics/fricas: sbcl version must be <=1.3.0

Bug: 575648

Package-Manager: portage-2.2.27

 sci-mathematics/fricas/fricas-1.2.7-r3.ebuild | 102 ++
 1 file changed, 102 insertions(+)

diff --git a/sci-mathematics/fricas/fricas-1.2.7-r3.ebuild 
b/sci-mathematics/fricas/fricas-1.2.7-r3.ebuild
new file mode 100644
index 000..60ef380
--- /dev/null
+++ b/sci-mathematics/fricas/fricas-1.2.7-r3.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI=5
+inherit multilib elisp-common
+
+DESCRIPTION="FriCAS is a fork of Axiom computer algebra system"
+HOMEPAGE="http://${PN}.sourceforge.net/";
+SRC_URI="mirror://sourceforge/${PN}/${P}-full.tar.bz2"
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+# Supported lisps, number 0 is the default
+LISPS=( sbcl cmucl gcl ecls   clisp clozurecl )
+# Version restrictions, . means no restrictions
+REST=( "<=dev-lisp/sbcl-1.3.0" . . . . . )
+# command name: . means just ${LISP}
+COMS=(  .lisp  .   ecl. ccl   )
+
+IUSE="${LISPS[*]} X emacs gmp"
+RDEPEND="X? ( x11-libs/libXpm x11-libs/libICE )
+   emacs? ( virtual/emacs )
+   gmp? ( dev-libs/gmp:= )"
+
+# Generating lisp deps
+n=${#LISPS[*]}
+for ((n--; n > 0; n--)); do
+   LISP=${LISPS[$n]}
+   if [ "${REST[$n]}" = "." ]; then
+   DEP="dev-lisp/${LISP}"
+   else
+   DEP="${REST[$n]}"
+   fi
+   RDEPEND="${RDEPEND} ${LISP}? ( ${DEP}:= ) !${LISP}? ("
+done
+if [ "${REST[0]}" = "." ]; then
+   DEP="dev-lisp/${LISPS[0]}"
+else
+   DEP="${REST[0]}"
+fi
+RDEPEND="${RDEPEND} ${DEP}:="
+n=${#LISPS[*]}
+for ((n--; n > 0; n--)); do
+   RDEPEND="${RDEPEND} )"
+done
+
+DEPEND="${RDEPEND}"
+
+# necessary for clisp and gcl
+RESTRICT="strip"
+
+src_configure() {
+   local LISP n
+   LISP=sbcl
+   n=${#LISPS[*]}
+   for ((n--; n > 0; n--)); do
+   if use ${LISPS[$n]}; then
+   LISP=${COMS[$n]}
+   if [ "${LISP}" = "." ]; then
+   LISP=${LISPS[$n]}
+   fi
+   fi
+   done
+   einfo "Using lisp: ${LISP}"
+
+   # aldor is not yet in portage
+   econf --disable-aldor --with-lisp=${LISP} $(use_with X x) $(use_with 
gmp)
+}
+
+src_compile() {
+   # bug #300132
+   emake -j1
+}
+
+src_test() {
+   emake -j1 all-input
+}
+
+src_install() {
+   emake -j1 DESTDIR="${D}" install
+   dodoc README FAQ
+
+   if use emacs; then
+   sed -e "s|(setq load-path (cons (quote 
\"/usr/$(get_libdir)/fricas/emacs\") load-path)) ||" \
+   -i "${D}"/usr/bin/efricas \
+   || die "sed efricas failed"
+   elisp-install ${PN} "${D}"/usr/$(get_libdir)/${PN}/emacs/*.el
+   elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el
+   else
+   rm "${D}"/usr/bin/efricas || die "rm efricas failed"
+   fi
+   rm -r "${D}"/usr/$(get_libdir)/${PN}/emacs || die "rm -r emacs failed"
+}
+
+pkg_postinst() {
+   use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+   use emacs && elisp-site-regen
+}



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

2016-02-24 Thread Andrey Grozin
commit: 8a17bc22b91f1969b73e696e59945d077a059191
Author: Andrey Grozin  gentoo  org>
AuthorDate: Wed Feb 24 17:18:30 2016 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Wed Feb 24 17:18:30 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a17bc22

sci-mathematics/fricas: cleaning 1.2.7-r1

Package-Manager: portage-2.2.27

 sci-mathematics/fricas/fricas-1.2.7-r1.ebuild | 102 --
 1 file changed, 102 deletions(-)

diff --git a/sci-mathematics/fricas/fricas-1.2.7-r1.ebuild 
b/sci-mathematics/fricas/fricas-1.2.7-r1.ebuild
deleted file mode 100644
index 3601edc..000
--- a/sci-mathematics/fricas/fricas-1.2.7-r1.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-EAPI=5
-inherit multilib elisp-common
-
-DESCRIPTION="FriCAS is a fork of Axiom computer algebra system"
-HOMEPAGE="http://${PN}.sourceforge.net/";
-SRC_URI="mirror://sourceforge/${PN}/${P}-full.tar.bz2"
-LICENSE="BSD-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-# Supported lisps, number 0 is the default
-LISPS=( sbcl cmucl gcl ecls   clisp clozurecl )
-# Version restrictions, . means no restrictions
-REST=( "<=dev-lisp/sbcl-1.3.0" . . . . . )
-# command name: . means just ${LISP}
-COMS=(  .lisp  .   ecl. ccl   )
-
-IUSE="${LISPS[*]} X emacs gmp"
-RDEPEND="X? ( x11-libs/libXpm x11-libs/libICE )
-   emacs? ( virtual/emacs )
-   gmp? ( dev-libs/gmp )"
-
-# Generating lisp deps
-n=${#LISPS[*]}
-for ((n--; n > 0; n--)); do
-   LISP=${LISPS[$n]}
-   if [ "${REST[$n]}" = "." ]; then
-   DEP="dev-lisp/${LISP}"
-   else
-   DEP="${REST[$n]}"
-   fi
-   RDEPEND="${RDEPEND} ${LISP}? ( ${DEP}:= ) !${LISP}? ("
-done
-if [ "${REST[0]}" = "." ]; then
-   DEP="dev-lisp/${LISPS[0]}"
-else
-   DEP="${REST[0]}"
-fi
-RDEPEND="${RDEPEND} ${DEP}:="
-n=${#LISPS[*]}
-for ((n--; n > 0; n--)); do
-   RDEPEND="${RDEPEND} )"
-done
-
-DEPEND="${RDEPEND}"
-
-# necessary for clisp and gcl
-RESTRICT="strip"
-
-src_configure() {
-   local LISP n
-   LISP=sbcl
-   n=${#LISPS[*]}
-   for ((n--; n > 0; n--)); do
-   if use ${LISPS[$n]}; then
-   LISP=${COMS[$n]}
-   if [ "${LISP}" = "." ]; then
-   LISP=${LISPS[$n]}
-   fi
-   fi
-   done
-   einfo "Using lisp: ${LISP}"
-
-   # aldor is not yet in portage
-   econf --disable-aldor --with-lisp=${LISP} $(use_with X x) $(use_with 
gmp)
-}
-
-src_compile() {
-   # bug #300132
-   emake -j1
-}
-
-src_test() {
-   emake -j1 all-input
-}
-
-src_install() {
-   emake -j1 DESTDIR="${D}" install
-   dodoc README FAQ
-
-   if use emacs; then
-   sed -e "s|(setq load-path (cons (quote 
\"/usr/$(get_libdir)/fricas/emacs\") load-path)) ||" \
-   -i "${D}"/usr/bin/efricas \
-   || die "sed efricas failed"
-   elisp-install ${PN} "${D}"/usr/$(get_libdir)/${PN}/emacs/*.el
-   elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el
-   else
-   rm "${D}"/usr/bin/efricas || die "rm efricas failed"
-   fi
-   rm -r "${D}"/usr/$(get_libdir)/${PN}/emacs || die "rm -r emacs failed"
-}
-
-pkg_postinst() {
-   use emacs && elisp-site-regen
-}
-
-pkg_postrm() {
-   use emacs && elisp-site-regen
-}



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

2016-02-24 Thread Andrey Grozin
commit: e71683bd9c540a9f6427224549ae97a3ecd294a9
Author: Andrey Grozin  gentoo  org>
AuthorDate: Wed Feb 24 17:12:11 2016 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Wed Feb 24 17:12:11 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e71683bd

sci-mathematics/fricas: no longer need to restrict sbcl version

Package-Manager: portage-2.2.27

 sci-mathematics/fricas/fricas-1.2.7-r2.ebuild | 92 +++
 1 file changed, 92 insertions(+)

diff --git a/sci-mathematics/fricas/fricas-1.2.7-r2.ebuild 
b/sci-mathematics/fricas/fricas-1.2.7-r2.ebuild
new file mode 100644
index 000..821c202
--- /dev/null
+++ b/sci-mathematics/fricas/fricas-1.2.7-r2.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI=5
+inherit multilib elisp-common
+
+DESCRIPTION="FriCAS is a fork of Axiom computer algebra system"
+HOMEPAGE="http://${PN}.sourceforge.net/";
+SRC_URI="mirror://sourceforge/${PN}/${P}-full.tar.bz2"
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+# Supported lisps, number 0 is the default
+LISPS=( sbcl cmucl gcl ecls   clisp clozurecl )
+# command name: . means just ${LISP}
+COMS=(  .lisp  .   ecl. ccl   )
+
+IUSE="${LISPS[*]} X emacs gmp"
+RDEPEND="X? ( x11-libs/libXpm x11-libs/libICE )
+   emacs? ( virtual/emacs )
+   gmp? ( dev-libs/gmp )"
+
+# Generating lisp deps
+n=${#LISPS[*]}
+for ((n--; n > 0; n--)); do
+   LISP=${LISPS[$n]}
+   DEP="dev-lisp/${LISP}"
+   RDEPEND="${RDEPEND} ${LISP}? ( ${DEP}:= ) !${LISP}? ("
+done
+DEP="dev-lisp/${LISPS[0]}"
+RDEPEND="${RDEPEND} ${DEP}:="
+n=${#LISPS[*]}
+for ((n--; n > 0; n--)); do
+   RDEPEND="${RDEPEND} )"
+done
+
+DEPEND="${RDEPEND}"
+
+# necessary for clisp and gcl
+RESTRICT="strip"
+
+src_configure() {
+   local LISP n
+   LISP=sbcl
+   n=${#LISPS[*]}
+   for ((n--; n > 0; n--)); do
+   if use ${LISPS[$n]}; then
+   LISP=${COMS[$n]}
+   if [ "${LISP}" = "." ]; then
+   LISP=${LISPS[$n]}
+   fi
+   fi
+   done
+   einfo "Using lisp: ${LISP}"
+
+   # aldor is not yet in portage
+   econf --disable-aldor --with-lisp=${LISP} $(use_with X x) $(use_with 
gmp)
+}
+
+src_compile() {
+   # bug #300132
+   emake -j1
+}
+
+src_test() {
+   emake -j1 all-input
+}
+
+src_install() {
+   emake -j1 DESTDIR="${D}" install
+   dodoc README FAQ
+
+   if use emacs; then
+   sed -e "s|(setq load-path (cons (quote 
\"/usr/$(get_libdir)/fricas/emacs\") load-path)) ||" \
+   -i "${D}"/usr/bin/efricas \
+   || die "sed efricas failed"
+   elisp-install ${PN} "${D}"/usr/$(get_libdir)/${PN}/emacs/*.el
+   elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el
+   else
+   rm "${D}"/usr/bin/efricas || die "rm efricas failed"
+   fi
+   rm -r "${D}"/usr/$(get_libdir)/${PN}/emacs || die "rm -r emacs failed"
+}
+
+pkg_postinst() {
+   use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+   use emacs && elisp-site-regen
+}



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

2016-02-24 Thread Andrey Grozin
commit: 9d1d2052a8c04234eb318459f2b51f93e39fe9cf
Author: Andrey Grozin  gentoo  org>
AuthorDate: Wed Feb 24 17:16:42 2016 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Wed Feb 24 17:16:42 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d1d2052

sci-mathematics/fricas: no longer need to restrict sbcl version

Package-Manager: portage-2.2.27

 sci-mathematics/fricas/fricas-1.2.7-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-mathematics/fricas/fricas-1.2.7-r2.ebuild 
b/sci-mathematics/fricas/fricas-1.2.7-r2.ebuild
index 821c202..3e1eadb 100644
--- a/sci-mathematics/fricas/fricas-1.2.7-r2.ebuild
+++ b/sci-mathematics/fricas/fricas-1.2.7-r2.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$
 EAPI=5
@@ -19,7 +19,7 @@ COMS=(  .lisp  .   ecl. ccl   )
 IUSE="${LISPS[*]} X emacs gmp"
 RDEPEND="X? ( x11-libs/libXpm x11-libs/libICE )
emacs? ( virtual/emacs )
-   gmp? ( dev-libs/gmp )"
+   gmp? ( dev-libs/gmp:= )"
 
 # Generating lisp deps
 n=${#LISPS[*]}



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

2015-12-19 Thread Andrey Grozin
commit: fa34beddff60b37eaf87c4b3dc821d613c9e8a75
Author: Andrey Grozin  gentoo  org>
AuthorDate: Sat Dec 19 14:50:39 2015 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Sat Dec 19 14:50:39 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa34bedd

sci-mathematics/fricas: update depend on sbcl to <=1.3.0

Package-Manager: portage-2.2.26

 .../{fricas-1.2.7.ebuild => fricas-1.2.7-r1.ebuild}  | 16 ++--
 1 file changed, 14 insertions(+), 2 deletions(-)

diff --git a/sci-mathematics/fricas/fricas-1.2.7.ebuild 
b/sci-mathematics/fricas/fricas-1.2.7-r1.ebuild
similarity index 84%
rename from sci-mathematics/fricas/fricas-1.2.7.ebuild
rename to sci-mathematics/fricas/fricas-1.2.7-r1.ebuild
index a6701e5..3601edc 100644
--- a/sci-mathematics/fricas/fricas-1.2.7.ebuild
+++ b/sci-mathematics/fricas/fricas-1.2.7-r1.ebuild
@@ -13,6 +13,8 @@ KEYWORDS="~amd64 ~x86"
 
 # Supported lisps, number 0 is the default
 LISPS=( sbcl cmucl gcl ecls   clisp clozurecl )
+# Version restrictions, . means no restrictions
+REST=( "<=dev-lisp/sbcl-1.3.0" . . . . . )
 # command name: . means just ${LISP}
 COMS=(  .lisp  .   ecl. ccl   )
 
@@ -25,9 +27,19 @@ RDEPEND="X? ( x11-libs/libXpm x11-libs/libICE )
 n=${#LISPS[*]}
 for ((n--; n > 0; n--)); do
LISP=${LISPS[$n]}
-   RDEPEND="${RDEPEND} ${LISP}? ( dev-lisp/${LISP}:= ) !${LISP}? ("
+   if [ "${REST[$n]}" = "." ]; then
+   DEP="dev-lisp/${LISP}"
+   else
+   DEP="${REST[$n]}"
+   fi
+   RDEPEND="${RDEPEND} ${LISP}? ( ${DEP}:= ) !${LISP}? ("
 done
-RDEPEND="${RDEPEND} dev-lisp/${LISPS[0]}:="
+if [ "${REST[0]}" = "." ]; then
+   DEP="dev-lisp/${LISPS[0]}"
+else
+   DEP="${REST[0]}"
+fi
+RDEPEND="${RDEPEND} ${DEP}:="
 n=${#LISPS[*]}
 for ((n--; n > 0; n--)); do
RDEPEND="${RDEPEND} )"



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

2015-12-19 Thread Andrey Grozin
commit: aec12d977748a1f156ae6ef500cdbd85feab7211
Author: Andrey Grozin  gentoo  org>
AuthorDate: Sat Dec 19 14:47:25 2015 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Sat Dec 19 14:47:25 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aec12d97

sci-mathematics/fricas: cleaning 1.2.6

Package-Manager: portage-2.2.26

 sci-mathematics/fricas/Manifest|  1 -
 sci-mathematics/fricas/fricas-1.2.6.ebuild | 90 --
 2 files changed, 91 deletions(-)

diff --git a/sci-mathematics/fricas/Manifest b/sci-mathematics/fricas/Manifest
index 45171bf..bf6cc81 100644
--- a/sci-mathematics/fricas/Manifest
+++ b/sci-mathematics/fricas/Manifest
@@ -1,2 +1 @@
-DIST fricas-1.2.6-full.tar.bz2 10196018 SHA256 
725b62d9139a345a3bc0eb0d29bd0e0764de475792918165c3bcd293d3c292ae SHA512 
6c98844b6815bd6bfbe50881179b746aa38af48e3992179e3746bd175ef2a0940d9855e79b66b1b5e34d9fc9fe1b8f3578483847b18d7cc2781f7f72b65fb2ac
 WHIRLPOOL 
de221add1c68da205d8689834ccb52a0ea468af253ccae70ce7c25156b0ece810dcc50a9db99549ed461a10dcaea13f503c1f0838141262dd6c6d524a217be61
 DIST fricas-1.2.7-full.tar.bz2 10289500 SHA256 
f23d892c17fca850726ab6f1f03061bbced6c487d2eed23e86037672b7473e1b SHA512 
1e6e34dc0e4b535bf937ebdefb5099629b2893e6db0dba8b84f259e2a3b7244692ab704dd04aa24f257089661f6747d8f367d0f58bb8cebd652469cb58c72897
 WHIRLPOOL 
41934d03203b6b6ca51ab0f54d3c7087de67366bba5794785360cbb61fc7cb18a6d4b489c176d75815bdb7b68b4aba31d0724bb5be94f1bfa6cb01e930af7991

diff --git a/sci-mathematics/fricas/fricas-1.2.6.ebuild 
b/sci-mathematics/fricas/fricas-1.2.6.ebuild
deleted file mode 100644
index a6701e5..000
--- a/sci-mathematics/fricas/fricas-1.2.6.ebuild
+++ /dev/null
@@ -1,90 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-EAPI=5
-inherit multilib elisp-common
-
-DESCRIPTION="FriCAS is a fork of Axiom computer algebra system"
-HOMEPAGE="http://${PN}.sourceforge.net/";
-SRC_URI="mirror://sourceforge/${PN}/${P}-full.tar.bz2"
-LICENSE="BSD-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-# Supported lisps, number 0 is the default
-LISPS=( sbcl cmucl gcl ecls   clisp clozurecl )
-# command name: . means just ${LISP}
-COMS=(  .lisp  .   ecl. ccl   )
-
-IUSE="${LISPS[*]} X emacs gmp"
-RDEPEND="X? ( x11-libs/libXpm x11-libs/libICE )
-   emacs? ( virtual/emacs )
-   gmp? ( dev-libs/gmp )"
-
-# Generating lisp deps
-n=${#LISPS[*]}
-for ((n--; n > 0; n--)); do
-   LISP=${LISPS[$n]}
-   RDEPEND="${RDEPEND} ${LISP}? ( dev-lisp/${LISP}:= ) !${LISP}? ("
-done
-RDEPEND="${RDEPEND} dev-lisp/${LISPS[0]}:="
-n=${#LISPS[*]}
-for ((n--; n > 0; n--)); do
-   RDEPEND="${RDEPEND} )"
-done
-
-DEPEND="${RDEPEND}"
-
-# necessary for clisp and gcl
-RESTRICT="strip"
-
-src_configure() {
-   local LISP n
-   LISP=sbcl
-   n=${#LISPS[*]}
-   for ((n--; n > 0; n--)); do
-   if use ${LISPS[$n]}; then
-   LISP=${COMS[$n]}
-   if [ "${LISP}" = "." ]; then
-   LISP=${LISPS[$n]}
-   fi
-   fi
-   done
-   einfo "Using lisp: ${LISP}"
-
-   # aldor is not yet in portage
-   econf --disable-aldor --with-lisp=${LISP} $(use_with X x) $(use_with 
gmp)
-}
-
-src_compile() {
-   # bug #300132
-   emake -j1
-}
-
-src_test() {
-   emake -j1 all-input
-}
-
-src_install() {
-   emake -j1 DESTDIR="${D}" install
-   dodoc README FAQ
-
-   if use emacs; then
-   sed -e "s|(setq load-path (cons (quote 
\"/usr/$(get_libdir)/fricas/emacs\") load-path)) ||" \
-   -i "${D}"/usr/bin/efricas \
-   || die "sed efricas failed"
-   elisp-install ${PN} "${D}"/usr/$(get_libdir)/${PN}/emacs/*.el
-   elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el
-   else
-   rm "${D}"/usr/bin/efricas || die "rm efricas failed"
-   fi
-   rm -r "${D}"/usr/$(get_libdir)/${PN}/emacs || die "rm -r emacs failed"
-}
-
-pkg_postinst() {
-   use emacs && elisp-site-regen
-}
-
-pkg_postrm() {
-   use emacs && elisp-site-regen
-}



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

2015-09-24 Thread Andrey Grozin
commit: 3973321fa189eb2cfd6f445db20f65cdf2acc33d
Author: Andrey Grozin  gentoo  org>
AuthorDate: Fri Sep 25 03:57:13 2015 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Fri Sep 25 03:57:13 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3973321f

sci-mathematics/fricas: cleaning fricas-1.2.5.ebuild

Package-Manager: portage-2.2.21

 sci-mathematics/fricas/Manifest|  1 -
 sci-mathematics/fricas/fricas-1.2.5.ebuild | 90 --
 2 files changed, 91 deletions(-)

diff --git a/sci-mathematics/fricas/Manifest b/sci-mathematics/fricas/Manifest
index 70b887a..45171bf 100644
--- a/sci-mathematics/fricas/Manifest
+++ b/sci-mathematics/fricas/Manifest
@@ -1,3 +1,2 @@
-DIST fricas-1.2.5-full.tar.bz2 10153745 SHA256 
842e85d2799fd5271957c0d306c243f9f9d9db791e781e848b430f17a11d5e57 SHA512 
78e99c2b791d8680e939adf8dfde96d3b305c58e9333da1ae98e214b5fc9ca2d6c365c7857cb4e30a68aa5450c992973243e058e4d4a412f57ff37137bc19ba0
 WHIRLPOOL 
13e91e451ffa707c220704aa5d017df264806feaa6b1b52c03ddaecff57594d06fe957ae61e0c5a0f49e4f96fb6f420a99aac49279f4f9e0efa07a11bedac1cd
 DIST fricas-1.2.6-full.tar.bz2 10196018 SHA256 
725b62d9139a345a3bc0eb0d29bd0e0764de475792918165c3bcd293d3c292ae SHA512 
6c98844b6815bd6bfbe50881179b746aa38af48e3992179e3746bd175ef2a0940d9855e79b66b1b5e34d9fc9fe1b8f3578483847b18d7cc2781f7f72b65fb2ac
 WHIRLPOOL 
de221add1c68da205d8689834ccb52a0ea468af253ccae70ce7c25156b0ece810dcc50a9db99549ed461a10dcaea13f503c1f0838141262dd6c6d524a217be61
 DIST fricas-1.2.7-full.tar.bz2 10289500 SHA256 
f23d892c17fca850726ab6f1f03061bbced6c487d2eed23e86037672b7473e1b SHA512 
1e6e34dc0e4b535bf937ebdefb5099629b2893e6db0dba8b84f259e2a3b7244692ab704dd04aa24f257089661f6747d8f367d0f58bb8cebd652469cb58c72897
 WHIRLPOOL 
41934d03203b6b6ca51ab0f54d3c7087de67366bba5794785360cbb61fc7cb18a6d4b489c176d75815bdb7b68b4aba31d0724bb5be94f1bfa6cb01e930af7991

diff --git a/sci-mathematics/fricas/fricas-1.2.5.ebuild 
b/sci-mathematics/fricas/fricas-1.2.5.ebuild
deleted file mode 100644
index a6701e5..000
--- a/sci-mathematics/fricas/fricas-1.2.5.ebuild
+++ /dev/null
@@ -1,90 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-EAPI=5
-inherit multilib elisp-common
-
-DESCRIPTION="FriCAS is a fork of Axiom computer algebra system"
-HOMEPAGE="http://${PN}.sourceforge.net/";
-SRC_URI="mirror://sourceforge/${PN}/${P}-full.tar.bz2"
-LICENSE="BSD-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-# Supported lisps, number 0 is the default
-LISPS=( sbcl cmucl gcl ecls   clisp clozurecl )
-# command name: . means just ${LISP}
-COMS=(  .lisp  .   ecl. ccl   )
-
-IUSE="${LISPS[*]} X emacs gmp"
-RDEPEND="X? ( x11-libs/libXpm x11-libs/libICE )
-   emacs? ( virtual/emacs )
-   gmp? ( dev-libs/gmp )"
-
-# Generating lisp deps
-n=${#LISPS[*]}
-for ((n--; n > 0; n--)); do
-   LISP=${LISPS[$n]}
-   RDEPEND="${RDEPEND} ${LISP}? ( dev-lisp/${LISP}:= ) !${LISP}? ("
-done
-RDEPEND="${RDEPEND} dev-lisp/${LISPS[0]}:="
-n=${#LISPS[*]}
-for ((n--; n > 0; n--)); do
-   RDEPEND="${RDEPEND} )"
-done
-
-DEPEND="${RDEPEND}"
-
-# necessary for clisp and gcl
-RESTRICT="strip"
-
-src_configure() {
-   local LISP n
-   LISP=sbcl
-   n=${#LISPS[*]}
-   for ((n--; n > 0; n--)); do
-   if use ${LISPS[$n]}; then
-   LISP=${COMS[$n]}
-   if [ "${LISP}" = "." ]; then
-   LISP=${LISPS[$n]}
-   fi
-   fi
-   done
-   einfo "Using lisp: ${LISP}"
-
-   # aldor is not yet in portage
-   econf --disable-aldor --with-lisp=${LISP} $(use_with X x) $(use_with 
gmp)
-}
-
-src_compile() {
-   # bug #300132
-   emake -j1
-}
-
-src_test() {
-   emake -j1 all-input
-}
-
-src_install() {
-   emake -j1 DESTDIR="${D}" install
-   dodoc README FAQ
-
-   if use emacs; then
-   sed -e "s|(setq load-path (cons (quote 
\"/usr/$(get_libdir)/fricas/emacs\") load-path)) ||" \
-   -i "${D}"/usr/bin/efricas \
-   || die "sed efricas failed"
-   elisp-install ${PN} "${D}"/usr/$(get_libdir)/${PN}/emacs/*.el
-   elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el
-   else
-   rm "${D}"/usr/bin/efricas || die "rm efricas failed"
-   fi
-   rm -r "${D}"/usr/$(get_libdir)/${PN}/emacs || die "rm -r emacs failed"
-}
-
-pkg_postinst() {
-   use emacs && elisp-site-regen
-}
-
-pkg_postrm() {
-   use emacs && elisp-site-regen
-}



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

2015-09-24 Thread Andrey Grozin
commit: ea1428f58306efcf26e6c5fb787591755896bd77
Author: Andrey Grozin  gentoo  org>
AuthorDate: Fri Sep 25 03:54:05 2015 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Fri Sep 25 03:55:19 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea1428f5

sci-mathematics/fricas: bump to 1.2.7

Package-Manager: portage-2.2.21

 sci-mathematics/fricas/Manifest|  1 +
 sci-mathematics/fricas/fricas-1.2.7.ebuild | 90 ++
 2 files changed, 91 insertions(+)

diff --git a/sci-mathematics/fricas/Manifest b/sci-mathematics/fricas/Manifest
index 524b685..70b887a 100644
--- a/sci-mathematics/fricas/Manifest
+++ b/sci-mathematics/fricas/Manifest
@@ -1,2 +1,3 @@
 DIST fricas-1.2.5-full.tar.bz2 10153745 SHA256 
842e85d2799fd5271957c0d306c243f9f9d9db791e781e848b430f17a11d5e57 SHA512 
78e99c2b791d8680e939adf8dfde96d3b305c58e9333da1ae98e214b5fc9ca2d6c365c7857cb4e30a68aa5450c992973243e058e4d4a412f57ff37137bc19ba0
 WHIRLPOOL 
13e91e451ffa707c220704aa5d017df264806feaa6b1b52c03ddaecff57594d06fe957ae61e0c5a0f49e4f96fb6f420a99aac49279f4f9e0efa07a11bedac1cd
 DIST fricas-1.2.6-full.tar.bz2 10196018 SHA256 
725b62d9139a345a3bc0eb0d29bd0e0764de475792918165c3bcd293d3c292ae SHA512 
6c98844b6815bd6bfbe50881179b746aa38af48e3992179e3746bd175ef2a0940d9855e79b66b1b5e34d9fc9fe1b8f3578483847b18d7cc2781f7f72b65fb2ac
 WHIRLPOOL 
de221add1c68da205d8689834ccb52a0ea468af253ccae70ce7c25156b0ece810dcc50a9db99549ed461a10dcaea13f503c1f0838141262dd6c6d524a217be61
+DIST fricas-1.2.7-full.tar.bz2 10289500 SHA256 
f23d892c17fca850726ab6f1f03061bbced6c487d2eed23e86037672b7473e1b SHA512 
1e6e34dc0e4b535bf937ebdefb5099629b2893e6db0dba8b84f259e2a3b7244692ab704dd04aa24f257089661f6747d8f367d0f58bb8cebd652469cb58c72897
 WHIRLPOOL 
41934d03203b6b6ca51ab0f54d3c7087de67366bba5794785360cbb61fc7cb18a6d4b489c176d75815bdb7b68b4aba31d0724bb5be94f1bfa6cb01e930af7991

diff --git a/sci-mathematics/fricas/fricas-1.2.7.ebuild 
b/sci-mathematics/fricas/fricas-1.2.7.ebuild
new file mode 100644
index 000..a6701e5
--- /dev/null
+++ b/sci-mathematics/fricas/fricas-1.2.7.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI=5
+inherit multilib elisp-common
+
+DESCRIPTION="FriCAS is a fork of Axiom computer algebra system"
+HOMEPAGE="http://${PN}.sourceforge.net/";
+SRC_URI="mirror://sourceforge/${PN}/${P}-full.tar.bz2"
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+# Supported lisps, number 0 is the default
+LISPS=( sbcl cmucl gcl ecls   clisp clozurecl )
+# command name: . means just ${LISP}
+COMS=(  .lisp  .   ecl. ccl   )
+
+IUSE="${LISPS[*]} X emacs gmp"
+RDEPEND="X? ( x11-libs/libXpm x11-libs/libICE )
+   emacs? ( virtual/emacs )
+   gmp? ( dev-libs/gmp )"
+
+# Generating lisp deps
+n=${#LISPS[*]}
+for ((n--; n > 0; n--)); do
+   LISP=${LISPS[$n]}
+   RDEPEND="${RDEPEND} ${LISP}? ( dev-lisp/${LISP}:= ) !${LISP}? ("
+done
+RDEPEND="${RDEPEND} dev-lisp/${LISPS[0]}:="
+n=${#LISPS[*]}
+for ((n--; n > 0; n--)); do
+   RDEPEND="${RDEPEND} )"
+done
+
+DEPEND="${RDEPEND}"
+
+# necessary for clisp and gcl
+RESTRICT="strip"
+
+src_configure() {
+   local LISP n
+   LISP=sbcl
+   n=${#LISPS[*]}
+   for ((n--; n > 0; n--)); do
+   if use ${LISPS[$n]}; then
+   LISP=${COMS[$n]}
+   if [ "${LISP}" = "." ]; then
+   LISP=${LISPS[$n]}
+   fi
+   fi
+   done
+   einfo "Using lisp: ${LISP}"
+
+   # aldor is not yet in portage
+   econf --disable-aldor --with-lisp=${LISP} $(use_with X x) $(use_with 
gmp)
+}
+
+src_compile() {
+   # bug #300132
+   emake -j1
+}
+
+src_test() {
+   emake -j1 all-input
+}
+
+src_install() {
+   emake -j1 DESTDIR="${D}" install
+   dodoc README FAQ
+
+   if use emacs; then
+   sed -e "s|(setq load-path (cons (quote 
\"/usr/$(get_libdir)/fricas/emacs\") load-path)) ||" \
+   -i "${D}"/usr/bin/efricas \
+   || die "sed efricas failed"
+   elisp-install ${PN} "${D}"/usr/$(get_libdir)/${PN}/emacs/*.el
+   elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el
+   else
+   rm "${D}"/usr/bin/efricas || die "rm efricas failed"
+   fi
+   rm -r "${D}"/usr/$(get_libdir)/${PN}/emacs || die "rm -r emacs failed"
+}
+
+pkg_postinst() {
+   use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+   use emacs && elisp-site-regen
+}