void-packages/srcpkgs/python-botocore/template

32 lines
940 B
Bash
Raw Normal View History

2019-05-10 04:30:30 +00:00
# Template file for 'python-botocore'
pkgname=python-botocore
2019-05-15 16:38:58 +00:00
version=1.12.148
2019-05-10 04:30:30 +00:00
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"
2019-05-15 16:38:58 +00:00
checksum=0b439e0ebf65d25b175665141dffd7235c73b923e834f506cb114b436dbd191c
2019-05-10 04:30:30 +00:00
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() {
2019-05-10 04:31:13 +00:00
vmove "usr/lib/python3*"
2019-05-10 04:30:30 +00:00
vlicense LICENSE.txt
}
}