14
0

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
This commit is contained in:
Michal Čihař
2015-05-15 13:25:11 +00:00
committed by Git OBS Bridge
parent 2ca0b0085c
commit b863dbe046
5 changed files with 47 additions and 16 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:157bf30124c22fa31790a92c92a096a8d156b2ca712e90f322a699372a186203
size 2268845

3
PyGithub-1.25.2.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:72aee507625e8ce6e3bef825e2ba543d0a2a20cb5ba5edfbe6436fc6eadfcef8
size 2577534

View File

@@ -1,20 +1,19 @@
diff -ruN a/github/tests/AllTests.py b/github/tests/AllTests.py --- a/github/tests/AllTests.py
--- a/github/tests/AllTests.py 2013-11-17 22:45:12.000000000 +0100 +++ b/github/tests/AllTests.py
+++ b/github/tests/AllTests.py 2013-12-04 10:43:20.695062438 +0100 @@ -84,7 +84,6 @@ from Issue133 import *
@@ -83,6 +83,5 @@
from Issue134 import * from Issue134 import *
from Issue139 import * from Issue139 import *
from Issue140 import * from Issue140 import *
-from Issue142 import * -from Issue142 import *
from Issue158 import * from Issue158 import *
from Issue174 import * from Issue174 import *
diff -ruN a/github/tests/Issue142.py b/github/tests/Issue142.py from Issue214 import *
--- a/github/tests/Issue142.py 2013-11-08 03:07:08.000000000 +0100 --- a/github/tests/Issue142.py
+++ b/github/tests/Issue142.py 1970-01-01 01:00:00.000000000 +0100 +++ /dev/null
@@ -1,32 +0,0 @@ @@ -1,32 +0,0 @@
-# -*- coding: utf-8 -*- -# -*- coding: utf-8 -*-
- -
-############################ Copyrights and license ############################ -# ########################## Copyrights and license ############################
-# # -# #
-# Copyright 2013 Vincent Jacques <vincent@vincent-jacques.net> # -# Copyright 2013 Vincent Jacques <vincent@vincent-jacques.net> #
-# # -# #
@@ -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 # -# You should have received a copy of the GNU Lesser General Public License #
-# along with PyGithub. If not, see <http://www.gnu.org/licenses/>. # -# along with PyGithub. If not, see <http://www.gnu.org/licenses/>. #
-# # -# #
-################################################################################ -# ##############################################################################
- -
-import unittest -import unittest
-import github -import github

View File

@@ -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 Wed Dec 4 09:47:50 UTC 2013 - speilicke@suse.com

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-PyGithub # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: python-PyGithub Name: python-PyGithub
Version: 1.21.0 Version: 1.25.2
Release: 0 Release: 0
Summary: Use the full Github API v3 Summary: Use the full Github API v3
License: LGPL-3.0+ 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 rm -r %{buildroot}%{python_sitelib}/github/tests # Don't ship testsuite
%check %check
python setup.py test python setup.py -q test
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc README.rst github/COPYING github/COPYING.LESSER %doc README.rst COPYING COPYING.LESSER
%{python_sitelib}/github %{python_sitelib}/github
%{python_sitelib}/PyGithub-%{version}-py%{py_ver}.egg-info %{python_sitelib}/PyGithub-%{version}-py%{py_ver}.egg-info