14
0

- 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
This commit is contained in:
Tomáš Chvátal
2019-03-06 09:09:51 +00:00
committed by Git OBS Bridge
parent 2a4f71bea2
commit 2b7010eab0
4 changed files with 21 additions and 16 deletions

View File

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

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

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:263102b43a83e2943900c1313109db7a00b3b78aeeae2c9137ba694982864872
size 2885333

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Mar 6 08:55:14 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- 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 <jengelh@inai.de>

View File

@@ -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