commit python-distro for openSUSE:Factory

2020-06-05 Thread root
Hello community,

here is the log from the commit of package python-distro for openSUSE:Factory 
checked in at 2020-06-05 19:59:02

Comparing /work/SRC/openSUSE:Factory/python-distro (Old)
 and  /work/SRC/openSUSE:Factory/.python-distro.new.3606 (New)


Package is "python-distro"

Fri Jun  5 19:59:02 2020 rev:11 rq:809416 version:1.5.0

Changes:

--- /work/SRC/openSUSE:Factory/python-distro/python-distro.changes  
2020-04-07 10:20:43.357789188 +0200
+++ /work/SRC/openSUSE:Factory/.python-distro.new.3606/python-distro.changes
2020-06-05 19:59:03.971700425 +0200
@@ -1,0 +2,5 @@
+Tue May 26 07:22:40 UTC 2020 - Petr Gajdos 
+
+- %python3_only -> %python_alternative
+
+---



Other differences:
--
++ python-distro.spec ++
--- /var/tmp/diff_new_pack.05PuKm/_old  2020-06-05 19:59:04.567702486 +0200
+++ /var/tmp/diff_new_pack.05PuKm/_new  2020-06-05 19:59:04.567702486 +0200
@@ -30,6 +30,8 @@
 Patch0: assert_locale.patch
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  python-rpm-macros
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 BuildArch:  noarch
 # SECTION test
 %if %{with test}
@@ -53,6 +55,7 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/distro
 
 %if %{with test}
 %check
@@ -60,9 +63,15 @@
 LANG=en_US.utf8 %python_exec setup.py pytest
 %endif
 
+%post
+%python_install_alternative distro
+
+%postun
+%python_uninstall_alternative distro
+
 %files %{python_files}
 %doc CHANGELOG.md README.md
