Accepting request 676054 from devel:languages:python:pytest
- Update to 0.2.1: * Drop "pytest-cache" dependency, not required anymore - part of py.test itself OBS-URL: https://build.opensuse.org/request/show/676054 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-isort?expand=0&rev=2
This commit is contained in:
3
0.2.1.tar.gz
Normal file
3
0.2.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4227b647bdd0566897203353c028f16c8603705f5d8014ecd453a3518f140345
|
||||
size 5844
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d4d195ecfe33d81e258d251b2679b32216bad84131fb41984da22d9d0328a6fe
|
||||
size 5535
|
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 14 14:11:43 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Update to 0.2.1:
|
||||
* Drop "pytest-cache" dependency, not required anymore - part of py.test itself
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 10 00:00:16 UTC 2018 - toddrme2178@gmail.com
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pytest-isort
|
||||
#
|
||||
# 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,34 +12,27 @@
|
||||
# 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/
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%bcond_with test
|
||||
Name: python-pytest-isort
|
||||
Version: 0.2.0
|
||||
Version: 0.2.1
|
||||
Release: 0
|
||||
Summary: Plugin for pytest to perform isort checks
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
Url: http://github.com/moccu/pytest-isort/
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pytest-isort/pytest-isort-%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel}
|
||||
URL: http://github.com/moccu/pytest-isort/
|
||||
Source: https://github.com/moccu/pytest-isort/archive/%{version}.tar.gz
|
||||
BuildRequires: %{python_module isort >= 4.0}
|
||||
BuildRequires: %{python_module pytest >= 3.0}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: python-rpm-macros
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module isort >= 3.9.6}
|
||||
BuildRequires: %{python_module pytest >= 2.6.4}
|
||||
BuildRequires: %{python_module pytest-cache >= 1.0}
|
||||
%endif
|
||||
BuildRequires: fdupes
|
||||
Requires: python-isort >= 3.9.6
|
||||
Requires: python-pytest >= 2.6.4
|
||||
Requires: python-pytest-cache >= 1.0
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-isort >= 4.0
|
||||
Requires: python-pytest >= 3.0
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -55,13 +48,10 @@ This is a py.test plugin to check import ordering using isort.
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%if %{with test}
|
||||
%check
|
||||
%python_exec setup.py test
|
||||
%endif
|
||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -v
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc CHANGELOG.rst README.rst
|
||||
%license LICENSE.rst
|
||||
%{python_sitelib}/*
|
||||
|
Reference in New Issue
Block a user