From a77d562b8b73bc158202a92cc8f0d8ea0d41b9674c36e52fda6dc71c3c5d2e5f Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 31 Aug 2024 12:46:29 +0000 Subject: [PATCH] - spec file cleanups - list files to be included explicitly - Initial package OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-pylint?expand=0&rev=2 --- python-pytest-pylint.changes | 9 +++++++-- python-pytest-pylint.spec | 25 ++++++++++++++----------- 2 files changed, 21 insertions(+), 13 deletions(-) diff --git a/python-pytest-pylint.changes b/python-pytest-pylint.changes index d0117c4..a2bda5e 100644 --- a/python-pytest-pylint.changes +++ b/python-pytest-pylint.changes @@ -1,9 +1,14 @@ +------------------------------------------------------------------- +Sat Aug 31 12:46:01 UTC 2024 - Dirk Müller + +- spec file cleanups + ------------------------------------------------------------------- Tue Aug 27 17:05:32 UTC 2024 - Meera Belur -- list files to be included explicitly +- list files to be included explicitly ------------------------------------------------------------------- Tue Aug 20 20:03:34 UTC 2024 - Meera Belur -- Initial package +- Initial package diff --git a/python-pytest-pylint.spec b/python-pytest-pylint.spec index 89bfadb..c1d1ba0 100644 --- a/python-pytest-pylint.spec +++ b/python-pytest-pylint.spec @@ -15,38 +15,41 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # + %{?sle15_python_module_pythons} Name: python-pytest-pylint Version: 0.21.0 Release: 0 Summary: A pytest plugin to check source code with pylint License: MIT -URL: https://github.com/carsongee/pytest-pylint Group: Development/Languages/Python +URL: https://github.com/carsongee/pytest-pylint Source: https://files.pythonhosted.org/packages/source/p/pytest-pylint/pytest-pylint-%{version}.tar.gz # Remove archived https://github.com/pytest-dev/pytest-runner from setup_requires Patch0: rm-pytest-runner.patch -BuildRequires: python-rpm-macros BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} -# SECTION test requirements -BuildRequires: %{python_module pylint >= 2.15.0} -BuildRequires: %{python_module pytest >= 7.0} -BuildRequires: %{python_module black} -BuildRequires: %{python_module coverage} -BuildRequires: %{python_module flake8} -BuildRequires: %{python_module isort} -# /SECTION BuildRequires: fdupes +BuildRequires: python-rpm-macros Requires: python-pylint >= 2.15.0 Requires: python-pytest >= 7.0 Suggests: python-tomli >= 1.1.0 BuildArch: noarch +# SECTION test requirements +BuildRequires: %{python_module black} +BuildRequires: %{python_module coverage} +BuildRequires: %{python_module flake8} +BuildRequires: %{python_module isort} +BuildRequires: %{python_module pylint >= 2.15.0} +BuildRequires: %{python_module pytest >= 7.0} +# /SECTION %python_subpackages %description -pytest plugin to check source code with pylint. Run pylint with pytest and have configurable rule types (i.e. Convention, Warn, and Error) fail the build. You can also specify a pylintrc file. +pytest plugin to check source code with pylint. Run pylint with pytest and have +configurable rule types (i.e. Convention, Warn, and Error) fail the build. You +can also specify a pylintrc file. %prep %autosetup -p1 -n pytest-pylint-%{version}