20
0

Accepting request 329150 from home:TheBlackCat:branches:devel:languages:python

Update to 0.3.5

OBS-URL: https://build.opensuse.org/request/show/329150
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-freezegun?expand=0&rev=6
This commit is contained in:
Todd R
2015-09-04 15:08:07 +00:00
committed by Git OBS Bridge
parent 72df1bd126
commit 867696fd58
4 changed files with 16 additions and 9 deletions
+6 -6
View File
@@ -17,24 +17,24 @@
Name: python-freezegun
Version: 0.2.8
Version: 0.3.5
Release: 0
Url: https://github.com/spulec/freezegun
Summary: Mock time date for Python
License: Apache-2.0
Group: Development/Languages/Python
Source: https://pypi.python.org/packages/source/f/freezegun/freezegun-%{version}.tar.gz
Patch0: freeze_hideDeps.patch
# Patch0: freeze_hideDeps.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python
BuildRequires: python-setuptools
BuildRequires: python-coverage
BuildRequires: python-dateutil > 2.0
BuildRequires: python-nose
BuildRequires: python-sure
BuildRequires: python-setuptools
BuildRequires: python-six
Requires: python-dateutil > 2.0
Requires: python-six
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else
@@ -47,7 +47,7 @@ time by mocking the datetime module.
%prep
%setup -q -n freezegun-%{version}
%patch0
# %patch0
%build
python setup.py build
@@ -56,7 +56,7 @@ python setup.py build
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%check
make test
nosetests
%files
%defattr(-,root,root,-)