# Template file for 'python-s3transfer'
pkgname=python-s3transfer
version=0.2.1
revision=2
archs=noarch
wrksrc="s3transfer-${version}"
build_style=python-module
pycompile_module="s3transfer"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-botocore"
short_desc="Amazon S3 Transfer Manager (Python2)"
maintainer="Robert Lowry <bobertlo@gmail.com>"
license="Apache-2.0"
homepage="https://github.com/boto/s3transfer"
distfiles="https://github.com/boto/s3transfer/archive/${version}.tar.gz"
checksum=4181e0cf31d1ff1c8233ddda7cc7efa5dd0cf9a1e47143b951a3389ff6812660

python3-s3transfer_package() {
	archs=noarch
	depends="python3-botocore"
	pycompile_module="s3transfer"
	short_desc="${short_desc/Python2/Python3}"
	pkg_install() {
		vmove "usr/lib/python3*"
	}
}
