From ca263b5f7c93e7d5335d4e2be257c02f42a92a878199165f4c26a2ea315b827a Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Thu, 14 Feb 2019 13:34:35 +0000 Subject: [PATCH] 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 --- 0.1.3.tar.gz | 3 +++ pytest-attrib-0.1.3.tar.gz | 3 --- python-pytest-attrib.changes | 5 +++++ python-pytest-attrib.spec | 10 +++++----- 4 files changed, 13 insertions(+), 8 deletions(-) create mode 100644 0.1.3.tar.gz delete mode 100644 pytest-attrib-0.1.3.tar.gz diff --git a/0.1.3.tar.gz b/0.1.3.tar.gz new file mode 100644 index 0000000..dcca0e4 --- /dev/null +++ b/0.1.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:168803f006f78760b1d7e082bbdfc27b59e3b8c595400faf9e05728a34d66093 +size 6362 diff --git a/pytest-attrib-0.1.3.tar.gz b/pytest-attrib-0.1.3.tar.gz deleted file mode 100644 index 82a891c..0000000 --- a/pytest-attrib-0.1.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cf5e9cc35c5ba8f060b4413ae7491ba535b6b173f631ece40b007f53e153b7e4 -size 4210 diff --git a/python-pytest-attrib.changes b/python-pytest-attrib.changes index 8bb26ae..a22105b 100644 --- a/python-pytest-attrib.changes +++ b/python-pytest-attrib.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Feb 13 14:35:32 UTC 2019 - Tomáš Chvátal + +- Switch to github tarball in order to run test + ------------------------------------------------------------------- Sat Mar 3 18:39:48 UTC 2018 - arun@gmx.de diff --git a/python-pytest-attrib.spec b/python-pytest-attrib.spec index 2900e77..b41d456 100644 --- a/python-pytest-attrib.spec +++ b/python-pytest-attrib.spec @@ -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