From 2b7010eab0f89b9e99a485782b57da9644bcc7d5013cf4f7f9ae0570fe179507 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 6 Mar 2019 09:09:51 +0000 Subject: [PATCH 1/2] - Update to 1.43.5: * Many actual changes to enumerate, mostly support of current github api see changes.rst file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyGithub?expand=0&rev=17 --- PyGithub-1.35.tar.gz | 3 --- PyGithub-1.43.5.tar.gz | 3 +++ python-PyGithub.changes | 7 +++++++ python-PyGithub.spec | 24 +++++++++++------------- 4 files changed, 21 insertions(+), 16 deletions(-) delete mode 100644 PyGithub-1.35.tar.gz create mode 100644 PyGithub-1.43.5.tar.gz diff --git a/PyGithub-1.35.tar.gz b/PyGithub-1.35.tar.gz deleted file mode 100644 index 4ded529..0000000 --- a/PyGithub-1.35.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fea1c5adedb0b2c641422efa7d22ad1af1b538a499faf25da14c0bb57e2cfefe -size 2625163 diff --git a/PyGithub-1.43.5.tar.gz b/PyGithub-1.43.5.tar.gz new file mode 100644 index 0000000..9fb064c --- /dev/null +++ b/PyGithub-1.43.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:263102b43a83e2943900c1313109db7a00b3b78aeeae2c9137ba694982864872 +size 2885333 diff --git a/python-PyGithub.changes b/python-PyGithub.changes index 69af611..f7274c6 100644 --- a/python-PyGithub.changes +++ b/python-PyGithub.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Mar 6 08:55:14 UTC 2019 - Tomáš Chvátal + +- Update to 1.43.5: + * Many actual changes to enumerate, mostly support of current + github api see changes.rst file + ------------------------------------------------------------------- Wed Dec 19 00:35:29 UTC 2018 - Jan Engelhardt diff --git a/python-PyGithub.spec b/python-PyGithub.spec index b6a5c09..536c9a7 100644 --- a/python-PyGithub.spec +++ b/python-PyGithub.spec @@ -1,7 +1,7 @@ # # spec file for package python-PyGithub # -# 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 @@ -17,29 +17,27 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%{!?license: %global license %doc} -%bcond_without test Name: python-PyGithub -Version: 1.35 +Version: 1.43.5 Release: 0 Summary: Python library to use the GitHub API v3 License: LGPL-3.0-only Group: Development/Languages/Python -Url: http://pygithub.github.io/PyGithub/v1/index.html +URL: https://github.com/PyGithub/PyGithub 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_module Deprecated} +BuildRequires: %{python_module PyJWT} +BuildRequires: %{python_module requests >= 2.14.0} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -# SECTION test -BuildRequires: %{python_module PyJWT} -# /SECTION +Requires: python-Deprecated Requires: python-PyJWT +Requires: python-requests >= 2.14.0 Recommends: python-cryptography -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch - %python_subpackages %description @@ -56,11 +54,11 @@ etc.) can be managed with this. %install %python_install -%{python_expand rm -r %{buildroot}%{$python_sitelib}/github/tests/} -%{python_expand %fdupes %{buildroot}%{$python_sitelib}} +%python_expand rm -r %{buildroot}%{$python_sitelib}/github/tests/ +%python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%{python_exec setup.py test} +%python_exec setup.py test %files %{python_files} %license COPYING COPYING.LESSER From ef408ac4b861925883d704037c564e793ab81af31f92991907af7a38ee77bc50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 11 Mar 2019 14:31:33 +0000 Subject: [PATCH 2/2] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyGithub?expand=0&rev=18 --- python-PyGithub.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-PyGithub.spec b/python-PyGithub.spec index 536c9a7..258602a 100644 --- a/python-PyGithub.spec +++ b/python-PyGithub.spec @@ -21,7 +21,7 @@ Name: python-PyGithub Version: 1.43.5 Release: 0 Summary: Python library to use the GitHub API v3 -License: LGPL-3.0-only +License: LGPL-3.0-or-later Group: Development/Languages/Python URL: https://github.com/PyGithub/PyGithub Source: https://files.pythonhosted.org/packages/source/P/PyGithub/PyGithub-%{version}.tar.gz