mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-13 23:30:04 +02:00
Dukpy: enable for python2 (#4647)
This commit is contained in:
@@ -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]}
|
||||
|
||||
Reference in New Issue
Block a user