Hello community,

here is the log from the commit of package python-blessings for 
openSUSE:Factory checked in at 2018-01-09 14:53:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-blessings (Old)
 and      /work/SRC/openSUSE:Factory/.python-blessings.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-blessings"

Tue Jan  9 14:53:30 2018 rev:3 rq:562298 version:1.6.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-blessings/python-blessings.changes        
2017-09-04 12:31:08.267252456 +0200
+++ /work/SRC/openSUSE:Factory/.python-blessings.new/python-blessings.changes   
2018-01-09 14:53:31.482869697 +0100
@@ -1,0 +2,10 @@
+Sat Jan  6 17:14:43 UTC 2018 - [email protected]
+
+- specfile:
+  * update copyright year
+
+- update to version 1.6.1:
+  * Don’t crash if number_of_colors() is called when run in a
+    non-terminal or when does_styling is otherwise false.
+
+-------------------------------------------------------------------

Old:
----
  blessings-1.6.tar.gz

New:
----
  blessings-1.6.1.tar.gz

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

Other differences:
------------------
++++++ python-blessings.spec ++++++
--- /var/tmp/diff_new_pack.rLSHgi/_old  2018-01-09 14:53:32.182836882 +0100
+++ /var/tmp/diff_new_pack.rLSHgi/_new  2018-01-09 14:53:32.182836882 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-blessings
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # 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-blessings
-Version:        1.6
+Version:        1.6.1
 Release:        0
 Summary:        A thin, practical wrapper around terminal capabilities in 
Python
 License:        MIT

++++++ blessings-1.6.tar.gz -> blessings-1.6.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/blessings-1.6/PKG-INFO new/blessings-1.6.1/PKG-INFO
--- old/blessings-1.6/PKG-INFO  2014-10-01 06:29:12.000000000 +0200
+++ new/blessings-1.6.1/PKG-INFO        2018-01-03 17:59:54.000000000 +0100
@@ -1,11 +1,12 @@
 Metadata-Version: 1.1
 Name: blessings
-Version: 1.6
+Version: 1.6.1
 Summary: A thin, practical wrapper around terminal coloring, styling, and 
positioning
 Home-page: https://github.com/erikrose/blessings
 Author: Erik Rose
 Author-email: [email protected]
 License: MIT
+Description-Content-Type: UNKNOWN
 Description: =========
         Blessings
         =========
@@ -28,6 +29,8 @@
             print '{t.bold}All your {t.red}bold and red 
base{t.normal}'.format(t=t)
             print t.wingo(2)
         
+        `Full API Reference <https://blessings.readthedocs.io/>`_
+        
         The Pitch
         =========
         
@@ -430,6 +433,10 @@
         
         .. _`issue tracker`: https://github.com/erikrose/blessings/issues/
         
+        Blessings tests are run automatically by `Travis CI`_.
+        
+        .. _`Travis CI`: https://travis-ci.org/erikrose/blessings/
+        
         .. image:: https://secure.travis-ci.org/erikrose/blessings.png
         
         
@@ -441,6 +448,10 @@
         Version History
         ===============
         
+        1.6.1
+          * Don't crash if ``number_of_colors()`` is called when run in a 
non-terminal
+            or when ``does_styling`` is otherwise false.
+        
         1.6
           * Add ``does_styling`` property. This takes ``force_styling`` into 
account
             and should replace most uses of ``is_a_tty``.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/blessings-1.6/README.rst 
new/blessings-1.6.1/README.rst
--- old/blessings-1.6/README.rst        2014-10-01 05:33:59.000000000 +0200
+++ new/blessings-1.6.1/README.rst      2018-01-03 17:42:45.000000000 +0100
@@ -20,6 +20,8 @@
     print '{t.bold}All your {t.red}bold and red base{t.normal}'.format(t=t)
     print t.wingo(2)
 
+`Full API Reference <https://blessings.readthedocs.io/>`_
+
 The Pitch
 =========
 
@@ -422,6 +424,10 @@
 
 .. _`issue tracker`: https://github.com/erikrose/blessings/issues/
 
+Blessings tests are run automatically by `Travis CI`_.
+
+.. _`Travis CI`: https://travis-ci.org/erikrose/blessings/
+
 .. image:: https://secure.travis-ci.org/erikrose/blessings.png
 
 
@@ -433,6 +439,10 @@
 Version History
 ===============
 
+1.6.1
+  * Don't crash if ``number_of_colors()`` is called when run in a non-terminal
+    or when ``does_styling`` is otherwise false.
+
 1.6
   * Add ``does_styling`` property. This takes ``force_styling`` into account
     and should replace most uses of ``is_a_tty``.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/blessings-1.6/blessings/__init__.py 
