Init packages version 23.1.2 of cattrs

This commit is contained in:
luolu12 2023-08-21 10:56:48 +08:00
parent 5feebcc90d
commit fe8fa5dac9
2 changed files with 48 additions and 0 deletions

BIN
cattrs-23.1.2.tar.gz Normal file

Binary file not shown.

48
python-cattrs.spec Normal file
View File

@ -0,0 +1,48 @@
%global pypi_name cattrs
Name: python-%{pypi_name}
Version: 23.1.2
Release: 1
Summary: cattrs is an open source Python library for structuring and unstructuring data.
License: MIT
URL: https://github.com/jackwucn/pytest-check-links
Source0: https://files.pythonhosted.org/packages/68/d4/27f9fd840e74d51b6d6a024d39ff495b56ffde71d28eb82758b7b85d0617/cattrs-23.1.2.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-hatchling
BuildRequires: python3-poetry-core
%description
cattrs is an open source Python library for structuring and unstructuring data. cattrs works best with attrs classes, dataclasses and the usual Python collections, but other kinds of classes are supported by manually registering converters.
%package -n python3-%{pypi_name}
Summary: %{summary}
%{?python_provide:%python_provide python3-%{pypi_name}}
%description -n python3-%{pypi_name}
cattrs is an open source Python library for structuring and unstructuring data. cattrs works best with attrs classes, dataclasses and the usual Python collections, but other kinds of classes are supported by manually registering converters.
%prep
%autosetup -n %{pypi_name}-%{version}
%build
%pyproject_build
%install
%pyproject_install
%files -n python3-%{pypi_name}
%license LICENSE
%doc README.md
%{python3_sitelib}/cattr*
%changelog
* Mon Aug 21 2023 luolu12 <luluoc@isoftstone.com> - 23.1.2-1
- Initial package.