python-autopep8/python-autopep8.spec

127 lines
4.1 KiB
RPMSpec
Raw Permalink Normal View History

Name: python-autopep8
Version: 1.5.4
Release: 1mamba
Summary: Automatic generated to pep8 checked code
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
URL: https://github.com/hhatto/autopep8
Source: http://pypi.debian.net/autopep8/autopep8-%{version}.tar.gz
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython-devel
## AUTOBUILDREQ-END
Requires: python >= %python_version
Requires: python-pep8
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
autopep8 is automatic generated to pep8 checked code.
This is old style tool, wrapped pep8 via subprocess module.
%if 0%{?with_pyver}
%pyver_package
%endif
%prep
%setup -q -n autopep8-%{version}
%build
CFLAGS="%{optflags}" %{__python} setup.py build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} setup.py install \
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{_includedir}/python \
--install-lib=%{python_sitearch} \
--single-version-externally-managed \
--record=%{name}.filelist
sed -i "s,.*/man/.*,&.gz," %{name}.filelist
%if 0%{?with_pyver}
mv %{buildroot}%{_bindir}/autopep8 %{buildroot}%{_bindir}/autopep8-%{?pyappend}
sed -i "s|%{_bindir}/autopep8|%{_bindir}/autopep8-%{?pyappend}|" %{name}.filelist
%endif
%files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root)
%doc README.rst
%changelog
* Thu Feb 04 2021 Automatic Build System <autodist@mambasoft.it> 1.5.4-1mamba
- automatic version update by autodist
* Tue May 26 2020 Automatic Build System <autodist@mambasoft.it> 1.5.2-1mamba
- automatic update by autodist
* Sun Jun 02 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.4-1mamba
- update to 1.4.4
* Fri Dec 28 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.3-1mamba
- update to 1.4.3
* Sat Jan 10 2015 Automatic Build System <autodist@mambasoft.it> 1.1-1mamba
- automatic update by autodist
* Tue Sep 23 2014 Automatic Build System <autodist@mambasoft.it> 1.0.4-1mamba
- automatic update by autodist
* Sun Jul 13 2014 Automatic Build System <autodist@mambasoft.it> 1.0.3-1mamba
- automatic update by autodist
* Mon Jun 02 2014 Automatic Build System <autodist@mambasoft.it> 1.0.2-1mamba
- automatic update by autodist
* Fri Dec 27 2013 Automatic Build System <autodist@mambasoft.it> 0.9.7-1mamba
- automatic update by autodist
* Sun Sep 22 2013 Automatic Build System <autodist@mambasoft.it> 0.9.4-1mamba
- automatic update by autodist
* Thu Aug 22 2013 Automatic Build System <autodist@mambasoft.it> 0.9.3-1mamba
- automatic update by autodist
* Wed Jul 17 2013 Automatic Build System <autodist@mambasoft.it> 0.9.2-1mamba
- automatic update by autodist
* Sun Jun 09 2013 Automatic Build System <autodist@mambasoft.it> 0.9.1-1mamba
- automatic version update by autodist
* Fri May 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9-2mamba
- python 2.7 mass rebuild
* Thu May 16 2013 Automatic Build System <autodist@mambasoft.it> 0.9-1mamba
- automatic version update by autodist
* Mon Mar 04 2013 Automatic Build System <autodist@mambasoft.it> 0.8.7-1mamba
- automatic version update by autodist
* Thu Feb 28 2013 Automatic Build System <autodist@mambasoft.it> 0.8.6-1mamba
- automatic version update by autodist
* Sat Jan 12 2013 Automatic Build System <autodist@mambasoft.it> 0.8.5-1mamba
- automatic version update by autodist
* Sun Nov 25 2012 Automatic Build System <autodist@mambasoft.it> 0.8.3-1mamba
- automatic version update by autodist
* Thu Nov 08 2012 Automatic Build System <autodist@mambasoft.it> 0.8.2-1mamba
- automatic version update by autodist
* Fri Oct 12 2012 Automatic Build System <autodist@mambasoft.it> 0.8.1-1mamba
- automatic version update by autodist
* Wed Aug 15 2012 Automatic Build System <autodist@mambasoft.it> 0.7.3-1mamba
- automatic version update by autodist
* Thu Jun 14 2012 Automatic Build System <autodist@mambasoft.it> 0.6.5-1mamba
- automatic version update by autodist
* Sat Sep 10 2011 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.1.3-1mamba
- package created by autospec