# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 PortGroup python 1.0 PortGroup active_variants 1.1 PortGroup select 1.0 name py-eric6 set real_name eric6 version 18.08 categories devel platforms darwin maintainers nomaintainer license GPL-3 python.versions 27 34 35 36 37 description Eric is a full featured Python and Ruby editor and IDE, written in python long_description \ Eric is a full featured Python and Ruby editor and IDE, written in python. \ It is based on the cross platform Qt gui toolkit, integrating the highly \ flexible Scintilla editor control. It is designed to be usable as everdays' \ quick and dirty editor as well as being usable as a professional project \ management tool integrating many advanced features Python offers the \ professional coder. homepage http://eric-ide.python-projects.org/index.html master_sites https://sourceforge.net/projects/eric-ide/files/latest/download distfiles eric-${version}.tar.gz distname ${real_name}-${version} universal_variant no checksums rmd160 b1da3fc9b3430a265dff569cbb34992c73e3b91f \ sha256 738f964c008abec69f21bf563669e21262b080612f5b8e31dea5282b43d24432 \ size 16752485 if {${name} ne ${subport}} { depends_lib port:python${python.version} \ port:py${python.version}-pysvn \ port:py${python.version}-rope \ port:py${python.version}-pylint \ port:py${python.version}-cx_Freeze \ port:py${python.version}-enchant variant pyqt5 conflicts pyqt4 description "Qt backend using PyQt5" { PortGroup qt5 1.0 depends_lib-append port:py${python.version}-pyqt5 \ port:py${python.version}-qscintilla-qt5 require_active_variants py${python.version}-pyqt5 webengine } variant pyqt4 conflicts pyqt5 description "Qt backend using PyQt4" { PortGroup qt4 1.0 depends_lib-append port:py${python.version}-pyqt4 \ port:py${python.version}-qscintilla-qt4 } if {![ variant_isset pyqt4 ]} { default_variants +pyqt5 } build { # Building and installing are synonymous } destroot { if {![ variant_isset pyqt4 ]} { system -W ${worksrcpath} "${python.bin} install.py -b '${prefix}/bin' -i '${destroot}' -n '${destroot}/Applications/MacPorts'" } else { system -W ${worksrcpath} "${python.bin} install.py -b '${prefix}/bin' -i '${destroot}' -n '${destroot}/Applications/MacPorts' --pyqt=4" } } post-destroot { # fix path in eric6.app reinplace "s|${destroot}||g" ${destroot}/Applications/MacPorts/eric6.app/Contents/MacOS/eric6 } } livecheck.type regex livecheck.url http://eric-ide.python-projects.org/eric-news.html livecheck.regex "eric (\\d+\\.\\d+) has been released"