[Python-ogre-commit] SF.net SVN: python-ogre:[730] trunk/python-ogre
Brought to you by:
andy_miller,
roman_yakovenko
From: <mi...@us...> - 2008-09-03 12:05:51
|
Revision: 730 http://python-ogre.svn.sourceforge.net/python-ogre/?rev=730&view=rev Author: mithro Date: 2008-09-03 12:06:00 +0000 (Wed, 03 Sep 2008) Log Message: ----------- Split the demos into a different package section. Modified Paths: -------------- trunk/python-ogre/debian/control trunk/python-ogre/debian/rules Added Paths: ----------- trunk/python-ogre/debs/python-ogre-demos/ trunk/python-ogre/debs/python-ogre-demos/changelog trunk/python-ogre/debs/python-ogre-demos/control trunk/python-ogre/debs/python-ogre-demos/dsc trunk/python-ogre/debs/python-ogre-demos/rules Modified: trunk/python-ogre/debian/control =================================================================== --- trunk/python-ogre/debian/control 2008-09-03 11:25:06 UTC (rev 729) +++ trunk/python-ogre/debian/control 2008-09-03 12:06:00 UTC (rev 730) @@ -44,15 +44,3 @@ other Graphics and Gaming libraries. Python-Ogre allows developers to focus on their 'application', taking advantage of the simplicity of Python with the performance and functionality of the underlying libraries. - -Package: python-ogre-demos -Architecture: any -Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}, python-ogre (= ${Source-Version}) -XB-Python-Version: ${python:Versions} -Description: Example programs using the python-ogre package. - . - Python-Ogre is a free open source Python interface to a wide range of C++ - libraries. Focused primarly on supporting the Ogre 3D graphics library and - other Graphics and Gaming libraries. Python-Ogre allows developers to focus - on their 'application', taking advantage of the simplicity of Python with - the performance and functionality of the underlying libraries. Modified: trunk/python-ogre/debian/rules =================================================================== --- trunk/python-ogre/debian/rules 2008-09-03 11:25:06 UTC (rev 729) +++ trunk/python-ogre/debian/rules 2008-09-03 12:06:00 UTC (rev 730) @@ -59,26 +59,12 @@ python$* setup.py install --root=$(CURDIR)/debian/python-ogre python$* setup.py install --root=$(CURDIR)/debian/tmp -demos: - mkdir -p $(CURDIR)/debian/python-ogre-demos/usr/share/python-ogre-demos/ - cp -rvf demos/* $(CURDIR)/debian/python-ogre-demos/usr/share/python-ogre-demos/ - # Clean up any svn directories - find $(CURDIR)/debian/python-ogre-demos -name .svn | xargs rm -rf || true - # Remove any plugins.cfg files - find $(CURDIR)/debian/python-ogre-demos -name plugins.cfg | xargs rm || true - # Remove any yet to work demos - find $(CURDIR)/debian/python-ogre-demos -name tofix | xargs rm -rf || true - # Remove windows only demos - find $(CURDIR)/debian/python-ogre-demos -name dshow | xargs rm -rf || true - # Remove any log files - find $(CURDIR)/debian/python-ogre-demos -name \*.log | xargs rm || true - # Build architecture-independent files here. binary-indep: build install # We have nothing to do here. # Build architecture-dependent files here. -binary-arch: demos build install +binary-arch: build install dh_strip --dbg-package=python-ogre-dbg dh_testdir dh_testroot @@ -103,4 +89,4 @@ # sudo dpkg --install libboost-python1.34.1-index*.deb binary: binary-indep binary-arch -.PHONY: build clean demos binary-indep binary-arch binary install configure prep build $(PYVERS:%=build-python%) $(PYVERS:%=install-python%) +.PHONY: build clean binary-indep binary-arch binary install configure prep build $(PYVERS:%=build-python%) $(PYVERS:%=install-python%) Added: trunk/python-ogre/debs/python-ogre-demos/changelog =================================================================== --- trunk/python-ogre/debs/python-ogre-demos/changelog (rev 0) +++ trunk/python-ogre/debs/python-ogre-demos/changelog 2008-09-03 12:06:00 UTC (rev 730) @@ -0,0 +1,5 @@ +python-ogre-demos (0.0.0-1) unstable; urgency=low + + * First attempt at packaging the demos. + + -- Tim 'Mithro' Ansell <mi...@mi...> Wed, 03 Sep 2008 22:02:00 +1000 Added: trunk/python-ogre/debs/python-ogre-demos/control =================================================================== --- trunk/python-ogre/debs/python-ogre-demos/control (rev 0) +++ trunk/python-ogre/debs/python-ogre-demos/control 2008-09-03 12:06:00 UTC (rev 730) @@ -0,0 +1,20 @@ +Source: python-ogre-demos +Section: python +XS-Python-Version: >=2.4 +Priority: optional +Maintainer: Tim 'Mithro' Ansell <mi...@mi...> +Build-Depends-Indep: python-central (>= 0.5.6), python-setuptools (>= 0.6b3-1), python-all +Build-Depends: debhelper (>= 5.0.38) +Standards-Version: 3.7.2 + +Package: python-ogre-demos +Architecture: any +Depends: ${python:Depends}, ${misc:Depends}, python-ogre +XB-Python-Version: ${python:Versions} +Description: Example programs using the python-ogre package. + . + Python-Ogre is a free open source Python interface to a wide range of C++ + libraries. Focused primarly on supporting the Ogre 3D graphics library and + other Graphics and Gaming libraries. Python-Ogre allows developers to focus + on their 'application', taking advantage of the simplicity of Python with + the performance and functionality of the underlying libraries. Added: trunk/python-ogre/debs/python-ogre-demos/dsc =================================================================== --- trunk/python-ogre/debs/python-ogre-demos/dsc (rev 0) +++ trunk/python-ogre/debs/python-ogre-demos/dsc 2008-09-03 12:06:00 UTC (rev 730) @@ -0,0 +1,10 @@ +Format: 1.0 +Source: python-ogre-demos +Binary: python-ogre-demos +Architecture: any +Version: 0.0.0-1 +Maintainer: Tim 'mithro' Ansell <mi...@mi...> +Standards-Version: 3.7.2.2 +%%BUILDDEPS%% +Files: + %%MD5SUM%% %%SIZE%% Added: trunk/python-ogre/debs/python-ogre-demos/rules =================================================================== --- trunk/python-ogre/debs/python-ogre-demos/rules (rev 0) +++ trunk/python-ogre/debs/python-ogre-demos/rules 2008-09-03 12:06:00 UTC (rev 730) @@ -0,0 +1,65 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +export DH_VERBOSE=1 +export DH_COMPAT=5 + +export CFLAGS=-g +PYTHON := /usr/bin/python +PYVERS := $(shell $(PYTHON) -c 'import sys; print sys.version[:3]') +#PYVERS = 2.5 #$(shell pyversions -vr) + +export BUILDFLAGS=--usesystem --verbose --failhard -g -c + + +build-python%: + mkdir -p $(CURDIR)/debian/python-ogre-demos/usr/share/python-ogre-demos/ + cp -rvf demos/* $(CURDIR)/debian/python-ogre-demos/usr/share/python-ogre-demos/ + # Clean up any svn directories + find $(CURDIR)/debian/python-ogre-demos -name .svn | xargs rm -rf || true + # Remove any plugins.cfg files + find $(CURDIR)/debian/python-ogre-demos -name plugins.cfg | xargs rm || true + # Remove any yet to work demos + find $(CURDIR)/debian/python-ogre-demos -name tofix | xargs rm -rf || true + # Remove windows only demos + find $(CURDIR)/debian/python-ogre-demos -name dshow | xargs rm -rf || true + # Remove any log files + find $(CURDIR)/debian/python-ogre-demos -name \*.log | xargs rm || true + +clean: + dh_testdir + dh_testroot + -find . -name '*.py[co]' | xargs rm -f + dh_clean + +install: $(PYVERS:%=build-python%) $(PYVERS:%=install-python%) + +install-python%: + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do here. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_pycentral + dh_compress -X.py + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + + +binary: binary-indep binary-arch +.PHONY: build clean demos binary-indep binary-arch binary install configure prep build $(PYVERS:%=build-python%) $(PYVERS:%=install-python%) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |