Search
SailfishOS Open Build Service
>
Projects
>
home:rcolistete
>
python3-six
> Changes
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 2
[-]
[+]
Added
python3-six.spec
@@ -0,0 +1,42 @@ +# +# spec file for package python3-six for Mer, based on OpenSuse version +# + +Name: python3-six +Version: 1.6.1 +Release: 0 +Url: http://pypi.python.org/pypi/six/ +Summary: Python 2 and 3 compatibility utilities +License: MIT +Packager: Roberto Colistete Jr. <sympy@googlegroups.com> +Group: Development/Libraries +Source: six-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: python3-devel +BuildArch: noarch +Requires: python3-base + +%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 +python3 setup.py build + +%install +python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} + +%files +%defattr(-,root,root) +%doc LICENSE README +%{_libdir}/python3.?/site-packages/six.py* +%{_libdir}/python3.?/site-packages/six-%{version}-py*.egg-info +%{_libdir}/python3.?/site-packages/__pycache__ + +%changelog