* [gentoo-commits] repo/proj/guru:dev commit in: dev-cpp/toml11/files/, dev-cpp/toml11/
@ 2024-02-12 12:06 Takuya Wakazono
0 siblings, 0 replies; 2+ messages in thread
From: Takuya Wakazono @ 2024-02-12 12:06 UTC (permalink / raw
To: gentoo-commits
commit: 9a936189f2407a455dbee1d7b34432526d0c3f29
Author: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Mon Feb 12 12:04:16 2024 +0000
Commit: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
CommitDate: Mon Feb 12 12:05:35 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9a936189
dev-cpp/toml11: new package, add 3.8.1
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>
dev-cpp/toml11/Manifest | 2 ++
dev-cpp/toml11/files/toml11-3.8.1-werror.patch | 13 ++++++++++
dev-cpp/toml11/metadata.xml | 11 +++++++++
dev-cpp/toml11/toml11-3.8.1.ebuild | 34 ++++++++++++++++++++++++++
4 files changed, 60 insertions(+)
diff --git a/dev-cpp/toml11/Manifest b/dev-cpp/toml11/Manifest
new file mode 100644
index 0000000000..55d0409044
--- /dev/null
+++ b/dev-cpp/toml11/Manifest
@@ -0,0 +1,2 @@
+DIST toml-0.5.0.tar.gz 1609475 BLAKE2B ed9c2fd5f885411c9a607b84a0c484c8ad3d26c16cdf31b5800be74c928b15faaa1cad53c913d5f43c74bce260ed10f74a1b81d72679eca291a9de503414fdda SHA512 5a84a2704ee0bffefcf27ef15a45689ca3d76350842e16c2c847500c4420a22254e78804f3b26005fec17263a4717bd01127a53e56335fe2a3c828cc02e75d37
+DIST toml11-3.8.1.tar.gz 135565 BLAKE2B 96cf39e097e8fc587faab980f993c36f720ca6185938accd4200277380a189fd8604d04f3a24fe06a6cc4708e23e5271d930135d2be9b6fb37b56ad1a845f1c1 SHA512 74a70abe413e21b94284242c281645c49f08b930c62f5479e6698cee45a99b56511d0a8888f1f6f2af3fc245bb0dfd5048a0b810b474ca1066211e25a1ce33bb
diff --git a/dev-cpp/toml11/files/toml11-3.8.1-werror.patch b/dev-cpp/toml11/files/toml11-3.8.1-werror.patch
new file mode 100644
index 0000000000..0d1e905f64
--- /dev/null
+++ b/dev-cpp/toml11/files/toml11-3.8.1-werror.patch
@@ -0,0 +1,13 @@
+Unset -Werror from the builds
+--- a/tests/CMakeLists.txt
++++ b/tests/CMakeLists.txt
+@@ -156,9 +156,6 @@ endif()
+ if(COMPILER_SUPPORTS_WPEDANTIC)
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wpedantic")
+ endif()
+-if(COMPILER_SUPPORTS_WERROR)
+- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror")
+-endif()
+ if(COMPILER_SUPPORTS_WSHADOW)
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wshadow")
+ endif()
diff --git a/dev-cpp/toml11/metadata.xml b/dev-cpp/toml11/metadata.xml
new file mode 100644
index 0000000000..ad1b5bb30b
--- /dev/null
+++ b/dev-cpp/toml11/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>pastalian46@gmail.com</email>
+ <name>Takuya Wakazono</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">ToruNiina/toml11</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-cpp/toml11/toml11-3.8.1.ebuild b/dev-cpp/toml11/toml11-3.8.1.ebuild
new file mode 100644
index 0000000000..728c5aea13
--- /dev/null
+++ b/dev-cpp/toml11/toml11-3.8.1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+SPEC_V=0.5.0
+
+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
+ https://github.com/toml-lang/toml/archive/refs/tags/v0.5.0.tar.gz -> toml-${SPEC_V}.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DEPEND="test? ( dev-libs/boost )"
+
+PATCHES=( "${FILESDIR}/${P}-werror.patch" )
+
+src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_CXX_STANDARD=11
+ -DTOML11_LANGSPEC_SOURCE_DIR="${WORKDIR}/toml-${SPEC_V}"
+ -Dtoml11_BUILD_TEST=$(usex test)
+ )
+ cmake_src_configure
+}
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-cpp/toml11/files/, dev-cpp/toml11/
@ 2024-08-27 13:41 Anna Vyalkova
0 siblings, 0 replies; 2+ messages in thread
From: Anna Vyalkova @ 2024-08-27 13:41 UTC (permalink / raw
To: gentoo-commits
commit: 2a7487ed608339bad63798e82792900100c3bff3
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Tue Aug 27 13:41:18 2024 +0000
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Tue Aug 27 13:41:30 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2a7487ed
dev-cpp/toml11: treeclean (moved to ::gentoo)
Closes: https://bugs.gentoo.org/924464
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
dev-cpp/toml11/Manifest | 3 -
dev-cpp/toml11/files/toml11-3.8.1-werror.patch | 13 -
.../toml11/files/toml11-4.1.0-system-doctest.patch | 410 ---------------------
dev-cpp/toml11/files/toml11-4.1.0-werror.patch | 11 -
dev-cpp/toml11/metadata.xml | 11 -
dev-cpp/toml11/toml11-3.8.1.ebuild | 34 --
dev-cpp/toml11/toml11-4.2.0.ebuild | 32 --
7 files changed, 514 deletions(-)
diff --git a/dev-cpp/toml11/Manifest b/dev-cpp/toml11/Manifest
deleted file mode 100644
index 8cb697cfc..000000000
--- a/dev-cpp/toml11/Manifest
+++ /dev/null
@@ -1,3 +0,0 @@
-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.2.0.tar.gz 345359 BLAKE2B 771de7b1af5b3a8f93c114ff4a4ea84b2884c9a0a9a3c304aa3489e4a4aed90d31bca41287a183ee58519455839d7fb4a3075c48d689232991dca67a850f785a SHA512 acb29d37150e5752526cf0a38ae7f207fcfd142d3c78d280e706ad404b2d32f5bae6d44d6ce13cc0bdfd3b0fa4a0a94cf732d70b1fd2a01c3c517fee8a4ef05b
diff --git a/dev-cpp/toml11/files/toml11-3.8.1-werror.patch b/dev-cpp/toml11/files/toml11-3.8.1-werror.patch
deleted file mode 100644
index 0d1e905f6..000000000
--- a/dev-cpp/toml11/files/toml11-3.8.1-werror.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Unset -Werror from the builds
---- a/tests/CMakeLists.txt
-+++ b/tests/CMakeLists.txt
-@@ -156,9 +156,6 @@ endif()
- if(COMPILER_SUPPORTS_WPEDANTIC)
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wpedantic")
- endif()
--if(COMPILER_SUPPORTS_WERROR)
-- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror")
--endif()
- if(COMPILER_SUPPORTS_WSHADOW)
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wshadow")
- endif()
diff --git a/dev-cpp/toml11/files/toml11-4.1.0-system-doctest.patch b/dev-cpp/toml11/files/toml11-4.1.0-system-doctest.patch
deleted file mode 100644
index fce2e9876..000000000
--- a/dev-cpp/toml11/files/toml11-4.1.0-system-doctest.patch
+++ /dev/null
@@ -1,410 +0,0 @@
-unbundle doctest
---- a/tests/CMakeLists.txt
-+++ b/tests/CMakeLists.txt
-@@ -43,15 +43,16 @@ set(TOML11_TEST_NAMES
-
- if(BUILD_TESTING)
- add_library(toml11_test_utility STATIC utility.cpp)
-+ find_package(doctest REQUIRED)
- target_include_directories(toml11_test_utility
-- PRIVATE ${PROJECT_SOURCE_DIR}/tests/extlib/doctest/doctest/
-+ PRIVATE ${DOCTEST_INCLUDE_DIR}
- )
- target_link_libraries(toml11_test_utility PUBLIC toml11)
-
- foreach(TEST_NAME ${TOML11_TEST_NAMES})
- add_executable(${TEST_NAME} ${TEST_NAME}.cpp)
- target_include_directories(${TEST_NAME}
-- PRIVATE ${PROJECT_SOURCE_DIR}/tests/extlib/doctest/doctest/
-+ PRIVATE ${DOCTEST_INCLUDE_DIR}
- )
- target_link_libraries(${TEST_NAME} PUBLIC toml11 toml11_test_utility)
- if(MSVC)
---- a/tests/test_comments.cpp
-+++ b/tests/test_comments.cpp
-@@ -1,5 +1,5 @@
- #define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
--#include "doctest.h"
-+#include <doctest/doctest.h>
-
- #include <toml.hpp>
-
---- a/tests/test_datetime.cpp
-+++ b/tests/test_datetime.cpp
-@@ -1,5 +1,5 @@
- #define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
--#include "doctest.h"
-+#include <doctest/doctest.h>
-
- #include <toml11/datetime.hpp>
-
---- a/tests/test_error_message.cpp
-+++ b/tests/test_error_message.cpp
-@@ -1,5 +1,5 @@
- #define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
--#include "doctest.h"
-+#include <doctest/doctest.h>
-
- #include <toml.hpp>
-
---- a/tests/test_find.cpp
-+++ b/tests/test_find.cpp
-@@ -1,5 +1,5 @@
- #define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
--#include "doctest.h"
-+#include <doctest/doctest.h>
-
- #include "utility.hpp"
-
---- a/tests/test_find_or.cpp
-+++ b/tests/test_find_or.cpp
-@@ -1,5 +1,5 @@
- #define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
--#include "doctest.h"
-+#include <doctest/doctest.h>
-
- #include "utility.hpp"
-
---- a/tests/test_format_floating.cpp
-+++ b/tests/test_format_floating.cpp
-@@ -1,5 +1,5 @@
- #define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
--#include "doctest.h"
-+#include <doctest/doctest.h>
-
- #include <toml11/parser.hpp>
- #include <toml11/serializer.hpp>
---- a/tests/test_format_integer.cpp
-+++ b/tests/test_format_integer.cpp
-@@ -1,5 +1,5 @@
- #define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
--#include "doctest.h"
-+#include <doctest/doctest.h>
-
- #include <toml11/parser.hpp>
- #include <toml11/serializer.hpp>
---- a/tests/test_format_table.cpp
-+++ b/tests/test_format_table.cpp
-@@ -1,5 +1,5 @@
- #define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
--#include "doctest.h"
-+#include <doctest/doctest.h>
-
- #include <toml11/parser.hpp>
- #include <toml11/serializer.hpp>
---- a/tests/test_get.cpp
-+++ b/tests/test_get.cpp
-@@ -1,5 +1,5 @@
- #define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
--#include "doctest.h"
-+#include <doctest/doctest.h>
-
- #include "utility.hpp"
-
---- a/tests/test_get_or.cpp
-+++ b/tests/test_get_or.cpp
-@@ -1,5 +1,5 @@
- #define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
--#include "doctest.h"
-+#include <doctest/doctest.h>
-
- #include "utility.hpp"
-
---- a/tests/test_literal.cpp
-+++ b/tests/test_literal.cpp
-@@ -1,5 +1,5 @@
- #define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
--#include "doctest.h"
-+#include <doctest/doctest.h>
-
- #include <iostream>
-
---- a/tests/test_location.cpp
-+++ b/tests/test_location.cpp
-@@ -1,5 +1,5 @@
- #define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
--#include "doctest.h"
-+#include <doctest/doctest.h>
-
- #include <toml11/location.hpp>
-
---- a/tests/test_parse_array.cpp
-+++ b/tests/test_parse_array.cpp
-@@ -5,7 +5,7 @@
- #include <toml11/parser.hpp>
- #include <toml11/types.hpp>
-
--#include "doctest.h"
-+#include <doctest/doctest.h>
-
- TEST_CASE("testing an array")
- {
---- a/tests/test_parse_boolean.cpp
-+++ b/tests/test_parse_boolean.cpp
-@@ -1,5 +1,5 @@
- #define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
--#include "doctest.h"
-+#include <doctest/doctest.h>
-
- #include "utility.hpp"
-
---- a/tests/test_parse_datetime.cpp
-+++ b/tests/test_parse_datetime.cpp
-@@ -1,5 +1,5 @@
- #define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
--#include "doctest.h"
-+#include <doctest/doctest.h>
-
- #include "utility.hpp"
-
---- a/tests/test_parse_floating.cpp
-+++ b/tests/test_parse_floating.cpp
-@@ -1,5 +1,5 @@
- #define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
--#include "doctest.h"
-+#include <doctest/doctest.h>
-
- #include "utility.hpp"
-
---- a/tests/test_parse_inline_table.cpp
-+++ b/tests/test_parse_inline_table.cpp
-@@ -5,7 +5,7 @@
- #include <toml11/parser.hpp>
- #include <toml11/types.hpp>
-
--#include "doctest.h"
-+#include <doctest/doctest.h>
-
- TEST_CASE("testing an inline table v1.0")
- {
---- a/tests/test_parse_integer.cpp
-+++ b/tests/test_parse_integer.cpp
-@@ -1,6 +1,6 @@
-
- #define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
--#include "doctest.h"
-+#include <doctest/doctest.h>
-
- #include "utility.hpp"
-
---- a/tests/test_parse_null.cpp
-+++ b/tests/test_parse_null.cpp
-@@ -1,5 +1,5 @@
- #define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
--#include "doctest.h"
-+#include <doctest/doctest.h>
-
- #include "utility.hpp"
-
---- a/tests/test_parse_string.cpp
-+++ b/tests/test_parse_string.cpp
-@@ -1,5 +1,5 @@
- #define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
--#include "doctest.h"
-+#include <doctest/doctest.h>
-
- #include "utility.hpp"
- #include <iostream>
---- a/tests/test_parse_table.cpp
-+++ b/tests/test_parse_table.cpp
-@@ -5,7 +5,7 @@
- #include <toml11/parser.hpp>
- #include <toml11/types.hpp>
-
--#include "doctest.h"
-+#include <doctest/doctest.h>
-
- TEST_CASE("testing a table")
- {
---- a/tests/test_parse_table_keys.cpp
-+++ b/tests/test_parse_table_keys.cpp
-@@ -5,7 +5,7 @@
- #include <toml11/parser.hpp>
- #include <toml11/types.hpp>
-
--#include "doctest.h"
-+#include <doctest/doctest.h>
-
- TEST_CASE("testing table keys")
- {
---- a/tests/test_result.cpp
-+++ b/tests/test_result.cpp
-@@ -1,5 +1,5 @@
- #define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
--#include "doctest.h"
-+#include <doctest/doctest.h>
-
- #include <toml11/result.hpp>
-
---- a/tests/test_scanner.cpp
-+++ b/tests/test_scanner.cpp
-@@ -1,5 +1,5 @@
- #define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
--#include "doctest.h"
-+#include <doctest/doctest.h>
-
- #include "utility.hpp"
-
---- a/tests/test_serialize.cpp
-+++ b/tests/test_serialize.cpp
-@@ -1,5 +1,5 @@
- #define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
--#include "doctest.h"
-+#include <doctest/doctest.h>
-
- #include <toml.hpp>
-
---- a/tests/test_spec.cpp
-+++ b/tests/test_spec.cpp
-@@ -1,5 +1,5 @@
- #define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
--#include "doctest.h"
-+#include <doctest/doctest.h>
-
- #include <toml11/spec.hpp>
-
---- a/tests/test_storage.cpp
-+++ b/tests/test_storage.cpp
-@@ -1,5 +1,5 @@
- #define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
--#include "doctest.h"
-+#include <doctest/doctest.h>
-
- #include <toml11/storage.hpp>
-
---- a/tests/test_syntax_boolean.cpp
-+++ b/tests/test_syntax_boolean.cpp
-@@ -1,5 +1,5 @@
- #define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
--#include "doctest.h"
-+#include <doctest/doctest.h>
-
- #include "utility.hpp"
-
---- a/tests/test_syntax_comment.cpp
-+++ b/tests/test_syntax_comment.cpp
-@@ -1,5 +1,5 @@
- #define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
--#include "doctest.h"
-+#include <doctest/doctest.h>
-
- #include "utility.hpp"
-
---- a/tests/test_syntax_datetime.cpp
-+++ b/tests/test_syntax_datetime.cpp
-@@ -1,5 +1,5 @@
- #define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
--#include "doctest.h"
-+#include <doctest/doctest.h>
-
- #include "utility.hpp"
-
---- a/tests/test_syntax_floating.cpp
-+++ b/tests/test_syntax_floating.cpp
-@@ -1,5 +1,5 @@
- #define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
--#include "doctest.h"
-+#include <doctest/doctest.h>
-
- #include "utility.hpp"
-
---- a/tests/test_syntax_integer.cpp
-+++ b/tests/test_syntax_integer.cpp
-@@ -1,5 +1,5 @@
- #define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
--#include "doctest.h"
-+#include <doctest/doctest.h>
-
- #include "utility.hpp"
-
---- a/tests/test_syntax_key.cpp
-+++ b/tests/test_syntax_key.cpp
-@@ -1,5 +1,5 @@
- #define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
--#include "doctest.h"
-+#include <doctest/doctest.h>
-
- #include "utility.hpp"
-
---- a/tests/test_syntax_string.cpp
-+++ b/tests/test_syntax_string.cpp
-@@ -1,5 +1,5 @@
- #define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
--#include "doctest.h"
-+#include <doctest/doctest.h>
-
- #include "utility.hpp"
-
---- a/tests/test_traits.cpp
-+++ b/tests/test_traits.cpp
-@@ -1,5 +1,5 @@
- #define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
--#include "doctest.h"
-+#include <doctest/doctest.h>
-
- #include <toml11/types.hpp>
-
---- a/tests/test_types.cpp
-+++ b/tests/test_types.cpp
-@@ -1,5 +1,5 @@
- #define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
--#include "doctest.h"
-+#include <doctest/doctest.h>
-
- #include <toml11/types.hpp>
-
---- a/tests/test_user_defined_conversion.cpp
-+++ b/tests/test_user_defined_conversion.cpp
-@@ -1,5 +1,5 @@
- #define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
--#include "doctest.h"
-+#include <doctest/doctest.h>
-
- #include <toml.hpp>
- #include "utility.hpp"
---- a/tests/test_utility.cpp
-+++ b/tests/test_utility.cpp
-@@ -1,5 +1,5 @@
- #define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
--#include "doctest.h"
-+#include <doctest/doctest.h>
-
- #include <toml11/utility.hpp>
-
---- a/tests/test_value.cpp
-+++ b/tests/test_value.cpp
-@@ -1,5 +1,5 @@
- #define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
--#include "doctest.h"
-+#include <doctest/doctest.h>
-
- #include "utility.hpp"
-
---- a/tests/test_visit.cpp
-+++ b/tests/test_visit.cpp
-@@ -1,5 +1,5 @@
- #define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
--#include "doctest.h"
-+#include <doctest/doctest.h>
-
- #include <toml11/comments.hpp>
- #include <toml11/types.hpp>
---- a/tests/utility.cpp
-+++ b/tests/utility.cpp
-@@ -1,4 +1,4 @@
--#include "doctest.h"
-+#include <doctest/doctest.h>
-
- #include "utility.hpp"
-
---- a/tests/utility.hpp
-+++ b/tests/utility.hpp
-@@ -9,7 +9,7 @@
- #include <toml11/serializer.hpp>
- #include <toml11/value.hpp>
-
--#include "doctest.h"
-+#include <doctest/doctest.h>
-
- #include <ostream>
- #include <string>
diff --git a/dev-cpp/toml11/files/toml11-4.1.0-werror.patch b/dev-cpp/toml11/files/toml11-4.1.0-werror.patch
deleted file mode 100644
index df06c2acb..000000000
--- a/dev-cpp/toml11/files/toml11-4.1.0-werror.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-unset Werror
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -44,7 +44,6 @@ include(CheckCXXCompilerFlag)
- check_cxx_compiler_flag("-Wall" TOML11_COMPILER_SUPPORTS_WALL)
- check_cxx_compiler_flag("-Wextra" TOML11_COMPILER_SUPPORTS_WEXTRA)
- check_cxx_compiler_flag("-Wpedantic" TOML11_COMPILER_SUPPORTS_WPEDANTIC)
--check_cxx_compiler_flag("-Werror" TOML11_COMPILER_SUPPORTS_WERROR)
- check_cxx_compiler_flag("-Wsign-conversion" TOML11_COMPILER_SUPPORTS_WSIGN_CONVERSION)
- check_cxx_compiler_flag("-Wconversion" TOML11_COMPILER_SUPPORTS_WCONVERSION)
- check_cxx_compiler_flag("-Wduplicated-cond" TOML11_COMPILER_SUPPORTS_WDUPLICATED_COND)
diff --git a/dev-cpp/toml11/metadata.xml b/dev-cpp/toml11/metadata.xml
deleted file mode 100644
index ad1b5bb30..000000000
--- a/dev-cpp/toml11/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>pastalian46@gmail.com</email>
- <name>Takuya Wakazono</name>
- </maintainer>
- <upstream>
- <remote-id type="github">ToruNiina/toml11</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/dev-cpp/toml11/toml11-3.8.1.ebuild b/dev-cpp/toml11/toml11-3.8.1.ebuild
deleted file mode 100644
index 728c5aea1..000000000
--- a/dev-cpp/toml11/toml11-3.8.1.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake
-
-SPEC_V=0.5.0
-
-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
- https://github.com/toml-lang/toml/archive/refs/tags/v0.5.0.tar.gz -> toml-${SPEC_V}.tar.gz
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-DEPEND="test? ( dev-libs/boost )"
-
-PATCHES=( "${FILESDIR}/${P}-werror.patch" )
-
-src_configure() {
- local mycmakeargs=(
- -DCMAKE_CXX_STANDARD=11
- -DTOML11_LANGSPEC_SOURCE_DIR="${WORKDIR}/toml-${SPEC_V}"
- -Dtoml11_BUILD_TEST=$(usex test)
- )
- cmake_src_configure
-}
diff --git a/dev-cpp/toml11/toml11-4.2.0.ebuild b/dev-cpp/toml11/toml11-4.2.0.ebuild
deleted file mode 100644
index 09fbf2898..000000000
--- a/dev-cpp/toml11/toml11-4.2.0.ebuild
+++ /dev/null
@@ -1,32 +0,0 @@
-# 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
-}
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-08-27 13:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-27 13:41 [gentoo-commits] repo/proj/guru:dev commit in: dev-cpp/toml11/files/, dev-cpp/toml11/ Anna Vyalkova
-- strict thread matches above, loose matches on Subject: below --
2024-02-12 12:06 Takuya Wakazono
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox