mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
graphviz, move python version 3.9, enable python bindings (#8241)
This commit is contained in:
@@ -14,7 +14,7 @@ shapes."
|
||||
HOMEPAGE="https://www.graphviz.org/"
|
||||
COPYRIGHT="1994-2021 AT&T Corp."
|
||||
LICENSE="EPL v1.0"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://gitlab.com/graphviz/graphviz/-/archive/$portVersion/graphviz-$portVersion.tar.bz2"
|
||||
CHECKSUM_SHA256="c84e17cee66500aae992ffad05a218f6a9619c59d15198f2a9f26d39cebf2bfc"
|
||||
PATCHES="graphviz-$portVersion.patchset"
|
||||
@@ -43,6 +43,8 @@ for i in $graphvizLibs; do
|
||||
eval "${i}VersionCompat=\"\$${i}Version compat >= \${${i}Version%%.*}\""
|
||||
done
|
||||
|
||||
pythonVersion="3.9"
|
||||
|
||||
PROVIDES="
|
||||
graphviz$secondaryArchSuffix = $portVersionCompat
|
||||
cmd:acyclic
|
||||
@@ -99,7 +101,7 @@ REQUIRES="
|
||||
lib:libjpeg$secondaryArchSuffix
|
||||
lib:libltdl$secondaryArchSuffix
|
||||
lib:libpng16$secondaryArchSuffix
|
||||
lib:libpython3.7m$secondaryArchSuffix
|
||||
lib:libpython$pythonVersion$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
|
||||
@@ -126,7 +128,7 @@ BUILD_REQUIRES="
|
||||
devel:libjpeg$secondaryArchSuffix
|
||||
devel:libltdl$secondaryArchSuffix
|
||||
devel:libpng16$secondaryArchSuffix
|
||||
devel:libpython3.7m$secondaryArchSuffix
|
||||
devel:libpython$pythonVersion$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
@@ -137,12 +139,13 @@ BUILD_PREREQUIRES="
|
||||
cmd:awk
|
||||
cmd:bison
|
||||
cmd:flex
|
||||
cmd:freetype_config$secondaryArchSuffix
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
cmd:python3.7
|
||||
cmd:python3
|
||||
cmd:swig
|
||||
cmd:tclsh
|
||||
"
|
||||
|
||||
defineDebugInfoPackage graphviz$secondaryArchSuffix \
|
||||
@@ -198,7 +201,6 @@ BUILD()
|
||||
--enable-shared \
|
||||
--enable-python=yes \
|
||||
--enable-perl=no
|
||||
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user