From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 12041158020 for ; Wed, 21 Dec 2022 11:45:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EFD80E0824; Wed, 21 Dec 2022 11:45:07 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D0B61E07D3 for ; Wed, 21 Dec 2022 11:45:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EC18A335CE9 for ; Wed, 21 Dec 2022 11:45:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8C2BB7D3 for ; Wed, 21 Dec 2022 11:45:05 +0000 (UTC) From: "Michael Orlitzky" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Orlitzky" Message-ID: <1671623048.4783c3b5bcea348cb8fa69ea41a6b52702a8fe92.mjo@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/polymake/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-mathematics/polymake/polymake-4.6.ebuild X-VCS-Directories: sci-mathematics/polymake/ X-VCS-Committer: mjo X-VCS-Committer-Name: Michael Orlitzky X-VCS-Revision: 4783c3b5bcea348cb8fa69ea41a6b52702a8fe92 X-VCS-Branch: master Date: Wed, 21 Dec 2022 11:45:05 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d8d1ecbb-e87f-4ab4-b981-bea71f822498 X-Archives-Hash: 4e1c9cd3d878810fe754515e2c22ebba commit: 4783c3b5bcea348cb8fa69ea41a6b52702a8fe92 Author: Michael Orlitzky gentoo org> AuthorDate: Wed Dec 21 11:44:08 2022 +0000 Commit: Michael Orlitzky gentoo org> CommitDate: Wed Dec 21 11:44:08 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4783c3b5 sci-mathematics/polymake: drop 4.6 Signed-off-by: Michael Orlitzky gentoo.org> sci-mathematics/polymake/polymake-4.6.ebuild | 121 --------------------------- 1 file changed, 121 deletions(-) diff --git a/sci-mathematics/polymake/polymake-4.6.ebuild b/sci-mathematics/polymake/polymake-4.6.ebuild deleted file mode 100644 index 7c936b5eb6c6..000000000000 --- a/sci-mathematics/polymake/polymake-4.6.ebuild +++ /dev/null @@ -1,121 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit flag-o-matic ninja-utils toolchain-funcs - -DESCRIPTION="Tool for polyhedral geometry and combinatorics" -SRC_URI="https://polymake.org/lib/exe/fetch.php/download/${P}-minimal.tar.bz2" -HOMEPAGE="https://polymake.org/" - -# polymake itself is GPL-2, but even the minimal tarball bundles a lot -# of other code. I've included everything that turns up with a -# -# find ./ -name 'LICENSE' -o -name 'COPYING' -# -# in the list below. If any of these bother you, you may want to take a -# closer look at how (or even if) the corresponding code is being used. -LICENSE="BSD GPL-2 GPL-2+ MIT WTFPL-2" -SLOT="0" -KEYWORDS="amd64 ~riscv ~x86 ~amd64-linux ~x86-linux" -IUSE="bliss +cdd +flint +normaliz libpolymake lrs nauty ppl singular" - -REQUIRED_USE="^^ ( bliss nauty )" - -# The "configure" script isn't autotools; it basically exists just to -# exec some other perl script but using the familiar name. -BDEPEND="dev-util/ninja - dev-lang/perl" - -DEPEND=" - libpolymake? ( dev-lang/perl ) - dev-libs/boost:= - dev-libs/gmp:= - dev-libs/libxml2:2= - dev-libs/libxslt:= - dev-libs/mpfr:= - sys-libs/readline:= - bliss? ( sci-libs/bliss:=[gmp] ) - cdd? ( sci-libs/cddlib:= ) - lrs? ( >=sci-libs/lrslib-051:=[gmp] ) - nauty? ( sci-mathematics/nauty:= ) - normaliz? ( sci-mathematics/normaliz:= ) - ppl? ( dev-libs/ppl:= ) - singular? ( sci-mathematics/singular:= )" - -RDEPEND="${DEPEND} - dev-lang/perl - dev-perl/JSON - dev-perl/Term-ReadLine-Gnu - dev-perl/TermReadKey - dev-perl/XML-SAX - dev-perl/XML-Writer" - -# Tests observed failing after upgrade to polymake-4.5. No idea if they -# worked prior to that. Someone who actually understands polymake will -# have to get these working (at least briefly) before we re-enable them. -RESTRICT=test - -src_configure() { - # Without this, the build system tries to use "the highest possible" - # optimization level and will override what's in your CXXFLAGS. - export CXXOPT="" - - tc-export CC CXX - - # We need to define BLISS_USE_GMP if bliss was built with gmp support. - # Therefore we require gmp support on bliss, so that the package - # manager can prevent rebuilds with changed gmp flag. Yes, this should - # be append-cppflags; but the build system doesn't respect CPPFLAGS. - use bliss && append-cxxflags -DBLISS_USE_GMP - - # This isn't an autotools ./configure script, so a lot of things - # don't work the way you'd expect. We disable openmp unconditionally - # because it's only supposedly only used for building the bundled - # libnormaliz (we unbundle it) and for something called to_simplex - # that I can't find anywhere in the polymake source. - ./configure --prefix="${EPREFIX}/usr" \ - --libdir="${EPREFIX}/usr/$(get_libdir)" \ - --libexecdir="${EPREFIX}/usr/$(get_libdir)/polymake" \ - $(usev !libpolymake "--without-callable") \ - --without-java \ - --without-javaview \ - --without-native \ - --without-scip \ - --without-soplex \ - --without-openmp \ - $(use_with bliss bliss "${EPREFIX}/usr") \ - $(use_with cdd cdd "${EPREFIX}/usr") \ - $(use_with flint flint "${EPREFIX}/usr") \ - $(use_with lrs lrs "${EPREFIX}/usr") \ - $(use_with nauty nauty "${EPREFIX}/usr") \ - $(use_with normaliz libnormaliz "${EPREFIX}/usr") \ - $(use_with ppl ppl "${EPREFIX}/usr") \ - $(use_with singular singular "${EPREFIX}/usr") \ - || die -} - -# There is a backwards-compatible Makefile that would call ninja for us -# in src_compile/src_install, but it doesn't handle MAKEOPTS correctly. -src_compile() { - eninja -C build/Opt -} - -src_install() { - # DESTDIR needs to find its way into the real install script, - # support/install.pl. - export DESTDIR="${D}" - eninja -C build/Opt install -} - -src_test() { - perl/polymake --script run_testcases --emacs-style \ - || die "test suite failed" -} - -pkg_postinst() { - elog "Additional features for polymake are available through external" - elog "software such as sci-mathematics/4ti2 and sci-mathematics/topcom." - elog "After installing new external software run 'polymake --reconfigure'." -}