[MacPorts] #56636: Eric4 is obsolete. Update to Eric6
MacPorts
noreply at macports.org
Fri Jul 13 14:50:53 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):
Adding {{{port:python{python.version}}}} as a dependency turns out to be
unnecessary. The 'destroot' section explicitly uses {{{${python.bin}}}}.
I pondered over how to determine the set of required dependencies for each
variant. The problem is my iMac has many, many packages already
installed. I believe the solution is to use python virtual environments,
which will allow me to control which packages are available.
I did a simple experiment this morning. I setup virtual environments for
both python36 and python37 and built eric6-18.07 directly from the source.
The eric6 install.py script does a dependency check. When it determines
something is missing, it asks if it should download the missing dependency
using pip. I said 'yes' each time. Eric6 [default pyqt=5] built without
error for both python36 and python37.
The minimal set of dependencies for each build are:
* PyQt5
* PyQt5-sip
* QScintilla
as seen in package listings shown below:
{{{
(env-3.6) cavandish:env-3.6 jsacco$ pip list
Package Version
---------- -------
pip 10.0.1
PyQt5 5.11.2
PyQt5-sip 4.19.12
QScintilla 2.10.7
setuptools 40.0.0
wheel 0.31.1
(env-3.7) cavandish:env-3.7 jsacco$ pip list
Package Version
---------- -------
pip 10.0.1
PyQt5 5.11.2
PyQt5-sip 4.19.12
QScintilla 2.10.7
setuptools 40.0.0
wheel 0.31.1
}}}
The author of the Eric6 also lists "nice to have" python modules:
{{{
Optionally you may download and install the following python modules to
make full use of the IDE and the offered plug-ins:
* Mercurial
* Subversion
* PySvn (Python interface to Subversion)
* Git
* PyLint
* CX_Freeze
* PyEnchant (spell checking)
}}}
Now to figure out the mapping between the dependencies lists and MacPorts.
The fun continues,
-Joseph
--
Ticket URL: <https://trac.macports.org/ticket/56636#comment:16>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list