Files
2025-02-16 10:33:56 +09:00

42 lines
1.3 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 qmake5 1.0
PortGroup github 1.0
qt5.depends_component qtdeclarative
github.setup thp pyotherside 1.6.2
github.tarball_from archive
revision 0
categories devel qt5
license ISC
maintainers {amake @amake} openmaintainer
description Asynchronous Python 3 Bindings for Qt 5
long_description A Qt 5 QML Plugin that provides access to a Python 3 interpreter from QML.
homepage https://thp.io/2011/pyotherside/
checksums rmd160 e4048623a47df4f69d107afe545d83ed4d656dab \
sha256 9afe075f165c78ec584892887a6411fe1476f2115cf3bba026105bde29292a4b \
size 184620
# https://trac.macports.org/ticket/65293
if { ${os.platform} eq "darwin" && (( ${os.major} >= 15 && ${os.major} <= 16 ) || ${os.major} >= 20 ) } {
use_xcode yes
}
qt5.min_version 5.6
set python.branch 3.12
set python.version [join [split ${python.branch} "."] ""]
depends_lib-append port:python${python.version}
configure.args-append \
PYTHON_CONFIG=${prefix}/bin/python${python.branch}-config
compiler.cxx_standard 2011
configure.cxxflags-append -std=c++11