forked from pool/python-pytest-attrib
Accepting request 674595 from devel:languages:python:pytest
- Switch to github tarball in order to run test OBS-URL: https://build.opensuse.org/request/show/674595 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-attrib?expand=0&rev=3
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pytest-attrib
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# 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)
|
||||
# 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/
|
||||
#
|
||||
|
||||
|
||||
@@ -24,8 +24,7 @@ Summary: Pytest plugin to select tests based on attributes
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Url: http://pypi.python.org/pypi/pytest-attrib/
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pytest-attrib/pytest-attrib-%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel}
|
||||
Source: https://github.com/AbdealiJK/pytest-attrib/archive/%{version}.tar.gz
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
@@ -51,6 +50,7 @@ It offers features similar to the nose plugin nose-attrib.
|
||||
|
||||
%prep
|
||||
%setup -q -n pytest-attrib-%{version}
|
||||
rm setup.cfg
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@@ -60,7 +60,7 @@ It offers features similar to the nose plugin nose-attrib.
|
||||
%python_expand %fdupes %{buildroot}%{python_sitelib}
|
||||
|
||||
%check
|
||||
%python_exec setup.py test
|
||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -v
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
|
||||
Reference in New Issue
Block a user