# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 118074 2014-03-20 22:10:47Z macsforever2000@macports.org $

PortSystem          1.0
PortGroup           python 1.0

name                py-euca2ools
distname            euca2ools
epoch               1
version             3.0.2
categories-append   net
platforms           darwin
maintainers         eucalyptus.com:ben.carpenter
license             MIT
supported_archs     noarch

description         Command line tools for EC2 and S3 APIs.
long_description    Euca2ools are command-line tools for interacting with Web \
                    services that export a REST/Query-based API compatible with \
                    Amazon EC2 and S3 services.The tools can be used with both \
                    Amazon services and with installations of the Eucalyptus \
                    open-source cloud-computing infrastructure. The tools were \
                    inspired by command-line tools distributed by Amazon \
                    (api-tools and ami-tools) and largely accept the same \
                    options and environment variables.

homepage            https://www.eucalyptus.com/download/euca2ools
master_sites        http://downloads.eucalyptus.com/software/euca2ools/3.0/source/
distname            euca2ools-${version}

checksums           rmd160 a8493f3bb0101d5590fd9b5181659943acf7352d \
                    sha256 8ce61695731e3682c3599274cc2b7aade4e408fd2635831e769143fe2f5159ec

python.versions     26 27

if {${name} ne ${subport}} {
    depends_build-append \
                        port:py${python.version}-setuptools
    depends_lib-append  port:py${python.version}-boto \
                        port:py${python.version}-m2crypto
}