-%python3_only %{_bindir}/distro
+%python_alternative %{_bindir}/distro
 %{python_sitelib}/*
 %%license LICENSE
 




commit python-distro for openSUSE:Factory

2020-04-07 Thread root
Hello community,

here is the log from the commit of package python-distro for openSUSE:Factory 
checked in at 2020-04-07 10:20:42

Comparing /work/SRC/openSUSE:Factory/python-distro (Old)
 and  /work/SRC/openSUSE:Factory/.python-distro.new.3248 (New)


Package is "python-distro"

Tue Apr  7 10:20:42 2020 rev:10 rq:790740 version:1.5.0

Changes:

--- /work/SRC/openSUSE:Factory/python-distro/python-distro.changes  
2019-02-26 22:22:01.762074072 +0100
+++ /work/SRC/openSUSE:Factory/.python-distro.new.3248/python-distro.changes
2020-04-07 10:20:43.357789188 +0200
@@ -1,0 +2,11 @@
+Thu Apr  2 04:18:04 UTC 2020 - Steve Kowalik 
+
+- Update to 1.5.0:
+  * Backward Compatibility:
++ Keep output as native string so we can compatible with python2 interface
+  * Bug Fixes:
++ Fix detection of RHEL 6 ComputeNode [#255]
++ Fix Oracle 4/5 lsb_release id and names [#250]
++ Ignore /etc/plesk-release file while parsing distribution
+
+---

Old:

  distro-1.4.0.tar.gz

New:

  distro-1.5.0.tar.gz



Other differences:
--
++ python-distro.spec ++
--- /var/tmp/diff_new_pack.OxMyCi/_old  2020-04-07 10:20:43.893789783 +0200
+++ /var/tmp/diff_new_pack.OxMyCi/_new  2020-04-07 10:20:43.897789788 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-distro
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,7 +20,7 @@
 %{!?license: %global license %doc}
 %bcond_without test
 Name:   python-distro
-Version:1.4.0
+Version:1.5.0
 Release:0
 Summary:Linux Distribution - a Linux OS platform information API
 License:Apache-2.0

++ distro-1.4.0.tar.gz -> distro-1.5.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/distro-1.4.0/CHANGELOG.md 
new/distro-1.5.0/CHANGELOG.md
--- old/distro-1.4.0/CHANGELOG.md   2019-02-04 09:56:19.0 +0100
+++ new/distro-1.5.0/CHANGELOG.md   2020-03-30 23:11:09.0 +0200
@@ -1,3 +1,24 @@
+## 1.5.0 (2020.3.30)
+
+BACKWARD COMPATIBILITY:
+* Keep output as native string so we can compatible with python2 interface 
[[#248](https://github.com/nir0s/distro/pull/248)]
+
+ENHANCEMENTS:
+
+BUG FIXES:
+* Fix detection of RHEL 6 ComputeNode 
[[#255](https://github.com/nir0s/distro/issues/255)]
+* Fix Oracle 4/5 lsb_release id and names 
[[#250](https://github.com/nir0s/distro/pull/250)]
+* Ignore /etc/plesk-release file while parsing distribution 
[[#246](https://github.com/nir0s/distro/pull/246)]
+
+TESTS:
+* Test on MidnightBSD [[#254](https://github.com/nir0s/distro/issues/254)]
+
+RELEASE:
+* Remove build testing on Python 3.3 and add pypy 3.5 and Python 3.7 and 3.8 
[[#244](https://github.com/nir0s/distro/pull/244)]
+* Fix Windows build due to Appveyor not supporting builds on Python 2.7 
anymore [[#257](https://github.com/nir0s/distro/pull/257)]
+
+Additionally, The Python2.6 branch was fixed to support distro version 1.4.0. 
It is now passing all tests. Thanks [abadger](https://github.com/abadger)!
+
 ## 1.4.0 (2019.2.4)
 
 BACKWARD COMPATIBILITY:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/distro-1.4.0/PKG-INFO new/distro-1.5.0/PKG-INFO
--- old/distro-1.4.0/PKG-INFO   2019-02-04 09:56:28.0 +0100
+++ new/distro-1.5.0/PKG-INFO   2020-03-30 23:22:37.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: distro
-Version: 1.4.0
+Version: 1.5.0
 Summary: Distro - an OS platform information API
 Home-page: https://github.com/nir0s/distro
 Author: Nir Cohen
@@ -163,6 +163,8 @@
 Classifier: Programming Language :: Python :: 3.4
 Classifier: Programming Language :: Python :: 3.5
 Classifier: Programming Language :: Python :: 3.6
+Classifier: Programming Language :: Python :: 3.7
+Classifier: Programming Language :: Python :: 3.8
 Classifier: Topic :: Software Development :: Libraries :: Python Modules
 Classifier: Topic :: System :: Operating System
 Description-Content-Type: text/markdown
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/distro-1.4.0/distro.egg-info/PKG-INFO 
new/distro-1.5.0/distro.egg-info/PKG-INFO
--- old/distro-1.4.0/distro.egg-info/PKG-INFO   2019-02-04 09:56:28.0 
+0100
+++ new/distro-1.5.0/distro.egg-info/PKG-INFO   2020-03-30 23:22:37.0 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: distro
-Version: 1.4.0
+Version: 1.5.0
 Summary: Distro - an OS platform information API
 Home-page: 

commit python-distro for openSUSE:Factory

2019-02-26 Thread root
Hello community,

here is the log from the commit of package python-distro for openSUSE:Factory 
checked in at 2019-02-26 22:20:23

Comparing /work/SRC/openSUSE:Factory/python-distro (Old)
 and  /work/SRC/openSUSE:Factory/.python-distro.new.28833 (New)


Package is "python-distro"

Tue Feb 26 22:20:23 2019 rev:9 rq:679035 version:1.4.0

Changes:

--- /work/SRC/openSUSE:Factory/python-distro/python-distro.changes  
2019-02-08 12:12:02.16959 +0100
+++ /work/SRC/openSUSE:Factory/.python-distro.new.28833/python-distro.changes   
2019-02-26 22:22:01.762074072 +0100
@@ -1,0 +2,15 @@
+Sun Feb 10 13:29:22 UTC 2019 - Sebastian Wagner 
+
+- Update to version 1.4.0:
+ * Backward Compatibility:
+  * Prefer the VERSION_CODENAME field of os-release to parsing it from VERSION 
[[#230](https://github.com/nir0s/distro/pull/230)]
+ * Bug Fixes:
+  * Return _uname_info from the uname_info() method 
[[#233](https://github.com/nir0s/distro/pull/233)]
+  * Fixed CloudLinux id discovery 
[[#234](https://github.com/nir0s/distro/pull/234)]
+  * Update Oracle matching [[#224](https://github.com/nir0s/distro/pull/224)]
+ * Docs:
+  * Distro is the recommended replacement for platform.linux_distribution 
[[#220](https://github.com/nir0s/distro/pull/220)]
+ * Release:
+  * Use Markdown for long description in setup.py 
[[#219](https://github.com/nir0s/distro/pull/219)]
+
+---

Old:

  distro-1.3.0.tar.gz

New:

  distro-1.4.0.tar.gz



Other differences:
--
++ python-distro.spec ++
--- /var/tmp/diff_new_pack.XW8dst/_old  2019-02-26 22:22:02.382073852 +0100
+++ /var/tmp/diff_new_pack.XW8dst/_new  2019-02-26 22:22:02.386073850 +0100
@@ -20,7 +20,7 @@
 %{!?license: %global license %doc}
 %bcond_without test
 Name:   python-distro
-Version:1.3.0
+Version:1.4.0
 Release:0
 Summary:Linux Distribution - a Linux OS platform information API
 License:Apache-2.0
@@ -61,7 +61,7 @@
 %endif
 
 %files %{python_files}
-%doc CHANGELOG.md README.md README.rst
+%doc CHANGELOG.md README.md
 %python3_only %{_bindir}/distro
 %{python_sitelib}/*
 %%license LICENSE

++ distro-1.3.0.tar.gz -> distro-1.4.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/distro-1.3.0/CHANGELOG.md 
new/distro-1.4.0/CHANGELOG.md
--- old/distro-1.3.0/CHANGELOG.md   2018-05-09 09:44:09.0 +0200
+++ new/distro-1.4.0/CHANGELOG.md   2019-02-04 09:56:19.0 +0100
@@ -1,3 +1,22 @@
+## 1.4.0 (2019.2.4)
+
+BACKWARD COMPATIBILITY:
+* Prefer the VERSION_CODENAME field of os-release to parsing it from VERSION 
[[#230](https://github.com/nir0s/distro/pull/230)]
+
+BUG FIXES:
+* Return _uname_info from the uname_info() method 
[[#233](https://github.com/nir0s/distro/pull/233)]
+* Fixed CloudLinux id discovery 
[[#234](https://github.com/nir0s/distro/pull/234)]
+* Update Oracle matching [[#224](https://github.com/nir0s/distro/pull/224)]
+
+DOCS:
+* Update Fedora package link [[#225](https://github.com/nir0s/distro/pull/225)]
+* Distro is the recommended replacement for platform.linux_distribution 
[[#220](https://github.com/nir0s/distro/pull/220)]
+
+RELEASE:
+* Use Markdown for long description in setup.py 
[[#219](https://github.com/nir0s/distro/pull/219)]
+
+Additionally, The Python2.6 branch was fixed and rebased on top of master. It 
is now passing all tests. Thanks [abadger](https://github.com/abadger)!
+
 ## 1.3.0 (2018.05.09)
 
 ENHANCEMENTS:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/distro-1.3.0/PKG-INFO new/distro-1.4.0/PKG-INFO
--- old/distro-1.3.0/PKG-INFO   2018-05-09 10:20:02.0 +0200
+++ new/distro-1.4.0/PKG-INFO   2019-02-04 09:56:28.0 +0100
@@ -1,16 +1,151 @@
-Metadata-Version: 1.1
+Metadata-Version: 2.1
 Name: distro
-Version: 1.3.0
+Version: 1.4.0
 Summary: Distro - an OS platform information API
 Home-page: https://github.com/nir0s/distro
 Author: Nir Cohen
 Author-email: nir...@gmail.com
 License: Apache License, Version 2.0
-Description-Content-Type: UNKNOWN
 Description: Distro - an OS platform information API
 ===
 
-See `Official GitHub repo 
`_.
+[![Build 
Status](https://travis-ci.org/nir0s/distro.svg?branch=master)](https://travis-ci.org/nir0s/distro)
+[![Build 
status](https://ci.appveyor.com/api/projects/status/e812qjk1gf0f74r5/branch/master?svg=true)](https://ci.appveyor.com/project/nir0s/distro/branch/master)
+[![PyPI 

commit python-distro for openSUSE:Factory

2019-02-08 Thread root
Hello community,

here is the log from the commit of package python-distro for openSUSE:Factory 
checked in at 2019-02-08 12:11:59

Comparing /work/SRC/openSUSE:Factory/python-distro (Old)
 and  /work/SRC/openSUSE:Factory/.python-distro.new.28833 (New)


Package is "python-distro"

Fri Feb  8 12:11:59 2019 rev:8 rq:672250 version:1.3.0

Changes:

--- /work/SRC/openSUSE:Factory/python-distro/python-distro.changes  
2019-02-06 14:06:46.430656307 +0100
+++ /work/SRC/openSUSE:Factory/.python-distro.new.28833/python-distro.changes   
2019-02-08 12:12:02.16959 +0100
@@ -1,0 +2,5 @@
+Wed Feb  6 17:33:38 UTC 2019 - Thomas Bechtold 
+
+- Drop useless BuildRequires of python-flake8 and python-pytest-cov
+
+---



Other differences:
--
++ python-distro.spec ++
--- /var/tmp/diff_new_pack.taAZJF/_old  2019-02-08 12:12:03.137499646 +0100
+++ /var/tmp/diff_new_pack.taAZJF/_new  2019-02-08 12:12:03.141499644 +0100
@@ -33,8 +33,6 @@
 BuildArch:  noarch
 # SECTION test
 %if %{with test}
-BuildRequires:  %{python_module flake8}
-BuildRequires:  %{python_module pytest-cov}
 BuildRequires:  %{python_module pytest-runner}
 BuildRequires:  %{python_module pytest}
 %endif




commit python-distro for openSUSE:Factory

2019-02-06 Thread root
Hello community,

here is the log from the commit of package python-distro for openSUSE:Factory 
checked in at 2019-02-06 14:06:41

Comparing /work/SRC/openSUSE:Factory/python-distro (Old)
 and  /work/SRC/openSUSE:Factory/.python-distro.new.28833 (New)


Package is "python-distro"

Wed Feb  6 14:06:41 2019 rev:7 rq:671830 version:1.3.0

Changes:

--- /work/SRC/openSUSE:Factory/python-distro/python-distro.changes  
2018-06-29 22:27:03.298453921 +0200
+++ /work/SRC/openSUSE:Factory/.python-distro.new.28833/python-distro.changes   
2019-02-06 14:06:46.430656307 +0100
@@ -1,0 +2,5 @@
+Tue Feb  5 11:48:38 CET 2019 - Matej Cepl 
+
+- Add assert_locale.patch to warn about wrong locale.
+
+---

New:

  assert_locale.patch



Other differences:
--
++ python-distro.spec ++
--- /var/tmp/diff_new_pack.rwqDlF/_old  2019-02-06 14:06:47.014656201 +0100
+++ /var/tmp/diff_new_pack.rwqDlF/_new  2019-02-06 14:06:47.014656201 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-distro
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -27,6 +27,7 @@
 Group:  Development/Languages/Python
 URL:https://github.com/nir0s/distro
 Source: 
https://files.pythonhosted.org/packages/source/d/distro/distro-%{version}.tar.gz
+Patch0: assert_locale.patch
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  python-rpm-macros
 BuildArch:  noarch
@@ -47,6 +48,7 @@
 
 %prep
 %setup -q -n distro-%{version}
+%patch0 -p1
 
 %build
 %python_build
@@ -56,8 +58,7 @@
 
 %if %{with test}
 %check
-# Explicit settings of locale is necessary
-# https://github.com/nir0s/distro/issues/223
+# Explicit settings of locale is necessary gh#nir0s/distro#223
 LANG=en_US.utf8 %python_exec setup.py pytest
 %endif
 

++ assert_locale.patch ++
--- /dev/null
+++ b/tests/__init__.py
@@ -0,0 +1,4 @@
+import locale
+enc = locale.getpreferredencoding()
+assert enc is not None and enc.lower() != "ansi_x3.4-1968", \
+"Tests don't work with locale encoding set to {}".format(enc)



commit python-distro for openSUSE:Factory

2018-06-29 Thread root
Hello community,

here is the log from the commit of package python-distro for openSUSE:Factory 
checked in at 2018-06-29 22:27:00

Comparing /work/SRC/openSUSE:Factory/python-distro (Old)
 and  /work/SRC/openSUSE:Factory/.python-distro.new (New)


Package is "python-distro"

Fri Jun 29 22:27:00 2018 rev:6 rq:617150 version:1.3.0

Changes:

--- /work/SRC/openSUSE:Factory/python-distro/python-distro.changes  
2018-05-11 09:19:07.480668377 +0200
+++ /work/SRC/openSUSE:Factory/.python-distro.new/python-distro.changes 
2018-06-29 22:27:03.298453921 +0200
@@ -1,0 +2,7 @@
+Wed Jun 13 16:52:25 UTC 2018 - mc...@suse.com
+
+- Enable tests properly (this is pytest, not unittest), 
+  it is necessary to explicitly set locale to an Unicode one
+  (https://github.com/nir0s/distro/issues/223)
+
+---



Other differences:
--
++ python-distro.spec ++
--- /var/tmp/diff_new_pack.QBUw86/_old  2018-06-29 22:27:03.714453606 +0200
+++ /var/tmp/diff_new_pack.QBUw86/_new  2018-06-29 22:27:03.718453602 +0200
@@ -25,18 +25,19 @@
 Summary:Linux Distribution - a Linux OS platform information API
 License:Apache-2.0
 Group:  Development/Languages/Python
-Url:https://github.com/nir0s/distro
+URL:https://github.com/nir0s/distro
 Source: 
https://files.pythonhosted.org/packages/source/d/distro/distro-%{version}.tar.gz
-BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  python-rpm-macros
+BuildArch:  noarch
 # SECTION test
 %if %{with test}
+BuildRequires:  %{python_module flake8}
+BuildRequires:  %{python_module pytest-cov}
+BuildRequires:  %{python_module pytest-runner}
 BuildRequires:  %{python_module pytest}
 %endif
 # /SECTION
-BuildArch:  noarch
-
 %python_subpackages
 
 %description
@@ -55,11 +56,12 @@
 
 %if %{with test}
 %check
-%python_exec setup.py test
+# Explicit settings of locale is necessary
+# https://github.com/nir0s/distro/issues/223
+LANG=en_US.utf8 %python_exec setup.py pytest
 %endif
 
 %files %{python_files}
-%defattr(-,root,root,-)
 %doc CHANGELOG.md README.md README.rst
 %python3_only %{_bindir}/distro
 %{python_sitelib}/*




commit python-distro for openSUSE:Factory

2018-05-11 Thread root
Hello community,

here is the log from the commit of package python-distro for openSUSE:Factory 
checked in at 2018-05-11 09:19:05

Comparing /work/SRC/openSUSE:Factory/python-distro (Old)
 and  /work/SRC/openSUSE:Factory/.python-distro.new (New)


Package is "python-distro"

Fri May 11 09:19:05 2018 rev:5 rq:606299 version:1.3.0

Changes:

--- /work/SRC/openSUSE:Factory/python-distro/python-distro.changes  
2018-02-16 21:44:27.219560821 +0100
+++ /work/SRC/openSUSE:Factory/.python-distro.new/python-distro.changes 
2018-05-11 09:19:07.480668377 +0200
@@ -1,0 +2,9 @@
+Thu May 10 09:42:51 UTC 2018 - sebix+novell@sebix.at
+
+- update to version 1.3.0:
+ * improvements for other operating systems
+ * documentation:
+  * Add Ansible reference implementation and fix arch-linux link (#213)
+  * Add facter reference implementation (#213)
+
+---

Old:

  distro-1.2.0.tar.gz

New:

  distro-1.3.0.tar.gz



Other differences:
--
++ python-distro.spec ++
--- /var/tmp/diff_new_pack.V7cwNc/_old  2018-05-11 09:19:07.980650261 +0200
+++ /var/tmp/diff_new_pack.V7cwNc/_new  2018-05-11 09:19:07.984650116 +0200
@@ -20,7 +20,7 @@
 %{!?license: %global license %doc}
 %bcond_without test
 Name:   python-distro
-Version:1.2.0
+Version:1.3.0
 Release:0
 Summary:Linux Distribution - a Linux OS platform information API
 License:Apache-2.0
@@ -60,7 +60,7 @@
 
 %files %{python_files}
 %defattr(-,root,root,-)
-%doc CHANGES README.md README.rst
+%doc CHANGELOG.md README.md README.rst
 %python3_only %{_bindir}/distro
 %{python_sitelib}/*
 %%license LICENSE

++ distro-1.2.0.tar.gz -> distro-1.3.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/distro-1.2.0/CHANGELOG.md 
new/distro-1.3.0/CHANGELOG.md
--- old/distro-1.2.0/CHANGELOG.md   1970-01-01 01:00:00.0 +0100
+++ new/distro-1.3.0/CHANGELOG.md   2018-05-09 09:44:09.0 +0200
@@ -0,0 +1,128 @@
+## 1.3.0 (2018.05.09)
+
+ENHANCEMENTS:
+* Added support for OpenBSD, FreeBSD, and NetBSD 
[[#207](https://github.com/nir0s/distro/issues/207)]
+
+TESTS:
+* Add test for Kali Linux Rolling 
[[#214](https://github.com/nir0s/distro/issues/214)]
+
+DOCS:
+* Update docs with regards to #207 
[[#209](https://github.com/nir0s/distro/issues/209)]
+* Add Ansible reference implementation and fix arch-linux link 
[[#213](https://github.com/nir0s/distro/issues/213)]
+* Add facter reference implementation 
[[#213](https://github.com/nir0s/distro/issues/213)]
+
+## 1.2.0 (2017.12.24)
+
+BACKWARD COMPATIBILITY:
+* Don't raise ImportError on non-linux platforms 
[[#202](https://github.com/nir0s/distro/issues/202)]
+
+ENHANCEMENTS:
+* Lazily load the LinuxDistribution data 
[[#201](https://github.com/nir0s/distro/issues/201)]
+
+BUG FIXES:
+* Stdout of shell should be decoded with sys.getfilesystemencoding() 
[[#203](https://github.com/nir0s/distro/issues/203)]
+
+TESTS:
+* Explicitly set Python versions on Travis for flake 
[[#204](https://github.com/nir0s/distro/issues/204)]
+
+
+## 1.1.0 (2017.11.28)
+
+BACKWARD COMPATIBILITY:
+* Drop python3.3 support [[#199](https://github.com/nir0s/distro/issues/199)]
+* Remove Official Python26 support 
[[#195](https://github.com/nir0s/distro/issues/195)]
+
+TESTS:
+* Add MandrivaLinux test case 
[[#181](https://github.com/nir0s/distro/issues/181)]
+* Add test cases for CloudLinux 5, 6, and 7 
[[#180](https://github.com/nir0s/distro/issues/180)]
+
+RELEASE:
+* Modify MANIFEST to include resources for tests and docs in source tarballs 
[[97c91a1](97c91a1)]
+
+## 1.0.4 (2017.04.01)
+
+BUG FIXES:
+* Guess common *-release files if /etc not readable 
[[#175](https://github.com/nir0s/distro/issues/175)]
+
+## 1.0.3 (2017.03.19)
+
+ENHANCEMENTS:
+* Show keys for empty values when running distro from the CLI 
[[#160](https://github.com/nir0s/distro/issues/160)]
+* Add manual mapping for `redhatenterpriseserver` (previously only 
redhatenterpriseworkstation was mapped) 
[[#148](https://github.com/nir0s/distro/issues/148)]
+* Race condition in `_parse_distro_release_file` 
[[#163](https://github.com/nir0s/distro/issues/163)]
+
+TESTS:
+* Add RHEL5 test case [[#165](https://github.com/nir0s/distro/issues/165)]
+* Add OpenELEC test case [[#166](https://github.com/nir0s/distro/issues/166)]
+* Replace nose with pytest [[#158](https://github.com/nir0s/distro/issues/158)]
+
+RELEASE:
+* Update classifiers
+* Update supported Python versions (with py36)
+
+## 1.0.2 (2017.01.12)
+
+TESTS:
+* Test on py33, py36 and py3 based flake8
+
+RELEASE:
+* Add MANIFEST file (which also includes the LICENSE as part of Issue 

commit python-distro for openSUSE:Factory

2018-02-16 Thread root
Hello community,

here is the log from the commit of package python-distro for openSUSE:Factory 
checked in at 2018-02-16 21:44:26

Comparing /work/SRC/openSUSE:Factory/python-distro (Old)
 and  /work/SRC/openSUSE:Factory/.python-distro.new (New)


Package is "python-distro"

Fri Feb 16 21:44:26 2018 rev:4 rq:577093 version:1.2.0

Changes:

--- /work/SRC/openSUSE:Factory/python-distro/python-distro.changes  
2018-01-01 22:35:42.618384733 +0100
+++ /work/SRC/openSUSE:Factory/.python-distro.new/python-distro.changes 
2018-02-16 21:44:27.219560821 +0100
@@ -1,0 +2,5 @@
+Thu Feb  8 19:05:22 UTC 2018 - rjsch...@suse.com
+
+- Include in SLE 15 (FATE#324993, boo#997614))
+
+---



Other differences:
--
++ python-distro.spec ++
--- /var/tmp/diff_new_pack.sBkKL8/_old  2018-02-16 21:44:28.007532402 +0100
+++ /var/tmp/diff_new_pack.sBkKL8/_new  2018-02-16 21:44:28.007532402 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-distro
 #
-# 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




commit python-distro for openSUSE:Factory

2018-01-01 Thread root
Hello community,

here is the log from the commit of package python-distro for openSUSE:Factory 
checked in at 2018-01-01 22:35:36

Comparing /work/SRC/openSUSE:Factory/python-distro (Old)
 and  /work/SRC/openSUSE:Factory/.python-distro.new (New)


Package is "python-distro"

Mon Jan  1 22:35:36 2018 rev:3 rq:560908 version:1.2.0

Changes:

--- /work/SRC/openSUSE:Factory/python-distro/python-distro.changes  
2017-12-11 18:56:26.238749318 +0100
+++ /work/SRC/openSUSE:Factory/.python-distro.new/python-distro.changes 
2018-01-01 22:35:42.618384733 +0100
@@ -1,0 +2,6 @@
+Sun Dec 24 19:11:15 UTC 2017 - sebix+novell@sebix.at
+
+- update to version 1.2.0:
+ * Explicitly set Python versions for flake8 tests.
+
+---

Old:

  distro-1.1.0.tar.gz

New:

  distro-1.2.0.tar.gz



Other differences:
--
++ python-distro.spec ++
--- /var/tmp/diff_new_pack.A8p7Wt/_old  2018-01-01 22:35:43.678030946 +0100
+++ /var/tmp/diff_new_pack.A8p7Wt/_new  2018-01-01 22:35:43.682029611 +0100
@@ -13,22 +13,23 @@
 # published by the Open Source Initiative.
 
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %{!?license: %global license %doc}
 %bcond_without test
 Name:   python-distro
-Version:1.1.0
+Version:1.2.0
 Release:0
-License:Apache-2.0
 Summary:Linux Distribution - a Linux OS platform information API
-Url:https://github.com/nir0s/distro
+License:Apache-2.0
 Group:  Development/Languages/Python
+Url:https://github.com/nir0s/distro
 Source: 
https://files.pythonhosted.org/packages/source/d/distro/distro-%{version}.tar.gz
-BuildRequires:  python-rpm-macros
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  python-rpm-macros
 # SECTION test
 %if %{with test}
 BuildRequires:  %{python_module pytest}

++ distro-1.1.0.tar.gz -> distro-1.2.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/distro-1.1.0/CHANGES new/distro-1.2.0/CHANGES
--- old/distro-1.1.0/CHANGES2017-10-11 19:51:17.0 +0200
+++ new/distro-1.2.0/CHANGES2017-12-24 19:07:50.0 +0100
@@ -1,6 +1,20 @@
-**1.0.5 (unreleased)**
+**1.2.0 (2017.12.24)**
+
+* Lazily load parsers to speed up import time.
+* Don't raise import error on non-linux os.
+* Decode stdout of shell sys.getfilesystemencoding().
+* Explicitly set Python versions for flake8 tests.
+
+
+**1.1.0 (2017.11.28)**
+
+Note: This version removes official support for Python 2.6. If you need a 
version that is tested on Python 2.6, please use `distro<=1.0.4`.
+
+In addition:
+
+* Add tests for MandrivaLinux, CloudLinux 5,6,7
+* Modify MANIFEST to include resources for tests and docs in source tarballs 
(https://github.com/nir0s/distro/pull/189/files#diff-97c91a104c431d0c365565d3ac03ac13)
 
-* Include resources needed for tests and docs in source tarballs
 
 **1.0.4 (2017.04.01)**
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/distro-1.1.0/PKG-INFO new/distro-1.2.0/PKG-INFO
--- old/distro-1.1.0/PKG-INFO   2017-11-28 10:07:43.0 +0100
+++ new/distro-1.2.0/PKG-INFO   2017-12-24 19:08:15.0 +0100
@@ -1,12 +1,11 @@
 Metadata-Version: 1.1
 Name: distro
-Version: 1.1.0
+Version: 1.2.0
 Summary: Linux Distribution - a Linux OS platform information API
 Home-page: https://github.com/nir0s/distro
 Author: Nir Cohen
 Author-email: nir...@gmail.com
 License: Apache License, Version 2.0
-Description-Content-Type: UNKNOWN
 Description: Distro - a Linux OS platform information API
 
 
@@ -21,7 +20,6 @@
 Classifier: Programming Language :: Python :: 2
 Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.3
 Classifier: Programming Language :: Python :: 3.4
 Classifier: Programming Language :: Python :: 3.5
 Classifier: Programming Language :: Python :: 3.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/distro-1.1.0/README.md new/distro-1.2.0/README.md
--- old/distro-1.1.0/README.md  2017-11-28 09:58:45.0 +0100
+++ new/distro-1.2.0/README.md  2017-12-04 08:00:09.0 +0100
@@ -91,7 +91,7 @@
 
 ## Python and Distribution Support
 
-`distro` is supported and tested on Python 2.7, 3.3+ and PyPy and on
+`distro` is supported and tested on Python 2.7, 3.4+ and PyPy and on
 any Linux distribution that provides one or 

commit python-distro for openSUSE:Factory

2017-12-11 Thread root
Hello community,

here is the log from the commit of package python-distro for openSUSE:Factory 
checked in at 2017-12-11 18:56:25

Comparing /work/SRC/openSUSE:Factory/python-distro (Old)
 and  /work/SRC/openSUSE:Factory/.python-distro.new (New)


Package is "python-distro"

Mon Dec 11 18:56:25 2017 rev:2 rq:555306 version:1.1.0

Changes:

--- /work/SRC/openSUSE:Factory/python-distro/python-distro.changes  
2017-08-24 18:41:59.817308321 +0200
+++ /work/SRC/openSUSE:Factory/.python-distro.new/python-distro.changes 
2017-12-11 18:56:26.238749318 +0100
@@ -1,0 +2,6 @@
+Fri Dec  1 17:14:55 UTC 2017 - sebix+novell@sebix.at
+
+- update to version 1.1.0 / 1.0.5:
+ * Include resources needed for tests and docs in source tarballs
+
+---

Old:

  distro-1.0.4.tar.gz

New:

  distro-1.1.0.tar.gz



Other differences:
--
++ python-distro.spec ++
--- /var/tmp/diff_new_pack.R3RWrQ/_old  2017-12-11 18:56:26.902717692 +0100
+++ /var/tmp/diff_new_pack.R3RWrQ/_new  2017-12-11 18:56:26.902717692 +0100
@@ -19,7 +19,7 @@
 %{!?license: %global license %doc}
 %bcond_without test
 Name:   python-distro
-Version:1.0.4
+Version:1.1.0
 Release:0
 License:Apache-2.0
 Summary:Linux Distribution - a Linux OS platform information API
@@ -29,7 +29,11 @@
 BuildRequires:  python-rpm-macros
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+# SECTION test
+%if %{with test}
+BuildRequires:  %{python_module pytest}
+%endif
+# /SECTION
 BuildArch:  noarch
 
 %python_subpackages
@@ -49,9 +53,8 @@
 %python_install
 
 %if %{with test}
-# incomplete source tarball see https://github.com/nir0s/distro/pull/189
-#%%check
-#%%python_exec setup.py test
+%check
+%python_exec setup.py test
 %endif
 
 %files %{python_files}

++ distro-1.0.4.tar.gz -> distro-1.1.0.tar.gz ++
 2469 lines of diff (skipped)




commit python-distro for openSUSE:Factory

2017-08-24 Thread root
Hello community,

here is the log from the commit of package python-distro for openSUSE:Factory 
checked in at 2017-08-24 18:41:59

Comparing /work/SRC/openSUSE:Factory/python-distro (Old)
 and  /work/SRC/openSUSE:Factory/.python-distro.new (New)


Package is "python-distro"

Thu Aug 24 18:41:59 2017 rev:1 rq:512451 version:1.0.4

Changes:

New Changes file:

--- /dev/null   2017-07-20 07:30:00.335470106 +0200
+++ /work/SRC/openSUSE:Factory/.python-distro.new/python-distro.changes 
2017-08-24 18:41:59.817308321 +0200
@@ -0,0 +1,4 @@
+---
+Sat Jul 22 10:23:42 UTC 2017 - sebix+novell@sebix.at
+
+- initial package

New:

  distro-1.0.4.tar.gz
  python-distro.changes
  python-distro.spec



Other differences:
--
++ python-distro.spec ++
#
# spec file for package python-distro
#
# Copyright (c) 2017 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/


%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%{!?license: %global license %doc}
%bcond_without test
Name:   python-distro
Version:1.0.4
Release:0
License:Apache-2.0
Summary:Linux Distribution - a Linux OS platform information API
Url:https://github.com/nir0s/distro
Group:  Development/Languages/Python
Source: 
https://files.pythonhosted.org/packages/source/d/distro/distro-%{version}.tar.gz
BuildRequires:  python-rpm-macros
BuildRequires:  %{python_module devel}
BuildRequires:  %{python_module setuptools}
BuildRoot:  %{_tmppath}/%{name}-%{version}-build
BuildArch:  noarch

%python_subpackages

%description
distro (for: Linux Distribution) provides information about the Linux 
distribution it runs on, such as a reliable machine-readable ID, or version 
information.

It is a renewed alternative implementation for Python's original 
platform.linux_distribution function, but it also provides much more 
functionality which isn't necessarily Python bound like a command-line 
interface.

%prep
%setup -q -n distro-%{version}

%build
%python_build

%install
%python_install

%if %{with test}
# incomplete source tarball see https://github.com/nir0s/distro/pull/189
#%%check
#%%python_exec setup.py test
%endif

%files %{python_files}
%defattr(-,root,root,-)
%doc CHANGES README.md README.rst
%python3_only %{_bindir}/distro
%{python_sitelib}/*
%%license LICENSE

%changelog