[python-django-debug-toolbar/f16] initial import f16 version
Matthias Runge
mrunge at fedoraproject.org
Fri Feb 3 09:43:09 UTC 2012
commit f4aea4c29177a63b1233f6c3dd98c5b49e848f55
Author: Matthias Runge <mrunge at matthias-runge.de>
Date: Fri Feb 3 10:42:44 2012 +0100
initial import f16 version
.gitignore | 1 +
python-django-debug-toolbar.spec | 62 ++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 64 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..4283707 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/django-debug-toolbar-0.9.3.tar.gz
diff --git a/python-django-debug-toolbar.spec b/python-django-debug-toolbar.spec
new file mode 100644
index 0000000..e1c8078
--- /dev/null
+++ b/python-django-debug-toolbar.spec
@@ -0,0 +1,62 @@
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
+
+Name: python-django-debug-toolbar
+Version: 0.9.3
+Release: 1%{?dist}
+Summary: Configurable set of panels that display various debug information
+
+License: BSD
+URL: https://github.com/django-debug-toolbar/django-debug-toolbar
+Source0: http://pypi.python.org/packages/source/d/django-debug-toolbar/django-debug-toolbar-0.9.3.tar.gz
+#md5=c11870fb6f206c6dc2efd9a134fd672c
+
+BuildArch: noarch
+BuildRequires: python2-devel
+BuildRequires: python-setuptools
+Requires: Django
+
+%description
+The Django Debug Toolbar is a configurable set of panels that display various
+debug information about the current request/response and when clicked, display
+more details about the panel's content.
+
+Currently, the following panels have been written and are working:
+
+ - Django version
+ - Request timer
+ - A list of settings in settings.py
+ - Common HTTP headers
+ - GET/POST/cookie/session variable display
+ - Templates and context used, and their template paths
+ - SQL queries including time to execute and links to EXPLAIN each query
+ - List of signals, their args and receivers
+ - Logging output via Python's built-in logging, or via the logbook module
+
+
+
+%prep
+%setup -q -n django-debug-toolbar-%{version}
+
+# "Fix" zero length file error
+echo "# empty file" > debug_toolbar/models.py
+
+
+%build
+%{__python} setup.py build
+
+# checks don't seem to work right now
+# %%check
+# %%{__python} setup.py test
+
+%install
+%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+
+
+%files
+%doc LICENSE README.rst AUTHORS PKG-INFO
+%{python_sitelib}/*
+
+
+%changelog
+* Mon Jan 23 2012 Matthias Runge <mrunge at matthias-runge.de> 0.9.3-1
+- initial packaging
diff --git a/sources b/sources
index e69de29..c9c6141 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+c11870fb6f206c6dc2efd9a134fd672c django-debug-toolbar-0.9.3.tar.gz
More information about the scm-commits
mailing list