diff --git a/cattrs-23.1.2.tar.gz b/cattrs-23.1.2.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..1c16dc817bf919e173f50430f1205d2b252d6197 Binary files /dev/null and b/cattrs-23.1.2.tar.gz differ diff --git a/python-cattrs.spec b/python-cattrs.spec new file mode 100644 index 0000000000000000000000000000000000000000..a0d091ec93253ef35fe015d42add1b80f2c217f6 --- /dev/null +++ b/python-cattrs.spec @@ -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 - 23.1.2-1 +- Initial package.