# -*- 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 118067 2014-03-20 19:05:46Z cal@macports.org $

PortSystem          1.0
PortGroup           python 1.0
PortGroup           select 1.0
PortGroup           bitbucket 1.0

bitbucket.setup     hpk42 tox 1.6.1

name                py-tox
version             1.6.1
categories          python devel
maintainers         gmail.com:pedro.salgado
platforms           darwin
supported_archs     noarch
license             MIT
description         tox: virtualenv-based automation of test activities
long_description    Tox as is a generic virtualenv management and test command line tool
homepage            https://bitbucket.org/hpk42/tox/

checksums           sha256 b4aaa0b330d5f5963d196b65760e13c69d614f57ca93f22b3ca293f037aabd3a

python.versions     25 26 27

if {${name} ne ${subport}} {
    depends_lib-append port:py${python.version}-py \
                       port:py${python.version}-virtualenv \
                       port:tox_select
    livecheck.type     none
    select.group       tox
    select.file        ${filespath}/tox${python.version}
    notes "
To make the Python ${python.branch} version of tox the one that is run\
when you execute the commands without a version suffix, e.g. 'tox', run:

port select --set ${select.group} [file tail ${select.file}]
"
}
