diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-07-14 12:27:14 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-07-14 12:27:14 +0100 |
commit | f7adcd4ee556b2c3a420239c13fb74113d791f6a (patch) | |
tree | 1cc566bbd03612996262177e95152bdda507cca9 /dev-libs/immer | |
parent | 482a48c0e1675b1e92663b8b5222bb7261aa7956 (diff) |
gentoo auto-resync : 14:07:2024 - 12:27:13
Diffstat (limited to 'dev-libs/immer')
-rw-r--r-- | dev-libs/immer/Manifest | 4 | ||||
-rw-r--r-- | dev-libs/immer/files/immer-0.8.1-fix-dvector-test.patch | 16 | ||||
-rw-r--r-- | dev-libs/immer/immer-0.8.1.ebuild | 48 | ||||
-rw-r--r-- | dev-libs/immer/metadata.xml | 15 |
4 files changed, 83 insertions, 0 deletions
diff --git a/dev-libs/immer/Manifest b/dev-libs/immer/Manifest new file mode 100644 index 000000000000..da0ad902a499 --- /dev/null +++ b/dev-libs/immer/Manifest @@ -0,0 +1,4 @@ +AUX immer-0.8.1-fix-dvector-test.patch 616 BLAKE2B 9bd70b13da9f5e2c17fa20a4d2c61e2c1c74d559230b5d6ebcb82005d84fc4865ba7acdde859c5dac79d0a8252fbd3a5cfc03c02bb27eb2354955e9aca0d225f SHA512 9b76e01703a5b7633f2af38c7e9755cf759fc831222ef590b7a2cb41270b4dc2cc71eaafa9d48a4ca8ba84a7aa32bb3b1ac5a4ab6e18c9a26764716e5ee7b9d2 +DIST immer-0.8.1.tar.gz 654638 BLAKE2B 23c8fc8d8e341ae271ea2881f3cba8bd446844dc48a79d959623ec9c7e1254feba22ae916d9e8d962d8afd8801671ac3dfc8a136e4ce40d2a1a019449c34554f SHA512 3a9aafeb5daad1881d00fb999b78f86b1c8f0e8ef2d6befe9025d8eea10392557ce7186f14878b36cbce0f2f5d38c8ffb39c9115a9496803acfc0ef2289f5cbf +EBUILD immer-0.8.1.ebuild 952 BLAKE2B d9536657416a217c56ba5c9d0b5006398ebb5114d62c0878cc44a51179e7185a93ec7dc53b64733bca7f44d55e670b45a182728097f5d8fd9daa8b1ec996e1e6 SHA512 35085489d98dc0b64a959c4e5bc9e9c64368b6f0996c7e15b8dd88be17c72581224f3c44b56cdfd38f2419ee3b4694c82f90688064019513557bca92510ae1f4 +MISC metadata.xml 483 BLAKE2B 7ded9309ad46060a624a1eed80845a752070fbdc606cee368b1fad5b73bdb1f1628657b9efa298f4c90c8d4f1ce809abe9558596f613e6e91edb4e817c6e81bb SHA512 3e086a36cf68feaf501df66a59e9d3f3c7b2576293bd0ef0c1eb80de5bb2737e1a13ecb36af60541504f3c4b572909e919fed2c7f0d18505d6a85e5fc1b25589 diff --git a/dev-libs/immer/files/immer-0.8.1-fix-dvector-test.patch b/dev-libs/immer/files/immer-0.8.1-fix-dvector-test.patch new file mode 100644 index 000000000000..a00728a95490 --- /dev/null +++ b/dev-libs/immer/files/immer-0.8.1-fix-dvector-test.patch @@ -0,0 +1,16 @@ +Without this array include, compilation of the dvektor test will fail. +This has been fixed upstream in: +https://github.com/arximboldi/immer/commit/f381e4988c1562f0f64533146c9b9cb7c0823b3e + +diff --git a/immer/experimental/detail/dvektor_impl.hpp b/immer/experimental/detail/dvektor_impl.hpp +index 4f69733..7a21f1f 100644 +--- a/immer/experimental/detail/dvektor_impl.hpp ++++ b/immer/experimental/detail/dvektor_impl.hpp +@@ -16,6 +16,7 @@ + #include <boost/iterator/iterator_facade.hpp> + #include <boost/smart_ptr/intrusive_ref_counter.hpp> + ++#include <array> + #include <cassert> + #include <cstddef> + #include <limits> diff --git a/dev-libs/immer/immer-0.8.1.ebuild b/dev-libs/immer/immer-0.8.1.ebuild new file mode 100644 index 000000000000..46e7dd1d34a3 --- /dev/null +++ b/dev-libs/immer/immer-0.8.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Library of persistent and immutable data structures written in C++" +HOMEPAGE="https://sinusoid.es/immer/" +SRC_URI="https://github.com/arximboldi/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Boost-1.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-libs/boost:= + dev-libs/boehm-gc +" +DEPEND="${RDEPEND}" +BDEPEND=" + test? ( <dev-cpp/catch-3:0 ) +" + +PATCHES=( + "${FILESDIR}"/${P}-fix-dvector-test.patch +) + +src_configure() { + local mycmakeargs=( + -DCCACHE=no + -Dimmer_BUILD_DOCS=OFF # Recheck if documentation is in a better state when bumping + -Dimmer_BUILD_EXAMPLES=OFF + -Dimmer_BUILD_EXTRAS=OFF + -Dimmer_BUILD_TESTS=$(usex test) + -DDISABLE_WERROR=ON + ) + cmake_src_configure +} + +src_compile() { + cmake_src_compile + if use test; then + cmake_build tests + fi +} diff --git a/dev-libs/immer/metadata.xml b/dev-libs/immer/metadata.xml new file mode 100644 index 000000000000..67bede469e56 --- /dev/null +++ b/dev-libs/immer/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person" proxied="yes"> + <email>darkdefende@gmail.com</email> + <name>Sebastian Parborg</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <upstream> + <remote-id type="github">arximboldi/immer</remote-id> + </upstream> +</pkgmetadata> |