# # spec file for package python-launchpadlib # # Copyright (c) 2024 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/ # Name: python-launchpadlib Version: 1.11.0 Release: 0 Summary: Python client library for Launchpad's web service License: LGPL-3.0-only URL: https://pypi.org/project/launchpadlib/ Source: https://launchpad.net/launchpadlib/trunk/%{version}/+download/launchpadlib-%{version}.tar.gz BuildRequires: %{python_module httplib2} BuildRequires: %{python_module lazr.restfulclient} BuildRequires: %{python_module lazr.uri} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module testresources} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-httplib2 Requires: python-lazr.restfulclient Requires: python-lazr.uri Requires: python-six BuildArch: noarch %python_subpackages %description launchpadlib is an open-source Python library that lets you treat the HTTP resources published by Launchpad's web service as Python objects responding to a standard set of commands. With launchpadlib you can integrate your applications into Launchpad without knowing a lot about HTTP client programming. %prep %autosetup -p1 -n launchpadlib-%{version} %build %python_build %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check %pytest %files %{python_files} %license COPYING.txt %doc CONTRIBUTING.rst NEWS.rst README.rst %{python_sitelib}/launchpadlib* %changelog