void-packages/srcpkgs/python-s3transfer/template
2019-05-12 08:43:35 +02:00

31 lines
846 B
Bash

# Template file for 'python-s3transfer'
pkgname=python-s3transfer
version=0.2.0
revision=1
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=fe96e25f89f405e22a0283df8eefe1b0d2c998eab01c6c8f39923e16faf78522
post_install() {
vlicense LICENSE.txt
}
python3-s3transfer_package() {
archs=noarch
depends="python3-botocore"
pycompile_module="s3transfer"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove "usr/lib/python3*"
vlicense LICENSE.txt
}
}