Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP3
python-PyGithub
python-PyGithub.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-PyGithub.spec of Package python-PyGithub
# # spec file for package python-PyGithub # # Copyright (c) 2017 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 # 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 http://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} %{!?license: %global license %doc} %bcond_without test Name: python-PyGithub Version: 1.35 Release: 0 Summary: Use the full Github API v3 License: LGPL-3.0 Group: Development/Languages/Python Url: http://pygithub.github.io/PyGithub/v1/index.html 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 devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros # SECTION test BuildRequires: %{python_module PyJWT} # /SECTION Requires: python-PyJWT Recommends: python-cryptography BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %python_subpackages %description PyGithub is a Python (2 and 3) library to use the Github API v3. With it, you can manage your Github resources (repositories, user profiles, organizations, etc.) from Python scripts. %prep %setup -q -n PyGithub-%{version} %patch0 %build %python_build %install %python_install %{python_expand rm -r %{buildroot}%{$python_sitelib}/github/tests/} %{python_expand %fdupes %{buildroot}%{$python_sitelib}} %check %{python_exec setup.py test} %files %{python_files} %license COPYING COPYING.LESSER %doc README.md %{python_sitelib}/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor