[python-pycallgraph] Initial import

Luke Macken lmacken at fedoraproject.org
Fri Mar 23 22:59:38 UTC 2012


commit b1465ec9c9bb4f57ed1d000fdf7b322e41fda016
Author: Luke Macken <lmacken at redhat.com>
Date:   Fri Mar 23 15:59:16 2012 -0700

    Initial import

 .gitignore              |    1 +
 python-pycallgraph.spec |   45 +++++++++++++++++++++++++++++++++++++++++++++
 sources                 |    1 +
 3 files changed, 47 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..5712152 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/pycallgraph-0.5.1.tar.gz
diff --git a/python-pycallgraph.spec b/python-pycallgraph.spec
new file mode 100644
index 0000000..5eb4250
--- /dev/null
+++ b/python-pycallgraph.spec
@@ -0,0 +1,45 @@
+%global modname pycallgraph
+
+Name:             python-pycallgraph
+Version:          0.5.1
+Release:          2%{?dist}
+Summary:          A module that creates call graphs for Python programs
+
+Group:            Development/Languages
+License:          GPLv2+
+URL:              http://pycallgraph.slowchop.com
+Source0:          http://pycallgraph.slowchop.com/files/download/%{modname}-%{version}.tar.gz
+
+BuildArch:        noarch
+BuildRequires:    python2-devel
+
+Requires:         graphviz
+
+%description
+Python Call Graph uses GraphViz to generate call graphs from one execution of
+your Python code. It's very easy to use and can point out possible problems
+with your code execution.
+
+%prep
+%setup -q -n %{modname}-%{version}
+
+%build
+sed -i 1d pycallgraph.py
+%{__python} setup.py build
+
+%install
+%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+
+%files
+%doc COPYING
+%{_bindir}/pycallgraph
+%{python_sitelib}/*
+
+%changelog
+* Fri Mar 23 2012 Luke Macken <lmacken at redhat.com> - 0.5.1-2
+- Require python2-devel
+- Change license tag from GPLv2 to GPLv2+
+- Remove shebang from script
+
+* Mon Mar 12 2012 Luke Macken <lmacken at redhat.com> - 0.5.1-1
+- Initial package for Fedora
diff --git a/sources b/sources
index e69de29..70d90cf 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+2f57a14f637e87aabc7301e78941026c  pycallgraph-0.5.1.tar.gz


More information about the scm-commits mailing list