public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andrey Grozin" <grozin@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/ginac/
Date: Tue, 26 Jun 2018 11:58:06 +0000 (UTC)	[thread overview]
Message-ID: <1530014253.bc79aa41cb7575acc5b3da468d1eba02cf4d921c.grozin@gentoo> (raw)

commit:     bc79aa41cb7575acc5b3da468d1eba02cf4d921c
Author:     Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 26 11:57:33 2018 +0000
Commit:     Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Tue Jun 26 11:57:33 2018 +0000
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 00000000000..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
+}


             reply	other threads:[~2018-06-26 11:58 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-26 11:58 Andrey Grozin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-05-29 11:47 [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/ginac/ Sam James
2024-05-23  9:14 Florian Schmaus
2024-04-18 11:53 Andrey Grozin
2023-12-16  9:28 Joonas Niilola
2023-11-13  7:34 Sam James
2023-11-12 12:28 Pacho Ramos
2023-08-29 11:48 Andrey Grozin
2023-06-09 15:06 Arthur Zamarin
2023-05-25 10:18 Andrey Grozin
2023-04-19 11:52 Sam James
2023-04-19 11:29 Sam James
2022-06-07  8:26 Jakov Smolić
2022-06-07  8:26 Jakov Smolić
2022-02-02 15:40 Andrey Grozin
2021-11-18 23:50 Georgy Yakovlev
2021-04-29 14:16 Andrey Grozin
2021-02-16 14:39 Andreas Sturmlechner
2021-02-09 21:30 Sam James
2021-02-09  9:48 Sam James
2021-01-31 19:24 David Seifert
2020-08-21  8:58 Andrey Grozin
2020-08-21  8:56 Andrey Grozin
2020-02-01  9:14 Andrey Grozin
2020-01-31 16:27 Andrey Grozin
2017-03-11 10:13 David Seifert
2017-02-05 20:52 Andrey Grozin
2016-06-25 20:14 Agostino Sarubbo
2016-05-13 14:51 Agostino Sarubbo
2016-01-02 18:09 Andrey Grozin

Reply instructions:

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

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

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

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

  git send-email \
    --in-reply-to=1530014253.bc79aa41cb7575acc5b3da468d1eba02cf4d921c.grozin@gentoo \
    --to=grozin@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

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

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