python-six/python-six.spec

112 lines
2.8 KiB
RPMSpec
Raw Normal View History

2012-02-02 00:54:20 +04:00
%define oname six
Name: python-%{oname}
2024-01-24 00:07:29 +00:00
Version: 1.16.0
Release: 1
2012-02-02 00:54:20 +04:00
Summary: Python 2 and 3 compatibility utilities
2024-01-24 00:07:29 +00:00
URL: https://github.com/benjaminp/six
Source0: %{url}/archive/%{version}/%{oname}-%{version}.tar.gz
2012-02-02 00:54:20 +04:00
License: MIT
Group: Development/Python
BuildArch: noarch
2014-04-12 16:30:58 +04:00
BuildRequires: pkgconfig(python)
2019-11-07 09:20:09 +03:00
BuildRequires: pkgconfig(python3)
BuildRequires: pythonegg(setuptools)
BuildRequires: python3egg(setuptools)
2024-01-24 00:07:29 +00:00
BuildRequires: python38-devel
BuildRequires: python38-setuptools
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
2024-01-24 00:07:29 +00:00
cp -a . %{py3dir}
cp -a . %{py38dir}
#-------------------------------------------------------------------
%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}
2019-11-07 09:26:13 +03:00
%doc LICENSE README.rst documentation/index.rst
%{py3_puresitedir}/*
#-------------------------------------------------------------------
2024-01-24 00:07:29 +00:00
%package -n python38-%{oname}
Group: Development/Python
%description -n python38-%{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 python38-%{oname}
%doc LICENSE README.rst documentation/index.rst
%{py38_puresitedir}/*
#-------------------------------------------------------------------
2012-02-02 00:54:20 +04:00
%build
2024-01-24 00:07:29 +00:00
%py_build
pushd %{py3dir}
%py3_build
popd
pushd %{py38dir}
%py38_build
popd
2012-02-02 00:54:20 +04:00
%install
2024-01-24 00:07:29 +00:00
%py_install
pushd %{py3dir}
%py3_install
popd
pushd %{py38dir}
%py38_install
popd
2012-02-02 00:54:20 +04:00
%files
2019-11-07 09:26:13 +03:00
%doc LICENSE README.rst documentation/index.rst
2013-12-20 02:39:10 -05:00
%{py_puresitedir}/*