commit c2ac89bf1c49ca15620f1fd460d4519428eb0ad1 Author: Elan Ruusamäe <g...@pld-linux.org> Date: Sun Feb 4 17:13:33 2018 +0200
pldize python-argcomplete.spec | 48 +++++++++++++++++++++++++++++------------------- 1 file changed, 29 insertions(+), 19 deletions(-) --- diff --git a/python-argcomplete.spec b/python-argcomplete.spec index 41e6d34..0970040 100644 --- a/python-argcomplete.spec +++ b/python-argcomplete.spec @@ -13,31 +13,30 @@ Version: 1.9.3 Release: 1 License: Apache v2.0 Group: Libraries/Python -URL: https://github.com/kislyuk/argcomplete -Source0: %{url}/archive/v%{version}/%{pypi_name}-%{version}.tar.gz +Source0: https://github.com/kislyuk/argcomplete/archive/v%{version}/%{pypi_name}-%{version}.tar.gz # Source0-md5: 18afda95a2726eb24df810645bef4b38 +URL: https://github.com/kislyuk/argcomplete BuildRequires: rpm-pythonprov BuildRequires: rpmbuild(macros) >= 1.714 %if %{with check} BuildRequires: tcsh %endif BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Argcomplete provides easy, extensible command line tab completion of +arguments for your Python script. + +It makes two assumptions: -%global _description \ -Argcomplete provides easy, extensible command line tab completion of\ -arguments for your Python script.\ -\ -It makes two assumptions: \ -\ - * You are using bash as your shell\ - * You are using argparse to manage your command line arguments/options\ -\ -Argcomplete is particularly useful if your program has lots of\ -options or subparsers, and if your program can dynamically suggest\ -completions for your argument/option values (for example, if the user\ -is browsing resources over the network). - -%description %{_description} + - You are using bash as your shell + - You are using argparse to manage your command line arguments/options + +Argcomplete is particularly useful if your program has lots of options +or subparsers, and if your program can dynamically suggest completions +for your argument/option values (for example, if the user is browsing +resources over the network). %package -n python3-%{pypi_name} Summary: %{summary} @@ -50,8 +49,19 @@ BuildRequires: python3-pexpect # pkg_resources module is used from python-argcomplete-check-easy-install-script Requires: python3-setuptools -%description -n python3-%{pypi_name} %{_description} -Python 3 version. +%description -n python3-%{pypi_name} +Argcomplete provides easy, extensible command line tab completion of +arguments for your Python script. + +It makes two assumptions: + + - You are using bash as your shell + - You are using argparse to manage your command line arguments/options + +Argcomplete is particularly useful if your program has lots of options +or subparsers, and if your program can dynamically suggest completions +for your argument/option values (for example, if the user is browsing +resources over the network). %prep %setup -q -n %{pypi_name}-%{version} ================================================================ ---- gitweb: http://git.pld-linux.org/gitweb.cgi/packages/python-argcomplete.git/commitdiff/c2ac89bf1c49ca15620f1fd460d4519428eb0ad1 _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit