[Python-modules-commits] r4722 - in packages/pycg/trunk/debian (4 files)
morph-guest at users.alioth.debian.org
morph-guest at users.alioth.debian.org
Mon Mar 3 20:11:52 UTC 2008
Date: Monday, March 3, 2008 @ 20:11:49
Author: morph-guest
Revision: 4722
POX's suggestions: copyright, dbg pkg
Modified:
packages/pycg/trunk/debian/changelog
packages/pycg/trunk/debian/control
packages/pycg/trunk/debian/copyright
packages/pycg/trunk/debian/rules
Modified: packages/pycg/trunk/debian/changelog
===================================================================
--- packages/pycg/trunk/debian/changelog 2008-03-03 11:36:57 UTC (rev 4721)
+++ packages/pycg/trunk/debian/changelog 2008-03-03 20:11:49 UTC (rev 4722)
@@ -1,5 +1,9 @@
-pycg (0.14.1-1) unstable; urgency=low
+pycg (0.14.1-1) UNRELEASED; urgency=low
* Initial release (Closes: #446791)
+ * debian/patches/01_fix_makefile.dpatch
+ - converge upstream build system into Makefile
+ * debian/patches/02_fix_setup.py.dpatch
+ - fix setup.py file to let the package build on a Debian box
-- Sandro Tosi <matrixhasu at gmail.com> Wed, 13 Feb 2008 21:20:08 +0100
Modified: packages/pycg/trunk/debian/control
===================================================================
--- packages/pycg/trunk/debian/control 2008-03-03 11:36:57 UTC (rev 4721)
+++ packages/pycg/trunk/debian/control 2008-03-03 20:11:49 UTC (rev 4722)
@@ -3,7 +3,7 @@
Priority: optional
Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
Uploaders: Sandro Tosi <matrixhasu at gmail.com>
-Build-Depends: debhelper (>= 5.0.38), python-central (>= 0.5.6), python, dpatch, python-all-dev, swig, nvidia-cg-toolkit, python-numeric, mesa-common-dev, libgl1-mesa-dev
+Build-Depends: debhelper (>= 5.0.38), python-central (>= 0.5.6), python, dpatch, python-all-dev, python-all-dbg, swig, nvidia-cg-toolkit, python-numpy, mesa-common-dev, libgl1-mesa-dev
Standards-Version: 3.7.3
Homepage: http://www.cs.lth.se/home/Calle_Lejdfors/pygpu/
Vcs-Svn: svn://svn.debian.org/python-modules/packages/pycg/trunk/
@@ -12,7 +12,7 @@
Package: python-cg
Architecture: amd64 i386
-Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, nvidia-cg-toolkit, python-numeric
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, nvidia-cg-toolkit, python-numpy
XB-Python-Version: ${python:Versions}
Provides: ${python:Provides}
Description: nVidia Cg driver binding for Python
@@ -23,3 +23,19 @@
.
The package contains a Python wrapper for nVidia Cg Library to allow
Python programs to interact with nVidia graphic cards using Cg.
+
+
+Package: python-cg-dbg
+Priority: extra
+Architecture: amd64 i386
+Depends: python-cg (= ${binary:Version}), python-dbg, ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, nvidia-cg-toolkit, python-numpy
+XB-Python-Version: ${python:Versions}
+Provides: ${python:Provides}
+Description: nVidia Cg driver binding for Python
+ nVidia Cg is a toolkit that provides a compiler for the Cg language,
+ runtime libraries for use with both leading graphics APIs and runtime
+ libraries, supporting over 24 different OpenGL and DirectX profile
+ targets.
+ .
+ The package contains a Python wrapper for nVidia Cg Library to allow
+ Python programs to interact with nVidia graphic cards using Cg.
Modified: packages/pycg/trunk/debian/copyright
===================================================================
--- packages/pycg/trunk/debian/copyright 2008-03-03 11:36:57 UTC (rev 4721)
+++ packages/pycg/trunk/debian/copyright 2008-03-03 20:11:49 UTC (rev 4722)
@@ -55,3 +55,21 @@
* HOWEVER CAUSED AND WHETHER UNDER THEORY OF CONTRACT, TORT (INCLUDING
* NEGLIGENCE), STRICT LIABILITY OR OTHERWISE, EVEN IF NVIDIA HAS BEEN ADVISED
* OF THE POSSIBILITY OF SUCH DAMAGE.
+
+From that, this software is licensed under the GPL version 2. See
+LICENSE for more information. In addition, as a special exception, the
+copyright holders of PyCg allows linking to NVIDIA's Cg.
+
+This file have a different copyright note:
+File: simple.cg
+
+Copyright NVIDIA Corporation 2002
+TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THIS SOFTWARE IS PROVIDED
+*AS IS* AND NVIDIA AND ITS SUPPLIERS DISCLAIM ALL WARRANTIES, EITHER EXPRESS
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY
+AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL NVIDIA OR ITS SUPPLIERS
+BE LIABLE FOR ANY SPECIAL, INCIDENTAL, INDIRECT, OR CONSEQUENTIAL DAMAGES
+WHATSOEVER (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF BUSINESS PROFITS,
+BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION, OR ANY OTHER PECUNIARY LOSS)
+ARISING OUT OF THE USE OF OR INABILITY TO USE THIS SOFTWARE, EVEN IF NVIDIA HAS
+BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
Modified: packages/pycg/trunk/debian/rules
===================================================================
--- packages/pycg/trunk/debian/rules 2008-03-03 11:36:57 UTC (rev 4721)
+++ packages/pycg/trunk/debian/rules 2008-03-03 20:11:49 UTC (rev 4722)
@@ -15,8 +15,12 @@
endif
export CXXFLAGS
+build: patch build-stamp
+build-stamp: $(PYVERS:%=build-python%) $(PYVERS:%=build-debug-python%)
+ dh_testdir
+ touch $@
-build-ext-%:
+build-python%:
dh_testdir
[ ! -d build ] || rm -rf build
mkdir -p debian/python-cg/usr/lib/python$*/site-packages/
@@ -30,11 +34,15 @@
echo libpython$* 1.0 >> debian/shlibs.local
touch $@
-build: build-stamp
-build-stamp: patch-stamp $(PYVERS:%=build-ext-%)
+build-debug-python%:
dh_testdir
- touch $@
+ [ ! -d build ] || rm -rf build
+ mkdir -p debian/python-cg/usr/lib/python$*_d/site-packages/
+ $(MAKE) PYTHON=python$*_d clean
+ $(MAKE) PYTHON=python$*_d
+ dh_install _Cg.so /usr/lib/python$*_d/site-packages/
+
clean: unpatch
dh_testdir
dh_testroot
@@ -55,6 +63,7 @@
cp Cg.py Cg/__init__.py
python setup.py install --root=$(CURDIR)/debian/python-cg
+ python-dbg setup.py install --root=$(CURDIR)/debian/python-cg-dbg
# Build architecture-independent files here.
binary-indep:
@@ -66,11 +75,8 @@
dh_testroot
dh_installchangelogs
dh_installdocs README
- dh_installexamples
dh_pycentral
- dh_installman
- dh_link
- dh_strip
+ dh_strip -ppython-cg --dbg-package=python-cg-dbg
dh_compress
dh_fixperms
dh_installdeb
More information about the Python-modules-commits
mailing list