1 |
commit: 8bde7c44ed1390cc3f2ae2a7d4ce3a6c8c49e6da |
2 |
Author: Denis Reva <denis7774 <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue Feb 28 15:32:05 2023 +0000 |
4 |
Commit: Denis Reva <denis7774 <AT> gmail <DOT> com> |
5 |
CommitDate: Tue Feb 28 15:32:05 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8bde7c44 |
7 |
|
8 |
dev-cpp/parallel-hashmap: updated to 1.3.8 |
9 |
|
10 |
project accidently switched to semver |
11 |
|
12 |
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com> |
13 |
|
14 |
dev-cpp/parallel-hashmap/Manifest | 1 + |
15 |
dev-cpp/parallel-hashmap/metadata.xml | 4 ++ |
16 |
.../parallel-hashmap/parallel-hashmap-1.3.8.ebuild | 46 ++++++++++++++++++++++ |
17 |
3 files changed, 51 insertions(+) |
18 |
|
19 |
diff --git a/dev-cpp/parallel-hashmap/Manifest b/dev-cpp/parallel-hashmap/Manifest |
20 |
index f947d04bd..4d6cffc56 100644 |
21 |
--- a/dev-cpp/parallel-hashmap/Manifest |
22 |
+++ b/dev-cpp/parallel-hashmap/Manifest |
23 |
@@ -1 +1,2 @@ |
24 |
+DIST parallel-hashmap-1.3.8.tar.gz 2047306 BLAKE2B b56bd2a8f958f69c400e8b736669f7bbe875823ca28370a6ce0f25a6de995a81b4ff8269f84eea3bbdcd62ec96d2a7613d8d414abcf2da6215e476f81927d4ad SHA512 499f132aa1513942762ae5214e9a37915529d60142439d32276d9e68a446c93ecea66caa32ac00bea683e2c932101cd999c8839a89211e91032f777f236181f7 |
25 |
DIST parallel-hashmap-1.35.gh.tar.gz 2044770 BLAKE2B 18c4843ebd2ca046e1597a7fc0341440d888c4b39d2355e45b36e02b9f5dcf39baec1826434d70b591e6713fe2ff043a9ec8a68b7b43e0fbb2af176507b738ba SHA512 ffa70a6691784caa8acc6e191b3db4ffdbbc51db86c91118267fac96c178d434f890f773c9b31932eaed15b2cecbd74dcaddacefd0ef9771da0833c90d0f104c |
26 |
|
27 |
diff --git a/dev-cpp/parallel-hashmap/metadata.xml b/dev-cpp/parallel-hashmap/metadata.xml |
28 |
index 3183d009f..c7a8c6eea 100644 |
29 |
--- a/dev-cpp/parallel-hashmap/metadata.xml |
30 |
+++ b/dev-cpp/parallel-hashmap/metadata.xml |
31 |
@@ -5,6 +5,10 @@ |
32 |
<email>lssndrbarbieri@×××××.com</email> |
33 |
<name>Alessandro Barbieri</name> |
34 |
</maintainer> |
35 |
+ <maintainer type="person"> |
36 |
+ <email>denis7774@×××××.com</email> |
37 |
+ <name>Denis Reva</name> |
38 |
+ </maintainer> |
39 |
<longdescription lang="en"> |
40 |
Overview |
41 |
|
42 |
|
43 |
diff --git a/dev-cpp/parallel-hashmap/parallel-hashmap-1.3.8.ebuild b/dev-cpp/parallel-hashmap/parallel-hashmap-1.3.8.ebuild |
44 |
new file mode 100644 |
45 |
index 000000000..35fd6b2d7 |
46 |
--- /dev/null |
47 |
+++ b/dev-cpp/parallel-hashmap/parallel-hashmap-1.3.8.ebuild |
48 |
@@ -0,0 +1,46 @@ |
49 |
+# Copyright 1999-2023 Gentoo Authors |
50 |
+# Distributed under the terms of the GNU General Public License v2 |
51 |
+ |
52 |
+EAPI=8 |
53 |
+ |
54 |
+CMAKE_MAKEFILE_GENERATOR=emake |
55 |
+ |
56 |
+inherit cmake |
57 |
+ |
58 |
+DESCRIPTION="Family of header-only, fast and memory-friendly hashmap and btree containers" |
59 |
+HOMEPAGE=" |
60 |
+ https://greg7mdp.github.io/parallel-hashmap/ |
61 |
+ https://github.com/greg7mdp/parallel-hashmap |
62 |
+" |
63 |
+SRC_URI="https://github.com/greg7mdp/parallel-hashmap/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" |
64 |
+ |
65 |
+LICENSE="Apache-2.0" |
66 |
+SLOT="0/${PV}" |
67 |
+KEYWORDS="~amd64" |
68 |
+IUSE="examples test" |
69 |
+ |
70 |
+CDEPEND="dev-libs/cereal" |
71 |
+DEPEND="${CDEPEND} test? ( dev-cpp/gtest )" |
72 |
+RDEPEND="${CDEPEND}" |
73 |
+ |
74 |
+# tests will download gtest, not trivial to use the system one |
75 |
+# https://github.com/greg7mdp/parallel-hashmap/issues/154 |
76 |
+RESTRICT="!test? ( test )" |
77 |
+src_configure() { |
78 |
+ local mycmakeargs=( |
79 |
+ -DPHMAP_BUILD_EXAMPLES=$(usex examples) |
80 |
+ -DPHMAP_BUILD_TESTS=$(usex test) |
81 |
+ ) |
82 |
+ if use test; then |
83 |
+ mycmakeargs+=( -DPHMAP_GTEST_LIBS="gmock -lgmock_main -lgtest -lgtest_main" ) |
84 |
+ fi |
85 |
+ cmake_src_configure |
86 |
+} |
87 |
+ |
88 |
+src_install() { |
89 |
+ cmake_src_install |
90 |
+ if use examples ; then |
91 |
+ dodoc -r examples |
92 |
+ docompress -x "/usr/share/doc/${PF}/examples" |
93 |
+ fi |
94 |
+} |