[packages/python-pytest-flake8] - updated to 1.0.1 - removed obsolete tests patch
qboosh
qboosh at pld-linux.org
Sun Jul 22 15:11:04 CEST 2018
commit 74fc926a1394ad255ec00d938a1a6a5eed4dde70
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Jul 22 15:13:00 2018 +0200
- updated to 1.0.1
- removed obsolete tests patch
python-pytest-flake8-tests.patch | 12 ------------
python-pytest-flake8.spec | 18 ++++++++----------
2 files changed, 8 insertions(+), 22 deletions(-)
---
diff --git a/python-pytest-flake8.spec b/python-pytest-flake8.spec
index 9295c21..e2efb5c 100644
--- a/python-pytest-flake8.spec
+++ b/python-pytest-flake8.spec
@@ -7,29 +7,28 @@
Summary: py.test plugin to check FLAKE8 requirements
Summary(pl.UTF-8): Wtyczka py.test do sprawdzania wymagań FLAKE8
Name: python-pytest-flake8
-Version: 0.8.1
-Release: 2
+Version: 1.0.1
+Release: 1
License: BSD
Group: Libraries/Python
-#Source0Download: https://pypi.python.org/simple/pytest-flake8/
+#Source0Download: https://pypi.org/simple/pytest-flake8/
Source0: https://files.pythonhosted.org/packages/source/p/pytest-flake8/pytest-flake8-%{version}.tar.gz
-# Source0-md5: 39b64ebceb2849805975a2ff4ea7e947
-Patch0: %{name}-tests.patch
+# Source0-md5: 4fd0c2878e8ce8fbdd5fd6c20cb3cefb
URL: https://github.com/tholo/pytest-flake8
%if %{with python2}
BuildRequires: python-modules >= 1:2.7
BuildRequires: python-setuptools
%if %{with tests}
-BuildRequires: python-flake8 >= 3.0
-BuildRequires: python-pytest >= 2.8
+BuildRequires: python-flake8 >= 3.5
+BuildRequires: python-pytest >= 3.5
%endif
%endif
%if %{with python3}
BuildRequires: python3-modules >= 1:3.4
BuildRequires: python3-setuptools
%if %{with tests}
-BuildRequires: python3-flake8 >= 3.0
-BuildRequires: python3-pytest >= 2.8
+BuildRequires: python3-flake8 >= 3.5
+BuildRequires: python3-pytest >= 3.5
%endif
%endif
BuildRequires: rpm-pythonprov
@@ -58,7 +57,6 @@ Wtyczka py.test do efektywnego sprawdzania zgodności z PEP8.
%prep
%setup -q -n pytest-flake8-%{version}
-%patch0 -p1
%build
%if %{with python2}
diff --git a/python-pytest-flake8-tests.patch b/python-pytest-flake8-tests.patch
deleted file mode 100644
index b8b347e..0000000
--- a/python-pytest-flake8-tests.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- pytest-flake8-0.8.1/test_flake8.py.orig 2017-04-18 20:13:18.303577852 +0200
-+++ pytest-flake8-0.8.1/test_flake8.py 2017-04-18 20:14:15.383577200 +0200
-@@ -128,7 +128,8 @@
- "*E201*",
- "*1 failed*",
- ])
-- assert 'passed' not in result.stdout.str()
-+ # false positive in debug log for registering --stdin-display-name option
-+ # assert 'passed' not in result.stdout.str()
-
-
- @pytest.mark.xfail("sys.platform == 'win32'")
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-pytest-flake8.git/commitdiff/74fc926a1394ad255ec00d938a1a6a5eed4dde70
More information about the pld-cvs-commit
mailing list