17
0

Accepting request 998561 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/998561
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-EasyProcess?expand=0&rev=23
This commit is contained in:
2022-08-23 12:25:35 +00:00
committed by Git OBS Bridge
2 changed files with 15 additions and 7 deletions

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Sat Aug 20 13:01:54 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Package only supports Python >= 3.7
- Remove linter flake8 and static type checker mypy from build
requirements: Not used and not necessary during rpm packaging.
- Remove stray build dependency for six
- Remove entrypoint2 build dependency: only required for building
docs
- Don't catchall in files section
-------------------------------------------------------------------
Wed Aug 10 07:46:11 UTC 2022 - Otto Hollmann <otto.hollmann@suse.com>

View File

@@ -16,7 +16,6 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "test"
%define psuffix -test
@@ -32,22 +31,19 @@ Summary: Python subprocess interface
License: BSD-2-Clause
URL: https://github.com/ponty/easyprocess
Source: https://github.com/ponty/EasyProcess/archive/%{version}.tar.gz
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: iputils
BuildRequires: python-rpm-macros
BuildArch: noarch
%if %{with test}
BuildRequires: %{python_module EasyProcess = %{version}}
BuildRequires: %{python_module Pillow}
BuildRequires: %{python_module PyVirtualDisplay}
BuildRequires: %{python_module entrypoint2}
BuildRequires: %{python_module flake8}
BuildRequires: %{python_module mypy}
BuildRequires: %{python_module pytest-timeout}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module six}
BuildRequires: ImageMagick
BuildRequires: iputils
%endif
%python_subpackages
@@ -95,7 +91,8 @@ export LANG=en_US.UTF-8
%files %{python_files}
%license LICENSE.txt
%doc README.md
%{python_sitelib}/*
%{python_sitelib}/easyprocess
%{python_sitelib}/EasyProcess-%{version}*-info
%endif
%changelog