httplib2, bump version, drop python2.7, add python3.10, fixes CVE--2021-21240 (#7193)

This commit is contained in:
Schrijvers Luc
2022-09-13 11:04:28 +02:00
committed by GitHub
parent 09d00ef72f
commit 6288907bfa

View File

@@ -2,11 +2,12 @@ SUMMARY="A comprehensive HTTP library for the Python platform"
DESCRIPTION="httplib2 supports many features left out of other HTTP \
libraries."
HOMEPAGE="https://github.com/httplib2/httplib2/"
COPYRIGHT="2006-2019 Joe Gregorio"
COPYRIGHT="2006-2022 Joe Gregorio"
LICENSE="MIT"
REVISION="1"
SOURCE_URI="$HOMEPAGE/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="f2f35e29e99e8d9bb5921c17ede6ee10bd5bd971f2cd0b3aaaa20088754f89ba"
CHECKSUM_SHA256="a6d079ae974ae408ac57d61aa2eee1d3be2cb250ae31d60507f1ecd2c6ca3002"
SOURCE_FILENAME="httplib2-v$portVersion.tar.gz"
ARCHITECTURES="any"
@@ -21,8 +22,8 @@ BUILD_REQUIRES="
haiku_devel
"
PYTHON_PACKAGES=(python python3 python38 python39)
PYTHON_VERSIONS=(2.7 3.7 3.8 3.9)
PYTHON_PACKAGES=(python3 python38 python39 python310)
PYTHON_VERSIONS=(3.7 3.8 3.9 3.10)
for i in "${!PYTHON_PACKAGES[@]}"; do
pythonPackage=${PYTHON_PACKAGES[i]}
pythonVersion=${PYTHON_VERSIONS[$i]}