2021-07-26 10:59:28 +08:00
|
|
|
%global _empty_manifest_terminate_build 0
|
|
|
|
|
Name: python-aniso8601
|
|
|
|
|
Version: 9.0.1
|
|
|
|
|
Release: 1
|
|
|
|
|
Summary: A library for parsing ISO 8601 strings.
|
|
|
|
|
License: BSD
|
|
|
|
|
URL: https://bitbucket.org/nielsenb/aniso8601
|
|
|
|
|
Source0: https://files.pythonhosted.org/packages/cb/72/be3db445b03944bfbb2b02b82d00cb2a2bcf96275c4543f14bf60fa79e12/aniso8601-9.0.1.tar.gz
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
BuildRequires: python3-devel python3-setuptools
|
2019-11-19 11:53:24 +08:00
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
A python library for parsing ISO 8601 strings.
|
|
|
|
|
|
|
|
|
|
%package -n python3-aniso8601
|
|
|
|
|
Summary: Another ISO 8601 parser for Python
|
|
|
|
|
%{?python_provide:%python_provide python3-aniso8601}
|
|
|
|
|
|
|
|
|
|
%description -n python3-aniso8601
|
|
|
|
|
A python library for parsing ISO 8601 strings.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n aniso8601-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%py3_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%py3_install
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
%{__python3} -m unittest discover aniso8601/tests/
|
|
|
|
|
|
|
|
|
|
%files -n python3-aniso8601
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%doc README.rst
|
|
|
|
|
%{python3_sitelib}/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
2022-06-09 09:51:29 +08:00
|
|
|
* Mon Jul 26 2021 liusheng<liusheng2048@huawei.com> - 9.0.1-1
|
2021-07-26 10:59:28 +08:00
|
|
|
- Upgrade to version 9.0.1
|
|
|
|
|
|
2021-02-02 20:31:38 +08:00
|
|
|
* Tue Feb 2 2021 wangjie<wangjie294@huawei.com> - 8.1.0-1
|
|
|
|
|
- Upgrade to version 8.1.0
|
|
|
|
|
|
2019-11-19 11:53:24 +08:00
|
|
|
* Tue Nov 5 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.10.0-1
|
|
|
|
|
- Package init
|