Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 120794 - dev-python/networkx (new ebuild)
Summary: dev-python/networkx (new ebuild)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords: EBUILD
: 230461 (view as bug list)
Depends on:
Blocks: 201321 158038
  Show dependency tree
 
Reported: 2006-01-28 23:11 UTC by ibm
Modified: 2012-09-26 14:07 UTC (History)
9 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild for dev-python/networkx-0.26 (networkx-0.26.ebuild,584 bytes, text/plain)
2006-01-28 23:13 UTC, ibm
Details
networkx-0.26.ebuild (networkx-0.26.ebuild,587 bytes, text/plain)
2006-01-28 23:20 UTC, ibm
Details
networkx-0.30.ebuild (networkx-0.30.ebuild,763 bytes, text/plain)
2006-07-01 06:59 UTC, Sam Jacobson
Details
update of ebuild for networkx version 0.33 (networkx-0.33.ebuild,762 bytes, text/plain)
2006-12-10 07:52 UTC, Marek
Details
networkx-0.99.ebuild (networkx-0.99.ebuild,505 bytes, text/plain)
2009-01-15 00:04 UTC, Tim Cera
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ibm 2006-01-28 23:11:50 UTC
NetworkX (https://networkx.lanl.gov/) provides some pretty solid graph manipulation functions to python. ebuild attached. unfortunately relies on setuptools... I don't know enough about distutils to convert it back to plain distutils.
Comment 1 ibm 2006-01-28 23:13:11 UTC
Created attachment 78391 [details]
ebuild for dev-python/networkx-0.26
Comment 2 ibm 2006-01-28 23:20:01 UTC
Created attachment 78392 [details]
networkx-0.26.ebuild

fixed plot dependency inconsistency
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2006-02-12 18:10:05 UTC
- ebuild header missing
Comment 4 Carsten Lohrke (RETIRED) gentoo-dev 2006-02-12 18:10:05 UTC
- ebuild header missing¹
- LGPL is not a valid license, please have a look at /usr/portage/licenses
- please don't add yet another no* use flag, they'll all need to be changed later


[1] http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=3
Comment 5 Sam Jacobson 2006-07-01 06:59:37 UTC
Created attachment 90612 [details]
networkx-0.30.ebuild

New ebuild submitted. Bumps version to 0.30, fixes header, changes bad use flag to "matplotlib". Adds graphviz useflag. Includes test.py in documentation install.

This works for me, and passes all tests, but I do use a patched version of pydot. I'll attach the patch to the pydot ebuild bug #106983. It's from networkx's website.
Comment 6 Marcel Martin 2006-09-04 01:31:06 UTC
NetworkX 0.31 has been released: Renaming to networkx-0.31.ebuild works fine.

Also, pydot is in media-gfx (in sunrise):
-       graphviz? ( >=dev-python/pydot-0.9.10 )"
+       graphviz? ( >=media-gfx/pydot-0.9.10 )"
Comment 7 Marek 2006-12-10 07:52:59 UTC
Created attachment 103749 [details]
update of ebuild for networkx version 0.33

Two changes have been done:
1. Ebuild has been renamed from networkx-0.30.ebuild to networkx-0.33.ebuild
2. It seems pydot package is moved from dev-python to media-gfx category, so the dependency line has been changed apropriately.
Comment 8 marek wojciechowski 2007-04-14 14:55:59 UTC
New version 0.34 of networkx is released. Renaming existing ebuild to networkx-0.34.ebuild works fine.
Comment 9 marek wojciechowski 2007-10-24 11:22:24 UTC
New version 0.35.1 of networkx is released. Renaming existing networkx-0.33.ebuild to networkx-0.35.1.ebuild works fine.
Comment 10 Sébastien Fabbro (RETIRED) gentoo-dev 2008-07-17 09:47:06 UTC
*** Bug 230461 has been marked as a duplicate of this bug. ***
Comment 11 François Bissey 2008-07-17 11:09:09 UTC
OK after a quick comparison this ebuild is a bit more complete than
mine as it includes interesting use flags.
I will need a bit of work though. At the moment the use flag
just make sure you have package related to the functionality 
installed. If you have matplotlib on your computer, the functionality
will be built even if you set -matplotlib which is a problem.
For graphviz, according to the networkx web site you need graphviz
and a python binding package to graphviz called pygraphviz. 
(https://networkx.lanl.gov/wiki/pygraphviz)
Not sure if it would work just by making sure that graphviz is built 
with the python flag as the interface is likely to be different.
I will combine the best of both ebuild and post a new draft version
here. I will wait until we sort out the use flags before importing
into the science overlay.
Comment 12 Tim Cera 2009-01-15 00:04:04 UTC
Created attachment 178531 [details]
networkx-0.99.ebuild

Could make ebuild simpler because of upstream improvements.
Comment 13 Sébastien Fabbro (RETIRED) gentoo-dev 2009-02-28 19:45:49 UTC
Now in portage. I disabled the graphviz and matplotlib use flags, since they were only recommendations, not actually necessary, and emerging pygraphviz and matplotlib is same work as enabling their respective use flags.