14
0
Files
python-PyGithub/python-PyGithub.spec
Steve Kowalik 72ba6487ed - Update to 1.47
+ Bug Fixes & Improvements
    * Add support to edit and delete a project (#1434) (f11f739)
    * Add method for fetching pull requests associated with a commit (#1433) (0c55381)
    * Add "get_repo_permission" to Team class (#1416) (219bde5)
    * Add list projects support, update tests (#1431) (e44d11d)
    * Don't transform completely in PullRequest.*assignees (#1428) (b1c3549)
    * Add create_project support, add tests (#1429) (bf62f75)
    * Add draft attribute, update test (bd28524)
    * Docstring for Repository.create_git_tag_and_release (#1425) (bfeacde)
    * Create a tox docs environment (#1426) (b30c09a)
    * Add Deployments API (#1424) (3d93ee1)
    * Add support for editing project cards (#1418) (425280c)
    * Add draft flag parameter, update tests (bd0211e)
    * Switch to using pytest (#1423) (c822dd1)
    * Fix GitMembership with a hammer (#1420) (f2939eb)
    * Add support to reply to a Pull request comment (#1374) (1c82573)
    * PullRequest.update_branch(): allow expected_head_sha to be empty (#1412) (806130e)
    * Implement ProjectCard.delete() (#1417) (aeb27b7)
    * Add pre-commit plugin for black/isort/flake8 (#1398) (08b1c47)
    * Add tox (#1388) (125536f)
    * Open file in text mode in scripts/add_attribute.py (#1396) (0396a49)
    * Silence most ResourceWarnings (#1393) (dd31a70)
    * Assert more attributes in Membership (#1391) (d6dee01)
    * Assert on changed Repository attributes (#1390) (6e3ceb1)
    * Add reset to the repr for Rate (#1389) (0829af8)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyGithub?expand=0&rev=33
2020-03-16 07:12:26 +00:00

71 lines
2.1 KiB
RPMSpec

#
# spec file for package python-PyGithub
#
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-PyGithub
Version: 1.47
Release: 0
Summary: Python library to use the GitHub API v3
License: LGPL-3.0-or-later
Group: Development/Languages/Python
URL: https://github.com/PyGithub/PyGithub
Source: https://github.com/PyGithub/PyGithub/archive/v%{version}.tar.gz
BuildRequires: %{python_module Deprecated}
BuildRequires: %{python_module PyJWT}
BuildRequires: %{python_module httpretty >= 0.9.6}
BuildRequires: %{python_module parameterized >= 0.7.0}
BuildRequires: %{python_module pytest-cov}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests >= 2.14.0}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-Deprecated
Requires: python-PyJWT
Requires: python-requests >= 2.14.0
Recommends: python-cryptography
BuildArch: noarch
%python_subpackages
%description
PyGithub is a Python 3 library to use the Github API v3.
Github resources (repositories, user profiles, organizations,
etc.) can be managed with this.
%prep
%setup -q -n PyGithub-%{version}
%autopatch -p1
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%files %{python_files}
%license COPYING COPYING.LESSER
%doc README.md
%{python_sitelib}/*
%changelog