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 C936D159C96 for ; Sat, 27 Jul 2024 23:14:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CE1F12BC02F; Sat, 27 Jul 2024 23:14:48 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 362C52BC02F for ; Sat, 27 Jul 2024 23:14:48 +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 3CF9D341256 for ; Sat, 27 Jul 2024 23:14:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1C20B1D88 for ; Sat, 27 Jul 2024 23:14:45 +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: <1722121933.7c8d5f0eec157362bb7b5f6b6a6efbe6a5f102f7.mjo@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/primesieve/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-mathematics/primesieve/Manifest sci-mathematics/primesieve/primesieve-12.3.ebuild X-VCS-Directories: sci-mathematics/primesieve/ X-VCS-Committer: mjo X-VCS-Committer-Name: Michael Orlitzky X-VCS-Revision: 7c8d5f0eec157362bb7b5f6b6a6efbe6a5f102f7 X-VCS-Branch: master Date: Sat, 27 Jul 2024 23:14:45 +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: 7b8cd3e5-65fe-425b-af08-9c8c5754ca8c X-Archives-Hash: 90d607fac8828cb84627ef47836c4bea commit: 7c8d5f0eec157362bb7b5f6b6a6efbe6a5f102f7 Author: Michael Orlitzky gentoo org> AuthorDate: Sat Jul 27 22:36:22 2024 +0000 Commit: Michael Orlitzky gentoo org> CommitDate: Sat Jul 27 23:12:13 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c8d5f0e sci-mathematics/primesieve: add 12.3 Signed-off-by: Michael Orlitzky gentoo.org> sci-mathematics/primesieve/Manifest | 1 + sci-mathematics/primesieve/primesieve-12.3.ebuild | 48 +++++++++++++++++++++++ 2 files changed, 49 insertions(+) diff --git a/sci-mathematics/primesieve/Manifest b/sci-mathematics/primesieve/Manifest index d61583c50cca..d16a3dd0d053 100644 --- a/sci-mathematics/primesieve/Manifest +++ b/sci-mathematics/primesieve/Manifest @@ -1 +1,2 @@ DIST primesieve-11.0.tar.gz 125086 BLAKE2B ac425b6435bc95efbfc3d7458b59719af390508db811e0a993a606397166771cfcb9c0269249341fb6f678aafa8bae4a89e7a914176f61a608e6ccdfd0cab22b SHA512 1be9ff9d07068cab1ca69315010238ab15e5ba3b674bd45e9a0e11d20418810ece05a8df3853796118193468ac2ac6e24391f82d6db9581658ce59ddabb5b7fc +DIST primesieve-12.3.tar.gz 140761 BLAKE2B d93aa8747d43850b9194172a2300942a685797c1aeb503240eb23cbbfe4b99281f3058a622d0e2359017e144ff8200dcecdd56922e16b46366d693b04eb1350a SHA512 b7bd74223ca9abe41de9f6a48102e6cfd1b1989fb291292c13f5c751a31f8df93e1faaadee318f169cfe81fa4dc4d5b0678fe7556f77043941d8ae749c6e8cc7 diff --git a/sci-mathematics/primesieve/primesieve-12.3.ebuild b/sci-mathematics/primesieve/primesieve-12.3.ebuild new file mode 100644 index 000000000000..97d6b8bae298 --- /dev/null +++ b/sci-mathematics/primesieve/primesieve-12.3.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2024 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/12" # subslot is first component of libprimesieve.so version +KEYWORDS="~amd64" +IUSE="doc +executable test" +RESTRICT="!test? ( test )" + +BDEPEND="doc? ( app-text/doxygen app-text/texlive media-gfx/graphviz )" + +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 +}