Bug 200678

Summary: [NEW PORT] science/py-scikit-sparse: Python package to for sparse matrix calculations
Product: Ports & Packages Reporter: Yuri Victorovich <yuri>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me CC: demon, python, wen
Priority: --- Keywords: feature, patch, patch-ready
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 200679    
Attachments:
Description Flags
shar archive
none
poudriere log
none
shar archive none

Description Yuri Victorovich freebsd_committer freebsd_triage 2015-06-06 17:22:24 UTC
Created attachment 157474 [details]
shar archive

This is one of the packages from SciKits https://scikits.appspot.com/scikits.

It is the missing dependency of math/py-networkx update to which I am also going to submit.
Comment 1 Yuri Victorovich freebsd_committer freebsd_triage 2015-06-06 17:23:38 UTC
Created attachment 157475 [details]
poudriere log
Comment 2 Yuri Victorovich freebsd_committer freebsd_triage 2015-06-07 04:21:43 UTC
Created attachment 157493 [details]
shar archive

Sorted USE_PYTHON
Comment 3 Dmitry Sivachenko freebsd_committer freebsd_triage 2015-06-08 12:32:07 UTC
Should py-numpy be compiled with SUITESPARSE option turned on for this to work?
Comment 4 Yuri Victorovich freebsd_committer freebsd_triage 2015-06-08 17:48:50 UTC
SUITESPARSE in math/py-numpy has YES as default.
Comment 5 Dmitry Sivachenko freebsd_committer freebsd_triage 2015-06-08 20:08:54 UTC
Yes, but it could be turned off.
If you rely on SUITESPARSE @ numpy, then 
libumfpack.so:${PORTSDIR}/math/suitesparse
is redundant here (it will be inherited for py-numpy).

But if numpy's SUITESPARSE is mandatory for this port to work, it must be ensured some way that it was not turned off.
Comment 6 Yuri Victorovich freebsd_committer freebsd_triage 2015-06-08 20:44:48 UTC
You are right.
But currently there is no such way to ensure the options of the dependencies, besides python version.

I happen to also work on the solution to this (currently this is the PR to poudriere on GitHub). When completed, there will be the way to ensure dependency options from the dependent port. I will keep this case in mind until this is ready.
Comment 7 Yuri Victorovich freebsd_committer freebsd_triage 2015-06-09 10:19:35 UTC
Actually, the option SUITESPARSE in math/py-numpy is broken.

It sets the port to depend on libumfpack.so, but build process doesn't open anything under /usr/local/include/suitesparse++, and no shared libraries link to libumfpack.so. So this option and dependency look defunct.
Comment 8 commit-hook freebsd_committer freebsd_triage 2015-06-14 12:39:51 UTC
A commit references this bug:

Author: wen
Date: Sun Jun 14 12:39:05 UTC 2015
New revision: 389627
URL: https://svnweb.freebsd.org/changeset/ports/389627

Log:
  scikits-sparse is a Python module for sparse matrix calculations.

  WWW: https://scikits.appspot.com/sparse/

  PR:		200678
  Submitted by:	yuri@rawbw.com

Changes:
  head/science/Makefile
  head/science/py-scikit-sparse/
  head/science/py-scikit-sparse/Makefile
  head/science/py-scikit-sparse/distinfo
  head/science/py-scikit-sparse/pkg-descr