Search
SailfishOS Open Build Service
>
Projects
>
home:rcolistete
>
python-six
> Changes
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 7
[-]
[+]
Added
python-six.spec
@@ -0,0 +1,40 @@ +# +# spec file for package python-six for Mer, based on OpenSuse version +# + +Name: python-six +Version: 1.6.1 +Release: 0 +Url: http://pypi.python.org/pypi/six/ +Summary: Python 2 and 3 compatibility utilities +License: MIT +Group: Development/Libraries +Source: six-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: python-devel +BuildArch: noarch +Requires: python >= %{py_ver} + +%description +Six is a Python 2 and 3 compatibility library. It provides utility +functions for smoothing over the differences between the Python +versions with the goal of writing Python code that is compatible on +both Python versions. See the documentation for more information on +what is provided. + +%prep +%setup -q -n six-%{version} + +%build +python setup.py build + +%install +python setup.py install --prefix=%{_prefix} --root=%{buildroot} + +%files +%defattr(-,root,root) +%doc LICENSE README +%{python_sitelib}/six.py* +%{python_sitelib}/six-%{version}-py%{py_ver}.egg-info + +%changelog