mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-16 14:29:05 -07:00
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:
@@ -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
|
||||
|
||||
37
dev-cpp/robin-map/robin-map-1.4.0.ebuild
Normal file
37
dev-cpp/robin-map/robin-map-1.4.0.ebuild
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user