forked from pool/python-husl
Accepting request 1280845 from devel:languages:python
- Convert to pip-based build OBS-URL: https://build.opensuse.org/request/show/1280845 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-husl?expand=0&rev=4
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed May 28 11:38:51 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Convert to pip-based build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 4 14:29:22 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-husl
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# 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-%{**}}
|
||||
%bcond_with test
|
||||
Name: python-husl
|
||||
Version: 4.0.3
|
||||
@@ -24,13 +23,14 @@ Release: 0
|
||||
Summary: A Python implementation of the "Human-friendly HSL" (HSLuv) color model
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Url: http://www.husl-colors.org
|
||||
URL: https://www.husl-colors.org
|
||||
Source: https://files.pythonhosted.org/packages/source/h/husl/husl-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -40,10 +40,10 @@ A Python implementation of HUSL (revision 3).
|
||||
%setup -q -n husl-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%if %{with test}
|
||||
@@ -52,8 +52,9 @@ A Python implementation of HUSL (revision 3).
|
||||
%endif
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc README.md
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/husl.py
|
||||
%{python_sitelib}/husl-%{version}*-info
|
||||
%pycache_only %{python_sitelib}/__pycache__/husl*
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user