Blame SPECS/python-argcomplete.spec

3e371a
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
3e371a
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
3e371a
3e371a
Summary:	Bash tab completion for argparse
3e371a
Name:		python-argcomplete
3e371a
Version:	1.7.0
3e371a
Release:	2%{?dist}
3e371a
License:	ASL 2.0
3e371a
Group:		Development/Libraries
3e371a
Url:		https://github.com/kislyuk/argcomplete
3e371a
Source0:	http://pypi.python.org/packages/source/a/argcomplete/argcomplete-%{version}.tar.gz
3e371a
BuildRequires:	python-devel
3e371a
BuildRequires:	python-setuptools
3e371a
BuildArch:	noarch
3e371a
Requires:	python-argparse
3e371a
3e371a
%description
3e371a
Argcomplete provides easy, extensible command line tab completion of
3e371a
arguments for your Python script.
3e371a
3e371a
It makes two assumptions:
3e371a
3e371a
 * You're using bash as your shell
3e371a
 * You're using argparse to manage your command line arguments/options
3e371a
3e371a
Argcomplete is particularly useful if your program has lots of
3e371a
options or subparsers, and if your program can dynamically suggest
3e371a
completions for your argument/option values (for example, if the user
3e371a
is browsing resources over the network).
3e371a
3e371a
%prep
3e371a
%setup -n argcomplete-%{version} -q
3e371a
3e371a
%build
3e371a
python setup.py build
3e371a
3e371a
%install
3e371a
python setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
3e371a
3e371a
%clean
3e371a
rm -rf $RPM_BUILD_ROOT
3e371a
3e371a
%files
3e371a
%defattr(-,root,root)
3e371a
%doc README.rst LICENSE.rst
3e371a
%{_bindir}/activate-global-python-argcomplete
3e371a
%{_bindir}/python-argcomplete-check-easy-install-script
3e371a
%{_bindir}/register-python-argcomplete
3e371a
%{_bindir}/python-argcomplete-tcsh
3e371a
%{python_sitelib}/argcomplete-%{version}-py*.egg-info
3e371a
%{python_sitelib}/argcomplete/
3e371a
3e371a
3e371a
%changelog
3e371a
* Wed Apr 04 2018 Patrick Creech <pcreech@redhat.com> - 1.7.0-2
3e371a
- Satellite 6.4.0 rebuild
3e371a
3e371a
* Thu Jan 12 2017 - Steve Traylen <steve.traylen@cern.ch> 1.7.0-1
3e371a
- Updating package to 1.7.0
3e371a
3e371a
* Tue May 5 2015 - Steve Traylen <steve.traylen@cern.ch> 0.8.8-1
3e371a
- Updating package to 0.8.8
3e371a
3e371a
* Sun Dec 14 2014 - Dale Macartney <dbmacartney@fedoraproject.org> 0.8.4-1
3e371a
- Updating package to 0.8.4
3e371a
3e371a
* Fri Sep 12 2014 - Steve Traylen <steve.traylen@cern.ch> 0.8.1-1
3e371a
- Updating package to 0.8.1
3e371a
3e371a
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.0-2
3e371a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
3e371a
3e371a
* Mon Apr 14 2014 - Dale Macartney <dbmacartney@fedoraproject.org> 0.8.0-1
3e371a
- Updating package to 0.8.0
3e371a
3e371a
* Sun Mar 30 2014 - Dale Macartney <dbmacartney@fedoraproject.org> 0.7.1-1
3e371a
- Updating package to 0.7.1
3e371a
3e371a
* Mon Mar 24 2014 - Dale Macartney <dbmacartney@fedoraproject.org> 0.7.0-1
3e371a
- Updating package to 0.7.0
3e371a
3e371a
* Mon Jan 13 2014 - Dale Macartney <dbmacartney@fedoraproject.org> 0.6.7-2
3e371a
- Removing '%exclude %{python_sitelib}/test' fom %files as no longer needed. 
3e371a
3e371a
* Mon Jan 13 2014 - Dale Macartney <dbmacartney@fedoraproject.org> 0.6.7-1
3e371a
- Applying latest patch of argcomplete.
3e371a
3e371a
* Wed Jan 8 2014 - Dale Macartney <dbmacartney@fedoraproject.org> 0.6.3-4
3e371a
- Pushing new build for update as previous was not picked up. 
3e371a
3e371a
* Wed Oct 16 2013 - Dale Macartney <dbmacartney@gmail.com> 0.6.3-3
3e371a
- Correct missing files for el6
3e371a
3e371a
* Tue Oct 15 2013 - Dale Macartney <dbmacartney@gmail.com> 0.6.3-2
3e371a
- Initial packaging for Fedora Project and including LICENSE.rst in docs
3e371a
3e371a
* Thu Jan 31 2013 - Marco Neciarini <marco.nenciarini@2ndquadrant.it> 0.3.5-1
3e371a
- Initial packaging.