webencodings: add python versions

This commit is contained in:
Gerasim Troeglazov
2019-10-16 20:40:45 +10:00
parent fe22832650
commit 189f2fdd2c

View File

@@ -9,7 +9,7 @@ so that implementations do not have to reverse-engineer each other."
HOMEPAGE="https://github.com/gsnedders/python-webencodings" HOMEPAGE="https://github.com/gsnedders/python-webencodings"
COPYRIGHT="2012 Simon Sapin" COPYRIGHT="2012 Simon Sapin"
LICENSE="BSD (3-clause)" LICENSE="BSD (3-clause)"
REVISION="1" REVISION="2"
SOURCE_URI="https://github.com/gsnedders/python-webencodings/archive/v$portVersion.tar.gz" SOURCE_URI="https://github.com/gsnedders/python-webencodings/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="082367f568a7812aa5f6922ffe3d9d027cd83829dc32bcaac4c874eeed618000" CHECKSUM_SHA256="082367f568a7812aa5f6922ffe3d9d027cd83829dc32bcaac4c874eeed618000"
SOURCE_DIR="python-webencodings-$portVersion" SOURCE_DIR="python-webencodings-$portVersion"
@@ -27,8 +27,8 @@ BUILD_REQUIRES="
haiku_devel haiku_devel
" "
PYTHON_PACKAGES=(python python3) PYTHON_PACKAGES=(python python36 python3)
PYTHON_VERSIONS=(2.7 3.6) PYTHON_VERSIONS=(2.7 3.6 3.7)
for i in "${!PYTHON_PACKAGES[@]}"; do for i in "${!PYTHON_PACKAGES[@]}"; do
pythonPackage=${PYTHON_PACKAGES[i]} pythonPackage=${PYTHON_PACKAGES[i]}
pythonVersion=${PYTHON_VERSIONS[$i]} pythonVersion=${PYTHON_VERSIONS[$i]}