[MacPorts] #56636: Eric4 is obsolete. Update to Eric6
MacPorts
noreply at macports.org
Tue Jun 12 22:03:06 UTC 2018
#56636: Eric4 is obsolete. Update to Eric6
--------------------------+--------------------
Reporter: josephsacco | Owner: (none)
Type: update | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.5.2
Resolution: | Keywords:
Port: eric4 |
--------------------------+--------------------
Comment (by josephsacco):
Step, by step, by step...
I got Eric6 to build with python3.6.5 and qt4
{{{
DEBUG: Executing org.macports.destroot (eric6)
DEBUG: system -W
/opt/local/var/macports/build/_Users_jsacco_ports_devel_eric6/eric6/work/eric6-18.06:
/opt/local/bin/python3.6 install.py -b '/opt/local/bin' -i
'/opt/local/var/macports/build/_Users_jsacco_ports_devel_eric6/eric6/work/destroot'
-n 'Applications/MacPorts' --pyqt=4
Checking dependencies
Python Version: 3.6.5
Found PyQt4
Found pyuic4
Found QScintilla2
Found QtGui
Found QtNetwork
Found QtSql
Found QtSvg
Found QtWebKit
Qt Version: 4.8.7
sip Version: 4.19.8
PyQt Version: 4.12.1
QScintilla Version: 2.10.4
All dependencies ok.
Cleaning up old installation ...
Creating configuration file ...
Compiling user interface files ...
Compiling source files ...
Installing eric6 ...
Installing Python API files to
'/opt/local/var/macports/build/_Users_jsacco_ports_devel_eric6/eric6/work/destroot/opt/local/libexec/qt4/share/qsci/api/python'.
Installing Ruby API files to
'/opt/local/var/macports/build/_Users_jsacco_ports_devel_eric6/eric6/work/destroot/opt/local/libexec/qt4/share/qsci/api/ruby'.
Installing QSS API files to
'/opt/local/var/macports/build/_Users_jsacco_ports_devel_eric6/eric6/work/destroot/opt/local/libexec/qt4/share/qsci/api/qss'.
Installation complete.
}}}
The problem that I see is specifying the correct, minimal set of
dependencies. That fact that this build succeeded with a reduced
dependency list in the Portfile may be a coincidence effected by all the
qt4 packages I have installed on my iMac.
Below is the Portfile that I used:
{{{
# -*- 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
name eric6
version 18.06
categories devel
platforms darwin
maintainers nomaintainer
license GPL-3
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 sourceforge:project/eric-ide/${name}/stable/${version}/
checksums rmd160 f2a65cc46c954567b6dba3e33ef720f4156d605a \
sha256
dcbd693bc611f3eed6b1fe09e5c44de6f73f1165afa459c792e0d93b12736a9a \
size 16641315
depends_lib port:python36 \
port:py36-pyqt4 \
port:py36-qscintilla-qt4
use_configure no
build {
# Building and installing are synonymous
}
destroot {
system -W ${worksrcpath} "${prefix}/bin/python3.6 install.py -b
'${prefix}/bin' -i '${destroot}' -n 'Applications/MacPorts' --pyqt=4"
}
livecheck.type regex
livecheck.url http://eric-ide.python-projects.org/eric-news.html
livecheck.regex "eric (\\d+\\.\\d+) has been released"
}}}
--
Ticket URL: <https://trac.macports.org/ticket/56636#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list