You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
66 lines
2.0 KiB
Tcl
66 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
|
|
PortGroup qt6 1.0
|
|
|
|
name py-pyqt6-networkauth
|
|
python.rootname PyQt6-NetworkAuth
|
|
version 6.11.0
|
|
revision 0
|
|
|
|
categories-append devel
|
|
license {GPL-3 OpenSSLException}
|
|
maintainers {reneeotten @reneeotten} openmaintainer
|
|
|
|
description Python bindings for the Qt Network Authorization library
|
|
long_description {*}${description}
|
|
|
|
homepage https://www.riverbankcomputing.com/software/pyqtnetworkauth
|
|
|
|
distname pyqt6_networkauth-${version}
|
|
|
|
checksums rmd160 983909b941d960d6579fca566c6d9c8493cbfda4 \
|
|
sha256 03650f0b0d709284f4ede3b31170d78b996864406bf34a4a0e76474b9144ed2a \
|
|
size 23781
|
|
|
|
python.versions 310 311 312 313 314
|
|
python.pep517 no
|
|
|
|
compiler.cxx_standard 2011
|
|
|
|
if {${name} ne ${subport}} {
|
|
qt6.depends_lib qtnetworkauth
|
|
|
|
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}-pyqt6 \
|
|
port:py${python.version}-pyqt6-sip
|
|
|
|
build.args-append \
|
|
--qmake ${prefix}/libexec/qt6/bin/qmake \
|
|
--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
|
|
destroot.destdir "INSTALL_ROOT=${destroot}"
|
|
|
|
post-destroot {
|
|
set docdir ${prefix}/share/doc/${subport}
|
|
xinstall -d ${destroot}${docdir}
|
|
xinstall -m 0644 -W ${worksrcpath} NEWS LICENSE \
|
|
ChangeLog README.md ${destroot}${docdir}
|
|
}
|
|
}
|