mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 11:37:20 -08:00
Merge updates from master
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST givaro-4.2.1.tar.gz 1036238 BLAKE2B 875ce705a319e4c19b7662cd9e147313924315d49d53d4199d24fe7356859f735b22d73d2694a3a4958a9132493ad9deae60197c80b3249615c716c6212e8cc2 SHA512 120eaf61e820398bd9eb9df325a18241be4563cf654cf244f0a2b8b54347e8ea45da1d61979b0fc527e2f7f238d79ea493216a25c02d9d7e504f7443d05162d4
|
||||
DIST givaro-4.2.2.tar.gz 1005269 BLAKE2B e76a03925ff1566d4f3c2802fd7dbc0432a33df718702678c31a00858adab38d6dcd4cc464fa848bf84135b99959f2956a7e33b8adcea377bda48e3d9aaf270c SHA512 29da53855cb66c171490de6ce3f16aa65e6675d8f9b3ee9146dcb11938984a95a8660613e72d4dee0bde7141694589d49075731c4308c5fb5a60eaeb48bc7045
|
||||
|
||||
@@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=9
|
||||
|
||||
DESCRIPTION="C++ library for arithmetic and algebraic computations"
|
||||
HOMEPAGE="https://casys.gricad-pages.univ-grenoble-alpes.fr/givaro/"
|
||||
SRC_URI="https://github.com/linbox-team/givaro/releases/download/v${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="CeCILL-B"
|
||||
SLOT="0/9" # soname major
|
||||
KEYWORDS="~amd64 ~riscv ~x86 ~x64-macos"
|
||||
IUSE="doc"
|
||||
|
||||
BDEPEND="
|
||||
doc? (
|
||||
app-text/doxygen[dot]
|
||||
dev-texlive/texlive-bibtexextra
|
||||
dev-texlive/texlive-fontsextra
|
||||
dev-texlive/texlive-fontutils
|
||||
dev-texlive/texlive-latex
|
||||
dev-texlive/texlive-latexextra
|
||||
)
|
||||
"
|
||||
DEPEND="dev-libs/gmp:0[cxx(+)]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog README.md )
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--with-docdir="/usr/share/doc/${PF}/html" \
|
||||
$(use_enable doc)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
find "${ED}" -type f -name '*.la' -delete || die
|
||||
}
|
||||
@@ -1 +1,2 @@
|
||||
DIST m4ri-20250128.tar.gz 530551 BLAKE2B c740e40f3cbcf3f5a9f269fd6a923e8206942b78582c21fe77831a9978d41215801a50749111b91c70433bf4a5da69d2d05da3d66c06ef7546111b83f8696be1 SHA512 698876c6250a61ec482bb36b56ef35226e1f2e08363511c2aa7de2ff066bc0cf13698c866e44ccef2aae05de44f46dda54a2f6012ebdc26032014d5176bef482
|
||||
DIST m4ri-20260122.tar.gz 531895 BLAKE2B db2e873c7df0ea0e61dc1461cfbcfd4a8a7d78858c80b6ea8de08700fbf4f6148480c824cff881cb2387ce40dc7b4b94bd66f1266634f79e9584b2972b79fc6b SHA512 c43921e92a65daf387434d252eb2b21b1e2ddbf37db857d3bfdfe137da4c9567ebb06b8c13158341fee1a9f988e9fee376262c63e90125f2059c8c1bfa16f9a6
|
||||
|
||||
@@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=9
|
||||
|
||||
inherit flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="Method of four russian for inversion (M4RI)"
|
||||
HOMEPAGE="https://github.com/malb/m4ri"
|
||||
SRC_URI="https://github.com/malb/${PN}/releases/download/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0/1" # libm4ri.so major version
|
||||
KEYWORDS="~amd64 ~ppc64 ~riscv ~x86 ~x64-macos"
|
||||
IUSE="debug openmp cpu_flags_x86_sse2 png"
|
||||
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
DEPEND="png? ( media-libs/libpng:= )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
# NEWS and ChangeLog are empty as of 2025-06-02.
|
||||
DOCS=( AUTHORS README.md )
|
||||
|
||||
pkg_pretend() {
|
||||
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# when using openmp and -O0 the testsuite fails
|
||||
# https://github.com/cschwan/sage-on-gentoo/issues/475
|
||||
# Still current as of 20200115
|
||||
use openmp && replace-flags -O0 -O1
|
||||
|
||||
econf \
|
||||
$(use_enable debug) \
|
||||
$(use_enable openmp) \
|
||||
$(use_enable png) \
|
||||
$(use_enable cpu_flags_x86_sse2 sse2)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
||||
@@ -1 +1,2 @@
|
||||
DIST singular-4.4.1.tar.gz 21112922 BLAKE2B 5071c545ab4919da80f779f58247113c7788d5816bbca595e72dbbd44c33f6f2055ade752f79ed6f02fc6e1a7d9d7fc7ec46ec2a890743c3168123b675135300 SHA512 6c3e8d1b697c75fbbc90626d90e11d3109780ef129344b63b63ecebef635ca7e7d1f93f3c843cab46fcbff75d2806b56305b287007236cc85b7145e93f0a9531
|
||||
DIST singular-4.4.1p5.tar.gz 21186484 BLAKE2B 0053c52131ce07fe552f097bf1501e2ffcfa5d884c738bb3032a0bf8009fd5d51d827a6b2bd8415f7bc0217982eb4226ba5ab3c374c3cf33e4eba6b975eff86c SHA512 46dd4a3b4a7edfd5a773f86c546194e4c4d1237fb8127a8898879febe0059d8614196db8cb9b3990e0c8866b427ae2d42d9aa36c62d34adcf6d19f3ed1798e5c
|
||||
|
||||
@@ -0,0 +1,106 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=9
|
||||
|
||||
inherit elisp-common
|
||||
|
||||
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="https://www.singular.uni-kl.de/ftp/pub/Math/${MY_PN}/SOURCES/${MY_DIR}/${PN}-${MY_PV}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${MY_DIR2}"
|
||||
|
||||
# Most files say "version 2 or version 3 of the License," which is not
|
||||
# quite GPL-2+, and is why we have listed GPL-2 below. But AFAIK there
|
||||
# are no GPL-2-only files.
|
||||
LICENSE="BSD GPL-2 GPL-2+ GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~riscv ~x86"
|
||||
IUSE="emacs examples polymake +readline"
|
||||
|
||||
# The interactive help uses "info" from sys-apps/texinfo.
|
||||
RDEPEND="
|
||||
dev-lang/perl
|
||||
dev-libs/gmp:0=
|
||||
dev-libs/ntl:=
|
||||
sci-libs/cddlib
|
||||
sci-mathematics/flint:=
|
||||
sys-apps/texinfo
|
||||
emacs? ( app-editors/emacs:* )
|
||||
polymake? ( sci-mathematics/polymake )
|
||||
readline? ( sys-libs/readline:= )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
SITEFILE=60${PN}-gentoo.el
|
||||
|
||||
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_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}"
|
||||
|
||||
find "${ED}" -type f -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
|
||||
}
|
||||
Reference in New Issue
Block a user