From d512f9d601e6acf86141468ec09138ee220a91b4f46a21a5fb9c0eb30ad7562c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Tue, 27 May 2025 13:57:44 +0000 Subject: [PATCH] - Convert to pip-based build OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ged4py?expand=0&rev=6 --- python-ged4py.changes | 5 +++++ python-ged4py.spec | 12 +++++++----- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/python-ged4py.changes b/python-ged4py.changes index fd9145e..ad799ac 100644 --- a/python-ged4py.changes +++ b/python-ged4py.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue May 27 13:57:22 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Mon Apr 6 14:32:12 UTC 2020 - Marketa Calabkova diff --git a/python-ged4py.spec b/python-ged4py.spec index a5a401c..35d844c 100644 --- a/python-ged4py.spec +++ b/python-ged4py.spec @@ -1,7 +1,7 @@ # # spec file for package python-ged4py # -# Copyright (c) 2020 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-ged4py Version: 0.1.12 Release: 0 @@ -25,7 +24,9 @@ License: MIT Group: Development/Languages/Python URL: https://github.com/andy-z/ged4py Source: https://files.pythonhosted.org/packages/source/g/ged4py/ged4py-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-ansel @@ -44,10 +45,10 @@ GEDCOM tools for Python. chmod a-x README.rst %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -56,6 +57,7 @@ chmod a-x README.rst %files %{python_files} %doc AUTHORS.rst README.rst %license LICENSE -%{python_sitelib}/* +%{python_sitelib}/ged4py +%{python_sitelib}/ged4py-%{version}*-info %changelog