mirror of
https://abf.rosa.ru/djam/python-six.git
synced 2025-02-23 23:42:51 +00:00
Update to 1.13.0, build from Py2 and Py3
This commit is contained in:
parent
7d71eeb314
commit
190a42da10
2 changed files with 30 additions and 11 deletions
9
.abf.yml
9
.abf.yml
|
@ -1,9 +1,2 @@
|
|||
removed_sources:
|
||||
six-1.0.0.tar.gz: befd2442a6ec5bfd20832ed975ebdaf9e570333b
|
||||
six-1.4.1.tar.gz: b4cfd03344390d73d84349c815808358a128cc1d
|
||||
six-1.6.1.tar.gz: 2a7941cc2233d9ad6d7d54dd5265d1eb9726c5a1
|
||||
six-1.7.2.tar.gz: 6ed970106d18e48b361b09c227dac83b4cc72f26
|
||||
six-1.8.0.tar.gz: aa3b0659cbc85c6c7a91efc51f2d1007040070cd
|
||||
six-1.9.0.tar.gz: d168e6d01f0900875c6ecebc97da72d0fda31129
|
||||
sources:
|
||||
six-1.10.0.tar.gz: 30d480d2e352e8e4c2aae042cf1bf33368ff0920
|
||||
six-1.13.0.tar.gz: e9c61211c15361e9165df107e988c844ef47148c
|
||||
|
|
|
@ -1,14 +1,13 @@
|
|||
%define oname six
|
||||
|
||||
Name: python-%{oname}
|
||||
Version: 1.10.0
|
||||
Version: 1.13.0
|
||||
Release: 3
|
||||
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/
|
||||
URL: https://github.com/benjaminp/six/releases
|
||||
BuildArch: noarch
|
||||
BuildRequires: pkgconfig(python)
|
||||
|
||||
|
@ -28,12 +27,39 @@ be found there.
|
|||
%prep
|
||||
%setup -qn %{oname}-%{version}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
%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}/*
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
|
||||
%build
|
||||
chmod 644 README
|
||||
python setup.py build
|
||||
python3 setup.py build
|
||||
|
||||
%install
|
||||
python setup.py install --root=%{buildroot}
|
||||
python3 setup.py install --root=%{buildroot}
|
||||
|
||||
%files
|
||||
%doc LICENSE README documentation/index.rst
|
||||
|
|
Loading…
Add table
Reference in a new issue