SHA256
1
0
forked from pool/python-Pint

7 Commits

Author SHA256 Message Date
3e86ac69b3 Accepting request 1271221 from devel:languages:python:numeric
- Support both lowercased and unnormalized metadata directory names.

OBS-URL: https://build.opensuse.org/request/show/1271221
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Pint?expand=0&rev=23
2025-04-22 15:28:23 +00:00
ef180789b0 - Support both lowercased and unnormalized metadata directory names.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-Pint?expand=0&rev=44
2025-04-22 01:40:51 +00:00
b1cad0257c Accepting request 1225327 from devel:languages:python:numeric
- 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)

OBS-URL: https://build.opensuse.org/request/show/1225327
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Pint?expand=0&rev=22
2024-11-20 16:44:46 +00:00
dd49dfe789 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-Pint?expand=0&rev=42 2024-11-20 15:44:36 +00:00
1fd1c0b062 - 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)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-Pint?expand=0&rev=41
2024-11-20 15:44:29 +00:00
abb803cd75 Accepting request 1220380 from devel:languages:python:numeric
- Add patch support-python-313.patch:
  * Do not mix frozen and non-frozen dataclasses.

OBS-URL: https://build.opensuse.org/request/show/1220380
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Pint?expand=0&rev=21
2024-11-03 06:18:21 +00:00
64e39571f0 - Add patch support-python-313.patch:
* Do not mix frozen and non-frozen dataclasses.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-Pint?expand=0&rev=39
2024-11-03 02:23:46 +00:00
4 changed files with 37 additions and 12 deletions

View File

@@ -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
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:35275439b574837a6cd3020a5a4a73645eb125ce4152a73a2f126bf164b91b80
size 342225

View File

@@ -1,3 +1,28 @@
-------------------------------------------------------------------
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>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-Pint
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-Pint
Version: 0.24.3
Version: 0.24.4
Release: 0
Summary: Physical quantities module
License: BSD-3-Clause
@@ -31,9 +31,9 @@ BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-appdirs
Requires: python-flexcache
Requires: python-flexparser
Requires: python-flexparser >= 0.4
Requires: python-platformdirs
Requires: python-typing_extensions
Requires: python-uncertainties >= 3.0
Requires(post): update-alternatives
@@ -41,11 +41,11 @@ Requires(postun): update-alternatives
Recommends: python-numpy >= 1.21
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module numpy >= 1.21}
BuildRequires: %{python_module appdirs}
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 platformdirs}
BuildRequires: %{python_module pytest >= 4.0}
BuildRequires: %{python_module pytest-subtests}
BuildRequires: %{python_module typing_extensions}
@@ -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.
%prep
%setup -q -n pint-%{version}
%autosetup -p1 -n pint-%{version}
%build
%pyproject_wheel
@@ -89,6 +89,6 @@ rm -rv pint/testsuite/benchmarks
%doc AUTHORS CHANGES README.rst
%python_alternative %{_bindir}/pint-convert
%{python_sitelib}/pint
%{python_sitelib}/Pint-%{version}.dist-info
%{python_sitelib}/[Pp]int-%{version}.dist-info
%changelog