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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 23F9C15806E for ; Mon, 22 May 2023 20:12:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5A524E0729; Mon, 22 May 2023 20:12:05 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 36D29E0729 for ; Mon, 22 May 2023 20:12:05 +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 E35E2340AB5 for ; Mon, 22 May 2023 20:12:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 401138E4 for ; Mon, 22 May 2023 20:12:02 +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: <1684785915.7b1b2bdcbdb28ec852606196f6acde8731ce6387.mjo@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/plfit/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-mathematics/plfit/Manifest sci-mathematics/plfit/metadata.xml sci-mathematics/plfit/plfit-0.9.3.ebuild X-VCS-Directories: sci-mathematics/plfit/ X-VCS-Committer: mjo X-VCS-Committer-Name: Michael Orlitzky X-VCS-Revision: 7b1b2bdcbdb28ec852606196f6acde8731ce6387 X-VCS-Branch: master Date: Mon, 22 May 2023 20:12:02 +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: 39b43065-6d1e-4e36-b419-41e3aac7e587 X-Archives-Hash: 46a1b1faa3633919f3b8c2be23d72fd6 commit: 7b1b2bdcbdb28ec852606196f6acde8731ce6387 Author: Michael Orlitzky gentoo org> AuthorDate: Mon May 22 19:36:38 2023 +0000 Commit: Michael Orlitzky gentoo org> CommitDate: Mon May 22 20:05:15 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b1b2bdc sci-mathematics/plfit: new package, add 0.9.3 Signed-off-by: Michael Orlitzky gentoo.org> sci-mathematics/plfit/Manifest | 1 + sci-mathematics/plfit/metadata.xml | 13 +++++++++++++ sci-mathematics/plfit/plfit-0.9.3.ebuild | 33 ++++++++++++++++++++++++++++++++ 3 files changed, 47 insertions(+) diff --git a/sci-mathematics/plfit/Manifest b/sci-mathematics/plfit/Manifest new file mode 100644 index 000000000000..03611001ad5e --- /dev/null +++ b/sci-mathematics/plfit/Manifest @@ -0,0 +1 @@ +DIST plfit-0.9.3.tar.gz 178880 BLAKE2B 611c4d30fa39cb05f8324670c484fd504abf2b1638602f5fede31438bf831f8aa3d7f3a5c6f2edbab377c99bf5f67763149f288581778fdd2fe9a1596a0d4a23 SHA512 6ca0fab75f607b27801576ff6752002079e11c736d0c3f6a669f20bb2869a254aa3ba124a5f6df1ad1daed25c59c8b0952838478cd42570e6d399958f0796e84 diff --git a/sci-mathematics/plfit/metadata.xml b/sci-mathematics/plfit/metadata.xml new file mode 100644 index 000000000000..fad11365ac2d --- /dev/null +++ b/sci-mathematics/plfit/metadata.xml @@ -0,0 +1,13 @@ + + + + + mjo@gentoo.org + + + sci-mathematics@gentoo.org + + + ntamas/plfit + + diff --git a/sci-mathematics/plfit/plfit-0.9.3.ebuild b/sci-mathematics/plfit/plfit-0.9.3.ebuild new file mode 100644 index 000000000000..f5c15c46b845 --- /dev/null +++ b/sci-mathematics/plfit/plfit-0.9.3.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Fit power-law distributions to empirical data" +HOMEPAGE="https://github.com/ntamas/plfit" +SRC_URI="https://github.com/ntamas/${PN}/archive/refs/tags/${PV}.tar.gz + -> ${P}.tar.gz" +# plfit is gpl-2 and its source headers say "or later." The upstream +# doc/ directory contains MIT and BSD licenses for two components. +LICENSE="BSD GPL-2+ MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cpu_flags_x86_sse cpu_flags_x86_sse2" + +DOCS=( CHANGELOG.md README.rst doc/THANKS ) + +src_configure() { + local mycmakeargs=( + -DPLFIT_COMPILE_PYTHON_MODULE=OFF + -DPLFIT_USE_SSE=OFF + -DPLFIT_USE_OPENMP=OFF + ) + if use cpu_flags_x86_sse || use cpu_flags_x86_sse2; then + # plfit chooses which to use at compile time based on the + # constants __SSE__ and __SSE2__. + mycmakeargs+=( -DPLFIT_USE_SSE=ON ) + fi + cmake_src_configure +}