]> git.pld-linux.org Git - packages/python-argcomplete.git/commitdiff
pldize auto/th/python-argcomplete-1.9.3-1
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 4 Feb 2018 15:13:33 +0000 (17:13 +0200)
committerElan Ruusamäe <glen@pld-linux.org>
Sun, 4 Feb 2018 15:13:33 +0000 (17:13 +0200)
python-argcomplete.spec

index 41e6d341db26c017a597dd1fb5a683518fea6c5c..09700406528e735ff3dd189bd9d4db05d874f705 100644 (file)
@@ -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}
This page took 0.049076 seconds and 4 git commands to generate.