Files
2025-11-20 20:59:43 -05:00

65 lines
2.0 KiB
Tcl

# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup python 1.0
name py-pyqt5-chart
python.rootname PyQtChart
version 5.15.7
revision 0
categories-append devel
license {GPL-3 OpenSSLException}
maintainers {reneeotten @reneeotten} openmaintainer
description PyQt5 Chart bindings
long_description PyQtChart is a set of Python bindings for The Qt Company's Qt Charts library. \
The bindings sit on top of PyQt5 and are implemented as a single module..
homepage https://www.riverbankcomputing.com/software/pyqtchart
checksums rmd160 23080b293f3f895b2b31876234bb5f0f7d5ecd84 \
sha256 bc9f1d26c725e820b0fff8db6e906e8b286128a14b3a98c59a0cd0c3d9924095 \
size 48482
python.versions 310 311 312 313 314
python.pep517 no
compiler.cxx_standard 2011
if {${name} ne ${subport}} {
PortGroup qmake5 1.0
qt5.depends_component \
qtcharts
depends_build-append \
port:py${python.version}-pyqt-builder \
path:${python.prefix}/bin/sip-build:py${python.version}-sip
depends_lib-append \
port:py${python.version}-pyqt5
build.args-append \
--qmake ${qt_qmake_cmd} \
--verbose
build.cmd sip-build-${python.branch}
build.target
pre-destroot {
reinplace "s|sip-distinfo|sip-distinfo-${python.branch}|g" \
${build.dir}/build/Makefile
}
destroot.cmd make
destroot.dir ${build.dir}/build
post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} NEWS LICENSE \
ChangeLog README.md ${destroot}${docdir}
}
}