Hello community, here is the log from the commit of package python-xxhash for openSUSE:Factory checked in at 2019-10-31 18:18:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-xxhash (Old) and /work/SRC/openSUSE:Factory/.python-xxhash.new.2990 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-xxhash" Thu Oct 31 18:18:08 2019 rev:5 rq:744157 version:1.4.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-xxhash/python-xxhash.changes 2019-09-09 12:34:17.553483047 +0200 +++ /work/SRC/openSUSE:Factory/.python-xxhash.new.2990/python-xxhash.changes 2019-10-31 18:18:23.810205642 +0100 @@ -1,0 +2,6 @@ +Wed Oct 30 12:26:46 UTC 2019 - Tomáš Chvátal <[email protected]> + +- Update to 1.4.2: + * Fixed: setup.py fails when reading README.rst and the default encoding is not UTF-8 + +------------------------------------------------------------------- Old: ---- xxhash-1.4.1.tar.gz New: ---- xxhash-1.4.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-xxhash.spec ++++++ --- /var/tmp/diff_new_pack.NVEohK/_old 2019-10-31 18:18:24.514206371 +0100 +++ /var/tmp/diff_new_pack.NVEohK/_new 2019-10-31 18:18:24.534206391 +0100 @@ -18,11 +18,10 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-xxhash -Version: 1.4.1 +Version: 1.4.2 Release: 0 Summary: Python binding for xxHash License: BSD-2-Clause -Group: Development/Languages/Python URL: https://github.com/ifduyue/python-xxhash Source: https://files.pythonhosted.org/packages/source/x/xxhash/xxhash-%{version}.tar.gz BuildRequires: %{python_module devel} ++++++ xxhash-1.4.1.tar.gz -> xxhash-1.4.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xxhash-1.4.1/CHANGELOG.rst new/xxhash-1.4.2/CHANGELOG.rst --- old/xxhash-1.4.1/CHANGELOG.rst 2019-08-27 07:03:44.000000000 +0200 +++ new/xxhash-1.4.2/CHANGELOG.rst 2019-10-13 09:31:55.000000000 +0200 @@ -1,6 +1,11 @@ CHANGELOG ----------- +v1.4.2 2019-10-13 +~~~~~~~~~~~~~~~~~ + +- Fixed: setup.py fails when reading README.rst and the default encoding is not UTF-8 + v1.4.1 2019-08-27 ~~~~~~~~~~~~~~~~~ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xxhash-1.4.1/PKG-INFO new/xxhash-1.4.2/PKG-INFO --- old/xxhash-1.4.1/PKG-INFO 2019-08-27 07:06:02.000000000 +0200 +++ new/xxhash-1.4.2/PKG-INFO 2019-10-13 09:34:08.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: xxhash -Version: 1.4.1 +Version: 1.4.2 Summary: Python binding for xxHash Home-page: https://github.com/ifduyue/python-xxhash Author: Yue Du @@ -89,7 +89,7 @@ >>> import xxhash >>> xxhash.VERSION - '1.4.0' + '1.4.2' >>> xxhash.XXHASH_VERSION '0.7.1' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xxhash-1.4.1/README.rst new/xxhash-1.4.2/README.rst --- old/xxhash-1.4.1/README.rst 2019-08-27 07:03:44.000000000 +0200 +++ new/xxhash-1.4.2/README.rst 2019-10-13 09:31:55.000000000 +0200 @@ -81,7 +81,7 @@ >>> import xxhash >>> xxhash.VERSION - '1.4.0' + '1.4.2' >>> xxhash.XXHASH_VERSION '0.7.1' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xxhash-1.4.1/setup.py new/xxhash-1.4.2/setup.py --- old/xxhash-1.4.1/setup.py 2019-08-27 07:03:44.000000000 +0200 +++ new/xxhash-1.4.2/setup.py 2019-10-13 09:31:55.000000000 +0200 @@ -3,6 +3,8 @@ from setuptools import setup, Extension import os +import codecs + with open('xxhash/__init__.py') as f: for line in f: @@ -28,11 +30,17 @@ ) ] +# Read README with explicit encoding +f = codecs.open('README.rst', encoding='utf-8', mode='r') +long_description = f.read() +f.close() + + setup( name='xxhash', version=VERSION, description="Python binding for xxHash", - long_description=open('README.rst', 'r').read(), + long_description=long_description, long_description_content_type="text/x-rst", author='Yue Du', author_email='[email protected]', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xxhash-1.4.1/xxhash/__init__.py new/xxhash-1.4.2/xxhash/__init__.py --- old/xxhash-1.4.1/xxhash/__init__.py 2019-08-27 07:03:44.000000000 +0200 +++ new/xxhash-1.4.2/xxhash/__init__.py 2019-10-13 09:31:55.000000000 +0200 @@ -4,7 +4,7 @@ xxh64_hexdigest, XXHASH_VERSION) -VERSION = '1.4.1' +VERSION = '1.4.2' __all__ = ['xxh32', 'xxh32_digest', 'xxh32_intdigest', 'xxh32_hexdigest', 'xxh64', 'xxh64_digest', 'xxh64_intdigest', 'xxh64_hexdigest', 'VERSION', 'XXHASH_VERSION'] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xxhash-1.4.1/xxhash.egg-info/PKG-INFO new/xxhash-1.4.2/xxhash.egg-info/PKG-INFO --- old/xxhash-1.4.1/xxhash.egg-info/PKG-INFO 2019-08-27 07:06:02.000000000 +0200 +++ new/xxhash-1.4.2/xxhash.egg-info/PKG-INFO 2019-10-13 09:34:08.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: xxhash -Version: 1.4.1 +Version: 1.4.2 Summary: Python binding for xxHash Home-page: https://github.com/ifduyue/python-xxhash Author: Yue Du @@ -89,7 +89,7 @@ >>> import xxhash >>> xxhash.VERSION - '1.4.0' + '1.4.2' >>> xxhash.XXHASH_VERSION '0.7.1'
