From 8c2cd5e7e374e00eacb8ab91ef9bed4dc03e8b3d218dd66fdb2db065940a03e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Mon, 26 May 2025 11:36:28 +0000 Subject: [PATCH] Accepting request 1280121 from home:mcalabkova:branches:devel:languages:python - Convert to pip-based build OBS-URL: https://build.opensuse.org/request/show/1280121 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-curtsies?expand=0&rev=33 --- python-curtsies.changes | 5 +++++ python-curtsies.spec | 11 ++++++----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/python-curtsies.changes b/python-curtsies.changes index b3080ce..97cc19e 100644 --- a/python-curtsies.changes +++ b/python-curtsies.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon May 26 10:58:36 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Tue Sep 12 15:25:02 UTC 2023 - Dirk Müller diff --git a/python-curtsies.spec b/python-curtsies.spec index 3aabbd7..72ebd57 100644 --- a/python-curtsies.spec +++ b/python-curtsies.spec @@ -1,7 +1,7 @@ # # spec file for package python-curtsies # -# Copyright (c) 2023 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-%{**}} %define skip_python2 1 %define skip_python36 1 Name: python-curtsies @@ -29,9 +28,11 @@ URL: https://github.com/bpython/curtsies Source: https://files.pythonhosted.org/packages/source/c/curtsies/curtsies-%{version}.tar.gz BuildRequires: %{python_module blessed >= 1.5} BuildRequires: %{python_module cwcwidth} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module pyte} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-blessed >= 1.5 @@ -47,10 +48,10 @@ arrays of text. %setup -q -n curtsies-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -60,6 +61,6 @@ arrays of text. %license LICENSE %doc README.md %{python_sitelib}/curtsies -%{python_sitelib}/curtsies-%{version}-py*.egg-info +%{python_sitelib}/curtsies-%{version}*-info %changelog