# -*- 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-twill
version             1.8.0
categories-append   devel www
license             MIT {BSD ZPL-2.1} PSF
maintainers         {gmail.com:mahergamal @maherg}
platforms           darwin
supported_archs     noarch

description         A simple scripting language for web browsing
long_description    twill is a simple language that allows users to browse \
                    the Web from a command-line interface. With twill, you \
                    can navigate through Web sites that use forms, cookies, \
                    and most standard Web features.

homepage            http://twill.idyll.org/
master_sites        pypi:[string index ${python.rootname} 0]/${python.rootname}
distname            twill-${version}

checksums           rmd160  2583f3108111a7f26868ed6f84e6f3dad1f7d577 \
                    sha256  d63e8b09aa4f6645571c70cd3ba47a911abbae4d7baa4b38fc7eb72f6cfda188 \
                    size    176989

python.versions     27

if {${name} ne ${subport}} {
    depends_lib-append \
                    port:py${python.version}-setuptools \
                    port:py${python.version}-lxml \
                    port:py${python.version}-requests \
                    port:py${python.version}-cssselect

    livecheck.type  none
}
