summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Egger <christoph@debian.org>2011-11-15 15:57:37 +0100
committerChristoph Egger <christoph@debian.org>2011-11-15 15:57:37 +0100
commit3ca6188d7900d6e96c22b027d7e58abb8bc78bcb (patch)
tree773d3c49c61d09906ed4ebb12ef7b5726284717a
parent7a63889ff41abe5075b7ca8a9e35b0fde19560da (diff)
parent122bb8ba0b15478112fec10ebb3c0abf546d7fee (diff)
python-enet (0.0~svn24-1) unstable; urgency=low
* Updated to svn revision 24 [dgit import unpatched python-enet 0.0~svn24-1]
-rw-r--r--debian/changelog17
-rw-r--r--debian/clean1
-rw-r--r--debian/compat1
-rw-r--r--debian/control23
-rw-r--r--debian/copyright56
-rw-r--r--debian/docs1
-rw-r--r--debian/patches/build-against-system-enet.patch39
-rw-r--r--debian/patches/series1
-rwxr-xr-xdebian/rules13
-rw-r--r--debian/source/format1
10 files changed, 153 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..9ab0afc
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,17 @@
+python-enet (0.0~svn24-1) unstable; urgency=low
+
+ * Updated to svn revision 24
+
+ -- Christoph Egger <christoph@debian.org> Tue, 15 Nov 2011 15:57:37 +0100
+
+python-enet (0.0~svn23-1) unstable; urgency=low
+
+ * Update to svn revision 23
+
+ -- Christoph Egger <christoph@debian.org> Thu, 29 Sep 2011 12:44:48 +0200
+
+python-enet (0.0~svn22-1) unstable; urgency=low
+
+ * Initial release (Closes: #624808)
+
+ -- Christoph Egger <christoph@debian.org> Sun, 01 May 2011 20:11:36 +0200
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..ccab2c9
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1 @@
+enet.c \ No newline at end of file
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..6df869e
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,23 @@
+Source: python-enet
+Section: python
+Priority: optional
+Maintainer: Christoph Egger <christoph@debian.org>
+Build-Depends: debhelper (>= 7.0.50~),
+ python-all-dev,
+ cython,
+ libenet-dev
+Standards-Version: 3.9.2
+Homepage: http://code.google.com/p/pyenet/
+#Vcs-Git: git://git.debian.org/collab-maint/python-enet.git
+#Vcs-Browser: http://git.debian.org/?p=collab-maint/python-enet.git;a=summary
+
+Package: python-enet
+Architecture: any
+Depends: ${shlibs:Depends},
+ ${misc:Depends},
+ ${python:Depends}
+Breaks: ${python:Breaks}
+Description: wrapper for the ENet library
+ python-enet provides a thin wrapper around the enet networking
+ library. ENet is a thin layer to provide reliable comunication over
+ UDP.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..7c1304a
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,56 @@
+Format: http://dep.debian.net/deps/dep5
+Upstream-Name: python-enet
+Source: http://code.google.com/p/pyenet/source/checkout
+
+Files: *
+Copyright: 2003, Scott Robinson <scott@tranzoa.com>
+ 2009,2010 Andrew Resch <andrewresch@gmail.com>
+License: MIT
+ All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ .
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above
+ copyright notice, this list of conditions and the following
+ disclaimer in the documentation and/or other materials
+ provided with the distribution.
+ * Neither the name of the <ORGANIZATION> nor the names of its
+ contributors may be used to endorse or promote products
+ derived from this software without specific prior written
+ permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS 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
+ COPYRIGHT HOLDER 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.
+
+Files: debian/*
+Copyright: 2011 Christoph Egger <christoph@debian.org>
+License: zlib
+ This software is provided 'as-is', without any express or implied
+ warranty. In no event will the authors be held liable for any damages
+ arising from the use of this software.
+ .
+ Permission is granted to anyone to use this software for any purpose,
+ including commercial applications, and to alter it and redistribute it
+ freely, subject to the following restrictions:
+ .
+ 1. The origin of this software must not be misrepresented; you must not
+ claim that you wrote the original software. If you use this software
+ in a product, an acknowledgment in the product documentation would be
+ appreciated but is not required.
+ 2. Altered source versions must be plainly marked as such, and must not be
+ misrepresented as being the original software.
+ 3. This notice may not be removed or altered from any source distribution.
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..e845566
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+README
diff --git a/debian/patches/build-against-system-enet.patch b/debian/patches/build-against-system-enet.patch
new file mode 100644
index 0000000..c02d7f5
--- /dev/null
+++ b/debian/patches/build-against-system-enet.patch
@@ -0,0 +1,39 @@
+Description: Make python-enet build against system libenet 0.0~svn21-1
+Origin: debian
+Forwarded: no
+Last-Update: 2011-05-01
+
+--- python-enet-0.0~svn21.orig/setup.py
++++ python-enet-0.0~svn21/setup.py
+@@ -31,22 +31,22 @@ import sys
+
+ source_files = ["enet.pyx"]
+
+-_enet_files = glob.glob("enet/*.c")
++# _enet_files = glob.glob("enet/*.c")
+
+-if not _enet_files:
+- print("You need to download and extract the enet 1.3 source to enet/")
+- print("Download the source from: http://enet.bespin.org/SourceDistro.html")
+- print("See the README for more instructions")
+- sys.exit(1)
+-
+-source_files.extend(_enet_files)
++# if not _enet_files:
++# print("You need to download and extract the enet 1.3 source to enet/")
++# print("Download the source from: http://enet.bespin.org/SourceDistro.html")
++# print("See the README for more instructions")
++# sys.exit(1)
++#
++# source_files.extend(_enet_files)
+
+ define_macros = [('HAS_POLL', None),
+ ('HAS_FCNTL', None),
+ ('HAS_MSGHDR_FLAGS', None),
+ ('HAS_SOCKLEN_T', None) ]
+
+-libraries = []
++libraries = ['enet']
+
+ if sys.platform == 'win32':
+ define_macros.extend([('WIN32', None)])
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..deb9b7b
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+build-against-system-enet.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..a543ea9
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,13 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+ dh --with python2 $@
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)