# -*- 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 114324 2013-12-05 08:44:51Z ryandesign@macports.org $

PortSystem              1.0
PortGroup               python 1.0

name                    py-boto
set real_name           boto
epoch                   1
version                 2.8.0
python.versions         25 26 27
python.default_version  25
maintainers             nomaintainer
license                 MIT
supported_archs         noarch

description             Python interface to Amazon's Web Services
long_description        ${description}
platforms               darwin

homepage                https://github.com/boto/boto
master_sites            http://pypi.python.org/packages/source/b/${real_name}
distname                ${real_name}-${version}

checksums               rmd160  ad9b1141343d5a2f5eea9c0fec43f449487ca37d \
                        sha256  f520cec579a11c99b510e06d16f484ce877f5b75eeae850c7e165753092939db

if {${name} ne ${subport}} {
    post-destroot {
        if {[file exists ${destroot}${python.pkgd}/tests]} {
            delete ${destroot}${python.pkgd}/tests
        }
    }
}
