forked from pool/python-launchpadlib
- Update to 2.0.0:
- Remove support for Python 2. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-launchpadlib?expand=0&rev=5
This commit is contained in:
3
launchpadlib-2.0.0.tar.gz
Normal file
3
launchpadlib-2.0.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:5d4a9095e91773a7565d4c159594ae30eca792fd5f9b89ded459d711484a96cb
|
||||||
|
size 209801
|
||||||
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Nov 8 06:21:44 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
|
||||||
|
|
||||||
|
- Update to 2.0.0:
|
||||||
|
- Remove support for Python 2.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon May 6 16:37:08 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
|
Mon May 6 16:37:08 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
|
||||||
|
|
||||||
|
|||||||
@@ -17,16 +17,12 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: python-launchpadlib
|
Name: python-launchpadlib
|
||||||
Version: 1.11.0
|
Version: 2.0.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python client library for Launchpad's web service
|
Summary: Python client library for Launchpad's web service
|
||||||
License: LGPL-3.0-only
|
License: LGPL-3.0-only
|
||||||
URL: https://pypi.org/project/launchpadlib/
|
URL: https://pypi.org/project/launchpadlib/
|
||||||
Source: https://launchpad.net/launchpadlib/trunk/%{version}/+download/launchpadlib-%{version}.tar.gz
|
Source: https://launchpad.net/launchpadlib/trunk/%{version}/+download/launchpadlib-%{version}.tar.gz
|
||||||
# PATCH-FEATURE-UPSTREAM 0001-Remove-support-for-Python-2.patch mcepl@suse.com
|
|
||||||
# Code from https://code.launchpad.net/~cjwatson/launchpadlib/+git/launchpadlib/+merge/461678
|
|
||||||
# Remove support for Python 2
|
|
||||||
Patch0: 0001-Remove-support-for-Python-2.patch
|
|
||||||
BuildRequires: %{python_module base >= 3.7}
|
BuildRequires: %{python_module base >= 3.7}
|
||||||
BuildRequires: %{python_module httplib2}
|
BuildRequires: %{python_module httplib2}
|
||||||
BuildRequires: %{python_module lazr.restfulclient}
|
BuildRequires: %{python_module lazr.restfulclient}
|
||||||
@@ -56,14 +52,16 @@ you can integrate your applications into Launchpad without knowing a lot about H
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%pyproject_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%{python_expand rm -r %{buildroot}%{$python_sitelib}/launchpadlib/docs
|
||||||
|
%fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%pyunittest discover -v src/launchpadlib/tests/
|
%pyunittest discover -v src/launchpadlib/tests/
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license COPYING.txt
|
%license COPYING.txt
|
||||||
%doc CONTRIBUTING.rst NEWS.rst README.rst
|
%doc README.rst src/launchpadlib/docs/
|
||||||
%{python_sitelib}/launchpadlib
|
%{python_sitelib}/launchpadlib
|
||||||
%{python_sitelib}/launchpadlib-%{version}*-info
|
%{python_sitelib}/launchpadlib-%{version}*-info
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user