[Python-modules-commits] r4709 - in packages/pyopengl/trunk/debian (7 files)

shlomme at users.alioth.debian.org shlomme at users.alioth.debian.org
Sun Mar 2 21:34:45 UTC 2008


    Date: Sunday, March 2, 2008 @ 21:34:44
  Author: shlomme
Revision: 4709

* packaged new upstream release

Added:
  packages/pyopengl/trunk/debian/patches/
  packages/pyopengl/trunk/debian/patches/00list
  packages/pyopengl/trunk/debian/patches/01_no_ctypes_dep.dpatch
Modified:
  packages/pyopengl/trunk/debian/changelog
  packages/pyopengl/trunk/debian/control
  packages/pyopengl/trunk/debian/control.in
  packages/pyopengl/trunk/debian/rules

Modified: packages/pyopengl/trunk/debian/changelog
===================================================================
--- packages/pyopengl/trunk/debian/changelog	2008-03-02 21:31:55 UTC (rev 4708)
+++ packages/pyopengl/trunk/debian/changelog	2008-03-02 21:34:44 UTC (rev 4709)
@@ -1,4 +1,4 @@
-pyopengl (3.0.0~a6-5) UNRELEASED; urgency=low
+pyopengl (3.0.0~b1-1) UNRELEASED; urgency=low
 
   [ Piotr Ożarowski ]
   * Homepage field added
@@ -10,8 +10,16 @@
   * debian/control
     - uniforming Vcs-Browser field
 
