From 75b5c46dec52bc6b2b2288c0a105e599b47e84780ea50be49af111cff9f17790 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Mon, 26 May 2025 12:30:29 +0000 Subject: [PATCH] - Convert to pip-based build OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dotmap?expand=0&rev=12 --- python-dotmap.changes | 5 +++++ python-dotmap.spec | 12 +++++++----- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/python-dotmap.changes b/python-dotmap.changes index 38461ad..d529219 100644 --- a/python-dotmap.changes +++ b/python-dotmap.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon May 26 12:30:15 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Tue Sep 27 18:59:25 UTC 2022 - Yogalakshmi Arunachalam diff --git a/python-dotmap.spec b/python-dotmap.spec index a35b702..f337b00 100644 --- a/python-dotmap.spec +++ b/python-dotmap.spec @@ -1,7 +1,7 @@ # # spec file for package python-dotmap # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,7 +16,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-dotmap Version: 1.3.30 Release: 0 @@ -24,7 +23,9 @@ Summary: Python ordered, dynamically-expandable dot-access dictionary License: MIT URL: https://github.com/drgrib/dotmap Source: https://files.pythonhosted.org/packages/source/d/dotmap/dotmap-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -37,10 +38,10 @@ Python ordered, dynamically-expandable dot-access dictionary. %setup -q -n dotmap-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -49,6 +50,7 @@ Python ordered, dynamically-expandable dot-access dictionary. %files %{python_files} %doc README.md %license LICENSE.txt -%{python_sitelib}/* +%{python_sitelib}/dotmap +%{python_sitelib}/dotmap-%{version}*-info %changelog