Bug 252381 - math/py-python-igraph: upgrade to 0.8.3
Summary: math/py-python-igraph: upgrade to 0.8.3
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Thierry Thomas
URL: https://github.com/igraph/python-igra...
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-03 10:30 UTC by Thierry Thomas
Modified: 2021-01-04 12:08 UTC (History)
2 users (show)

See Also:
lwhsu: maintainer-feedback+


Attachments
Patch to upgrade math/py-python-igraph to 0.8.3 (9.35 KB, patch)
2021-01-03 10:30 UTC, Thierry Thomas
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thierry Thomas freebsd_committer freebsd_triage 2021-01-03 10:30:52 UTC
Created attachment 221239 [details]
Patch to upgrade math/py-python-igraph to 0.8.3

Release notes at <https://github.com/igraph/python-igraph/releases/tag/0.8.3>.

The attached patch:

- Upgrade to 0.8.3
- Update WWW: URL
- Set LIB_DEPENDS for math/igraph
- Depends on py-cairocffi
- Let it find an image viewer for FreeBSD
	Without that, you cannot run code like:
>>> import igraph as ig
>>> g = ig.Graph.Famous("petersen")
>>> ig.plot(g)

- Add a plist
- Add a test target.

Note: in the tarball downloaded from CHEESESHOP there is no doc, but if we download from GitHub, it contains a directory doc, and I have a patch to optionnally build it (with sphinx) if you prefer.
Comment 1 Li-Wen Hsu freebsd_committer freebsd_triage 2021-01-04 02:56:15 UTC
(In reply to Thierry Thomas from comment #0)
Thanks for the patch, it looks good to me.

For the doc, I'm fine with both ways.  Please go ahead with what you like most.
Comment 2 Thierry Thomas freebsd_committer freebsd_triage 2021-01-04 12:08:37 UTC
Thanks!
I just committed the submitted patch. Let's see for the docs another time.
Comment 3 commit-hook freebsd_committer freebsd_triage 2021-01-04 12:08:50 UTC
A commit references this bug:

Author: thierry
Date: Mon Jan  4 12:08:33 UTC 2021
New revision: 560285
URL: https://svnweb.freebsd.org/changeset/ports/560285

Log:
  - Upgrade to 0.8.3
  	Release notes at <https://github.com/igraph/python-igraph/releases/tag/0.8.3>
  - Update WWW: URL
  - Set LIB_DEPENDS for math/igraph
  - Depends on py-cairocffi
  - Let it find an image viewer for FreeBSD
  	Without that, you cannot run code like:
  >>> import igraph as ig
  >>> g = ig.Graph.Famous("petersen")
  >>> ig.plot(g)

  - Add a plist

  PR:		252381
  Submitted by:	/me
  Approved by:	lwhsu@ (maintainer)

Changes:
  head/math/py-python-igraph/Makefile
  head/math/py-python-igraph/distinfo
  head/math/py-python-igraph/files/patch-src_igraph_configuration.py
  head/math/py-python-igraph/files/patch-vendor_source_igraph_bootstrap.sh
  head/math/py-python-igraph/pkg-descr
  head/math/py-python-igraph/pkg-plist