SHA256
1
0
forked from pool/python-click

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:
Dominique Leuenberger 2018-12-06 11:15:11 +00:00 committed by Git OBS Bridge
commit 04d9b54328
2 changed files with 19 additions and 14 deletions

View File

@ -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

View File

@ -1,7 +1,7 @@
#
# 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
# 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)
# 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
Version: 6.7
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
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
# PATCH-FIX-OPENSUSE python-click-test_compat.py.patch -- disable a test to make it build
Patch0: %{name}-test_compat.py.patch
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
@ -36,14 +35,10 @@ BuildArch: noarch
%python_subpackages
%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
Line Interface Creation Kit". It's highly configurable but comes with
sensible 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.
Line Interface Creation Kit". It is configurable, and comes with
defaults out of the box.
%prep
%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}
%files %{python_files}
%defattr(-,root,root,-)
%doc CHANGES LICENSE README
%license LICENSE
%doc CHANGES README
%{python_sitelib}/click
%{python_sitelib}/click-%{version}-py%{python_version}.egg-info