forked from pool/python-PyGithub
Accepting request 703013 from devel:languages:python
- Update to 1.43.7: * Exclude tests from PyPI distribution (#1031) (78d283b9) * Add codecov badge (#1090) (4c0b54c0) - Update to 1.43.6: * New features o Add support for Python 3.7 (#1028) (6faa00ac) o Adding HTTP retry functionality via urllib3 (#1002) (5ae7af55) o Add new dismiss() method on PullRequestReview (#1053) (8ef71b1b) o Add since and before to get_notifications (#1074) (7ee6c417) o Add url parameter to include anonymous contributors in get_contributors (#1075) (293846be) o Provide option to extend expiration of jwt token (#1068) (86a9d8e9) * Bug Fixes & Improvements o Fix the default parameter for PullRequest.create_review (#1058) (118def30) o Fix get_access_token (#1042) (6a89eb64) o Fix Organization.add_to_members role passing (#1039) (480f91cf) * Deprecation o Remove Status API (6efd6318) - Add patch fix-httpretty-dep.patch OBS-URL: https://build.opensuse.org/request/show/703013 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyGithub?expand=0&rev=10
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:263102b43a83e2943900c1313109db7a00b3b78aeeae2c9137ba694982864872
|
|
||||||
size 2885333
|
|
12
fix-httpretty-dep.patch
Normal file
12
fix-httpretty-dep.patch
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
Index: PyGithub-1.43.7/setup.py
|
||||||
|
===================================================================
|
||||||
|
--- PyGithub-1.43.7.orig/setup.py
|
||||||
|
+++ PyGithub-1.43.7/setup.py
|
||||||
|
@@ -109,6 +109,6 @@ if __name__ == "__main__":
|
||||||
|
},
|
||||||
|
tests_require=[
|
||||||
|
"cryptography",
|
||||||
|
- "httpretty==0.9.6"
|
||||||
|
+ "httpretty>=0.9.6"
|
||||||
|
]
|
||||||
|
)
|
@@ -1,3 +1,25 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 14 19:43:19 UTC 2019 - Gary Smith <GSmith@suse.com>
|
||||||
|
|
||||||
|
- Update to 1.43.7:
|
||||||
|
* Exclude tests from PyPI distribution (#1031) (78d283b9)
|
||||||
|
* Add codecov badge (#1090) (4c0b54c0)
|
||||||
|
- Update to 1.43.6:
|
||||||
|
* New features
|
||||||
|
o Add support for Python 3.7 (#1028) (6faa00ac)
|
||||||
|
o Adding HTTP retry functionality via urllib3 (#1002) (5ae7af55)
|
||||||
|
o Add new dismiss() method on PullRequestReview (#1053) (8ef71b1b)
|
||||||
|
o Add since and before to get_notifications (#1074) (7ee6c417)
|
||||||
|
o Add url parameter to include anonymous contributors in get_contributors (#1075) (293846be)
|
||||||
|
o Provide option to extend expiration of jwt token (#1068) (86a9d8e9)
|
||||||
|
* Bug Fixes & Improvements
|
||||||
|
o Fix the default parameter for PullRequest.create_review (#1058) (118def30)
|
||||||
|
o Fix get_access_token (#1042) (6a89eb64)
|
||||||
|
o Fix Organization.add_to_members role passing (#1039) (480f91cf)
|
||||||
|
* Deprecation
|
||||||
|
o Remove Status API (6efd6318)
|
||||||
|
- Add patch fix-httpretty-dep.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Mar 6 08:55:14 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
Wed Mar 6 08:55:14 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
@@ -18,17 +18,19 @@
|
|||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-PyGithub
|
Name: python-PyGithub
|
||||||
Version: 1.43.5
|
Version: 1.43.7
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python library to use the GitHub API v3
|
Summary: Python library to use the GitHub API v3
|
||||||
License: LGPL-3.0-or-later
|
License: LGPL-3.0-or-later
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/PyGithub/PyGithub
|
URL: https://github.com/PyGithub/PyGithub
|
||||||
Source: https://files.pythonhosted.org/packages/source/P/PyGithub/PyGithub-%{version}.tar.gz
|
Source: https://github.com/PyGithub/PyGithub/archive/v%{version}.tar.gz
|
||||||
# PATCH-FIX-OPENSUSE sebix+novell.com@sebix.at -- Remove test that needs network access
|
# PATCH-FIX-OPENSUSE sebix+novell.com@sebix.at -- Remove test that needs network access
|
||||||
Patch0: PyGithub-drop-network-tests.patch
|
Patch0: PyGithub-drop-network-tests.patch
|
||||||
|
Patch1: fix-httpretty-dep.patch
|
||||||
BuildRequires: %{python_module Deprecated}
|
BuildRequires: %{python_module Deprecated}
|
||||||
BuildRequires: %{python_module PyJWT}
|
BuildRequires: %{python_module PyJWT}
|
||||||
|
BuildRequires: %{python_module httpretty >= 0.9.6}
|
||||||
BuildRequires: %{python_module requests >= 2.14.0}
|
BuildRequires: %{python_module requests >= 2.14.0}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
@@ -47,18 +49,18 @@ etc.) can be managed with this.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n PyGithub-%{version}
|
%setup -q -n PyGithub-%{version}
|
||||||
%patch0
|
%autopatch -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%python_install
|
||||||
%python_expand rm -r %{buildroot}%{$python_sitelib}/github/tests/
|
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%python_exec setup.py test
|
# When python3 support was added, none of the tests were made python3-compliant
|
||||||
|
python setup.py test
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license COPYING COPYING.LESSER
|
%license COPYING COPYING.LESSER
|
||||||
|
3
v1.43.7.tar.gz
Normal file
3
v1.43.7.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:5bddf346e3db6423f20ad2cc54b5e96f8039e79afdd320e21210e0e985851942
|
||||||
|
size 2832588
|
Reference in New Issue
Block a user