forked from pool/python-recordclass
- 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. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-recordclass?expand=0&rev=11
This commit is contained in:
@@ -18,14 +18,16 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-recordclass
|
||||
Version: 0.22.0.2
|
||||
Version: 0.22.1
|
||||
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 pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
# SECTION Test requirements
|
||||
@@ -43,10 +45,10 @@ other memory saving variants.
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags}"
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
|
||||
%check
|
||||
@@ -57,6 +59,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
|
||||
|
Reference in New Issue
Block a user