python-virtualenv/python-virtualenv.spec

246 lines
8.6 KiB
RPMSpec

Name: python-virtualenv
Version: 20.0.33
Release: 1mamba
Summary: Virtual Python Environment builder
Group: System/Libraries/Python
Vendor: openmamba
Distribution: openmamba
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
URL: http://virtualenv.openplans.org
Source: http://pypi.debian.net/virtualenv/virtualenv-%{version}.tar.gz
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython-devel
## AUTOBUILDREQ-END
BuildRequires: help2man
#%if "%{?with_pyver}"
#Requires: python3 >= %python3_version
#Requires: libpython3-devel
#Requires: python-setuptools-py3
#%else
#Requires: python >= %python_version
#Requires: libpython-devel
#Requires: python-setuptools
#%endif
Requires: python3 >= %python3_version
Requires: libpython3-devel
Requires: python-setuptools-py3
Obsoletes: python-virtualenv-py3
Obsoletes: python-virtualenv-py36
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildArch: noarch
%description
virtualenv is a tool to create isolated Python environments.
#% if "%{?with_pyver}"
#% pyver_package
#% endif
%prep
%setup -q -n virtualenv-%{version}
%build
%{__python3} setup.py build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python3} setup.py install \
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{_includedir}/python \
--install-lib=%{python3_sitearch} \
--single-version-externally-managed \
--record=%{name}.filelist
install -d %{buildroot}%{_mandir}/man1
#help2man \
# --version-string="virtualenv %{version}" \
# --output=%{buildroot}%{_mandir}/man1/virtualenv.1 \
# ./virtualenv.py
#%if "%{?with_pyver}" == "36"
#ln -s virtualenv %{buildroot}%{_bindir}/virtualenv3
#echo "%{_bindir}/virtualenv3" >> %{name}.filelist
#%else
#%if "%{?with_pyver}" == "3"
#mv %{buildroot}%{_bindir}/virtualenv %{buildroot}%{_bindir}/virtualenv33
#sed -i "s|%{_bindir}/virtualenv|%{_bindir}/virtualenv33|" %{name}.filelist
#%else
#mv %{buildroot}%{_bindir}/virtualenv %{buildroot}%{_bindir}/virtualenv2
#sed -i "s|%{_bindir}/virtualenv|%{_bindir}/virtualenv2|" %{name}.filelist
##mv %{buildroot}%{_mandir}/man1/virtualenv.1 %{buildroot}%{_mandir}/man1/virtualenv2.1
#%endif
#%endif
#echo "%{_mandir}/man1/virtualenv.1" >> %{name}.filelist
#sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root)
%changelog
* Thu Oct 29 2020 Automatic Build System <autodist@mambasoft.it> 20.0.33-1mamba
- automatic version update by autodist
* Sun Oct 25 2020 Automatic Build System <autodist@mambasoft.it> 20.0.32-1mamba
- automatic version update by autodist
* Sat Oct 24 2020 Automatic Build System <autodist@mambasoft.it> 20.0.31-1mamba
- automatic version update by autodist
* Thu Oct 22 2020 Automatic Build System <autodist@mambasoft.it> 20.0.30-1mamba
- automatic version update by autodist
* Tue Oct 20 2020 Automatic Build System <autodist@mambasoft.it> 20.0.29-1mamba
- automatic version update by autodist
* Mon Oct 19 2020 Automatic Build System <autodist@mambasoft.it> 20.0.28-1mamba
- automatic version update by autodist
* Sun Oct 18 2020 Automatic Build System <autodist@mambasoft.it> 20.0.27-1mamba
- automatic version update by autodist
* Sat Oct 17 2020 Automatic Build System <autodist@mambasoft.it> 20.0.25-1mamba
- automatic version update by autodist
* Fri Oct 16 2020 Automatic Build System <autodist@mambasoft.it> 20.0.24-1mamba
- automatic version update by autodist
* Wed Jun 24 2020 Automatic Build System <autodist@mambasoft.it> 20.0.23-1mamba
- automatic version update by autodist
* Fri May 22 2020 Automatic Build System <autodist@mambasoft.it> 20.0.21-1mamba
- automatic version update by autodist
* Thu May 21 2020 Automatic Build System <autodist@mambasoft.it> 20.0.20-1mamba
- automatic version update by autodist
* Wed May 20 2020 Automatic Build System <autodist@mambasoft.it> 20.0.19-1mamba
- automatic version update by autodist
* Thu Apr 23 2020 Automatic Build System <autodist@mambasoft.it> 20.0.18-1mamba
- automatic version update by autodist
* Tue Apr 21 2020 Automatic Build System <autodist@mambasoft.it> 20.0.17-1mamba
- automatic version update by autodist
* Tue Mar 31 2020 Automatic Build System <autodist@mambasoft.it> 20.0.15-1mamba
- automatic version update by autodist
* Tue Jan 21 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 16.7.9-1mamba
- update to 16.7.9
* Fri Aug 09 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 16.7.2-1mamba
- update to 16.7.2
* Thu Jan 03 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 16.1.0-1mamba
- update to 16.1.0
* Fri Aug 17 2018 Automatic Build System <autodist@mambasoft.it> 16.0.0-1mamba
- automatic version update by autodist
* Tue Sep 19 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 15.1.0-3mamba
- added requirement for py3 version
* Thu Jul 13 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 15.1.0-2mamba
- rename virtualenv to virtualenv2 in py2 package to support co-existence
* Mon Mar 06 2017 Automatic Build System <autodist@mambasoft.it> 15.1.0-1mamba
- automatic version update by autodist
* Sun Aug 14 2016 Automatic Build System <autodist@mambasoft.it> 15.0.3-1mamba
- automatic version update by autodist
* Sun Jun 26 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 15.0.2-2mamba
- rebuilt with -py3 package
* Thu Jun 02 2016 Automatic Build System <autodist@mambasoft.it> 15.0.2-1mamba
- automatic version update by autodist
* Sun May 01 2016 Automatic Build System <autodist@mambasoft.it> 15.0.1-1mamba
- automatic version update by autodist
* Sat Apr 23 2016 Automatic Build System <autodist@mambasoft.it> 15.0.0-1mamba
- automatic version update by autodist
* Fri Feb 05 2016 Automatic Build System <autodist@mambasoft.it> 14.0.5-1mamba
- automatic version update by autodist
* Sun Jan 24 2016 Automatic Build System <autodist@mambasoft.it> 14.0.1-1mamba
- automatic version update by autodist
* Sun Aug 30 2015 Automatic Build System <autodist@mambasoft.it> 13.1.2-1mamba
- automatic version update by autodist
* Thu Jul 02 2015 Automatic Build System <autodist@mambasoft.it> 13.1.0-1mamba
- automatic version update by autodist
* Fri Jun 19 2015 Automatic Build System <autodist@mambasoft.it> 13.0.3-1mamba
- automatic version update by autodist
* Sun May 24 2015 Automatic Build System <autodist@mambasoft.it> 13.0.1-1mamba
- automatic version update by autodist
* Tue Apr 07 2015 Automatic Build System <autodist@mambasoft.it> 12.1.1-1mamba
- automatic version update by autodist
* Fri Feb 06 2015 Automatic Build System <autodist@mambasoft.it> 12.0.7-1mamba
- automatic version update by autodist
* Sun Jan 04 2015 Automatic Build System <autodist@mambasoft.it> 12.0.5-1mamba
- automatic version update by autodist
* Tue May 27 2014 Automatic Build System <autodist@mambasoft.it> 1.11.6-1mamba
- automatic version update by autodist
* Fri May 09 2014 Automatic Build System <autodist@mambasoft.it> 1.11.5-1mamba
- automatic version update by autodist
* Mon Mar 03 2014 Automatic Build System <autodist@mambasoft.it> 1.11.4-1mamba
- automatic version update by autodist
* Mon Jan 27 2014 Automatic Build System <autodist@mambasoft.it> 1.11.2-1mamba
- automatic version update by autodist
* Wed Jan 22 2014 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 1.11.1-1mamba
- update to 1.11.1
* Sat Aug 10 2013 Automatic Build System <autodist@mambasoft.it> 1.10.1-1mamba
- automatic version update by autodist
* Mon Jul 29 2013 Automatic Build System <autodist@mambasoft.it> 1.10-1mamba
- automatic update by autodist
* Fri May 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.1-2mamba
- python 2.7 mass rebuild
* Sat Mar 09 2013 Automatic Build System <autodist@mambasoft.it> 1.9.1-1mamba
- automatic version update by autodist
* Sat Jan 12 2013 Automatic Build System <autodist@mambasoft.it> 1.8.4-1mamba
- automatic version update by autodist
* Sat Nov 24 2012 Automatic Build System <autodist@mambasoft.it> 1.8.3-1mamba
- automatic version update by autodist
* Fri Sep 14 2012 Automatic Build System <autodist@mambasoft.it> 1.8.2-1mamba
- automatic version update by autodist
* Wed Aug 08 2012 Automatic Build System <autodist@mambasoft.it> 1.7.2-1mamba
- automatic version update by autodist
* Wed Nov 30 2011 Automatic Build System <autodist@mambasoft.it> 1.7-1mamba
- automatic version update by autodist
* Sun Mar 20 2011 Automatic Build System <autodist@mambasoft.it> 1.5.2-1mamba
- automatic update by autodist
* Tue Oct 12 2010 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 1.5.1-1mamba
- package created by autospec