diff options
Diffstat (limited to 'dev-cpp')
| -rw-r--r-- | dev-cpp/ada/ada-3.2.4.ebuild | 2 | ||||
| -rw-r--r-- | dev-cpp/cppgir/cppgir-2.0_p20250508.ebuild | 2 | ||||
| -rw-r--r-- | dev-cpp/cpprestsdk/cpprestsdk-2.10.19-r5.ebuild | 2 | ||||
| -rw-r--r-- | dev-cpp/expected-lite/expected-lite-0.8.0.ebuild | 2 | ||||
| -rw-r--r-- | dev-cpp/fast_float/fast_float-8.0.0.ebuild | 2 | ||||
| -rw-r--r-- | dev-cpp/mastodonpp/Manifest | 1 | ||||
| -rw-r--r-- | dev-cpp/mastodonpp/files/mastodonpp-0.5.7-add-support-for-catch-3.patch | 139 | ||||
| -rw-r--r-- | dev-cpp/mastodonpp/mastodonpp-0.5.7-r1.ebuild | 61 | ||||
| -rw-r--r-- | dev-cpp/mastodonpp/mastodonpp-9999.ebuild | 59 | ||||
| -rw-r--r-- | dev-cpp/mastodonpp/metadata.xml | 17 | ||||
| -rw-r--r-- | dev-cpp/valijson/valijson-1.0.5.ebuild | 2 |
11 files changed, 6 insertions, 283 deletions
diff --git a/dev-cpp/ada/ada-3.2.4.ebuild b/dev-cpp/ada/ada-3.2.4.ebuild index 61e1ba4e5132..f85ac62513ba 100644 --- a/dev-cpp/ada/ada-3.2.4.ebuild +++ b/dev-cpp/ada/ada-3.2.4.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/ada-url/ada/archive/refs/tags/v${PV}.tar.gz -> ${P}. LICENSE="Apache-2.0 MIT" SLOT="0/$(ver_cut 1)" -KEYWORDS="~amd64 ~arm64 ~loong ~riscv" +KEYWORDS="amd64 ~arm64 ~loong ~riscv" RESTRICT="test" src_configure() { diff --git a/dev-cpp/cppgir/cppgir-2.0_p20250508.ebuild b/dev-cpp/cppgir/cppgir-2.0_p20250508.ebuild index 2f834b2ed82e..7f0fee1879f5 100644 --- a/dev-cpp/cppgir/cppgir-2.0_p20250508.ebuild +++ b/dev-cpp/cppgir/cppgir-2.0_p20250508.ebuild @@ -14,7 +14,7 @@ S="${WORKDIR}/${PN}-${MY_PV}" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv" +KEYWORDS="amd64 ~arm64 ~loong ~ppc64 ~riscv" IUSE="doc test" RESTRICT="!test? ( test )" diff --git a/dev-cpp/cpprestsdk/cpprestsdk-2.10.19-r5.ebuild b/dev-cpp/cpprestsdk/cpprestsdk-2.10.19-r5.ebuild index 057af0b4a17d..e8fe39b23b2c 100644 --- a/dev-cpp/cpprestsdk/cpprestsdk-2.10.19-r5.ebuild +++ b/dev-cpp/cpprestsdk/cpprestsdk-2.10.19-r5.ebuild @@ -10,7 +10,7 @@ HOMEPAGE="https://github.com/microsoft/cpprestsdk" SRC_URI="https://github.com/microsoft/cpprestsdk/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~x86" RDEPEND=">=dev-libs/openssl-1.1.1q >=dev-libs/boost-1.80.0-r1 diff --git a/dev-cpp/expected-lite/expected-lite-0.8.0.ebuild b/dev-cpp/expected-lite/expected-lite-0.8.0.ebuild index 8b4a7b3add9a..3bd4eed0ab9c 100644 --- a/dev-cpp/expected-lite/expected-lite-0.8.0.ebuild +++ b/dev-cpp/expected-lite/expected-lite-0.8.0.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/martinmoene/expected-lite/archive/refs/tags/v${PV}.t LICENSE="Boost-1.0" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv" +KEYWORDS="amd64 ~arm64 ~loong ~ppc64 ~riscv" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-cpp/fast_float/fast_float-8.0.0.ebuild b/dev-cpp/fast_float/fast_float-8.0.0.ebuild index 4e62e19610a1..b32b81184639 100644 --- a/dev-cpp/fast_float/fast_float-8.0.0.ebuild +++ b/dev-cpp/fast_float/fast_float-8.0.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/fastfloat/fast_float/archive/refs/tags/v${PV}.tar.gz LICENSE="|| ( Apache-2.0 Boost-1.0 MIT )" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ppc64 ~riscv ~sparc ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc ppc64 ~riscv ~sparc ~x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-cpp/mastodonpp/Manifest b/dev-cpp/mastodonpp/Manifest deleted file mode 100644 index 889a38d4badc..000000000000 --- a/dev-cpp/mastodonpp/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST mastodonpp-0.5.7.tar.gz 48172 BLAKE2B 70dabcb041b5545a205f2f551800317faf6e94a72f7a1d1b20a49b5ab7cf1a8fa0744438c66e03d9d47975b90d6fe31f284c968d5314c248fa681361d3ca4013 SHA512 c837571bcf8ca01ad9dc7792e75d114fac97092edf45ce5d6392835eadea7cb4ad47f83f3f850f2b3a52dfdd31c3b637a0b4d1b6140edddf1291311352557bf9 diff --git a/dev-cpp/mastodonpp/files/mastodonpp-0.5.7-add-support-for-catch-3.patch b/dev-cpp/mastodonpp/files/mastodonpp-0.5.7-add-support-for-catch-3.patch deleted file mode 100644 index e63324cfc352..000000000000 --- a/dev-cpp/mastodonpp/files/mastodonpp-0.5.7-add-support-for-catch-3.patch +++ /dev/null @@ -1,139 +0,0 @@ -# Upstream commit: <https://schlomp.space/tastytea/mastodonpp/commit/7255df0> - -From 7255df01e047da9bf88dcb6945d07b49126e24b4 Mon Sep 17 00:00:00 2001 -From: tastytea <tastytea@tastytea.de> -Date: Mon, 1 Aug 2022 14:01:38 +0200 -Subject: [PATCH] add support for testing with catch 3 - ---- - tests/CMakeLists.txt | 11 ++++++++--- - tests/main.cpp | 9 +++++++-- - tests/test_connection.cpp | 9 +++++++-- - tests/test_html_unescape.cpp | 9 +++++++-- - tests/test_instance.cpp | 9 +++++++-- - 5 files changed, 36 insertions(+), 11 deletions(-) - -diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt -index 3f7107b..dacc10d 100644 ---- a/tests/CMakeLists.txt -+++ b/tests/CMakeLists.txt -@@ -3,11 +3,16 @@ include(CTest) - file(GLOB sources_tests test_*.cpp) - - find_package(Catch2 CONFIG) --if(Catch2_FOUND) # Catch 2.x -+if(Catch2_FOUND) # Catch 2.x / 3.x - include(Catch) - add_executable(all_tests main.cpp ${sources_tests}) -- target_link_libraries(all_tests -- PRIVATE Catch2::Catch2 ${PROJECT_NAME}) -+ if(TARGET Catch2::Catch2WithMain) # Catch 3.x -+ target_link_libraries(all_tests -+ PRIVATE Catch2::Catch2WithMain ${PROJECT_NAME}) -+ else() # Catch 2.x -+ target_link_libraries(all_tests -+ PRIVATE Catch2::Catch2 ${PROJECT_NAME}) -+ endif() - target_include_directories(all_tests PRIVATE "/usr/include/catch2") - catch_discover_tests(all_tests EXTRA_ARGS "${EXTRA_TEST_ARGS}") - else() # Catch 1.x -diff --git a/tests/main.cpp b/tests/main.cpp -index 162dfdf..c6d12ed 100644 ---- a/tests/main.cpp -+++ b/tests/main.cpp -@@ -1,5 +1,5 @@ - /* This file is part of mastodonpp. -- * Copyright © 2020 tastytea <tastytea@tastytea.de> -+ * Copyright © 2020, 2022 tastytea <tastytea@tastytea.de> - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by -@@ -16,4 +16,9 @@ - - #define CATCH_CONFIG_MAIN - --#include <catch.hpp> -+// catch 3 does not have catch.hpp anymore -+#if __has_include(<catch.hpp>) -+# include <catch.hpp> -+#else -+# include <catch_all.hpp> -+#endif -diff --git a/tests/test_connection.cpp b/tests/test_connection.cpp -index 05d7668..208e8de 100644 ---- a/tests/test_connection.cpp -+++ b/tests/test_connection.cpp -@@ -1,5 +1,5 @@ - /* This file is part of mastodonpp. -- * Copyright © 2020 tastytea <tastytea@tastytea.de> -+ * Copyright © 2020, 2022 tastytea <tastytea@tastytea.de> - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by -@@ -17,7 +17,12 @@ - #include "connection.hpp" - #include "instance.hpp" - --#include <catch.hpp> -+// catch 3 does not have catch.hpp anymore -+#if __has_include(<catch.hpp>) -+# include <catch.hpp> -+#else -+# include <catch_all.hpp> -+#endif - - #include <exception> - -diff --git a/tests/test_html_unescape.cpp b/tests/test_html_unescape.cpp -index d141921..1c75dd8 100644 ---- a/tests/test_html_unescape.cpp -+++ b/tests/test_html_unescape.cpp -@@ -1,5 +1,5 @@ - /* This file is part of mastodonpp. -- * Copyright © 2020 tastytea <tastytea@tastytea.de> -+ * Copyright © 2020, 2022 tastytea <tastytea@tastytea.de> - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by -@@ -16,7 +16,12 @@ - - #include "helpers.hpp" - --#include <catch.hpp> -+// catch 3 does not have catch.hpp anymore -+#if __has_include(<catch.hpp>) -+# include <catch.hpp> -+#else -+# include <catch_all.hpp> -+#endif - - #include <exception> - #include <string> -diff --git a/tests/test_instance.cpp b/tests/test_instance.cpp -index 768cc2a..ebc2c0c 100644 ---- a/tests/test_instance.cpp -+++ b/tests/test_instance.cpp -@@ -1,5 +1,5 @@ - /* This file is part of mastodonpp. -- * Copyright © 2020 tastytea <tastytea@tastytea.de> -+ * Copyright © 2020, 2022 tastytea <tastytea@tastytea.de> - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by -@@ -16,7 +16,12 @@ - - #include "instance.hpp" - --#include <catch.hpp> -+// catch 3 does not have catch.hpp anymore -+#if __has_include(<catch.hpp>) -+# include <catch.hpp> -+#else -+# include <catch_all.hpp> -+#endif - - #include <exception> - #include <string> --- -2.35.1 - diff --git a/dev-cpp/mastodonpp/mastodonpp-0.5.7-r1.ebuild b/dev-cpp/mastodonpp/mastodonpp-0.5.7-r1.ebuild deleted file mode 100644 index b67a47dea423..000000000000 --- a/dev-cpp/mastodonpp/mastodonpp-0.5.7-r1.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake -[[ "${PV}" == "9999" ]] && inherit git-r3 - -DESCRIPTION="C++ wrapper for the Mastodon and Pleroma APIs." -HOMEPAGE="https://schlomp.space/tastytea/mastodonpp" -if [[ "${PV}" != "9999" ]]; then - SRC_URI="https://schlomp.space/tastytea/mastodonpp/archive/${PV}.tar.gz -> ${P}.tar.gz" - S="${WORKDIR}/${PN}" - KEYWORDS="~amd64" -else - EGIT_REPO_URI="https://schlomp.space/tastytea/mastodonpp.git" -fi - -LICENSE="AGPL-3" -SLOT="0" -IUSE="doc examples test" - -RDEPEND=">=net-misc/curl-7.56.0[ssl]" -DEPEND="${RDEPEND}" -BDEPEND=" - doc? ( app-text/doxygen[dot] ) - test? ( dev-cpp/catch ) -" - -RESTRICT="!test? ( test )" - -PATCHES=( "${FILESDIR}"/${PN}-0.5.7-add-support-for-catch-3.patch ) - -src_configure() { - local mycmakeargs=( - -DWITH_EXAMPLES=NO - -DWITH_TESTS="$(usex test)" - -DWITH_DOC="$(usex doc)" - ) - - cmake_src_configure -} - -src_test() { - BUILD_DIR="${BUILD_DIR}/tests" cmake_src_test -} - -src_install() { - if use doc; then - HTML_DOCS="${BUILD_DIR}/doc/html/*" - fi - - if use examples; then - docinto examples - for file in examples/*.cpp; do - dodoc ${file} - done - fi - - cmake_src_install -} diff --git a/dev-cpp/mastodonpp/mastodonpp-9999.ebuild b/dev-cpp/mastodonpp/mastodonpp-9999.ebuild deleted file mode 100644 index 52f335c63e24..000000000000 --- a/dev-cpp/mastodonpp/mastodonpp-9999.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake -[[ "${PV}" == "9999" ]] && inherit git-r3 - -DESCRIPTION="C++ wrapper for the Mastodon and Pleroma APIs." -HOMEPAGE="https://schlomp.space/tastytea/mastodonpp" -if [[ "${PV}" != "9999" ]]; then - SRC_URI="https://schlomp.space/tastytea/mastodonpp/archive/${PV}.tar.gz -> ${P}.tar.gz" - S="${WORKDIR}/${PN}" - KEYWORDS="~amd64" -else - EGIT_REPO_URI="https://schlomp.space/tastytea/mastodonpp.git" -fi - -LICENSE="AGPL-3" -SLOT="0" -IUSE="doc examples test" - -RDEPEND=">=net-misc/curl-7.56.0[ssl]" -DEPEND="${RDEPEND}" -BDEPEND=" - doc? ( app-text/doxygen[dot] ) - test? ( dev-cpp/catch ) -" - -RESTRICT="!test? ( test )" - -src_configure() { - local mycmakeargs=( - -DWITH_EXAMPLES=NO - -DWITH_TESTS="$(usex test)" - -DWITH_DOC="$(usex doc)" - ) - - cmake_src_configure -} - -src_test() { - BUILD_DIR="${BUILD_DIR}/tests" cmake_src_test -} - -src_install() { - if use doc; then - HTML_DOCS="${BUILD_DIR}/doc/html/*" - fi - - if use examples; then - docinto examples - for file in examples/*.cpp; do - dodoc ${file} - done - fi - - cmake_src_install -} diff --git a/dev-cpp/mastodonpp/metadata.xml b/dev-cpp/mastodonpp/metadata.xml deleted file mode 100644 index adffa8de9d32..000000000000 --- a/dev-cpp/mastodonpp/metadata.xml +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>tea+gentoo@cuddleslut.fr</email> - <name>tea</name> - </maintainer> - <upstream> - <maintainer> - <email>tea+gentoo@cuddleslut.fr</email> - <name>tea</name> - </maintainer> - <bugs-to>https://schlomp.space/tastytea/mastodonpp/issues</bugs-to> - <doc>https://doc.schlomp.space/mastodonpp/</doc> - </upstream> - <origin>gentoo-guru-overlay</origin> -</pkgmetadata>
\ No newline at end of file diff --git a/dev-cpp/valijson/valijson-1.0.5.ebuild b/dev-cpp/valijson/valijson-1.0.5.ebuild index 09724ca85eb4..a27cb9a9a7f9 100644 --- a/dev-cpp/valijson/valijson-1.0.5.ebuild +++ b/dev-cpp/valijson/valijson-1.0.5.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/tristanpenman/valijson/archive/v${PV}.tar.gz -> ${P} LICENSE="BSD-2 Boost-1.0" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 ~arm64 x86" # Bundled test dependencies are included as submodules, so not in github # autogenerated tarballs. The dependencies are largely packaged, but # needs patching to use those. |
