public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: dev-cpp/parallel-hashmap/
@ 2021-05-02  1:51 Alessandro Barbieri
  0 siblings, 0 replies; 10+ messages in thread
From: Alessandro Barbieri @ 2021-05-02  1:51 UTC (permalink / raw
  To: gentoo-commits

commit:     6acfa62b637a31df2582e1817c76fc7ce763e43b
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun May  2 01:31:46 2021 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sun May  2 01:51:05 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6acfa62b

dev-cpp/parallel-hashmap: new package

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-cpp/parallel-hashmap/Manifest                  |  1 +
 dev-cpp/parallel-hashmap/metadata.xml              | 33 ++++++++++++++++
 .../parallel-hashmap/parallel-hashmap-1.33.ebuild  | 45 ++++++++++++++++++++++
 3 files changed, 79 insertions(+)

diff --git a/dev-cpp/parallel-hashmap/Manifest b/dev-cpp/parallel-hashmap/Manifest
new file mode 100644
index 000000000..da8d78b3e
--- /dev/null
+++ b/dev-cpp/parallel-hashmap/Manifest
@@ -0,0 +1 @@
+DIST parallel-hashmap-1.33.tar.gz 2038996 BLAKE2B b704a0230bd6d15e8a3a1aa11bec456183119d5104e1ac191e556edae1c0b0d2a27c5b52c84cae167cd09a90f4fc43f817c21d64d6b288a70596b6495ee872e6 SHA512 287f098229153d925632e68e3cdbabfae0ea0ab8864089e4c0553a166c6079ca82ed5246ba53afd2a2917abcf06f37bc18f098e721f5f3b8def4d2d8c1c8c745

diff --git a/dev-cpp/parallel-hashmap/metadata.xml b/dev-cpp/parallel-hashmap/metadata.xml
new file mode 100644
index 000000000..2609bf86a
--- /dev/null
+++ b/dev-cpp/parallel-hashmap/metadata.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM 'http://www.gentoo.org/dtd/metadata.dtd'>
+<pkgmetadata>
+	<longdescription lang="en">
+Overview
+
+This repository aims to provide a set of excellent hash map implementations, as well as a btree alternative to std::map and std::set, with the following characteristics:
+
+Header only: nothing to build, just copy the parallel_hashmap directory to your project and you are good to go.
+
+drop-in replacement for std::unordered_map, std::unordered_set, std::map and std::set
+
+Compiler with C++11 support required, C++14 and C++17 APIs are provided (such as try_emplace)
+
+Very efficient, significantly faster than your compiler's unordered map/set or Boost's, or than sparsepp
+
+Memory friendly: low memory usage, although a little higher than sparsepp
+
+Supports heterogeneous lookup
+
+Easy to forward declare: just include phmap_fwd_decl.h in your header files to forward declare Parallel Hashmap containers [note: this does not work currently for hash maps with pointer keys]
+
+Dump/load feature: when a flat hash map stores data that is std::trivially_copyable, the table can be dumped to disk and restored as a single array, very efficiently, and without requiring any hash computation. This is typically about 10 times faster than doing element-wise serialization to disk, but it will use 10% to 60% extra disk space. See examples/serialize.cc. (flat hash map/set only)
+
+Automatic support for boost's hash_value() method for providing the hash function (see examples/hash_value.h). Also default hash support for std::pair and std::tuple.
+
+natvis visualization support in Visual Studio (hash map/set only)
+	</longdescription>
+	<upstream>
+		<bugs-to>https://github.com/greg7mdp/parallel-hashmap/issues</bugs-to>
+		<remote-id type="github">greg7mdp/parallel-hashmap</remote-id>
+	</upstream>
+</pkgmetadata>

diff --git a/dev-cpp/parallel-hashmap/parallel-hashmap-1.33.ebuild b/dev-cpp/parallel-hashmap/parallel-hashmap-1.33.ebuild
new file mode 100644
index 000000000..4aecefcc6
--- /dev/null
+++ b/dev-cpp/parallel-hashmap/parallel-hashmap-1.33.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="A family of header-only, very 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}"
+#BDEPEND="
+#	doc? ( app-text/pandoc )
+#"
+
+#TODO: explore the various cmake options (if any)
+#TODO: tests, doc
+
+src_compile() {
+	cmake_src_compile
+
+	#waiting for https://github.com/greg7mdp/parallel-hashmap/issues/91
+#	if use doc ; then
+#		cd html || die
+#		emake all
+#	fi
+}
+
+src_install() {
+	cmake_src_install
+	if use examples ; then
+		dodoc -r examples
+		docompress -x "/usr/share/doc/${PF}/examples"
+	fi
+}


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: dev-cpp/parallel-hashmap/
@ 2021-05-02  9:27 Alessandro Barbieri
  0 siblings, 0 replies; 10+ messages in thread
From: Alessandro Barbieri @ 2021-05-02  9:27 UTC (permalink / raw
  To: gentoo-commits

commit:     4e26feba6f7109de13011cda9b6d94dcd7d8d625
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun May  2 09:15:02 2021 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sun May  2 09:15:02 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4e26feba

dev-cpp/parallel-hashmap: upstream wontfix the doc build

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-cpp/parallel-hashmap/parallel-hashmap-1.33.ebuild | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/dev-cpp/parallel-hashmap/parallel-hashmap-1.33.ebuild b/dev-cpp/parallel-hashmap/parallel-hashmap-1.33.ebuild
index 4aecefcc6..6fe10fac8 100644
--- a/dev-cpp/parallel-hashmap/parallel-hashmap-1.33.ebuild
+++ b/dev-cpp/parallel-hashmap/parallel-hashmap-1.33.ebuild
@@ -19,21 +19,12 @@ IUSE="examples"
 
 DEPEND=""
 RDEPEND="${DEPEND}"
-#BDEPEND="
-#	doc? ( app-text/pandoc )
-#"
 
 #TODO: explore the various cmake options (if any)
-#TODO: tests, doc
+#TODO: tests
 
 src_compile() {
 	cmake_src_compile
-
-	#waiting for https://github.com/greg7mdp/parallel-hashmap/issues/91
-#	if use doc ; then
-#		cd html || die
-#		emake all
-#	fi
 }
 
 src_install() {


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: dev-cpp/parallel-hashmap/
@ 2021-05-03  9:48 Andrew Ammerlaan
  0 siblings, 0 replies; 10+ messages in thread
From: Andrew Ammerlaan @ 2021-05-03  9:48 UTC (permalink / raw
  To: gentoo-commits

commit:     f3cf559c73d4a978e92bbeca07f0162bed8f1677
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Mon May  3 09:46:23 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Mon May  3 09:46:23 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f3cf559c

dev-cpp/parallel-hashmap: shorten description

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 dev-cpp/parallel-hashmap/parallel-hashmap-1.33.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/parallel-hashmap/parallel-hashmap-1.33.ebuild b/dev-cpp/parallel-hashmap/parallel-hashmap-1.33.ebuild
index 6fe10fac8..e2824c2e1 100644
--- a/dev-cpp/parallel-hashmap/parallel-hashmap-1.33.ebuild
+++ b/dev-cpp/parallel-hashmap/parallel-hashmap-1.33.ebuild
@@ -5,7 +5,7 @@ EAPI=7
 
 inherit cmake
 
-DESCRIPTION="A family of header-only, very fast and memory-friendly hashmap and btree containers."
+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


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: dev-cpp/parallel-hashmap/
@ 2021-05-05  7:32 Alessandro Barbieri
  0 siblings, 0 replies; 10+ messages in thread
From: Alessandro Barbieri @ 2021-05-05  7:32 UTC (permalink / raw
  To: gentoo-commits

commit:     619cc3442bfabed1f799511ee28795894bdc933c
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Wed May  5 07:25:54 2021 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Wed May  5 07:32:52 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=619cc344

dev-cpp/parallel-hashmap: comaintainers welcome

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-cpp/parallel-hashmap/metadata.xml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dev-cpp/parallel-hashmap/metadata.xml b/dev-cpp/parallel-hashmap/metadata.xml
index 2609bf86a..3183d009f 100644
--- a/dev-cpp/parallel-hashmap/metadata.xml
+++ b/dev-cpp/parallel-hashmap/metadata.xml
@@ -1,6 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM 'http://www.gentoo.org/dtd/metadata.dtd'>
 <pkgmetadata>
+	<maintainer type="person">
+		<email>lssndrbarbieri@gmail.com</email>
+		<name>Alessandro Barbieri</name>
+	</maintainer>
 	<longdescription lang="en">
 Overview
 


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: dev-cpp/parallel-hashmap/
@ 2022-03-26  7:36 Alessandro Barbieri
  0 siblings, 0 replies; 10+ messages in thread
From: Alessandro Barbieri @ 2022-03-26  7:36 UTC (permalink / raw
  To: gentoo-commits

commit:     0a28baca56248cdc29acce0886ebc4b379ca4dc7
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sat Mar 26 07:07:41 2022 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sat Mar 26 07:07:41 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0a28baca

dev-cpp/parallel-hashmap: add 1.34

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-cpp/parallel-hashmap/Manifest                  |  1 +
 .../parallel-hashmap/parallel-hashmap-1.34.ebuild  | 41 ++++++++++++++++++++++
 2 files changed, 42 insertions(+)

diff --git a/dev-cpp/parallel-hashmap/Manifest b/dev-cpp/parallel-hashmap/Manifest
index da8d78b3e..198c39302 100644
--- a/dev-cpp/parallel-hashmap/Manifest
+++ b/dev-cpp/parallel-hashmap/Manifest
@@ -1 +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

diff --git a/dev-cpp/parallel-hashmap/parallel-hashmap-1.34.ebuild b/dev-cpp/parallel-hashmap/parallel-hashmap-1.34.ebuild
new file mode 100644
index 000000000..a4119b6dc
--- /dev/null
+++ b/dev-cpp/parallel-hashmap/parallel-hashmap-1.34.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/parallel-hashmap/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+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
+}


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: dev-cpp/parallel-hashmap/
@ 2022-06-28 15:51 Alessandro Barbieri
  0 siblings, 0 replies; 10+ messages in thread
From: Alessandro Barbieri @ 2022-06-28 15:51 UTC (permalink / raw
  To: gentoo-commits

commit:     bea0ab948cce6bce92628a2f04b703d94bd65fd7
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Tue Jun 28 15:50:31 2022 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Tue Jun 28 15:50:31 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bea0ab94

dev-cpp/parallel-hashmap: add 1.35, drop 1.33

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-cpp/parallel-hashmap/Manifest                  |  2 +-
 ...ap-1.33.ebuild => parallel-hashmap-1.35.ebuild} | 23 +++++++++++++---------
 2 files changed, 15 insertions(+), 10 deletions(-)

diff --git a/dev-cpp/parallel-hashmap/Manifest b/dev-cpp/parallel-hashmap/Manifest
index 198c39302..d80bc3e49 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.35.ebuild
similarity index 57%
rename from dev-cpp/parallel-hashmap/parallel-hashmap-1.33.ebuild
rename to dev-cpp/parallel-hashmap/parallel-hashmap-1.35.ebuild
index e2824c2e1..036b306d5 100644
--- a/dev-cpp/parallel-hashmap/parallel-hashmap-1.33.ebuild
+++ b/dev-cpp/parallel-hashmap/parallel-hashmap-1.35.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit cmake
 
@@ -10,20 +10,25 @@ 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"
+SRC_URI="https://github.com/greg7mdp/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
 
 LICENSE="Apache-2.0"
-SLOT="0"
+SLOT="0/${PV}"
 KEYWORDS="~amd64"
-IUSE="examples"
+IUSE="examples test"
 
-DEPEND=""
-RDEPEND="${DEPEND}"
+CDEPEND="dev-libs/cereal"
+DEPEND="test? ( ${CDEPEND} )"
+RDEPEND="${CDEPEND}"
 
-#TODO: explore the various cmake options (if any)
-#TODO: tests
+RESTRICT="!test? ( test )"
 
 src_compile() {
+	mycmakeargs=(
+		PHMAP_BUILD_EXAMPLES=$(usex examples)
+		PHMAP_BUILD_TESTS=$(usex test)
+	)
+
 	cmake_src_compile
 }
 


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: dev-cpp/parallel-hashmap/
@ 2022-06-30 15:13 Alessandro Barbieri
  0 siblings, 0 replies; 10+ messages in thread
From: Alessandro Barbieri @ 2022-06-30 15:13 UTC (permalink / raw
  To: gentoo-commits

commit:     cca5952a0d3f9ef96cfd0e4bbae6201ed5589268
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Thu Jun 30 15:12:15 2022 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Thu Jun 30 15:13:32 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cca5952a

dev-cpp/parallel-hashmap: restrict tests

Closes: https://bugs.gentoo.org/855329
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-cpp/parallel-hashmap/parallel-hashmap-1.35.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dev-cpp/parallel-hashmap/parallel-hashmap-1.35.ebuild b/dev-cpp/parallel-hashmap/parallel-hashmap-1.35.ebuild
index 036b306d5..46dd6b355 100644
--- a/dev-cpp/parallel-hashmap/parallel-hashmap-1.35.ebuild
+++ b/dev-cpp/parallel-hashmap/parallel-hashmap-1.35.ebuild
@@ -21,7 +21,9 @@ CDEPEND="dev-libs/cereal"
 DEPEND="test? ( ${CDEPEND} )"
 RDEPEND="${CDEPEND}"
 
-RESTRICT="!test? ( test )"
+# tests will download gtest, not trivial to use the system one
+# https://github.com/greg7mdp/parallel-hashmap/issues/154
+RESTRICT="test"
 
 src_compile() {
 	mycmakeargs=(


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: dev-cpp/parallel-hashmap/
@ 2022-07-07 16:17 Alessandro Barbieri
  0 siblings, 0 replies; 10+ messages in thread
From: Alessandro Barbieri @ 2022-07-07 16:17 UTC (permalink / raw
  To: gentoo-commits

commit:     37d8d1f21fb6bb7f2a4f694e65ddc5518fba8456
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Thu Jul  7 16:16:17 2022 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Thu Jul  7 16:16:17 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=37d8d1f2

dev-cpp/parallel-hashmap: fix cmake invocation

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-cpp/parallel-hashmap/Manifest                  |  1 -
 .../parallel-hashmap-1.34-r1.ebuild                | 41 ----------------------
 .../parallel-hashmap/parallel-hashmap-1.35.ebuild  | 12 ++++---
 3 files changed, 7 insertions(+), 47 deletions(-)

diff --git a/dev-cpp/parallel-hashmap/Manifest b/dev-cpp/parallel-hashmap/Manifest
index d80bc3e49..f947d04bd 100644
--- a/dev-cpp/parallel-hashmap/Manifest
+++ b/dev-cpp/parallel-hashmap/Manifest
@@ -1,2 +1 @@
-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.34-r1.ebuild b/dev-cpp/parallel-hashmap/parallel-hashmap-1.34-r1.ebuild
deleted file mode 100644
index 6ef5bc9f6..000000000
--- a/dev-cpp/parallel-hashmap/parallel-hashmap-1.34-r1.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# 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/parallel-hashmap/archive/refs/tags/${PV}.tar.gz -> ${P}.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
-}

diff --git a/dev-cpp/parallel-hashmap/parallel-hashmap-1.35.ebuild b/dev-cpp/parallel-hashmap/parallel-hashmap-1.35.ebuild
index 46dd6b355..2e46da2b8 100644
--- a/dev-cpp/parallel-hashmap/parallel-hashmap-1.35.ebuild
+++ b/dev-cpp/parallel-hashmap/parallel-hashmap-1.35.ebuild
@@ -3,6 +3,8 @@
 
 EAPI=8
 
+CMAKE_MAKEFILE_GENERATOR=emake
+
 inherit cmake
 
 DESCRIPTION="Family of header-only, fast and memory-friendly hashmap and btree containers"
@@ -25,13 +27,13 @@ RDEPEND="${CDEPEND}"
 # https://github.com/greg7mdp/parallel-hashmap/issues/154
 RESTRICT="test"
 
-src_compile() {
-	mycmakeargs=(
-		PHMAP_BUILD_EXAMPLES=$(usex examples)
-		PHMAP_BUILD_TESTS=$(usex test)
+src_configure() {
+	local mycmakeargs=(
+		-DPHMAP_BUILD_EXAMPLES=$(usex examples)
+		-DPHMAP_BUILD_TESTS=$(usex test)
 	)
 
-	cmake_src_compile
+	cmake_src_configure
 }
 
 src_install() {


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: dev-cpp/parallel-hashmap/
@ 2023-02-28 15:32 Denis Reva
  0 siblings, 0 replies; 10+ messages in thread
From: Denis Reva @ 2023-02-28 15:32 UTC (permalink / raw
  To: gentoo-commits

commit:     8bde7c44ed1390cc3f2ae2a7d4ce3a6c8c49e6da
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Tue Feb 28 15:32:05 2023 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Tue Feb 28 15:32:05 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8bde7c44

dev-cpp/parallel-hashmap: updated to 1.3.8

project accidently switched to semver

Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 dev-cpp/parallel-hashmap/Manifest                  |  1 +
 dev-cpp/parallel-hashmap/metadata.xml              |  4 ++
 .../parallel-hashmap/parallel-hashmap-1.3.8.ebuild | 46 ++++++++++++++++++++++
 3 files changed, 51 insertions(+)

diff --git a/dev-cpp/parallel-hashmap/Manifest b/dev-cpp/parallel-hashmap/Manifest
index f947d04bd..4d6cffc56 100644
--- a/dev-cpp/parallel-hashmap/Manifest
+++ b/dev-cpp/parallel-hashmap/Manifest
@@ -1 +1,2 @@
+DIST parallel-hashmap-1.3.8.tar.gz 2047306 BLAKE2B b56bd2a8f958f69c400e8b736669f7bbe875823ca28370a6ce0f25a6de995a81b4ff8269f84eea3bbdcd62ec96d2a7613d8d414abcf2da6215e476f81927d4ad SHA512 499f132aa1513942762ae5214e9a37915529d60142439d32276d9e68a446c93ecea66caa32ac00bea683e2c932101cd999c8839a89211e91032f777f236181f7
 DIST parallel-hashmap-1.35.gh.tar.gz 2044770 BLAKE2B 18c4843ebd2ca046e1597a7fc0341440d888c4b39d2355e45b36e02b9f5dcf39baec1826434d70b591e6713fe2ff043a9ec8a68b7b43e0fbb2af176507b738ba SHA512 ffa70a6691784caa8acc6e191b3db4ffdbbc51db86c91118267fac96c178d434f890f773c9b31932eaed15b2cecbd74dcaddacefd0ef9771da0833c90d0f104c

diff --git a/dev-cpp/parallel-hashmap/metadata.xml b/dev-cpp/parallel-hashmap/metadata.xml
index 3183d009f..c7a8c6eea 100644
--- a/dev-cpp/parallel-hashmap/metadata.xml
+++ b/dev-cpp/parallel-hashmap/metadata.xml
@@ -5,6 +5,10 @@
 		<email>lssndrbarbieri@gmail.com</email>
 		<name>Alessandro Barbieri</name>
 	</maintainer>
+	<maintainer type="person">
+			<email>denis7774@gmail.com</email>
+			<name>Denis Reva</name>
+	</maintainer>
 	<longdescription lang="en">
 Overview
 

diff --git a/dev-cpp/parallel-hashmap/parallel-hashmap-1.3.8.ebuild b/dev-cpp/parallel-hashmap/parallel-hashmap-1.3.8.ebuild
new file mode 100644
index 000000000..35fd6b2d7
--- /dev/null
+++ b/dev-cpp/parallel-hashmap/parallel-hashmap-1.3.8.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CMAKE_MAKEFILE_GENERATOR=emake
+
+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/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="examples test"
+
+CDEPEND="dev-libs/cereal"
+DEPEND="${CDEPEND} test? ( dev-cpp/gtest )"
+RDEPEND="${CDEPEND}"
+
+# tests will download gtest, not trivial to use the system one
+# https://github.com/greg7mdp/parallel-hashmap/issues/154
+RESTRICT="!test? ( test )"
+src_configure() {
+	local mycmakeargs=(
+		-DPHMAP_BUILD_EXAMPLES=$(usex examples)
+		-DPHMAP_BUILD_TESTS=$(usex test)
+	)
+	if use test; then
+		mycmakeargs+=( -DPHMAP_GTEST_LIBS="gmock -lgmock_main -lgtest -lgtest_main" )
+	fi
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_src_install
+	if use examples ; then
+		dodoc -r examples
+		docompress -x "/usr/share/doc/${PF}/examples"
+	fi
+}


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: dev-cpp/parallel-hashmap/
@ 2023-02-28 15:32 Denis Reva
  0 siblings, 0 replies; 10+ messages in thread
From: Denis Reva @ 2023-02-28 15:32 UTC (permalink / raw
  To: gentoo-commits

commit:     484bc1f8f5aef26b13ba15aedd5ab89b384a8f42
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Tue Feb 28 15:32:37 2023 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Tue Feb 28 15:32:37 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=484bc1f8

dev-cpp/parallel-hashmap: deleted obsolete version

Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 dev-cpp/parallel-hashmap/Manifest                  |  1 -
 .../parallel-hashmap/parallel-hashmap-1.35.ebuild  | 45 ----------------------
 2 files changed, 46 deletions(-)

diff --git a/dev-cpp/parallel-hashmap/Manifest b/dev-cpp/parallel-hashmap/Manifest
index 4d6cffc56..38c813229 100644
--- a/dev-cpp/parallel-hashmap/Manifest
+++ b/dev-cpp/parallel-hashmap/Manifest
@@ -1,2 +1 @@
 DIST parallel-hashmap-1.3.8.tar.gz 2047306 BLAKE2B b56bd2a8f958f69c400e8b736669f7bbe875823ca28370a6ce0f25a6de995a81b4ff8269f84eea3bbdcd62ec96d2a7613d8d414abcf2da6215e476f81927d4ad SHA512 499f132aa1513942762ae5214e9a37915529d60142439d32276d9e68a446c93ecea66caa32ac00bea683e2c932101cd999c8839a89211e91032f777f236181f7
-DIST parallel-hashmap-1.35.gh.tar.gz 2044770 BLAKE2B 18c4843ebd2ca046e1597a7fc0341440d888c4b39d2355e45b36e02b9f5dcf39baec1826434d70b591e6713fe2ff043a9ec8a68b7b43e0fbb2af176507b738ba SHA512 ffa70a6691784caa8acc6e191b3db4ffdbbc51db86c91118267fac96c178d434f890f773c9b31932eaed15b2cecbd74dcaddacefd0ef9771da0833c90d0f104c

diff --git a/dev-cpp/parallel-hashmap/parallel-hashmap-1.35.ebuild b/dev-cpp/parallel-hashmap/parallel-hashmap-1.35.ebuild
deleted file mode 100644
index 2e46da2b8..000000000
--- a/dev-cpp/parallel-hashmap/parallel-hashmap-1.35.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-CMAKE_MAKEFILE_GENERATOR=emake
-
-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}"
-
-# tests will download gtest, not trivial to use the system one
-# https://github.com/greg7mdp/parallel-hashmap/issues/154
-RESTRICT="test"
-
-src_configure() {
-	local mycmakeargs=(
-		-DPHMAP_BUILD_EXAMPLES=$(usex examples)
-		-DPHMAP_BUILD_TESTS=$(usex test)
-	)
-
-	cmake_src_configure
-}
-
-src_install() {
-	cmake_src_install
-	if use examples ; then
-		dodoc -r examples
-		docompress -x "/usr/share/doc/${PF}/examples"
-	fi
-}


^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-02-28 15:32 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-02  9:27 [gentoo-commits] repo/proj/guru:dev commit in: dev-cpp/parallel-hashmap/ Alessandro Barbieri
  -- strict thread matches above, loose matches on Subject: below --
2023-02-28 15:32 Denis Reva
2023-02-28 15:32 Denis Reva
2022-07-07 16:17 Alessandro Barbieri
2022-06-30 15:13 Alessandro Barbieri
2022-06-28 15:51 Alessandro Barbieri
2022-03-26  7:36 Alessandro Barbieri
2021-05-05  7:32 Alessandro Barbieri
2021-05-03  9:48 Andrew Ammerlaan
2021-05-02  1:51 Alessandro Barbieri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox