diff options
author | Steffen Winter <steffen.winter@proton.me> | 2024-05-20 02:54:16 +0200 |
---|---|---|
committer | Steffen Winter <steffen.winter@proton.me> | 2024-05-20 02:54:16 +0200 |
commit | 66fa415e2656420e1bbfa9b54889764be4c1f37c (patch) | |
tree | 40d424251ec57e45b00f62e25c6b6382b350d791 | |
parent | dev-cpp/scnlib: add 2.0.3 (diff) | |
download | guru-66fa415e2656420e1bbfa9b54889764be4c1f37c.tar.gz guru-66fa415e2656420e1bbfa9b54889764be4c1f37c.tar.bz2 guru-66fa415e2656420e1bbfa9b54889764be4c1f37c.zip |
dev-cpp/scnlib: drop 2.0.2-r1
Signed-off-by: Steffen Winter <steffen.winter@proton.me>
-rw-r--r-- | dev-cpp/scnlib/Manifest | 1 | ||||
-rw-r--r-- | dev-cpp/scnlib/files/scnlib-2.0.2-accept-newer-simdutf.patch | 16 | ||||
-rw-r--r-- | dev-cpp/scnlib/files/scnlib-2.0.2-accept-simdutf-5.2.x.patch | 16 | ||||
-rw-r--r-- | dev-cpp/scnlib/files/scnlib-2.0.2-no-external-test-deps.patch | 59 | ||||
-rw-r--r-- | dev-cpp/scnlib/scnlib-2.0.2-r1.ebuild | 46 |
5 files changed, 0 insertions, 138 deletions
diff --git a/dev-cpp/scnlib/Manifest b/dev-cpp/scnlib/Manifest index 510b226ec..970d5182f 100644 --- a/dev-cpp/scnlib/Manifest +++ b/dev-cpp/scnlib/Manifest @@ -1,2 +1 @@ -DIST scnlib-2.0.2.tar.gz 518311 BLAKE2B 21084e8830a10df0777dc100e2e448447f3a777535a821dca96423dfdb467c9073fb3e7c499ffb42598f54b8f44d3fdab9c43d005c313850454a8fd27e152273 SHA512 12b9ae26a5ccc600aacad1e2b2287bfc0b6986a260e182c91541876bc5804fe661093ad10d1befda56803afc7a9aa9f0348820dbb5af4fa6fdf048f85b3bcef1 DIST scnlib-2.0.3.tar.gz 520197 BLAKE2B 6e0a88985e8113d85d5c511fe9ec857af12a5d34224fee7a41d8347e1e1e9fe7bb78b15bbdafd9c06006112de747c9c3cd6b101d1076b619e33ac7e745668cc4 SHA512 888f60d5a60b2e348001a56a59e123f496f89b09668f0b05791e878528c1c46930963f22e3b64130c875896ace56dffc0d9310edabb4804abf79cc125dfd5ff4 diff --git a/dev-cpp/scnlib/files/scnlib-2.0.2-accept-newer-simdutf.patch b/dev-cpp/scnlib/files/scnlib-2.0.2-accept-newer-simdutf.patch deleted file mode 100644 index 3e42ae495..000000000 --- a/dev-cpp/scnlib/files/scnlib-2.0.2-accept-newer-simdutf.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff --git a/cmake/dependencies.cmake b/cmake/dependencies.cmake -index ae2832b..186fbed 100644 ---- a/cmake/dependencies.cmake -+++ b/cmake/dependencies.cmake -@@ -61,7 +61,10 @@ endif () - # we don't want to include tests of dependencies, so we need to do some manual work - - if (SCN_USE_EXTERNAL_SIMDUTF) -- find_package(simdutf 4.0.0 CONFIG REQUIRED) -+ find_package(simdutf 5.0.0 CONFIG) -+ if(NOT simdutf_FOUND) -+ find_package(simdutf 4.0.0 CONFIG REQUIRED) -+ endif() - else () - FetchContent_Declare( - simdutf diff --git a/dev-cpp/scnlib/files/scnlib-2.0.2-accept-simdutf-5.2.x.patch b/dev-cpp/scnlib/files/scnlib-2.0.2-accept-simdutf-5.2.x.patch deleted file mode 100644 index af0feb295..000000000 --- a/dev-cpp/scnlib/files/scnlib-2.0.2-accept-simdutf-5.2.x.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff --git a/cmake/dependencies.cmake b/cmake/dependencies.cmake -index ae2832b..186fbed 100644 ---- a/cmake/dependencies.cmake -+++ b/cmake/dependencies.cmake -@@ -61,7 +61,10 @@ endif () - # we don't want to include tests of dependencies, so we need to do some manual work - - if (SCN_USE_EXTERNAL_SIMDUTF) -- find_package(simdutf 4.0.0 CONFIG REQUIRED) -+ find_package(simdutf 5.2.0 CONFIG) -+ if(NOT simdutf_FOUND) -+ find_package(simdutf 4.0.0 CONFIG REQUIRED) -+ endif() - else () - FetchContent_Declare( - simdutf diff --git a/dev-cpp/scnlib/files/scnlib-2.0.2-no-external-test-deps.patch b/dev-cpp/scnlib/files/scnlib-2.0.2-no-external-test-deps.patch deleted file mode 100644 index e78ba0a2a..000000000 --- a/dev-cpp/scnlib/files/scnlib-2.0.2-no-external-test-deps.patch +++ /dev/null @@ -1,59 +0,0 @@ -diff --git a/cmake/dependencies.cmake b/cmake/dependencies.cmake -index ae2832b..c250eff 100644 ---- a/cmake/dependencies.cmake -+++ b/cmake/dependencies.cmake -@@ -4,41 +4,10 @@ set(SCN_OPTIONAL_DEPENDENCIES "") - - if (SCN_TESTS) - # GTest -- -- FetchContent_Declare( -- googletest -- GIT_REPOSITORY https://github.com/google/googletest.git -- GIT_TAG main -- GIT_SHALLOW TRUE -- ) -- -- # gtest CMake does some flag overriding we don't want, and it's also quite heavy -- # Do it manually -- -- set(gtest_force_shared_crt ON CACHE BOOL "" FORCE) -- -- FetchContent_GetProperties(googletest) -- if (NOT googletest) -- FetchContent_Populate(googletest) -- endif () -- -- find_package(Threads) -- -- add_library(scn_gtest -- "${googletest_SOURCE_DIR}/googletest/src/gtest-all.cc" -- "${googletest_SOURCE_DIR}/googlemock/src/gmock-all.cc" -- ) -- target_include_directories(scn_gtest SYSTEM -- PUBLIC -- "${googletest_SOURCE_DIR}/googletest/include" -- "${googletest_SOURCE_DIR}/googlemock/include" -- PRIVATE -- "${googletest_SOURCE_DIR}/googletest" -- "${googletest_SOURCE_DIR}/googlemock" -- ) -- target_link_libraries(scn_gtest PRIVATE Threads::Threads) -- target_compile_features(scn_gtest PUBLIC cxx_std_17) -- target_compile_options(scn_gtest PRIVATE $<$<CXX_COMPILER_ID:GNU>: -Wno-psabi>) -+ find_package(GTest REQUIRED) -+ add_library(scn_gtest INTERFACE) -+ target_link_libraries(scn_gtest INTERFACE GTest::GTest) -+ target_compile_features(scn_gtest INTERFACE cxx_std_17) - endif () - - if (SCN_BENCHMARKS) -@@ -158,8 +127,3 @@ if (SCN_REGEX_BACKEND STREQUAL "re2") - set(SCN_REGEX_BACKEND_TARGET re2::re2) - endif () - --# make available -- --FetchContent_MakeAvailable( -- ${SCN_OPTIONAL_DEPENDENCIES} --) diff --git a/dev-cpp/scnlib/scnlib-2.0.2-r1.ebuild b/dev-cpp/scnlib/scnlib-2.0.2-r1.ebuild deleted file mode 100644 index c4d3153a0..000000000 --- a/dev-cpp/scnlib/scnlib-2.0.2-r1.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="scanf for modern C++ " -HOMEPAGE="https://scnlib.dev/" -SRC_URI="https://github.com/eliaskosunen/scnlib/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64" -IUSE="test" - -BDEPEND=" - dev-cpp/fast_float - >=dev-cpp/simdutf-5.2.0:= - test? ( dev-cpp/gtest ) -" - -RESTRICT="!test? ( test )" - -PATCHES=( - "${FILESDIR}/${P}-accept-simdutf-5.2.x.patch" -) - -src_prepare() { - use test && eapply "${FILESDIR}/${P}-no-external-test-deps.patch" - cmake_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DSCN_BENCHMARKS=OFF - -DSCN_BENCHMARKS_BINARYSIZE=OFF - -DSCN_BENCHMARKS_BUILDTIME=OFF - -DSCN_DOCS=OFF - -DSCN_EXAMPLES=$(usex test ON OFF) - -DSCN_TESTS=$(usex test ON OFF) - -DSCN_USE_EXTERNAL_FAST_FLOAT=ON - -DSCN_USE_EXTERNAL_SIMDUTF=ON - ) - cmake_src_configure -} |