[Python-modules-commits] r3462 - in /packages/python-pyglew/trunk/debian: ./ changelog compat control copyright patches/ patches/00list patches/10_fix_setup_py.dpatch rules watch

morph-guest at users.alioth.debian.org morph-guest at users.alioth.debian.org
Wed Oct 24 21:37:13 UTC 2007


Author: morph-guest
Date: Wed Oct 24 21:37:12 2007
New Revision: 3462

URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=3462
Log:
[svn-inject] Applying Debian modifications to trunk

Added:
    packages/python-pyglew/trunk/debian/   (with props)
    packages/python-pyglew/trunk/debian/changelog
    packages/python-pyglew/trunk/debian/compat
    packages/python-pyglew/trunk/debian/control
    packages/python-pyglew/trunk/debian/copyright
    packages/python-pyglew/trunk/debian/patches/
    packages/python-pyglew/trunk/debian/patches/00list
    packages/python-pyglew/trunk/debian/patches/10_fix_setup_py.dpatch   (with props)
    packages/python-pyglew/trunk/debian/rules   (with props)
    packages/python-pyglew/trunk/debian/watch

Propchange: packages/python-pyglew/trunk/debian/
------------------------------------------------------------------------------
    mergeWithUpstream = 1

Added: packages/python-pyglew/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pyglew/trunk/debian/changelog?rev=3462&op=file
==============================================================================
--- packages/python-pyglew/trunk/debian/changelog (added)
+++ packages/python-pyglew/trunk/debian/changelog Wed Oct 24 21:37:12 2007
@@ -1,0 +1,5 @@
+python-pyglew (0.1.2-1) unstable; urgency=low
+
+  * Initial release (Closes: #446790)
+
+ -- Sandro Tosi <matrixhasu at gmail.com>  Wed, 17 Oct 2007 22:51:18 +0200

Added: packages/python-pyglew/trunk/debian/compat
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pyglew/trunk/debian/compat?rev=3462&op=file
==============================================================================
--- packages/python-pyglew/trunk/debian/compat (added)
+++ packages/python-pyglew/trunk/debian/compat Wed Oct 24 21:37:12 2007
@@ -1,0 +1,1 @@
+5

Added: packages/python-pyglew/trunk/debian/control
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pyglew/trunk/debian/control?rev=3462&op=file
==============================================================================
--- packages/python-pyglew/trunk/debian/control (added)
+++ packages/python-pyglew/trunk/debian/control Wed Oct 24 21:37:12 2007
@@ -1,0 +1,24 @@
+Source: python-pyglew
+Section: python
+Priority: optional
+Maintainer: Sandro Tosi <matrixhasu at gmail.com>
+Build-Depends: debhelper (>= 5), libglew1.4-dev, python-central (>= 0.5.6), python, dpatch, python-all-dev
+Standards-Version: 3.7.2
+XS-Python-Version: 2.5
+Homepage: http://www.cs.lth.se/home/Calle_Lejdfors/pygpu/
+
+Package: python-pyglew
+Architecture: any
+Depends: ${python:Depends}, ${shlibs:Depends}
+XB-Python-Version: ${python:Versions}
+Description: GLEW bindings for Python
+ PyGLEW  is the  Python-bindings  for the  excellent OpenGL  Extension
+ Wrangler  (GLEW), a  library  that handles  initiliazation of  OpenGL
+ extensions.
+ .
+ This Python wrapper  over GLEW will let that  library to initializate
+ and check availability of extentions,  and then to freely use them in
+ a Python code.
+ .
+ In addition,  there are many  extentions needed by other  tools, like
+ pygpu.

Added: packages/python-pyglew/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pyglew/trunk/debian/copyright?rev=3462&op=file
==============================================================================
--- packages/python-pyglew/trunk/debian/copyright (added)
+++ packages/python-pyglew/trunk/debian/copyright Wed Oct 24 21:37:12 2007
@@ -1,0 +1,34 @@
+This package was debianized by Sandro Tosi <matrixhasu at gmail.com> on
+Wed, 17 Oct 2007 22:48:39 +0200.
+
+It was downloaded from http://www.cs.lth.se/home/Calle_Lejdfors/pygpu/
+
+Upstream Author: 
+
+    Calle Lejdfors <calle.lejdfors at cs.lth.se>
+
+Copyright: 
+
+    Copyright (C) 2005-2007 Carl Johan Lejdfors
+
+License:
+
+    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 a Debian system the complete text of the GNU General Public License
+can be found in the file `/usr/share/common-licenses/GPL-2'
+
+The Debian packaging is (C) 2007, Sandro Tosi <matrixhasu at gmail.com> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.

Added: packages/python-pyglew/trunk/debian/patches/00list
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pyglew/trunk/debian/patches/00list?rev=3462&op=file
==============================================================================
--- packages/python-pyglew/trunk/debian/patches/00list (added)
+++ packages/python-pyglew/trunk/debian/patches/00list Wed Oct 24 21:37:12 2007
@@ -1,0 +1,1 @@
+10_fix_setup_py.dpatch

Added: packages/python-pyglew/trunk/debian/patches/10_fix_setup_py.dpatch
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pyglew/trunk/debian/patches/10_fix_setup_py.dpatch?rev=3462&op=file
==============================================================================
--- packages/python-pyglew/trunk/debian/patches/10_fix_setup_py.dpatch (added)
+++ packages/python-pyglew/trunk/debian/patches/10_fix_setup_py.dpatch Wed Oct 24 21:37:12 2007
@@ -1,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 10_fix_setup_py.dpatch by Sandro Tosi <matrixhasu at gmail.com>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad python-pyglew~/setup.py python-pyglew/setup.py
+--- python-pyglew~/setup.py	2007-10-16 09:48:38.000000000 +0200
++++ python-pyglew/setup.py	2007-10-20 23:53:39.000000000 +0200
+@@ -5,7 +5,7 @@
+ if os.name == 'nt': 
+    data_files=[('Lib/site-packages', ['pyglew.dll', 'glew32.dll'])]
+ else:
+-   data_files=[('lib/python2.5/site-packages', ['pyglew.so', 'libGLEW.so'])]
++   data_files=[('lib/python2.5/site-packages', ['pyglew.so'])]
+ 
+ setup(name='PyGLEW',
+       version='0.1.2',

Propchange: packages/python-pyglew/trunk/debian/patches/10_fix_setup_py.dpatch
------------------------------------------------------------------------------
    svn:executable = *

Added: packages/python-pyglew/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pyglew/trunk/debian/rules?rev=3462&op=file
==============================================================================
--- packages/python-pyglew/trunk/debian/rules (added)
+++ packages/python-pyglew/trunk/debian/rules Wed Oct 24 21:37:12 2007
@@ -1,0 +1,83 @@
+#!/usr/bin/make -f
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+include /usr/share/dpatch/dpatch.make
+
+PYDEF=$(shell pyversions -d)
+PYVERS=$(shell pyversions -r)
+PYVERSLIST=$(shell pyversions -vs)
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	# Add here commands to configure the package.
+	touch configure-stamp
+
+
+build: build-stamp
+build-stamp: patch-stamp configure-stamp 
+	dh_testdir
+
+	# Add here commands to compile the package.
+	for python in $(PYVERS); do \
+		python=$$(echo $$python | sed "s/$(PYDEF)/python/"); \
+		$(MAKE) PYTHON=$$python; \
+	done
+
+	touch $@
+
+clean: unpatch
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+
+	# Add here commands to clean up after the build process.
+	for python in $(PYVERS); do \
+		python=$$(echo $$python | sed "s/$(PYDEF)/python/"); \
+		$$python setup.py clean; \
+	done
+
+
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+	# Add here commands to install the package into debian/python-pyglew.
+	for python in $(PYVERS); do \
+		python=$$(echo $$python | sed "s/$(PYDEF)/python/"); \
+		$$python setup.py install --root=$(CURDIR)/debian/python-pyglew; \
+	done
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs 
+	dh_installdocs		README
+	dh_pycentral
+	dh_installman
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	# workaround to let think libpython<VER> is local, so that dh_shlibdebs does not generate
+	# dependencies on them, but only ${python:Depends} will
+	( for i in $(PYVERSLIST); do echo libpython$$i 1.0; done ) > debian/shlibs.local
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure

Propchange: packages/python-pyglew/trunk/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: packages/python-pyglew/trunk/debian/watch
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pyglew/trunk/debian/watch?rev=3462&op=file
==============================================================================
--- packages/python-pyglew/trunk/debian/watch (added)
+++ packages/python-pyglew/trunk/debian/watch Wed Oct 24 21:37:12 2007
@@ -1,0 +1,4 @@
+# Compulsory line, this is a version 3 file
+version=3
+
+http://www.cs.lth.se/home/Calle_Lejdfors/pygpu/ PyGLEW-([\d.]*)\.tar\.gz




More information about the Python-modules-commits mailing list