diff --git a/dev-python/html5-parser/html5_parser-0.4.9.recipe b/dev-python/html5-parser/html5_parser-0.4.9.recipe
index cc3330186..6c3191592 100644
--- a/dev-python/html5-parser/html5_parser-0.4.9.recipe
+++ b/dev-python/html5-parser/html5_parser-0.4.9.recipe
@@ -13,7 +13,7 @@ COPYRIGHT="2017 Kovid Goyal
2015-2016 Kevin B. Hendricks, Stratford Ontario
2008-2009 Bjoern Hoehrmann"
LICENSE="Apache v2"
-REVISION="1"
+REVISION="2"
SOURCE_URI="https://files.pythonhosted.org/packages/source/h/html5-parser/html5-parser-$portVersion.tar.gz"
CHECKSUM_SHA256="25fe8f6848cbc15187f6748c0695df32bcf1b37df6420b6a01b4ebe1ec1ed48f"
SOURCE_DIR="html5-parser-$portVersion"
@@ -54,14 +54,18 @@ if [ -z "$secondaryArchSuffix" ]; then
fi
# gcc2 does not support the flags passed by python3
if [ "$effectiveTargetArchitecture" != x86_gcc2 ]; then
- PYTHON_PACKAGES+=(python3)
- PYTHON_VERSIONS+=(3.7)
- PYTHON_LIBSUFFIXES+=(m)
+ PYTHON_PACKAGES+=(python3 python38 python39)
+ PYTHON_VERSIONS+=(3.7 3.8 3.9)
+ PYTHON_LIBSUFFIXES+=(m '' '')
BUILD_REQUIRES+="
setuptools_python3
+ setuptools_python38
+ setuptools_python39
"
BUILD_PREREQUIRES+="
cmd:python3
+ cmd:python3.8
+ cmd:python3.9
"
fi
for i in "${!PYTHON_PACKAGES[@]}"; do
@@ -90,6 +94,12 @@ if [ "$targetArchitecture" = x86_gcc2 -a -n "$secondaryArchSuffix" ]; then
PROVIDES_python3+="
html5_parser_python3 = $portVersion
"
+ PROVIDES_python38+="
+ html5_parser_python38 = $portVersion
+ "
+ PROVIDES_python39+="
+ html5_parser_python39 = $portVersion
+ "
fi
BUILD()