[Demudi-commits] r1534 - csound/trunk/debian

fsateler-guest at alioth.debian.org fsateler-guest at alioth.debian.org
Sat Aug 4 22:43:07 UTC 2007


Author: fsateler-guest
Date: 2007-08-04 22:43:06 +0000 (Sat, 04 Aug 2007)
New Revision: 1534

Added:
   csound/trunk/debian/python-csound.install
Modified:
   csound/trunk/debian/control
   csound/trunk/debian/rules
Log:
Start work on the python bindings, fix java dependencies, and some formatting changes.


Modified: csound/trunk/debian/control
===================================================================
--- csound/trunk/debian/control	2007-08-04 20:19:23 UTC (rev 1533)
+++ csound/trunk/debian/control	2007-08-04 22:43:06 UTC (rev 1534)
@@ -2,11 +2,12 @@
 Section: sound
 Priority: extra
 Maintainer: Debian Multimedia Team <debian-multimedia at lists.debian.org>
-Build-Depends: debhelper (>= 5), libfltk1.1-dev, libasound2-dev, libjack0.100.0-dev, portaudio19-dev, libfluidsynth-dev, liblo0-dev, puredata, tk8.4-dev, tcl8.4-dev, libportmidi-dev, python-dev, scons, libsndfile1-dev, fluid, liblua5.1-0-dev, swig, ladspa-sdk, java-gcj-compat-dev | java2-compiler, dpatch
+Build-Depends: debhelper (>= 5), libfltk1.1-dev, libasound2-dev, libjack0.100.0-dev, portaudio19-dev, libfluidsynth-dev, liblo0-dev, puredata, tk8.4-dev, tcl8.4-dev, libportmidi-dev, python-all-dev (>= 2.3.5-11), python-central (>= 0.5.6), scons, libsndfile1-dev, fluid, liblua5.1-0-dev, swig, ladspa-sdk, java-gcj-compat-dev | java2-compiler, dpatch
 Standards-Version: 3.7.2
 Uploaders: Felipe Sateler <fsateler at gmail.com>
 XS-Vcs-Svn: svn://svn.debian.org/demudi/csound
 XS-Vcs-Browser: http://svn.debian.org/wsvn/demudi/csound
+XS-Python-Version: current
 
 Package: csound
 Architecture: any
@@ -37,11 +38,13 @@
 
 Package: libcsnd-java
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, java-gcj-compat | java-virtual-machine, java-gcj-compat | java2-runtime
+Depends: ${shlibs:Depends}, ${misc:Depends}, java-gcj-compat | java2-runtime
 Recommends: csound
+Suggests: java-virtual-machine
 Description: Java bindings for csound
- These are the java bindings for csound. For more information on csound,
- see the csound package
+ These are the java bindings for the csound.
+ .
+ For more information on csound, see the csound package
 
 Package: libcsound64-dev
 Architecture: any
@@ -49,6 +52,7 @@
 Description: development files for libcsound
  This package contains the development files needed to build programs
  linking to the csound library.
+ .
  For more information on csound, see the csound package.
 
 Package: pd-csound
@@ -56,5 +60,15 @@
 Depends: csound, puredata
 Description: csound external for PureData
  This is the csoundapi~ opcode for PureData.
+ .
  For more information on csound or puredata, see the respective packages.
 
+Package: python-csound
+Architecture: any
+XB-Python-Version: ${python:Versions}
+Depends: ${pyhton:Depends}, ${shlibs:Depends}
+Provides: ${python:Provides}
+Description: python bindings for csound
+ This is the python binding for the csound API.
+ .
+ For more information con csound, see the csound package.

Added: csound/trunk/debian/python-csound.install
===================================================================
--- csound/trunk/debian/python-csound.install	                        (rev 0)
+++ csound/trunk/debian/python-csound.install	2007-08-04 22:43:06 UTC (rev 1534)
@@ -0,0 +1 @@
+usr/lib/python*/*

Modified: csound/trunk/debian/rules
===================================================================
--- csound/trunk/debian/rules	2007-08-04 20:19:23 UTC (rev 1533)
+++ csound/trunk/debian/rules	2007-08-04 22:43:06 UTC (rev 1534)
@@ -26,6 +26,8 @@
 
 CSVERSION=5.06.0
 
+PYVERSION=$(shell pyversions -r)
+
 CFLAGS = -Wall -g
 
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
@@ -107,6 +109,10 @@
 	mv libcsound64.so $(CURDIR)/debian/tmp/usr/lib/
 	ln -s $(CURDIR)/debian/tmp/usr/lib/libcsound64.so.5.1 \
 		$(CURDIR)/debian/tmp/usr/lib/libcsound64.so.5
+# The python module
+	mkdir -p $(CURDIR)/debian/tmp/usr/lib/$(PYVERSION)/site-packages
+	mv csnd.py _csnd.so \
+		$(CURDIR)/debian/tmp/usr/lib/$(PYVERSION)/site-packages
 
 	dh_install -s --sourcedir=$(CURDIR)/debian/tmp/
 
@@ -121,7 +127,7 @@
 	dh_installexamples
 #	dh_installmenu
 #	dh_installmime
-	dh_python
+	dh_pycentral -ppython-csound
 	dh_installman
 	dh_link
 	dh_strip




More information about the Demudi-commits mailing list