public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michael Orlitzky" <mjo@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/primesieve/
Date: Mon, 22 Aug 2022 15:06:20 +0000 (UTC)	[thread overview]
Message-ID: <1661180731.b0cc66b092a7d098bb79736221c9612ddfc80a45.mjo@gentoo> (raw)

commit:     b0cc66b092a7d098bb79736221c9612ddfc80a45
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 22 14:29:09 2022 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Mon Aug 22 15:05:31 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0cc66b0

sci-mathematics/primesieve: add 8.0

Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 sci-mathematics/primesieve/Manifest              |  1 +
 sci-mathematics/primesieve/primesieve-8.0.ebuild | 50 ++++++++++++++++++++++++
 2 files changed, 51 insertions(+)

diff --git a/sci-mathematics/primesieve/Manifest b/sci-mathematics/primesieve/Manifest
index cd41bbd1bc6f..092315e4d777 100644
--- a/sci-mathematics/primesieve/Manifest
+++ b/sci-mathematics/primesieve/Manifest
@@ -1 +1,2 @@
 DIST primesieve-7.9.tar.gz 111361 BLAKE2B 8e227bd04a89dd5e8ea5dc5e79afa1c5254216863086fd6c3712fb45767ee7e5e23e72d166ada17295e56479e0c0e1ae7f215b72e124e5234a79fb20f340cb3f SHA512 fcfc3445e5becd555b66743f6d73dd4a0cbb48b1d4a3d0d22043261f1861e0631bdeb8702b1f942110f8b327a01173b231accd1f7595600308709832bbbafc06
+DIST primesieve-8.0.tar.gz 119635 BLAKE2B e769cfe35752e809cf1611b3a9034bc79d16311c73d5065880cbec9c8179a2149ee9a3a6e277466691c44adf07781e1c7f9aa53f140714c4c9d408b24df17848 SHA512 213785c89868f224091fe76a74b98a896c374a7a96e2bdb44b07f4c6288bd50e22d9a563382fb512e71a1ad366d8b94e74fcc8b5f58bb94c85b4d435fbb6a571

diff --git a/sci-mathematics/primesieve/primesieve-8.0.ebuild b/sci-mathematics/primesieve/primesieve-8.0.ebuild
new file mode 100644
index 000000000000..9a6ef5573027
--- /dev/null
+++ b/sci-mathematics/primesieve/primesieve-8.0.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="CLI and library for quickly generating prime numbers"
+HOMEPAGE="https://github.com/kimwalisch/primesieve"
+SRC_URI="https://github.com/kimwalisch/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="BSD-2"
+SLOT="0/10"  # subslot is first component of libprimesieve.so version
+KEYWORDS="~amd64"
+IUSE="doc +executable test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="doc? ( app-doc/doxygen app-text/texlive media-gfx/graphviz )"
+DEPEND=""
+RDEPEND=""
+
+DOCS=(
+	ChangeLog
+	README.md
+	doc/ALGORITHMS.md
+	doc/CPP_API.md
+	doc/C_API.md
+)
+
+src_configure() {
+	local mycmakeargs=(
+		-DBUILD_DOC="$(usex doc)"
+		-DBUILD_PRIMESIEVE="$(usex executable)"
+		-DBUILD_STATIC_LIBS="OFF"
+		-DBUILD_TESTS="$(usex test)"
+	)
+
+	if use doc; then
+		DOCS+=(
+			"${BUILD_DIR}/doc/html"
+			"${BUILD_DIR}/doc/latex/refman.pdf"
+		)
+	fi
+
+	cmake_src_configure
+}
+
+src_compile() {
+	cmake_src_compile
+	use doc && cmake_build doc
+}


             reply	other threads:[~2022-08-22 15:06 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-22 15:06 Michael Orlitzky [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-06  7:08 [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/primesieve/ WANG Xuerui
2025-01-04 16:35 Sam James
2025-01-04 16:17 Sam James
2025-01-01  8:56 Joonas Niilola
2024-12-31  8:15 Sam James
2024-08-20 14:13 Michael Orlitzky
2024-07-28 16:20 Michael Orlitzky
2024-07-27 23:14 Michael Orlitzky
2023-02-07 19:33 Michael Orlitzky
2023-02-07 19:33 Michael Orlitzky
2022-12-20 21:18 Michael Orlitzky
2022-10-20 20:02 Michael Orlitzky
2022-10-20 20:02 Michael Orlitzky
2022-08-06 13:14 Michael Orlitzky
2022-08-06 13:14 Michael Orlitzky
2022-06-13 11:31 Michael Orlitzky
2022-01-30 14:37 Michael Orlitzky
2021-12-26  0:20 Sam James
2021-12-24 13:24 Michael Orlitzky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1661180731.b0cc66b092a7d098bb79736221c9612ddfc80a45.mjo@gentoo \
    --to=mjo@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox