Gentoo Archives: gentoo-commits

From: Michael Orlitzky <mjo@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/singular/
Date: Sat, 25 Dec 2021 19:08:10
Message-Id: 1640459208.304205feeea7c3f40ee2103d96b98ee97e20615e.mjo@gentoo
1 commit: 304205feeea7c3f40ee2103d96b98ee97e20615e
2 Author: François Bissey <frp.bissey <AT> gmail <DOT> com>
3 AuthorDate: Sat Dec 18 09:38:32 2021 +0000
4 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
5 CommitDate: Sat Dec 25 19:06:48 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=304205fe
7
8 sci-mathematics/singular: move to 4.2.1p3 - sync with 4.2.1-r1 options
9
10 Closes: https://github.com/gentoo/gentoo/pull/23281
11 Closes: https://bugs.gentoo.org/829029
12 Package-Manager: Portage-3.0.28, Repoman-3.0.3
13 Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>
14
15 sci-mathematics/singular/Manifest | 2 +-
16 ...ar-4.2.1_p2.ebuild => singular-4.2.1_p3.ebuild} | 69 ++++++++++++----------
17 2 files changed, 38 insertions(+), 33 deletions(-)
18
19 diff --git a/sci-mathematics/singular/Manifest b/sci-mathematics/singular/Manifest
20 index 7d1224ad896e..a9dfa6eea61d 100644
21 --- a/sci-mathematics/singular/Manifest
22 +++ b/sci-mathematics/singular/Manifest
23 @@ -1,4 +1,4 @@
24 DIST singular-4.2.0p1.tar.gz 14155171 BLAKE2B 444553f87d7ca8d6a62e4519c9857a6892757e92285df7c3b686913a9b51c9ae8d802c41382b0b2b6e37dc2dc496d4a10f262c98407470219cdce131e8baf127 SHA512 2ecd8940c9e8d70a93dbdb4df6da313c00151e5cb959f8eed5856e8df99089b5a03e514fbcdc70903c77df8b59fa7ef9f3b134f1de510b795fa6ea0341089bd8
25 DIST singular-4.2.0p3.tar.gz 16641923 BLAKE2B 4dd7e1a42c71bbba625e171aee656580b443656f50458909ffae1af81b1413d5330aa032656032ea365225eb088491fe2a48997895e37bc89eea5f17b8fbebb8 SHA512 b9833389b648ec4ba2bd09253f00254b9ae3dc61313fc81c9003b283fc413caab4274e55750de1c342ef24a8fc0ce817643cd31eabbb2999de7f5017dfa1411f
26 DIST singular-4.2.1.tar.gz 16643430 BLAKE2B 2cfc33bd59a5e8756c7ce022ad2b38477a0d7a6747b3c4fd4b1b168cfd179ace52121506cda2c4d5f318abca72231c74f649ede349b17b5f138083428d9da766 SHA512 48bebbe9c886ee56bb2f7bdd9e356bd33e357a2d707c976b8496200f422a2ba25d7c9bba22a261574428abf73a8b6b111d35236fca647e32619659059e861916
27 -DIST singular-4.2.1p2.tar.gz 15026730 BLAKE2B 91d13a367fe9e182aba865debb2cf8a14735ed26b5ce573061172b1fcf1e188c6ebc76794e0219fd2b2ef39c10117def047630737583ebed987a152d7fc1fb2a SHA512 b031f8a1f65739617e052a30ec8d2f809d3961c3cff606651570b0e47c0b8814322883bfa5d5fdda8a1263c527de39287b1666ef7a548369febad46676a7f04e
28 +DIST singular-4.2.1p3.tar.gz 15042102 BLAKE2B 9958c1c432f8a3516387cfe7b258d2e22e8e9fdf3874de53a803b34e353088a3ce246a90b78db43f186717985b503d2355f524ee80784e63b186d53217fdeead SHA512 1e6533fcf966499e9ad145b640e7e5878eb9738bd65535aaa517c5e98dedb09bc99bf832359e9b6dca2fff615237f855bd861820e592a885341aa82e7a9a9168
29
30 diff --git a/sci-mathematics/singular/singular-4.2.1_p2.ebuild b/sci-mathematics/singular/singular-4.2.1_p3.ebuild
31 similarity index 72%
32 rename from sci-mathematics/singular/singular-4.2.1_p2.ebuild
33 rename to sci-mathematics/singular/singular-4.2.1_p3.ebuild
34 index 565d313d91cd..451f17e9f05a 100644
35 --- a/sci-mathematics/singular/singular-4.2.1_p2.ebuild
36 +++ b/sci-mathematics/singular/singular-4.2.1_p3.ebuild
37 @@ -1,7 +1,7 @@
38 # Copyright 1999-2021 Gentoo Authors
39 # Distributed under the terms of the GNU General Public License v2
40
41 -EAPI=7
42 +EAPI=8
43
44 inherit autotools elisp-common flag-o-matic
45
46 @@ -12,28 +12,30 @@ MY_DIR2=$(ver_cut 1-3 ${PV})
47 MY_DIR=$(ver_rs 1- '-' ${MY_DIR2})
48
49 DESCRIPTION="Computer algebra system for polynomial computations"
50 -HOMEPAGE="https://www.singular.uni-kl.de/ https://github.com/Singular/Sources"
51 +HOMEPAGE="https://www.singular.uni-kl.de/ https://github.com/Singular/Singular"
52 SRC_URI="ftp://jim.mathematik.uni-kl.de/pub/Math/${MY_PN}/SOURCES/${MY_DIR}/${PN}-${MY_PV}.tar.gz"
53 +S="${WORKDIR}/${PN}-${MY_DIR2}"
54
55 LICENSE="BSD GPL-2 GPL-3"
56 SLOT="0"
57 -KEYWORDS="~amd64 ~ppc ~riscv ~x86 ~x86-linux"
58 -IUSE="emacs examples +readline static-libs"
59 +KEYWORDS="~amd64 ~x86 ~x86-linux"
60 +IUSE="emacs examples julia polymake +readline static-libs"
61
62 -RDEPEND="dev-libs/gmp:0
63 +RDEPEND="
64 + dev-lang/perl
65 + dev-libs/gmp:0
66 dev-libs/ntl:=
67 - emacs? ( >=app-editors/emacs-23.1:* )
68 - sci-mathematics/flint
69 sci-libs/cddlib
70 - dev-lang/perl
71 - readline? ( sys-libs/readline )"
72 -
73 + sci-mathematics/flint
74 + emacs? ( >=app-editors/emacs-23.1:* )
75 + julia? ( dev-lang/julia )
76 + polymake? ( sci-mathematics/polymake )
77 + readline? ( sys-libs/readline )
78 +"
79 DEPEND="${RDEPEND}"
80
81 SITEFILE=60${PN}-gentoo.el
82
83 -S="${WORKDIR}/${PN}-${MY_DIR2}"
84 -
85 PATCHES=(
86 "${FILESDIR}/${PN}-4.2.1-htmldoc.patch"
87 )
88 @@ -52,27 +54,30 @@ src_configure() {
89 # makes its way into a release.
90 append-cxxflags $(test-flags-CXX -fno-delete-null-pointer-checks)
91
92 - econf \
93 - --with-gmp \
94 - --with-ntl \
95 - --with-flint \
96 - --enable-gfanlib \
97 - --disable-debug \
98 - --disable-doc \
99 - --enable-factory \
100 - --enable-libfac \
101 - --disable-polymake \
102 - --with-libparse \
103 - --disable-optimizationflags \
104 - --without-python \
105 - --without-pythonmodule \
106 - --disable-python \
107 - --disable-python-module \
108 - --disable-python_module \
109 - --disable-pyobject-module \
110 - $(use_enable static-libs static) \
111 - $(use_enable emacs) \
112 + local myconf=(
113 + --disable-debug
114 + --disable-doc
115 + --disable-optimizationflags
116 + --disable-pyobject-module
117 + --disable-python
118 + --disable-python-module
119 + --disable-python_module
120 + --enable-factory
121 + --enable-gfanlib
122 + --enable-libfac
123 + --with-flint
124 + --with-gmp
125 + --with-libparse
126 + --with-ntl
127 + --without-python
128 + --without-pythonmodule
129 + $(use_enable emacs)
130 + $(use_enable julia)
131 + $(use_enable polymake polymake-module)
132 + $(use_enable static-libs static)
133 $(use_with readline)
134 + )
135 + econf "${myconf[@]}"
136 }
137
138 src_compile() {