Package init
This commit is contained in:
commit
0b5288f4eb
BIN
aniso8601-7.0.0.tar.gz
Normal file
BIN
aniso8601-7.0.0.tar.gz
Normal file
Binary file not shown.
41
python-aniso8601.spec
Normal file
41
python-aniso8601.spec
Normal file
@ -0,0 +1,41 @@
|
||||
Name: python-aniso8601
|
||||
Version: 7.0.0
|
||||
Release: 1
|
||||
Summary: Another ISO 8601 parser for Python
|
||||
License: GPLv3+
|
||||
URL: https://bitbucket.org/nielsenb/aniso8601
|
||||
Source0: https://pypi.io/packages/source/a/aniso8601/aniso8601-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python3-devel
|
||||
|
||||
%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
|
||||
* Tue Nov 5 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.10.0-1
|
||||
- Package init
|
||||
Loading…
x
Reference in New Issue
Block a user