forked from pool/python-click-completion
Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 91b486fab9 | |||
| ae61d484c6 |
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 15 13:19:48 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to pip-based build
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Mar 31 12:13:46 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
Tue Mar 31 12:13:46 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-click-completion
|
# spec file for package python-click-completion
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 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-%{**}}
|
|
||||||
Name: python-click-completion
|
Name: python-click-completion
|
||||||
Version: 0.5.2
|
Version: 0.5.2
|
||||||
Release: 0
|
Release: 0
|
||||||
@@ -25,17 +24,19 @@ License: MIT
|
|||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/click-contrib/click-completion
|
URL: https://github.com/click-contrib/click-completion
|
||||||
Source: https://github.com/click-contrib/click-completion/archive/v%{version}.tar.gz#/click-completion-%{version}.tar.gz
|
Source: https://github.com/click-contrib/click-completion/archive/v%{version}.tar.gz#/click-completion-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-Jinja2
|
Requires: python-Jinja2
|
||||||
Requires: python-click
|
Requires: python-click
|
||||||
Requires: python-shellingham
|
Requires: python-shellingham
|
||||||
Requires: python-six
|
Requires: python-six
|
||||||
|
BuildArch: noarch
|
||||||
%ifpython2
|
%ifpython2
|
||||||
Requires: python-enum34
|
Requires: python-enum34
|
||||||
%endif
|
%endif
|
||||||
BuildArch: noarch
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -47,15 +48,16 @@ sed -i '1 {/^#!/d}' click_completion/*.py examples/*
|
|||||||
chmod a-x examples/*
|
chmod a-x examples/*
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.md examples/
|
%doc README.md examples/
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/click[-_]completion
|
||||||
|
%{python_sitelib}/click[-_]completion-%{version}*-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user