From 3517852e3b8a68d1e997770fc0650c5053bafc6c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 4 Jan 2022 01:27:12 +0000 Subject: gentoo resync : 04.01.2022 --- sci-mathematics/primecount/Manifest | 2 +- .../primecount/primecount-7.2-r1.ebuild | 49 ++++++++++++++++++++++ sci-mathematics/primecount/primecount-7.2.ebuild | 48 --------------------- 3 files changed, 50 insertions(+), 49 deletions(-) create mode 100644 sci-mathematics/primecount/primecount-7.2-r1.ebuild delete mode 100644 sci-mathematics/primecount/primecount-7.2.ebuild (limited to 'sci-mathematics/primecount') diff --git a/sci-mathematics/primecount/Manifest b/sci-mathematics/primecount/Manifest index bdc617c4b895..7ac7f2ff8f7a 100644 --- a/sci-mathematics/primecount/Manifest +++ b/sci-mathematics/primecount/Manifest @@ -1,3 +1,3 @@ DIST primecount-7.2.tar.gz 340799 BLAKE2B 5ce3661e322be363e2fe79de1dd134b5c3009269cbb10d36dc69bee4c23c9f41d2117b3ed7aa4c5f852e494832573c84a8d9c37cbe92cf80a5024bdec9b22c69 SHA512 df14929012434eddfab94410ba9165642094327f8abd139a6a1ba87e508bba56df91cb0dc9411e873e90a9aa4aa3ba4007396c930d593f5954be8c715fa26e84 -EBUILD primecount-7.2.ebuild 1095 BLAKE2B 94949133a99b3977d6c4fb8c1b788bddc32facf6de3c5986622461788773688bab38336a0464dd16b8623b533aa2e9907564b9e28fb6a6279ba40c134cd00fbf SHA512 099f3065274d951b11606b02408d9cf87ea68994bf451edf23f79150bd13d83ecdf9449efbe16f149ed4265c6265e255e1a14b608641f4f5114eb70a15a0ddaf +EBUILD primecount-7.2-r1.ebuild 1163 BLAKE2B ca9d9781436ee6113aa1be19dbb297e46134fa262e7e155142b3577340bd1165d80845381e9ff72258055acb665b10fe7878efec3a8f34e4a5ea9c78b4d19462 SHA512 9c2f4979ffef015dcdc6146ee6927a24964793b1a1d5c208bd5723b0cca2488cecb01395bd762758a9db6fea48b34e762fe067f260ac04c55771c7a91eb0ffc2 MISC metadata.xml 673 BLAKE2B dcb9633d5529d3c78afaf761812f38a370496a861e5391190f9c2059bde94ca6628b5d751eeab4c0832bebeec421825019671d0a9a815e269691922b23f3ce2b SHA512 fdbebd019bfd1d06e505900b2061b6a8597f62b2b979f337c07c7bd9084181004183595e05e9381800c02981ec584fef3454a5c98ceeeb76009887f5acb9dfb7 diff --git a/sci-mathematics/primecount/primecount-7.2-r1.ebuild b/sci-mathematics/primecount/primecount-7.2-r1.ebuild new file mode 100644 index 000000000000..4a994b461a06 --- /dev/null +++ b/sci-mathematics/primecount/primecount-7.2-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake toolchain-funcs + +DESCRIPTION="Highly optimized CLI and library to count primes" +HOMEPAGE="https://github.com/kimwalisch/primecount" +SRC_URI="https://github.com/kimwalisch/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="BSD-2" +SLOT="0/7" # subslot is first component of libprimecount.so version +KEYWORDS="~amd64" +IUSE="cpu_flags_x86_popcnt +executable openmp test" +RESTRICT="!test? ( test )" + +DEPEND="sci-mathematics/primesieve:=" +RDEPEND="${DEPEND}" + +DOCS=( + ChangeLog + README.md + doc/Credits.md + doc/Easy-Special-Leaves.md + doc/Hard-Special-Leaves.md + doc/Records.md + doc/References.md + doc/alpha-factor-dr.pdf + doc/alpha-factor-gourdon.pdf + doc/alpha-factor-lmo.pdf + doc/libprimecount.md +) + +pkg_pretend() { + use openmp && tc-check-openmp +} + +src_configure() { + local mycmakeargs=( + -DBUILD_LIBPRIMESIEVE="OFF" + -DBUILD_PRIMECOUNT="$(usex executable)" + -DBUILD_STATIC_LIBS="OFF" + -DBUILD_TESTS="$(usex test)" + -DWITH_OPENMP="$(usex openmp)" + -DWITH_POPCNT="$(usex cpu_flags_x86_popcnt)" + ) + + cmake_src_configure +} diff --git a/sci-mathematics/primecount/primecount-7.2.ebuild b/sci-mathematics/primecount/primecount-7.2.ebuild deleted file mode 100644 index 1e394a48459e..000000000000 --- a/sci-mathematics/primecount/primecount-7.2.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake toolchain-funcs - -DESCRIPTION="Highly optimized CLI and library to count primes" -HOMEPAGE="https://github.com/kimwalisch/primecount" -SRC_URI="https://github.com/kimwalisch/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" -LICENSE="BSD-2" -SLOT="0/7" # subslot is first component of libprimecount.so version -KEYWORDS="~amd64" -IUSE="+executable openmp test" -RESTRICT="!test? ( test )" - -DEPEND="sci-mathematics/primesieve:=" -RDEPEND="${DEPEND}" - -DOCS=( - ChangeLog - README.md - doc/Credits.md - doc/Easy-Special-Leaves.md - doc/Hard-Special-Leaves.md - doc/Records.md - doc/References.md - doc/alpha-factor-dr.pdf - doc/alpha-factor-gourdon.pdf - doc/alpha-factor-lmo.pdf - doc/libprimecount.md -) - -pkg_pretend() { - use openmp && tc-check-openmp -} - -src_configure() { - local mycmakeargs=( - -DBUILD_LIBPRIMESIEVE="OFF" - -DBUILD_PRIMECOUNT="$(usex executable)" - -DBUILD_STATIC_LIBS="OFF" - -DBUILD_TESTS="$(usex test)" - -DWITH_OPENMP="$(usex openmp)" - ) - - cmake_src_configure -} -- cgit v1.2.3