* Wed Dec 16 2020 Fabian Affolter <mail@fabian-affolter.ch> - 3.4.0-1
- Update macros - Update to new upstream release 3.4.0 (#1907878)
This commit is contained in:
parent
82bc63008e
commit
593b6f80d9
1
.gitignore
vendored
1
.gitignore
vendored
@ -14,3 +14,4 @@
|
||||
/pytest-mock-3.2.0.tar.gz
|
||||
/pytest-mock-3.3.0.tar.gz
|
||||
/pytest-mock-3.3.1.tar.gz
|
||||
/pytest-mock-3.4.0.tar.gz
|
||||
|
@ -1,11 +1,8 @@
|
||||
%global pypi_name pytest-mock
|
||||
%global file_name pytest_mock
|
||||
%global desc This plugin installs a mocker fixture which is a thin-wrapper around the \
|
||||
patching API provided by the mock package, but with the benefit of not having \
|
||||
to worry about undoing patches at the end of a test.
|
||||
|
||||
Name: python-%{pypi_name}
|
||||
Version: 3.3.1
|
||||
Version: 3.4.0
|
||||
Release: 1%{?dist}
|
||||
Summary: Thin-wrapper around the mock package for easier use with py.test
|
||||
|
||||
@ -15,19 +12,23 @@ Source0: %{pypi_source}
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
%{desc}
|
||||
This plugin installs a mocker fixture which is a thin-wrapper around the
|
||||
patching API provided by the mock package, but with the benefit of not having
|
||||
to worry about undoing patches at the end of a test.
|
||||
|
||||
%package -n python3-%{pypi_name}
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-pytest
|
||||
BuildRequires: python3-setuptools_scm
|
||||
BuildRequires: python3-pytest-asyncio
|
||||
BuildRequires: %py3_dist pytest
|
||||
BuildRequires: %py3_dist setuptools_scm
|
||||
BuildRequires: %py3_dist pytest-asyncio
|
||||
%{?python_provide:%python_provide python3-%{pypi_name}}
|
||||
|
||||
%description -n python3-%{pypi_name}
|
||||
%{desc}
|
||||
This plugin installs a mocker fixture which is a thin-wrapper around the
|
||||
patching API provided by the mock package, but with the benefit of not having
|
||||
to worry about undoing patches at the end of a test.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{pypi_name}-%{version} -p1
|
||||
@ -42,7 +43,7 @@ sed -i 's/\r$//' README.rst
|
||||
%py3_install
|
||||
|
||||
%check
|
||||
PYTHONPATH=%{buildroot}%{python3_sitelib} pytest-%{python3_version} -v tests \
|
||||
%pytest -v tests \
|
||||
-k "not test_standalone_mock and not test_detailed_introspection and not test_detailed_introspection \
|
||||
and not test_assert_called_args_with_introspection and not test_assert_called_kwargs_with_introspection"
|
||||
|
||||
@ -53,8 +54,9 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} pytest-%{python3_version} -v tests \
|
||||
%{python3_sitelib}/%{file_name}-%{version}-py%{python3_version}.egg-info/
|
||||
|
||||
%changelog
|
||||
* Sat Aug 29 2020 Fabian Affolter <mail@fabian-affolter.ch> - 3.3.1-1
|
||||
- Update to latest upstream release 3.3.1 (rhbz#1871290)
|
||||
* Wed Dec 16 2020 Fabian Affolter <mail@fabian-affolter.ch> - 3.4.0-1
|
||||
- Update macros
|
||||
- Update to new upstream release 3.4.0 (#1907878)
|
||||
|
||||
* Fri Aug 21 2020 Fabian Affolter <mail@fabian-affolter.ch> - 3.3.0-1
|
||||
- Update to latest upstream release 3.3.0 (rhbz#1871290)
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (pytest-mock-3.3.1.tar.gz) = ffd53974f82f725cf3bdbe750c1deb568ad1a12a67532eca93ff28d80b1cbcd8ebf709985f5473717c9d54345b251c1627c0567821e9e8b9e102db5c16cf7421
|
||||
SHA512 (pytest-mock-3.4.0.tar.gz) = 5456b60bdd06a63859232b28aeb79be643e8298e69ae103cb6e194891987e01b17771ad895dfead97fa45531959689fb202bb1ebc9ba44491098760c10d1ef43
|
||||
|
Loading…
Reference in New Issue
Block a user