Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-mulpyplexer for openSUSE:Factory checked in at 2022-09-30 17:57:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-mulpyplexer (Old) and /work/SRC/openSUSE:Factory/.python-mulpyplexer.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-mulpyplexer" Fri Sep 30 17:57:38 2022 rev:3 rq:1007054 version:0.09 Changes: -------- --- /work/SRC/openSUSE:Factory/python-mulpyplexer/python-mulpyplexer.changes 2018-12-24 11:39:57.669528285 +0100 +++ /work/SRC/openSUSE:Factory/.python-mulpyplexer.new.2275/python-mulpyplexer.changes 2022-09-30 17:57:57.457269540 +0200 @@ -1,0 +2,33 @@ +Thu Sep 29 16:57:56 UTC 2022 - Yogalakshmi Arunachalam <yarunacha...@suse.com> + +- Update to version 0.0.9 + * Merge pull request #12 from FantasqueX/master + * Transitioning from setup.py to setup.cfg + * Merge pull request #11 from FantasqueX/master + * refine build system to conform PEP 517 and PEP518 + * version bump + * Merge pull request #9 from fabaff/patch-1 + * Add MANIFEST.in + * Merge pull request #7 from tyb0807/feat/py3k + * py3k compatible + * Merge pull request #6 from rhelmot/master + * Update for py3k compatibility + * fix license metadata and tick version + * Fixes #5 - I hereby relicense this as BSD + * ... and turn them into properties + * add mp_first and mp_last + * add attributes to __dir__ + * print the original contents + * ticked version + * added reduce! + * rename sort to sorted to make it clear that the MP isn't being changed + * implement sorting + * better print + * bump for pip + * Change setup.py. Fixes #4 + * added mp_filter, mp_flatten, and mp_union + * Closes #2 - added mp_map + * support setitem and setattr + * fixed a bug with dir + +------------------------------------------------------------------- Old: ---- mulpyplexer-0.08.tar.gz New: ---- mulpyplexer-0.09.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-mulpyplexer.spec ++++++ --- /var/tmp/diff_new_pack.sp5Ylv/_old 2022-09-30 17:57:57.909270506 +0200 +++ /var/tmp/diff_new_pack.sp5Ylv/_new 2022-09-30 17:57:57.913270514 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-mulpyplexer # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-mulpyplexer -Version: 0.08 +Version: 0.09 Release: 0 Summary: A module that multiplexes interactions with lists of python objects License: BSD-2-Clause ++++++ mulpyplexer-0.08.tar.gz -> mulpyplexer-0.09.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mulpyplexer-0.08/LICENSE new/mulpyplexer-0.09/LICENSE --- old/mulpyplexer-0.08/LICENSE 1970-01-01 01:00:00.000000000 +0100 +++ new/mulpyplexer-0.09/LICENSE 2020-09-09 22:04:44.000000000 +0200 @@ -0,0 +1,24 @@ +Copyright (c) 2015, The Regents of the University of California +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mulpyplexer-0.08/PKG-INFO new/mulpyplexer-0.09/PKG-INFO --- old/mulpyplexer-0.08/PKG-INFO 2017-08-10 04:47:10.000000000 +0200 +++ new/mulpyplexer-0.09/PKG-INFO 2021-01-11 22:09:23.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.0 Name: mulpyplexer -Version: 0.08 +Version: 0.09 Summary: A module that multiplexes interactions with lists of python objects. Home-page: UNKNOWN Author: Yan Shoshitaishvili diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mulpyplexer-0.08/mulpyplexer.py new/mulpyplexer-0.09/mulpyplexer.py --- old/mulpyplexer-0.08/mulpyplexer.py 2016-07-09 14:19:41.000000000 +0200 +++ new/mulpyplexer-0.09/mulpyplexer.py 2020-09-09 22:04:44.000000000 +0200 @@ -1,3 +1,7 @@ +from __future__ import print_function + +from functools import reduce # pylint: disable=redefined-builtin + class MP(object): def __init__(self, items): super(MP, self).__setattr__('mp_items', items) @@ -87,8 +91,8 @@ def mp_last(self): return self.mp_items[-1] - def mp_sorted(self, cmp=None, key=None, reverse=False): #pylint:disable=redefined-builtin - return MP(sorted(self.mp_items, cmp=cmp, key=key, reverse=reverse)) + def mp_sorted(self, key=None, reverse=False): + return MP(sorted(self.mp_items, key=key, reverse=reverse)) def mp_reduce(self, function, initial=None): reduce_args = [ function, self.mp_items ] if initial is None else [ function, self.mp_items, initial ] @@ -99,7 +103,7 @@ return list(sorted(attrs | { 'mp_items', 'mp_len', 'mp_map', 'mp_flatten', 'mp_union', 'mp_filter', 'mp_sorted', 'mp_reduce', 'mp_first', 'mp_last' } )) def test(): - class A: + class A(object): def __init__(self, i, h=None): self.i = i self.h = [] if h is None else h + [i] @@ -150,7 +154,7 @@ import operator assert four.i.mp_reduce(operator.__add__, initial=10) == 35 + 25 + 15 + 10 - print ("TESTS SUCCEEDED") #pylint:disable=superfluous-parens + print("TESTS SUCCEEDED") if __name__ == '__main__': test() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mulpyplexer-0.08/setup.py new/mulpyplexer-0.09/setup.py --- old/mulpyplexer-0.08/setup.py 2017-08-10 04:47:00.000000000 +0200 +++ new/mulpyplexer-0.09/setup.py 2021-01-11 22:08:17.000000000 +0100 @@ -50,7 +50,7 @@ author_email='y...@yancomm.net', maintainer='Yan Shoshitaishvili', maintainer_email='y...@yancomm.net', - version='0.08', + version='0.09', license='BSD', py_modules=['mulpyplexer'] )