Ticket #24096 (closed enhancement: fixed)
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
Change History
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.
comment:2 Changed 3 years ago by ryandesign@…
I made some slight modifications, including renaming the variant python26.
comment:4 Changed 2 years ago by jmr@…
- Owner changed from febeling@… to macports-tickets@…
This is nomaintainer now, feel free to commit.

