Hello community,

here is the log from the commit of package pyalsa for openSUSE:Factory checked 
in at 2012-09-11 09:14:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pyalsa (Old)
 and      /work/SRC/openSUSE:Factory/.pyalsa.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pyalsa", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/pyalsa/pyalsa.changes    2012-03-22 
12:38:53.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.pyalsa.new/pyalsa.changes       2012-09-11 
09:14:51.000000000 +0200
@@ -1,0 +2,6 @@
+Fri Sep  7 15:34:58 CEST 2012 - [email protected]
+
+- Updated to version 1.0.26:
+  just include previous fixes
+
+-------------------------------------------------------------------

Old:
----
  0001-Fix-get_volume_array-for-mono-channels.patch
  0002-Fix-pyalsa-tests-for-new-function-names.patch
  pyalsa-1.0.25.tar.bz2

New:
----
  pyalsa-1.0.26.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ pyalsa.spec ++++++
--- /var/tmp/diff_new_pack.l4AOmB/_old  2012-09-11 09:14:59.000000000 +0200
+++ /var/tmp/diff_new_pack.l4AOmB/_new  2012-09-11 09:14:59.000000000 +0200
@@ -19,7 +19,7 @@
 Name:           pyalsa
 BuildRequires:  alsa-devel
 BuildRequires:  python-devel
-Version:        1.0.25
+Version:        1.0.26
 Release:        0
 Summary:        Python ALSA binding
 License:        LGPL-2.1+ ; GPL-2.0
@@ -27,8 +27,6 @@
 Source:         pyalsa-%{version}.tar.bz2
 Source1:        COPYING
 Source2:        COPYING.LIB
-Patch1:         0001-Fix-get_volume_array-for-mono-channels.patch
-Patch2:         0002-Fix-pyalsa-tests-for-new-function-names.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %{py_requires}
 
@@ -37,8 +35,6 @@
 
 %prep
 %setup -q
-%patch1 -p1
-%patch2 -p1
 cp %{S:1} %{S:2} .
 
 %build

