rpms/python-networkx/devel import.log, NONE, 1.1 python-networkx.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Conrad Meyer
konradm at fedoraproject.org
Fri Mar 27 22:17:45 UTC 2009
Author: konradm
Update of /cvs/pkgs/rpms/python-networkx/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv26940/devel
Modified Files:
.cvsignore sources
Added Files:
import.log python-networkx.spec
Log Message:
Import.
--- NEW FILE import.log ---
python-networkx-0_99-3_fc10:HEAD:python-networkx-0.99-3.fc10.src.rpm:1238192156
--- NEW FILE python-networkx.spec ---
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Name: python-networkx
Version: 0.99
Release: 3%{?dist}
Summary: Creates and Manipulates Graphs and Networks
Group: Development/Languages
License: LGPLv2+
URL: https://networkx.lanl.gov/trac
Source0: http://networkx.lanl.gov/download/networkx/networkx-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: graphviz-python
BuildRequires: pydot
BuildRequires: pyparsing
BuildRequires: python-devel
BuildRequires: python-matplotlib
BuildRequires: PyYAML
BuildRequires: scipy
Requires: graphviz-python
Requires: ipython
Requires: numpy
Requires: pydot
Requires: python-matplotlib
Requires: PyYAML
Requires: scipy
%description
NetworkX is a Python package for the creation, manipulation, and
study of the structure, dynamics, and functions of complex networks.
%prep
%setup -q -n networkx-%{version}
chmod -x examples/*/*.py
chmod -x examples/*/*.bz2
sed -i '1,1d' networkx/tests/test.py
%build
python setup.py build
%install
rm -rf $RPM_BUILD_ROOT
python setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
mv $RPM_BUILD_ROOT%{_docdir}/networkx-%{version} ./installed-docs
%check
# Tests don't pass for a variety of reasons; among them it looks
# like they try to use Gtk which is obviously not available.
#python -c "import networkx; networkx.test()"
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc doc/GNU_LGPL.txt installed-docs/*
%{python_sitelib}/*
%changelog
* Tue Mar 24 2009 Conrad Meyer <konrad at tylerc.org> - 0.99-3
- Replace __python macros with direct python invocations.
- Disable checks for now.
- Replace a define with global.
* Thu Mar 12 2009 Conrad Meyer <konrad at tylerc.org> - 0.99-2
- License is really LGPLv2+.
- Include license as documentation.
- Add a check section to run tests.
* Sat Dec 13 2008 Conrad Meyer <konrad at tylerc.org> - 0.99-1
- Initial package.
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/python-networkx/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 27 Mar 2009 20:30:14 -0000 1.1
+++ .cvsignore 27 Mar 2009 22:17:14 -0000 1.2
@@ -0,0 +1 @@
+networkx-0.99.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/python-networkx/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 27 Mar 2009 20:30:14 -0000 1.1
+++ sources 27 Mar 2009 22:17:14 -0000 1.2
@@ -0,0 +1 @@
+1d3238c973ad198583e90533b27d6cd3 networkx-0.99.tar.gz
More information about the scm-commits
mailing list