/[gentoo-x86]/dev-python/networkx/files/networkx-0.99-setup.py.patch
Gentoo

Contents of /dev-python/networkx/files/networkx-0.99-setup.py.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Sat Feb 28 19:40:27 2009 UTC (11 years, 6 months ago) by bicatali
Branch: MAIN
File MIME type: text/x-diff
Initial import, see bug #120794. Thanks ibm, Marek and Tim Cera for their contributions
(Portage version: 2.2_rc23/cvs/Linux x86_64)

1 --- setup.py.orig 2008-11-19 21:40:27.000000000 +0800
2 +++ setup.py 2008-11-19 21:41:15.000000000 +0800
3 @@ -37,27 +37,6 @@
4 "networkx.tests",
5 ]
6
7 -docdirbase = 'share/doc/networkx-%s' % version
8 -# add basic documentation
9 -data = [(docdirbase, glob("*.txt"))]
10 -# add examples
11 -for d in ['advanced',
12 - 'algorithms',
13 - 'basic',
14 - 'drawing',
15 - 'graph',
16 - 'multigraph',
17 - 'pygraphviz',
18 - 'readwrite',
19 - 'ubigraph']:
20 - dd=os.path.join(docdirbase,'examples',d)
21 - pp=os.path.join('examples',d)
22 - data.append((dd,glob(os.path.join(pp,"*.py"))))
23 - data.append((dd,glob(os.path.join(pp,"*.bz2"))))
24 - data.append((dd,glob(os.path.join(pp,"*.gz"))))
25 - data.append((dd,glob(os.path.join(pp,"*.mbox"))))
26 - data.append((dd,glob(os.path.join(pp,"*.edgelist"))))
27 -
28 # add the tests
29 package_data = {'': ['tests/*.py'],
30 '': ['tests/*.txt'],
31 @@ -77,7 +56,6 @@
32 url = url,
33 download_url = download_url,
34 packages = packages,
35 - data_files = data,
36 package_data = package_data,
37 classifiers = classifiers,
38 )
39 --- setup_egg.py.orig 2009-02-27 20:24:39.512919106 +0000
40 +++ setup_egg.py 2009-02-27 20:24:53.280745898 +0000
41 @@ -34,7 +34,6 @@
42 url = url,
43 download_url = download_url,
44 packages = packages,
45 - data_files = data,
46 classifiers = classifiers,
47 package_data = package_data,
48 # include_package_data = True,

  ViewVC Help
Powered by ViewVC 1.1.20