mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 22:47:14 -08:00
sci-mathematics/ginac: bump to 1.8.2
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andrey Grozin <grozin@gentoo.org>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
--- ginac-1.4.4.org/ginac.pc.in 2009-03-16 21:17:22.000000000 +0530
|
||||
+++ ginac-1.4.4/ginac.pc.in 2009-03-16 21:25:28.000000000 +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}
|
||||
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user