python-six/python-six.spec

67 lines
1.9 KiB
RPMSpec
Raw Normal View History

2012-02-02 00:54:20 +04:00
%define oname six
Name: python-%{oname}
Version: 1.13.0
2017-02-04 19:07:51 +03:00
Release: 3
2012-02-02 00:54:20 +04:00
Summary: Python 2 and 3 compatibility utilities
2014-06-14 21:06:50 +04:00
Source0: http://pypi.python.org/packages/source/s/six/six-%{version}.tar.gz
2012-02-02 00:54:20 +04:00
License: MIT
Group: Development/Python
URL: https://github.com/benjaminp/six/releases
2012-02-02 00:54:20 +04:00
BuildArch: noarch
2014-04-12 16:30:58 +04:00
BuildRequires: pkgconfig(python)
2012-02-02 00:54:20 +04:00
%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/.
2013-02-08 15:47:08 +04:00
Bugs can be reported to http://bitbucket.org/gutworth/six. The code can also
be found there.
2012-02-02 00:54:20 +04:00
%prep
%setup -qn %{oname}-%{version}
2012-02-02 00:54:20 +04:00
#-------------------------------------------------------------------
%package -n python3-%{oname}
Group: Development/Python
%description -n python3-%{oname}
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.
%files -n python3-%{oname}
%doc LICENSE README documentation/index.rst
%{py3_puresitedir}/*
#-------------------------------------------------------------------
2012-02-02 00:54:20 +04:00
%build
2014-04-12 17:04:15 +04:00
chmod 644 README
2012-02-02 00:54:20 +04:00
python setup.py build
python3 setup.py build
2012-02-02 00:54:20 +04:00
%install
python setup.py install --root=%{buildroot}
python3 setup.py install --root=%{buildroot}
2012-02-02 00:54:20 +04:00
%files
%doc LICENSE README documentation/index.rst
2013-12-20 02:39:10 -05:00
%{py_puresitedir}/*