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

2024-05-29 Thread Sam James
commit: aa84e237a7900b27df81ee442469ba37e7f4c6c5
Author: Sam James  gentoo  org>
AuthorDate: Wed May 29 11:46:05 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed May 29 11:46:05 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa84e237

sci-mathematics/ginac: Stabilize 1.8.7-r3 amd64, #933044

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

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

diff --git a/sci-mathematics/ginac/ginac-1.8.7-r3.ebuild 
b/sci-mathematics/ginac/ginac-1.8.7-r3.ebuild
index aa58de66a5af..eb3c8da6394d 100644
--- a/sci-mathematics/ginac/ginac-1.8.7-r3.ebuild
+++ b/sci-mathematics/ginac/ginac-1.8.7-r3.ebuild
@@ -13,7 +13,7 @@ SRC_URI="http://www.ginac.de/${P}.tar.bz2;
 
 LICENSE="GPL-2+"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
 IUSE="doc examples"
 
 RDEPEND=">=sci-libs/cln-1.2.2"



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

2024-05-23 Thread Florian Schmaus
commit: e69eec6b240d527703eaaddee85febe4acf9470c
Author: Mario Haustein  hrz  tu-chemnitz  de>
AuthorDate: Wed May 22 19:16:31 2024 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Thu May 23 09:14:00 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e69eec6b

sci-mathematics/ginac: BDEPEND on media-gfx/fig2dev

media-gfx/fig2dev now provides ghostscript support

Bug: https://bugs.gentoo.org/926432
Signed-off-by: Mario Haustein  hrz.tu-chemnitz.de>
Closes: https://github.com/gentoo/gentoo/pull/36779
Signed-off-by: Florian Schmaus  gentoo.org>

 sci-mathematics/ginac/ginac-1.8.7-r3.ebuild | 76 +
 1 file changed, 76 insertions(+)

