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 (#2016608)
Date: Sat, 11 Jul 2026 22:45:45 GMT	[thread overview]
Message-ID: <178380994536.1.6062759888949815365.rpms-xtl-3981384c4f2b@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/xtl
Branch : epel10
Commit : 3981384c4f2b76c1d57c6b42f4b67a35fdb17c21
Author : Elliott Sales de Andrade <quantum.analyst@gmail.com>
Date   : 2021-10-25T02:13:19-04:00
Stats  : +4/-90 in 5 file(s)
URL    : https://src.fedoraproject.org/rpms/xtl/c/3981384c4f2b76c1d57c6b42f4b67a35fdb17c21?branch=epel10

Log:
Update to latest version (#2016608)

---
diff --git a/.gitignore b/.gitignore
index a219ff3..0dfa941 100644
--- a/.gitignore
+++ b/.gitignore
@@ -26,3 +26,4 @@
 /xtl-0.6.21.tar.gz
 /xtl-0.6.23.tar.gz
 /xtl-0.7.2.tar.gz
+/xtl-0.7.3.tar.gz

diff --git a/0001-Fix-complex-test.patch b/0001-Fix-complex-test.patch
deleted file mode 100644
index 4a8263e..0000000
--- a/0001-Fix-complex-test.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-From d8518ba59f3c5173dfe052c337aa8e5ad0d3c739 Mon Sep 17 00:00:00 2001
-From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
-Date: Wed, 8 Aug 2018 00:03:32 -0400
-Subject: [PATCH 1/2] Fix complex test.
-
-Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
----
- test/test_xcomplex.cpp | 17 +++++++++++++----
- 1 file changed, 13 insertions(+), 4 deletions(-)
-
-diff --git a/test/test_xcomplex.cpp b/test/test_xcomplex.cpp
-index 9c91d50..5b8a083 100644
---- a/test/test_xcomplex.cpp
-+++ b/test/test_xcomplex.cpp
-@@ -254,12 +254,21 @@ namespace xtl
-     TEST(xcomplex, power)
-     {
-         complex_type c(1., 2.);
-+        complex_type r, sr;
-         std::complex<double> sc(c);
-         double d = 1.5;
--        EXPECT_EQ(pow(c, c), complex_type(std::pow(sc, sc)));
--        EXPECT_EQ(pow(c, d), complex_type(std::pow(sc, d)));
--        EXPECT_EQ(pow(d, c), complex_type(std::pow(d, sc)));
--        EXPECT_EQ(sqrt(c), complex_type(std::sqrt(sc)));
-+#define EXPECT_COMPLEX_EQ(a, b) \
-+        do { \
-+                r = a; \
-+                sr = b; \
-+                EXPECT_DOUBLE_EQ(r.real(), sr.real()); \
-+                EXPECT_DOUBLE_EQ(r.imag(), sr.imag()); \
-+        } while (0)
-+        EXPECT_COMPLEX_EQ(pow(c, c), complex_type(std::pow(sc, sc)));
-+        EXPECT_COMPLEX_EQ(pow(c, d), complex_type(std::pow(sc, d)));
-+        EXPECT_COMPLEX_EQ(pow(d, c), complex_type(std::pow(d, sc)));
-+        EXPECT_COMPLEX_EQ(sqrt(c), complex_type(std::sqrt(sc)));
-+#undef EXPECT_COMPLEX_EQ
-     }
- 
-     TEST(xcomplex, trigonometric)
--- 
-2.31.1
-

diff --git a/0002-Fix-build-with-Sphinx-4.patch b/0002-Fix-build-with-Sphinx-4.patch
deleted file mode 100644
index a1d30a6..0000000
--- a/0002-Fix-build-with-Sphinx-4.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From d809a7bfb1924aa2ab05f26aed3233201778d7cc Mon Sep 17 00:00:00 2001
-From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
-Date: Sun, 11 Jul 2021 17:54:54 -0400
-Subject: [PATCH 2/2] Fix build with Sphinx 4.
-
-`add_stylesheet` was deprecated in 1.8 and removed in 4.0 [1]. The
-replacement, `add_css_file` was added in 1.0, which is older than any
-version required by `breathe`.
-
-[1] https://www.sphinx-doc.org/en/master/extdev/deprecated.html?highlight=add_stylesheet
-
-Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
----
- docs/source/conf.py | 5 +++--
- 1 file changed, 3 insertions(+), 2 deletions(-)
-
-diff --git a/docs/source/conf.py b/docs/source/conf.py
-index 333b75c..242e3fd 100644
---- a/docs/source/conf.py
-+++ b/docs/source/conf.py
-@@ -15,8 +15,10 @@ html_theme = "sphinx_rtd_theme"
- 
- html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
- 
-+
- def setup(app):
--    app.add_stylesheet("main_stylesheet.css")
-+    app.add_css_file("main_stylesheet.css")
-+
- 
- extensions = ['breathe']
- breathe_projects = { 'xtl': '../xml' }
-@@ -35,4 +37,3 @@ highlight_language = 'c++'
- pygments_style = 'sphinx'
- todo_include_todos = False
- htmlhelp_basename = 'xtldoc'
--
--- 
-2.31.1
-

diff --git a/sources b/sources
index 02f1fe0..dedf504 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (xtl-0.7.2.tar.gz) = b7d694c719337fcf94219943348d2bc096e774b206760abce380a7723334c3a5cad2ff7060df4e184cb825ecac0c242d1467d6c63c2ecc6774fcaae4fc1be124
+SHA512 (xtl-0.7.3.tar.gz) = ce15534fda259459d1b28a5f9217607a21b422b28acc94de9c1db755a7c14ac39264c002052f7e756b55d734fdd30fbde0eae0944f505133da16978d7b641894

diff --git a/xtl.spec b/xtl.spec
index 118b684..1dc5e16 100644
--- a/xtl.spec
+++ b/xtl.spec
@@ -2,22 +2,18 @@
 %global debug_package %{nil}
 
 Name:           xtl
-Version:        0.7.2
+Version:        0.7.3
 Release:        %autorelease
 License:        BSD
 Summary:        QuantStack tools library
 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/xtensor-stack/xtl/pull/251
-Patch0002:      0002-Fix-build-with-Sphinx-4.patch
 
 BuildRequires:  binutils
 BuildRequires:  cmake
+BuildRequires:  doctest-devel
 BuildRequires:  doxygen
 BuildRequires:  gcc-c++
-BuildRequires:  gtest-devel
 BuildRequires:  make
 BuildRequires:  cmake(nlohmann_json)
 BuildRequires:  python3dist(breathe)

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

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=178380994536.1.6062759888949815365.rpms-xtl-3981384c4f2b@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