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 E0818158009 for ; Tue, 20 Jun 2023 00:02:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 59FADE07FE; Tue, 20 Jun 2023 00:02:42 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4440AE07FE for ; Tue, 20 Jun 2023 00:02:42 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 700B1340FA7 for ; Tue, 20 Jun 2023 00:02:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B8632A99 for ; Tue, 20 Jun 2023 00:02:39 +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: <1687219274.847c958dc0c87048d43d241a0b37ba5c387b41c7.mjo@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/ccolamd/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/ccolamd/Manifest sci-libs/ccolamd/ccolamd-3.0.3.ebuild sci-libs/ccolamd/metadata.xml X-VCS-Directories: sci-libs/ccolamd/ X-VCS-Committer: mjo X-VCS-Committer-Name: Michael Orlitzky X-VCS-Revision: 847c958dc0c87048d43d241a0b37ba5c387b41c7 X-VCS-Branch: master Date: Tue, 20 Jun 2023 00:02:39 +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: 250a14a3-102d-432c-8199-26df43ec4d8a X-Archives-Hash: 29381e97c196f0d7c7edbb87808a8fc7 commit: 847c958dc0c87048d43d241a0b37ba5c387b41c7 Author: François Bissey gmail com> AuthorDate: Mon Jun 5 20:59:52 2023 +0000 Commit: Michael Orlitzky gentoo org> CommitDate: Tue Jun 20 00:01:14 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=847c958d sci-libs/ccolamd: add 3.0.3 Signed-off-by: François Bissey gmail.com> Signed-off-by: Michael Orlitzky gentoo.org> sci-libs/ccolamd/Manifest | 1 + sci-libs/ccolamd/ccolamd-3.0.3.ebuild | 39 +++++++++++++++++++++++++++++++++++ sci-libs/ccolamd/metadata.xml | 3 +++ 3 files changed, 43 insertions(+) diff --git a/sci-libs/ccolamd/Manifest b/sci-libs/ccolamd/Manifest index dbe3369e605d..2fc03c4c6a01 100644 --- a/sci-libs/ccolamd/Manifest +++ b/sci-libs/ccolamd/Manifest @@ -1 +1,2 @@ +DIST SuiteSparse-7.0.0.gh.tar.gz 64884962 BLAKE2B 06c6cf54ffae188f5179e0cd45523700448d8999b44d6b1aeb3dfb99ccf34a570f6aff600988a144c68a4a2d8f41e32f7145e09349aed3bd889501ea031c8340 SHA512 50b1cd7bab6e4c063984162ed803fd13b69df7f67efe8ce7af15eace6b0ccd1669b6e57daa59511fd9531a847433cda49c1f52bfff234031af0d79e7fbd6423e DIST ccolamd-2.9.6.tar.bz2 305744 BLAKE2B 0d741ead328a1e888715672ddb617cc96a559f46f2379e1d7792b70868dd290de19b3047e3ed4dd2711084c9afc523d18ecb375aa4ee8a4a12950cee08f238b8 SHA512 cf6f210d26ddb1be454cac377a773b73b75261a74e1e3985565f57f45659b1c11b747829c5bbe99c4bc3e8b364d7b2b3c109e00f6d7e8e41afd713312ebf103c diff --git a/sci-libs/ccolamd/ccolamd-3.0.3.ebuild b/sci-libs/ccolamd/ccolamd-3.0.3.ebuild new file mode 100644 index 000000000000..e5768de9c765 --- /dev/null +++ b/sci-libs/ccolamd/ccolamd-3.0.3.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake-multilib + +Sparse_PV="7.0.0" +Sparse_P="SuiteSparse-${Sparse_PV}" +DESCRIPTION="Constrained Column approximate minimum degree ordering algorithm" +HOMEPAGE="https://people.engr.tamu.edu/davis/suitesparse.html" +SRC_URI="https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/refs/tags/v${Sparse_PV}.tar.gz -> ${Sparse_P}.gh.tar.gz" + +LICENSE="BSD" +SLOT="0/3" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND=">=sci-libs/suitesparseconfig-7.0.0" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${Sparse_P}/${PN^^}" + +multilib_src_configure() { + local mycmakeargs=( + -DNSTATIC=ON + -DDEMO=$(usex test) + ) + cmake_src_configure +} + +multilib_src_test() { + # Run demo files + ./ccolamd_example > ccolamd_example.out + diff "${S}"/Demo/ccolamd_example.out ccolamd_example.out || die "failed testing ccolamd_example" + ./ccolamd_l_example > ccolamd_l_example.out + diff "${S}"/Demo/ccolamd_l_example.out ccolamd_l_example.out || die "failed testing ccolamd_l_example" +} diff --git a/sci-libs/ccolamd/metadata.xml b/sci-libs/ccolamd/metadata.xml index 412ff61d06aa..ba6e076c8fbd 100644 --- a/sci-libs/ccolamd/metadata.xml +++ b/sci-libs/ccolamd/metadata.xml @@ -10,4 +10,7 @@ algorithm, (like COLAMD), but it can also be given a set of ordering constraints. + + DrTimothyAldenDavis/SuiteSparse +