commit: 226640a9e59da55c0ebf607ea1f061d8ddaca87d Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Wed May 21 19:47:50 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed May 21 19:52:00 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=226640a9
dev-cpp/robin-map: add 1.4.0 Closes: https://bugs.gentoo.org/951988 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-cpp/robin-map/Manifest | 1 + dev-cpp/robin-map/robin-map-1.4.0.ebuild | 37 ++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/dev-cpp/robin-map/Manifest b/dev-cpp/robin-map/Manifest index 53022c8d1cb2..7b0ac2fd37cc 100644 --- a/dev-cpp/robin-map/Manifest +++ b/dev-cpp/robin-map/Manifest @@ -1 +1,2 @@ DIST robin-map-1.3.0.tar.gz 70562 BLAKE2B be6ee47ea06edd2485c16e02eecf8db28c7d18c2eb933450df54e0bab8c7ded79954a295a65a8990b641896186efef391a9f9f0f5b236ba96154bfa6cac45e14 SHA512 862cb98d771d1acb692e27d1cc8a4f2cda0883b66af7b38b63ea702ed2d4fc4d49e5700ca4d5f5148fee132f36e111c4839d4f8c52c96a9c60f3937d941b2320 +DIST robin-map-1.4.0.tar.gz 70352 BLAKE2B 01eb44931454d06b353b0d2a517c1f61ff0f0ba638a2d722031b89c14988919063c23e810e6beca7b199d9a17b3318ae86780eef3260a89604661427786507c8 SHA512 d65831ac9d1ae1b26d26386ee06835d788d18529d1cd9132f892091377572b2f9d68aaecfce79956238d327764fea7a144ad2922ced3cbe47cda8734b2df419f diff --git a/dev-cpp/robin-map/robin-map-1.4.0.ebuild b/dev-cpp/robin-map/robin-map-1.4.0.ebuild new file mode 100644 index 000000000000..41a9aa3db6b5 --- /dev/null +++ b/dev-cpp/robin-map/robin-map-1.4.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="C++ fast hash map and hash set using robin hood hashing" +HOMEPAGE="https://github.com/Tessil/robin-map" + +if [[ ${PV} == 9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/Tessil/robin-map" +else + SRC_URI="https://github.com/Tessil/robin-map/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND=" + test? ( dev-libs/boost ) +" + +src_test() { + cd tests || die + sed -i \ + -e '/Boost_USE_STATIC_LIBS/d' \ + -e 's/-Werror//' \ + CMakeLists.txt || die + cmake -S "${S}/tests" -B . -GNinja || die + eninja + ./tsl_robin_map_tests || die +}
