forked from pool/python-Pint
Compare commits
9 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 11334ea637 | |||
| b6d9932389 | |||
| 3e86ac69b3 | |||
| ef180789b0 | |||
| b1cad0257c | |||
| dd49dfe789 | |||
| 1fd1c0b062 | |||
| abb803cd75 | |||
| 64e39571f0 |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:d54771093e8b94c4e0a35ac638c2444ddf3ef685652bab7675ffecfa0c5c5cdf
|
|
||||||
size 341664
|
|
||||||
3
pint-0.24.4.tar.gz
Normal file
3
pint-0.24.4.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:35275439b574837a6cd3020a5a4a73645eb125ce4152a73a2f126bf164b91b80
|
||||||
|
size 342225
|
||||||
@@ -1,3 +1,33 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 27 06:05:19 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Only require pytest-subtests with pytest < 9.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 22 01:40:02 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Support both lowercased and unnormalized metadata directory names.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Nov 20 15:43:38 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 0.24.4:
|
||||||
|
* add error for prefixed non multi units (#1998)
|
||||||
|
* build: typing_extensions version
|
||||||
|
* build: switch from appdirs to platformdirs
|
||||||
|
* fix GenericPlainRegistry getattr type (#2045)
|
||||||
|
* Replace references to the deprecated
|
||||||
|
`UnitRegistry.default_format` (#2058)
|
||||||
|
* fix: upgrade to flexparser>=0.4, exceptions are no longer
|
||||||
|
dataclasses.
|
||||||
|
- drop support-python-313.patch (upstream)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Nov 3 02:22:46 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Add patch support-python-313.patch:
|
||||||
|
* Do not mix frozen and non-frozen dataclasses.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Aug 5 18:59:29 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
Mon Aug 5 18:59:29 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-Pint
|
# spec file for package python-Pint
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC and contributors
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-Pint
|
Name: python-Pint
|
||||||
Version: 0.24.3
|
Version: 0.24.4
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Physical quantities module
|
Summary: Physical quantities module
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
@@ -31,9 +31,9 @@ BuildRequires: %{python_module setuptools}
|
|||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-appdirs
|
|
||||||
Requires: python-flexcache
|
Requires: python-flexcache
|
||||||
Requires: python-flexparser
|
Requires: python-flexparser >= 0.4
|
||||||
|
Requires: python-platformdirs
|
||||||
Requires: python-typing_extensions
|
Requires: python-typing_extensions
|
||||||
Requires: python-uncertainties >= 3.0
|
Requires: python-uncertainties >= 3.0
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
@@ -41,13 +41,13 @@ Requires(postun): update-alternatives
|
|||||||
Recommends: python-numpy >= 1.21
|
Recommends: python-numpy >= 1.21
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module numpy >= 1.21}
|
|
||||||
BuildRequires: %{python_module appdirs}
|
|
||||||
BuildRequires: %{python_module flexcache}
|
BuildRequires: %{python_module flexcache}
|
||||||
BuildRequires: %{python_module flexparser}
|
BuildRequires: %{python_module flexparser >= 0.4}
|
||||||
|
BuildRequires: %{python_module numpy >= 1.21}
|
||||||
BuildRequires: %{python_module packaging}
|
BuildRequires: %{python_module packaging}
|
||||||
|
BuildRequires: %{python_module platformdirs}
|
||||||
BuildRequires: %{python_module pytest >= 4.0}
|
BuildRequires: %{python_module pytest >= 4.0}
|
||||||
BuildRequires: %{python_module pytest-subtests}
|
BuildRequires: %{python_module pytest-subtests if %python-pytest < 9}
|
||||||
BuildRequires: %{python_module typing_extensions}
|
BuildRequires: %{python_module typing_extensions}
|
||||||
BuildRequires: %{python_module uncertainties >= 3.0}
|
BuildRequires: %{python_module uncertainties >= 3.0}
|
||||||
# /SECTION
|
# /SECTION
|
||||||
@@ -64,7 +64,7 @@ and constants. Due to it's modular design, you to extend (or even rewrite!)
|
|||||||
the complete list without changing the source code.
|
the complete list without changing the source code.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n pint-%{version}
|
%autosetup -p1 -n pint-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%pyproject_wheel
|
%pyproject_wheel
|
||||||
@@ -89,6 +89,6 @@ rm -rv pint/testsuite/benchmarks
|
|||||||
%doc AUTHORS CHANGES README.rst
|
%doc AUTHORS CHANGES README.rst
|
||||||
%python_alternative %{_bindir}/pint-convert
|
%python_alternative %{_bindir}/pint-convert
|
||||||
%{python_sitelib}/pint
|
%{python_sitelib}/pint
|
||||||
%{python_sitelib}/Pint-%{version}.dist-info
|
%{python_sitelib}/[Pp]int-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user