python-argcomplete/python-argcomplete.spec

92 lines
3.0 KiB
RPMSpec
Raw Permalink Normal View History

Name: python-argcomplete
Version: 3.0.8
Release: 1mamba
Summary: Easy, extensible command line tab completion of arguments for your Python script
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://pypi.org/project/argcomplete/
Source: https://pypi.debian.net/argcomplete/argcomplete-%{version}.tar.gz
License: Apache License 2.0
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython3-devel
BuildRequires: python3.7dist(importlib-metadata)
## AUTOBUILDREQ-END
%description
%{summary}.
%if 0%{?with_pyver}
%pyver_package
%endif
%prep
%setup -q -n argcomplete-%{version}
sed -i "s|, < 6||" setup.py
%build
CFLAGS="%{optflags}" %{__python} setup.py build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} setup.py install \
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{python_inc} \
--install-lib=%{python_sitearch} \
--record=%{name}.filelist
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
%files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root)
%dir %{python_sitearch}/argcomplete-%{version}-py*.egg-info
%{python_sitearch}/argcomplete-%{version}-py*.egg-info/*
%changelog
* Mon Apr 24 2023 Automatic Build System <autodist@mambasoft.it> 3.0.8-1mamba
- automatic version update by autodist
* Sun Mar 26 2023 Automatic Build System <autodist@mambasoft.it> 3.0.5-1mamba
- automatic version update by autodist
* Wed Mar 22 2023 Automatic Build System <autodist@mambasoft.it> 3.0.4-1mamba
- automatic version update by autodist
* Tue Mar 21 2023 Automatic Build System <autodist@mambasoft.it> 3.0.3-1mamba
- automatic version update by autodist
* Mon Mar 20 2023 Automatic Build System <autodist@mambasoft.it> 3.0.2-1mamba
- automatic version update by autodist
* Sat Mar 18 2023 Automatic Build System <autodist@mambasoft.it> 2.1.2-1mamba
- automatic version update by autodist
* Thu Mar 09 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.1-2mamba
- remove requirement for importlib-metadata < 6
* Tue Mar 07 2023 Automatic Build System <autodist@mambasoft.it> 2.1.1-1mamba
- automatic version update by autodist
* Mon Mar 06 2023 Automatic Build System <autodist@mambasoft.it> 2.0.6-1mamba
- automatic version update by autodist
* Sun Mar 05 2023 Automatic Build System <autodist@mambasoft.it> 2.0.5-1mamba
- automatic version update by autodist
* Tue Jan 04 2022 Automatic Build System <autodist@mambasoft.it> 2.0.0-1mamba
- automatic version update by autodist
* Tue Oct 19 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.12.3-2mamba
- rebuilt with distdeps
* Tue Apr 20 2021 Automatic Build System <autodist@mambasoft.it> 1.12.3-1mamba
- automatic version update by autodist
* Sun Feb 21 2021 Automatic Build System <autodist@mambasoft.it> 1.12.2-1mamba
- automatic version update by autodist
* Wed Nov 11 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.12.1-1mamba
- package created using the webbuild interface