Dukpy: enable for python2 (#4647)

This commit is contained in:
miqlas
2020-02-02 19:50:09 +01:00
committed by GitHub
parent 989da71ce0
commit f9ebacc4f7

View File

@@ -5,7 +5,7 @@ With dukpy, you can run JavaScript in Python."
HOMEPAGE="https://github.com/kovidgoyal/dukpy"
COPYRIGHT="2007-2019 Ian Bicking and contributors"
LICENSE="GNU LGPL v3"
REVISION="1"
REVISION="2"
SOURCE_URI="https://github.com/kovidgoyal/dukpy/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="cc78c39ebba51f381c623b164cfb7dcf3caddf515fe7094bc53b7eca5d4e435e"
SOURCE_FILENAME="$portName-v$portVersion.tar.gz"
@@ -27,8 +27,8 @@ BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
"
PYTHON_PACKAGES=(python36 python3)
PYTHON_VERSIONS=(3.6 3.7)
PYTHON_PACKAGES=(python python36 python3)
PYTHON_VERSIONS=(2.7 3.6 3.7)
for i in "${!PYTHON_PACKAGES[@]}"; do
pythonPackage=${PYTHON_PACKAGES[i]}
pythonVersion=${PYTHON_VERSIONS[$i]}