Compare commits
10 Commits
231db3263d
...
5877afbaaf
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5877afbaaf | ||
|
|
7dcae59f98 | ||
|
|
9d0d8670b6 | ||
|
|
a0c99fc343 | ||
|
|
2f182b45e2 | ||
|
|
88bcbe2111 | ||
|
|
699fb5056a | ||
|
|
aa0eb189c1 | ||
|
|
72b707d702 | ||
|
|
bea82efb72 |
Binary file not shown.
BIN
iso8601-1.0.2.tar.gz
Normal file
BIN
iso8601-1.0.2.tar.gz
Normal file
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
Name: python-iso8601
|
||||
Version: 0.1.11
|
||||
Release: 3
|
||||
Version: 1.0.2
|
||||
Release: 1
|
||||
Summary: Simple module to parse ISO 8601 dates
|
||||
License: MIT
|
||||
URL: https://pypi.org/project/iso8601/
|
||||
@ -12,21 +12,14 @@ BuildArch: noarch
|
||||
This module parses the most common forms of ISO 8601 date strings
|
||||
(e.g. 2007-01-14T20:34:22+00:00) into datetime objects.
|
||||
|
||||
%package -n python2-iso8601
|
||||
Summary: Simple module to parse ISO 8601 dates
|
||||
%{?python_provide:%python_provide python2-iso8601}
|
||||
Provides: python-iso8601 = %{version}-%{release}
|
||||
Obsoletes: python-iso8601 < 0.1.10-6
|
||||
BuildRequires: python2-devel python-setuptools
|
||||
|
||||
%description -n python2-iso8601
|
||||
The package parses the most common forms of ISO 8601 date strings
|
||||
(e.g. 2007-01-14T20:34:22+00:00) into datetime objects.
|
||||
|
||||
%package -n python3-iso8601
|
||||
Summary: Simple module to parse ISO 8601 dates
|
||||
%{?python_provide:%python_provide python3-iso8601}
|
||||
|
||||
BuildRequires: python3-pytz
|
||||
BuildRequires: python3-hypothesis
|
||||
BuildRequires: python3-devel python3-setuptools
|
||||
BuildRequires: python3-pytest
|
||||
|
||||
%description -n python3-iso8601
|
||||
The package parses the most common forms of ISO 8601 date strings
|
||||
@ -36,22 +29,31 @@ The package parses the most common forms of ISO 8601 date strings
|
||||
%autosetup -n iso8601-%{version} -p1
|
||||
|
||||
%build
|
||||
%{__python2} setup.py build
|
||||
%{__python3} setup.py build
|
||||
|
||||
%install
|
||||
%{__python2} setup.py install -O1 --skip-build --root %{buildroot}
|
||||
%{__python3} setup.py install --skip-build --root %{buildroot}
|
||||
|
||||
%files -n python2-iso8601
|
||||
%doc LICENSE README.rst
|
||||
%{python2_sitelib}/*
|
||||
%check
|
||||
py.test --verbose iso8601
|
||||
|
||||
%files -n python3-iso8601
|
||||
%doc LICENSE README.rst
|
||||
%{python3_sitelib}/*
|
||||
|
||||
%changelog
|
||||
* Sun Jul 24 2022 liksh <liks11@chinaunicom.com.cn> - 1.0.2-1
|
||||
- Upgrade to 1.0.2 for openstack yoga
|
||||
|
||||
* Fri Jul 9 2021 huangtianhua <huangtianhua@huawei.com> - 0.1.14-1
|
||||
- Upgrade to 0.1.14 to support OpenStack-W and enable testing
|
||||
|
||||
* Sat Jan 30 2021 bolin-lee <bolin3540@gmail.com> - 0.1.12-1
|
||||
- Package upgrade
|
||||
|
||||
* Wed Oct 21 2020 leiju <leiju4@huawei.com> - 0.1.11-4
|
||||
- remove python2 subpackage
|
||||
|
||||
* Tue Sep 29 2020 liuweibo <liuweibo10@huawei.com> - 0.1.11-3
|
||||
- Fix Source0
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user