Opened 13 years ago

Closed 11 years ago

Last modified 20 months ago

#33575 closed submission (fixed)

NEW: stimfit

Reported by: neurodroid (Christoph Schmidt-Hieber) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: neurodroid (Christoph Schmidt-Hieber), flyamer@…, sjm.guzman@…, neurohost@…, janina.kowalski@…, c.wilms@…, vanesalluna@…, doreenmilius@…, sanja.mikulovic@…, helensaad@…, ci42, cooljeanius (Eric Gallager)
Port: stimfit

Description

It's in the Debian repositories, if that is relevant at all: http://packages.debian.org/sid/stimfit

Attachments (2)

Portfile (1.7 KB) - added by neurodroid (Christoph Schmidt-Hieber) 13 years ago.
stimfit Portfile
Portfile.2 (1.9 KB) - added by neurodroid (Christoph Schmidt-Hieber) 13 years ago.
stimfit Portfile

Download all attachments as: .zip

Change History (25)

Changed 13 years ago by neurodroid (Christoph Schmidt-Hieber)

Attachment: Portfile added

stimfit Portfile

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

Port: stimfit added
Version: 2.0.4

Looks good but I have a few comments:

  1. It is preferable if you allow the user to choose the python version by making variants for python26, python27, python31, etc. You can make python27 the default. See the inkscape port for an example.
  2. Use ${applications_dir} instead of hardcoding /Applications/Macports in post-destroot.

comment:2 in reply to:  1 Changed 13 years ago by neurodroid (Christoph Schmidt-Hieber)

Thanks for your review.

Replying to macsforever2000@…:

Looks good but I have a few comments:

  1. It is preferable if you allow the user to choose the python version by making variants for python26, python27, python31, etc. You can make python27 the default. See the inkscape port for an example.

There's no python26 port for wxpython-devel yet. I've started a ticket (#33590). Pending its acceptance, the python26 variant is commented out.

  1. Use ${applications_dir} instead of hardcoding /Applications/Macports in post-destroot.

Done. The app bundle now gets installed to ${destroot}${applications_dir} so that uninstall can clean up properly.

Changed 13 years ago by neurodroid (Christoph Schmidt-Hieber)

Attachment: Portfile.2 added

stimfit Portfile

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

Summary: stimfitNEW: stimfit

comment:4 Changed 12 years ago by neurodroid (Christoph Schmidt-Hieber)

Stimfit now uses wxWidgets30 and py27-wxpython30:

https://stimfit.googlecode.com/git/macosx/macports/science/stimfit/Portfile

Let me know what remains to be done to get this included into MacPorts.

comment:5 Changed 12 years ago by neurodroid (Christoph Schmidt-Hieber)

Cc: christsc@… added

Cc Me!

comment:6 Changed 12 years ago by flyamer@…

Cc: flyamer@… added

Cc Me!

comment:7 Changed 12 years ago by sjm.guzman@…

Cc: sjm.guzman@… added

Cc Me!

comment:8 Changed 12 years ago by sjm.guzman@…

Cc: sjm.guzman@… removed

Cc Me!

comment:9 Changed 12 years ago by sjm.guzman@…

Cc: sjm.guzman@… added

Cc Me!

comment:10 Changed 12 years ago by neurohost@…

Cc: neurohost@… added

Cc Me!

comment:11 Changed 12 years ago by janina.kowalski@…

Cc: janina.kowalski@… added

Cc Me!

comment:12 Changed 12 years ago by c.wilms@…

Cc: c.wilms@… added

Cc Me!

comment:13 Changed 12 years ago by vanesalluna@…

Cc: vanesalluna@… added

Cc Me!

comment:14 Changed 12 years ago by doreenmilius@…

Cc: doreenmilius@… added

Cc Me!

comment:15 Changed 12 years ago by sanja.mikulovic@…

Cc: sanja.mikulovic@… added

Cc Me!

comment:16 Changed 12 years ago by helensaad@…

Cc: helensaad@… added

Cc Me!

comment:17 Changed 11 years ago by ci42

Before including into MacPorts some questions and remarks:

license             GPL
  • Can you indicate the version (e.g. GPL-2)?
supported_archs     x86_64
  • really no i386 and PowerPC? The debian repository you mentioned provides packages for both.
if {![variant_isset python27]} { 
    default_variants +python27
}
  • The default_variants should not be inside a if block. This idiom makes only sense if you have more than on python variant and would like to make one the default if none had explicitly chosen by the user.
variant python27 description {Build with Python shell. Only 2.7 is supported.}
  • Only 2.7 is supported should not be in the variant description but moved to a comment.

comment:18 Changed 11 years ago by ci42

Cc: ciserlohn@… added

Cc Me!

comment:19 Changed 11 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:20 in reply to:  17 ; Changed 11 years ago by neurodroid (Christoph Schmidt-Hieber)

Thanks for your review.

Replying to ciserlohn@…:

Before including into MacPorts some questions and remarks:

license             GPL
  • Can you indicate the version (e.g. GPL-2)?

Fixed in r5ed64d7830c3.

supported_archs     x86_64
  • really no i386 and PowerPC? The debian repository you mentioned provides packages for both.

Added i386 in r5ed64d7830c3. File I/O depends on endianness and OS; including ppc would require some thorough testing.

if {![variant_isset python27]} { 
    default_variants +python27
}
  • The default_variants should not be inside a if block. This idiom makes only sense if you have more than on python variant and would like to make one the default if none had explicitly chosen by the user.

Commented out in r5ed64d7830c3, pending availability of wxPython for Python 3.x.

variant python27 description {Build with Python shell. Only 2.7 is supported.}
  • Only 2.7 is supported should not be in the variant description but moved to a comment.

Fixed in r5ed64d7830c3.

Some additional fixes to address relevant issues from comment:ticket:37471:18 were added in r609ada02fd6a and r45f538cbfddc.

Last edited 20 months ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:21 in reply to:  20 ; Changed 11 years ago by ci42

Replying to christsc@…:

Thanks for your review.

Replying to ciserlohn@…:

Before including into MacPorts some questions and remarks:

license             GPL
  • Can you indicate the version (e.g. GPL-2)?

Fixed in r5ed64d7830c3.

(...)

Some additional fixes to address relevant issues from comment:ticket:37471:18 were added in r609ada02fd6a and r45f538cbfddc.

Probably this is also an issue here (though I haven't tested it).

Last edited 20 months ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:22 in reply to:  21 Changed 11 years ago by neurodroid (Christoph Schmidt-Hieber)

Replying to ciserlohn@…:

[...]

Probably this is also an issue here (though I haven't tested it).

Fixed in r948c6eac5c8a

comment:23 Changed 11 years ago by ci42

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.