mechanize: enable 3.8, 3.9

This commit is contained in:
Jerome Duval
2021-01-25 21:20:53 +01:00
parent 5ce060e6eb
commit abdf151347

View File

@@ -22,7 +22,7 @@ COPYRIGHT="2002-2010 John J. Lee
1997-1999 Johnny Lee
2003 Andy Lester"
LICENSE="BSD (3-clause)"
REVISION="1"
REVISION="2"
SOURCE_URI="https://github.com/python-mechanize/mechanize/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="7c452a3eed7f83a13674027a58a4afe57ca67630d252a789ac1c15dcd55d310c"
@@ -39,8 +39,8 @@ BUILD_REQUIRES="
haiku_devel
"
PYTHON_PACKAGES=(python python3)
PYTHON_VERSIONS=(2.7 3.7)
PYTHON_PACKAGES=(python python3 python38 python39)
PYTHON_VERSIONS=(2.7 3.7 3.8 3.9)
for i in "${!PYTHON_PACKAGES[@]}"; do
pythonPackage=${PYTHON_PACKAGES[i]}
pythonVersion=${PYTHON_VERSIONS[$i]}
@@ -60,10 +60,6 @@ BUILD_PREREQUIRES="$BUILD_PREREQUIRES
cmd:python$pythonVersion"
done
REPLACES_python="
python_mechanize
"
INSTALL()
{
for i in "${!PYTHON_PACKAGES[@]}"; do