Sisyphus repositório
Última atualização: 14 novembro 2019 | SRPMs: 17522 | Visitas: 15725707
en ru br
ALT Linux repositórios
S:0.1.10-alt1.1

Group :: Desenvolvimento/Python
RPM: python-module-s3transfer

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define oname s3transfer

%def_with python3

Name: python-module-%oname
Version: 0.1.10
Release: alt1
Summary:  Amazon S3 Transfer Manager for Python
License: Apache-2.0
Group: Development/Python
Url: https://pypi.python.org/pypi/s3transfer/

# https://github.com/boto/s3transfer.git

Source: %name-%version.tar.gz

BuildArch: noarch

BuildRequires: python-devel python-module-setuptools-tests python-module-unittest2 python-module-mock
BuildRequires: python-module-botocore python-module-html5lib python-module-nose python-module-pbr
BuildRequires: python-module-futures
%if_with python3
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-devel python3-module-setuptools-tests python3-module-unittest2 python3-module-mock
BuildRequires: python3-module-botocore python3-module-html5lib python3-module-nose python3-module-pbr
%endif

%py_provides %oname
%py_requires concurrent.futures

%description
S3transfer is a Python library for managing Amazon S3 transfers.

Note

This project is not currently GA. If you are planning to use this code in production,
make sure to lock to a minor version as interfaces may break from minor version to minor version.
For a basic, stable interface of s3transfer, try the interfaces exposed in boto3

%if_with python3
%package -n python3-module-%oname
Summary:  Amazon S3 Transfer Manager for Python
Group: Development/Python3
%py3_provides %oname

%description -n python3-module-%oname
S3transfer is a Python library for managing Amazon S3 transfers.

Note

This project is not currently GA. If you are planning to use this code in production,
make sure to lock to a minor version as interfaces may break from minor version to minor version.
For a basic, stable interface of s3transfer, try the interfaces exposed in boto3
%endif

%prep
%setup

%if_with python3
cp -fR . ../python3
%endif

%build
%python_build_debug

%if_with python3
pushd ../python3
%python3_build_debug
popd
%endif

%install
%python_install

%if_with python3
pushd ../python3
%python3_install
popd
%endif

%check
rm -rf tests/integration
py.test ||:
%if_with python3
pushd ../python3
rm -rf tests/integration
py.test3 ||:
popd
%endif

%files
%doc *.rst
%python_sitelibdir/*

%if_with python3
%files -n python3-module-%oname
%doc *.rst
%python3_sitelibdir/*
%endif

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009