Search
SailfishOS Open Build Service
>
Projects
>
home:DarthMax
>
python3-six
> python3-six.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File python3-six.spec of Package python3-six
%define python_version python3 %define pkgname six %define pypkgname six Name: %{python_version}-%{pkgname} Version: 1.11.0 Summary: Python 2 and 3 compatibility utilities License: MIT Release: 1 Group: Development/Languages URL: http://pypi.python.org/pypi/%{pkgname} Source0: %{pkgname}-%{version}.tar.gz BuildRequires: %{python_version}-devel Requires: %{python_version}-base %description Python 2 and 3 compatibility utilities %prep %setup -q -n %{pkgname}-%{version} %build CFLAGS="$RPM_OPT_FLAGS" %{python_version} setup.py build %install rm -rf $RPM_BUILD_ROOT %{python_version} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{_libdir}/%{python_version}.*/site-packages/%{pypkgname}.py %{_libdir}/%{python_version}.*/site-packages/__pycache__/%{pypkgname}.cpython*.py* %{_libdir}/%{python_version}.*/site-packages/%{pkgname}-%{version}-*.egg-info