python-six/python-six.spec
2015-02-22 18:18:09 +04:00

40 lines
1,019 B
RPMSpec

%define oname six
Name: python-%{oname}
Version: 1.9.0
Release: 2
Summary: Python 2 and 3 compatibility utilities
Source0: http://pypi.python.org/packages/source/s/six/six-%{version}.tar.gz
License: MIT
Group: Development/Python
Url: http://pypi.python.org/pypi/six/
BuildArch: noarch
BuildRequires: pkgconfig(python)
%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.
Six supports Python 2.4+.
Online documentation is at http://packages.python.org/six/.
Bugs can be reported to http://bitbucket.org/gutworth/six. The code can also
be found there.
%prep
%setup -qn %{oname}-%{version}
%build
chmod 644 README
python setup.py build
%install
python setup.py install --root=%{buildroot}
%files
%doc LICENSE README documentation/index.rst
%{py_puresitedir}/*