Opened 14 years ago

Closed 11 years ago

#24096 closed enhancement (fixed)

libsvm: add java and python variants

Reported by: singingwolfboy@… Owned by: humem (humem)
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: haspatch Cc: ryandesign (Ryan Carsten Schmidt), pierre@…
Port: libsvm

Description

libsvm comes with a Java jar file and a Python interface, but the current port file doesn't install either of these. I have added java and python variants to this port, so that users can choose to install them through macports. (Patch is attached to this ticket.)

I'm not sure what to set for default_variants. I figured that everyone would have Java installed through Mac OS X, but not everyone would have Python 2.6 installed through macports, so I only set the java variant to be on by default.

Attachments (2)

Portfile-libsvm.diff (1.4 KB) - added by singingwolfboy@… 14 years ago.
libsvm-python26.diff (970 bytes) - added by ryandesign (Ryan Carsten Schmidt) 14 years ago.
remainder

Download all attachments as: .zip

Change History (8)

Changed 14 years ago by singingwolfboy@…

Attachment: Portfile-libsvm.diff added

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

Cc: ryandesign@… added

I added the java variant in r69574 and made it the default as you suggested, but I could not add the python variant because it no longer worked after I updated the port to version 2.91. Attached is the remainder of your patch which I did not apply, which will need to be reworked somehow to work with the new libsvm.

Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: libsvm-python26.diff added

remainder

comment:2 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

I made some slight modifications, including renaming the variant python26.

comment:3 Changed 13 years ago by pierre@…

Cc: pierre@… added

Cc Me!

comment:4 Changed 13 years ago by jmroot (Joshua Root)

Owner: changed from febeling@… to macports-tickets@…

This is nomaintainer now, feel free to commit.

comment:5 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: haspatch added
Owner: changed from macports-tickets@… to hum@…
Summary: add java and python variants to libsvm portlibsvm: add java and python variants

comment:6 Changed 11 years ago by humem (humem)

Resolution: fixed
Status: newclosed

python variants were added to the port in r88848.

Note: See TracTickets for help on using tickets.