forked from pool/python-mpmath
Compare commits
4 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 0ae4ae2c07 | |||
| 7557e4495e | |||
| ec8c82bfd6 | |||
| 981d912568 |
@@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 18 03:06:06 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Switch to pytest macro.
|
||||
- Skip a test that breaks due to a Python 3.14 behaviour change.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 9 05:11:54 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Switch to pyproject macros.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 27 08:47:23 UTC 2023 - ecsos <ecsos@opensuse.org>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-mpmath
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC and contributors
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -22,14 +22,15 @@ Version: 1.3.0
|
||||
Release: 0
|
||||
Summary: Python library for arbitrary-precision floating-point arithmetic
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Libraries/Python
|
||||
URL: https://github.com/fredrik-johansson/mpmath
|
||||
Source: https://files.pythonhosted.org/packages/source/m/mpmath/mpmath-%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel >= 3.8}
|
||||
BuildRequires: %{python_module gmpy2 >= 2.1.0a4}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools_scm}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python >= 3.8
|
||||
@@ -54,21 +55,21 @@ sed -i 's/\r//' mpmath/tests/runtests.py # fix wrong-script-end-of-line-encodin
|
||||
sed -i '1d' mpmath/tests/runtests.py # fix non-executable-script rpmlint warning
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
export PYTHONDONTWRITEBYTECODE=1
|
||||
%python_expand PYTHONPATH="%{buildroot}%{$python_sitelib}" py.test-%{$python_bin_suffix} -v --pyargs mpmath
|
||||
# "Broken" by https://github.com/python/cpython/issues/121149 in 3.14
|
||||
%pytest -v --pyargs mpmath -k 'not mpmath.functions.orthogonal.spherharm'
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc README.rst
|
||||
%dir %{python_sitelib}/mpmath
|
||||
%{python_sitelib}/mpmath
|
||||
%{python_sitelib}/mpmath-%{version}-py*.egg-info
|
||||
%{python_sitelib}/mpmath-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user