mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
html2text: enable 3.8, 3.9, remove 3.6
This commit is contained in:
@@ -8,7 +8,7 @@ HOMEPAGE="https://github.com/html2text/html2text.py
|
||||
https://pypi.python.org/pypi/html2text"
|
||||
COPYRIGHT="2004-2008 Aaron Swartz"
|
||||
LICENSE="GNU GPL v3"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://github.com/Alir3z4/html2text/archive/$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="22a85d1634cfb198f569980b3095d560021860e19c809a5e9643129595ce8bd4"
|
||||
|
||||
@@ -25,8 +25,8 @@ BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
"
|
||||
|
||||
PYTHON_PACKAGES=(python36 python3)
|
||||
PYTHON_VERSIONS=(3.6 3.7)
|
||||
PYTHON_PACKAGES=(python3 python38 python39)
|
||||
PYTHON_VERSIONS=(3.7 3.8 3.9)
|
||||
for i in "${!PYTHON_PACKAGES[@]}"; do
|
||||
pythonPackage=${PYTHON_PACKAGES[i]}
|
||||
pythonVersion=${PYTHON_VERSIONS[$i]}
|
||||
@@ -43,12 +43,15 @@ BUILD_PREREQUIRES="$BUILD_PREREQUIRES
|
||||
cmd:python$pythonVersion"
|
||||
done
|
||||
|
||||
PROVIDES_python36="$PROVIDES_python36
|
||||
cmd:html2text3.6
|
||||
"
|
||||
PROVIDES_python3="$PROVIDES_python3
|
||||
cmd:html2text3.7
|
||||
"
|
||||
PROVIDES_python38="$PROVIDES_python38
|
||||
cmd:html2text3.8
|
||||
"
|
||||
PROVIDES_python39="$PROVIDES_python39
|
||||
cmd:html2text3.9
|
||||
"
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user