chardet: added python 3.10 (#7299)

This commit is contained in:
kenmays
2022-10-17 21:19:34 -07:00
committed by GitHub
parent 8d7f984f10
commit dafd512fb6

View File

@@ -3,7 +3,7 @@ DESCRIPTION="Python module for character encoding auto-detection."
HOMEPAGE="https://github.com/chardet/chardet"
COPYRIGHT="2011-2022 Mark Pilgrim, Dan Blanchard"
LICENSE="GNU LGPL v2.1"
REVISION="1"
REVISION="2"
SOURCE_URI="https://pypi.io/packages/source/${portName:0:1}/$portName/${portName}-$portVersion.tar.gz"
CHECKSUM_SHA256="0d6f53a15db4120f2b08c94f11e7d93d2c911ee118b6b30a04ec3ee8310179fa"
@@ -20,8 +20,8 @@ BUILD_REQUIRES="
haiku_devel
"
PYTHON_PACKAGES=(python python3 python38 python39)
PYTHON_VERSIONS=(2.7 3.7 3.8 3.9)
PYTHON_PACKAGES=(python python3 python38 python39 python310)
PYTHON_VERSIONS=(2.7 3.7 3.8 3.9 3.10)
for i in "${!PYTHON_PACKAGES[@]}"; do
pythonPackage=${PYTHON_PACKAGES[i]}
pythonVersion=${PYTHON_VERSIONS[$i]}