forked from pool/python-curtsies
Accepting request 1280143 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1280143 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-curtsies?expand=0&rev=16
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user