# -*- 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 name py-eric-ide set real_name eric6 version 21.11 revision 0 categories-append devel platforms {darwin any} supported_archs noarch license GPL-3+ maintainers nomaintainer description Eric is a full featured Python and Ruby editor and IDE long_description ${description}, 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 https://eric-ide.python-projects.org/index.html master_sites sourceforge:project/eric-ide/${real_name}/stable/${version} distname ${real_name}-${version} checksums rmd160 6bc5f8ed55d56fc9f3134a28231943df0d0b265e \ sha256 fdc62c8360b704d4ad38aba56898917f4d5ad1f5a01adc4d1a67648b23c28418 \ size 16537184 python.versions 39 310 if {${name} ne ${subport}} { patchfiles patch-install.py.diff \ patch-disable-update-check.diff post-patch { reinplace "s|@@PYTHON_BIN_NAME@@|${python.bin}|g" ${worksrcpath}/install.py reinplace "s|@@PYTHON_PKG_DIR@@|${python.pkgd}/${real_name}|g" ${worksrcpath}/install.py reinplace "s|@@PYQT_VERSION@@|--pyqt5|g" ${worksrcpath}/install.py } PortGroup qt5 1.0 qt5.min_version 5.12 depends_lib-append \ port:py${python.version}-pyqt5 \ port:py${python.version}-pyqt5-chart \ port:py${python.version}-pyqt5-webengine \ port:py${python.version}-pyqt5-sip \ port:py${python.version}-pyqt5-scintilla \ port:py${python.version}-cx_Freeze \ port:py${python.version}-enchant \ port:py${python.version}-pylint \ port:py${python.version}-pysvn \ port:py${python.version}-rope \ port:py${python.version}-asttokens \ port:py${python.version}-editorconfig \ port:py${python.version}-yaml \ port:py${python.version}-toml build.cmd ${python.bin} install.py build.args -b ${python.prefix}/bin \ -i ${destroot} \ -n ${destroot}${applications_dir} \ -m ${real_name}-${python.branch}.app \ --no-apis build.target destroot { } post-destroot { set docdir ${prefix}/share/doc/${subport} xinstall -d ${destroot}${docdir} xinstall -m 0644 {*}[glob ${worksrcpath}/eric/docs/*] \ ${destroot}${docdir} } } else { livecheck.regex ${real_name}-(\[0-9.\]+)${extract.suffix} }