forked from pool/python-screenplain
Accepting request 1103725 from devel:languages:python
- skip pycodestyle check - fails with newer versions and isn't a good check to begin with OBS-URL: https://build.opensuse.org/request/show/1103725 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-screenplain?expand=0&rev=5
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Aug 13 19:46:35 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- skip pycodestyle check - fails with newer versions and isn't
|
||||||
|
a good check to begin with
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Mar 20 13:44:17 UTC 2023 - mcepl@cepl.eu
|
Mon Mar 20 13:44:17 UTC 2023 - mcepl@cepl.eu
|
||||||
|
|
||||||
|
@@ -34,7 +34,6 @@ Source: screenplain-%{version}.tar.gz
|
|||||||
# PATCH-FIX-UPSTREAM fix_entry_point.patch mcepl@suse.com
|
# PATCH-FIX-UPSTREAM fix_entry_point.patch mcepl@suse.com
|
||||||
# entry point lead to incorrect function.
|
# entry point lead to incorrect function.
|
||||||
Patch0: fix_entry_point.patch
|
Patch0: fix_entry_point.patch
|
||||||
BuildRequires: %{python_module pycodestyle}
|
|
||||||
BuildRequires: %{python_module reportlab}
|
BuildRequires: %{python_module reportlab}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
@@ -78,7 +77,6 @@ sed -i '1{/^#!.*env python/d}' screenplain/main.py
|
|||||||
%check
|
%check
|
||||||
%pyunittest discover -v -p '*test*.py'
|
%pyunittest discover -v -p '*test*.py'
|
||||||
%python_exec -mdoctest -v screenplain/*.py
|
%python_exec -mdoctest -v screenplain/*.py
|
||||||
%python_exec -mpycodestyle -v screenplain tests
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%python_install_alternative screenplain
|
%python_install_alternative screenplain
|
||||||
|
Reference in New Issue
Block a user