--- tpclient-pywx-0.3.1.1.orig/debian/watch +++ tpclient-pywx-0.3.1.1/debian/watch @@ -0,0 +1,5 @@ +version=3 + +http://sf.net/thousandparsec/tpclient-pywx-([\d.]+)\.tar\.bz2 + + --- tpclient-pywx-0.3.1.1.orig/debian/compat +++ tpclient-pywx-0.3.1.1/debian/compat @@ -0,0 +1 @@ +5 --- tpclient-pywx-0.3.1.1.orig/debian/README.source +++ tpclient-pywx-0.3.1.1/debian/README.source @@ -0,0 +1,57 @@ +This package uses quilt to manage all modifications to the upstream +source. Changes are stored in the source package as diffs in +debian/patches and applied during the build. + +To configure quilt to use debian/patches instead of patches, you want +either to export QUILT_PATCHES=debian/patches in your environment +or use this snippet in your ~/.quiltrc: + + for where in ./ ../ ../../ ../../../ ../../../../ ../../../../../; do + if [ -e ${where}debian/rules -a -d ${where}debian/patches ]; then + export QUILT_PATCHES=debian/patches + fi + done + +To get the fully patched source after unpacking the source package, cd to +the root level of the source package and run: + + quilt push -a + +The last patch listed in debian/patches/series will become the current +patch. + +To add a new set of changes, first run quilt push -a, and then run: + + quilt new + +where is a descriptive name for the patch, used as the filename in +debian/patches. Then, for every file that will be modified by this patch, +run: + + quilt add + +before editing those files. You must tell quilt with quilt add what files +will be part of the patch before making changes or quilt will not work +properly. After editing the files, run: + + quilt refresh + +to save the results as a patch. + +Alternately, if you already have an external patch and you just want to +add it to the build system, run quilt push -a and then: + + quilt import -P /path/to/patch + quilt push -a + +(add -p 0 to quilt import if needed). as above is the filename to +use in debian/patches. The last quilt push -a will apply the patch to +make sure it works properly. + +To remove an existing patch from the list of patches that will be applied, +run: + + quilt delete + +You may need to run quilt pop -a to unapply patches first before running +this command. --- tpclient-pywx-0.3.1.1.orig/debian/copyright +++ tpclient-pywx-0.3.1.1/debian/copyright @@ -0,0 +1,91 @@ +This package was debianized by Barry deFreese on +Mon, 5 Nov 2007 13:06:37 -0500 for the Debian Games Team + + +It was downloaded from http://downloads.sourceforge.net/thousandparsec/tpclient-pywx-0.2.2.tar.bz2 + +Upstream Author: Tim Ansell (tim@thousandparsec.net) + +Copyright: Copyright © 2001, 2002, 2003, 2004, 2005, 2006, 2007 Tim Ansell + +extra/wxFloatCanvas/FloatCanvas.py and +extra/wxFloatCanvas/__init__.py are Copyright (C) Christopher Barker + +extra/wxFloatCanvas/NavCanvas.py is Copyright (C) + wxWindows Software Foundation (Assigned by: Christopher Barker ) + +License: + +extra/wxFloatCanvas/* and extra/PyAUI.py wxWindows license: + + Copyright (c) 1998 Julian Smart, Robert Roebling [, ...] + + Everyone is permitted to copy and distribute verbatim copies + of this licence document, but changing it is not allowed. + + WXWINDOWS LIBRARY LICENCE + + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + This library is free software; you can redistribute it and/or modify it + under the terms of the GNU Library General Public Licence as published by + the Free Software Foundation; either version 2 of the Licence, or (at + your option) any later version. + + This library 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 Library + General Public Licence for more details. + + You should have received a copy of the GNU Library General Public Licence + along with this software, usually in a file named COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, + Boston, MA 02110-1301 USA + + EXCEPTION NOTICE + + 1. As a special exception, the copyright holders of this library give + permission for additional uses of the text contained in this release of + the library as licenced under the wxWindows Library Licence, applying + either version 3 of the Licence, or (at your option) any later version of + the Licence as published by the copyright holders of version 3 of the + Licence document. + + 2. The exception is that you may use, copy, link, modify and distribute + under the user's own terms, binary object code versions of works based + on the Library. + + 3. If you copy code from files distributed under the terms of the GNU + General Public Licence or the GNU Library General Public Licence into a + copy of this library, as this licence permits, the exception does not + apply to the code that you add in this way. To avoid misleading anyone as + to the status of such modified files, you must delete this exception + notice from such code and/or adjust the licensing conditions notice + accordingly. + + 4. If you write modifications of your own for this library, it is your + choice whether to permit this exception to apply to your modifications. + If you do not wish that, you must delete the exception notice from such + code and/or adjust the licensing conditions notice accordingly. + +All others GPL v2 or later: + + 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 2 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, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + On Debian GNU/Linux systems, the complete text of the GNU General + Public License can be found in the /usr/share/common-licenses/GPL file. + +The Debian packaging is (C) 2007, Barry deFreese and +is licensed under the GPL, see `/usr/share/common-licenses/GPL-2'. --- tpclient-pywx-0.3.1.1.orig/debian/rules +++ tpclient-pywx-0.3.1.1/debian/rules @@ -0,0 +1,67 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +include /usr/share/quilt/quilt.make + +PYVERS=$(shell pyversions -vr) + +build: build-stamp +build-stamp: patch + dh_testdir + + touch $@ + +_clean: $(QUILT_STAMPFN) + dh_testdir + dh_testroot + + rm -rf build-stamp + + find ./ -name '*.py[co]' -delete + +clean: _clean unpatch + dh_clean + rm -rf build + +install: install-stamp +install-stamp: build $(PYVERS:%=install-ext-%) +install-ext-%: + dh_testdir + dh_testroot + dh_clean -k + + python$* setup.py --temp=$(CURDIR)/debian/tpclient-pywx/usr \ + --prefix=/usr install + + dh_installdirs + dh_install + + #Remove extra license files. + find $(CURDIR)/debian/tpclient-pywx/ -name COPYING* -delete + find $(CURDIR)/debian/tpclient-pywx/ -name LICENSE -delete + +binary-indep: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_link + dh_compress -X.py + dh_fixperms +# chmod +x debian/tpclient-pywx/usr/share/games/tpclient-pywx/tpclient-pywx +# chmod +x debian/tpclient-pywx/usr/share/games/tpclient-pywx/doc/tp-pywx-installed +# chmod +x debian/tpclient-pywx/usr/share/games/tpclient-pywx/extra/wxFloatCanvas/FloatCanvas.py + dh_pysupport + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-arch: build install +# We have nothing to do by default. + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- tpclient-pywx-0.3.1.1.orig/debian/pyversions +++ tpclient-pywx-0.3.1.1/debian/pyversions @@ -0,0 +1 @@ +2.4- --- tpclient-pywx-0.3.1.1.orig/debian/changelog +++ tpclient-pywx-0.3.1.1/debian/changelog @@ -0,0 +1,32 @@ +tpclient-pywx (0.3.1.1-3.1) unstable; urgency=low + + * Non-maintainer upload. + * Drop architecture restrictions from the Recommends field + (closes: #583061). + + -- Jakub Wilk Fri, 16 Jul 2010 12:34:56 +0200 + +tpclient-pywx (0.3.1.1-3) unstable; urgency=low + + [ Barry deFreese ] + * Replace python-numarray depends with python-numpy. + + -- Barry deFreese Wed, 09 Dec 2009 12:26:32 -0500 + +tpclient-pywx (0.3.1.1-2) unstable; urgency=low + + [ Barry deFreese ] + * Update python-gnome2 dep to python-gconf. (Closes: #541581). + * Add README.source for quilt patch system. + * Bump Standards Version to 3.8.3. (No changes needed). + + -- Barry deFreese Fri, 09 Oct 2009 17:34:56 -0400 + +tpclient-pywx (0.3.1.1-1) unstable; urgency=low + + [ Barry deFreese ] + * Initial release (Closes: #377462) + * Add quilt patch system + * 01_setup.diff - Graphicsdir not being created. + + -- Barry deFreese Mon, 09 Mar 2009 12:12:47 -0400 --- tpclient-pywx-0.3.1.1.orig/debian/links +++ tpclient-pywx-0.3.1.1/debian/links @@ -0,0 +1 @@ +usr/share/games/tpclient-pywx/tpclient-pywx usr/games/tpclient-pywx --- tpclient-pywx-0.3.1.1.orig/debian/control +++ tpclient-pywx-0.3.1.1/debian/control @@ -0,0 +1,28 @@ +Source: tpclient-pywx +Section: python +Priority: extra +Maintainer: Debian Games Team +Uploaders: Barry deFreese +Build-Depends: debhelper (>= 5), quilt (>= 0.40) +Build-Depends-Indep: python-support (>= 0.5.3), python-all, python-setuptools +XS-Python-Version: >=2.4 +Standards-Version: 3.8.3 +Homepage: http://www.thousandparsec.net/tp/ +Vcs-Svn: svn://svn.debian.org/svn/pkg-games/packages/trunk/tpclient-pywx/ +Vcs-Browser: http://svn.debian.org/wsvn/pkg-games/packages/trunk/tpclient-pywx/?op=log + +Package: tpclient-pywx +Architecture: all +Depends: ${python:Depends}, ${misc:Depends}, python, python-numpy, python-wxgtk2.8, python-tp-netlib, python-tp-client, python-gconf +Recommends: python-imaging, python-openssl, python-psyco +XB-Python-Version: ${python:Versions} +Description: Thousand Parsec Python client + A Python wxgtk client to connect to the Thousand Parsec game world. + . + Thousand Parsec is a framework for turn based space empire building games. + . + Thousand Parsec is not a game by itself, it is a frame work for creating + a similar group of games. Some of the games, such as the first demo game + MiniSec, are developed by the Thousand Parsec developers themselves. + In the near future it is hoped that other developers will create their + own games using Thousand Parsec. --- tpclient-pywx-0.3.1.1.orig/debian/docs +++ tpclient-pywx-0.3.1.1/debian/docs @@ -0,0 +1 @@ +TODO --- tpclient-pywx-0.3.1.1.orig/debian/install +++ tpclient-pywx-0.3.1.1/debian/install @@ -0,0 +1,8 @@ +tpclient-pywx usr/share/games/tpclient-pywx/ +requirements.py usr/share/games/tpclient-pywx/ +utils.py usr/share/games/tpclient-pywx/ +version.py usr/share/games//tpclient-pywx/ +doc usr/share/games/tpclient-pywx/ +extra usr/share/games/tpclient-pywx/ +graphics usr/share/games/tpclient-pywx/ +windows usr/share/games/tpclient-pywx/ --- tpclient-pywx-0.3.1.1.orig/debian/patches/01_setup.diff +++ tpclient-pywx-0.3.1.1/debian/patches/01_setup.diff @@ -0,0 +1,37 @@ +#Fix path for graphics files on setup.py. +--- tpclient-pywx-0.3.1.orig/setup.py ++++ tpclient-pywx-0.3.1/setup.py +@@ -104,16 +104,6 @@ + makedirs(llocalepath) + shutil.copy2(os.path.join('locale', dir, 'tpclient-pywx.mo'), llocalepath) + +- # Graphics files +- ######################################################################### +- graphicspath_temp = os.path.join(temp, "share/tpclient-pywx/graphics") +- graphicspath = os.path.join(prefix, "share/tpclient-pywx/graphics") +- print 'graphicspath', graphicspath, "(copying to %s)" % graphicspath_temp +- +- if os.path.exists(graphicspath_temp): +- shutil.rmtree(graphicspath_temp) +- shutil.copytree('graphics', graphicspath_temp) +- + # Private python file + ######################################################################### + codepath_temp = os.path.join(temp, "share/tpclient-pywx") +@@ -125,6 +115,16 @@ + except OSError: + pass + ++ # Graphics files ++ ######################################################################### ++ graphicspath_temp = os.path.join(temp, "share/tpclient-pywx/graphics") ++ graphicspath = os.path.join(prefix, "share/tpclient-pywx/graphics") ++ print 'graphicspath', graphicspath, "(copying to %s)" % graphicspath_temp ++ ++ if os.path.exists(graphicspath_temp): ++ shutil.rmtree(graphicspath_temp) ++ shutil.copytree('graphics', graphicspath_temp) ++ + privatefiles = ['tpclient-pywx', 'version.py', 'requirements.py', 'utils.py', 'windows', 'extra'] + for file in privatefiles: + if os.path.isfile(file): --- tpclient-pywx-0.3.1.1.orig/debian/patches/series +++ tpclient-pywx-0.3.1.1/debian/patches/series @@ -0,0 +1 @@ +01_setup.diff