You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
73 lines
2.4 KiB
Tcl
73 lines
2.4 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-webengine
|
|
python.rootname PyQtWebEngine
|
|
version 5.15.7
|
|
revision 0
|
|
|
|
categories-append devel
|
|
license {GPL-3 OpenSSLException}
|
|
maintainers {reneeotten @reneeotten} openmaintainer
|
|
|
|
description PyQt5 Webengine bindings
|
|
long_description PyQtWebEngine is a set of Python bindings for The Qt Company's Qt WebEngine framework. \
|
|
The framework provides the ability to embed web content in applications and is based on \
|
|
the Chrome browser. The bindings sit on top of PyQt5 and are implemented as three \
|
|
separate modules corresponding to the different libraries that make up the framework.
|
|
|
|
homepage https://www.riverbankcomputing.com/software/pyqtwebengine
|
|
|
|
checksums rmd160 d4579cd58b7abb6b04b90b22a0079ad1442773b2 \
|
|
sha256 f121ac6e4a2f96ac289619bcfc37f64e68362f24a346553f5d6c42efa4228a4d \
|
|
size 32223
|
|
|
|
python.versions 310 311 312 313 314
|
|
python.pep517 no
|
|
|
|
compiler.cxx_standard 2011
|
|
|
|
if {${name} ne ${subport}} {
|
|
PortGroup qmake5 1.0
|
|
|
|
# https://trac.macports.org/ticket/65107
|
|
if { ${os.platform} eq "darwin" && (( ${os.major} >= 15 && ${os.major} <= 16 ) || ${os.major} >= 20 ) } {
|
|
use_xcode yes
|
|
}
|
|
|
|
qt5.min_version 5.6
|
|
qt5.depends_component \
|
|
qtwebengine
|
|
|
|
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}
|
|
}
|
|
}
|