summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2011-02-03 19:31:12 +0000
committerLars Wirzenius <liw@liw.fi>2011-02-03 19:31:12 +0000
commitbb2185cda758c4060c805971f5e5a7bff596da53 (patch)
treea3bde711640c7d70920aa1cc5a2c8bf65772a47e
parent629ee8e18094101301b263a345e2b418cfda03df (diff)
downloadpython-tracing-bb2185cda758c4060c805971f5e5a7bff596da53.tar.gz
Add Debian packaging.
-rw-r--r--debian/changelog6
-rw-r--r--debian/compat1
-rw-r--r--debian/control23
-rw-r--r--debian/copyright23
-rw-r--r--debian/pycompat1
-rwxr-xr-xdebian/rules11
-rw-r--r--debian/source/format1
7 files changed, 66 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..1b2f3a5
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+python-tracing (0.0) squeeze; urgency=low
+
+ * Initial packaging. This is not intended to be uploaded to Debian, so
+ no closing of an ITP bug.
+
+ -- Lars Wirzenius <liw@liw.fi> Thu, 03 Feb 2011 19:28:25 +0000
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..9246faf
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,23 @@
+Source: python-tracing
+Maintainer: Lars Wirzenius <liw@liw.fi>
+Section: python
+Priority: optional
+Standards-Version: 3.9.0
+Build-Depends: debhelper (>= 7.3.8), python-support (>= 1.0.3),
+ python (>= 2.5), extrautils
+XS-Python-Version: >= 2.5
+
+Package: python-tracing
+Architecture: all
+Depends: ${python:Depends}, ${misc:Depends}, python (>= 2.5)
+XB-Python-Version: ${python:Versions}
+Description: Python debug tracing helper
+ Provides the Python library 'tracing' to help with logging debug messages.
+ This module provides a couple of functions for logging debug messages.
+ It is sometimes practical to add a lot of debugging log messages to a
+ program, but having them enabled all the time results in very large
+ log files. Also, logging that much takes quite a bit of time.
+ .
+ This module provides a way to turn such debugging or tracing messages
+ on and off, based on the filename they occur in.
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..b180f7a
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,23 @@
+Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135
+Name: NAME
+Maintainer: Lars Wirzenius <liw@liw.fi>
+Source: http://code.liw.fi/NAME/bzr/trunk/
+
+Files: *
+Copyright: 2010, Lars Wirzenius
+License: GPL-3+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+ .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+ .
+ On a Debian system, you can find a copy of GPL version 3 at
+ /usr/share/common-licenses/GPL-3 .
diff --git a/debian/pycompat b/debian/pycompat
new file mode 100644
index 0000000..0cfbf08
--- /dev/null
+++ b/debian/pycompat
@@ -0,0 +1 @@
+2
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..0e884f1
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,11 @@
+#!/usr/bin/make -f
+%:
+ dh $@ --with-buildsystem=python_distutils
+
+override_dh_auto_install:
+ python setup.py install --prefix=debian/python-tracing/usr
+
+override_dh_auto_build:
+ setuppy-debian-versions-match
+ dh_auto_build $@ --with-buildsystem=python_distutils
+
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..89ae9db
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (native)