Opened 8 years ago

Closed 6 years ago

#52865 closed request (fixed)

Port request: eric6

Reported by: iefdev (Eric F) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: ryandesign (Ryan Carsten Schmidt), anddam (Andrea D'Amore), kurthindenburg (Kurt Hindenburg)
Port: eric6

Description

It would be really nice to see eric4 get an update to eric6, with py35 & qt5.

Last version is: eric6-6.1.11 (2016-11-06)


The port info says: nomaintainer, so I added ryandesign to CC, as the last commiter, and the name in the top of the Portfile

/Eric

Attachments (3)

Portfile.draft (3.2 KB) - added by iEFdev 8 years ago.
Draft
patch-install.py.diff (524 bytes) - added by iEFdev 8 years ago.
alt_patch-install.py.diff (606 bytes) - added by iEFdev 8 years ago.
Alternativ patch (Eric6)

Download all attachments as: .zip

Change History (8)

comment:1 Changed 8 years ago by raimue (Rainer Müller)

Cc: nomaintainer@… removed
Summary: Upgrade eric4 -> eric6Port request: eric6
Type: updaterequest

You could try to provide a Portfile following the steps outlined in our guide: https://guide.macports.org/#development

comment:2 Changed 8 years ago by iEFdev

Thank you Rainer,

Yes, I can try… :) I belive there are dependencies that needs to be updated as well, and some missing - so I wouldn't be able to complete it anyway. But I can change the obvious parts, and perhaps some more.

Just notice there was a new update today - changning the version/realese scheme to YY.MM. So it's eric6 16.11 now: http://eric-ide.python-projects.org/eric-news.html, https://sourceforge.net/projects/eric-ide/files/eric6/stable/16.11/

Since it works with both python2/3 and qt4/5, I guess thet would include some variants that needs to be added. So it can be used with pythonNN+qt5, pythonNN+qt4, etc… Don't know if I can manage that, but if I can get some (on- or offline) help I can try


I'll attach a Portfile.draft (and please, see it as a draft). Some parts are commented out.

I tested it briefly, and the port lint passed, and it also downloaded the file correctly, and livecheck reported a new version if manually set to an older version in the top.

The patch file: patch-install.py.diff
…unless you also want to rename it: eric6.app -> Eric6.app, see: alt_patch-install.py.diff

I don't know if I can do more at this moment.

/Eric

Changed 8 years ago by iEFdev

Attachment: Portfile.draft added

Draft

Changed 8 years ago by iEFdev

Attachment: patch-install.py.diff added

Changed 8 years ago by iEFdev

Attachment: alt_patch-install.py.diff added

Alternativ patch (Eric6)

comment:3 Changed 8 years ago by anddam (Andrea D'Amore)

Cc: anddam added

comment:4 Changed 8 years ago by kurthindenburg (Kurt Hindenburg)

Cc: kurthindenburg added
Port: eric6 added; eric4 removed
Version: 2.3.4

So far the only change needed is

master_sites        sourceforge:project/eric-ide/${name}/stable/${version}

the big issues are getting the deps correct for all the variants - have you worked on that anymore?

comment:5 Changed 6 years ago by reneeotten (Renee Otten)

Resolution: fixed
Status: newclosed

In 4a7253cfcec282c814f33c6cba40f6c80197eefc/macports-ports (master):

py-eric-ide: new port, version 19.04

Looking at the commit history, upstream seems to intent to package the
software on PyPI as "eric-ide"; hence the choice for the name.

The software has its own install.py script that requires the non-default
setup in the Portfile for build/destroot phases and some patching to get
the App to work.

Closes: #52865
Closes: #56636
Closes: https://github.com/macports/macports-ports/pull/3638

Note: See TracTickets for help on using tickets.