From 9ed8d5ed8abee6a9b305df6de7df7209da38bd6d7f11567f1d31bf497c2b77d2 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 8 Nov 2024 06:24:13 +0000 Subject: [PATCH 1/2] - 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 --- launchpadlib-2.0.0.tar.gz | 3 +++ python-launchpadlib.changes | 6 ++++++ python-launchpadlib.spec | 12 +++++------- 3 files changed, 14 insertions(+), 7 deletions(-) create mode 100644 launchpadlib-2.0.0.tar.gz diff --git a/launchpadlib-2.0.0.tar.gz b/launchpadlib-2.0.0.tar.gz new file mode 100644 index 0000000..4c3dd0c --- /dev/null +++ b/launchpadlib-2.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5d4a9095e91773a7565d4c159594ae30eca792fd5f9b89ded459d711484a96cb +size 209801 diff --git a/python-launchpadlib.changes b/python-launchpadlib.changes index 98d1bbb..0421a42 100644 --- a/python-launchpadlib.changes +++ b/python-launchpadlib.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Nov 8 06:21:44 UTC 2024 - Matej Cepl + +- Update to 2.0.0: + - Remove support for Python 2. + ------------------------------------------------------------------- Mon May 6 16:37:08 UTC 2024 - Matej Cepl diff --git a/python-launchpadlib.spec b/python-launchpadlib.spec index b2c2e50..0344191 100644 --- a/python-launchpadlib.spec +++ b/python-launchpadlib.spec @@ -17,16 +17,12 @@ Name: python-launchpadlib -Version: 1.11.0 +Version: 2.0.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 -# 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 httplib2} BuildRequires: %{python_module lazr.restfulclient} @@ -56,14 +52,16 @@ you can integrate your applications into Launchpad without knowing a lot about H %install %pyproject_install -%python_expand %fdupes %{buildroot}%{$python_sitelib} +%{python_expand rm -r %{buildroot}%{$python_sitelib}/launchpadlib/docs +%fdupes %{buildroot}%{$python_sitelib} +} %check %pyunittest discover -v src/launchpadlib/tests/ %files %{python_files} %license COPYING.txt -%doc CONTRIBUTING.rst NEWS.rst README.rst +%doc README.rst src/launchpadlib/docs/ %{python_sitelib}/launchpadlib %{python_sitelib}/launchpadlib-%{version}*-info From 1f08d021a57e887db3c6d97db2418895cbef3106aac56dae995e5ff9dd25eab7 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 8 Nov 2024 06:59:16 +0000 Subject: [PATCH 2/2] - Remove upstreamed patch 0001-Remove-support-for-Python-2.patch OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-launchpadlib?expand=0&rev=6 --- python-launchpadlib.changes | 1 + 1 file changed, 1 insertion(+) diff --git a/python-launchpadlib.changes b/python-launchpadlib.changes index 0421a42..48015e1 100644 --- a/python-launchpadlib.changes +++ b/python-launchpadlib.changes @@ -3,6 +3,7 @@ Fri Nov 8 06:21:44 UTC 2024 - Matej Cepl - Update to 2.0.0: - Remove support for Python 2. +- Remove upstreamed patch 0001-Remove-support-for-Python-2.patch ------------------------------------------------------------------- Mon May 6 16:37:08 UTC 2024 - Matej Cepl