dev-cpp/robin-map: add 1.4.0

Closes: https://bugs.gentoo.org/951988
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2025-05-21 20:47:50 +01:00
parent d94765c844
commit 226640a9e5
2 changed files with 38 additions and 0 deletions

View File

@@ -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

View File

@@ -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
}