#16852 closed submission (fixed)
py25-shogun-0.6.6 New port of A Large Scale Machine Learning Toolbox
Reported by: | stromnov (Andrey Stromnov) | Owned by: | nerdling (Jeremy Lavergne) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.0 |
Keywords: | Cc: | ||
Port: | py25-shogun |
Description
Port of "Shogun - A Large Scale Machine Learning Toolbox" (http://www.shogun-toolbox.org/)
Attachments (9)
Change History (23)
Changed 16 years ago by stromnov (Andrey Stromnov)
comment:2 Changed 16 years ago by nerdling (Jeremy Lavergne)
Owner: | changed from macports-tickets@… to snc@… |
---|---|
Status: | new → assigned |
Version: | 1.6.0 → 1.7.0 |
I'm going through the portfile presently.
---> Verifying Portfile for py25-shogun Warning: Line 1 is missing RCS tag ($Id$) Warning: Line 3 should be a newline (after PortSystem) ---> 0 errors and 2 warnings found.
Changed 16 years ago by nerdling (Jeremy Lavergne)
Attachment: | Portfile.3 added |
---|
cleaned up lint warnings, added portgroup, should we disable python variant?
comment:4 Changed 16 years ago by nerdling (Jeremy Lavergne)
This failed to build for me.
/opt/local/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python: can't open file 'setup.py': [Errno 2] No such file or directory Warning: the following items did not execute (for py25-shogun): org.macports.activate org.macports.build org.macports.destroot org.macports.archive org.macports.install
Changed 16 years ago by nerdling (Jeremy Lavergne)
Attachment: | py25-shogun.log added |
---|
debug info from building
comment:5 follow-up: 6 Changed 16 years ago by stromnov (Andrey Stromnov)
"PortGroup python25" redefines build sequence. Add "use_configure yes" to Portfile.
comment:6 Changed 16 years ago by nerdling (Jeremy Lavergne)
comment:7 Changed 16 years ago by krunk7@…
Fixed by adding the py25-setuptools as a dependency. No portgroup used.
New files attached.
Changed 16 years ago by krunk7@…
Attachment: | patch-src-lib-lapack.cpp added |
---|
another for working portfile
comment:8 Changed 16 years ago by nerdling (Jeremy Lavergne)
A couple comments on Portfile.4:
Patchfiles should follow the source patch naming policy "patch-*.diff
"
The patch phase does patch -p0 <
based on the patchfiles directive.
Changed 16 years ago by nerdling (Jeremy Lavergne)
Attachment: | Portfile.5 added |
---|
patch phase changes (added patchfiles, removed override)
comment:10 Changed 16 years ago by nerdling (Jeremy Lavergne)
Regarding the ui_msg: Make sure that /opt/local/lib is in your DYLD_LIBRARY_PATH or the sg module will not load properly!
You may consider having the binaries moved to ${prefix}/libexec
and create wrapper scripts that handle the DYLD path and call the binaries in ${prefix}/bin
.
I'll go ahead and commit what we have. If you'd like this change made, let me know or create another ticket.
comment:11 Changed 16 years ago by nerdling (Jeremy Lavergne)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Committed, r47003.
comment:12 Changed 16 years ago by nerdling (Jeremy Lavergne)
Actually, we do need to create a new ticket. There are some /opt/local paths hard coded into the patches.
These need to be replaced with the reinplace command.
comment:13 Changed 16 years ago by jmroot (Joshua Root)
Type: | enhancement → submission |
---|
comment:14 Changed 16 years ago by (none)
Milestone: | Port Submissions |
---|
Milestone Port Submissions deleted
python/py25-shogun/Portfile