forked from pool/python-click
Accepting request 482039 from devel:languages:python
1 OBS-URL: https://build.opensuse.org/request/show/482039 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-click?expand=0&rev=4
This commit is contained in:
commit
5701d53fb5
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cc6a19da8ebff6e7074f731447ef7e112bd23adf3de5c597cf9989f2fd8defe9
|
||||
size 283420
|
3
click-6.7.tar.gz
Normal file
3
click-6.7.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f15516df478d5a56180fbf80e68f206010e6d160fc39fa508b65e035fd75130b
|
||||
size 279019
|
@ -1,3 +1,20 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 22 15:44:17 UTC 2017 - aloisio@gmx.com
|
||||
|
||||
- Converted to single-spec
|
||||
- Changed source URL to pypi.io
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 16 12:41:06 UTC 2017 - michael@stroeder.com
|
||||
|
||||
- update to version 6.7:
|
||||
* Make `click.progressbar` work with `codecs.open` files. See #637.
|
||||
* Fix bug in bash completion with nested subcommands. See #639.
|
||||
* Fix test runner not saving caller env correctly. See #644.
|
||||
* Fix handling of SIGPIPE. See #626
|
||||
* Deal with broken Windows environments such as Google App
|
||||
Engine's. See #711.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 17 13:49:50 UTC 2016 - rjschwei@suse.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-click
|
||||
#
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2017 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
|
||||
@ -16,22 +16,22 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-click
|
||||
Version: 6.6
|
||||
Version: 6.7
|
||||
Release: 0
|
||||
Summary: A simple wrapper around optparse for powerful command line utilities
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
Url: http://github.com/mitsuhiko/click
|
||||
Source: https://files.pythonhosted.org/packages/source/c/click/click-%{version}.tar.gz
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-pytest
|
||||
BuildRequires: python-setuptools
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
%else
|
||||
Source: https://pypi.io/packages/source/c/click/click-%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Click is a Python package for creating beautiful command line interfaces
|
||||
@ -47,19 +47,20 @@ an intended CLI API.
|
||||
%setup -q -n click-%{version}
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
%python_install
|
||||
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
pushd tests
|
||||
PYTHONPATH=%{buildroot}%{python_sitelib} py.test --tb=short
|
||||
popd
|
||||
export LANG=en_US.UTF-8
|
||||
%{python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} %{_bindir}/py.test-%{$python_version} --tb=short}
|
||||
|
||||
%files
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc CHANGES LICENSE README
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/click
|
||||
%{python_sitelib}/click-%{version}-py%{py_ver}.egg-info
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user