3 %bcond_with tests # unit tests (not included in sdist)
5 Summary: Wrap tests with fixtures in freeze_time
6 Summary(pl.UTF-8): Obudowywanie testów z wyposażeniem w zamrożonym czasie
7 Name: python3-pytest-freezegun
11 Group: Libraries/Python
12 #Source0Download: https://pypi.org/simple/pytest-freezegun/
13 Source0: https://files.pythonhosted.org/packages/source/p/pytest-freezegun/pytest-freezegun-%{version}.zip
14 # Source0-md5: ab9915f280a4e37fafc118af1311cc41
15 URL: https://pypi.org/project/pytest-freezegun/
16 BuildRequires: python3-modules >= 1:3.5
17 BuildRequires: python3-setuptools
19 BuildRequires: python3-freezegun >= 0.3
20 BuildRequires: python3-pytest >= 3.0.0
22 BuildRequires: rpm-pythonprov
23 BuildRequires: rpmbuild(macros) >= 1.714
24 Requires: python3-modules >= 1:3.5
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 Wrap tests with fixtures in freeze_time.
31 %description -l pl.UTF-8
32 Obudowywanie testów z wyposażeniem w czasie zamrożonym przez
36 %setup -q -n pytest-freezegun-%{version}
42 rm -rf $RPM_BUILD_ROOT
47 rm -rf $RPM_BUILD_ROOT
50 %defattr(644,root,root,755)
51 %doc LICENSE README.rst
52 %{py3_sitescriptdir}/pytest_freezegun.py
53 %{py3_sitescriptdir}/__pycache__/pytest_freezegun.cpython-*.py[co]
54 %{py3_sitescriptdir}/pytest_freezegun-%{version}-py*.egg-info