Accepting request 674964 from devel:languages:python:pytest
- Fix source url - Drop the check part as there are no tests at all even in git repo - Add missing six dependency OBS-URL: https://build.opensuse.org/request/show/674964 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-expect?expand=0&rev=2
This commit is contained in:
parent
29a941686e
commit
2926f3e762
19
LICENSE
Normal file
19
LICENSE
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
Copyright (c) 2015 Geoffrey Sneddon
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in
|
||||||
|
all copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
|
THE SOFTWARE.
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 14 12:44:58 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Fix source url
|
||||||
|
- Drop the check part as there are no tests at all even in git repo
|
||||||
|
- Add missing six dependency
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Mar 31 18:00:44 UTC 2017 - aloisio@gmx.com
|
Fri Mar 31 18:00:44 UTC 2017 - aloisio@gmx.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pytest-expect
|
# spec file for package python-pytest-expect
|
||||||
#
|
#
|
||||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -12,7 +12,7 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
@ -23,17 +23,15 @@ Release: 0
|
|||||||
Summary: Py.test plugin to store test expectations and mark tests based on them
|
Summary: Py.test plugin to store test expectations and mark tests based on them
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: https://github.com/gsnedders/pytest-expect
|
URL: https://github.com/gsnedders/pytest-expect
|
||||||
Source: https://pypi.io/packages/source/p/pytest-expect/pytest-expect-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/p/pytest-expect/pytest-expect-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module devel}
|
Source1: https://raw.githubusercontent.com/gsnedders/pytest-expect/master/LICENSE
|
||||||
BuildRequires: %{python_module pytest}
|
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module u-msgpack-python}
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-pytest
|
Requires: python-pytest
|
||||||
|
Requires: python-six
|
||||||
Requires: python-u-msgpack-python
|
Requires: python-u-msgpack-python
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@ -47,9 +45,9 @@ use ASCII characters in their node ids: this likely isn’t a limitation
|
|||||||
if tests are using the normal Python format, as Python 2 only allows
|
if tests are using the normal Python format, as Python 2 only allows
|
||||||
ASCII characters in identifiers.
|
ASCII characters in identifiers.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n pytest-expect-%{version}
|
%setup -q -n pytest-expect-%{version}
|
||||||
|
cp %{SOURCE1} .
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
@ -58,11 +56,8 @@ ASCII characters in identifiers.
|
|||||||
%python_install
|
%python_install
|
||||||
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
|
||||||
%python_exec setup.py test
|
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%license LICENSE
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%{python_sitelib}/pytest_expect
|
%{python_sitelib}/pytest_expect
|
||||||
%{python_sitelib}/pytest_expect-%{version}-py%{python_version}.egg-info
|
%{python_sitelib}/pytest_expect-%{version}-py%{python_version}.egg-info
|
||||||
|
Loading…
x
Reference in New Issue
Block a user