matplotlib: build with python 3.9

This commit is contained in:
Jerome Duval
2023-03-08 22:04:22 +01:00
parent e790d34475
commit 5ae4652765

View File

@@ -23,7 +23,7 @@ LICENSE="Matplotlib
Qhull
STIX
yorick"
REVISION="2"
REVISION="3"
SOURCE_URI="https://github.com/matplotlib/matplotlib/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="ce7cebd3df11a032fff9b3a32029f49f0fc7c322f556f26ea9ef812d6e43cb21"
SOURCE_FILENAME="matplotlib-$portVersion.tar.gz"
@@ -42,13 +42,13 @@ REQUIRES="
lib:libfreetype$secondaryArchSuffix
"
pythonPackage="python38"
pythonVersion="3.8"
pythonPackage="python39"
pythonVersion="3.9"
PROVIDES_python38="
PROVIDES_python39="
${portName}_$pythonPackage = $portVersion
"
REQUIRES_python38="
REQUIRES_python39="
cmd:python$pythonVersion
matplotlib$secondaryArchSuffix
dateutil_$pythonPackage
@@ -70,6 +70,7 @@ BUILD_PREREQUIRES="
cmd:make
cmd:pkg_config$secondaryArchSuffix
cmd:python$pythonVersion
pip_$pythonPackage
setuptools_$pythonPackage
"