1 | # -*- 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 |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup python 1.0 |
---|
5 | PortGroup active_variants 1.1 |
---|
6 | PortGroup select 1.0 |
---|
7 | |
---|
8 | name py-eric6 |
---|
9 | set real_name eric6 |
---|
10 | version 18.06 |
---|
11 | categories devel |
---|
12 | platforms darwin |
---|
13 | maintainers nomaintainer |
---|
14 | license GPL-3 |
---|
15 | |
---|
16 | python.versions 27 34 35 36 |
---|
17 | |
---|
18 | description Eric is a full featured Python and Ruby editor and IDE, written in python |
---|
19 | |
---|
20 | long_description \ |
---|
21 | Eric is a full featured Python and Ruby editor and IDE, written in python. \ |
---|
22 | It is based on the cross platform Qt gui toolkit, integrating the highly \ |
---|
23 | flexible Scintilla editor control. It is designed to be usable as everdays' \ |
---|
24 | quick and dirty editor as well as being usable as a professional project \ |
---|
25 | management tool integrating many advanced features Python offers the \ |
---|
26 | professional coder. |
---|
27 | |
---|
28 | homepage http://eric-ide.python-projects.org/index.html |
---|
29 | master_sites https://sourceforge.net/projects/eric-ide/files/latest/download |
---|
30 | distfiles eric-${version}.tar.gz |
---|
31 | distname ${real_name}-${version} |
---|
32 | |
---|
33 | universal_variant no |
---|
34 | |
---|
35 | checksums rmd160 f2a65cc46c954567b6dba3e33ef720f4156d605a \ |
---|
36 | sha256 dcbd693bc611f3eed6b1fe09e5c44de6f73f1165afa459c792e0d93b12736a9a \ |
---|
37 | size 16641315 |
---|
38 | |
---|
39 | if {${name} ne ${subport}} { |
---|
40 | depends_lib port:python${python.version} \ |
---|
41 | port:py${python.version}-pyqt5 \ |
---|
42 | port:py${python.version}-qscintilla-qt5 |
---|
43 | |
---|
44 | |
---|
45 | variant pyqt5 conflicts pyqt4 description "Qt backend using PyQt5" { |
---|
46 | PortGroup qt5 1.0 |
---|
47 | depends_lib-append port:py${python.version}-pyqt5 |
---|
48 | require_active_variants py${python.version}-pyqt5 webengine |
---|
49 | require_active_variants py${python.version}-qtpy qt5 |
---|
50 | } |
---|
51 | variant pyqt4 conflicts pyqt5 description "Qt backend using PyQt4" { |
---|
52 | PortGroup qt4 1.0 |
---|
53 | depends_lib-append port:py${python.version}-pyqt4 \ |
---|
54 | require_active_variants py${python.version}-qtpy "" qt5 |
---|
55 | } |
---|
56 | |
---|
57 | if {![ variant_isset pyqt4 ]} { |
---|
58 | default_variants +pyqt5 |
---|
59 | } |
---|
60 | |
---|
61 | build { |
---|
62 | # Building and installing are synonymous |
---|
63 | } |
---|
64 | |
---|
65 | destroot { |
---|
66 | system -W ${worksrcpath} "${prefix}/bin/python3.6 install.py -b '${prefix}/bin' -i '${destroot}' -n 'Applications/MacPorts' --pyqt=5" |
---|
67 | } |
---|
68 | } |
---|
69 | |
---|
70 | livecheck.type regex |
---|
71 | livecheck.url http://eric-ide.python-projects.org/eric-news.html |
---|
72 | livecheck.regex "eric (\\d+\\.\\d+) has been released" |
---|