|
|
f68f01b |
%global pypi_name testfixtures
|
|
|
f68f01b |
|
|
|
f68f01b |
Name: python-%{pypi_name}
|
|
|
f68f01b |
Version: 6.14.1
|
|
|
f68f01b |
Release: 1%{?dist}
|
|
|
f68f01b |
Summary: A collection of helpers and mock objects for unit tests
|
|
|
f68f01b |
|
|
|
f68f01b |
License: MIT
|
|
|
f68f01b |
URL: https://github.com/Simplistix/testfixtures
|
|
|
f68f01b |
Source0: %{pypi_source}
|
|
|
f68f01b |
BuildArch: noarch
|
|
|
f68f01b |
|
|
|
f68f01b |
%description
|
|
|
f68f01b |
Testfixtures is a collection of helpers and mock objects that are useful
|
|
|
f68f01b |
when writing automated tests in Python.
|
|
|
f68f01b |
|
|
|
f68f01b |
%package -n python3-%{pypi_name}
|
|
|
f68f01b |
Summary: %{summary}
|
|
|
f68f01b |
|
|
|
f68f01b |
BuildRequires: python3-devel
|
|
|
f68f01b |
BuildRequires: python3-pytest
|
|
|
f68f01b |
BuildRequires: python3-pytest-cov
|
|
|
f68f01b |
BuildRequires: python3-pytest-django
|
|
|
f68f01b |
BuildRequires: python3-twisted
|
|
|
f68f01b |
BuildRequires: python3-zope-component
|
|
|
f68f01b |
BuildRequires: python3-sybil
|
|
|
f68f01b |
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
f68f01b |
|
|
|
f68f01b |
%description -n python3-%{pypi_name}
|
|
|
f68f01b |
Testfixtures is a collection of helpers and mock objects that are useful
|
|
|
f68f01b |
when writing automated tests in Python.
|
|
|
f68f01b |
|
|
|
f68f01b |
%prep
|
|
|
f68f01b |
%autosetup -n %{pypi_name}-%{version}
|
|
|
f68f01b |
rm -rf %{pypi_name}.egg-info
|
|
|
f68f01b |
|
|
|
f68f01b |
%build
|
|
|
f68f01b |
%py3_build
|
|
|
f68f01b |
|
|
|
f68f01b |
%install
|
|
|
f68f01b |
%py3_install
|
|
|
f68f01b |
|
|
|
f68f01b |
%check
|
|
|
f68f01b |
PYTHONPATH=%{buildroot}%{python3_sitelib} pytest-%{python3_version} -v testfixtures/tests/*.py \
|
|
|
f68f01b |
-k "not test_log_then_patch and not test_our_wrap_dealing_with_mock_patch and not test_patch_with_dict"
|
|
|
f68f01b |
|
|
|
f68f01b |
%files -n python3-%{pypi_name}
|
|
|
f68f01b |
%doc CHANGELOG.rst README.rst
|
|
|
f68f01b |
%license LICENSE.txt
|
|
|
f68f01b |
%{python3_sitelib}/%{pypi_name}/
|
|
|
f68f01b |
%{python3_sitelib}/*.egg-info/
|
|
|
f68f01b |
|
|
|
f68f01b |
%changelog
|
|
|
f68f01b |
* Thu Jun 04 2020 Fabian Affolter <mail@fabian-affolter.ch> - 6.14.1-2
|
|
|
f68f01b |
- Remove *.egg in prep section
|
|
|
f68f01b |
|
|
|
f68f01b |
* Wed Jun 03 2020 Fabian Affolter <mail@fabian-affolter.ch> - 6.14.1-1
|
|
|
f68f01b |
- Exclude the failing tests for now
|
|
|
f68f01b |
- Update to latest upstream release 6.14.1
|
|
|
f68f01b |
|
|
|
f68f01b |
* Sat Apr 18 2020 Fabian Affolter <mail@fabian-affolter.ch> - 6.14.0-1
|
|
|
f68f01b |
- Update to latest upstream release 6.14.0
|
|
|
f68f01b |
|
|
|
f68f01b |
* Wed Feb 19 2020 Fabian Affolter <mail@fabian-affolter.ch> - 6.13.0-1
|
|
|
f68f01b |
- Update to latest upstream release 6.13.0
|
|
|
f68f01b |
|
|
|
f68f01b |
* Mon Feb 10 2020 Fabian Affolter <mail@fabian-affolter.ch> - 6.12.0-1
|
|
|
f68f01b |
- Update to latest upstream release 6.12.0
|
|
|
f68f01b |
|
|
|
f68f01b |
* Sat Dec 28 2019 Fabian Affolter <mail@fabian-affolter.ch> - 6.10.3-1
|
|
|
f68f01b |
- Update to latest upstream release 6.10.3
|
|
|
f68f01b |
|
|
|
f68f01b |
* Sat Jun 08 2019 Fabian Affolter <mail@fabian-affolter.ch> - 6.8.2-2
|
|
|
f68f01b |
- Fix license, URL and naming (rhbz#1708161)
|
|
|
f68f01b |
|
|
|
f68f01b |
* Thu May 09 2019 Fabian Affolter <mail@fabian-affolter.ch> - 6.8.2-1
|
|
|
f68f01b |
- Initial package for Fedora
|