15
0

- Update to 1.3.0:

* Add partial support for the Checks API:
  * Add unignore method to unignore notifications from repository for the user, to Repository and ShortRepository classes.
  * Add unsubscribe method to unsubscribe the user to repository's notifications, to Repository and ShortRepository classes.
  * Add support for webhooks in an organization

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-github3.py?expand=0&rev=16
This commit is contained in:
Tomáš Chvátal
2019-03-14 16:20:12 +00:00
committed by Git OBS Bridge
parent 46026a6540
commit 9b70d0e45b
4 changed files with 16 additions and 9 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-github3.py
#
# 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
@@ -18,12 +18,12 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-github3.py
Version: 1.2.0
Version: 1.3.0
Release: 0
Summary: Python wrapper for the GitHub API
License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://github3.readthedocs.io
URL: https://github.com/sigmavirus24/github3.py
Source0: https://files.pythonhosted.org/packages/source/g/github3.py/github3.py-%{version}.tar.gz
Source20: https://raw.githubusercontent.com/sigmavirus24/github3.py/%{version}/tests/id_rsa.pub
BuildRequires: %{python_module setuptools}
@@ -64,9 +64,7 @@ cp %{SOURCE20} tests/
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
py.test-%{$python_bin_suffix}
}
%pytest
%files %{python_files}
%doc AUTHORS.rst README.rst