mirror of
https://abf.rosa.ru/djam/python-six.git
synced 2025-02-24 07:52:51 +00:00
1.16.0
This commit is contained in:
parent
f1998c52d7
commit
f500c1cb1f
2 changed files with 52 additions and 9 deletions
2
.abf.yml
2
.abf.yml
|
@ -1,2 +1,2 @@
|
||||||
sources:
|
sources:
|
||||||
six-1.13.0.tar.gz: e9c61211c15361e9165df107e988c844ef47148c
|
six-1.16.0.tar.gz: 5943b11df66eb68050669b8612790fe2d0bf7147
|
||||||
|
|
|
@ -1,18 +1,20 @@
|
||||||
%define oname six
|
%define oname six
|
||||||
|
|
||||||
Name: python-%{oname}
|
Name: python-%{oname}
|
||||||
Version: 1.13.0
|
Version: 1.16.0
|
||||||
Release: 3
|
Release: 1
|
||||||
Summary: Python 2 and 3 compatibility utilities
|
Summary: Python 2 and 3 compatibility utilities
|
||||||
Source0: http://pypi.python.org/packages/source/s/six/six-%{version}.tar.gz
|
URL: https://github.com/benjaminp/six
|
||||||
|
Source0: %{url}/archive/%{version}/%{oname}-%{version}.tar.gz
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Python
|
Group: Development/Python
|
||||||
URL: https://github.com/benjaminp/six/releases
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: pkgconfig(python)
|
BuildRequires: pkgconfig(python)
|
||||||
BuildRequires: pkgconfig(python3)
|
BuildRequires: pkgconfig(python3)
|
||||||
BuildRequires: pythonegg(setuptools)
|
BuildRequires: pythonegg(setuptools)
|
||||||
BuildRequires: python3egg(setuptools)
|
BuildRequires: python3egg(setuptools)
|
||||||
|
BuildRequires: python38-devel
|
||||||
|
BuildRequires: python38-setuptools
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Six is a Python 2 and 3 compatibility library. It provides utility functions
|
Six is a Python 2 and 3 compatibility library. It provides utility functions
|
||||||
|
@ -30,6 +32,9 @@ be found there.
|
||||||
%prep
|
%prep
|
||||||
%setup -qn %{oname}-%{version}
|
%setup -qn %{oname}-%{version}
|
||||||
|
|
||||||
|
cp -a . %{py3dir}
|
||||||
|
cp -a . %{py38dir}
|
||||||
|
|
||||||
#-------------------------------------------------------------------
|
#-------------------------------------------------------------------
|
||||||
|
|
||||||
%package -n python3-%{oname}
|
%package -n python3-%{oname}
|
||||||
|
@ -54,14 +59,52 @@ be found there.
|
||||||
|
|
||||||
#-------------------------------------------------------------------
|
#-------------------------------------------------------------------
|
||||||
|
|
||||||
|
%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}/*
|
||||||
|
|
||||||
|
#-------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
python setup.py build
|
%py_build
|
||||||
python3 setup.py build
|
|
||||||
|
pushd %{py3dir}
|
||||||
|
%py3_build
|
||||||
|
popd
|
||||||
|
|
||||||
|
pushd %{py38dir}
|
||||||
|
%py38_build
|
||||||
|
popd
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --root=%{buildroot}
|
%py_install
|
||||||
python3 setup.py install --root=%{buildroot}
|
|
||||||
|
pushd %{py3dir}
|
||||||
|
%py3_install
|
||||||
|
popd
|
||||||
|
|
||||||
|
pushd %{py38dir}
|
||||||
|
%py38_install
|
||||||
|
popd
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc LICENSE README.rst documentation/index.rst
|
%doc LICENSE README.rst documentation/index.rst
|
||||||
|
|
Loading…
Add table
Reference in a new issue