A new user interface for you! Read more...

File python-python-gitlab.spec of Package python-python-gitlab

#
# spec file for package python-gitlab
#
# 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/
#

Name:           python-python-gitlab
Version:        0.21.2
Release:        0
Summary:        Python wrapper for the GitLab API
License:        LGPL-3.0
Url:            https://github.com/python-gitlab/python-gitlab
Source:		https://files.pythonhosted.org/packages/source/p/python-gitlab-%{version}.tar.gz
BuildRequires:  python-rpm-macros
BuildRequires:  python
BuildRequires:  python-requests
BuildRequires:  python-setuptools
BuildRequires:  python-six
BuildRequires:  python3
BuildRequires:  python3-setuptools
BuildRequires:  fdupes
Requires:       python-requests
Requires:       python-six
BuildArch:      noarch

%python_subpackages

%description
Python package providing access to the GitLab server API.

%prep 
%setup -q -n python-gitlab-%{version}

%build
%python_build

%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}

%files %{python_files}
%doc COPYING README.rst
%{python_sitelib}/*
%python3_only %{_bindir}/gitlab

%changelog