Accepting request 655399 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/655399 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-click?expand=0&rev=7
This commit is contained in:
commit
04d9b54328
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 5 01:18:27 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Trim bias and future aims from description.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Dec 4 12:46:39 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
- Remove superfluous devel dependency for noarch package
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Sep 12 06:39:01 UTC 2017 - thomas.schraitle@suse.com
|
Tue Sep 12 06:39:01 UTC 2017 - thomas.schraitle@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-click
|
# spec file for package python-click
|
||||||
#
|
#
|
||||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@ -12,7 +12,7 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
@ -20,14 +20,13 @@
|
|||||||
Name: python-click
|
Name: python-click
|
||||||
Version: 6.7
|
Version: 6.7
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A simple wrapper around optparse for powerful command line utilities
|
Summary: A wrapper around optparse for command line utilities
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: http://github.com/mitsuhiko/click
|
URL: http://github.com/mitsuhiko/click
|
||||||
Source: https://files.pythonhosted.org/packages/source/c/click/click-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/c/click/click-%{version}.tar.gz
|
||||||
# PATCH-FIX-OPENSUSE python-click-test_compat.py.patch -- disable a test to make it build
|
# PATCH-FIX-OPENSUSE python-click-test_compat.py.patch -- disable a test to make it build
|
||||||
Patch0: %{name}-test_compat.py.patch
|
Patch0: %{name}-test_compat.py.patch
|
||||||
BuildRequires: %{python_module devel}
|
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
@ -36,14 +35,10 @@ BuildArch: noarch
|
|||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Click is a Python package for creating beautiful command line interfaces
|
Click is a Python package for creating command line interfaces
|
||||||
in a composable way with as little code as necessary. It's the "Command
|
in a composable way with as little code as necessary. It's the "Command
|
||||||
Line Interface Creation Kit". It's highly configurable but comes with
|
Line Interface Creation Kit". It is configurable, and comes with
|
||||||
sensible defaults out of the box.
|
defaults out of the box.
|
||||||
|
|
||||||
It aims to make the process of writing command line tools quick and fun
|
|
||||||
while also preventing any frustration caused by the inability to implement
|
|
||||||
an intended CLI API.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n click-%{version}
|
%setup -q -n click-%{version}
|
||||||
@ -61,8 +56,8 @@ export LANG=en_US.UTF-8
|
|||||||
%{python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python -m pytest --tb=short}
|
%{python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python -m pytest --tb=short}
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%license LICENSE
|
||||||
%doc CHANGES LICENSE README
|
%doc CHANGES README
|
||||||
%{python_sitelib}/click
|
%{python_sitelib}/click
|
||||||
%{python_sitelib}/click-%{version}-py%{python_version}.egg-info
|
%{python_sitelib}/click-%{version}-py%{python_version}.egg-info
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user