[Python-modules-commits] r16056 - in packages/pygpu/trunk/debian (7 files)

jandd at users.alioth.debian.org jandd at users.alioth.debian.org
Mon Mar 7 21:00:52 UTC 2011


    Date: Monday, March 7, 2011 @ 21:00:35
  Author: jandd
Revision: 16056

* switch from python-central to dh_python2 (Closes: #616967)
* debian/control:
  - switch to my Debian address
  - drop python-central
  - bump debhelper dependency to 7.0.50
  - add version to python dependency
  - bump Standards-Version to 3.9.1 (no changes needed)
  - change XS-Python-Version to X-Python-Version
  - drop XB-Python-Version
  - add Breaks: ${python:Breaks}
  - add Provides: ${python:Provides}
* add debian/source/format
* add README.txt to new debian/python-pygpu.docs
* add main.py and data directory to new debian/python-pygpu.examples
* debian/compat:
  - bump debhelper compatibility to 7
* debian/rules:
  - switch to simplified dh rules
  - don't compress .py files
  - add --install-layout=deb to setup.py install call
* debian/copyright:
  - add myself to copyright holders of the Debian packaging

Added:
  packages/pygpu/trunk/debian/python-pygpu.docs
  packages/pygpu/trunk/debian/python-pygpu.examples
Modified:
  packages/pygpu/trunk/debian/changelog
  packages/pygpu/trunk/debian/compat
  packages/pygpu/trunk/debian/control
  packages/pygpu/trunk/debian/copyright
  packages/pygpu/trunk/debian/rules

Modified: packages/pygpu/trunk/debian/changelog
===================================================================
--- packages/pygpu/trunk/debian/changelog	2011-03-07 14:31:25 UTC (rev 16055)
+++ packages/pygpu/trunk/debian/changelog	2011-03-07 21:00:35 UTC (rev 16056)
@@ -1,3 +1,30 @@
+pygpu (0.2.0a-629-3) UNRELEASED; urgency=low
+
+  * switch from python-central to dh_python2 (Closes: #616967)
+  * debian/control:
+    - switch to my Debian address
+    - drop python-central
+    - bump debhelper dependency to 7.0.50
+    - add version to python dependency
+    - bump Standards-Version to 3.9.1 (no changes needed)
+    - change XS-Python-Version to X-Python-Version
+    - drop XB-Python-Version
+    - add Breaks: ${python:Breaks}
+    - add Provides: ${python:Provides}
+  * add debian/source/format
+  * add README.txt to new debian/python-pygpu.docs
+  * add main.py and data directory to new debian/python-pygpu.examples
+  * debian/compat:
+    - bump debhelper compatibility to 7
+  * debian/rules:
+    - switch to simplified dh rules
+    - don't compress .py files
+    - add --install-layout=deb to setup.py install call
+  * debian/copyright:
+    - add myself to copyright holders of the Debian packaging
+
+ -- Jan Dittberner <jandd at debian.org>  Mon, 07 Mar 2011 21:32:22 +0100
+
 pygpu (0.2.0a-629-2) unstable; urgency=low
 
   * debian/control

Modified: packages/pygpu/trunk/debian/compat
===================================================================
--- packages/pygpu/trunk/debian/compat	2011-03-07 14:31:25 UTC (rev 16055)
+++ packages/pygpu/trunk/debian/compat	2011-03-07 21:00:35 UTC (rev 16056)
@@ -1 +1 @@
-5
+7

Modified: packages/pygpu/trunk/debian/control
===================================================================
--- packages/pygpu/trunk/debian/control	2011-03-07 14:31:25 UTC (rev 16055)
+++ packages/pygpu/trunk/debian/control	2011-03-07 21:00:35 UTC (rev 16056)
@@ -2,20 +2,20 @@
 Section: contrib/python
 Priority: optional
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Uploaders: Sandro Tosi <morph at debian.org>, Jan Dittberner <jan at dittberner.info>
-Build-Depends: debhelper (>= 5), python
-Build-Depends-Indep: python-central (>= 0.6)
-Standards-Version: 3.8.0
+Uploaders: Sandro Tosi <morph at debian.org>, Jan Dittberner <jandd at debian.org>
+Build-Depends: debhelper (>= 7.0.50~), python (>= 2.6.5-1~)
+Standards-Version: 3.9.1
 Homepage: http://www.cs.lth.se/home/Calle_Lejdfors/pygpu/
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/pygpu/trunk/
 Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/pygpu/trunk/
-XS-Python-Version: all
+X-Python-Version: all
 
 Package: python-pygpu
 Architecture: all
 Depends: ${python:Depends}, ${misc:Depends}, python-numpy,
  python-pyglew, python-pygame, python-imaging, python-cg
-XB-Python-Version: ${python:Versions}
+Provides: ${python:Provides}
+Breaks: ${python:Breaks}
 Description: embedded language for programming GPU using Python
  PyGPU is a compiler that lets you write image processing programs in
  Python that execute on the graphics processing unit (GPU) present in

Modified: packages/pygpu/trunk/debian/copyright
===================================================================
--- packages/pygpu/trunk/debian/copyright	2011-03-07 14:31:25 UTC (rev 16055)
+++ packages/pygpu/trunk/debian/copyright	2011-03-07 21:00:35 UTC (rev 16056)
@@ -32,4 +32,5 @@
 can be found in the file `/usr/share/common-licenses/GPL-2'.
 
 The Debian packaging is Copyright (C) 2007-2009, Sandro Tosi <morph at debian.org>
-and is licensed under the same terms of upstream code.
+and Copyright (C) 2007-2009, Jan Dittberner <jandd at debian.org> and is licensed
+under the same terms of upstream code.

Added: packages/pygpu/trunk/debian/python-pygpu.docs
===================================================================
--- packages/pygpu/trunk/debian/python-pygpu.docs	                        (rev 0)
+++ packages/pygpu/trunk/debian/python-pygpu.docs	2011-03-07 21:00:35 UTC (rev 16056)
@@ -0,0 +1 @@
+README.txt

Added: packages/pygpu/trunk/debian/python-pygpu.examples
===================================================================
--- packages/pygpu/trunk/debian/python-pygpu.examples	                        (rev 0)
+++ packages/pygpu/trunk/debian/python-pygpu.examples	2011-03-07 21:00:35 UTC (rev 16056)
@@ -0,0 +1,2 @@
+main.py
+data

Modified: packages/pygpu/trunk/debian/rules
===================================================================
--- packages/pygpu/trunk/debian/rules	2011-03-07 14:31:25 UTC (rev 16055)
+++ packages/pygpu/trunk/debian/rules	2011-03-07 21:00:35 UTC (rev 16056)
@@ -4,46 +4,17 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-build:
+%:
+	dh --with python2 $@
 
-clean:
-	dh_testdir
-	dh_testroot
-
+override_dh_auto_clean:
 	python debian/setup.py clean
-
 	[ ! -d build ] || rm -rf build
-
 	find . -name '*\.py[co]' -delete
 
-	dh_clean build-stamp
+override_dh_compress:
+	dh_compress -X .py
 
-install: build
-	dh_testdir
-	dh_testroot
-	dh_installdirs
-
+override_dh_install:
 	# Add here commands to install the package into debian/python-pygpu
-	python debian/setup.py install --root=$(CURDIR)/debian/python-pygpu
-
-# Build architecture-dependent files here.
-binary-arch: build install
-# We have nothing to do by default.
-
-# Build architecture-independent files here.
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs 
-	dh_installdocs
-	dh_installexamples	main.py pygpu_test.py
-	dh_pycentral
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+	python debian/setup.py install --root=$(CURDIR)/debian/python-pygpu --install-layout=deb




More information about the Python-modules-commits mailing list