From 6c1788245b4f8751dad86af0c830de657b19f55c4200cd6ce3aca602e5e453f5 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 11 May 2023 22:25:50 +0000 Subject: [PATCH] Accepting request 1086626 from home:bnavigator:branches:devel:languages:python - Skip failing pylint test: pylint has advanced, but pylama is not maintained at the moment -- gh#klen/pylama#238 OBS-URL: https://build.opensuse.org/request/show/1086626 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pylama?expand=0&rev=19 --- python-pylama.changes | 6 ++++++ python-pylama.spec | 10 +++++++--- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/python-pylama.changes b/python-pylama.changes index 82b4626..b0a5c7f 100644 --- a/python-pylama.changes +++ b/python-pylama.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu May 11 20:00:18 UTC 2023 - Ben Greiner + +- Skip failing pylint test: pylint has advanced, but pylama is not + maintained at the moment -- gh#klen/pylama#238 + ------------------------------------------------------------------- Thu Aug 25 09:18:53 UTC 2022 - Ben Greiner diff --git a/python-pylama.spec b/python-pylama.spec index 608a07f..073f6f7 100644 --- a/python-pylama.spec +++ b/python-pylama.spec @@ -1,7 +1,7 @@ # # spec file for package python-pylama # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,10 +26,12 @@ URL: https://github.com/klen/pylama Source: https://github.com/klen/pylama/archive/refs/tags/%{version}.tar.gz#/pylama-%{version}-gh.tar.gz BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module mccabe >= 0.7.0} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pycodestyle >= 2.9.1} BuildRequires: %{python_module pydocstyle >= 6.1.1} BuildRequires: %{python_module pyflakes >= 2.5.0} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: git-core BuildRequires: mypy @@ -76,11 +78,11 @@ Code audit tool for Python. Pylama wraps these tools: %build export LANG=en_US.UTF-8 -%python_build +%pyproject_wheel %install export LANG=en_US.UTF-8 -%python_install +%pyproject_install %python_clone -a %{buildroot}%{_bindir}/pylama %python_expand %fdupes %{buildroot}%{$python_sitelib} @@ -88,6 +90,8 @@ export LANG=en_US.UTF-8 export LANG=en_US.UTF-8 # pylama-quotes is on PyPI but has no active Website or repository for code maintenance donttest="test_quotes" +# gh#klen/pylama#238 +donttest+=" or test_pylint" %pytest -k "not ($donttest)" %post