From 122bb8ba0b15478112fec10ebb3c0abf546d7fee Mon Sep 17 00:00:00 2001 From: Christoph Egger Date: Tue, 15 Nov 2011 15:57:37 +0100 Subject: Import python-enet_0.0~svn24-1.debian.tar.gz [dgit import tarball python-enet 0.0~svn24-1 python-enet_0.0~svn24-1.debian.tar.gz] --- changelog | 17 ++++++++++ clean | 1 + compat | 1 + control | 23 ++++++++++++++ copyright | 56 +++++++++++++++++++++++++++++++++ docs | 1 + patches/build-against-system-enet.patch | 39 +++++++++++++++++++++++ patches/series | 1 + rules | 13 ++++++++ source/format | 1 + 10 files changed, 153 insertions(+) create mode 100644 changelog create mode 100644 clean create mode 100644 compat create mode 100644 control create mode 100644 copyright create mode 100644 docs create mode 100644 patches/build-against-system-enet.patch create mode 100644 patches/series create mode 100755 rules create mode 100644 source/format diff --git a/changelog b/changelog new file mode 100644 index 0000000..9ab0afc --- /dev/null +++ b/changelog @@ -0,0 +1,17 @@ +python-enet (0.0~svn24-1) unstable; urgency=low + + * Updated to svn revision 24 + + -- Christoph Egger Tue, 15 Nov 2011 15:57:37 +0100 + +python-enet (0.0~svn23-1) unstable; urgency=low + + * Update to svn revision 23 + + -- Christoph Egger Thu, 29 Sep 2011 12:44:48 +0200 + +python-enet (0.0~svn22-1) unstable; urgency=low + + * Initial release (Closes: #624808) + + -- Christoph Egger Sun, 01 May 2011 20:11:36 +0200 diff --git a/clean b/clean new file mode 100644 index 0000000..ccab2c9 --- /dev/null +++ b/clean @@ -0,0 +1 @@ +enet.c \ No newline at end of file diff --git a/compat b/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/compat @@ -0,0 +1 @@ +7 diff --git a/control b/control new file mode 100644 index 0000000..6df869e --- /dev/null +++ b/control @@ -0,0 +1,23 @@ +Source: python-enet +Section: python +Priority: optional +Maintainer: Christoph Egger +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/copyright b/copyright new file mode 100644 index 0000000..7c1304a --- /dev/null +++ b/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 + 2009,2010 Andrew Resch +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 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 +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/docs b/docs new file mode 100644 index 0000000..e845566 --- /dev/null +++ b/docs @@ -0,0 +1 @@ +README diff --git a/patches/build-against-system-enet.patch b/patches/build-against-system-enet.patch new file mode 100644 index 0000000..c02d7f5 --- /dev/null +++ b/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/patches/series b/patches/series new file mode 100644 index 0000000..deb9b7b --- /dev/null +++ b/patches/series @@ -0,0 +1 @@ +build-against-system-enet.patch diff --git a/rules b/rules new file mode 100755 index 0000000..a543ea9 --- /dev/null +++ b/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/source/format b/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/source/format @@ -0,0 +1 @@ +3.0 (quilt) -- cgit v1.2.3