72 lines
2.3 KiB
Bash
72 lines
2.3 KiB
Bash
# Template file for 'python-boto'
|
|
pkgname=python-boto
|
|
version=2.49.0
|
|
revision=4
|
|
wrksrc="boto-${version}"
|
|
build_style=python-module
|
|
pycompile_module="boto"
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
depends="python"
|
|
short_desc="Python interface to Amazon Web Services (Python2)"
|
|
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="http://docs.pythonboto.org/"
|
|
changelog="https://raw.githubusercontent.com/boto/boto/develop/docs/source/releasenotes/v${version}.rst"
|
|
distfiles="https://github.com/boto/boto/archive/${version}.tar.gz"
|
|
checksum=3dbefd4f4542f85a323d4f54601f31ed4d362fc87945245f32e4a85029513314
|
|
alternatives="
|
|
boto:asadmin:/usr/bin/asadmin2
|
|
boto:bundle_image:/usr/bin/bundle_image2
|
|
boto:cfadmin:/usr/bin/cfadmin2
|
|
boto:cq:/usr/bin/cq2
|
|
boto:cwutil:/usr/bin/cwutil2
|
|
boto:dynamodb_dump:/usr/bin/dynamodb_dump2
|
|
boto:dynamodb_load:/usr/bin/dynamodb_load2
|
|
boto:elbadmin:/usr/bin/elbadmin2
|
|
boto:fetch_file:/usr/bin/fetch_file2
|
|
boto:glacier:/usr/bin/glacier2
|
|
boto:instance_events:/usr/bin/instance_events2
|
|
boto:kill_instance:/usr/bin/kill_instance2
|
|
boto:launch_instance:/usr/bin/launch_instance2
|
|
boto:list_instances:/usr/bin/list_instances2
|
|
boto:mturk:/usr/bin/mturk2
|
|
boto:pyami_sendmail:/usr/bin/pyami_sendmail2
|
|
boto:s3put:/usr/bin/s3put2
|
|
boto:sdbadmin:/usr/bin/sdbadmin2
|
|
boto:taskadmin:/usr/bin/taskadmin2"
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3-boto_package() {
|
|
depends="python3"
|
|
pycompile_module="boto"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
alternatives="
|
|
boto:asadmin:/usr/bin/asadmin3
|
|
boto:bundle_image:/usr/bin/bundle_image3
|
|
boto:cfadmin:/usr/bin/cfadmin3
|
|
boto:cq:/usr/bin/cq3
|
|
boto:cwutil:/usr/bin/cwutil3
|
|
boto:dynamodb_dump:/usr/bin/dynamodb_dump3
|
|
boto:dynamodb_load:/usr/bin/dynamodb_load3
|
|
boto:elbadmin:/usr/bin/elbadmin3
|
|
boto:fetch_file:/usr/bin/fetch_file3
|
|
boto:glacier:/usr/bin/glacier3
|
|
boto:instance_events:/usr/bin/instance_events3
|
|
boto:kill_instance:/usr/bin/kill_instance3
|
|
boto:launch_instance:/usr/bin/launch_instance3
|
|
boto:list_instances:/usr/bin/list_instances3
|
|
boto:mturk:/usr/bin/mturk3
|
|
boto:pyami_sendmail:/usr/bin/pyami_sendmail3
|
|
boto:s3put:/usr/bin/s3put3
|
|
boto:sdbadmin:/usr/bin/sdbadmin3
|
|
boto:taskadmin:/usr/bin/taskadmin3"
|
|
pkg_install() {
|
|
vmove usr/bin/*3
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE
|
|
}
|
|
}
|