public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-asteval] rawhide: Update to 1.0.10
@ 2026-09-02  2:40 Filipe Rosset
  0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-09-02  2:40 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/python-asteval
            Branch : rawhide
            Commit : 8df5277213a0542ab03212a0fd08fe250633ad90
            Author : Filipe Rosset <rosset.filipe@gmail.com>
            Date   : 2026-08-22T22:57:30-03:00
            Stats  : +43/-11 in 4 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-asteval/c/8df5277213a0542ab03212a0fd08fe250633ad90?branch=rawhide

            Log:
            Update to 1.0.10

Resolves: rhbz#2413249

---
diff --git a/.gitignore b/.gitignore
index 62f962a..1bcda85 100644
--- a/.gitignore
+++ b/.gitignore
@@ -14,3 +14,4 @@
 /asteval-1.0.4.tar.gz
 /asteval-1.0.5.tar.gz
 /asteval-1.0.6.tar.gz
+/asteval-1.0.10.tar.gz

diff --git a/python-asteval-doc-bizstyle-theme.patch b/python-asteval-doc-bizstyle-theme.patch
new file mode 100644
index 0000000..f45d76a
--- /dev/null
+++ b/python-asteval-doc-bizstyle-theme.patch
@@ -0,0 +1,29 @@
+From: Filipe Rosset <rosset.filipe@gmail.com>
+Subject: [PATCH] Use bizstyle theme for sphinx docs instead of unpackaged breeze theme
+
+---
+ doc/conf.py | 7 +------
+ 1 file changed, 1 insertion(+), 6 deletions(-)
+
+diff --git a/doc/conf.py b/doc/conf.py
+index 4b953d5..7a9e992 100644
+--- a/doc/conf.py
++++ b/doc/conf.py
+@@ -100,14 +100,9 @@ pygments_style = 'sphinx'
+ 
+ # The theme to use for HTML and HTML Help pages.  Major themes that come with
+ # Sphinx are currently 'default' and 'sphinxdoc'.
+-html_theme = 'breeze'
++html_theme = 'bizstyle'
+ 
+-html_theme_options = { "external_links": [
+-    { "name": "PDF", "icon": "download", "url": "https://lmfit.github.io/asteval/asteval.pdf"},
+-    "https://github.com/lmfit/asteval",
+-]
+-
+-                      }
++html_theme_options = {}
+ 
+ 
+ # html_theme = 'bizstyle'
+-- 

diff --git a/python-asteval.spec b/python-asteval.spec
index 28744a6..d4150f9 100644
--- a/python-asteval.spec
+++ b/python-asteval.spec
@@ -1,13 +1,14 @@
 %global pypi_name asteval
 
 Name:           python-%{pypi_name}
-Version:        1.0.6
-Release:        7%{?dist}
+Version:        1.0.10
+Release:        1%{?dist}
 Summary:        Evaluator of Python expression using ast module
 
 License:        MIT
-URL:            http://github.com/newville/asteval
+URL:            https://github.com/newville/asteval
 Source0:        %{pypi_source}
+Patch:          python-asteval-doc-bizstyle-theme.patch
 BuildArch:      noarch
 
 %description
@@ -21,10 +22,7 @@ and used if available.
 Summary:        %{summary}
 
 BuildRequires:  python3-devel
-BuildRequires:  python3dist(pytest)
-BuildRequires:  python3dist(pytest-cov)
-BuildRequires:  python3dist(setuptools)
-BuildRequires:  python3dist(setuptools-scm)
+BuildRequires:  python3dist(numpy)
 
 %description -n python3-%{pypi_name}
 ASTEVAL is a safe(ish) evaluator of Python expressions and statements,
@@ -37,17 +35,18 @@ and used if available.
 Summary:        The %{name} documentation
 
 BuildRequires:  python3-sphinx
+BuildRequires:  python3dist(sphinx-copybutton)
 
 %description -n python-%{pypi_name}-doc
 Documentation for %{name}.
 
 %prep
-%autosetup -n %{pypi_name}-%{version}
+%autosetup -p1 -n %{pypi_name}-%{version}
 rm -rf %{pypi_name}.egg-info
 sed -i -e '/^#!\//, 1d' asteval/asteval.py
 
 %generate_buildrequires
-%pyproject_buildrequires
+%pyproject_buildrequires -x test
 
 %build
 %pyproject_wheel
@@ -61,7 +60,7 @@ rm -rf html/.{doctrees,buildinfo} html/_static/empty
 %check
 %pytest -v tests
 
-%files -n %files -n python3-%{pypi_name} -f %{pyproject_files}
+%files -n python3-%{pypi_name} -f %{pyproject_files}
 %license LICENSE
 %doc README.rst
 
@@ -70,6 +69,9 @@ rm -rf html/.{doctrees,buildinfo} html/_static/empty
 %license LICENSE
 
 %changelog
+* Sat Aug 22 2026 Filipe Rosset <rosset.filipe@gmail.com> - 1.0.10-1
+- Update to 1.0.10
+
 * Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.6-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

diff --git a/sources b/sources
index f842bd0..2922198 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (asteval-1.0.6.tar.gz) = c90b327ebe26601b09b07fcabdc31409adfb07c13e14b21a84eebf2899fc01d1418a30a387dc536aa5d230d0076eb710eacf7360492b7a305b4586dde1b0c92b
+SHA512 (asteval-1.0.10.tar.gz) = 5d9fef82d7aa0136db565b09c61b97aa5f356be8a952a662d299243d1817a818b45a7028fd8aa541e43ba8502e3e92d3ad2e459a6fdee0316dbcb2455dfe555e

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-02  2:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-02  2:40 [rpms/python-asteval] rawhide: Update to 1.0.10 Filipe Rosset

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox