fix require parsing version limit

(cherry picked from commit 6ed8c379d79dd0e7bb066968461ade378f05fea3)
This commit is contained in:
bzg1107 2022-01-04 16:40:49 +08:00 committed by openeuler-sync-bot
parent 80e851ae6e
commit 40ade5f0e9
2 changed files with 25 additions and 2 deletions

View File

@ -0,0 +1,19 @@
From bd95f5a96e11e917d26825eea7abf883174098f1 Mon Sep 17 00:00:00 2001
From: bzg1107 <preloyalwhite@163.com>
Date: Tue, 4 Jan 2022 16:02:44 +0800
Subject: [PATCH] cancel require pyparsing version limit
---
requirements.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/requirements.txt b/requirements.txt
index 4ebe545..bc8d448 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1 +1 @@
-pyparsing>=2.4.2,<3 # TODO include v3 after dropping Python2 support
+pyparsing>=2.4.2 # TODO include v3 after dropping Python2 support
--
2.30.0

View File

@ -1,11 +1,11 @@
Name: python-httplib2
Version: 0.19.0
Release: 2
Release: 3
Summary: Small, fast HTTP client library for Python.
License: MIT
URL: https://github.com/httplib2/httplib2
Source0: https://files.pythonhosted.org/packages/ed/ef/f0e05d5886a9c25dea4b18be06cd7bcaddbae0168cc576f3568f9bd6a35a/httplib2-0.19.0.tar.gz
Patch0: 0001-cancel-require-pyparsing-version-limit.patch
%if 0%{?with_python3}
BuildRequires: python3-setuptools python3-devel
%endif
@ -25,6 +25,7 @@ Summary: Small, fast HTTP client library for Python.
Small, fast HTTP client library for Python.
%endif
%prep
%autosetup -n httplib2-%{version} -p1
@ -55,6 +56,9 @@ popd
%endif
%changelog
* Sat Jan 8 2022 baizhonggui <baizhonggui@huawei.com> - 0.19.0-3
- fix require pyparsing version limit
* Wed Mar 31 2021 zhangjiapeng <zhangjiapeng9@huawei.com> - 0.19.0-2
- python3-httplib2 provides python-httplib2