forked from pool/python-crayons
Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 39f4f462d7 | |||
| 0dcd7edfde |
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 16 06:12:19 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Switch to pyroject macros.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jun 18 15:29:37 UTC 2021 - Matej Cepl <mcepl@suse.com>
|
Fri Jun 18 15:29:37 UTC 2021 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-crayons
|
# spec file for package python-crayons
|
||||||
#
|
#
|
||||||
# Copyright (c) 2021 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,7 +16,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
%define modname crayons
|
%define modname crayons
|
||||||
Name: python-crayons
|
Name: python-crayons
|
||||||
Version: 0.4.0
|
Version: 0.4.0
|
||||||
@@ -26,7 +25,9 @@ License: MIT
|
|||||||
URL: https://github.com/MasterOdin/crayons
|
URL: https://github.com/MasterOdin/crayons
|
||||||
Source: https://github.com/MasterOdin/%{modname}/archive/v%{version}.tar.gz#/%{modname}-%{version}.tar.gz
|
Source: https://github.com/MasterOdin/%{modname}/archive/v%{version}.tar.gz#/%{modname}-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module colorama}
|
BuildRequires: %{python_module colorama}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-colorama
|
Requires: python-colorama
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@@ -41,10 +42,10 @@ and normal.
|
|||||||
%setup -q -n %{modname}-%{version}
|
%setup -q -n %{modname}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%python_exec test_crayons.py
|
%python_exec test_crayons.py
|
||||||
@@ -53,7 +54,7 @@ and normal.
|
|||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%{python_sitelib}/%{modname}.py
|
%{python_sitelib}/%{modname}.py
|
||||||
%{python_sitelib}/%{modname}-%{version}-py*.egg-info
|
%{python_sitelib}/%{modname}-%{version}.dist-info
|
||||||
%pycache_only %{python_sitelib}/__pycache__/%{modname}*
|
%pycache_only %{python_sitelib}/__pycache__/%{modname}.*.pyc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user