diff options
author | François Bissey <frp.bissey@gmail.com> | 2022-05-20 11:25:25 +1200 |
---|---|---|
committer | Michael Orlitzky <mjo@gentoo.org> | 2022-05-27 07:57:31 -0400 |
commit | 9a8b90b9ade6af143558eaa0b5769177703a8028 (patch) | |
tree | 59f9e5505957d88cca69bc5021a8a38095c07a73 /sci-mathematics/singular | |
parent | sci-mathematics/singular: upstream bump (diff) | |
download | gentoo-9a8b90b9ade6af143558eaa0b5769177703a8028.tar.gz gentoo-9a8b90b9ade6af143558eaa0b5769177703a8028.tar.bz2 gentoo-9a8b90b9ade6af143558eaa0b5769177703a8028.zip |
sci-mathematics/singular: clean singular 4.3.0
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: François René Pierre Bissey <frp.bissey@gmail.com>
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
Diffstat (limited to 'sci-mathematics/singular')
-rw-r--r-- | sci-mathematics/singular/Manifest | 1 | ||||
-rw-r--r-- | sci-mathematics/singular/files/singular-4.3.0-includes.patch | 29 | ||||
-rw-r--r-- | sci-mathematics/singular/files/singular-4.3.0-slibtool.patch | 33 | ||||
-rw-r--r-- | sci-mathematics/singular/singular-4.3.0.ebuild | 115 |
4 files changed, 0 insertions, 178 deletions
diff --git a/sci-mathematics/singular/Manifest b/sci-mathematics/singular/Manifest index 3128bf56af08..d5014a7d783e 100644 --- a/sci-mathematics/singular/Manifest +++ b/sci-mathematics/singular/Manifest @@ -2,5 +2,4 @@ DIST singular-4.2.0p1.tar.gz 14155171 BLAKE2B 444553f87d7ca8d6a62e4519c9857a6892 DIST singular-4.2.0p3.tar.gz 16641923 BLAKE2B 4dd7e1a42c71bbba625e171aee656580b443656f50458909ffae1af81b1413d5330aa032656032ea365225eb088491fe2a48997895e37bc89eea5f17b8fbebb8 SHA512 b9833389b648ec4ba2bd09253f00254b9ae3dc61313fc81c9003b283fc413caab4274e55750de1c342ef24a8fc0ce817643cd31eabbb2999de7f5017dfa1411f DIST singular-4.2.1.tar.gz 16643430 BLAKE2B 2cfc33bd59a5e8756c7ce022ad2b38477a0d7a6747b3c4fd4b1b168cfd179ace52121506cda2c4d5f318abca72231c74f649ede349b17b5f138083428d9da766 SHA512 48bebbe9c886ee56bb2f7bdd9e356bd33e357a2d707c976b8496200f422a2ba25d7c9bba22a261574428abf73a8b6b111d35236fca647e32619659059e861916 DIST singular-4.2.1p3.tar.gz 15042102 BLAKE2B 9958c1c432f8a3516387cfe7b258d2e22e8e9fdf3874de53a803b34e353088a3ce246a90b78db43f186717985b503d2355f524ee80784e63b186d53217fdeead SHA512 1e6533fcf966499e9ad145b640e7e5878eb9738bd65535aaa517c5e98dedb09bc99bf832359e9b6dca2fff615237f855bd861820e592a885341aa82e7a9a9168 -DIST singular-4.3.0.tar.gz 15098830 BLAKE2B 9d99683c23e0fe031866807a7f24888d8e759b93ce8f454db702fee2b5200942957360edb1563f832715837f7908dbc3f37aa2a3bd1224dcf7eaa8594fc0a51f SHA512 b765536fc929f2445a3f7bea73a6a351ff98fe3326b9f3ba99c5b1cec3bfb494ed957725aad548e349a2a3f8a4058ef350ab11e7153091c9b0233f201008bbb2 DIST singular-4.3.0p1.tar.gz 15097535 BLAKE2B 0afc8adea054ccdf68f276b3c4c25e55f938ef9cf9c85fbab86163c6d6839dcfb3d8e1632c135d4d3c978477f165d58727d35c6aaac2f39b4b6f942ca8bbb062 SHA512 af4d3377e9ea8f0b5f34db42c36817e8cf47717accba40c151b68213d8e0832bee71e480e22c60fcc6ced619f6117c24f6d18b87cf66406a175b38e3a7aece69 diff --git a/sci-mathematics/singular/files/singular-4.3.0-includes.patch b/sci-mathematics/singular/files/singular-4.3.0-includes.patch deleted file mode 100644 index 07df5c0cc068..000000000000 --- a/sci-mathematics/singular/files/singular-4.3.0-includes.patch +++ /dev/null @@ -1,29 +0,0 @@ -From bbc293564bf76fcdfdc37354d406b7ca77bc780f Mon Sep 17 00:00:00 2001 -From: Hans Schoenemann <hannes@mathematik.uni-kl.de> -Date: Wed, 19 Jan 2022 15:02:14 +0100 -Subject: [PATCH] fix: missing includes - ---- - kernel/oswrapper/feread.cc | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/kernel/oswrapper/feread.cc b/kernel/oswrapper/feread.cc -index ccdd272285..5491007478 100644 ---- a/kernel/oswrapper/feread.cc -+++ b/kernel/oswrapper/feread.cc -@@ -7,6 +7,7 @@ - - #include "kernel/mod2.h" - #include <errno.h> -+#include <stdio.h> - - // ---------------------------------------- - // system settings: -@@ -21,6 +22,7 @@ - #include "misc/options.h" - - #include "kernel/oswrapper/feread.h" -+#include "reporter/reporter.h" - - #if defined(HAVE_DYN_RL) - #include <unistd.h> diff --git a/sci-mathematics/singular/files/singular-4.3.0-slibtool.patch b/sci-mathematics/singular/files/singular-4.3.0-slibtool.patch deleted file mode 100644 index 72d88979e870..000000000000 --- a/sci-mathematics/singular/files/singular-4.3.0-slibtool.patch +++ /dev/null @@ -1,33 +0,0 @@ -diff --git a/libpolys/configure.ac b/libpolys/configure.ac -index ba7d911..346602f 100644 ---- a/libpolys/configure.ac -+++ b/libpolys/configure.ac -@@ -88,6 +88,7 @@ AC_CANONICAL_HOST - - case $host_os in - *cygwin* ) AX_APPEND_LINK_FLAGS([-Wl,-Bdynamic]);; -+ *) AX_APPEND_LINK_FLAGS([-shared -dynamic -export-dynamic -avoid-version -flat_namespace],[P_PROCS_MODULE_LDFLAGS]);; - esac - - dnl INCLUDES="" -diff --git a/libpolys/polys/Makefile.am b/libpolys/polys/Makefile.am -index 23f216e..119c4ef 100644 ---- a/libpolys/polys/Makefile.am -+++ b/libpolys/polys/Makefile.am -@@ -69,12 +69,10 @@ p_Procs_FieldIndep_la_CPPFLAGS = -Dp_Procs_FieldIndep ${P_PROCS_CPPFLAGS_COMMON} - p_Procs_FieldQ_la_CPPFLAGS = -Dp_Procs_FieldQ ${P_PROCS_CPPFLAGS_COMMON} - p_Procs_FieldZp_la_CPPFLAGS = -Dp_Procs_FieldZp ${P_PROCS_CPPFLAGS_COMMON} - --P_PROCS_MODULE_LDFLAGS = -shared -module -dynamic -export-dynamic -avoid-version -weak_reference_mismatches weak -undefined dynamic_lookup -flat_namespace -- --p_Procs_FieldGeneral_la_LDFLAGS = ${P_PROCS_MODULE_LDFLAGS} --p_Procs_FieldIndep_la_LDFLAGS = ${P_PROCS_MODULE_LDFLAGS} --p_Procs_FieldQ_la_LDFLAGS = ${P_PROCS_MODULE_LDFLAGS} --p_Procs_FieldZp_la_LDFLAGS = ${P_PROCS_MODULE_LDFLAGS} -+p_Procs_FieldGeneral_la_LDFLAGS = -module ${P_PROCS_MODULE_LDFLAGS} -+p_Procs_FieldIndep_la_LDFLAGS = -module ${P_PROCS_MODULE_LDFLAGS} -+p_Procs_FieldQ_la_LDFLAGS = -module ${P_PROCS_MODULE_LDFLAGS} -+p_Procs_FieldZp_la_LDFLAGS = -module ${P_PROCS_MODULE_LDFLAGS} - - P_PROCS = templates/p_Procs_Lib.cc - diff --git a/sci-mathematics/singular/singular-4.3.0.ebuild b/sci-mathematics/singular/singular-4.3.0.ebuild deleted file mode 100644 index e2ccc7d6e9a3..000000000000 --- a/sci-mathematics/singular/singular-4.3.0.ebuild +++ /dev/null @@ -1,115 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools elisp-common flag-o-matic - -MY_PN=Singular -MY_PV=$(ver_rs 3 '') -# Consistency is different... -MY_DIR2=$(ver_cut 1-3 ${PV}) -MY_DIR=$(ver_rs 1- '-' ${MY_DIR2}) - -DESCRIPTION="Computer algebra system for polynomial computations" -HOMEPAGE="https://www.singular.uni-kl.de/ https://github.com/Singular/Singular" -SRC_URI="ftp://jim.mathematik.uni-kl.de/pub/Math/${MY_PN}/SOURCES/${MY_DIR}/${PN}-${MY_PV}.tar.gz" -S="${WORKDIR}/${PN}-${MY_DIR2}" - -LICENSE="BSD GPL-2 GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~riscv ~x86 ~x86-linux" -IUSE="emacs examples polymake +readline static-libs" - -RDEPEND=" - dev-lang/perl - dev-libs/gmp:0 - dev-libs/ntl:= - sci-libs/cddlib - sci-mathematics/flint - emacs? ( >=app-editors/emacs-23.1:* ) - polymake? ( sci-mathematics/polymake ) - readline? ( sys-libs/readline ) -" -DEPEND="${RDEPEND}" - -SITEFILE=60${PN}-gentoo.el - -PATCHES=( - "${FILESDIR}/${PN}-4.2.1-htmldoc.patch" - "${FILESDIR}/${PN}-4.3.0-slibtool.patch" - "${FILESDIR}/${PN}-4.3.0-includes.patch" -) - -src_prepare() { - default - - eautoreconf -} - -src_configure() { - local myconf=( - --disable-debug - --disable-doc - --disable-optimizationflags - --disable-pyobject-module - --disable-python - --disable-python-module - --disable-python_module - --enable-factory - --enable-gfanlib - --enable-libfac - --with-flint - --with-gmp - --with-libparse - --with-ntl - --without-python - --without-pythonmodule - $(use_enable emacs) - $(use_enable polymake polymake-module) - $(use_enable static-libs static) - $(use_with readline) - ) - econf "${myconf[@]}" -} - -src_compile() { - default - - if use emacs; then - pushd "${S}"/emacs - elisp-compile *.el || die "elisp-compile failed" - popd - fi -} - -src_install() { - # Do not compress singular's info file (singular.hlp) - # some consumer of that file do not know how to deal with compression - docompress -x /usr/share/info - - default - - dosym Singular /usr/bin/"${PN}" - - # purge .la file - find "${ED}" -name '*.la' -delete || die -} - -src_test() { - # SINGULAR_PROCS_DIR need to be set to "" otherwise plugins from - # an already installed version of singular may be used and cause segfault - # See https://github.com/Singular/Sources/issues/980 - SINGULAR_PROCS_DIR="" emake check -} - -pkg_postinst() { - einfo "Additional functionality can be enabled by installing" - einfo "sci-mathematics/4ti2" - - use emacs && elisp-site-regen -} - -pkg_postrm() { - use emacs && elisp-site-regen -} |