15
0

- Add patch fix-requirements.patch:

* Fix invalid version number.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pingparsing?expand=0&rev=23
This commit is contained in:
2023-02-13 04:12:59 +00:00
committed by Git OBS Bridge
parent 46177c3936
commit 8d85207d52
3 changed files with 23 additions and 2 deletions

13
fix-requirements.patch Normal file
View File

@@ -0,0 +1,13 @@
Index: pingparsing-1.4.0/setup.py
===================================================================
--- pingparsing-1.4.0.orig/setup.py
+++ pingparsing-1.4.0/setup.py
@@ -40,7 +40,7 @@ with open(os.path.join(REQUIREMENT_DIR,
with open(os.path.join(REQUIREMENT_DIR, "test_requirements.txt")) as f:
tests_requires = [line.strip() for line in f if line.strip()]
-CLI_OPT_REQUIRES = ["loguru>=0.4.1,<1", "Pygments>=2.1<3"]
+CLI_OPT_REQUIRES = ["loguru>=0.4.1,<1", "Pygments>=2.1,<3"]
setuptools.setup(
name=MODULE_NAME,