From bea0ab948cce6bce92628a2f04b703d94bd65fd7 Mon Sep 17 00:00:00 2001 From: Alessandro Barbieri Date: Tue, 28 Jun 2022 17:50:31 +0200 Subject: dev-cpp/parallel-hashmap: add 1.35, drop 1.33 Signed-off-by: Alessandro Barbieri --- dev-cpp/parallel-hashmap/Manifest | 2 +- .../parallel-hashmap/parallel-hashmap-1.33.ebuild | 36 ------------------- .../parallel-hashmap/parallel-hashmap-1.35.ebuild | 41 ++++++++++++++++++++++ 3 files changed, 42 insertions(+), 37 deletions(-) delete mode 100644 dev-cpp/parallel-hashmap/parallel-hashmap-1.33.ebuild create mode 100644 dev-cpp/parallel-hashmap/parallel-hashmap-1.35.ebuild diff --git a/dev-cpp/parallel-hashmap/Manifest b/dev-cpp/parallel-hashmap/Manifest index 198c393021..d80bc3e49e 100644 --- a/dev-cpp/parallel-hashmap/Manifest +++ b/dev-cpp/parallel-hashmap/Manifest @@ -1,2 +1,2 @@ -DIST parallel-hashmap-1.33.tar.gz 2038996 BLAKE2B b704a0230bd6d15e8a3a1aa11bec456183119d5104e1ac191e556edae1c0b0d2a27c5b52c84cae167cd09a90f4fc43f817c21d64d6b288a70596b6495ee872e6 SHA512 287f098229153d925632e68e3cdbabfae0ea0ab8864089e4c0553a166c6079ca82ed5246ba53afd2a2917abcf06f37bc18f098e721f5f3b8def4d2d8c1c8c745 DIST parallel-hashmap-1.34.tar.gz 2043028 BLAKE2B 30629288656a22cfd56da9485458f604487383cc5951e230a833b182cbbcc706b78d0b8a45fb76c4fca6da930f49cdb79b2ca63926ca8cd60cc7445b58c8edbd SHA512 3747422e80406aa77b009adee3c16325640dd1044560882fb881dac5ef4109f7d165d26ed7e64002c9285275f95962725ce20c918da12c0c113999c8ca3c7429 +DIST parallel-hashmap-1.35.gh.tar.gz 2044770 BLAKE2B 18c4843ebd2ca046e1597a7fc0341440d888c4b39d2355e45b36e02b9f5dcf39baec1826434d70b591e6713fe2ff043a9ec8a68b7b43e0fbb2af176507b738ba SHA512 ffa70a6691784caa8acc6e191b3db4ffdbbc51db86c91118267fac96c178d434f890f773c9b31932eaed15b2cecbd74dcaddacefd0ef9771da0833c90d0f104c diff --git a/dev-cpp/parallel-hashmap/parallel-hashmap-1.33.ebuild b/dev-cpp/parallel-hashmap/parallel-hashmap-1.33.ebuild deleted file mode 100644 index e2824c2e1c..0000000000 --- a/dev-cpp/parallel-hashmap/parallel-hashmap-1.33.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake - -DESCRIPTION="Family of header-only, fast and memory-friendly hashmap and btree containers" -HOMEPAGE=" - https://greg7mdp.github.io/parallel-hashmap/ - https://github.com/greg7mdp/parallel-hashmap -" -SRC_URI="https://github.com/greg7mdp/parallel-hashmap/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64" -IUSE="examples" - -DEPEND="" -RDEPEND="${DEPEND}" - -#TODO: explore the various cmake options (if any) -#TODO: tests - -src_compile() { - cmake_src_compile -} - -src_install() { - cmake_src_install - if use examples ; then - dodoc -r examples - docompress -x "/usr/share/doc/${PF}/examples" - fi -} diff --git a/dev-cpp/parallel-hashmap/parallel-hashmap-1.35.ebuild b/dev-cpp/parallel-hashmap/parallel-hashmap-1.35.ebuild new file mode 100644 index 0000000000..036b306d5d --- /dev/null +++ b/dev-cpp/parallel-hashmap/parallel-hashmap-1.35.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Family of header-only, fast and memory-friendly hashmap and btree containers" +HOMEPAGE=" + https://greg7mdp.github.io/parallel-hashmap/ + https://github.com/greg7mdp/parallel-hashmap +" +SRC_URI="https://github.com/greg7mdp/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="examples test" + +CDEPEND="dev-libs/cereal" +DEPEND="test? ( ${CDEPEND} )" +RDEPEND="${CDEPEND}" + +RESTRICT="!test? ( test )" + +src_compile() { + mycmakeargs=( + PHMAP_BUILD_EXAMPLES=$(usex examples) + PHMAP_BUILD_TESTS=$(usex test) + ) + + cmake_src_compile +} + +src_install() { + cmake_src_install + if use examples ; then + dodoc -r examples + docompress -x "/usr/share/doc/${PF}/examples" + fi +} -- cgit v1.2.3-65-gdbad