diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-07-09 12:24:59 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-07-09 12:24:59 +0100 |
commit | c218398bbbe70a616790cf146c28c1066b9284bf (patch) | |
tree | a598e8c85afbc52bb7eca18ae415ef4971e65c8f /dev-cpp/robin-map | |
parent | a5442e2318cb4df55867389654e322dbac82067e (diff) |
gentoo auto-resync : 09:07:2024 - 12:24:58
Diffstat (limited to 'dev-cpp/robin-map')
-rw-r--r-- | dev-cpp/robin-map/Manifest | 4 | ||||
-rw-r--r-- | dev-cpp/robin-map/robin-map-1.3.0.ebuild | 37 | ||||
-rw-r--r-- | dev-cpp/robin-map/robin-map-9999.ebuild | 23 |
3 files changed, 60 insertions, 4 deletions
diff --git a/dev-cpp/robin-map/Manifest b/dev-cpp/robin-map/Manifest index 58a0d671a2c6..aa7796f606b6 100644 --- a/dev-cpp/robin-map/Manifest +++ b/dev-cpp/robin-map/Manifest @@ -1,4 +1,6 @@ DIST robin-map-0.6.3.tar.gz 64506 BLAKE2B 46a2b5b47346016695db0c49f73cfbf8530b7db0a31527030eb00f3b6f0695325ab6fe16de1e60d6b1d0793818bdd1e31e50117f2e2e4c50154f65b38ac66d84 SHA512 485557f300d33bda62bb8accdf246819ee8ffe956bc022e7ddca54ff6ad1a9fdb8db8d80690add3ef238e834d1eb8e2905920cb0a0674e7df010f6946d01297b +DIST robin-map-1.3.0.tar.gz 70562 BLAKE2B be6ee47ea06edd2485c16e02eecf8db28c7d18c2eb933450df54e0bab8c7ded79954a295a65a8990b641896186efef391a9f9f0f5b236ba96154bfa6cac45e14 SHA512 862cb98d771d1acb692e27d1cc8a4f2cda0883b66af7b38b63ea702ed2d4fc4d49e5700ca4d5f5148fee132f36e111c4839d4f8c52c96a9c60f3937d941b2320 EBUILD robin-map-0.6.3.ebuild 509 BLAKE2B 5dadc9271c94156fc401511e0e52d791d6e52ac463ebf8b7b6e3141e2ea09dd8379b36bcca378b899e353b48a8a6234fbe67176cc1f6ddc162dc37b73f0dbc30 SHA512 9a4a9ec944384b25dec8ad9c086b80939a18ca79bb7b7a8cfa2bfa6d9718f5b5460124ce86bcab59c753203f52cd57d9c95ce149f095a3b77f4cb9e438fe402a -EBUILD robin-map-9999.ebuild 504 BLAKE2B fafe5db735e95537d9885600e4a2c760ed5070c769079411ea422c892bef4b06033f50456b855e662760a2d71eabdc8ee3b1f9f1e9dc5f0785893b34b1187877 SHA512 42dc895fc411aaeca3854220783c544dcb691c54590af7d5c7562fc44cde6e19a86d10c3ceb942ea2a34eef36115e513fd318867592ae0c9d8302d0ec912216a +EBUILD robin-map-1.3.0.ebuild 792 BLAKE2B 9ee7616fe76d34570d1bdaf02d23b7e3b9ec292e5b72268582236b66500baf859ac8e6d4f70a859dfbbdb28be53eabd94e6904372a70b462b15c17dd8dd00ec8 SHA512 e68b25b99abb5f98e4eddc791e1f6d21f5e66e733e25bf72968f36b472ab6446a526a79c4f702c2d7b1ee08184f6faaed7213432a2a8683d300147fed507eefb +EBUILD robin-map-9999.ebuild 792 BLAKE2B 9ee7616fe76d34570d1bdaf02d23b7e3b9ec292e5b72268582236b66500baf859ac8e6d4f70a859dfbbdb28be53eabd94e6904372a70b462b15c17dd8dd00ec8 SHA512 e68b25b99abb5f98e4eddc791e1f6d21f5e66e733e25bf72968f36b472ab6446a526a79c4f702c2d7b1ee08184f6faaed7213432a2a8683d300147fed507eefb MISC metadata.xml 345 BLAKE2B 5cc37d0c8e9121615d9a64f9c0a2d401f10a37e82a17627c2b0284b7ec557d689b6f37475cc7f948a06e56cb94c96faa8d50082298ffc06dd2109b0519d3473f SHA512 e7aa93500c38f156256e9f3e2b62a1c98c0016fc70b930f69287737438931ef8cf09a92e5f828d5ae2fd140c94af50e3aa0345b2f0d9499764f0f6f37438ebcf diff --git a/dev-cpp/robin-map/robin-map-1.3.0.ebuild b/dev-cpp/robin-map/robin-map-1.3.0.ebuild new file mode 100644 index 000000000000..5ebd0b902e42 --- /dev/null +++ b/dev-cpp/robin-map/robin-map-1.3.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2024 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 +} diff --git a/dev-cpp/robin-map/robin-map-9999.ebuild b/dev-cpp/robin-map/robin-map-9999.ebuild index 99255a6ea187..5ebd0b902e42 100644 --- a/dev-cpp/robin-map/robin-map-9999.ebuild +++ b/dev-cpp/robin-map/robin-map-9999.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit cmake @@ -13,8 +13,25 @@ if [[ ${PV} == 9999 ]] ; then 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 ~x86" + 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 +} |