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 59563158020 for ; Tue, 20 Dec 2022 21:18:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 80A8EE0919; Tue, 20 Dec 2022 21:18:07 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 66184E0919 for ; Tue, 20 Dec 2022 21:18:07 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 73FA0341570 for ; Tue, 20 Dec 2022 21:18:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B74E2703 for ; Tue, 20 Dec 2022 21:18:04 +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: <1671571069.d9e5a9f5ea9c7421a450406c9e34d82cff3f61da.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-11.0.ebuild X-VCS-Directories: sci-mathematics/primesieve/ X-VCS-Committer: mjo X-VCS-Committer-Name: Michael Orlitzky X-VCS-Revision: d9e5a9f5ea9c7421a450406c9e34d82cff3f61da X-VCS-Branch: master Date: Tue, 20 Dec 2022 21:18:04 +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: 111a6ebd-b4d5-420a-acbb-2ed4a6bb3e99 X-Archives-Hash: f210b3f2db4696104d9fba5224124fa9 commit: d9e5a9f5ea9c7421a450406c9e34d82cff3f61da Author: Michael Orlitzky gentoo org> AuthorDate: Tue Dec 20 20:54:39 2022 +0000 Commit: Michael Orlitzky gentoo org> CommitDate: Tue Dec 20 21:17:49 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9e5a9f5 sci-mathematics/primesieve: add 11.0 Signed-off-by: Michael Orlitzky gentoo.org> sci-mathematics/primesieve/Manifest | 1 + sci-mathematics/primesieve/primesieve-11.0.ebuild | 50 +++++++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/sci-mathematics/primesieve/Manifest b/sci-mathematics/primesieve/Manifest index 7b01b1f0d097..2b5abb76ed6b 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-8.0.tar.gz 119635 BLAKE2B e769cfe35752e809cf1611b3a9034bc79d16311c73d5065880cbec9c8179a2149ee9a3a6e277466691c44adf07781e1c7f9aa53f140714c4c9d408b24df17848 SHA512 213785c89868f224091fe76a74b98a896c374a7a96e2bdb44b07f4c6288bd50e22d9a563382fb512e71a1ad366d8b94e74fcc8b5f58bb94c85b4d435fbb6a571 diff --git a/sci-mathematics/primesieve/primesieve-11.0.ebuild b/sci-mathematics/primesieve/primesieve-11.0.ebuild new file mode 100644 index 000000000000..44fb41efb869 --- /dev/null +++ b/sci-mathematics/primesieve/primesieve-11.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/11" # 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 +}