From b863dbe0460c86d07613b12236d65178109b66a5a7b7be481f402c6fdceb668a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Fri, 15 May 2015 13:25:11 +0000 Subject: [PATCH] Accepting request 306388 from home:benoit_monin:branches:devel:languages:python - update to version 1.25.2 - refresh PyGithub-drop-network-tests.patch - pass -q to test to avoid spamming the build log - change path of license files: moved upstream OBS-URL: https://build.opensuse.org/request/show/306388 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyGithub?expand=0&rev=10 --- PyGithub-1.21.0.tar.gz | 3 --- PyGithub-1.25.2.tar.gz | 3 +++ PyGithub-drop-network-tests.patch | 17 ++++++++-------- python-PyGithub.changes | 32 +++++++++++++++++++++++++++++++ python-PyGithub.spec | 8 ++++---- 5 files changed, 47 insertions(+), 16 deletions(-) delete mode 100644 PyGithub-1.21.0.tar.gz create mode 100644 PyGithub-1.25.2.tar.gz diff --git a/PyGithub-1.21.0.tar.gz b/PyGithub-1.21.0.tar.gz deleted file mode 100644 index a5bc5a5..0000000 --- a/PyGithub-1.21.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:157bf30124c22fa31790a92c92a096a8d156b2ca712e90f322a699372a186203 -size 2268845 diff --git a/PyGithub-1.25.2.tar.gz b/PyGithub-1.25.2.tar.gz new file mode 100644 index 0000000..98a5652 --- /dev/null +++ b/PyGithub-1.25.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:72aee507625e8ce6e3bef825e2ba543d0a2a20cb5ba5edfbe6436fc6eadfcef8 +size 2577534 diff --git a/PyGithub-drop-network-tests.patch b/PyGithub-drop-network-tests.patch index 56d3c5b..57ab98b 100644 --- a/PyGithub-drop-network-tests.patch +++ b/PyGithub-drop-network-tests.patch @@ -1,20 +1,19 @@ -diff -ruN a/github/tests/AllTests.py b/github/tests/AllTests.py ---- a/github/tests/AllTests.py 2013-11-17 22:45:12.000000000 +0100 -+++ b/github/tests/AllTests.py 2013-12-04 10:43:20.695062438 +0100 -@@ -83,6 +83,5 @@ +--- a/github/tests/AllTests.py ++++ b/github/tests/AllTests.py +@@ -84,7 +84,6 @@ from Issue133 import * from Issue134 import * from Issue139 import * from Issue140 import * -from Issue142 import * from Issue158 import * from Issue174 import * -diff -ruN a/github/tests/Issue142.py b/github/tests/Issue142.py ---- a/github/tests/Issue142.py 2013-11-08 03:07:08.000000000 +0100 -+++ b/github/tests/Issue142.py 1970-01-01 01:00:00.000000000 +0100 + from Issue214 import * +--- a/github/tests/Issue142.py ++++ /dev/null @@ -1,32 +0,0 @@ -# -*- coding: utf-8 -*- - --############################ Copyrights and license ############################ +-# ########################## Copyrights and license ############################ -# # -# Copyright 2013 Vincent Jacques # -# # @@ -33,7 +32,7 @@ diff -ruN a/github/tests/Issue142.py b/github/tests/Issue142.py -# You should have received a copy of the GNU Lesser General Public License # -# along with PyGithub. If not, see . # -# # --################################################################################ +-# ############################################################################## - -import unittest -import github diff --git a/python-PyGithub.changes b/python-PyGithub.changes index ec5f749..b311a73 100644 --- a/python-PyGithub.changes +++ b/python-PyGithub.changes @@ -1,3 +1,35 @@ +------------------------------------------------------------------- +Mon May 11 15:48:45 UTC 2015 - benoit.monin@gmx.fr + +- update to version 1.25.2: + * Work around the GitHub API v3 returning null in some paginated + responses +- additional changes from version 1.25.1 + * Fix two-factor authentication header, thanks to tradej for the + pull request +- additional changes from version 1.25.0 + * Implement getting repos by id, thanks to tylertreat for the + pull request + * Add Gist.owner, thanks to dalejung for the pull request +- additional changes from version 1.24.1 + * Fix urlquoting in search, thanks to cro for the pull request +- additional changes from version 1.24.0 + * Implement search, thanks to thialfihar for the pull request +- additional changes from version 1.23.0 + * Fix all that is based on headers in Python 3 (pagination, + conditional request, rate_limit...), huge thanks to cwarren-mw + for finding the bug + * Accept strings for assignees and collaborators, thanks to farrd + * Ease two-factor authentication by adding ‘onetime_password’ to + AuthenticatedUser.create_authorization, thanks to cameronbwhite +- additional changes from version 1.22.0 + * Emojis, thanks to evolvelight + * Repository.stargazers_count, thanks to cameronbwhite + * User.get_teams, thanks to poulp +- refresh PyGithub-drop-network-tests.patch +- pass -q to test to avoid spamming the build log +- change path of license files: moved upstream + ------------------------------------------------------------------- Wed Dec 4 09:47:50 UTC 2013 - speilicke@suse.com diff --git a/python-PyGithub.spec b/python-PyGithub.spec index 054210f..b57d971 100644 --- a/python-PyGithub.spec +++ b/python-PyGithub.spec @@ -1,7 +1,7 @@ # # spec file for package python-PyGithub # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -17,7 +17,7 @@ Name: python-PyGithub -Version: 1.21.0 +Version: 1.25.2 Release: 0 Summary: Use the full Github API v3 License: LGPL-3.0+ @@ -52,11 +52,11 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot} rm -r %{buildroot}%{python_sitelib}/github/tests # Don't ship testsuite %check -python setup.py test +python setup.py -q test %files %defattr(-,root,root,-) -%doc README.rst github/COPYING github/COPYING.LESSER +%doc README.rst COPYING COPYING.LESSER %{python_sitelib}/github %{python_sitelib}/PyGithub-%{version}-py%{py_ver}.egg-info