Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-pysol-cards for openSUSE:Factory checked in at 2022-12-09 13:18:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pysol-cards (Old) and /work/SRC/openSUSE:Factory/.python-pysol-cards.new.1835 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pysol-cards" Fri Dec 9 13:18:09 2022 rev:4 rq:1041750 version:0.14.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pysol-cards/python-pysol-cards.changes 2021-06-07 22:44:59.888636874 +0200 +++ /work/SRC/openSUSE:Factory/.python-pysol-cards.new.1835/python-pysol-cards.changes 2022-12-09 13:19:36.147582215 +0100 @@ -1,0 +2,22 @@ +Thu Dec 8 10:07:54 UTC 2022 - pgaj...@suse.com + +- version update to 0.14.2 + 0.14.2 + * Avoid requiring optional deps - https://github.com/shlomif/pysol_cards/issues/4 . + 0.14.1 + * Avoid comments in requirements.txt - https://github.com/shlomif/pysol_cards/issues/4 . + 0.14.0 + * Convert from pbr to https://pypi.org/project/pydistman/ . + 0.12.0 + * bump ver + * enhance the README + * 'id' is a builtin + * add a test using named arguments + * optimize into a class var + * optimize + * add an integration test +- added patches + fix https://github.com/shlomif/pysol_cards/issues/6 + + python-pysol-cards-no-six.patch + +------------------------------------------------------------------- Old: ---- pysol_cards-0.10.1.tar.gz New: ---- pysol_cards-0.14.2.tar.gz python-pysol-cards-no-six.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pysol-cards.spec ++++++ --- /var/tmp/diff_new_pack.EWvGeJ/_old 2022-12-09 13:19:36.519584191 +0100 +++ /var/tmp/diff_new_pack.EWvGeJ/_new 2022-12-09 13:19:36.527584233 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-pysol-cards # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # Copyright (c) 2020 Malcolm J Lewis <malcolmle...@opensuse.org> # # All modifications and additions to the file contributed by third parties @@ -20,13 +20,15 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define pythons python3 Name: python-pysol-cards -Version: 0.10.1 +Version: 0.14.2 Release: 0 Summary: Python module for pysol-cards License: Apache-2.0 Group: Development/Languages/Python URL: https://pypi.org/project/pysol-cards/ Source: https://files.pythonhosted.org/packages/source/p/pysol_cards/pysol_cards-%{version}.tar.gz +# https://github.com/shlomif/pysol_cards/issues/6 +Patch0: python-pysol-cards-no-six.patch BuildRequires: %{python_module oslotest} BuildRequires: %{python_module pbr >= 2.0} BuildRequires: %{python_module pytest} @@ -49,6 +51,7 @@ %prep %setup -q -n pysol_cards-%{version} +%patch0 -p1 # Fix rpm runtime dependency rpmlint error replace the shebang in all the scripts with %%{_bindir}/python3 find . -name "*.py" -exec sed -i 's|#! %{_bindir}/env python|#!%{_bindir}/python3|' {} ";" @@ -62,10 +65,11 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib}/ %check +sed -i '/^addopts/d' setup.cfg %pytest %files %{python_files} -%doc AUTHORS ChangeLog CONTRIBUTING.rst HACKING.rst +%doc AUTHORS CHANGELOG.rst README.rst %license LICENSE %{python_sitelib}/* ++++++ pysol_cards-0.10.1.tar.gz -> pysol_cards-0.14.2.tar.gz ++++++ ++++ 3013 lines of diff (skipped) ++++++ python-pysol-cards-no-six.patch ++++++ Index: pysol_cards-0.14.2/pysol_cards.egg-info/requires.txt =================================================================== --- pysol_cards-0.14.2.orig/pysol_cards.egg-info/requires.txt +++ pysol_cards-0.14.2/pysol_cards.egg-info/requires.txt @@ -1,2 +1 @@ random2 -six Index: pysol_cards-0.14.2/pysol_cards/deal_game.py =================================================================== --- pysol_cards-0.14.2.orig/pysol_cards/deal_game.py +++ pysol_cards-0.14.2/pysol_cards/deal_game.py @@ -12,9 +12,6 @@ from pysol_cards.cards import Card, createCards from pysol_cards.random import shuffle -from six import print_ - - def empty_card(): ret = Card(0, 0, 0) ret.empty = True @@ -166,7 +163,7 @@ class Game(object): return self.board.calc_string(renderer) def print_layout(self, renderer): - print_(self.calc_layout_string(renderer), sep='', end='') + print(self.calc_layout_string(renderer), sep='', end='') def new_cards(self, cards): self.cards = cards @@ -291,7 +288,7 @@ class Game(object): def der_katz(game): is_ds = game.game_id == 'die_schlange' if is_ds: - print_('Foundations: H-A S-A D-A C-A H-A S-A D-A C-A') + print('Foundations: H-A S-A D-A C-A H-A S-A D-A C-A') game.board = Board(9) i = 0 for c in game: Index: pysol_cards-0.14.2/requirements.txt =================================================================== --- pysol_cards-0.14.2.orig/requirements.txt +++ pysol_cards-0.14.2/requirements.txt @@ -1,2 +1 @@ random2 -six Index: pysol_cards-0.14.2/setup.py =================================================================== --- pysol_cards-0.14.2.orig/setup.py +++ pysol_cards-0.14.2/setup.py @@ -27,5 +27,5 @@ setup(name='pysol_cards', ], packages=find_packages(exclude=('tests', 'tests.*')), include_package_data=True, - install_requires=['random2','six'], + install_requires=['random2'], )