++++++ pyalsa-1.0.25.tar.bz2 -> pyalsa-1.0.26.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyalsa-1.0.25/MANIFEST.in 
new/pyalsa-1.0.26/MANIFEST.in
--- old/pyalsa-1.0.25/MANIFEST.in       2012-01-25 08:57:13.000000000 +0100
+++ new/pyalsa-1.0.26/MANIFEST.in       1970-01-01 01:00:00.000000000 +0100
@@ -1,2 +0,0 @@
-include test/*.py
-include utils/*.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyalsa-1.0.25/PKG-INFO new/pyalsa-1.0.26/PKG-INFO
--- old/pyalsa-1.0.25/PKG-INFO  2012-01-25 10:33:12.000000000 +0100
+++ new/pyalsa-1.0.26/PKG-INFO  2012-09-06 10:47:38.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.0
 Name: pyalsa
-Version: 1.0.25
+Version: 1.0.26
 Summary: UNKNOWN
 Home-page: UNKNOWN
 Author: The ALSA Team
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyalsa-1.0.25/pyalsa/alsamixer.c 
new/pyalsa-1.0.26/pyalsa/alsamixer.c
--- old/pyalsa-1.0.25/pyalsa/alsamixer.c        2012-01-25 08:57:13.000000000 
+0100
+++ new/pyalsa-1.0.26/pyalsa/alsamixer.c        2012-09-06 09:52:57.000000000 
+0200
@@ -627,7 +627,7 @@
                                return NULL;
                        res = snd_mixer_selem_get_playback_volume(pyelem->elem, 
SND_MIXER_SCHN_MONO, &val);
                        if (res >= 0)
-                               PyTuple_SetItem(t, 0, PyInt_FromLong(val));
+                               PyList_SetItem(t, 0, PyInt_FromLong(val));
                } else {
                        t = PyList_New(SND_MIXER_SCHN_LAST+1);
                        if (!t)
@@ -658,7 +658,7 @@
                                return NULL;
                        res = snd_mixer_selem_get_capture_volume(pyelem->elem, 
SND_MIXER_SCHN_MONO, &val);
                        if (res >= 0)
-                               PyTuple_SET_ITEM(t, 0, PyInt_FromLong(val));
+                               PyList_SET_ITEM(t, 0, PyInt_FromLong(val));
                } else {
                        t = PyList_New(SND_MIXER_SCHN_LAST+1);
                        if (!t)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyalsa-1.0.25/pyalsa.egg-info/PKG-INFO 
new/pyalsa-1.0.26/pyalsa.egg-info/PKG-INFO
--- old/pyalsa-1.0.25/pyalsa.egg-info/PKG-INFO  2012-01-25 10:33:12.000000000 
+0100
+++ new/pyalsa-1.0.26/pyalsa.egg-info/PKG-INFO  1970-01-01 01:00:00.000000000 
+0100
@@ -1,10 +0,0 @@
-Metadata-Version: 1.0
-Name: pyalsa
-Version: 1.0.25
-Summary: UNKNOWN
-Home-page: UNKNOWN
-Author: The ALSA Team
-Author-email: [email protected]
-License: UNKNOWN
-Description: UNKNOWN
-Platform: UNKNOWN
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyalsa-1.0.25/pyalsa.egg-info/SOURCES.txt 
new/pyalsa-1.0.26/pyalsa.egg-info/SOURCES.txt
--- old/pyalsa-1.0.25/pyalsa.egg-info/SOURCES.txt       2012-01-25 
10:33:12.000000000 +0100
+++ new/pyalsa-1.0.26/pyalsa.egg-info/SOURCES.txt       1970-01-01 
01:00:00.000000000 +0100
@@ -1,26 +0,0 @@
-MANIFEST.in
-setup.py
-pyalsa/__init__.py
-pyalsa/alsacard.c
-pyalsa/alsacontrol.c
-pyalsa/alsahcontrol.c
-pyalsa/alsamixer.c
-pyalsa/alsaseq.c
-pyalsa.egg-info/PKG-INFO
-pyalsa.egg-info/SOURCES.txt
-pyalsa.egg-info/dependency_links.txt
-pyalsa.egg-info/top_level.txt
-test/alsamemdebug.py
-test/cardtest1.py
-test/ctltest1.py
-test/hctltest1.py
-test/hctltest2.py
-test/mixertest1.py
-test/mixertest2.py
-test/seqtest1.py
-test/seqtest2.py
-test/seqtest3.py
-utils/aconnect.py
-utils/aplaymidi.py
-utils/aseqdump.py
-utils/remove-user-ctl.py
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyalsa-1.0.25/pyalsa.egg-info/dependency_links.txt 
new/pyalsa-1.0.26/pyalsa.egg-info/dependency_links.txt
--- old/pyalsa-1.0.25/pyalsa.egg-info/dependency_links.txt      2012-01-25 
10:33:12.000000000 +0100
+++ new/pyalsa-1.0.26/pyalsa.egg-info/dependency_links.txt      1970-01-01 
01:00:00.000000000 +0100
@@ -1 +0,0 @@
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyalsa-1.0.25/pyalsa.egg-info/top_level.txt 
new/pyalsa-1.0.26/pyalsa.egg-info/top_level.txt
--- old/pyalsa-1.0.25/pyalsa.egg-info/top_level.txt     2012-01-25 
10:33:12.000000000 +0100
+++ new/pyalsa-1.0.26/pyalsa.egg-info/top_level.txt     1970-01-01 
01:00:00.000000000 +0100
@@ -1 +0,0 @@
-pyalsa
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyalsa-1.0.25/setup.cfg new/pyalsa-1.0.26/setup.cfg
--- old/pyalsa-1.0.25/setup.cfg 2012-01-25 10:33:13.000000000 +0100
+++ new/pyalsa-1.0.26/setup.cfg 1970-01-01 01:00:00.000000000 +0100
@@ -1,5 +0,0 @@
-[egg_info]
-tag_build = 
-tag_date = 0
-tag_svn_revision = 0
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyalsa-1.0.25/setup.py new/pyalsa-1.0.26/setup.py
--- old/pyalsa-1.0.25/setup.py  2012-01-25 08:57:13.000000000 +0100
+++ new/pyalsa-1.0.26/setup.py  2012-09-06 09:52:57.000000000 +0200
@@ -8,7 +8,7 @@
 except ImportError:
        from distutils.core import setup, Extension
 
-VERSION='1.0.25'
+VERSION='1.0.26'
 
 if os.path.exists("version"):
        fp = open("version", "r")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyalsa-1.0.25/test/mixertest2.py 
new/pyalsa-1.0.26/test/mixertest2.py
--- old/pyalsa-1.0.25/test/mixertest2.py        2012-01-25 08:57:13.000000000 
+0100
+++ new/pyalsa-1.0.26/test/mixertest2.py        2012-09-06 09:52:57.000000000 
+0200
@@ -10,25 +10,25 @@
 def parse_event_mask(events):
        if events == 0:
                return 'None'
-       if events == alsamixer.EventMaskRemove:
+       if events == alsamixer.event_mask_remove:
                return 'Removed'
        s = ''
-       for i in alsamixer.EventMask.keys():
-               if events & alsamixer.EventMask[i]:
+       for i in alsamixer.event_mask.keys():
+               if events & alsamixer.event_mask[i]:
                        s += '%s ' % i
        return s[:-1]
 
 def event_callback(element, events):
 
        print 'CALLBACK (DEF)! [%s] %s:%i' % (parse_event_mask(events), 
element.name, element.index)
-       print '  ', element.getVolumeTuple(), element.getSwitchTuple()
+       print '  ', element.get_volume_tuple(), element.get_switch_tuple()
 
 
 class MyElementEvent:
 
        def callback(self, element, events):
                print 'CALLBACK (CLASS)! [%s] %s:%i' % 
(parse_event_mask(events), element.name, element.index)
-               print '  ', element.getVolumeTuple(), element.getSwitchTuple()
+               print '  ', element.get_volume_tuple(), 
element.get_switch_tuple()
 
 
 mixer = alsamixer.Mixer()
@@ -36,13 +36,13 @@
 mixer.load()
 
 element1 = alsamixer.Element(mixer, "Front")
-element1.setCallback(event_callback)
+element1.set_callback(event_callback)
 element2 = alsamixer.Element(mixer, "PCM")
-element2.setCallback(MyElementEvent())
+element2.set_callback(MyElementEvent())
 
 poller = select.poll()
-mixer.registerPoll(poller)
+mixer.register_poll(poller)
 while True:
        poller.poll()
        print 'Poll OK!'
-       mixer.handleEvents()
+       mixer.handle_events()

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to