[SCM] pd-py/master: New upstream version 0.2.2+git20170625.1.88fc77a

umlaeute at users.alioth.debian.org umlaeute at users.alioth.debian.org
Sun Jun 25 19:50:31 UTC 2017


The following commit has been merged in the master branch:
commit 69980c040b7c92b4d2e93c6360a6be0cbda1f324
Author: IOhannes m zmölnig <zmoelnig at umlautQ.umlaeute.mur.at>
Date:   Sun Jun 25 21:39:21 2017 +0200

    New upstream version 0.2.2+git20170625.1.88fc77a

diff --git a/build/config-lnx.def b/build/config-lnx.def
index 86477fc..09879a3 100644
--- a/build/config-lnx.def
+++ b/build/config-lnx.def
@@ -2,7 +2,7 @@
 PYTHONPREFIX=/usr
 
 # which Python version do you want to compile against?
-PYTHONVERSION=2.4
+PYTHONVERSION=2.7
 
 # uncomment if numpy/numarray/numeric support should be compiled in
 # for info see http://numeric.scipy.org
diff --git a/maxmsp/py-objectmappings.txt b/maxmsp/py-objectmappings.txt
old mode 100755
new mode 100644
diff --git a/maxmsp/py.maxhelp b/maxmsp/py.maxhelp
index 05a60d2..e6b5d93 100644
--- a/maxmsp/py.maxhelp
+++ b/maxmsp/py.maxhelp
@@ -133,7 +133,7 @@
 , 			{
 				"box" : 				{
 					"maxclass" : "message",
-					"text" : "gain 0.5",
+					"text" : "set gain 0.5",
 					"fontsize" : 12.0,
 					"numinlets" : 2,
 					"patching_rect" : [ 100.77256, 1262.583496, 53.0, 18.0 ],
diff --git a/scripts/sig.py b/scripts/sig.py
index 6bebcb3..7009cd8 100644
--- a/scripts/sig.py
+++ b/scripts/sig.py
@@ -1,6 +1,6 @@
 # py/pyext - python script objects for PD and MaxMSP
 #
-# Copyright (c) 2002-2012 Thomas Grill (gr at grrrr.org)
+# Copyright (c) 2002-2017 Thomas Grill (gr at grrrr.org)
 # For information on usage and redistribution, and for a DISCLAIMER OF ALL
 # WARRANTIES, see the file, "license.txt," in this distribution.  
 #
@@ -35,7 +35,8 @@ except:
 class gain(pyext._class):
     """Just a simple gain stage"""
     
-    gain = 0
+    def __init__(self):
+        self.gain = 0
 
     def _signal(self):
         # Multiply input vector by gain and copy to output
@@ -48,7 +49,8 @@ class gain(pyext._class):
 class gain2(pyext._class):
     """More optimized version"""
     
-    gain = 0
+    def __init__(self):
+        self.gain = 0
 
     def _dsp(self):
         if not self._arraysupport():
diff --git a/scripts/threads.py b/scripts/threads.py
old mode 100755
new mode 100644

-- 
pd-py packaging



More information about the pkg-multimedia-commits mailing list