forked from pool/python-recordclass
Compare commits
8 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 2ee6b414fa | |||
| 6656a9903b | |||
| 15f49d3fd6 | |||
| 359670de8b | |||
| d5059e5452 | |||
| 8724895967 | |||
| cd2b183df3 | |||
| 0658807472 |
@@ -1,3 +1,41 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 6 03:05:29 UTC 2026 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Update to 0.24:
|
||||
* Fix __annotations__ for python 3.14
|
||||
* Start support of python 3.14
|
||||
* Fix the bug with PyTuple_GET_SIZE (#13)
|
||||
* Drop appveyor
|
||||
* recordclass requires python >= 3.8
|
||||
- Drop patch do-not-use-pytuple-get-size.patch, merged upstream.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 4 00:56:20 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Add patch do-not-use-pytuple-get-size.patch:
|
||||
* Use Py_SIZE rather than PyTuple_GET_SIZE to avoid assertion failures.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 5 19:05:39 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 0.22.1:
|
||||
* Add `pyproject.toml`.
|
||||
- update to 0.22.0.3:
|
||||
* Rename examples est_*.py files since they are detected by
|
||||
pytest as a tests.
|
||||
* Fix segfault with litelist after 0.22.0.2.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 2 15:13:24 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 0.22.0.2:
|
||||
* Fix regression with `as_dataclass`.
|
||||
- update to 0.22:
|
||||
* `Recordclass 0.22` started support of `python 3.13`.
|
||||
* Add a base class `datastruct` for subclasses that should
|
||||
behave more like simple datastructures.
|
||||
* Fix bug with `__match_args__` (#6).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 29 09:35:17 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-recordclass
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2026 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
|
||||
@@ -16,16 +16,17 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-recordclass
|
||||
Version: 0.21.1
|
||||
Version: 0.24
|
||||
Release: 0
|
||||
Summary: Library implementing a mutable variant of namedtuple
|
||||
License: MIT
|
||||
URL: https://github.com/intellimath/recordclass
|
||||
Source: https://files.pythonhosted.org/packages/source/r/recordclass/recordclass-%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module devel >= 3.9}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
# SECTION Test requirements
|
||||
@@ -39,14 +40,16 @@ Mutable variant of namedtuple -- recordclass, which support assignments, and
|
||||
other memory saving variants.
|
||||
|
||||
%prep
|
||||
%setup -q -n recordclass-%{version}
|
||||
%autosetup -p1 -n recordclass-%{version}
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags}"
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
# do not ship development files
|
||||
%python_expand rm -v %{buildroot}%{$python_sitearch}/recordclass/_*.[ch]
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
|
||||
%check
|
||||
@@ -57,6 +60,6 @@ export CFLAGS="%{optflags}"
|
||||
%doc README.md
|
||||
%license LICENSE.txt
|
||||
%{python_sitearch}/recordclass/
|
||||
%{python_sitearch}/recordclass-%{version}-py%{python_version}.egg-info/
|
||||
%{python_sitearch}/recordclass-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fa2343dc24ef457f5f1c09e34fccada2d9074f582287f9fedb195bfbc1a9af92
|
||||
size 1321641
|
||||
3
recordclass-0.24.tar.gz
Normal file
3
recordclass-0.24.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:dc6e46aec90d5b185576fce40ffc875488b04692a9259265c965fac150630d06
|
||||
size 1340150
|
||||
Reference in New Issue
Block a user