aiohttp_socks: drop support for Python 3.7, add it for 3.10. (#8079)

This commit is contained in:
OscarL
2023-03-23 11:09:02 -03:00
committed by GitHub
parent 37c7ddb486
commit ea20c25d74

View File

@@ -4,7 +4,7 @@ DESCRIPTION="Proxy connector for aiohttp. SOCKS4(a), SOCKS5, HTTP \
HOMEPAGE="https://github.com/romis2012/aiohttp-socks"
COPYRIGHT="2018-2020 Santiago Torres"
LICENSE="Apache v2"
REVISION="1"
REVISION="2"
SOURCE_URI="https://github.com/romis2012/aiohttp-socks/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="7d3fc71f6c992d134cc1ebdfecb2cb2531a06fba529b38d8120a1085372563d6"
SOURCE_DIR="aiohttp-socks-$portVersion"
@@ -22,8 +22,8 @@ BUILD_REQUIRES="
haiku_devel
"
PYTHON_PACKAGES=(python3 python38 python39)
PYTHON_VERSIONS=(3.7 3.8 3.9)
PYTHON_PACKAGES=(python38 python39 python310)
PYTHON_VERSIONS=(3.8 3.9 3.10)
for i in "${!PYTHON_PACKAGES[@]}"; do
pythonPackage=${PYTHON_PACKAGES[i]}
pythonVersion=${PYTHON_VERSIONS[$i]}
@@ -58,4 +58,3 @@ INSTALL()
$prefix/lib/python*
done
}