Hello community, here is the log from the commit of package python-pulsectl for openSUSE:Factory checked in at 2020-03-19 19:51:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pulsectl (Old) and /work/SRC/openSUSE:Factory/.python-pulsectl.new.3160 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pulsectl" Thu Mar 19 19:51:41 2020 rev:5 rq:786391 version:20.2.4 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pulsectl/python-pulsectl.changes 2020-01-20 22:56:31.075368286 +0100 +++ /work/SRC/openSUSE:Factory/.python-pulsectl.new.3160/python-pulsectl.changes 2020-03-19 19:54:23.376277869 +0100 @@ -1,0 +2,7 @@ +Thu Mar 19 09:49:49 UTC 2020 - Marketa Calabkova <mcalabk...@suse.com> + +- update to 20.2.4 + * Add pulse.get_card_by_name() wrapper [#38]. + * Expose "corked" bool attr in PulseSinkInputInfo and PulseSourceOutputInfo [#37]. + +------------------------------------------------------------------- Old: ---- pulsectl-20.1.2.tar.gz New: ---- pulsectl-20.2.4.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pulsectl.spec ++++++ --- /var/tmp/diff_new_pack.1F4iVR/_old 2020-03-19 19:54:24.968277925 +0100 +++ /var/tmp/diff_new_pack.1F4iVR/_new 2020-03-19 19:54:24.992277926 +0100 @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_without test Name: python-pulsectl -Version: 20.1.2 +Version: 20.2.4 Release: 0 Summary: Python high-level interface and ctypes-based bindings for PulseAudio (libpulse) License: MIT ++++++ pulsectl-20.1.2.tar.gz -> pulsectl-20.2.4.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pulsectl-20.1.2/CHANGES.rst new/pulsectl-20.2.4/CHANGES.rst --- old/pulsectl-20.1.2/CHANGES.rst 2020-01-11 17:20:39.000000000 +0100 +++ new/pulsectl-20.2.4/CHANGES.rst 2020-02-27 16:31:58.000000000 +0100 @@ -8,10 +8,14 @@ Each entry is a package version which change first appears in, followed by description of the change itself. -Last synced/updated: 20.1.2 +Last synced/updated: 20.2.4 --------------------------------------------------------------------------- +- 20.2.4: Add pulse.get_card_by_name() wrapper [#38]. + +- 20.2.2: Expose "corked" bool attr in PulseSinkInputInfo and PulseSourceOutputInfo [#37]. + - 20.1.1: Add pulse.play_sample() - server-side stored sample playback [#36]. Loading is not implemented, would suggest something like libcanberra for that. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pulsectl-20.1.2/PKG-INFO new/pulsectl-20.2.4/PKG-INFO --- old/pulsectl-20.1.2/PKG-INFO 2020-01-11 17:24:10.035188400 +0100 +++ new/pulsectl-20.2.4/PKG-INFO 2020-02-27 17:20:20.519531700 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: pulsectl -Version: 20.1.2 +Version: 20.2.4 Summary: Python high-level interface and ctypes-based bindings for PulseAudio (libpulse) Home-page: http://github.com/mk-fg/python-pulse-control Author: George Filipkin, Mike Kazantsev diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pulsectl-20.1.2/pulsectl/_pulsectl.py new/pulsectl-20.2.4/pulsectl/_pulsectl.py --- old/pulsectl-20.1.2/pulsectl/_pulsectl.py 2020-01-11 17:06:48.000000000 +0100 +++ new/pulsectl-20.2.4/pulsectl/_pulsectl.py 2020-02-27 16:25:08.000000000 +0100 @@ -565,6 +565,8 @@ pa_operation_unref=[POINTER(PA_OPERATION)], pa_context_get_card_info_by_index=( 'pa_op', [POINTER(PA_CONTEXT), c_uint32, PA_CARD_INFO_CB_T, c_void_p] ), + pa_context_get_card_info_by_name=( 'pa_op', + [POINTER(PA_CONTEXT), c_str_p, PA_CARD_INFO_CB_T, c_void_p] ), pa_context_get_card_info_list=( 'pa_op', [POINTER(PA_CONTEXT), PA_CARD_INFO_CB_T, c_void_p] ), pa_context_set_card_profile_by_index=( 'pa_op', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pulsectl-20.1.2/pulsectl/pulsectl.py new/pulsectl-20.2.4/pulsectl/pulsectl.py --- old/pulsectl-20.1.2/pulsectl/pulsectl.py 2020-01-11 17:23:05.000000000 +0100 +++ new/pulsectl-20.2.4/pulsectl/pulsectl.py 2020-02-27 16:27:49.000000000 +0100 @@ -145,6 +145,7 @@ self.state = PulseStateEnum._c_val( struct.state, u'state.{}'.format(struct.state) ) self.state_values = sorted(PulseStateEnum._values.values()) + if hasattr(struct, 'corked'): self.corked = bool(struct.corked) self._init_from_struct(struct) def _get_wrapper(self, cls_base): @@ -206,7 +207,7 @@ return self._as_str(self.volume, fields='index name description mute') class PulseSinkInputInfo(PulseObject): - c_struct_fields = ( 'index name mute client' + c_struct_fields = ( 'index name mute corked client' ' owner_module sink sample_spec' ' buffer_usec sink_usec resample_method driver' ) @@ -222,7 +223,7 @@ return self._as_str(self.volume, fields='index name description mute') class PulseSourceOutputInfo(PulseObject): - c_struct_fields = ( 'index name mute client' + c_struct_fields = ( 'index name mute corked client' ' owner_module source sample_spec' ' buffer_usec source_usec resample_method driver' ) @@ -546,6 +547,9 @@ get_source_by_name = _pulse_get_list( c.PA_SOURCE_INFO_CB_T, c.pa.context_get_source_info_by_name, PulseSourceInfo ) + get_card_by_name = _pulse_get_list( + c.PA_CARD_INFO_CB_T, + c.pa.context_get_card_info_by_name, PulseCardInfo ) sink_input_list = _pulse_get_list( c.PA_SINK_INPUT_INFO_CB_T, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pulsectl-20.1.2/pulsectl/tests/dummy_instance.py new/pulsectl-20.2.4/pulsectl/tests/dummy_instance.py --- old/pulsectl-20.1.2/pulsectl/tests/dummy_instance.py 2020-01-11 16:52:54.000000000 +0100 +++ new/pulsectl-20.2.4/pulsectl/tests/dummy_instance.py 2020-02-27 16:30:24.000000000 +0100 @@ -323,6 +323,8 @@ with self.assertRaises(pulsectl.PulseIndexError): pulse.source_info(src_nx) with self.assertRaises(pulsectl.PulseIndexError): pulse.sink_info(sink_nx) + # def test_get_card(self): no cards to test these calls with :( + def test_module_funcs(self): with pulsectl.Pulse('t', server=self.sock_unix) as pulse: self.assertEqual(len(pulse.sink_list()), 2) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pulsectl-20.1.2/pulsectl.egg-info/PKG-INFO new/pulsectl-20.2.4/pulsectl.egg-info/PKG-INFO --- old/pulsectl-20.1.2/pulsectl.egg-info/PKG-INFO 2020-01-11 17:24:09.000000000 +0100 +++ new/pulsectl-20.2.4/pulsectl.egg-info/PKG-INFO 2020-02-27 17:20:20.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: pulsectl -Version: 20.1.2 +Version: 20.2.4 Summary: Python high-level interface and ctypes-based bindings for PulseAudio (libpulse) Home-page: http://github.com/mk-fg/python-pulse-control Author: George Filipkin, Mike Kazantsev diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pulsectl-20.1.2/setup.py new/pulsectl-20.2.4/setup.py --- old/pulsectl-20.1.2/setup.py 2020-01-11 17:22:41.000000000 +0100 +++ new/pulsectl-20.2.4/setup.py 2020-02-27 16:30:38.000000000 +0100 @@ -13,7 +13,7 @@ setup( name = 'pulsectl', - version = '20.1.2', + version = '20.2.4', author = 'George Filipkin, Mike Kazantsev', author_email = 'mk.frag...@gmail.com', license = 'MIT',