From f74952bc0ec8fc035af946cca5c1530083ca636787224cf08b5b330836d16fbf Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 22 Aug 2022 06:36:25 +0000 Subject: [PATCH] Accepting request 998354 from home:bnavigator:branches:devel:languages:python - 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 OBS-URL: https://build.opensuse.org/request/show/998354 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-EasyProcess?expand=0&rev=43 --- python-EasyProcess.changes | 11 +++++++++++ python-EasyProcess.spec | 11 ++++------- 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/python-EasyProcess.changes b/python-EasyProcess.changes index 3b7019a..8ebb5a3 100644 --- a/python-EasyProcess.changes +++ b/python-EasyProcess.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Sat Aug 20 13:01:54 UTC 2022 - Ben Greiner + +- 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 diff --git a/python-EasyProcess.spec b/python-EasyProcess.spec index 34db492..6c0df5b 100644 --- a/python-EasyProcess.spec +++ b/python-EasyProcess.spec @@ -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