1
0

Accepting request 1172172 from home:dstoecker

Needed for bzr support of breezy.

OBS-URL: https://build.opensuse.org/request/show/1172172
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-launchpadlib?expand=0&rev=1
This commit is contained in:
2024-05-06 13:13:46 +00:00
committed by Git OBS Bridge
commit 2cad8b655d
5 changed files with 95 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:01898c937477b0c64a75338adb0977028d7346a8a019eb023cf68fed99850146
size 210106

View File

@@ -0,0 +1,4 @@
-------------------------------------------------------------------
Mon May 6 12:36:50 UTC 2024 - Dirk Stoecker <opensuse@dstoecker.de>
- first version 1.11.0

64
python-launchpadlib.spec Normal file
View File

@@ -0,0 +1,64 @@
#
# 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