17
0

- Add patch remove-pytest-runner.patch:

* No longer require pytest-runner.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:flask/python-Flask-HTMLmin?expand=0&rev=15
This commit is contained in:
2021-12-20 05:07:29 +00:00
committed by Git OBS Bridge
parent 9be36dbeb3
commit c2d7975fb0
3 changed files with 31 additions and 2 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Dec 20 05:07:09 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
- Add patch remove-pytest-runner.patch:
* No longer require pytest-runner.
-------------------------------------------------------------------
Wed Mar 3 19:28:34 UTC 2021 - Arun Persaud <arun@gmx.de>

View File

@@ -25,10 +25,10 @@ Summary: Flask minifier for HTML responses
License: BSD-3-Clause
URL: https://github.com/hamidfzm/Flask-HTMLmin
Source: https://github.com/hamidfzm/Flask-HTMLmin/archive/v%{version}.tar.gz
Patch0: remove-pytest-runner.patch
BuildRequires: %{python_module Flask}
BuildRequires: %{python_module htmlmin}
BuildRequires: %{python_module pytest-cov}
BuildRequires: %{python_module pytest-runner}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -41,7 +41,7 @@ BuildArch: noarch
Flask-HTMLmin minimizes HTML rendered by Flask.
%prep
%setup -q -n Flask-HTMLmin-%{version}
%autosetup -n Flask-HTMLmin-%{version}
%build
%python_build

View File

@@ -0,0 +1,23 @@
Index: Flask-HTMLmin-2.2.0/Pipfile
===================================================================
--- Flask-HTMLmin-2.2.0.orig/Pipfile
+++ Flask-HTMLmin-2.2.0/Pipfile
@@ -5,7 +5,6 @@ verify_ssl = true
[dev-packages]
pytest = "*"
-pytest-runner = "*"
twine = "*"
wheel = "*"
flake8 = "*"
Index: Flask-HTMLmin-2.2.0/setup.py
===================================================================
--- Flask-HTMLmin-2.2.0.orig/setup.py
+++ Flask-HTMLmin-2.2.0/setup.py
@@ -48,6 +48,4 @@ setup(
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Text Processing :: Markup :: HTML',
],
- setup_requires=['pytest-runner'],
- tests_require=['pytest']
)