public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/xtl] epel10: Update to latest version.
Date: Sat, 11 Jul 2026 22:45:27 GMT	[thread overview]
Message-ID: <178380992757.1.3096218072031218935.rpms-xtl-769a566e73fd@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/xtl
Branch : epel10
Commit : 769a566e73fd08224e3824e98b200bada46a01f2
Author : Elliott Sales de Andrade <quantum.analyst@gmail.com>
Date   : 2019-01-23T02:13:41-05:00
Stats  : +7/-123 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/xtl/c/769a566e73fd08224e3824e98b200bada46a01f2?branch=epel10

Log:
Update to latest version.

---
diff --git a/.gitignore b/.gitignore
index c9a5e5e..8ac0b5f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
 /xtl-0.4.13.tar.gz
 /xtl-0.4.14.tar.gz
 /xtl-0.4.15.tar.gz
+/xtl-0.5.3.tar.gz

diff --git a/0002-Made-nlohmann_json-optional-in-the-tests-exported-c-.patch b/0002-Made-nlohmann_json-optional-in-the-tests-exported-c-.patch
deleted file mode 100644
index 831594d..0000000
--- a/0002-Made-nlohmann_json-optional-in-the-tests-exported-c-.patch
+++ /dev/null
@@ -1,118 +0,0 @@
-From 081bbc82d3c76598b8496806bb5a8b95403fc14e Mon Sep 17 00:00:00 2001
-From: Benjamin Isbarn <babene88@gmail.com>
-Date: Sat, 25 Aug 2018 12:05:41 +0200
-Subject: [PATCH 2/2] Made nlohmann_json optional in the tests, exported c++14
- requirement (#102)
-
-Made nlohmann_json optional in the tests, exported xtl compile features c++14.
-
-Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
----
- CMakeLists.txt          |  3 +++
- test/CMakeLists.txt     | 24 ++++++++++++++++--------
- test/test_xoptional.cpp |  6 ++++++
- 3 files changed, 25 insertions(+), 8 deletions(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index c20ea3a..be16680 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -61,6 +61,9 @@ add_library(xtl INTERFACE)
- target_include_directories(xtl INTERFACE $<BUILD_INTERFACE:${XTL_INCLUDE_DIR}>
-                                          $<INSTALL_INTERFACE:include>)
- 
-+# xtl requires C++14 support!
-+target_compile_features(xtl INTERFACE cxx_std_14)
-+
- 
- OPTION(BUILD_TESTS "xtl test suite" OFF)
- OPTION(DOWNLOAD_GTEST "build gtest from downloaded sources" OFF)
-diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
-index 8c91616..0f7d400 100644
---- a/test/CMakeLists.txt
-+++ b/test/CMakeLists.txt
-@@ -12,6 +12,7 @@ if (CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR)
-     project(xtl-test)
- 
-     find_package(xtl REQUIRED CONFIG)
-+    find_package(nlohmann_json QUIET CONFIG)
-     set(XTL_INCLUDE_DIR ${xtl_INCLUDE_DIRS})
- endif ()
- 
-@@ -22,6 +23,10 @@ include(CheckCXXCompilerFlag)
- 
- string(TOUPPER "${CMAKE_BUILD_TYPE}" U_CMAKE_BUILD_TYPE)
- 
-+if(nlohmann_json_FOUND)
-+  add_definitions(-DHAVE_NLOHMANN_JSON)
-+endif()
-+
- if (CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR CMAKE_CXX_COMPILER_ID MATCHES "GNU" OR CMAKE_CXX_COMPILER_ID MATCHES "Intel")
-     set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wunused-parameter -Wextra -Wreorder -Wconversion -Wsign-conversion")
-     #set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wunused-parameter -Wextra -Wreorder -Wconversion")
-@@ -30,13 +35,6 @@ if (CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR CMAKE_CXX_COMPILER_ID MATCHES "GNU"
-     if (HAS_MARCH_NATIVE)
-         set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=native")
-     endif()
--
--    CHECK_CXX_COMPILER_FLAG("-std=c++14" HAS_CPP14_FLAG)
--    if (HAS_CPP14_FLAG)
--        set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14")
--    else()
--        message(FATAL_ERROR "Unsupported compiler -- xtl requires C++14 support!")
--    endif()
- endif()
- 
- if(MSVC)
-@@ -111,7 +109,17 @@ add_executable(${XTL_TARGET} ${XTL_TESTS} ${XTL_HEADERS})
- if(DOWNLOAD_GTEST OR GTEST_SRC_DIR)
-     add_dependencies(${XTL_TARGET} gtest_main)
- endif()
--target_link_libraries(${XTL_TARGET} xtl nlohmann_json ${GTEST_BOTH_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})
-+target_link_libraries(${XTL_TARGET} xtl ${GTEST_BOTH_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})
-+
-+if(nlohmann_json_FOUND)
-+  # Version up to 3.1.2 export the target `nlohmann_json`
-+  if(TARGET nlohmann_json)
-+    target_link_libraries(${XTL_TARGET} nlohmann_json)
-+  # Newer versions export the namespaced target `nlohmann_json::nlohmann_json`
-+  elseif(TARGET nlohmann_json::nlohmann_json)
-+    target_link_libraries(${XTL_TARGET} nlohmann_json::nlohmann_json)
-+  endif()
-+endif()
- 
- add_custom_target(xtest COMMAND test_xtl DEPENDS ${XTL_TARGET})
- 
-diff --git a/test/test_xoptional.cpp b/test/test_xoptional.cpp
-index 8100453..2ac1857 100644
---- a/test/test_xoptional.cpp
-+++ b/test/test_xoptional.cpp
-@@ -15,7 +15,11 @@
- 
- #include "xtl/xany.hpp"
- #include "xtl/xoptional.hpp"
-+
-+#ifdef HAVE_NLOHMANN_JSON
- #include "xtl/xjson.hpp"
-+#endif
-+
- #include "xtl/xoptional_sequence.hpp"
- 
- namespace xtl
-@@ -276,6 +280,7 @@ namespace xtl
-         EXPECT_EQ(res.has_value(), o.has_value());
-     }
- 
-+#ifdef HAVE_NLOHMANN_JSON
-     TEST(xoptional, json)
-     {
-         xoptional<double> m1 = missing<double>();
-@@ -287,4 +292,5 @@ namespace xtl
-         nlohmann::json j2 = m2;
-         EXPECT_EQ(j2.get<xoptional<double>>(), 3.0);
-     }
-+#endif
- }
--- 
-2.17.1
-

diff --git a/sources b/sources
index da9c651..06c831f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (xtl-0.4.15.tar.gz) = 821c1b98f9aa83f93b102948af2e6e88aad37fd12a13a9f4c8a3f3f5806c9edf19bf2a595e47b3f8293e7bd5b681ab4965f8ad3675c4f344bbfff19b219f22ee
+SHA512 (xtl-0.5.3.tar.gz) = 340e10a113d88be81833e8c123835de0fd30bc9b80387cd260edbff5e54ff2d78a72f77ec8803e3031f54f32c7f189a7afc9e0c1b7446fc6340a4482f308ccbf

diff --git a/xtl.spec b/xtl.spec
index 827d138..22287cd 100644
--- a/xtl.spec
+++ b/xtl.spec
@@ -2,7 +2,7 @@
 %global debug_package %{nil}
 
 Name:           xtl
-Version:        0.4.15
+Version:        0.5.3
 Release:        1%{?dist}
 License:        BSD
 Summary:        QuantStack tools library
@@ -10,8 +10,6 @@ Url:            https://github.com/QuantStack/xtl
 Source0:        https://github.com/QuantStack/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
 # https://github.com/QuantStack/xtl/issues/97
 Patch0001:      0001-Fix-complex-test.patch
-# https://github.com/QuantStack/xtl/pull/102
-Patch0002:      0002-Made-nlohmann_json-optional-in-the-tests-exported-c-.patch
 
 BuildRequires:  binutils
 BuildRequires:  cmake
@@ -49,7 +47,7 @@ Documentation files for %{name} library.
 
 
 %build
-%cmake -DBUILD_TESTS=ON
+%cmake -DBUILD_TESTS=ON .
 %make_build
 
 pushd docs
@@ -78,6 +76,9 @@ make xtest
 
 
 %changelog
+* Wed Jan 23 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.5.3-1
+- Update to latest version
+
 * Wed Sep 05 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.4.15-1
 - Update to latest version
 

             reply	other threads:[~2026-07-11 22:45 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-11 22:45 Elliott Sales de Andrade [this message]
  -- strict thread matches above, loose matches on Subject: below --
2026-07-11 22:45 [rpms/xtl] epel10: Update to latest version sergesanspaille
2026-07-11 22:45 Elliott Sales de Andrade
2026-07-11 22:45 Elliott Sales de Andrade
2026-07-11 22:45 Elliott Sales de Andrade
2026-07-11 22:45 Elliott Sales de Andrade
2026-07-11 22:45 Elliott Sales de Andrade
2026-07-11 22:45 Elliott Sales de Andrade
2026-07-11 22:45 Elliott Sales de Andrade
2026-07-11 22:45 Elliott Sales de Andrade
2026-07-11 22:45 Elliott Sales de Andrade
2026-07-11 22:45 Elliott Sales de Andrade
2026-07-11 22:45 Elliott Sales de Andrade
2026-07-11 22:45 Elliott Sales de Andrade
2026-07-11 22:45 Elliott Sales de Andrade
2026-07-11 22:45 Elliott Sales de Andrade
2026-07-11 22:45 Elliott Sales de Andrade
2026-07-11 22:45 Elliott Sales de Andrade
2026-07-11 22:45 Elliott Sales de Andrade
2026-07-11 22:45 Elliott Sales de Andrade
2026-07-11 22:45 Elliott Sales de Andrade
2026-07-11 22:45 Elliott Sales de Andrade
2026-07-11 22:45 Elliott Sales de Andrade
2026-07-11 22:45 Elliott Sales de Andrade
2026-07-11 22:45 Elliott Sales de Andrade
2026-07-11 22:45 Elliott Sales de Andrade
2026-07-11 22:45 Elliott Sales de Andrade
2026-07-11 22:45 Elliott Sales de Andrade

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178380992757.1.3096218072031218935.rpms-xtl-769a566e73fd@fedoraproject.org \
    --to=quantum.analyst@gmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox