mirror of
https://abf.rosa.ru/djam/python-six.git
synced 2025-02-24 07:52:51 +00:00
40 lines
1,020 B
RPMSpec
40 lines
1,020 B
RPMSpec
%define oname six
|
|
|
|
Name: python-%{oname}
|
|
Version:t1.10.0
|
|
Release: 1
|
|
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}/*
|