source: trunk/dports/python/py-pyqt5/Portfile

Last change on this file was 148779, checked in by mmoll@…, 16 months ago

py-pyqt5: update to version 5.6

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.2 KB
Line 
1# -*- 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
2# $Id: Portfile 148779 2016-05-17 22:45:27Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           qt5 1.0
6PortGroup           python 1.0
7
8name                py-pyqt5
9version             5.6
10revision            0
11categories-append   devel
12platforms           darwin
13maintainers         mmoll openmaintainer
14description         PyQt5 is a set of Python bindings for the Qt5 toolkit
15long_description \
16    PyQt5 is a set of Python bindings for the Qt5 toolkit. The bindings \
17    are implemented as a set of Python modules and contain over 620 classes.
18homepage            http://www.riverbankcomputing.co.uk/software/pyqt/intro
19license             GPL-3
20master_sites        sourceforge:pyqt
21distname            PyQt5_gpl-${version}
22checksums           rmd160  498905b678fc2641c8ff6521b5c2126ac6ddf347 \
23                    sha256  2e481a6c4c41b96ed3b33449e5f9599987c63a5c8db93313bd57a6acbf20f0e1
24
25python.versions 27 34 35
26
27if {${name} ne ${subport}} {
28    depends_lib-append port:py${python.version}-sip \
29        port:qt5                                    \
30        port:qt5-qtwebengine                        \
31        port:dbus-python${python.version}
32    use_configure      yes
33    configure.pre_args
34    configure.cmd      "${python.bin} configure.py"
35    configure.args-append  -q ${qt_qmake_cmd} --verbose --confirm-license \
36        --sip=${prefix}/bin/sip-${python.branch}
37
38    build.cmd          make
39    build.target       all
40    destroot.cmd       ${build.cmd}
41    destroot.destdir   DESTDIR=${destroot}
42
43    variant debug description "Build debug libraries" {
44        configure.cmd-append --debug
45    }
46
47    if { ![variant_isset universal] } {
48        configure.args-append "--spec=${qt_qmake_spec}"
49    } else {
50        configure.universal_args-delete --disable-dependency-tracking
51        set merger_configure_args(i386)   "--spec=${qt_qmake_spec_32}"
52        set merger_configure_args(x86_64) "--spec=${qt_qmake_spec_64}"
53    }
54
55    livecheck.type     none
56} else {
57    livecheck.type     regex
58    livecheck.url      https://www.riverbankcomputing.co.uk/software/pyqt/download5
59    livecheck.regex    >PyQt5_gpl-(\[0-9.\]*).tar.gz<
60}
Note: See TracBrowser for help on using the repository browser.