void-packages/srcpkgs/python-botocore/template
2019-05-16 20:18:31 +02:00

32 lines
940 B
Bash

# Template file for 'python-botocore'
pkgname=python-botocore
version=1.12.148
revision=1
archs=noarch
wrksrc="botocore-${version}"
build_style=python-module
pycompile_module="botocore"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-dateutil python-docutils python-jmespath python-urllib3"
short_desc="Core functionality library of boto 3 (Python2)"
maintainer="Robert Lowry <bobertlo@gmail.com>"
license="Apache-2.0"
homepage="https://github.com/boto/botocore"
distfiles="https://github.com/boto/botocore/archive/${version}.tar.gz"
checksum=0b439e0ebf65d25b175665141dffd7235c73b923e834f506cb114b436dbd191c
post_install() {
vlicense LICENSE.txt
}
python3-botocore_package() {
archs=noarch
pycompile_module="botocore"
depends="python3-dateutil python3-docutils python3-jmespath python3-urllib3"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove "usr/lib/python3*"
vlicense LICENSE.txt
}
}