Пакет python-module-timelib: Specfile

%define oname timelib
%define fname python-module-%oname
%define descr \
timelib is a short wrapper around php's internal timelib module. \
It currently only provides a few functions: \
 * timelib.strtodatetime \
 * timelib.strtotime

Name: %fname
Version: 0.2.4
Release: alt4

Summary: Parse english textual date descriptions
Group: Development/Python

License: zlib / PHP
Url: http://pypi.python.org/pypi/timelib
Source: %name-%version.tar

BuildPreReq: python-devel python-module-setuptools python-module-Cython

%description
%descr

%prep
%setup

%build
%python_build

%install
%python_install

%files
%doc README.rst
%python_sitelibdir/*

%changelog
* Fri Jun 08 2018 Grigory Ustinov <grenka@altlinux.org> 0.2.4-alt4
- Build with Cython (Closes: #34719).

* Wed Apr 25 2018 Aleksei Nikiforov <darktemplar@altlinux.org> 0.2.4-alt3
- (NMU) Rebuilt with python-3.6.4.

* Fri Mar 23 2018 Grigory Ustinov <grenka@altlinux.org> 0.2.4-alt2
- Tranfer package to subst-packaging system.

* Thu Mar 17 2016 Ivan Zakharyaschev <imz@altlinux.org> 0.2.4-alt1.1
- (NMU) rebuild with python3-3.5 & rpm-build-python3-0.1.10
  (for ABI dependence and new python3(*) reqs)

* Mon Sep 01 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.2.4-alt1
- Version 0.2.4
- Added module for Python 3

* Thu Apr 12 2012 Vitaly Kuznetsov <vitty@altlinux.ru> 0.2.1-alt1.1.1
- Rebuild to remove redundant libpython2.7 dependency

* Thu Oct 20 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 0.2.1-alt1.1
- Rebuild with Python-2.7

* Mon Feb 08 2010 Vitaly Lipatov <lav@altlinux.ru> 0.2.1-alt1
- initial build for ALT Linux Sisyphus