14
0

- Update to version 1.21.0:

+ No changelog, but https://github.com/jacquev6/PyGithub/issues?milestone=33&state=closed
- Add PyGithub-drop-network-tests.patch: Drop tests that need network access
  during build

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyGithub?expand=0&rev=8
This commit is contained in:
Sascha Peilicke
2013-12-04 09:49:01 +00:00
committed by Git OBS Bridge
parent ccec124ae3
commit 2ca0b0085c
5 changed files with 65 additions and 8 deletions

View File

@@ -17,13 +17,15 @@
Name: python-PyGithub
Version: 1.13.1
Version: 1.21.0
Release: 0
Summary: Use the full Github API v3
License: LGPL-3.0+
Group: Development/Languages/Python
Url: http://jacquev6.github.com/PyGithub
Source: http://pypi.python.org/packages/source/P/PyGithub/PyGithub-%{version}.tar.gz
# PATCH-FIX-OPENSUSE speilicke@suse.com -- Remove tests that need network access during build
Patch0: PyGithub-drop-network-tests.patch
BuildRequires: python-devel
BuildRequires: python-setuptools
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -40,7 +42,7 @@ etc.) from Python scripts.
%prep
%setup -q -n PyGithub-%{version}
chmod -x README.rst github/COPYING{,.LESSER}
%patch0 -p1
%build
python setup.py build
@@ -49,12 +51,13 @@ python setup.py build
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
rm -r %{buildroot}%{python_sitelib}/github/tests # Don't ship testsuite
#%%check
#python setup.py test
%check
python setup.py test
%files
%defattr(-,root,root,-)
%doc README.rst github/COPYING github/COPYING.LESSER
%{python_sitelib}/*
%{python_sitelib}/github
%{python_sitelib}/PyGithub-%{version}-py%{py_ver}.egg-info
%changelog