15
0

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
This commit is contained in:
2025-05-26 11:36:28 +00:00
committed by Git OBS Bridge
parent 5dbd327f4c
commit 8c2cd5e7e3
2 changed files with 11 additions and 5 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon May 26 10:58:36 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
-------------------------------------------------------------------
Tue Sep 12 15:25:02 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -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