--- soya-doc-0.14.orig/debian/changelog +++ soya-doc-0.14/debian/changelog @@ -0,0 +1,121 @@ +soya-doc (0.14-2) unstable; urgency=low + + [ Vincent Bernat ] + * Upload to unstable. + * Bump Standards-Version. No changes required. + * Do not compress tutorial (Closes: #500012) + * Add or fix shebang for all .py files (Closes: #500019). And make all + of them executable too. We move all those files to examples directory + instead of tutorial. The script also add a "coding: utf-8" header as + second line of all scripts. + + [ Sandro Tosi ] + * debian/control + - switch Vcs-Browser field to viewsvn + + -- Vincent Bernat Fri, 20 Mar 2009 20:44:20 +0100 + +soya-doc (0.14-1) experimental; urgency=low + + * New upstream release. + * Adopt the package. Thanks to Marc for his work. + * Bump Standards-Version. No changes required. + * Add VCS fields. + + -- Vincent Bernat Tue, 02 Sep 2008 18:19:03 +0200 + +soya-doc (0.14~rc1-1) unstable; urgency=low + + * New upstream release. + * Updated URLs for Homepage and copyright. + * Updated list of authors in copyright information. + * Moved homepage information to new control field. + * Increased Standards-Version (no changes). + * Fixed watch file. + * Fixed lintian warning (spelling-error-in-description python Python). + * Fixed misplaced 'find' option '-depth'. + + -- Marc Dequènes (Duck) Sun, 16 Mar 2008 18:21:10 +0100 + +soya-doc (0.13~rc1-1) unstable; urgency=low + + * New upstream release: + + updated dependency versions + + added python-cerealizer dependency + + tk stuff is no more needed, using python-imaging instead + * Updated licenses information. + + -- Marc Dequènes (Duck) Wed, 04 Jul 2007 00:13:37 +0200 + +soya-doc (0.11.1-1) unstable; urgency=low + + * New upstream release. + * Switched to debhelper compat 5. + * Increased Standards-Version to 3.7.2.0 (no changes). + * Updated dependencies (new policy packages, removed upper boundary on + soya no more needed). + * Updated URL in 'debian/copyright' and added homepage in package + description. + * Build-Depends-Indep is now Build-Depends as cdbs is needed for the + clean rule. + + -- Marc Dequènes (Duck) Wed, 28 Jun 2006 00:57:32 +0200 + +soya-doc (0.10.2-2) unstable; urgency=low + + * Switched to Python 2.4 only. + * Removing dependency on python-opengl (which was in fact _never_ + needed, i should stop smoking my curtains...). + + -- Marc Dequènes (Duck) Thu, 6 Apr 2006 01:08:51 +0200 + +soya-doc (0.10.2-1) unstable; urgency=low + + * New upstream release. + * Deactivated DEB_AUTO_UPDATE_DEBIAN_CONTROL mechanism (follow + instructions in 'debian/rule' to regenerate 'debian/control'). + * Updated FSF postal address in 'debian/copyright'. + * Increased Standards-Version to 3.6.2.2 (no changes). + + -- Marc Dequènes (Duck) Fri, 31 Mar 2006 02:38:58 +0200 + +soya-doc (0.10.1-1) unstable; urgency=low + + * New upstream release. + * Increased Standards-Version (no changes needed). + * Include API docs (HTML generation is up to the user ; this may + change in the future). + + -- Marc Dequènes (Duck) Sun, 28 Aug 2005 17:48:05 +0200 + +soya-doc (0.9-1) unstable; urgency=low + + * New upstream release. + * CDBS tweaks. + * Enforce a strict soya version because API is not stable yet. + * Increased Standards-Version to 3.6.1.1 (no changes needed). + * Moved doc into '/usr/share/doc/python-soya-doc/tutorial/' (Closes: + #284946). + + -- Marc Dequènes (Duck) Wed, 15 Dec 2004 23:35:05 +0100 + +soya-doc (0.8.2-1) unstable; urgency=low + + * New upstream release. + * Corrected dependencies. + + -- Marc Dequènes (Duck) Sun, 24 Oct 2004 16:46:41 +0200 + +soya-doc (0.8.1-1) experimental; urgency=low + + * New upstream version. + * Added python deps as it is a live lesson. + + -- Marc Dequènes (Duck) Sun, 17 Oct 2004 20:43:01 +0200 + +soya-doc (0.7b-1) unstable; urgency=low + + * Initial Release. + + -- Marc Dequènes (Duck) Sat, 7 Aug 2004 14:00:09 +0200 + --- soya-doc-0.14.orig/debian/install +++ soya-doc-0.14/debian/install @@ -0,0 +1,2 @@ +tutorial usr/share/doc/python-soya-doc/ +doc/* usr/share/doc/python-soya-doc/api-doc/ --- soya-doc-0.14.orig/debian/rules +++ soya-doc-0.14/debian/rules @@ -0,0 +1,18 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk + +DEB_COMPRESS_EXCLUDE := examples +DEB_FIXPERMS_EXCLUDE := .py .sh + +# In order to regenerate 'debian/control' : +# DEB_AUTO_UPDATE_DEBIAN_CONTROL=yes fakeroot debian/rules clean +# Then check manually if everything's ok + +binary-install/python-soya-doc:: + find debian/python-soya-doc/usr/share/ -type f ! -name "*.py" -a ! -name '*.sh' -exec chmod -R a-x {} \; + find debian/python-soya-doc/usr/share/ -type f -name "*.py" -exec python debian/fix-shebang.py {} \; + find debian/python-soya-doc -depth -name ".arch-ids" -exec rm -rf {} \; + find debian/python-soya-doc -name "LICENSE" -exec rm -rf {} \; + # Move everything from tutorial in examples directory + mv debian/python-soya-doc/usr/share/doc/python-soya-doc/tutorial debian/python-soya-doc/usr/share/doc/python-soya-doc/examples --- soya-doc-0.14.orig/debian/compat +++ soya-doc-0.14/debian/compat @@ -0,0 +1 @@ +5 --- soya-doc-0.14.orig/debian/watch +++ soya-doc-0.14/debian/watch @@ -0,0 +1,5 @@ +version=3 +opts="uversionmangle=s/rc/~rc/" \ +http://download.gna.org/soya/ \ + SoyaTutorial-(.*).tar.bz2 \ + debian uupdate --- soya-doc-0.14.orig/debian/doc +++ soya-doc-0.14/debian/doc @@ -0,0 +1 @@ +AUTHORS --- soya-doc-0.14.orig/debian/copyright +++ soya-doc-0.14/debian/copyright @@ -0,0 +1,49 @@ +This package was debianized by Marc Dequènes (Duck) on +Wed, 14 May 2003 01:20:19 +0200. + +It was downloaded from http://home.gna.org/oomadness/en/soya3d/tutorials/ + +Upstream Author: Jiba (LAMY Jean-Baptiste) , BLam (LAMY + Bertrand) , LunacyMaze (GHISLAIN Mary), and a few + others now, see '/usr/share/doc/soya-doc/AUTHORS' for a complete list + +Copyright: + + Soya3D is copyright (c) 2002-2003 Jean-Baptiste LAMY + + Except for the documentation in /usr/share/doc/python-soya-doc/api-doc/, + all the examples and explanations are under the following license: + + This package 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; version 2 dated June, 1991. + + This package 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 package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA + 02110-1301, USA. + + On Debian systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL'. + + The documentation in /usr/share/doc/python-soya-doc/api-doc/ is under + the following license: + + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU Free Documentation License, Version 1.1 + or any later version published by the Free Software Foundation; + with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. + + You should have received a copy of the GNU Free Documentation License + along with this document; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA + 02110-1301, USA. + + On Debian systems, the complete text of the GNU Free Documentation + License can be found in `/usr/share/common-licenses/GFDL'. + --- soya-doc-0.14.orig/debian/control +++ soya-doc-0.14/debian/control @@ -0,0 +1,23 @@ +Source: soya-doc +Section: doc +Priority: optional +Maintainer: Vincent Bernat +Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 5) +Build-Depends-Indep: python +Standards-Version: 3.8.1 +Homepage: http://home.gna.org/oomadness/en/soya3d/tutorials/ +Vcs-Svn: svn://svn.debian.org/python-modules/packages/soya-doc/trunk +Vcs-Browser: http://svn.debian.org/wsvn/python-modules/packages/soya-doc/trunk/?op=log + +Package: python-soya-doc +Architecture: all +Depends: python, python-imaging, python-soya (>= 0.14), python-cerealizer (>= 0.6-1), ${misc:Depends} +Description: high level 3D engine for Python + Soya 3D is a high level 3D engine for Python. It relies on OpenGL and + SDL. It is designed with games in mind, and written partly in Python + and partly in C; the goal is to provide a full architecture for making + free (GPL) games of professional quality entirely in Python. + Soya can also render on PyGame surfaces ! + . + This Package contains the Python library documentation. + --- soya-doc-0.14.orig/debian/control.in +++ soya-doc-0.14/debian/control.in @@ -0,0 +1,23 @@ +Source: soya-doc +Section: doc +Priority: optional +Maintainer: Vincent Bernat +Build-Depends: @cdbs@ +Build-Depends-Indep: python +Standards-Version: 3.8.1 +Homepage: http://home.gna.org/oomadness/en/soya3d/tutorials/ +Vcs-Svn: svn://svn.debian.org/python-modules/packages/soya-doc/trunk +Vcs-Browser: http://svn.debian.org/wsvn/python-modules/packages/soya-doc/trunk/?op=log + +Package: python-soya-doc +Architecture: all +Depends: python, python-imaging, python-soya (>= 0.14), python-cerealizer (>= 0.6-1), ${misc:Depends} +Description: high level 3D engine for Python + Soya 3D is a high level 3D engine for Python. It relies on OpenGL and + SDL. It is designed with games in mind, and written partly in Python + and partly in C; the goal is to provide a full architecture for making + free (GPL) games of professional quality entirely in Python. + Soya can also render on PyGame surfaces ! + . + This Package contains the Python library documentation. + --- soya-doc-0.14.orig/debian/fix-shebang.py +++ soya-doc-0.14/debian/fix-shebang.py @@ -0,0 +1,19 @@ +#!/usr/bin/env python + +import sys +import os +import stat + +script = sys.argv[1] + +fscript = file(script) +content = [x for x in fscript.readlines() if not x.startswith("#!") and "-*- coding:" not in x] +content.insert(0, "# -*- coding: utf-8 -*-\n") +content.insert(0, "#!/usr/bin/env python\n") +fscript.close() + +fscript = file(script, "w") +fscript.writelines(content) +fscript.close() + +os.chmod(script, stat.S_IRWXU | stat.S_IRGRP | stat.S_IXGRP | stat.S_IROTH | stat.S_IXOTH)