14
0

Accepting request 1285132 from devel:languages:python

- Convert to pip-based build

OBS-URL: https://build.opensuse.org/request/show/1285132
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-simplekml?expand=0&rev=6
This commit is contained in:
2025-06-12 14:46:58 +00:00
committed by Git OBS Bridge
2 changed files with 12 additions and 6 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jun 12 12:05:10 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Oct 7 15:40:41 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com> Fri Oct 7 15:40:41 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-simplekml # spec file for package python-simplekml
# #
# Copyright (c) 2022 SUSE LLC # Copyright (c) 2025 SUSE LLC
# Copyright (c) 2016-2019, Martin Hauke <mardnh@gmx.de> # Copyright (c) 2016-2019, Martin Hauke <mardnh@gmx.de>
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
@@ -17,16 +17,17 @@
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-simplekml Name: python-simplekml
Version: 1.3.6 Version: 1.3.6
Release: 0 Release: 0
Summary: A Simple KML creator Summary: A Simple KML creator
License: LGPL-3.0-or-later License: LGPL-3.0-or-later
URL: http://readthedocs.org/projects/simplekml/ URL: https://readthedocs.org/projects/simplekml/
Source: https://files.pythonhosted.org/packages/source/s/simplekml/simplekml-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/s/simplekml/simplekml-%{version}.tar.gz
Source1: https://raw.githubusercontent.com/eisoldt/simplekml/master/LICENSE.txt Source1: https://raw.githubusercontent.com/eisoldt/simplekml/master/LICENSE.txt
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildArch: noarch BuildArch: noarch
@@ -45,10 +46,10 @@ sed -i 's/\r$//' README.md
cp %{SOURCE1} . cp %{SOURCE1} .
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
#%%check #%%check
@@ -58,6 +59,6 @@ cp %{SOURCE1} .
%license LICENSE.txt %license LICENSE.txt
%doc README.md %doc README.md
%{python_sitelib}/simplekml %{python_sitelib}/simplekml
%{python_sitelib}/simplekml-%{version}-py%{python_version}.egg-info %{python_sitelib}/simplekml-%{version}*-info
%changelog %changelog