Opened 13 years ago

Closed 12 years ago

Last modified 12 years ago

#33108 closed update (fixed)

py27-traits: new port, version 4.1.0

Reported by: petrus.hyvonen@… Owned by: jjstickel@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch maintainer Cc: mf2k (Frank Schima), jjstickel (Jonathan Stickel)
Port: py-traits

Description

The Enthought Traits version in the repository is old.

I tried to make one for 4.1.0 and python 2.7 which seems to work well on my machine.

Portfile attached.

Attachments (5)

Portfile (1.1 KB) - added by petrus.hyvonen@… 13 years ago.
Portfile.diff (794 bytes) - added by petrus.hyvonen@… 13 years ago.
py-traits_Portfile.diff (1.7 KB) - added by jjstickel@… 13 years ago.
py-enthoughtbase_Portfile.diff (497 bytes) - added by jjstickel@… 13 years ago.
py-enthoughtbase_Portfile.2.diff (712 bytes) - added by jjstickel (Jonathan Stickel) 13 years ago.
now with incremented revision number

Download all attachments as: .zip

Change History (18)

Changed 13 years ago by petrus.hyvonen@…

Attachment: Portfile added

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: haspatch added
Owner: changed from macports-tickets@… to jjstickel@…
Port: py27-traits added
Summary: Update of Traitspy27-traits: new port, version 4.1.0

Instead of creating a new port for py27-traits, py26-traits, py25-traits, and py-traits should be combined into one using the new unified python portgroup, then updated, then a 27 version can be added.

comment:2 Changed 13 years ago by mf2k (Frank Schima)

Cc: macsforever2000@… added
Keywords: haspatch removed
Port: py-traits added; py27-traits removed
Version: 2.0.3

I actually unified the ports yesterday in r89512. Please submit a unified diff patch of the current Portfile and I will commit it.

comment:3 Changed 13 years ago by jjstickel@…

I want to note that the 4.x series of Enthought packages are a major upgrade from the 3.x series, with revised package names, new packages, and removed packages (e.g. enthoughtbase). In addition to creating unified portfiles, we'll need to carefully revise the dependencies for each portfile and use "replaced_by" for the packages that are no longer needed. And revisions to 4.x should all be committed at once to prevent breaking the Enthought package tree. I'll help Petrus get appropriate diffs uploaded, but it may take me some time since I am busy at work.

comment:4 Changed 13 years ago by mf2k (Frank Schima)

@jjstickel: Thanks for your input. I'll continue to work on unifying the Enthought ports at the current versions so we will be in a better position to upgrade to 4.

comment:5 in reply to:  2 Changed 13 years ago by petrus.hyvonen@…

Replying to macsforever2000@…:

I actually unified the ports yesterday in r89512. Please submit a unified diff patch of the current Portfile and I will commit it.

A diff is provided now using new unified python model,

Note jjstickel comment, we should try to get all the packages in sync

Changed 13 years ago by petrus.hyvonen@…

Attachment: Portfile.diff added

comment:6 Changed 13 years ago by petrus.hyvonen@…

Ah the diff is from your r89512 file. I better upload it there, here it make no logic.

Changed 13 years ago by jjstickel@…

Attachment: py-traits_Portfile.diff added

Changed 13 years ago by jjstickel@…

comment:7 Changed 13 years ago by jjstickel@…

Here is a patch for the py-traits Portfile /against the current unified Portfile/. I have also added a patch to the py-enthoughtbase Portfile that simply adds an error message that it should no longer be installed.

comment:8 Changed 13 years ago by jjstickel@…

Petrus: you should use the "-u" flag with diff. Also, your diffs should usually be against the appropriate Portfile in the existing macports source tree, typically /opt/local/var/macports/sources/rsync.macports.org/release/ports/... If you can work on the uploading diffs for the other enthought ports, I can check them.

Changed 13 years ago by jjstickel (Jonathan Stickel)

now with incremented revision number

comment:9 Changed 13 years ago by jjstickel (Jonathan Stickel)

As far as I know, all the existing Enthought ports have tickets and patches/portfiles ready for testing and committing. The relevant tickets are:

#33108 (this one for py-traits and a patch for py-enthoughtbase)
#33181 (py-pyface, with patches for py-traitsbackendqt and py-traitsbackendwx)
#33109 (py-traitsui, with a patch for py-traitsgui)
#33111 (py-enable)
#33110 (py-chaco)
#33195 (py-apptools)
#33216 (py-envisage, with patches for py-envsiagecore and py-envisageplugins)
#33242 (py-mayavi)

Petrus has also submitted tickets for new ports of other Enthought packages, but they can be checked and committed one at a time.

comment:10 Changed 13 years ago by jjstickel (Jonathan Stickel)

Cc: jjstickel@… added

Cc Me!

comment:11 Changed 12 years ago by jmroot (Joshua Root)

Keywords: haspatch maintainer added

comment:12 Changed 12 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

comment:13 Changed 12 years ago by jjstickel (Jonathan Stickel)

Thanks for committing all these enthought ports!

Note: See TracTickets for help on using tickets.