diff --git a/0001-cancel-require-pyparsing-version-limit.patch b/0001-cancel-require-pyparsing-version-limit.patch deleted file mode 100644 index 7e29afb..0000000 --- a/0001-cancel-require-pyparsing-version-limit.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 217b969872938cb021e914c202b8e09cf639c202 Mon Sep 17 00:00:00 2001 -From: bzg1107 -Date: Tue, 4 Jan 2022 16:02:44 +0800 -Subject: [PATCH] cancel require pyparsing version limit - ---- - python3/httplib2/auth.py | 2 +- - requirements.txt | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/python3/httplib2/auth.py b/python3/httplib2/auth.py -index 516fdaa..9d9d7ed 100644 ---- a/python3/httplib2/auth.py -+++ b/python3/httplib2/auth.py -@@ -15,7 +15,7 @@ token = pp.Word(tchar).setName("token") - token68 = pp.Combine(pp.Word("-._~+/" + pp.nums + pp.alphas) + pp.ZeroOrMore("=")).setName("token68") - - quoted_string = pp.dblQuotedString.copy().setName("quoted-string").setParseAction(unquote) --auth_param_name = token.copy().setName("auth-param-name").addParseAction(pp.downcaseTokens) -+auth_param_name = token.copy().setName("auth-param-name").addParseAction(pp.pyparsing_common.downcase_tokens) - auth_param = auth_param_name + pp.Suppress("=") + (token ^ quoted_string) - params = pp.Dict(pp.delimitedList(pp.Group(auth_param))) - -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 - diff --git a/httplib2-0.19.0.tar.gz b/httplib2-0.19.0.tar.gz deleted file mode 100644 index 0f9372e..0000000 Binary files a/httplib2-0.19.0.tar.gz and /dev/null differ diff --git a/python-httplib2.spec b/python-httplib2.spec index b07b968..0ed9fed 100644 --- a/python-httplib2.spec +++ b/python-httplib2.spec @@ -1,11 +1,10 @@ Name: python-httplib2 -Version: 0.19.0 -Release: 4 +Version: 0.20.2 +Release: 1 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 +Source0: https://github.com/httplib2/httplib2/archive/refs/tags/v0.20.2.tar.gz %if 0%{?with_python3} BuildRequires: python3-setuptools python3-devel %endif @@ -56,6 +55,9 @@ popd %endif %changelog +* Tue May 17 2022 xigaoxinyan - 0.20.2-1 +- Update to 0.20.2 + * Mon Jan 9 2022 baizhonggui - 0.19.0-4 - support newst pyparsing syntax diff --git a/v0.20.2.tar.gz b/v0.20.2.tar.gz new file mode 100644 index 0000000..92efbee Binary files /dev/null and b/v0.20.2.tar.gz differ