commit: 82a248a29e300ae0cee3221f9320ac5e5f9ed87a Author: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com> AuthorDate: Tue Aug 13 13:00:40 2024 +0000 Commit: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com> CommitDate: Tue Aug 13 13:01:44 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=82a248a2
dev-cpp/toml11: add 4.2.0 Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com> dev-cpp/toml11/Manifest | 1 + dev-cpp/toml11/toml11-4.2.0.ebuild | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) diff --git a/dev-cpp/toml11/Manifest b/dev-cpp/toml11/Manifest index 5664ddec5..062c41e86 100644 --- a/dev-cpp/toml11/Manifest +++ b/dev-cpp/toml11/Manifest @@ -1,3 +1,4 @@ DIST toml-0.5.0.tar.gz 1609475 BLAKE2B ed9c2fd5f885411c9a607b84a0c484c8ad3d26c16cdf31b5800be74c928b15faaa1cad53c913d5f43c74bce260ed10f74a1b81d72679eca291a9de503414fdda SHA512 5a84a2704ee0bffefcf27ef15a45689ca3d76350842e16c2c847500c4420a22254e78804f3b26005fec17263a4717bd01127a53e56335fe2a3c828cc02e75d37 DIST toml11-3.8.1.tar.gz 135565 BLAKE2B 96cf39e097e8fc587faab980f993c36f720ca6185938accd4200277380a189fd8604d04f3a24fe06a6cc4708e23e5271d930135d2be9b6fb37b56ad1a845f1c1 SHA512 74a70abe413e21b94284242c281645c49f08b930c62f5479e6698cee45a99b56511d0a8888f1f6f2af3fc245bb0dfd5048a0b810b474ca1066211e25a1ce33bb DIST toml11-4.1.0.tar.gz 342303 BLAKE2B 969fd0187d23c2525e4979773989fcd24446e14671b9cf829c48590e0e4e15d7e9514348b560bc552a7891d54da80b808d081b8a44fe6a0cad7f8cd71c496055 SHA512 b9755fc434ba8e1ada2f42d37d1bdde084d9bb0ac9300e87113fd5a1fb3095381c745797e8646c3cccec6769f07b03f724823253ccb50e8f36c604ea9452df66 +DIST toml11-4.2.0.tar.gz 345359 BLAKE2B 771de7b1af5b3a8f93c114ff4a4ea84b2884c9a0a9a3c304aa3489e4a4aed90d31bca41287a183ee58519455839d7fb4a3075c48d689232991dca67a850f785a SHA512 acb29d37150e5752526cf0a38ae7f207fcfd142d3c78d280e706ad404b2d32f5bae6d44d6ce13cc0bdfd3b0fa4a0a94cf732d70b1fd2a01c3c517fee8a4ef05b diff --git a/dev-cpp/toml11/toml11-4.2.0.ebuild b/dev-cpp/toml11/toml11-4.2.0.ebuild new file mode 100644 index 000000000..09fbf2898 --- /dev/null +++ b/dev-cpp/toml11/toml11-4.2.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="TOML for Modern C++" +HOMEPAGE="https://github.com/ToruNiina/toml11" +SRC_URI="https://github.com/ToruNiina/toml11/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND="test? ( dev-cpp/doctest )" + +PATCHES=( + # unbundle doctest + "${FILESDIR}/${PN}-4.1.0-system-doctest.patch" + # unset Werror + "${FILESDIR}/${PN}-4.1.0-werror.patch" +) + +src_configure() { + local mycmakeargs=( + -DTOML11_BUILD_TESTS=$(usex test) + ) + cmake_src_configure +}