diff --git a/sci-mathematics/ginac/ginac-1.8.7-r3.ebuild 
b/sci-mathematics/ginac/ginac-1.8.7-r3.ebuild
new file mode 100644
index ..aa58de66a5af
--- /dev/null
+++ b/sci-mathematics/ginac/ginac-1.8.7-r3.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..12} )
+
+inherit python-any-r1
+
+DESCRIPTION="C++ library and tools for symbolic calculations"
+HOMEPAGE="https://www.ginac.de/;
+SRC_URI="http://www.ginac.de/${P}.tar.bz2;
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc examples"
+
+RDEPEND=">=sci-libs/cln-1.2.2"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   ${PYTHON_DEPS}
+   virtual/pkgconfig
+   doc? (
+   app-text/doxygen
+   dev-texlive/texlive-fontsrecommended
+   >=media-gfx/fig2dev-3.2.9-r3[ghostscript]
+   dev-texlive/texlive-latexextra
+   virtual/texi2dvi
+   )"
+
+PATCHES=( "${FILESDIR}"/${PN}-1.8.2-pkgconfig.patch )
+
+src_configure() {
+   econf \
+   --disable-rpath \
+   --disable-static
+}
+
+src_compile() {
+   emake
+
+   if use doc; then
+   local -x VARTEXFONTS="${T}"/fonts
+   emake -C doc/reference html pdf
+   emake -C doc/tutorial ginac.pdf ginac.html
+   fi
+}
+
+src_install() {
+   default
+
+   if use doc; then
+   pushd doc >/dev/null || die
+   newdoc tutorial/ginac.pdf tutorial.pdf
+   newdoc reference/reference.pdf reference.pdf
+
+   docinto html/reference
+   dodoc -r reference/html_files/.
+
+   docinto html
+   newdoc tutorial/ginac.html tutorial.html
+   popd >/dev/null || die
+   fi
+
+   if use examples; then
+   pushd doc >/dev/null || die
+   docinto examples
+   dodoc examples/*.cpp examples/ginac-examples.*
+   docompress -x /usr/share/doc/${PF}/examples
+   popd >/dev/null || die
+   fi
+
+   # no static archives
+   find "${ED}" -name '*.la' -delete || die
+}



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

2024-04-18 Thread Andrey Grozin
commit: 3950e0273aae9a4cfccaee65e8bcfb325a068a08
Author: Andrey Grozin  gentoo  org>
AuthorDate: Thu Apr 18 11:52:10 2024 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Thu Apr 18 11:52:49 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3950e027

sci-mathematics/ginac: BDEPEND on media-gfx/transfig

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

 sci-mathematics/ginac/ginac-1.8.7-r2.ebuild | 76 +
 1 file changed, 76 insertions(+)

diff --git a/sci-mathematics/ginac/ginac-1.8.7-r2.ebuild 
b/sci-mathematics/ginac/ginac-1.8.7-r2.ebuild
new file mode 100644
index ..457fed4b44a8
--- /dev/null
+++ b/sci-mathematics/ginac/ginac-1.8.7-r2.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..12} )
+
+inherit python-any-r1
+
+DESCRIPTION="C++ library and tools for symbolic calculations"
+HOMEPAGE="https://www.ginac.de/;
+SRC_URI="http://www.ginac.de/${P}.tar.bz2;
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc examples"
+
+RDEPEND=">=sci-libs/cln-1.2.2"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   ${PYTHON_DEPS}
+   virtual/pkgconfig
+   doc? (
+   app-text/doxygen
+   dev-texlive/texlive-fontsrecommended
+   media-gfx/transfig
+   dev-texlive/texlive-latexextra
+   virtual/texi2dvi
+   )"
+
+PATCHES=( "${FILESDIR}"/${PN}-1.8.2-pkgconfig.patch )
+
+src_configure() {
+   econf \
+   --disable-rpath \
+   --disable-static
+}
+
+src_compile() {
+   emake
+
+   if use doc; then
+   local -x VARTEXFONTS="${T}"/fonts
+   emake -C doc/reference html pdf
+   emake -C doc/tutorial ginac.pdf ginac.html
+   fi
+}
+
+src_install() {
+   default
+
+   if use doc; then
+   pushd doc >/dev/null || die
+   newdoc tutorial/ginac.pdf tutorial.pdf
+   newdoc reference/reference.pdf reference.pdf
+
+   docinto html/reference
+   dodoc -r reference/html_files/.
+
+   docinto html
+   newdoc tutorial/ginac.html tutorial.html
+   popd >/dev/null || die
+   fi
+
+   if use examples; then
+   pushd doc >/dev/null || die
+   docinto examples
+   dodoc examples/*.cpp examples/ginac-examples.*
+   docompress -x /usr/share/doc/${PF}/examples
+   popd >/dev/null || die
+   fi
+
+   # no static archives
+   find "${ED}" -name '*.la' -delete || die
+}



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

2024-03-15 Thread Andreas Sturmlechner
commit: 95d26a38ddba22350e50fddf31c7d89c28003b0c
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Fri Mar 15 10:05:12 2024 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Fri Mar 15 10:07:56 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95d26a38

sci-mathematics/ginac: drop 1.8.6

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

 sci-mathematics/ginac/Manifest |  1 -
 .../ginac/files/ginac-1.8.6-unicode.patch  | 12 
 sci-mathematics/ginac/ginac-1.8.6.ebuild   | 76 --
 3 files changed, 89 deletions(-)

diff --git a/sci-mathematics/ginac/Manifest b/sci-mathematics/ginac/Manifest
index ff11e9077436..fb59da0c8585 100644
--- a/sci-mathematics/ginac/Manifest
+++ b/sci-mathematics/ginac/Manifest
@@ -1,2 +1 @@
-DIST ginac-1.8.6.tar.bz2 1152914 BLAKE2B 
3d3d655cde0f5444fa01b0dde62a48d3c42b5a3b27e00d9608c56677fd031e639b7e4e6ac7c6cf68f807033cbe81432148d5525d76ad176b8dcd0d80aece07a1
 SHA512 
b10402d722e8216374dabdee9eba9e6de3b6afebd291a368697eb8efcd0eb8148237628bfb74713771c99977ccc46d972bacccaead3fcf35a1ab328744a7fb48
 DIST ginac-1.8.7.tar.bz2 1153952 BLAKE2B 
272a9603741d43d4ba4f7ac3478aac405490cf747e20a5f77d7d6c672c6aee972ab77ddf4cd68daa3c432ea0b02a46ba295311967c2c5a2135bf34070a25f272
 SHA512 
29a5dbe1fa8a40668a32eb0065d1f676b074222d76ed70a05c5841a4be92c4b1a019ae3fc820e1c7007e641ef8ef94d00adab901f89673df0d372a4c8af8e51a

diff --git a/sci-mathematics/ginac/files/ginac-1.8.6-unicode.patch 
b/sci-mathematics/ginac/files/ginac-1.8.6-unicode.patch
deleted file mode 100644
index d7e4491f7434..
--- a/sci-mathematics/ginac/files/ginac-1.8.6-unicode.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -r -U3 ginac-1.8.6.orig/ginac/numeric.cpp ginac-1.8.6/ginac/numeric.cpp
 ginac-1.8.6.orig/ginac/numeric.cpp 2023-02-08 06:02:38.0 +0700
-+++ ginac-1.8.6/ginac/numeric.cpp  2023-02-17 16:13:45.137824611 +0700
-@@ -2139,7 +2139,7 @@
- /** The Binomial coefficients.  It computes the binomial coefficients.  For
-  *  integer n and k and positive n this is the number of ways of choosing k
-  *  objects from n distinct objects.  If n is a negative integer, the formula
-- *  binomial(n,k) == (-1)^k*binomial(k-n-1,k) (if k≥0)
-+ *  binomial(n,k) == (-1)^k*binomial(k-n-1,k) (if k>=0)
-  *  binomial(n,k) == (-1)^(n-k)*binomial(-k-1,n-k) (otherwise)
-  *  is used to compute the result. */
- const numeric binomial(const numeric , const numeric )

diff --git a/sci-mathematics/ginac/ginac-1.8.6.ebuild 
b/sci-mathematics/ginac/ginac-1.8.6.ebuild
deleted file mode 100644
index 1d7a466c9d4a..
--- a/sci-mathematics/ginac/ginac-1.8.6.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-
-inherit python-any-r1
-
-DESCRIPTION="C++ library and tools for symbolic calculations"
-SRC_URI="http://www.ginac.de/${P}.tar.bz2;
-HOMEPAGE="https://www.ginac.de/;
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
-IUSE="doc examples"
-
-RDEPEND=">=sci-libs/cln-1.2.2"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   ${PYTHON_DEPS}
-   virtual/pkgconfig
-   doc? (
-   app-text/doxygen
-   dev-texlive/texlive-fontsrecommended
-   media-gfx/transfig
-   dev-texlive/texlive-latexextra
-   virtual/texi2dvi
-   )"
-
-PATCHES=( "${FILESDIR}"/${PN}-1.8.2-pkgconfig.patch 
"${FILESDIR}"/${PN}-1.8.6-unicode.patch )
-
-src_configure() {
-   econf \
-   --disable-rpath \
-   --disable-static
-}
-
-src_compile() {
-   emake
-
-   if use doc; then
-   local -x VARTEXFONTS="${T}"/fonts
-   emake -C doc/reference html pdf
-   emake -C doc/tutorial ginac.pdf ginac.html
-   fi
-}
-
-src_install() {
-   default
-
-   if use doc; then
-   pushd doc >/dev/null || die
-   newdoc tutorial/ginac.pdf tutorial.pdf
-   newdoc reference/reference.pdf reference.pdf
-
-   docinto html/reference
-   dodoc -r reference/html_files/.
-
-   docinto html
-   newdoc tutorial/ginac.html tutorial.html
-   popd >/dev/null || die
-   fi
-
-   if use examples; then
-   pushd doc >/dev/null || die
-   docinto examples
-   dodoc examples/*.cpp examples/ginac-examples.*
-   docompress -x /usr/share/doc/${PF}/examples
-   popd >/dev/null || die
-   fi
-
-   # no static archives
-   find "${ED}" -name '*.la' -delete || die
-}



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

2023-12-16 Thread Joonas Niilola
commit: 44e1819027ce30440ac57b069956fac5618bc5d4
Author: Joonas Niilola  gentoo  org>
AuthorDate: Sat Dec 16 09:28:05 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Dec 16 09:28:32 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44e18190

sci-mathematics/ginac: Stabilize 1.8.7-r1 amd64, #917280

Signed-off-by: Joonas Niilola  gentoo.org>

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

diff --git a/sci-mathematics/ginac/ginac-1.8.7-r1.ebuild 
b/sci-mathematics/ginac/ginac-1.8.7-r1.ebuild
index 49c35a7c68d2..0515f032567f 100644
--- a/sci-mathematics/ginac/ginac-1.8.7-r1.ebuild
+++ b/sci-mathematics/ginac/ginac-1.8.7-r1.ebuild
@@ -13,7 +13,7 @@ HOMEPAGE="https://www.ginac.de/;
 
 LICENSE="GPL-2+"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
 IUSE="doc examples"
 
 RDEPEND=">=sci-libs/cln-1.2.2"



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

2023-11-12 Thread Sam James
commit: 7aed3bb89bad76ee1134ab32ae2b16de225fb8e6
Author: Sam James  gentoo  org>
AuthorDate: Mon Nov 13 07:29:14 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Nov 13 07:29:14 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7aed3bb8

sci-mathematics/ginac: revbump for fig2dev change

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

 sci-mathematics/ginac/{ginac-1.8.7.ebuild => ginac-1.8.7-r1.ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/sci-mathematics/ginac/ginac-1.8.7.ebuild 
b/sci-mathematics/ginac/ginac-1.8.7-r1.ebuild
similarity index 100%
rename from sci-mathematics/ginac/ginac-1.8.7.ebuild
rename to sci-mathematics/ginac/ginac-1.8.7-r1.ebuild



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

2023-11-12 Thread Pacho Ramos
commit: fe9f2c1a0ecda734fb75c3e5d8edb4e678f1
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sun Nov 12 12:27:29 2023 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sun Nov 12 12:28:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe9f2c1a

sci-mathematics/ginac: use transfig from fig2dev

Signed-off-by: Pacho Ramos  gentoo.org>

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

diff --git a/sci-mathematics/ginac/ginac-1.8.7.ebuild 
b/sci-mathematics/ginac/ginac-1.8.7.ebuild
index 4d0ac0c66bb6..49c35a7c68d2 100644
--- a/sci-mathematics/ginac/ginac-1.8.7.ebuild
+++ b/sci-mathematics/ginac/ginac-1.8.7.ebuild
@@ -24,7 +24,7 @@ BDEPEND="
doc? (
app-doc/doxygen
dev-texlive/texlive-fontsrecommended
-   media-gfx/transfig
+   >=media-gfx/fig2dev-3.2.9-r1
dev-texlive/texlive-latexextra
virtual/texi2dvi
)"



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

2023-08-29 Thread Andrey Grozin
commit: f9022e15a1d75f090f06ee6299d73364d0284065
Author: Andrey Grozin  gentoo  org>
AuthorDate: Tue Aug 29 11:48:07 2023 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Tue Aug 29 11:48:07 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9022e15

sci-mathematics/ginac: bump to 1.8.7

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

 sci-mathematics/ginac/Manifest   |  1 +
 sci-mathematics/ginac/ginac-1.8.7.ebuild | 76 
 2 files changed, 77 insertions(+)

diff --git a/sci-mathematics/ginac/Manifest b/sci-mathematics/ginac/Manifest
index 56613b5a6eaa..ff11e9077436 100644
--- a/sci-mathematics/ginac/Manifest
+++ b/sci-mathematics/ginac/Manifest
@@ -1 +1,2 @@
 DIST ginac-1.8.6.tar.bz2 1152914 BLAKE2B 
3d3d655cde0f5444fa01b0dde62a48d3c42b5a3b27e00d9608c56677fd031e639b7e4e6ac7c6cf68f807033cbe81432148d5525d76ad176b8dcd0d80aece07a1
 SHA512 
b10402d722e8216374dabdee9eba9e6de3b6afebd291a368697eb8efcd0eb8148237628bfb74713771c99977ccc46d972bacccaead3fcf35a1ab328744a7fb48
+DIST ginac-1.8.7.tar.bz2 1153952 BLAKE2B 
272a9603741d43d4ba4f7ac3478aac405490cf747e20a5f77d7d6c672c6aee972ab77ddf4cd68daa3c432ea0b02a46ba295311967c2c5a2135bf34070a25f272
 SHA512 
29a5dbe1fa8a40668a32eb0065d1f676b074222d76ed70a05c5841a4be92c4b1a019ae3fc820e1c7007e641ef8ef94d00adab901f89673df0d372a4c8af8e51a

diff --git a/sci-mathematics/ginac/ginac-1.8.7.ebuild 
b/sci-mathematics/ginac/ginac-1.8.7.ebuild
new file mode 100644
index ..4d0ac0c66bb6
--- /dev/null
+++ b/sci-mathematics/ginac/ginac-1.8.7.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit python-any-r1
+
+DESCRIPTION="C++ library and tools for symbolic calculations"
+SRC_URI="http://www.ginac.de/${P}.tar.bz2;
+HOMEPAGE="https://www.ginac.de/;
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc examples"
+
+RDEPEND=">=sci-libs/cln-1.2.2"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   ${PYTHON_DEPS}
+   virtual/pkgconfig
+   doc? (
+   app-doc/doxygen
+   dev-texlive/texlive-fontsrecommended
+   media-gfx/transfig
+   dev-texlive/texlive-latexextra
+   virtual/texi2dvi
+   )"
+
+PATCHES=( "${FILESDIR}"/${PN}-1.8.2-pkgconfig.patch )
+
+src_configure() {
+   econf \
+   --disable-rpath \
+   --disable-static
+}
+
+src_compile() {
+   emake
+
+   if use doc; then
+   local -x VARTEXFONTS="${T}"/fonts
+   emake -C doc/reference html pdf
+   emake -C doc/tutorial ginac.pdf ginac.html
+   fi
+}
+
+src_install() {
+   default
+
+   if use doc; then
+   pushd doc >/dev/null || die
+   newdoc tutorial/ginac.pdf tutorial.pdf
+   newdoc reference/reference.pdf reference.pdf
+
+   docinto html/reference
+   dodoc -r reference/html_files/.
+
+   docinto html
+   newdoc tutorial/ginac.html tutorial.html
+   popd >/dev/null || die
+   fi
+
+   if use examples; then
+   pushd doc >/dev/null || die
+   docinto examples
+   dodoc examples/*.cpp examples/ginac-examples.*
+   docompress -x /usr/share/doc/${PF}/examples
+   popd >/dev/null || die
+   fi
+
+   # no static archives
+   find "${ED}" -name '*.la' -delete || die
+}



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

2023-06-09 Thread Arthur Zamarin
commit: 1437895cdb846e4e0285314e2f07350205b29a89
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Jun  3 14:56:58 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Jun  9 14:50:07 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1437895c

sci-mathematics/ginac: destabilize for ~x86

Signed-off-by: Arthur Zamarin  gentoo.org>

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

diff --git a/sci-mathematics/ginac/ginac-1.8.6.ebuild 
b/sci-mathematics/ginac/ginac-1.8.6.ebuild
index 0bd93e779910..00b6750a13df 100644
--- a/sci-mathematics/ginac/ginac-1.8.6.ebuild
+++ b/sci-mathematics/ginac/ginac-1.8.6.ebuild
@@ -13,7 +13,7 @@ HOMEPAGE="https://www.ginac.de/;
 
 LICENSE="GPL-2+"
 SLOT="0"
-KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
 IUSE="doc examples"
 
 RDEPEND=">=sci-libs/cln-1.2.2"



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

2023-05-25 Thread Andrey Grozin
commit: 993ce8d67214f4073036abd41f3766c8fcb4af79
Author: Andrey Grozin  gentoo  org>
AuthorDate: Thu May 25 10:17:40 2023 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Thu May 25 10:17:40 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=993ce8d6

sci-mathematics/ginac: remove old version

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

 sci-mathematics/ginac/Manifest   |  1 -
 sci-mathematics/ginac/ginac-1.8.2.ebuild | 76 
 sci-mathematics/ginac/metadata.xml   |  4 ++
 3 files changed, 4 insertions(+), 77 deletions(-)

diff --git a/sci-mathematics/ginac/Manifest b/sci-mathematics/ginac/Manifest
index 13b9a4a18754..56613b5a6eaa 100644
--- a/sci-mathematics/ginac/Manifest
+++ b/sci-mathematics/ginac/Manifest
@@ -1,2 +1 @@
-DIST ginac-1.8.2.tar.bz2 1142428 BLAKE2B 
9322ac30cd73c5290b68503a277c43751728a8d774655398038023d87796e35b8d98dff968a14faf162969877ef335b383adfb3fe695dda1357fb0208cba424a
 SHA512 
fc471cdc12b3c2597e4deb65dcca83fc9050c8a2d07a19baf605b060efe9facc9b9ffe824676c8489bdebb6f125f1052f313394d95cc2a91c29b00a45cbc403a
 DIST ginac-1.8.6.tar.bz2 1152914 BLAKE2B 
3d3d655cde0f5444fa01b0dde62a48d3c42b5a3b27e00d9608c56677fd031e639b7e4e6ac7c6cf68f807033cbe81432148d5525d76ad176b8dcd0d80aece07a1
 SHA512 
b10402d722e8216374dabdee9eba9e6de3b6afebd291a368697eb8efcd0eb8148237628bfb74713771c99977ccc46d972bacccaead3fcf35a1ab328744a7fb48

diff --git a/sci-mathematics/ginac/ginac-1.8.2.ebuild 
b/sci-mathematics/ginac/ginac-1.8.2.ebuild
deleted file mode 100644
index 318ae8355629..
--- a/sci-mathematics/ginac/ginac-1.8.2.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{9..10} )
-
-inherit python-any-r1
-
-DESCRIPTION="C++ library and tools for symbolic calculations"
-SRC_URI="http://www.ginac.de/${P}.tar.bz2;
-HOMEPAGE="https://www.ginac.de/;
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux"
-IUSE="doc examples"
-
-RDEPEND=">=sci-libs/cln-1.2.2"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   ${PYTHON_DEPS}
-   virtual/pkgconfig
-   doc? (
-   app-doc/doxygen
-   dev-texlive/texlive-fontsrecommended
-   media-gfx/transfig
-   dev-texlive/texlive-latexextra
-   virtual/texi2dvi
-   )"
-
-PATCHES=( "${FILESDIR}"/${PN}-1.8.2-pkgconfig.patch )
-
-src_configure() {
-   econf \
-   --disable-rpath \
-   --disable-static
-}
-
-src_compile() {
-   emake
-
-   if use doc; then
-   local -x VARTEXFONTS="${T}"/fonts
-   emake -C doc/reference html pdf
-   emake -C doc/tutorial ginac.pdf ginac.html
-   fi
-}
-
-src_install() {
-   default
-
-   if use doc; then
-   pushd doc >/dev/null || die
-   newdoc tutorial/ginac.pdf tutorial.pdf
-   newdoc reference/reference.pdf reference.pdf
-
-   docinto html/reference
-   dodoc -r reference/html_files/.
-
-   docinto html
-   newdoc tutorial/ginac.html tutorial.html
-   popd >/dev/null || die
-   fi
-
-   if use examples; then
-   pushd doc >/dev/null || die
-   docinto examples
-   dodoc examples/*.cpp examples/ginac-examples.*
-   docompress -x /usr/share/doc/${PF}/examples
-   popd >/dev/null || die
-   fi
-
-   # no static archives
-   find "${ED}" -name '*.la' -delete || die
-}

diff --git a/sci-mathematics/ginac/metadata.xml 
b/sci-mathematics/ginac/metadata.xml
index 7c3134727fb2..77b4449763bb 100644
--- a/sci-mathematics/ginac/metadata.xml
+++ b/sci-mathematics/ginac/metadata.xml
@@ -1,6 +1,10 @@
 
 https://www.gentoo.org/dtd/metadata.dtd;>
 
+   
+   gro...@gentoo.org
+   Andrey Grozin
+   

sci-mathemat...@gentoo.org
Gentoo Mathematics Project



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

2023-04-19 Thread Sam James
commit: 909fb8c1f1d655b6f4bee1c6a7a78f718b969785
Author: Sam James  gentoo  org>
AuthorDate: Wed Apr 19 11:52:21 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Apr 19 11:52:21 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=909fb8c1

sci-mathematics/ginac: Stabilize 1.8.6 x86, #904576

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

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

diff --git a/sci-mathematics/ginac/ginac-1.8.6.ebuild 
b/sci-mathematics/ginac/ginac-1.8.6.ebuild
index 00b6750a13df..0bd93e779910 100644
--- a/sci-mathematics/ginac/ginac-1.8.6.ebuild
+++ b/sci-mathematics/ginac/ginac-1.8.6.ebuild
@@ -13,7 +13,7 @@ HOMEPAGE="https://www.ginac.de/;
 
 LICENSE="GPL-2+"
 SLOT="0"
-KEYWORDS="amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux"
 IUSE="doc examples"
 
 RDEPEND=">=sci-libs/cln-1.2.2"



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

2023-04-19 Thread Sam James
commit: f29631841f07a02fe52b38aaf24e23713889c25e
Author: Sam James  gentoo  org>
AuthorDate: Wed Apr 19 11:29:35 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Apr 19 11:29:35 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2963184

sci-mathematics/ginac: Stabilize 1.8.6 amd64, #904576

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

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

diff --git a/sci-mathematics/ginac/ginac-1.8.6.ebuild 
b/sci-mathematics/ginac/ginac-1.8.6.ebuild
index 512edd467266..00b6750a13df 100644
--- a/sci-mathematics/ginac/ginac-1.8.6.ebuild
+++ b/sci-mathematics/ginac/ginac-1.8.6.ebuild
@@ -13,7 +13,7 @@ HOMEPAGE="https://www.ginac.de/;
 
 LICENSE="GPL-2+"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
 IUSE="doc examples"
 
 RDEPEND=">=sci-libs/cln-1.2.2"



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

2023-02-17 Thread Andrey Grozin
commit: 8f043383e3ee3e99f57f5bdc8a91b809274d385f
Author: Andrey Grozin  gentoo  org>
AuthorDate: Fri Feb 17 09:37:40 2023 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Fri Feb 17 09:37:40 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f043383

sci-mathematics/ginac: bump to 1.8.6

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

 sci-mathematics/ginac/Manifest |  1 +
 .../ginac/files/ginac-1.8.6-unicode.patch  | 12 
 sci-mathematics/ginac/ginac-1.8.6.ebuild   | 76 ++
 3 files changed, 89 insertions(+)

diff --git a/sci-mathematics/ginac/Manifest b/sci-mathematics/ginac/Manifest
index f7242284b3d1..13b9a4a18754 100644
--- a/sci-mathematics/ginac/Manifest
+++ b/sci-mathematics/ginac/Manifest
@@ -1 +1,2 @@
 DIST ginac-1.8.2.tar.bz2 1142428 BLAKE2B 
9322ac30cd73c5290b68503a277c43751728a8d774655398038023d87796e35b8d98dff968a14faf162969877ef335b383adfb3fe695dda1357fb0208cba424a
 SHA512 
fc471cdc12b3c2597e4deb65dcca83fc9050c8a2d07a19baf605b060efe9facc9b9ffe824676c8489bdebb6f125f1052f313394d95cc2a91c29b00a45cbc403a
+DIST ginac-1.8.6.tar.bz2 1152914 BLAKE2B 
3d3d655cde0f5444fa01b0dde62a48d3c42b5a3b27e00d9608c56677fd031e639b7e4e6ac7c6cf68f807033cbe81432148d5525d76ad176b8dcd0d80aece07a1
 SHA512 
b10402d722e8216374dabdee9eba9e6de3b6afebd291a368697eb8efcd0eb8148237628bfb74713771c99977ccc46d972bacccaead3fcf35a1ab328744a7fb48

diff --git a/sci-mathematics/ginac/files/ginac-1.8.6-unicode.patch 
b/sci-mathematics/ginac/files/ginac-1.8.6-unicode.patch
new file mode 100644
index ..d7e4491f7434
--- /dev/null
+++ b/sci-mathematics/ginac/files/ginac-1.8.6-unicode.patch
@@ -0,0 +1,12 @@
+diff -r -U3 ginac-1.8.6.orig/ginac/numeric.cpp ginac-1.8.6/ginac/numeric.cpp
+--- ginac-1.8.6.orig/ginac/numeric.cpp 2023-02-08 06:02:38.0 +0700
 ginac-1.8.6/ginac/numeric.cpp  2023-02-17 16:13:45.137824611 +0700
+@@ -2139,7 +2139,7 @@
+ /** The Binomial coefficients.  It computes the binomial coefficients.  For
+  *  integer n and k and positive n this is the number of ways of choosing k
+  *  objects from n distinct objects.  If n is a negative integer, the formula
+- *  binomial(n,k) == (-1)^k*binomial(k-n-1,k) (if k≥0)
++ *  binomial(n,k) == (-1)^k*binomial(k-n-1,k) (if k>=0)
+  *  binomial(n,k) == (-1)^(n-k)*binomial(-k-1,n-k) (otherwise)
+  *  is used to compute the result. */
+ const numeric binomial(const numeric , const numeric )

diff --git a/sci-mathematics/ginac/ginac-1.8.6.ebuild 
b/sci-mathematics/ginac/ginac-1.8.6.ebuild
new file mode 100644
index ..512edd467266
--- /dev/null
+++ b/sci-mathematics/ginac/ginac-1.8.6.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit python-any-r1
+
+DESCRIPTION="C++ library and tools for symbolic calculations"
+SRC_URI="http://www.ginac.de/${P}.tar.bz2;
+HOMEPAGE="https://www.ginac.de/;
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc examples"
+
+RDEPEND=">=sci-libs/cln-1.2.2"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   ${PYTHON_DEPS}
+   virtual/pkgconfig
+   doc? (
+   app-doc/doxygen
+   dev-texlive/texlive-fontsrecommended
+   media-gfx/transfig
+   dev-texlive/texlive-latexextra
+   virtual/texi2dvi
+   )"
+
+PATCHES=( "${FILESDIR}"/${PN}-1.8.2-pkgconfig.patch 
"${FILESDIR}"/${PN}-1.8.6-unicode.patch )
+
+src_configure() {
+   econf \
+   --disable-rpath \
+   --disable-static
+}
+
+src_compile() {
+   emake
+
+   if use doc; then
+   local -x VARTEXFONTS="${T}"/fonts
+   emake -C doc/reference html pdf
+   emake -C doc/tutorial ginac.pdf ginac.html
+   fi
+}
+
+src_install() {
+   default
+
+   if use doc; then
+   pushd doc >/dev/null || die
+   newdoc tutorial/ginac.pdf tutorial.pdf
+   newdoc reference/reference.pdf reference.pdf
+
+   docinto html/reference
+   dodoc -r reference/html_files/.
+
+   docinto html
+   newdoc tutorial/ginac.html tutorial.html
+   popd >/dev/null || die
+   fi
+
+   if use examples; then
+   pushd doc >/dev/null || die
+   docinto examples
+   dodoc examples/*.cpp examples/ginac-examples.*
+   docompress -x /usr/share/doc/${PF}/examples
+   popd >/dev/null || die
+   fi
+
+   # no static archives
+   find "${ED}" -name '*.la' -delete || die
+}



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

2023-02-16 Thread Andrey Grozin
commit: 2293bd76f8ad7e3153ae138b514e293056025ea8
Author: Andrey Grozin  gentoo  org>
AuthorDate: Thu Feb 16 13:11:54 2023 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Thu Feb 16 13:11:54 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2293bd76

sci-mathematics/ginac: remove old versions

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

 sci-mathematics/ginac/Manifest |  2 -
 .../ginac/files/ginac-1.5.1-pkgconfig.patch|  9 ---
 sci-mathematics/ginac/ginac-1.7.11.ebuild  | 75 --
 sci-mathematics/ginac/ginac-1.8.0.ebuild   | 75 --
 4 files changed, 161 deletions(-)

diff --git a/sci-mathematics/ginac/Manifest b/sci-mathematics/ginac/Manifest
index 1da9f835f5de..f7242284b3d1 100644
--- a/sci-mathematics/ginac/Manifest
+++ b/sci-mathematics/ginac/Manifest
@@ -1,3 +1 @@
-DIST ginac-1.7.11.tar.bz2 1077491 BLAKE2B 
741e9c8adfec15c225c3656b935707f86292b98310b50533269b238d1a9746bf54d186074c879fdbdd23f915dde225d9ee34fdbd87977835e8f9e78af364d77d
 SHA512 
35a029915c946fcc10ba7b78df6fe1ece9a9f2f6bc172816a923c35f5b495154ab356526b904ac2a16a1bd6b0a81c480c5abb39ef40238ca7b32d1acbf97276c
-DIST ginac-1.8.0.tar.bz2 1124136 BLAKE2B 
087c286f621ca5502c54c1765d948f0549a60668fd610bd16ea627af2f4056b13331097768771a0ac14807212de59b132608dc615bf2618dd487a9478dbf5a83
 SHA512 
6cacd0d87ffae24118f2fbaed4d201ee2d3812a751becef1982308e91cf489543db14443439da9333f3620dc5c8b1c32587e1aff0bed69e6e334310dc64edf49
 DIST ginac-1.8.2.tar.bz2 1142428 BLAKE2B 
9322ac30cd73c5290b68503a277c43751728a8d774655398038023d87796e35b8d98dff968a14faf162969877ef335b383adfb3fe695dda1357fb0208cba424a
 SHA512 
fc471cdc12b3c2597e4deb65dcca83fc9050c8a2d07a19baf605b060efe9facc9b9ffe824676c8489bdebb6f125f1052f313394d95cc2a91c29b00a45cbc403a

diff --git a/sci-mathematics/ginac/files/ginac-1.5.1-pkgconfig.patch 
b/sci-mathematics/ginac/files/ginac-1.5.1-pkgconfig.patch
deleted file mode 100644
index 5a6784d6b802..
--- a/sci-mathematics/ginac/files/ginac-1.5.1-pkgconfig.patch
+++ /dev/null
@@ -1,9 +0,0 @@
 ginac-1.4.4.org/ginac.pc.in2009-03-16 21:17:22.0 +0530
-+++ ginac-1.4.4/ginac.pc.in2009-03-16 21:25:28.0 +0530
-@@ -7,5 +7,5 @@
- Description: C++ library for symbolic calculations
- Version: @VERSION@
- Requires: cln >= 1.1.6
--Libs: -L${libdir} -lginac @GINACLIB_RPATH@
-+Libs: -L${libdir} -lginac
- Cflags: -I${includedir}

diff --git a/sci-mathematics/ginac/ginac-1.7.11.ebuild 
b/sci-mathematics/ginac/ginac-1.7.11.ebuild
deleted file mode 100644
index 274bb38cdad8..
--- a/sci-mathematics/ginac/ginac-1.7.11.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_9 )
-
-inherit python-any-r1
-
-DESCRIPTION="C++ library and tools for symbolic calculations"
-SRC_URI="http://www.ginac.de/${P}.tar.bz2;
-HOMEPAGE="https://www.ginac.de/;
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux"
-IUSE="doc examples"
-
-RDEPEND=">=sci-libs/cln-1.2.2"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   ${PYTHON_DEPS}
-   virtual/pkgconfig
-   doc? (
-   app-doc/doxygen
-   dev-texlive/texlive-fontsrecommended
-   media-gfx/transfig
-   virtual/texi2dvi
-   )"
-
-PATCHES=( "${FILESDIR}"/${PN}-1.5.1-pkgconfig.patch )
-
-src_configure() {
-   econf \
-   --disable-rpath \
-   --disable-static
-}
-
-src_compile() {
-   emake
-
-   if use doc; then
-   local -x VARTEXFONTS="${T}"/fonts
-   emake -C doc/reference html pdf
-   emake -C doc/tutorial ginac.pdf ginac.html
-   fi
-}
-
-src_install() {
-   default
-
-   if use doc; then
-   pushd doc >/dev/null || die
-   newdoc tutorial/ginac.pdf tutorial.pdf
-   newdoc reference/reference.pdf reference.pdf
-
-   docinto html/reference
-   dodoc -r reference/html_files/.
-
-   docinto html
-   newdoc tutorial/ginac.html tutorial.html
-   popd >/dev/null || die
-   fi
-
-   if use examples; then
-   pushd doc >/dev/null || die
-   docinto examples
-   dodoc examples/*.cpp examples/ginac-examples.*
-   docompress -x /usr/share/doc/${PF}/examples
-   popd >/dev/null || die
-   fi
-
-   # no static archives
-   find "${ED}" -name '*.la' -delete || die
-}

diff --git a/sci-mathematics/ginac/ginac-1.8.0.ebuild 
b/sci-mathematics/ginac/ginac-1.8.0.ebuild
deleted file mode 100644
index 40379de9aa16..
--- a/sci-mathematics/ginac/ginac-1.8.0.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( 

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

2022-06-07 Thread Jakov Smolić
commit: 54a40b3839ca735f4b12d9649db7b5d1ea3cd59c
Author: Jakov Smolić  gentoo  org>
AuthorDate: Tue Jun  7 08:26:24 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Tue Jun  7 08:26:24 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54a40b38

sci-mathematics/ginac: Stabilize 1.8.2 x86, #850328

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

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

diff --git a/sci-mathematics/ginac/ginac-1.8.2.ebuild 
b/sci-mathematics/ginac/ginac-1.8.2.ebuild
index 8462d5b8e596..ebe6bcd72790 100644
--- a/sci-mathematics/ginac/ginac-1.8.2.ebuild
+++ b/sci-mathematics/ginac/ginac-1.8.2.ebuild
@@ -13,7 +13,7 @@ HOMEPAGE="https://www.ginac.de/;
 
 LICENSE="GPL-2+"
 SLOT="0"
-KEYWORDS="amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux"
 IUSE="doc examples"
 
 RDEPEND=">=sci-libs/cln-1.2.2"



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

2022-06-07 Thread Jakov Smolić
commit: a9175c071f14ef0777abee4a743fcb04cbaf5691
Author: Jakov Smolić  gentoo  org>
AuthorDate: Tue Jun  7 08:25:56 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Tue Jun  7 08:25:56 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9175c07

sci-mathematics/ginac: Stabilize 1.8.2 amd64, #850328

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

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

diff --git a/sci-mathematics/ginac/ginac-1.8.2.ebuild 
b/sci-mathematics/ginac/ginac-1.8.2.ebuild
index 9d6757bca841..8462d5b8e596 100644
--- a/sci-mathematics/ginac/ginac-1.8.2.ebuild
+++ b/sci-mathematics/ginac/ginac-1.8.2.ebuild
@@ -13,7 +13,7 @@ HOMEPAGE="https://www.ginac.de/;
 
 LICENSE="GPL-2+"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
 IUSE="doc examples"
 
 RDEPEND=">=sci-libs/cln-1.2.2"



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

2022-02-02 Thread Andrey Grozin
commit: e04e32a6bd15efb28be9a2cbf9a3ccceb2e63705
Author: Andrey Grozin  gentoo  org>
AuthorDate: Wed Feb  2 15:40:15 2022 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Wed Feb  2 15:40:15 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e04e32a6

sci-mathematics/ginac: ginac-1.8.2[doc] DEPENDs on texlive-latexextra

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

 sci-mathematics/ginac/ginac-1.8.2.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sci-mathematics/ginac/ginac-1.8.2.ebuild 
b/sci-mathematics/ginac/ginac-1.8.2.ebuild
index f53cf97078dd..9d6757bca841 100644
--- a/sci-mathematics/ginac/ginac-1.8.2.ebuild
+++ b/sci-mathematics/ginac/ginac-1.8.2.ebuild
@@ -25,6 +25,7 @@ BDEPEND="
app-doc/doxygen
dev-texlive/texlive-fontsrecommended
media-gfx/transfig
+   dev-texlive/texlive-latexextra
virtual/texi2dvi
)"
 



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

2022-02-02 Thread Andrey Grozin
commit: c07ed0a4fe43b8bc8a6db0f5d0a1f1cf98dc7fcf
Author: Andrey Grozin  gentoo  org>
AuthorDate: Wed Feb  2 10:58:30 2022 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Wed Feb  2 10:58:30 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c07ed0a4

sci-mathematics/ginac: bump to 1.8.2

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

 sci-mathematics/ginac/Manifest |  1 +
 .../ginac/files/ginac-1.8.2-pkgconfig.patch|  9 +++
 sci-mathematics/ginac/ginac-1.8.2.ebuild   | 75 ++
 3 files changed, 85 insertions(+)

diff --git a/sci-mathematics/ginac/Manifest b/sci-mathematics/ginac/Manifest
index 978bbaec0563..1da9f835f5de 100644
--- a/sci-mathematics/ginac/Manifest
+++ b/sci-mathematics/ginac/Manifest
@@ -1,2 +1,3 @@
 DIST ginac-1.7.11.tar.bz2 1077491 BLAKE2B 
741e9c8adfec15c225c3656b935707f86292b98310b50533269b238d1a9746bf54d186074c879fdbdd23f915dde225d9ee34fdbd87977835e8f9e78af364d77d
 SHA512 
35a029915c946fcc10ba7b78df6fe1ece9a9f2f6bc172816a923c35f5b495154ab356526b904ac2a16a1bd6b0a81c480c5abb39ef40238ca7b32d1acbf97276c
 DIST ginac-1.8.0.tar.bz2 1124136 BLAKE2B 
087c286f621ca5502c54c1765d948f0549a60668fd610bd16ea627af2f4056b13331097768771a0ac14807212de59b132608dc615bf2618dd487a9478dbf5a83
 SHA512 
6cacd0d87ffae24118f2fbaed4d201ee2d3812a751becef1982308e91cf489543db14443439da9333f3620dc5c8b1c32587e1aff0bed69e6e334310dc64edf49
+DIST ginac-1.8.2.tar.bz2 1142428 BLAKE2B 
9322ac30cd73c5290b68503a277c43751728a8d774655398038023d87796e35b8d98dff968a14faf162969877ef335b383adfb3fe695dda1357fb0208cba424a
 SHA512 
fc471cdc12b3c2597e4deb65dcca83fc9050c8a2d07a19baf605b060efe9facc9b9ffe824676c8489bdebb6f125f1052f313394d95cc2a91c29b00a45cbc403a

diff --git a/sci-mathematics/ginac/files/ginac-1.8.2-pkgconfig.patch 
b/sci-mathematics/ginac/files/ginac-1.8.2-pkgconfig.patch
new file mode 100644
index ..6f81f1e22043
--- /dev/null
+++ b/sci-mathematics/ginac/files/ginac-1.8.2-pkgconfig.patch
@@ -0,0 +1,9 @@
+--- ginac-1.4.4.org/ginac.pc.in2009-03-16 21:17:22.0 +0530
 ginac-1.4.4/ginac.pc.in2009-03-16 21:25:28.0 +0530
+@@ -7,5 +7,5 @@
+ Description: C++ library for symbolic calculations
+ Version: @VERSION@
+ Requires: cln >= 1.2.2
+-Libs: -L${libdir} -lginac @GINACLIB_RPATH@
++Libs: -L${libdir} -lginac
+ Cflags: -I${includedir}

diff --git a/sci-mathematics/ginac/ginac-1.8.2.ebuild 
b/sci-mathematics/ginac/ginac-1.8.2.ebuild
new file mode 100644
index ..f53cf97078dd
--- /dev/null
+++ b/sci-mathematics/ginac/ginac-1.8.2.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..10} )
+
+inherit python-any-r1
+
+DESCRIPTION="C++ library and tools for symbolic calculations"
+SRC_URI="http://www.ginac.de/${P}.tar.bz2;
+HOMEPAGE="https://www.ginac.de/;
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc examples"
+
+RDEPEND=">=sci-libs/cln-1.2.2"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   ${PYTHON_DEPS}
+   virtual/pkgconfig
+   doc? (
+   app-doc/doxygen
+   dev-texlive/texlive-fontsrecommended
+   media-gfx/transfig
+   virtual/texi2dvi
+   )"
+
+PATCHES=( "${FILESDIR}"/${PN}-1.8.2-pkgconfig.patch )
+
+src_configure() {
+   econf \
+   --disable-rpath \
+   --disable-static
+}
+
+src_compile() {
+   emake
+
+   if use doc; then
+   local -x VARTEXFONTS="${T}"/fonts
+   emake -C doc/reference html pdf
+   emake -C doc/tutorial ginac.pdf ginac.html
+   fi
+}
+
+src_install() {
+   default
+
+   if use doc; then
+   pushd doc >/dev/null || die
+   newdoc tutorial/ginac.pdf tutorial.pdf
+   newdoc reference/reference.pdf reference.pdf
+
+   docinto html/reference
+   dodoc -r reference/html_files/.
+
+   docinto html
+   newdoc tutorial/ginac.html tutorial.html
+   popd >/dev/null || die
+   fi
+
+   if use examples; then
+   pushd doc >/dev/null || die
+   docinto examples
+   dodoc examples/*.cpp examples/ginac-examples.*
+   docompress -x /usr/share/doc/${PF}/examples
+   popd >/dev/null || die
+   fi
+
+   # no static archives
+   find "${ED}" -name '*.la' -delete || die
+}



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

2021-11-18 Thread Georgy Yakovlev
commit: 7b5fd8af54175da5c2c746cf6423f74ffa12a1aa
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Thu Nov 18 23:44:39 2021 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Thu Nov 18 23:50:15 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b5fd8af

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

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

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

diff --git a/sci-mathematics/ginac/ginac-1.7.11.ebuild 
b/sci-mathematics/ginac/ginac-1.7.11.ebuild
index af38764f9a32..6bd2388f1c08 100644
--- a/sci-mathematics/ginac/ginac-1.7.11.ebuild
+++ b/sci-mathematics/ginac/ginac-1.7.11.ebuild
@@ -13,7 +13,7 @@ HOMEPAGE="https://www.ginac.de/;
 
 LICENSE="GPL-2+"
 SLOT="0"
-KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux"
 IUSE="doc examples"
 
 RDEPEND=">=sci-libs/cln-1.2.2"



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

2021-04-29 Thread Andrey Grozin
commit: ad56d1fa2528b5842754ca207a28dd7105f321a3
Author: Andrey Grozin  gentoo  org>
AuthorDate: Thu Apr 29 14:15:59 2021 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Thu Apr 29 14:15:59 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad56d1fa

sci-mathematics/ginac: bump to 1.8.0

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

 sci-mathematics/ginac/Manifest   |  1 +
 sci-mathematics/ginac/ginac-1.8.0.ebuild | 75 
 2 files changed, 76 insertions(+)

diff --git a/sci-mathematics/ginac/Manifest b/sci-mathematics/ginac/Manifest
index a825a00b9fd..978bbaec056 100644
--- a/sci-mathematics/ginac/Manifest
+++ b/sci-mathematics/ginac/Manifest
@@ -1 +1,2 @@
 DIST ginac-1.7.11.tar.bz2 1077491 BLAKE2B 
741e9c8adfec15c225c3656b935707f86292b98310b50533269b238d1a9746bf54d186074c879fdbdd23f915dde225d9ee34fdbd87977835e8f9e78af364d77d
 SHA512 
35a029915c946fcc10ba7b78df6fe1ece9a9f2f6bc172816a923c35f5b495154ab356526b904ac2a16a1bd6b0a81c480c5abb39ef40238ca7b32d1acbf97276c
+DIST ginac-1.8.0.tar.bz2 1124136 BLAKE2B 
087c286f621ca5502c54c1765d948f0549a60668fd610bd16ea627af2f4056b13331097768771a0ac14807212de59b132608dc615bf2618dd487a9478dbf5a83
 SHA512 
6cacd0d87ffae24118f2fbaed4d201ee2d3812a751becef1982308e91cf489543db14443439da9333f3620dc5c8b1c32587e1aff0bed69e6e334310dc64edf49

diff --git a/sci-mathematics/ginac/ginac-1.8.0.ebuild 
b/sci-mathematics/ginac/ginac-1.8.0.ebuild
new file mode 100644
index 000..8c06689bf02
--- /dev/null
+++ b/sci-mathematics/ginac/ginac-1.8.0.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+
+inherit python-any-r1
+
+DESCRIPTION="C++ library and tools for symbolic calculations"
+SRC_URI="http://www.ginac.de/${P}.tar.bz2;
+HOMEPAGE="https://www.ginac.de/;
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc examples"
+
+RDEPEND=">=sci-libs/cln-1.2.2"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   ${PYTHON_DEPS}
+   virtual/pkgconfig
+   doc? (
+   app-doc/doxygen
+   dev-texlive/texlive-fontsrecommended
+   media-gfx/transfig
+   virtual/texi2dvi
+   )"
+
+PATCHES=( "${FILESDIR}"/${PN}-1.5.1-pkgconfig.patch )
+
+src_configure() {
+   econf \
+   --disable-rpath \
+   --disable-static
+}
+
+src_compile() {
+   emake
+
+   if use doc; then
+   local -x VARTEXFONTS="${T}"/fonts
+   emake -C doc/reference html pdf
+   emake -C doc/tutorial ginac.pdf ginac.html
+   fi
+}
+
+src_install() {
+   default
+
+   if use doc; then
+   pushd doc >/dev/null || die
+   newdoc tutorial/ginac.pdf tutorial.pdf
+   newdoc reference/reference.pdf reference.pdf
+
+   docinto html/reference
+   dodoc -r reference/html_files/.
+
+   docinto html
+   newdoc tutorial/ginac.html tutorial.html
+   popd >/dev/null || die
+   fi
+
+   if use examples; then
+   pushd doc >/dev/null || die
+   docinto examples
+   dodoc examples/*.cpp examples/ginac-examples.*
+   docompress -x /usr/share/doc/${PF}/examples
+   popd >/dev/null || die
+   fi
+
+   # no static archives
+   find "${ED}" -name '*.la' -delete || die
+}



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

2021-02-16 Thread Andreas Sturmlechner
commit: e04e9dfd0458ae1e7c3521733886ed18a0469cd2
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Tue Feb 16 14:15:11 2021 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Tue Feb 16 14:37:27 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e04e9dfd

sci-mathematics/ginac: Drop 1.6.6, EAPI5--

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

 sci-mathematics/ginac/Manifest   |  1 -
 sci-mathematics/ginac/ginac-1.6.6.ebuild | 58 
 2 files changed, 59 deletions(-)

diff --git a/sci-mathematics/ginac/Manifest b/sci-mathematics/ginac/Manifest
index 488cde2756a..a825a00b9fd 100644
--- a/sci-mathematics/ginac/Manifest
+++ b/sci-mathematics/ginac/Manifest
@@ -1,2 +1 @@
-DIST ginac-1.6.6.tar.bz2 1028211 BLAKE2B 
3f939e82cfa833ee5ba6714d4db38edf80de4e380b0bcacfe23992ca3c5eefbd719506cf77f57aebc1517968eff7d26c8d24d14167c596e5e7145458367074e8
 SHA512 
495ef255dd32e71ee91257a515c0566e56525e0c54c8955c19beaf9e2e55457f7d8171c7e5f6e4f29f555f5d262bbaf4edf4f033166c4904c016987a5029e958
 DIST ginac-1.7.11.tar.bz2 1077491 BLAKE2B 
741e9c8adfec15c225c3656b935707f86292b98310b50533269b238d1a9746bf54d186074c879fdbdd23f915dde225d9ee34fdbd87977835e8f9e78af364d77d
 SHA512 
35a029915c946fcc10ba7b78df6fe1ece9a9f2f6bc172816a923c35f5b495154ab356526b904ac2a16a1bd6b0a81c480c5abb39ef40238ca7b32d1acbf97276c

diff --git a/sci-mathematics/ginac/ginac-1.6.6.ebuild 
b/sci-mathematics/ginac/ginac-1.6.6.ebuild
deleted file mode 100644
index 5ef31d19d3c..000
--- a/sci-mathematics/ginac/ginac-1.6.6.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit autotools-utils
-
-DESCRIPTION="C++ library and tools for symbolic calculations"
-SRC_URI="http://www.ginac.de/${P}.tar.bz2;
-HOMEPAGE="https://www.ginac.de/;
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux"
-IUSE="doc static-libs"
-
-RDEPEND=">=sci-libs/cln-1.2.2"
-DEPEND="${RDEPEND}
-   virtual/pkgconfig
-   doc? ( app-doc/doxygen
-  media-gfx/transfig
-  virtual/texi2dvi
-  dev-texlive/texlive-fontsrecommended
-)"
-
-PATCHES=( "${FILESDIR}"/${PN}-1.5.1-pkgconfig.patch )
-
-src_configure() {
-   local myeconfargs=( --disable-rpath )
-   autotools-utils_src_configure
-}
-
-src_compile() {
-   autotools-utils_src_compile
-   if use doc; then
-   export VARTEXFONTS="${T}"/fonts
-   cd "${BUILD_DIR}/doc/reference"
-   emake html pdf
-   cd "${BUILD_DIR}/doc/tutorial"
-   emake ginac.pdf ginac.html
-   fi
-}
-
-src_install() {
-   autotools-utils_src_install
-   if use doc; then
-   cd "${BUILD_DIR}"/doc
-   insinto /usr/share/doc/${PF}
-   newins tutorial/ginac.pdf tutorial.pdf
-   newins reference/reference.pdf reference.pdf
-   insinto /usr/share/doc/${PF}/html/reference
-   doins -r reference/html_files/*
-   insinto /usr/share/doc/${PF}/html
-   newins tutorial/ginac.html tutorial.html
-   insinto /usr/share/doc/${PF}/examples
-   doins "${S}"/doc/examples/*.cpp examples/ginac-examples.*
-   fi
-}



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

2021-02-09 Thread Sam James
commit: bfa45fbe587f94b75821919da85132b994f20ce1
Author: Sam James  gentoo  org>
AuthorDate: Tue Feb  9 21:30:20 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb  9 21:30:20 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bfa45fbe

sci-mathematics/ginac: Stabilize 1.7.11 amd64, #766797

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

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

diff --git a/sci-mathematics/ginac/ginac-1.7.11.ebuild 
b/sci-mathematics/ginac/ginac-1.7.11.ebuild
index fd97ccace9a..6bd2388f1c0 100644
--- a/sci-mathematics/ginac/ginac-1.7.11.ebuild
+++ b/sci-mathematics/ginac/ginac-1.7.11.ebuild
@@ -13,7 +13,7 @@ HOMEPAGE="https://www.ginac.de/;
 
 LICENSE="GPL-2+"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux"
 IUSE="doc examples"
 
 RDEPEND=">=sci-libs/cln-1.2.2"



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

2021-02-09 Thread Sam James
commit: c486cbf73016542b40964124b57fc2e1f6fa309b
Author: Sam James  gentoo  org>
AuthorDate: Tue Feb  9 09:47:47 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb  9 09:47:47 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c486cbf7

sci-mathematics/ginac: Stabilize 1.7.11 x86, #766797

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

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

diff --git a/sci-mathematics/ginac/ginac-1.7.11.ebuild 
b/sci-mathematics/ginac/ginac-1.7.11.ebuild
index 8c06689bf02..fd97ccace9a 100644
--- a/sci-mathematics/ginac/ginac-1.7.11.ebuild
+++ b/sci-mathematics/ginac/ginac-1.7.11.ebuild
@@ -13,7 +13,7 @@ HOMEPAGE="https://www.ginac.de/;
 
 LICENSE="GPL-2+"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~ppc x86 ~amd64-linux ~x86-linux"
 IUSE="doc examples"
 
 RDEPEND=">=sci-libs/cln-1.2.2"



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

2021-01-31 Thread David Seifert
commit: e9309c11a0caa5cb3cfce81cbf54efcadedcfa33
Author: David Seifert  gentoo  org>
AuthorDate: Sun Jan 31 19:24:38 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Jan 31 19:24:38 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9309c11

sci-mathematics/ginac: Depend on python-any-r1

* Also fix src_test()

Closes: https://bugs.gentoo.org/763516
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: David Seifert  gentoo.org>

 sci-mathematics/ginac/ginac-1.7.11.ebuild | 66 +--
 1 file changed, 36 insertions(+), 30 deletions(-)

diff --git a/sci-mathematics/ginac/ginac-1.7.11.ebuild 
b/sci-mathematics/ginac/ginac-1.7.11.ebuild
index bd90fbd5c1b..8c06689bf02 100644
--- a/sci-mathematics/ginac/ginac-1.7.11.ebuild
+++ b/sci-mathematics/ginac/ginac-1.7.11.ebuild
@@ -1,9 +1,11 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit multilib flag-o-matic
+PYTHON_COMPAT=( python3_{7..9} )
+
+inherit python-any-r1
 
 DESCRIPTION="C++ library and tools for symbolic calculations"
 SRC_URI="http://www.ginac.de/${P}.tar.bz2;
@@ -12,58 +14,62 @@ HOMEPAGE="https://www.ginac.de/;
 LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
-IUSE="doc static-libs"
+IUSE="doc examples"
 
 RDEPEND=">=sci-libs/cln-1.2.2"
-DEPEND="${RDEPEND}
+DEPEND="${RDEPEND}"
+BDEPEND="
+   ${PYTHON_DEPS}
virtual/pkgconfig
-   doc? ( app-doc/doxygen
-  media-gfx/transfig
-  virtual/texi2dvi
-  dev-texlive/texlive-fontsrecommended
-)"
+   doc? (
+   app-doc/doxygen
+   dev-texlive/texlive-fontsrecommended
+   media-gfx/transfig
+   virtual/texi2dvi
+   )"
 
 PATCHES=( "${FILESDIR}"/${PN}-1.5.1-pkgconfig.patch )
 
 src_configure() {
-   append-cxxflags -std=c++14
-   econf --disable-rpath $(use_enable static-libs static)
+   econf \
+   --disable-rpath \
+   --disable-static
 }
 
 src_compile() {
emake
+
if use doc; then
-   export VARTEXFONTS="${T}"/fonts
-   pushd doc/reference >> /dev/null || die "pushd doc/reference 
failed"
-   emake html pdf
-   popd >> /dev/null
-   pushd doc/tutorial >> /dev/null || die "pushd doc/tutorial 
failed"
-   emake ginac.pdf ginac.html
-   popd >> /dev/null
+   local -x VARTEXFONTS="${T}"/fonts
+   emake -C doc/reference html pdf
+   emake -C doc/tutorial ginac.pdf ginac.html
fi
 }
 
-src_test() {
-   pushd ../${P}_build > /dev/null
-   emake check
-   popd > /dev/null
-}
-
 src_install() {
default
-   if ! use static-libs; then
-   rm "${D}"/usr/$(get_libdir)/lib${PN}.la || die "cannot rm 
lib${PN}.la"
-   fi
+
if use doc; then
-   pushd doc > /dev/null || die "pushd doc failed"
+   pushd doc >/dev/null || die
newdoc tutorial/ginac.pdf tutorial.pdf
newdoc reference/reference.pdf reference.pdf
+
docinto html/reference
dodoc -r reference/html_files/.
+
docinto html
newdoc tutorial/ginac.html tutorial.html
+   popd >/dev/null || die
+   fi
+
+   if use examples; then
+   pushd doc >/dev/null || die
docinto examples
-   dodoc "${S}"/doc/examples/*.cpp examples/ginac-examples.*
-   popd > /dev/null
+   dodoc examples/*.cpp examples/ginac-examples.*
+   docompress -x /usr/share/doc/${PF}/examples
+   popd >/dev/null || die
fi
+
+   # no static archives
+   find "${ED}" -name '*.la' -delete || die
 }



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

2020-08-21 Thread Andrey Grozin
commit: 5684a38597f4b180a25375a3d424f53595de1865
Author: Andrey Grozin  gentoo  org>
AuthorDate: Fri Aug 21 08:58:19 2020 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Fri Aug 21 08:58:19 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5684a385

sci-mathematics/ginac: clean old

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

 sci-mathematics/ginac/Manifest   |  2 -
 sci-mathematics/ginac/ginac-1.7.2.ebuild | 65 ---
 sci-mathematics/ginac/ginac-1.7.4.ebuild | 67 
 3 files changed, 134 deletions(-)

diff --git a/sci-mathematics/ginac/Manifest b/sci-mathematics/ginac/Manifest
index 951c6a8b720..0fd1bc43829 100644
--- a/sci-mathematics/ginac/Manifest
+++ b/sci-mathematics/ginac/Manifest
@@ -1,5 +1,3 @@
 DIST ginac-1.6.6.tar.bz2 1028211 BLAKE2B 
3f939e82cfa833ee5ba6714d4db38edf80de4e380b0bcacfe23992ca3c5eefbd719506cf77f57aebc1517968eff7d26c8d24d14167c596e5e7145458367074e8
 SHA512 
495ef255dd32e71ee91257a515c0566e56525e0c54c8955c19beaf9e2e55457f7d8171c7e5f6e4f29f555f5d262bbaf4edf4f033166c4904c016987a5029e958
 DIST ginac-1.7.11.tar.bz2 1077491 BLAKE2B 
741e9c8adfec15c225c3656b935707f86292b98310b50533269b238d1a9746bf54d186074c879fdbdd23f915dde225d9ee34fdbd87977835e8f9e78af364d77d
 SHA512 
35a029915c946fcc10ba7b78df6fe1ece9a9f2f6bc172816a923c35f5b495154ab356526b904ac2a16a1bd6b0a81c480c5abb39ef40238ca7b32d1acbf97276c
-DIST ginac-1.7.2.tar.bz2 1056339 BLAKE2B 
116be56df781d6e9675f914b9f75af86736183dbd26a1ff5e7f6f3cc79e4efc31449bc4fd5454b0f73cf189749a00f071d2b7cc519005e1f3b772b6b1521d508
 SHA512 
5c356beb8e0830b9f5805870f67298d4c19e512db8b8f46a37b490c19179a5c99e4497439e5adb575dd97e7deb5fe0b931a4b6db80e98a8e1e6f46977e33d8cf
-DIST ginac-1.7.4.tar.bz2 1062724 BLAKE2B 
742ec49629fecb14a2294ca9e8dc1df52cdad2d2e11cebbffa3c23a64592c597f872dd8294bc9324ea1f88e540f75015d09ea526ef9d67689943bb6c94325911
 SHA512 
740c221a0115bd233723f3032a77b1389122694b2893c52d4c7ed778c7332981c152f6ea81b35352882c14b42542f64963d5199af3f492af97f79a6e6c52156c
 DIST ginac-1.7.8.tar.bz2 1075317 BLAKE2B 
6ae917b442c090fa6c6b28f543eecfc2a8119a63d15494933f0cb1c979f018d6439551e52e92b6d50c8cf83ce2df66aca4bb6be947e5b18cbfab2539c42e0ad2
 SHA512 
4d5a0e52108aee2438362d66d6b5f3e3a108855fc2c0ab2bc521ddc9a2a87c9b1404ae5304ba7d1dbcf6e985bfe26c730e14f3f46d63d0bdffe242f4a948c6a0

diff --git a/sci-mathematics/ginac/ginac-1.7.2.ebuild 
b/sci-mathematics/ginac/ginac-1.7.2.ebuild
deleted file mode 100644
index 8caa65f652b..000
--- a/sci-mathematics/ginac/ginac-1.7.2.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit autotools-utils flag-o-matic
-
-DESCRIPTION="C++ library and tools for symbolic calculations"
-SRC_URI="http://www.ginac.de/${P}.tar.bz2;
-HOMEPAGE="https://www.ginac.de/;
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
-IUSE="doc static-libs"
-
-RDEPEND=">=sci-libs/cln-1.2.2"
-DEPEND="${RDEPEND}
-   virtual/pkgconfig
-   doc? ( app-doc/doxygen
-  media-gfx/transfig
-  virtual/texi2dvi
-  dev-texlive/texlive-fontsrecommended
-)"
-
-PATCHES=( "${FILESDIR}"/${PN}-1.5.1-pkgconfig.patch )
-
-src_configure() {
-   local myeconfargs=( --disable-rpath )
-   append-cxxflags -std=c++11
-   autotools-utils_src_configure
-}
-
-src_compile() {
-   autotools-utils_src_compile
-   if use doc; then
-   export VARTEXFONTS="${T}"/fonts
-   cd "${BUILD_DIR}/doc/reference"
-   emake html pdf
-   cd "${BUILD_DIR}/doc/tutorial"
-   emake ginac.pdf ginac.html
-   fi
-}
-
-src_test() {
-   pushd ../${P}_build > /dev/null
-   emake check
-   popd > /dev/null
-}
-
-src_install() {
-   autotools-utils_src_install
-   if use doc; then
-   cd "${BUILD_DIR}"/doc
-   insinto /usr/share/doc/${PF}
-   newins tutorial/ginac.pdf tutorial.pdf
-   newins reference/reference.pdf reference.pdf
-   insinto /usr/share/doc/${PF}/html/reference
-   doins -r reference/html_files/*
-   insinto /usr/share/doc/${PF}/html
-   newins tutorial/ginac.html tutorial.html
-   insinto /usr/share/doc/${PF}/examples
-   doins "${S}"/doc/examples/*.cpp examples/ginac-examples.*
-   fi
-}

diff --git a/sci-mathematics/ginac/ginac-1.7.4.ebuild 
b/sci-mathematics/ginac/ginac-1.7.4.ebuild
deleted file mode 100644
index d1ccecc918f..000
--- a/sci-mathematics/ginac/ginac-1.7.4.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit flag-o-matic
-
-DESCRIPTION="C++ library and tools for symbolic 

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

2020-08-21 Thread Andrey Grozin
commit: 7eb9bacc1926ca74e60e2952b082e604462d4b3a
Author: Andrey Grozin  gentoo  org>
AuthorDate: Fri Aug 21 08:56:30 2020 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Fri Aug 21 08:56:30 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7eb9bacc

sci-mathematics/ginac: bump to 1.7.11

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

 sci-mathematics/ginac/Manifest|  1 +
 sci-mathematics/ginac/ginac-1.7.11.ebuild | 69 +++
 2 files changed, 70 insertions(+)

diff --git a/sci-mathematics/ginac/Manifest b/sci-mathematics/ginac/Manifest
index 235eb557b28..951c6a8b720 100644
--- a/sci-mathematics/ginac/Manifest
+++ b/sci-mathematics/ginac/Manifest
@@ -1,4 +1,5 @@
 DIST ginac-1.6.6.tar.bz2 1028211 BLAKE2B 
3f939e82cfa833ee5ba6714d4db38edf80de4e380b0bcacfe23992ca3c5eefbd719506cf77f57aebc1517968eff7d26c8d24d14167c596e5e7145458367074e8
 SHA512 
495ef255dd32e71ee91257a515c0566e56525e0c54c8955c19beaf9e2e55457f7d8171c7e5f6e4f29f555f5d262bbaf4edf4f033166c4904c016987a5029e958
+DIST ginac-1.7.11.tar.bz2 1077491 BLAKE2B 
741e9c8adfec15c225c3656b935707f86292b98310b50533269b238d1a9746bf54d186074c879fdbdd23f915dde225d9ee34fdbd87977835e8f9e78af364d77d
 SHA512 
35a029915c946fcc10ba7b78df6fe1ece9a9f2f6bc172816a923c35f5b495154ab356526b904ac2a16a1bd6b0a81c480c5abb39ef40238ca7b32d1acbf97276c
 DIST ginac-1.7.2.tar.bz2 1056339 BLAKE2B 
116be56df781d6e9675f914b9f75af86736183dbd26a1ff5e7f6f3cc79e4efc31449bc4fd5454b0f73cf189749a00f071d2b7cc519005e1f3b772b6b1521d508
 SHA512 
5c356beb8e0830b9f5805870f67298d4c19e512db8b8f46a37b490c19179a5c99e4497439e5adb575dd97e7deb5fe0b931a4b6db80e98a8e1e6f46977e33d8cf
 DIST ginac-1.7.4.tar.bz2 1062724 BLAKE2B 
742ec49629fecb14a2294ca9e8dc1df52cdad2d2e11cebbffa3c23a64592c597f872dd8294bc9324ea1f88e540f75015d09ea526ef9d67689943bb6c94325911
 SHA512 
740c221a0115bd233723f3032a77b1389122694b2893c52d4c7ed778c7332981c152f6ea81b35352882c14b42542f64963d5199af3f492af97f79a6e6c52156c
 DIST ginac-1.7.8.tar.bz2 1075317 BLAKE2B 
6ae917b442c090fa6c6b28f543eecfc2a8119a63d15494933f0cb1c979f018d6439551e52e92b6d50c8cf83ce2df66aca4bb6be947e5b18cbfab2539c42e0ad2
 SHA512 
4d5a0e52108aee2438362d66d6b5f3e3a108855fc2c0ab2bc521ddc9a2a87c9b1404ae5304ba7d1dbcf6e985bfe26c730e14f3f46d63d0bdffe242f4a948c6a0

diff --git a/sci-mathematics/ginac/ginac-1.7.11.ebuild 
b/sci-mathematics/ginac/ginac-1.7.11.ebuild
new file mode 100644
index 000..bd90fbd5c1b
--- /dev/null
+++ b/sci-mathematics/ginac/ginac-1.7.11.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit multilib flag-o-matic
+
+DESCRIPTION="C++ library and tools for symbolic calculations"
+SRC_URI="http://www.ginac.de/${P}.tar.bz2;
+HOMEPAGE="https://www.ginac.de/;
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc static-libs"
+
+RDEPEND=">=sci-libs/cln-1.2.2"
+DEPEND="${RDEPEND}
+   virtual/pkgconfig
+   doc? ( app-doc/doxygen
+  media-gfx/transfig
+  virtual/texi2dvi
+  dev-texlive/texlive-fontsrecommended
+)"
+
+PATCHES=( "${FILESDIR}"/${PN}-1.5.1-pkgconfig.patch )
+
+src_configure() {
+   append-cxxflags -std=c++14
+   econf --disable-rpath $(use_enable static-libs static)
+}
+
+src_compile() {
+   emake
+   if use doc; then
+   export VARTEXFONTS="${T}"/fonts
+   pushd doc/reference >> /dev/null || die "pushd doc/reference 
failed"
+   emake html pdf
+   popd >> /dev/null
+   pushd doc/tutorial >> /dev/null || die "pushd doc/tutorial 
failed"
+   emake ginac.pdf ginac.html
+   popd >> /dev/null
+   fi
+}
+
+src_test() {
+   pushd ../${P}_build > /dev/null
+   emake check
+   popd > /dev/null
+}
+
+src_install() {
+   default
+   if ! use static-libs; then
+   rm "${D}"/usr/$(get_libdir)/lib${PN}.la || die "cannot rm 
lib${PN}.la"
+   fi
+   if use doc; then
+   pushd doc > /dev/null || die "pushd doc failed"
+   newdoc tutorial/ginac.pdf tutorial.pdf
+   newdoc reference/reference.pdf reference.pdf
+   docinto html/reference
+   dodoc -r reference/html_files/.
+   docinto html
+   newdoc tutorial/ginac.html tutorial.html
+   docinto examples
+   dodoc "${S}"/doc/examples/*.cpp examples/ginac-examples.*
+   popd > /dev/null
+   fi
+}



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

2020-02-01 Thread Andrey Grozin
commit: 5ef6f433aa4056e478f0768036da8995b9f7cfe7
Author: Andrey Grozin  gentoo  org>
AuthorDate: Sat Feb  1 09:13:59 2020 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Sat Feb  1 09:13:59 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ef6f433

sci-mathematics/ginac: ebuild improvements

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

 sci-mathematics/ginac/ginac-1.7.8.ebuild | 17 -
 1 file changed, 8 insertions(+), 9 deletions(-)

diff --git a/sci-mathematics/ginac/ginac-1.7.8.ebuild 
b/sci-mathematics/ginac/ginac-1.7.8.ebuild
index 05317f9ecc2..b8985e5df43 100644
--- a/sci-mathematics/ginac/ginac-1.7.8.ebuild
+++ b/sci-mathematics/ginac/ginac-1.7.8.ebuild
@@ -53,15 +53,14 @@ src_install() {
default
if use doc; then
pushd doc > /dev/null || die "pushd doc failed"
-   insinto /usr/share/doc/${PF}
-   newins tutorial/ginac.pdf tutorial.pdf
-   newins reference/reference.pdf reference.pdf
-   insinto /usr/share/doc/${PF}/html/reference
-   doins -r reference/html_files/*
-   insinto /usr/share/doc/${PF}/html
-   newins tutorial/ginac.html tutorial.html
-   insinto /usr/share/doc/${PF}/examples
-   doins "${S}"/doc/examples/*.cpp examples/ginac-examples.*
+   newdoc tutorial/ginac.pdf tutorial.pdf
+   newdoc reference/reference.pdf reference.pdf
+   docinto html/reference
+   dodoc -r reference/html_files/.
+   docinto html
+   newdoc tutorial/ginac.html tutorial.html
+   docinto examples
+   dodoc "${S}"/doc/examples/*.cpp examples/ginac-examples.*
popd > /dev/null
fi
 }



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

2020-01-31 Thread Andrey Grozin
commit: f21c0c6b36b63518e3f8703b3c70d3d0149a4912
Author: Andrey Grozin  gentoo  org>
AuthorDate: Fri Jan 31 16:27:36 2020 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Fri Jan 31 16:27:36 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f21c0c6b

sci-mathematics/ginac: bump to 1.7.8

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

 sci-mathematics/ginac/Manifest   |  1 +
 sci-mathematics/ginac/ginac-1.7.8.ebuild | 67 
 2 files changed, 68 insertions(+)

diff --git a/sci-mathematics/ginac/Manifest b/sci-mathematics/ginac/Manifest
index 375c838a4eb..235eb557b28 100644
--- a/sci-mathematics/ginac/Manifest
+++ b/sci-mathematics/ginac/Manifest
@@ -1,3 +1,4 @@
 DIST ginac-1.6.6.tar.bz2 1028211 BLAKE2B 
3f939e82cfa833ee5ba6714d4db38edf80de4e380b0bcacfe23992ca3c5eefbd719506cf77f57aebc1517968eff7d26c8d24d14167c596e5e7145458367074e8
 SHA512 
495ef255dd32e71ee91257a515c0566e56525e0c54c8955c19beaf9e2e55457f7d8171c7e5f6e4f29f555f5d262bbaf4edf4f033166c4904c016987a5029e958
 DIST ginac-1.7.2.tar.bz2 1056339 BLAKE2B 
116be56df781d6e9675f914b9f75af86736183dbd26a1ff5e7f6f3cc79e4efc31449bc4fd5454b0f73cf189749a00f071d2b7cc519005e1f3b772b6b1521d508
 SHA512 
5c356beb8e0830b9f5805870f67298d4c19e512db8b8f46a37b490c19179a5c99e4497439e5adb575dd97e7deb5fe0b931a4b6db80e98a8e1e6f46977e33d8cf
 DIST ginac-1.7.4.tar.bz2 1062724 BLAKE2B 
742ec49629fecb14a2294ca9e8dc1df52cdad2d2e11cebbffa3c23a64592c597f872dd8294bc9324ea1f88e540f75015d09ea526ef9d67689943bb6c94325911
 SHA512 
740c221a0115bd233723f3032a77b1389122694b2893c52d4c7ed778c7332981c152f6ea81b35352882c14b42542f64963d5199af3f492af97f79a6e6c52156c
+DIST ginac-1.7.8.tar.bz2 1075317 BLAKE2B 
6ae917b442c090fa6c6b28f543eecfc2a8119a63d15494933f0cb1c979f018d6439551e52e92b6d50c8cf83ce2df66aca4bb6be947e5b18cbfab2539c42e0ad2
 SHA512 
4d5a0e52108aee2438362d66d6b5f3e3a108855fc2c0ab2bc521ddc9a2a87c9b1404ae5304ba7d1dbcf6e985bfe26c730e14f3f46d63d0bdffe242f4a948c6a0

diff --git a/sci-mathematics/ginac/ginac-1.7.8.ebuild 
b/sci-mathematics/ginac/ginac-1.7.8.ebuild
new file mode 100644
index 000..05317f9ecc2
--- /dev/null
+++ b/sci-mathematics/ginac/ginac-1.7.8.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic
+
+DESCRIPTION="C++ library and tools for symbolic calculations"
+SRC_URI="http://www.ginac.de/${P}.tar.bz2;
+HOMEPAGE="https://www.ginac.de/;
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc static-libs"
+
+RDEPEND=">=sci-libs/cln-1.2.2"
+DEPEND="${RDEPEND}
+   virtual/pkgconfig
+   doc? ( app-doc/doxygen
+  media-gfx/transfig
+  virtual/texi2dvi
+  dev-texlive/texlive-fontsrecommended
+)"
+
+PATCHES=( "${FILESDIR}"/${PN}-1.5.1-pkgconfig.patch )
+
+src_configure() {
+   append-cxxflags -std=c++14
+   econf --disable-rpath
+}
+
+src_compile() {
+   emake
+   if use doc; then
+   export VARTEXFONTS="${T}"/fonts
+   pushd doc/reference >> /dev/null || die "pushd doc/reference 
failed"
+   emake html pdf
+   popd >> /dev/null
+   pushd doc/tutorial >> /dev/null || die "pushd doc/tutorial 
failed"
+   emake ginac.pdf ginac.html
+   popd >> /dev/null
+   fi
+}
+
+src_test() {
+   pushd ../${P}_build > /dev/null
+   emake check
+   popd > /dev/null
+}
+
+src_install() {
+   default
+   if use doc; then
+   pushd doc > /dev/null || die "pushd doc failed"
+   insinto /usr/share/doc/${PF}
+   newins tutorial/ginac.pdf tutorial.pdf
+   newins reference/reference.pdf reference.pdf
+   insinto /usr/share/doc/${PF}/html/reference
+   doins -r reference/html_files/*
+   insinto /usr/share/doc/${PF}/html
+   newins tutorial/ginac.html tutorial.html
+   insinto /usr/share/doc/${PF}/examples
+   doins "${S}"/doc/examples/*.cpp examples/ginac-examples.*
+   popd > /dev/null
+   fi
+}



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

2018-06-26 Thread Andrey Grozin
commit: bc79aa41cb7575acc5b3da468d1eba02cf4d921c
Author: Andrey Grozin  gentoo  org>
AuthorDate: Tue Jun 26 11:57:33 2018 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Tue Jun 26 11:57:33 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc79aa41

sci-mathematics/ginac: bump to 1.7.4

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 sci-mathematics/ginac/Manifest   |  1 +
 sci-mathematics/ginac/ginac-1.7.4.ebuild | 67 
 2 files changed, 68 insertions(+)

diff --git a/sci-mathematics/ginac/Manifest b/sci-mathematics/ginac/Manifest
index 6e6127ecfc4..375c838a4eb 100644
--- a/sci-mathematics/ginac/Manifest
+++ b/sci-mathematics/ginac/Manifest
@@ -1,2 +1,3 @@
 DIST ginac-1.6.6.tar.bz2 1028211 BLAKE2B 
3f939e82cfa833ee5ba6714d4db38edf80de4e380b0bcacfe23992ca3c5eefbd719506cf77f57aebc1517968eff7d26c8d24d14167c596e5e7145458367074e8
 SHA512 
495ef255dd32e71ee91257a515c0566e56525e0c54c8955c19beaf9e2e55457f7d8171c7e5f6e4f29f555f5d262bbaf4edf4f033166c4904c016987a5029e958
 DIST ginac-1.7.2.tar.bz2 1056339 BLAKE2B 
116be56df781d6e9675f914b9f75af86736183dbd26a1ff5e7f6f3cc79e4efc31449bc4fd5454b0f73cf189749a00f071d2b7cc519005e1f3b772b6b1521d508
 SHA512 
5c356beb8e0830b9f5805870f67298d4c19e512db8b8f46a37b490c19179a5c99e4497439e5adb575dd97e7deb5fe0b931a4b6db80e98a8e1e6f46977e33d8cf
+DIST ginac-1.7.4.tar.bz2 1062724 BLAKE2B 
742ec49629fecb14a2294ca9e8dc1df52cdad2d2e11cebbffa3c23a64592c597f872dd8294bc9324ea1f88e540f75015d09ea526ef9d67689943bb6c94325911
 SHA512 
740c221a0115bd233723f3032a77b1389122694b2893c52d4c7ed778c7332981c152f6ea81b35352882c14b42542f64963d5199af3f492af97f79a6e6c52156c

diff --git a/sci-mathematics/ginac/ginac-1.7.4.ebuild 
b/sci-mathematics/ginac/ginac-1.7.4.ebuild
new file mode 100644
index 000..d1ccecc918f
--- /dev/null
+++ b/sci-mathematics/ginac/ginac-1.7.4.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic
+
+DESCRIPTION="C++ library and tools for symbolic calculations"
+SRC_URI="http://www.ginac.de/${P}.tar.bz2;
+HOMEPAGE="https://www.ginac.de/;
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc static-libs"
+
+RDEPEND=">=sci-libs/cln-1.2.2"
+DEPEND="${RDEPEND}
+   virtual/pkgconfig
+   doc? ( app-doc/doxygen
+  media-gfx/transfig
+  virtual/texi2dvi
+  dev-texlive/texlive-fontsrecommended
+)"
+
+PATCHES=( "${FILESDIR}"/${PN}-1.5.1-pkgconfig.patch )
+
+src_configure() {
+   append-cxxflags -std=c++14
+   econf --disable-rpath
+}
+
+src_compile() {
+   emake
+   if use doc; then
+   export VARTEXFONTS="${T}"/fonts
+   pushd doc/reference >> /dev/null || die "pushd doc/reference 
failed"
+   emake html pdf
+   popd >> /dev/null
+   pushd doc/tutorial >> /dev/null || die "pushd doc/tutorial 
failed"
+   emake ginac.pdf ginac.html
+   popd >> /dev/null
+   fi
+}
+
+src_test() {
+   pushd ../${P}_build > /dev/null
+   emake check
+   popd > /dev/null
+}
+
+src_install() {
+   default
+   if use doc; then
+   pushd doc > /dev/null || die "pushd doc failed"
+   insinto /usr/share/doc/${PF}
+   newins tutorial/ginac.pdf tutorial.pdf
+   newins reference/reference.pdf reference.pdf
+   insinto /usr/share/doc/${PF}/html/reference
+   doins -r reference/html_files/*
+   insinto /usr/share/doc/${PF}/html
+   newins tutorial/ginac.html tutorial.html
+   insinto /usr/share/doc/${PF}/examples
+   doins "${S}"/doc/examples/*.cpp examples/ginac-examples.*
+   popd > /dev/null
+   fi
+}



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

2017-03-11 Thread David Seifert
commit: cf3ea9dcebef711b7e02d0765ae7594f0456
Author: David Seifert  gentoo  org>
AuthorDate: Sat Mar 11 10:05:29 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Mar 11 10:12:49 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf3ea9dc

sci-mathematics/ginac: Remove old

Package-Manager: Portage-2.3.4, Repoman-2.3.2

 sci-mathematics/ginac/Manifest   |  3 --
 sci-mathematics/ginac/ginac-1.5.8.ebuild | 58 --
 sci-mathematics/ginac/ginac-1.6.1.ebuild | 61 
 sci-mathematics/ginac/ginac-1.6.2.ebuild | 59 --
 4 files changed, 181 deletions(-)

diff --git a/sci-mathematics/ginac/Manifest b/sci-mathematics/ginac/Manifest
index e939462b2ec..230a4f24ff5 100644
--- a/sci-mathematics/ginac/Manifest
+++ b/sci-mathematics/ginac/Manifest
@@ -1,5 +1,2 @@
-DIST ginac-1.5.8.tar.bz2 1003965 SHA256 
8ce72e70f7539e9a2b32539e13eb651fd688d1423dd90bcf0b9c37b592cfc2dd SHA512 
08d9f1b47f369328d5133e4fe286d6bfcd71f30f1c5024bf1310bb88e9fea321da809e5d9f92c08b84f4a7c09af6c342af2f8cb2328857a33671237c6082b167
 WHIRLPOOL 
a30e446a06a595cc4044bea6d3f49c335d8d8e44216ce2cc143d0bfe5702665ffdefb77a76dd07867dae1c1dbae2cbae029433b005849d5109b38238eddde634
-DIST ginac-1.6.1.tar.bz2 1048724 SHA256 
0658c4a528f37871c5ec24496373fede4e3e59d3223beaf880c75f07a9c2f680 SHA512 
5c009e1960d701600f47b306f492b24dccb04cbd4e21d594833db5acf620e230928e1ca471c773918c7d264f057301ddc3a2aa95987d773a9575640ff44f6066
 WHIRLPOOL 
ee95088bd700536ba9246d0145a986b8550d1f2ea479e31b0d8d2bc791f7176e9f2d4d119063626b78156f786f0f44e882429b9a91950c8d130fb8fe7c9d1c57
-DIST ginac-1.6.2.tar.bz2 1048764 SHA256 
0f34d255024b3fb258e44da84f9e82dfb3dc9bc15f0999b7a18204a730663bde SHA512 
6625f9958a1a6167e49d3a3ca442855fa1eab88926565747fda70a8b770db34da0c001f175fa94102ecec1f823d921eba9c98daabd6ed63548bff2b31a3b49cb
 WHIRLPOOL 
40442b8c5820165f4970e95107ce2ac8e22d1c39b60be615d00eefe1f94e061eb6407cf3e8c0bfab15b4b9974168c97ece6cc188c76a8e9484ad9ff065f87962
 DIST ginac-1.6.6.tar.bz2 1028211 SHA256 
25ec6d535ee77caf6161843688489cfc319b6c4fda46c5d7878587ee5562ddce SHA512 
495ef255dd32e71ee91257a515c0566e56525e0c54c8955c19beaf9e2e55457f7d8171c7e5f6e4f29f555f5d262bbaf4edf4f033166c4904c016987a5029e958
 WHIRLPOOL 
c4efc7286377da939ad8196b898086bb67b63102b23c703d3b5fc462be108fc96883597dea50297ec4a26d5bd19f15af8b01c36782c6e6a1886c284cf19771fc
 DIST ginac-1.7.2.tar.bz2 1056339 SHA256 
24b75b61c5cb272534e35b3f2cfd64f053b28aee7402af4b0e569ec4de21d8b7 SHA512 
5c356beb8e0830b9f5805870f67298d4c19e512db8b8f46a37b490c19179a5c99e4497439e5adb575dd97e7deb5fe0b931a4b6db80e98a8e1e6f46977e33d8cf
 WHIRLPOOL 
7f913725b078dc63bf9dd335b17b813d3e4ee36f21eb932f27d06fbff69feb308d719a4432a3ce6fdd9b84e3d478b523c1a7149fa874ad92106962480a597f0d

diff --git a/sci-mathematics/ginac/ginac-1.5.8.ebuild 
b/sci-mathematics/ginac/ginac-1.5.8.ebuild
deleted file mode 100644
index 92850f2e542..000
--- a/sci-mathematics/ginac/ginac-1.5.8.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=2
-inherit eutils
-
-DESCRIPTION="C++ library and tools for symbolic calculations"
-SRC_URI="ftp://ftpthep.physik.uni-mainz.de/pub/GiNaC/${P}.tar.bz2;
-HOMEPAGE="http://www.ginac.de/;
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE="doc"
-
-RDEPEND=">=sci-libs/cln-1.2.2"
-DEPEND="${RDEPEND}
-   virtual/pkgconfig
-   doc? ( app-doc/doxygen
-  media-gfx/transfig
-  virtual/texi2dvi
-  dev-texlive/texlive-fontsrecommended
-)"
-
-src_prepare() {
-   epatch "${FILESDIR}"/${PN}-1.5.1-pkgconfig.patch
-}
-
-src_compile() {
-   emake || die "emake failed"
-   if use doc; then
-   export VARTEXFONTS="${T}"/fonts
-   cd "${S}/doc/reference"
-   #pdf generation for reference failed (1.5.1), bug #264774
-   #emake html pdf || die "emake doc reference failed"
-   emake html || die "emake ref failed"
-   cd "${S}/doc/tutorial"
-  emake ginac.pdf ginac.html || die "emake doc tutorial failed"
-   fi
-}
-
-src_install() {
-   emake DESTDIR="${D}" install || die "emake install failed"
-   dodoc README NEWS AUTHORS || die
-
-   if use doc; then
-   cd doc
-   insinto /usr/share/doc/${PF}
-   newins tutorial/ginac.pdf tutorial.pdf || die "tutorial install 
failed"
-   #newins reference/ginac.pdf reference.pdf || die "ref install 
failed"
-   insinto /usr/share/doc/${PF}/html/reference
-   doins -r reference/html_files/* || die
-   insinto /usr/share/doc/${PF}/html
-   newins tutorial/ginac.html tutorial.html
-   insinto /usr/share/doc/${PF}/examples
-   doins examples/*.cpp examples/ginac-examples.txt
- 

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

2017-02-05 Thread Andrey Grozin
commit: 603a74606c3f62841386fcf4134c84a33280d2bb
Author: Andrey Grozin  gentoo  org>
AuthorDate: Sun Feb  5 20:49:46 2017 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Sun Feb  5 20:51:22 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=603a7460

sci-mathematics/ginac: bump to 1.7.2

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 sci-mathematics/ginac/Manifest   |  1 +
 sci-mathematics/ginac/ginac-1.7.2.ebuild | 66 
 2 files changed, 67 insertions(+)

diff --git a/sci-mathematics/ginac/Manifest b/sci-mathematics/ginac/Manifest
index bfadcbf..e939462 100644
--- a/sci-mathematics/ginac/Manifest
+++ b/sci-mathematics/ginac/Manifest
@@ -2,3 +2,4 @@ DIST ginac-1.5.8.tar.bz2 1003965 SHA256 
8ce72e70f7539e9a2b32539e13eb651fd688d142
 DIST ginac-1.6.1.tar.bz2 1048724 SHA256 
0658c4a528f37871c5ec24496373fede4e3e59d3223beaf880c75f07a9c2f680 SHA512 
5c009e1960d701600f47b306f492b24dccb04cbd4e21d594833db5acf620e230928e1ca471c773918c7d264f057301ddc3a2aa95987d773a9575640ff44f6066
 WHIRLPOOL 
ee95088bd700536ba9246d0145a986b8550d1f2ea479e31b0d8d2bc791f7176e9f2d4d119063626b78156f786f0f44e882429b9a91950c8d130fb8fe7c9d1c57
 DIST ginac-1.6.2.tar.bz2 1048764 SHA256 
0f34d255024b3fb258e44da84f9e82dfb3dc9bc15f0999b7a18204a730663bde SHA512 
6625f9958a1a6167e49d3a3ca442855fa1eab88926565747fda70a8b770db34da0c001f175fa94102ecec1f823d921eba9c98daabd6ed63548bff2b31a3b49cb
 WHIRLPOOL 
40442b8c5820165f4970e95107ce2ac8e22d1c39b60be615d00eefe1f94e061eb6407cf3e8c0bfab15b4b9974168c97ece6cc188c76a8e9484ad9ff065f87962
 DIST ginac-1.6.6.tar.bz2 1028211 SHA256 
25ec6d535ee77caf6161843688489cfc319b6c4fda46c5d7878587ee5562ddce SHA512 
495ef255dd32e71ee91257a515c0566e56525e0c54c8955c19beaf9e2e55457f7d8171c7e5f6e4f29f555f5d262bbaf4edf4f033166c4904c016987a5029e958
 WHIRLPOOL 
c4efc7286377da939ad8196b898086bb67b63102b23c703d3b5fc462be108fc96883597dea50297ec4a26d5bd19f15af8b01c36782c6e6a1886c284cf19771fc
+DIST ginac-1.7.2.tar.bz2 1056339 SHA256 
24b75b61c5cb272534e35b3f2cfd64f053b28aee7402af4b0e569ec4de21d8b7 SHA512 
5c356beb8e0830b9f5805870f67298d4c19e512db8b8f46a37b490c19179a5c99e4497439e5adb575dd97e7deb5fe0b931a4b6db80e98a8e1e6f46977e33d8cf
 WHIRLPOOL 
7f913725b078dc63bf9dd335b17b813d3e4ee36f21eb932f27d06fbff69feb308d719a4432a3ce6fdd9b84e3d478b523c1a7149fa874ad92106962480a597f0d

diff --git a/sci-mathematics/ginac/ginac-1.7.2.ebuild 
b/sci-mathematics/ginac/ginac-1.7.2.ebuild
new file mode 100644
index ..fa64fbc
--- /dev/null
+++ b/sci-mathematics/ginac/ginac-1.7.2.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit autotools-utils flag-o-matic
+
+DESCRIPTION="C++ library and tools for symbolic calculations"
+SRC_URI="http://www.ginac.de/${P}.tar.bz2;
+HOMEPAGE="http://www.ginac.de/;
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc static-libs"
+
+RDEPEND=">=sci-libs/cln-1.2.2"
+DEPEND="${RDEPEND}
+   virtual/pkgconfig
+   doc? ( app-doc/doxygen
+  media-gfx/transfig
+  virtual/texi2dvi
+  dev-texlive/texlive-fontsrecommended
+)"
+
+PATCHES=( "${FILESDIR}"/${PN}-1.5.1-pkgconfig.patch )
+
+src_configure() {
+   local myeconfargs=( --disable-rpath )
+   append-cxxflags -std=c++11
+   autotools-utils_src_configure
+}
+
+src_compile() {
+   autotools-utils_src_compile
+   if use doc; then
+   export VARTEXFONTS="${T}"/fonts
+   cd "${BUILD_DIR}/doc/reference"
+   emake html pdf
+   cd "${BUILD_DIR}/doc/tutorial"
+   emake ginac.pdf ginac.html
+   fi
+}
+
+src_test() {
+   pushd ../${P}_build > /dev/null
+   emake check
+   popd > /dev/null
+}
+
+src_install() {
+   autotools-utils_src_install
+   if use doc; then
+   cd "${BUILD_DIR}"/doc
+   insinto /usr/share/doc/${PF}
+   newins tutorial/ginac.pdf tutorial.pdf
+   newins reference/reference.pdf reference.pdf
+   insinto /usr/share/doc/${PF}/html/reference
+   doins -r reference/html_files/*
+   insinto /usr/share/doc/${PF}/html
+   newins tutorial/ginac.html tutorial.html
+   insinto /usr/share/doc/${PF}/examples
+   doins "${S}"/doc/examples/*.cpp examples/ginac-examples.*
+   fi
+}



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

2016-06-25 Thread Agostino Sarubbo
commit: f9e750524432324929855f0afc332fb5a96f2a4e
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Jun 25 20:12:01 2016 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Jun 25 20:13:27 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9e75052

sci-mathematics/ginac: x86 stable wrt bug #572024

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

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

diff --git a/sci-mathematics/ginac/ginac-1.6.6.ebuild 
b/sci-mathematics/ginac/ginac-1.6.6.ebuild
index cc7c6e0..581a96d 100644
--- a/sci-mathematics/ginac/ginac-1.6.6.ebuild
+++ b/sci-mathematics/ginac/ginac-1.6.6.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="http://www.ginac.de/;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux"
 IUSE="doc static-libs"
 
 RDEPEND=">=sci-libs/cln-1.2.2"



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

2016-05-13 Thread Agostino Sarubbo
commit: 6b906b53dd4593ed7f76b8c3bc885cc87ffbb5c7
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri May 13 14:50:45 2016 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri May 13 14:50:45 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b906b53

sci-mathematics/ginac: amd64 stable wrt bug #572024

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

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

diff --git a/sci-mathematics/ginac/ginac-1.6.6.ebuild 
b/sci-mathematics/ginac/ginac-1.6.6.ebuild
index 45bd713..cc7c6e0 100644
--- a/sci-mathematics/ginac/ginac-1.6.6.ebuild
+++ b/sci-mathematics/ginac/ginac-1.6.6.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="http://www.ginac.de/;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
 IUSE="doc static-libs"
 
 RDEPEND=">=sci-libs/cln-1.2.2"



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

2016-01-02 Thread Andrey Grozin
commit: ba8cc7951401f253480ce8746e2ed0472dacd029
Author: Andrey Grozin  gentoo  org>
AuthorDate: Sat Jan  2 18:02:55 2016 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Sat Jan  2 18:04:02 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba8cc795

sci-mathematics/ginac: bump to 1.6.6

Package-Manager: portage-2.2.26

 sci-mathematics/ginac/Manifest   |  1 +
 sci-mathematics/ginac/ginac-1.6.6.ebuild | 59 
 2 files changed, 60 insertions(+)

diff --git a/sci-mathematics/ginac/Manifest b/sci-mathematics/ginac/Manifest
index 3b1485f..bfadcbf 100644
--- a/sci-mathematics/ginac/Manifest
+++ b/sci-mathematics/ginac/Manifest
@@ -1,3 +1,4 @@
 DIST ginac-1.5.8.tar.bz2 1003965 SHA256 
8ce72e70f7539e9a2b32539e13eb651fd688d1423dd90bcf0b9c37b592cfc2dd SHA512 
08d9f1b47f369328d5133e4fe286d6bfcd71f30f1c5024bf1310bb88e9fea321da809e5d9f92c08b84f4a7c09af6c342af2f8cb2328857a33671237c6082b167
 WHIRLPOOL 
a30e446a06a595cc4044bea6d3f49c335d8d8e44216ce2cc143d0bfe5702665ffdefb77a76dd07867dae1c1dbae2cbae029433b005849d5109b38238eddde634
 DIST ginac-1.6.1.tar.bz2 1048724 SHA256 
0658c4a528f37871c5ec24496373fede4e3e59d3223beaf880c75f07a9c2f680 SHA512 
5c009e1960d701600f47b306f492b24dccb04cbd4e21d594833db5acf620e230928e1ca471c773918c7d264f057301ddc3a2aa95987d773a9575640ff44f6066
 WHIRLPOOL 
ee95088bd700536ba9246d0145a986b8550d1f2ea479e31b0d8d2bc791f7176e9f2d4d119063626b78156f786f0f44e882429b9a91950c8d130fb8fe7c9d1c57
 DIST ginac-1.6.2.tar.bz2 1048764 SHA256 
0f34d255024b3fb258e44da84f9e82dfb3dc9bc15f0999b7a18204a730663bde SHA512 
6625f9958a1a6167e49d3a3ca442855fa1eab88926565747fda70a8b770db34da0c001f175fa94102ecec1f823d921eba9c98daabd6ed63548bff2b31a3b49cb
 WHIRLPOOL 
40442b8c5820165f4970e95107ce2ac8e22d1c39b60be615d00eefe1f94e061eb6407cf3e8c0bfab15b4b9974168c97ece6cc188c76a8e9484ad9ff065f87962
+DIST ginac-1.6.6.tar.bz2 1028211 SHA256 
25ec6d535ee77caf6161843688489cfc319b6c4fda46c5d7878587ee5562ddce SHA512 
495ef255dd32e71ee91257a515c0566e56525e0c54c8955c19beaf9e2e55457f7d8171c7e5f6e4f29f555f5d262bbaf4edf4f033166c4904c016987a5029e958
 WHIRLPOOL 
c4efc7286377da939ad8196b898086bb67b63102b23c703d3b5fc462be108fc96883597dea50297ec4a26d5bd19f15af8b01c36782c6e6a1886c284cf19771fc

diff --git a/sci-mathematics/ginac/ginac-1.6.6.ebuild 
b/sci-mathematics/ginac/ginac-1.6.6.ebuild
new file mode 100644
index 000..45bd713
--- /dev/null
+++ b/sci-mathematics/ginac/ginac-1.6.6.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit autotools-utils
+
+DESCRIPTION="C++ library and tools for symbolic calculations"
+SRC_URI="http://www.ginac.de/${P}.tar.bz2;
+HOMEPAGE="http://www.ginac.de/;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc static-libs"
+
+RDEPEND=">=sci-libs/cln-1.2.2"
+DEPEND="${RDEPEND}
+   virtual/pkgconfig
+   doc? ( app-doc/doxygen
+  media-gfx/transfig
+  virtual/texi2dvi
+  dev-texlive/texlive-fontsrecommended
+)"
+
+PATCHES=( "${FILESDIR}"/${PN}-1.5.1-pkgconfig.patch )
+
+src_configure() {
+   local myeconfargs=( --disable-rpath )
+   autotools-utils_src_configure
+}
+
+src_compile() {
+   autotools-utils_src_compile
+   if use doc; then
+   export VARTEXFONTS="${T}"/fonts
+   cd "${BUILD_DIR}/doc/reference"
+   emake html pdf
+   cd "${BUILD_DIR}/doc/tutorial"
+   emake ginac.pdf ginac.html
+   fi
+}
+
+src_install() {
+   autotools-utils_src_install
+   if use doc; then
+   cd "${BUILD_DIR}"/doc
+   insinto /usr/share/doc/${PF}
+   newins tutorial/ginac.pdf tutorial.pdf
+   newins reference/reference.pdf reference.pdf
+   insinto /usr/share/doc/${PF}/html/reference
+   doins -r reference/html_files/*
+   insinto /usr/share/doc/${PF}/html
+   newins tutorial/ginac.html tutorial.html
+   insinto /usr/share/doc/${PF}/examples
+   doins "${S}"/doc/examples/*.cpp examples/ginac-examples.*
+   fi
+}