public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/plfit/
@ 2023-05-22 20:12 Michael Orlitzky
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Orlitzky @ 2023-05-22 20:12 UTC (permalink / raw
  To: gentoo-commits

commit:     7b1b2bdcbdb28ec852606196f6acde8731ce6387
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Mon May 22 19:36:38 2023 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> 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 <mjo <AT> 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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer type="person">
+    <email>mjo@gentoo.org</email>
+  </maintainer>
+  <maintainer type="project">
+    <email>sci-mathematics@gentoo.org</email>
+  </maintainer>
+  <upstream>
+    <remote-id type="github">ntamas/plfit</remote-id>
+  </upstream>
+</pkgmetadata>

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
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/plfit/
@ 2023-12-16 16:17 Arthur Zamarin
  0 siblings, 0 replies; 2+ messages in thread
From: Arthur Zamarin @ 2023-12-16 16:17 UTC (permalink / raw
  To: gentoo-commits

commit:     aac12495af29b63ab28375c8b4581ccb4d4b3e19
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 16 16:17:01 2023 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Dec 16 16:17:01 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aac12495

sci-mathematics/plfit: Stabilize 0.9.3 amd64, #920125

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 sci-mathematics/plfit/plfit-0.9.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-mathematics/plfit/plfit-0.9.3.ebuild b/sci-mathematics/plfit/plfit-0.9.3.ebuild
index 2d9d2abfc172..a4ef6de3a1b7 100644
--- a/sci-mathematics/plfit/plfit-0.9.3.ebuild
+++ b/sci-mathematics/plfit/plfit-0.9.3.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/ntamas/${PN}/archive/refs/tags/${PV}.tar.gz
 # doc/ directory contains MIT and BSD licenses for two components.
 LICENSE="BSD GPL-2+ MIT"
 SLOT="0"
-KEYWORDS="~amd64 x86"
+KEYWORDS="amd64 x86"
 IUSE="cpu_flags_x86_sse cpu_flags_x86_sse2"
 
 DOCS=( CHANGELOG.md README.rst doc/THANKS )


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-12-16 16:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-22 20:12 [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/plfit/ Michael Orlitzky
  -- strict thread matches above, loose matches on Subject: below --
2023-12-16 16:17 Arthur Zamarin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox