Hello community,
here is the log from the commit of package python-PyGithub for openSUSE:Factory checked in at 2017-08-24 18:53:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-PyGithub (Old)
and /work/SRC/openSUSE:Factory/.python-PyGithub.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-PyGithub"
Thu Aug 24 18:53:32 2017 rev:7 rq:517114 version:1.35
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-PyGithub/python-PyGithub.changes 2015-05-16 07:14:47.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-PyGithub.new/python-PyGithub.changes 2017-08-24 18:53:37.507061121 +0200
@@ -1,0 +2,6 @@
+Tue Aug 15 18:52:21 UTC 2017 - sebix+novell.com@sebix.at
+
+- convert to singlespec
+- update to 1.35
+
+-------------------------------------------------------------------
Old:
----
PyGithub-1.25.2.tar.gz
New:
----
PyGithub-1.35.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-PyGithub.spec ++++++
--- /var/tmp/diff_new_pack.zQzES0/_old 2017-08-24 18:53:38.934860078 +0200
+++ /var/tmp/diff_new_pack.zQzES0/_new 2017-08-24 18:53:38.938859515 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-PyGithub
#
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# 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
@@ -16,24 +16,32 @@
#
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%{!?license: %global license %doc}
+%bcond_without test
Name: python-PyGithub
-Version: 1.25.2
+Version: 1.35
Release: 0
Summary: Use the full Github API v3
-License: LGPL-3.0+
+License: LGPL-3.0
Group: Development/Languages/Python
-Url: http://jacquev6.github.com/PyGithub
-Source: http://pypi.python.org/packages/source/P/PyGithub/PyGithub-%{version}.tar.gz
-# PATCH-FIX-OPENSUSE speilicke@suse.com -- Remove tests that need network access during build
+Url: http://pygithub.github.io/PyGithub/v1/index.html
+Source: https://files.pythonhosted.org/packages/source/P/PyGithub/PyGithub-%{version}.tar.gz
+# PATCH-FIX-OPENSUSE sebix+novell.com@sebix.at -- Remove test that needs network access
Patch0: PyGithub-drop-network-tests.patch
-BuildRequires: python-devel
-BuildRequires: python-setuptools
+BuildRequires: %{python_module devel}
+BuildRequires: %{python_module setuptools}
+BuildRequires: fdupes
+BuildRequires: python-rpm-macros
+# SECTION test
+BuildRequires: %{python_module PyJWT}
+# /SECTION
+Requires: python-PyJWT
+Recommends: python-cryptography
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
-%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%else
BuildArch: noarch
-%endif
+
+%python_subpackages
%description
PyGithub is a Python (2 and 3) library to use the Github API v3. With it, you
@@ -42,22 +50,22 @@
%prep
%setup -q -n PyGithub-%{version}
-%patch0 -p1
+%patch0
%build
-python setup.py build
+%python_build
%install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
-rm -r %{buildroot}%{python_sitelib}/github/tests # Don't ship testsuite
+%python_install
+%{python_expand rm -r %{buildroot}%{$python_sitelib}/github/tests/}
+%{python_expand %fdupes %{buildroot}%{$python_sitelib}}
%check
-python setup.py -q test
+%{python_exec setup.py test}
-%files
-%defattr(-,root,root,-)
-%doc README.rst COPYING COPYING.LESSER
-%{python_sitelib}/github
-%{python_sitelib}/PyGithub-%{version}-py%{py_ver}.egg-info
+%files %{python_files}
+%license COPYING COPYING.LESSER
+%doc README.md
+%{python_sitelib}/*
%changelog
++++++ PyGithub-1.25.2.tar.gz -> PyGithub-1.35.tar.gz ++++++
++++ 7418 lines of diff (skipped)
++++++ PyGithub-drop-network-tests.patch ++++++
--- /var/tmp/diff_new_pack.zQzES0/_old 2017-08-24 18:53:39.754744634 +0200
+++ /var/tmp/diff_new_pack.zQzES0/_new 2017-08-24 18:53:39.762743507 +0200
@@ -1,6 +1,6 @@
---- a/github/tests/AllTests.py
-+++ b/github/tests/AllTests.py
-@@ -84,7 +84,6 @@ from Issue133 import *
+--- github/tests/AllTests.py 2017-07-10 13:18:40.000000000 +0200
++++ github/tests/AllTests.py 2017-08-15 21:19:28.243948366 +0200
+@@ -90,7 +90,6 @@
from Issue134 import *
from Issue139 import *
from Issue140 import *
@@ -8,38 +8,3 @@
from Issue158 import *
from Issue174 import *
from Issue214 import *
---- a/github/tests/Issue142.py
-+++ /dev/null
-@@ -1,32 +0,0 @@
--# -*- coding: utf-8 -*-
--
--# ########################## Copyrights and license ############################
--# #
--# Copyright 2013 Vincent Jacques