--- python-gasp-0.3.0.orig/debian/control +++ python-gasp-0.3.0/debian/control @@ -0,0 +1,20 @@ +Source: python-gasp +Section: python +Priority: optional +Maintainer: Luke Faraone +Uploaders: Debian Python Modules Team +Build-Depends: python (>= 2.4), debhelper (>= 5), cdbs (>= 0.4.49), python-setuptools, +Build-Depends-indep: python-support (>= 0.5.3), patchutils, bzr +Standards-Version: 3.8.2 +Homepage: https://launchpad.net/gasp +Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-gasp/trunk +Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/python-gasp/trunk/ + +Package: python-gasp +Architecture: all +Depends: ${misc:Depends}, ${python:Depends}, python-cairo (>= 1.4), python-gtk2, python-gobject, python-multiprocessing +Provides: ${python:Provides} +Description: procedural Python graphics library for beginning programmers + GASP is a wrapper around the Python Cairo Graphics library which makes writing + graphical applications in Python easy for beginners, requiring little prior + knowledge of object-oriented programming. --- python-gasp-0.3.0.orig/debian/copyright +++ python-gasp-0.3.0/debian/copyright @@ -0,0 +1,44 @@ +This package was debianized by Luke Faraone on +Friday November 21, 2008 22:30:00 -0500. + +It was downloaded from https://launchpad.net/gasp-code/ + +Copyright Holder: + * Copyright 2008 James Hancock + +Upstream authors: + David Cooper + Kevin Kubasik + Stephan Richter + David Muffley + Preetam D'Souza + George Paci + Jeff Elkner + Matt Gallagher + Thomas Doggette + +License: + +This is free software; you can redistribute it and/or modify it under the terms +of the GNU General Public License (version 3), or (at your option) any later +version. + + 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, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +On Debian systems, the complete text of the GPL v3 can be found here: + /usr/share/common-licenses/GPL-3 + +The Debian packaging is © 2008, 2009 Luke Faraone and is +licensed under the GPL version 3 or later. See above. --- python-gasp-0.3.0.orig/debian/pycompat +++ python-gasp-0.3.0/debian/pycompat @@ -0,0 +1 @@ +2 --- python-gasp-0.3.0.orig/debian/watch +++ python-gasp-0.3.0/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://dev.laptop.org/pub/gasp/releases/SOURCES/python-gasp-(.*)\.tar\.bz2 --- python-gasp-0.3.0.orig/debian/compat +++ python-gasp-0.3.0/debian/compat @@ -0,0 +1 @@ +5 --- python-gasp-0.3.0.orig/debian/rules +++ python-gasp-0.3.0/debian/rules @@ -0,0 +1,20 @@ +#!/usr/bin/make -f + +DEB_PYTHON_SYSTEM=pysupport +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/python-distutils.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk + +DEB_PYTHON_SETUP_CMD = gasp/setup.py + +.PHONY: get-orig-source +get-orig-source: + REV=$(shell dpkg-parsechangelog | sed -rne 's,^Version: .*bzr([^-]+).*,\1,p'); \ + VER=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p'); \ + if [ x$$REV = x ]; then \ + uscan --force-download --rename --repack --download-version=$$VER --destdir=.; \ + else \ + bzr export -r $$REV python-gasp_$$VER.orig.tar.gz lp:gasp-code; \ + fi + + --- python-gasp-0.3.0.orig/debian/changelog +++ python-gasp-0.3.0/debian/changelog @@ -0,0 +1,18 @@ +python-gasp (0.3.0-1) unstable; urgency=low + + * New upstream version + * Update Maintainer email address + * Fixed copyright file to use the © symbol + * Switch to pysupport + * Fix get-orig-source in debian/rules + * Fixed setup.py so that images are installed in the proper location. + * debian/control: Added dependency on python-gobject, python-gtk2, and + python-multiprocessing. + + -- Luke Faraone Mon, 27 Jul 2009 21:16:02 -0400 + +python-gasp (0.2.1~bzr65-1) unstable; urgency=low + + * Initial release. (Closes: #506501) + + -- Luke Faraone Sun, 7 Dec 2008 15:13:34 -0500 --- python-gasp-0.3.0.orig/debian/patches/setuptools.patch +++ python-gasp-0.3.0/debian/patches/setuptools.patch @@ -0,0 +1,12 @@ +diff -Nur -x '*.orig' -x '*~' trunk/gasp/setup.py trunk.new/gasp/setup.py +--- trunk/gasp/setup.py 2009-07-27 19:11:15.000000000 -0400 ++++ trunk.new/gasp/setup.py 2009-07-27 19:30:58.000000000 -0400 +@@ -24,6 +24,8 @@ + 'Natural Language :: English', + 'Operating System :: OS Independent', + 'Topic :: Education :: Computer Aided Instruction (CAI)'], ++ ++ data_files=[('share/python-support/python-gasp/gasp/images', ['gasp/images/gasp.png',]),], + + install_requires = [ + 'setuptools',