17
0

Compare commits

2 Commits

Author SHA256 Message Date
6a761907ab Accepting request 1251797 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1251797
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-mygpoclient?expand=0&rev=7
2025-03-10 17:07:07 +00:00
561ab4a36f Accepting request 1251763 from home:glaubitz:branches:devel:languages:python
- Update to 1.10
  * Add Python 3.11 and 3.12 to tests.
  * Switch from distutils to setuptools.
  * Remove unsupported Python 2.7 and 3.6 from tests.
  * Replace assertEquals with assertEqual.
  * Replace assert_ with assertIn or assertTrue.
  * Update to python 3.13
- Limit Python files matched in %files section
- Switch build system from setuptools to pyproject.toml
  * Add python-pip and python-wheel to BuildRequires
  * Replace %python_build with %pyproject_wheel
  * Replace %python_install with %pyproject_install

OBS-URL: https://build.opensuse.org/request/show/1251763
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mygpoclient?expand=0&rev=14
2025-03-10 12:29:19 +00:00
4 changed files with 28 additions and 9 deletions

3
mygpoclient-1.10.tar.gz Normal file
View File

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

View File

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

View File

@@ -1,3 +1,19 @@
-------------------------------------------------------------------
Mon Mar 10 10:49:54 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 1.10
* Add Python 3.11 and 3.12 to tests.
* Switch from distutils to setuptools.
* Remove unsupported Python 2.7 and 3.6 from tests.
* Replace assertEquals with assertEqual.
* Replace assert_ with assertIn or assertTrue.
* Update to python 3.13
- Limit Python files matched in %files section
- Switch build system from setuptools to pyproject.toml
* Add python-pip and python-wheel to BuildRequires
* Replace %python_build with %pyproject_wheel
* Replace %python_install with %pyproject_install
-------------------------------------------------------------------
Sat Mar 9 11:13:17 UTC 2024 - ecsos <ecsos@opensuse.org>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-mygpoclient
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2010 Pascal Bleser <pascal.bleser@opensuse.org>
#
# All modifications and additions to the file contributed by third parties
@@ -19,18 +19,20 @@
%{?sle15_python_module_pythons}
Name: python-mygpoclient
Version: 1.9
Version: 1.10
Release: 0
Summary: Python gpodder.net API Client Library
License: GPL-3.0-or-later
URL: https://gpodder.org/mygpoclient
Source: https://files.pythonhosted.org/packages/source/m/mygpoclient/mygpoclient-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-simplejson
Requires(post): update-alternatives
Requires(postun):update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch
%python_subpackages
@@ -42,10 +44,10 @@ the my.gpodder.org web services.
%setup -q -n "mygpoclient-%{version}"
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_clone -a %{buildroot}%{_mandir}/man1/mygpo-bpsync.1
%python_clone -a %{buildroot}%{_bindir}/mygpo-simple-client
%python_clone -a %{buildroot}%{_bindir}/mygpo-list-devices
@@ -69,6 +71,7 @@ the my.gpodder.org web services.
%python_alternative %{_bindir}/mygpo-list-devices
%python_alternative %{_bindir}/mygpo-simple-client
%python_alternative %{_mandir}/man1/mygpo-bpsync.1%{ext_man}
%{python_sitelib}/*
%{python_sitelib}/mygpoclient
%{python_sitelib}/mygpoclient-%{version}.dist-info
%changelog