new/blessings-1.6.1/blessings/__init__.py
--- old/blessings-1.6/blessings/__init__.py     2014-10-01 05:33:59.000000000 
+0200
+++ new/blessings-1.6.1/blessings/__init__.py   2018-01-03 17:24:45.000000000 
+0100
@@ -89,7 +89,7 @@
         self._does_styling = ((self.is_a_tty or force_styling) and
                               force_styling is not None)
 
-        # The desciptor to direct terminal initialization sequences to.
+        # The descriptor to direct terminal initialization sequences to.
         # sys.__stdout__ seems to always have a descriptor of 1, even if output
         # is redirected.
         self._init_descriptor = (sys.__stdout__.fileno()
@@ -337,6 +337,9 @@
         # don't name it after the underlying capability, because we deviate
         # slightly from its behavior, and we might someday wish to give direct
         # access to it.
+        if not self._does_styling:
+            return 0
+
         colors = tigetnum('colors')  # Returns -1 if no color support, -2 if no
                                      # such cap.
         #  self.__dict__['colors'] = ret  # Cache it. It's not changing.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/blessings-1.6/blessings.egg-info/PKG-INFO 
new/blessings-1.6.1/blessings.egg-info/PKG-INFO
--- old/blessings-1.6/blessings.egg-info/PKG-INFO       2014-10-01 
06:29:12.000000000 +0200
+++ new/blessings-1.6.1/blessings.egg-info/PKG-INFO     2018-01-03 
17:59:54.000000000 +0100
@@ -1,11 +1,12 @@
 Metadata-Version: 1.1
 Name: blessings
-Version: 1.6
+Version: 1.6.1
 Summary: A thin, practical wrapper around terminal coloring, styling, and 
positioning
 Home-page: https://github.com/erikrose/blessings
 Author: Erik Rose
 Author-email: [email protected]
 License: MIT
+Description-Content-Type: UNKNOWN
 Description: =========
         Blessings
         =========
@@ -28,6 +29,8 @@
             print '{t.bold}All your {t.red}bold and red 
base{t.normal}'.format(t=t)
             print t.wingo(2)
         
+        `Full API Reference <https://blessings.readthedocs.io/>`_
+        
         The Pitch
         =========
         
@@ -430,6 +433,10 @@
         
         .. _`issue tracker`: https://github.com/erikrose/blessings/issues/
         
+        Blessings tests are run automatically by `Travis CI`_.
+        
+        .. _`Travis CI`: https://travis-ci.org/erikrose/blessings/
+        
         .. image:: https://secure.travis-ci.org/erikrose/blessings.png
         
         
@@ -441,6 +448,10 @@
         Version History
         ===============
         
+        1.6.1
+          * Don't crash if ``number_of_colors()`` is called when run in a 
non-terminal
+            or when ``does_styling`` is otherwise false.
+        
         1.6
           * Add ``does_styling`` property. This takes ``force_styling`` into 
account
             and should replace most uses of ``is_a_tty``.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/blessings-1.6/setup.cfg new/blessings-1.6.1/setup.cfg
--- old/blessings-1.6/setup.cfg 2014-10-01 06:29:12.000000000 +0200
+++ new/blessings-1.6.1/setup.cfg       2018-01-03 17:59:54.000000000 +0100
@@ -1,5 +1,4 @@
 [egg_info]
 tag_build = 
 tag_date = 0
-tag_svn_revision = 0
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/blessings-1.6/setup.py new/blessings-1.6.1/setup.py
--- old/blessings-1.6/setup.py  2013-10-20 04:35:07.000000000 +0200
+++ new/blessings-1.6.1/setup.py        2018-01-03 17:24:45.000000000 +0100
@@ -16,7 +16,7 @@
 
 setup(
     name='blessings',
-    version='1.6',
+    version='1.6.1',
     description='A thin, practical wrapper around terminal coloring, styling, 
and positioning',
     long_description=open('README.rst').read(),
     author='Erik Rose',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/blessings-1.6/tox.ini new/blessings-1.6.1/tox.ini
--- old/blessings-1.6/tox.ini   2013-05-16 07:21:19.000000000 +0200
+++ new/blessings-1.6.1/tox.ini 2018-01-03 17:47:51.000000000 +0100
@@ -1,5 +1,5 @@
 [tox]
-envlist = py25, py26, py27, py32, py33
+envlist = py26, py27, py33, py36
 
 [testenv]
 commands = nosetests blessings


Reply via email to