- -- Sandro Tosi <matrixhasu at gmail.com>  Sun, 25 Nov 2007 12:59:40 +0100
+  [ Torsten Marek ]
+  * New upstream release.
+  * Added suggestion for libgle3
+  * Updated standards version to 3.7.3, no changes necessary.
+  * Added patch to remove setuptools-dependency on ctypes in setup.py
+  * Replace dependency on python-setuptools with 
+    python-pkg-resources. (Closes: #468718)
 
+ -- Torsten Marek <shlomme at debian.org>  Sun, 02 Mar 2008 02:58:08 +0100
+
 pyopengl (3.0.0~a6-4) unstable; urgency=low
 
   * Just suggest python-numpy, don't recommend it. (Closes: #435602)

Modified: packages/pyopengl/trunk/debian/control
===================================================================
--- packages/pyopengl/trunk/debian/control	2008-03-02 21:31:55 UTC (rev 4708)
+++ packages/pyopengl/trunk/debian/control	2008-03-02 21:34:44 UTC (rev 4709)
@@ -3,18 +3,18 @@
 Priority: optional
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org> 
 Uploaders: Torsten Marek <shlomme at debian.org>
-Build-Depends-Indep: python-setuptools (>= 0.6b3-1)
-Build-Depends: debhelper (>= 5.0.38), cdbs (>= 0.4.43), python-central (>= 0.5.8), python-all-dev (>= 2.3.5-11)
-Standards-Version: 3.7.2
+Build-Depends-Indep: python-setuptools (>= 0.6b3)
+Build-Depends: cdbs (>= 0.4.43), debhelper (>= 5.0.39), python-central (>= 0.5.10), dpatch, python-all-dev (>= 2.3.5-11)
+Standards-Version: 3.7.3
 Homepage: http://pyopengl.sourceforge.net
 XS-Python-Version: all
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/pyopengl/trunk/
-Vcs-Browser: http://svn.debian.org/wsvn/python-modules/packages/pyopengl/trunk/?op=log
+Vcs-Browser: http://svn.debian.org/wsvn/python-modules/packages/pyopengl/trunk/
 
 Package: python-opengl
 Architecture: all
-Depends: ${python:Depends}, python-ctypes, libgl1-mesa-glx | libgl1, libglu1-mesa | libglu1, freeglut3, python-setuptools
-Suggests: python-tk, python-numpy
+Depends: ${python:Depends}, python-ctypes, libgl1-mesa-glx | libgl1, libglu1-mesa | libglu1, freeglut3, python-pkg-resources
+Suggests: python-tk, python-numpy, libgle3
 XB-Python-Version: ${python:Versions}
 Description: Python bindings to OpenGL
  PyOpenGL is a cross-platform open source Python binding to the standard

Modified: packages/pyopengl/trunk/debian/control.in
===================================================================
--- packages/pyopengl/trunk/debian/control.in	2008-03-02 21:31:55 UTC (rev 4708)
+++ packages/pyopengl/trunk/debian/control.in	2008-03-02 21:34:44 UTC (rev 4709)
@@ -3,9 +3,9 @@
 Priority: optional
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org> 
 Uploaders: Torsten Marek <shlomme at debian.org>
-Build-Depends-Indep: python-setuptools (>= 0.6b3-1)
+Build-Depends-Indep: python-setuptools (>= 0.6b3)
 Build-Depends: @cdbs@, python-all-dev (>= 2.3.5-11)
-Standards-Version: 3.7.2
+Standards-Version: 3.7.3
 Homepage: http://pyopengl.sourceforge.net
 XS-Python-Version: all
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/pyopengl/trunk/
@@ -13,8 +13,8 @@
 
 Package: python-opengl
 Architecture: all
-Depends: ${python:Depends}, python-ctypes, libgl1-mesa-glx | libgl1, libglu1-mesa | libglu1, freeglut3, python-setuptools
-Suggests: python-tk, python-numpy
+Depends: ${python:Depends}, python-ctypes, libgl1-mesa-glx | libgl1, libglu1-mesa | libglu1, freeglut3, python-pkg-resources
+Suggests: python-tk, python-numpy, libgle3
 XB-Python-Version: ${python:Versions}
 Description: Python bindings to OpenGL
  PyOpenGL is a cross-platform open source Python binding to the standard

Added: packages/pyopengl/trunk/debian/patches/00list
===================================================================
--- packages/pyopengl/trunk/debian/patches/00list	                        (rev 0)
+++ packages/pyopengl/trunk/debian/patches/00list	2008-03-02 21:34:44 UTC (rev 4709)
@@ -0,0 +1 @@
+01_no_ctypes_dep

Added: packages/pyopengl/trunk/debian/patches/01_no_ctypes_dep.dpatch
===================================================================
--- packages/pyopengl/trunk/debian/patches/01_no_ctypes_dep.dpatch	                        (rev 0)
+++ packages/pyopengl/trunk/debian/patches/01_no_ctypes_dep.dpatch	2008-03-02 21:34:44 UTC (rev 4709)
@@ -0,0 +1,20 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01_shnurzel.dpatch by Torsten Marek <shlomme at debian.org>
+##
+## DP: Don't ever depend on ctypes, conflicts with CDBS' egg 
+## DP: management.
+
+ at DPATCH@
+--- PyOpenGL-3.0.0b1/setup.py	2007-12-30 00:49:30.000000000 +0100
++++ new/setup.py	2008-03-02 02:52:43.000000000 +0100
+@@ -7,8 +7,8 @@
+ import metadata
+ 
+ requirements = []
+-if sys.hexversion < 0x2050000:
+-	requirements.append( 'ctypes' )
++#if sys.hexversion < 0x2050000:
++#	requirements.append( 'ctypes' )
+ 
+ if __name__ == "__main__":
+ 	setup(


Property changes on: packages/pyopengl/trunk/debian/patches/01_no_ctypes_dep.dpatch
___________________________________________________________________
Name: svn:executable
   + *

Modified: packages/pyopengl/trunk/debian/rules
===================================================================
--- packages/pyopengl/trunk/debian/rules	2008-03-02 21:31:55 UTC (rev 4708)
+++ packages/pyopengl/trunk/debian/rules	2008-03-02 21:34:44 UTC (rev 4709)
@@ -4,7 +4,9 @@
 
 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
+include /usr/share/cdbs/1/rules/dpatch.mk
+# needed to use the dpatch tools (like dpatch-edit-patch)
+include /usr/share/dpatch/dpatch.make
 
 # Install egg-info directories
 DEB_PYTHON_INSTALL_ARGS_ALL += --single-version-externally-managed
@@ -17,8 +19,12 @@
 # 	where does this come from?
 	mv ${DEB_DESTDIR}/usr/share/pycentral/python-opengl/site-packages/PyOpenGL-${UPSTREAM_VERSION}-py${PYVER}.egg-info \
                 ${DEB_DESTDIR}/usr/share/pycentral/python-opengl/site-packages/PyOpenGL-${UPSTREAM_VERSION}.egg-info
+install/python-opengl-doc::
+	cd documentation/pydoc/ && PYTHONPATH="../.." python2.5 builddocs.py
 
+
 clean::
 #	hack (CDBS bug -- see #300149)
 	-rm -rf build
 	-sed -i -e '/setup\.cfg/d' PyOpenGL.egg-info/SOURCES.txt
+	-rm documentation/pydoc/*.html




More information about the Python-modules-commits mailing list