|
|
aec1fe |
Name: python-pydantic
|
|
|
aec1fe |
Version: 1.7.3
|
|
|
aec1fe |
Release: 1%{?dist}
|
|
|
aec1fe |
Summary: Data validation using Python type hinting
|
|
|
aec1fe |
|
|
|
aec1fe |
License: MIT
|
|
|
aec1fe |
URL: https://github.com/samuelcolvin/pydantic
|
|
|
aec1fe |
Source0: https://github.com/samuelcolvin/pydantic/archive/v%{version}/%{name}-%{version}.tar.gz
|
|
|
aec1fe |
BuildArch: noarch
|
|
|
aec1fe |
|
|
|
aec1fe |
BuildRequires: python3-devel
|
|
|
aec1fe |
BuildRequires: python3dist(setuptools)
|
|
|
aec1fe |
# For check phase
|
|
|
aec1fe |
BuildRequires: python3-mypy
|
|
|
aec1fe |
BuildRequires: python3dist(pytest)
|
|
|
aec1fe |
|
|
|
aec1fe |
%description
|
|
|
aec1fe |
Data validation and settings management using python type hinting.
|
|
|
aec1fe |
|
|
|
aec1fe |
%package -n python3-pydantic
|
|
|
aec1fe |
Summary: %{summary}
|
|
|
aec1fe |
%{?python_provide:%python_provide python3-pydantic}
|
|
|
aec1fe |
|
|
|
aec1fe |
Requires: python3-email-validator >= 1.0.3
|
|
|
aec1fe |
Requires: python3-ujson >= 1.35
|
|
|
aec1fe |
|
|
|
aec1fe |
%description -n python3-pydantic
|
|
|
aec1fe |
Data validation and settings management using python type hinting.
|
|
|
aec1fe |
|
|
|
aec1fe |
%prep
|
|
|
aec1fe |
%autosetup -n pydantic-%{version}
|
|
|
aec1fe |
# Remove bundled egg-info
|
|
|
aec1fe |
rm -rf pydantic.egg-info
|
|
|
aec1fe |
|
|
|
aec1fe |
%build
|
|
|
aec1fe |
%py3_build
|
|
|
aec1fe |
|
|
|
aec1fe |
# Docs are in MarkDown, and should be added when mkdocs is packaged.
|
|
|
aec1fe |
|
|
|
aec1fe |
%install
|
|
|
aec1fe |
%py3_install
|
|
|
aec1fe |
|
|
|
aec1fe |
%check
|
|
|
aec1fe |
%{__python3} setup.py test
|
|
|
aec1fe |
|
|
|
aec1fe |
%files -n python3-pydantic
|
|
|
aec1fe |
%license LICENSE
|
|
|
aec1fe |
%doc README.md docs/
|
|
|
aec1fe |
%{python3_sitelib}/pydantic
|
|
|
aec1fe |
%{python3_sitelib}/pydantic-%{version}-py%{python3_version}.egg-info
|
|
|
aec1fe |
|
|
|
aec1fe |
%changelog
|
|
|
aec1fe |
* Wed Feb 24 2021 Susi Lehtola <jussilehtola@fedoraproject.org> - 1.7.3-1
|
|
|
aec1fe |
- Update to 1.7.3.
|
|
|
aec1fe |
|
|
|
aec1fe |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-2
|
|
|
aec1fe |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
aec1fe |
|
|
|
aec1fe |
* Tue Aug 11 2020 Susi Lehtola <jussilehtola@fedoraproject.org> - 1.6.1-1
|
|
|
aec1fe |
- Update to 1.6.1.
|
|
|
aec1fe |
|
|
|
aec1fe |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-6
|
|
|
aec1fe |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
aec1fe |
|
|
|
aec1fe |
* Tue May 26 2020 Miro HronĨok <mhroncok@redhat.com> - 1.3-5
|
|
|
aec1fe |
- Rebuilt for Python 3.9
|
|
|
aec1fe |
|
|
|
aec1fe |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-4
|
|
|
aec1fe |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
aec1fe |
|
|
|
aec1fe |
* Tue Jan 07 2020 Susi Lehtola <jussilehtola@fedoraproject.org> - 1.3-3
|
|
|
aec1fe |
- python-email_validator is now packaged as python-email-validator...
|
|
|
aec1fe |
|
|
|
aec1fe |
* Tue Jan 07 2020 Susi Lehtola <jussilehtola@fedoraproject.org> - 1.3-2
|
|
|
aec1fe |
- Review fixes.
|
|
|
aec1fe |
|
|
|
aec1fe |
* Mon Jan 06 2020 Susi Lehtola <jussilehtola@fedoraproject.org> - 1.3-1
|
|
|
aec1fe |
- Update to 1.3.
|
|
|
aec1fe |
- Review fixes.
|
|
|
aec1fe |
|
|
|
aec1fe |
* Sun Nov 24 2019 Susi Lehtola <jussilehtola@fedoraproject.org> - 1.1.1-1
|
|
|
aec1fe |
- Update to 1.1.1.
|
|
|
aec1fe |
|
|
|
aec1fe |
* Sat Jul 27 2019 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.31-1
|
|
|
aec1fe |
- Initial package.
|