New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #24096 (closed enhancement: fixed)

Opened 3 years ago

Last modified 3 months ago

libsvm: add java and python variants

Reported by: singingwolfboy@… Owned by: hum@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: haspatch Cc: ryandesign@…, 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

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

Change History

Changed 3 years ago by singingwolfboy@…

comment:1 Changed 3 years ago by ryandesign@…

  • 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 3 years ago by ryandesign@…

remainder

comment:2 Changed 3 years ago by ryandesign@…

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

comment:3 Changed 2 years ago by pierre@…

  • Cc pierre@… added

Cc Me!

comment:4 Changed 2 years ago by jmr@…

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

This is nomaintainer now, feel free to commit.

comment:5 Changed 4 months ago by ryandesign@…

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

comment:6 Changed 3 months ago by hum@…

  • Status changed from new to closed
  • Resolution set to fixed

python variants were added to the port in r88848.

Note: See TracTickets for help on using tickets.