# -*- 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

PortSystem          1.0
PortGroup           python 1.0

name				py-robotframework-selenium2library

version             1.8.0
categories-append   devel
maintainers         nomaintainer
description         Robot Framework library to run web-based tests
long_description    Library to run web-based tests with Selenium \
    using Selenium server included in the package
license             Apache-2

homepage            https://github.com/rtomac/${python.rootname}

platforms           darwin
python.versions		27

checksums           rmd160  d5d6fc35e01350dcf95b4d97191ef69535fdecf9 \
                    sha256  2cb983b3237a6f63842c2c800f35c77a76db88623751054644c50f7a3698c0f9

if {${name} ne ${subport}} {
    depends_build   port:py${python.version}-setuptools
    depends_lib-append	port:py${python.version}-robotframework \
        port:py${python.version}-ez_setup \
        port:py${python.version}-selenium

    post-destroot {
        delete ${destroot}${frameworks_dir}/Python.framework/Versions/${python.branch}/lib/python${python.branch}/site-packages/ez_setup.py
        delete ${destroot}${frameworks_dir}/Python.framework/Versions/${python.branch}/lib/python${python.branch}/site-packages/ez_setup.pyc
    }
}
