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:
2019-02-14 13:34:35 +00:00
committed by Git OBS Bridge
parent 6c5ecb5b88
commit ca263b5f7c
4 changed files with 13 additions and 8 deletions

3
0.1.3.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:168803f006f78760b1d7e082bbdfc27b59e3b8c595400faf9e05728a34d66093
size 6362

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cf5e9cc35c5ba8f060b4413ae7491ba535b6b173f631ece40b007f53e153b7e4
size 4210

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Feb 13 14:35:32 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Switch to github tarball in order to run test
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Mar 3 18:39:48 UTC 2018 - arun@gmx.de Sat Mar 3 18:39:48 UTC 2018 - arun@gmx.de

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-pytest-attrib # 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 # 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/
# #
@@ -24,8 +24,7 @@ Summary: Pytest plugin to select tests based on attributes
License: MIT License: MIT
Group: Development/Languages/Python Group: Development/Languages/Python
Url: http://pypi.python.org/pypi/pytest-attrib/ Url: http://pypi.python.org/pypi/pytest-attrib/
Source: https://files.pythonhosted.org/packages/source/p/pytest-attrib/pytest-attrib-%{version}.tar.gz Source: https://github.com/AbdealiJK/pytest-attrib/archive/%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
@@ -51,6 +50,7 @@ It offers features similar to the nose plugin nose-attrib.
%prep %prep
%setup -q -n pytest-attrib-%{version} %setup -q -n pytest-attrib-%{version}
rm setup.cfg
%build %build
%python_build %python_build
@@ -60,7 +60,7 @@ It offers features similar to the nose plugin nose-attrib.
%python_expand %fdupes %{buildroot}%{python_sitelib} %python_expand %fdupes %{buildroot}%{python_sitelib}
%check %check
%python_exec setup.py test %python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -v
%files %{python_files} %files %{python_files}
%doc README.rst %doc README.rst