[Python-modules-commits] r9216 - in packages/python-dpkt/trunk (9 files)

luciano at users.alioth.debian.org luciano at users.alioth.debian.org
Thu Jul 30 09:02:13 UTC 2009


    Date: Thursday, July 30, 2009 @ 09:02:12
  Author: luciano
Revision: 9216

[svn-inject] Applying Debian modifications to trunk

Added:
  packages/python-dpkt/trunk/debian/
  packages/python-dpkt/trunk/debian/changelog
  packages/python-dpkt/trunk/debian/compat
  packages/python-dpkt/trunk/debian/control
  packages/python-dpkt/trunk/debian/copyright
  packages/python-dpkt/trunk/debian/patches/
  packages/python-dpkt/trunk/debian/patches/00list
  packages/python-dpkt/trunk/debian/rules
  packages/python-dpkt/trunk/debian/watch


Property changes on: packages/python-dpkt/trunk/debian
___________________________________________________________________
Added: mergeWithUpstream
   + 1

Added: packages/python-dpkt/trunk/debian/changelog
===================================================================
--- packages/python-dpkt/trunk/debian/changelog	                        (rev 0)
+++ packages/python-dpkt/trunk/debian/changelog	2009-07-30 09:02:12 UTC (rev 9216)
@@ -0,0 +1,5 @@
+python-dpkt (1.6+svn54-1) unstable; urgency=low
+
+  * Initial release (Closes: #538755)
+
+ -- Luciano Bello <luciano at debian.org>  Mon, 27 Jul 2009 20:53:29 -0300

Added: packages/python-dpkt/trunk/debian/compat
===================================================================
--- packages/python-dpkt/trunk/debian/compat	                        (rev 0)
+++ packages/python-dpkt/trunk/debian/compat	2009-07-30 09:02:12 UTC (rev 9216)
@@ -0,0 +1 @@
+5

Added: packages/python-dpkt/trunk/debian/control
===================================================================
--- packages/python-dpkt/trunk/debian/control	                        (rev 0)
+++ packages/python-dpkt/trunk/debian/control	2009-07-30 09:02:12 UTC (rev 9216)
@@ -0,0 +1,18 @@
+Source: python-dpkt
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Luciano Bello <luciano at debian.org>
+Build-Depends: debhelper (>= 5.0.38), python-all, dpatch
+Build-Depends-Indep: python-support (>= 0.6.4)
+Standards-Version: 3.8.2
+Homepage: http://monkey.org/~dugsong/dpkt/
+XS-Python-Version: all
+
+Package: python-dpkt
+Architecture: all
+Depends: ${python:Depends}, ${misc:Depends}
+XB-Python-Version: ${python:Versions}
+Description: Python packet creation / parsing module
+ Python module for fast, simple packet creation / parsing, with definitions for
+ the basic TCP/IP protocols.

Added: packages/python-dpkt/trunk/debian/copyright
===================================================================
--- packages/python-dpkt/trunk/debian/copyright	                        (rev 0)
+++ packages/python-dpkt/trunk/debian/copyright	2009-07-30 09:02:12 UTC (rev 9216)
@@ -0,0 +1,42 @@
+This package was debianized by Luciano Bello <luciano at debian.org> on
+Mon, 28 Apr 2008 18:50:19 -0300.
+
+It was downloaded from http://monkey.org/~dugsong/dpkt/
+
+Upstream Author: 
+
+    Dug Song <dugsong at monkey.org>
+    the grugq <thegrugq at gmail.com>
+    Tim Newsham <newsham at lava.net>
+    Jon Oberheide <jon at oberheide.org>
+    Robert Stone <otaku at monkey.org>
+    Thomas Taranowski <thomastaranowski at yahoo.com>
+    Tim Yardley <yardley at gmail.com>
+
+Copyright: 
+
+    Copyright (c) 2004 Dug Song <dugsong at monkey.org>
+
+License:
+
+    Redistribution and use in source and binary forms, with or without
+    modification, are permitted under the terms of the BSD License.
+
+    THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+    ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+    IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+    ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+    FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+    DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+    OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+    HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+    LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+    OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+    SUCH DAMAGE.
+
+On Debian systems, the complete text of the BSD License can be 
+found in `/usr/share/common-licenses/BSD'.
+
+
+The Debian packaging is (C) 2008, Luciano Bello <luciano at debian.org> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.

Added: packages/python-dpkt/trunk/debian/patches/00list
===================================================================
--- packages/python-dpkt/trunk/debian/patches/00list	                        (rev 0)
+++ packages/python-dpkt/trunk/debian/patches/00list	2009-07-30 09:02:12 UTC (rev 9216)
@@ -0,0 +1 @@
+# for future use

Added: packages/python-dpkt/trunk/debian/rules
===================================================================
--- packages/python-dpkt/trunk/debian/rules	                        (rev 0)
+++ packages/python-dpkt/trunk/debian/rules	2009-07-30 09:02:12 UTC (rev 9216)
@@ -0,0 +1,70 @@
+#!/usr/bin/make -f
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+include /usr/share/dpatch/dpatch.make
+
+PYVERS=$(shell pyversions -r)
+
+PACKAGE = python-dpkt
+URL:=http://dpkt.googlecode.com/svn/trunk/
+SRC_VERSION := $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p')
+SVN_REVISION := $(shell echo $(SRC_VERSION) | awk -F"+" '{ print $$2 }' | sed 's/svn//' )
+TARBALL = $(PACKAGE)_$(SRC_VERSION).orig.tar.gz
+
+build: patch-stamp
+
+clean: unpatch
+	dh_testdir
+	
+	# Add here commands to clean up after the build process.
+	for python in $(PYVERS); do \
+	   $$python setup.py clean; \
+	done
+	
+	rm -f build-stamp
+	rm -f dpkt/*.pyc dpkt/*.pyo
+	
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_installdirs
+	
+	for python in $(PYVERS); do \
+	   $$python setup.py install --root=debian/python-dpkt; \
+	done
+
+# Build architecture-dependent files here.
+binary-arch:
+# We have nothing to do by default.
+
+# Build architecture-independent files here.
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs CHANGES
+	dh_installdocs AUTHORS HACKING
+	dh_installexamples examples/*
+	dh_pysupport
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+get-orig-source:
+	@@dh_testdir
+	@@rm -rf $(TARBALL)
+	@@mkdir get-orig-source
+	@@svn export -r $(SVN_REVISION) $(URL) \
+               get-orig-source/$(PACKAGE)-$(SRC_VERSION).orig
+	@@echo Cleaning up ...
+	@@rm -rf get-orig-source/$(PACKAGE)-$(SRC_VERSION).orig/dpkt
+	@@GZIP=--best tar czf $(TARBALL) -C get-orig-source $(PACKAGE)-$(SRC_VERSION).orig
+	@@rm -rf get-orig-source
+	@@echo "  "$(TARBALL)" created; move it to the right destination to build the package"
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install


Property changes on: packages/python-dpkt/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: packages/python-dpkt/trunk/debian/watch
===================================================================
--- packages/python-dpkt/trunk/debian/watch	                        (rev 0)
+++ packages/python-dpkt/trunk/debian/watch	2009-07-30 09:02:12 UTC (rev 9216)
@@ -0,0 +1,2 @@
+version=3
+http://pybrary.net/pyPdf/pyPdf-(.*)\.tar\.gz




More information about the Python-modules-commits mailing list