source: trunk/dports/python/py-robotframework-selenium2library/Portfile @ 91234

Last change on this file since 91234 was 91234, checked in by jwa@…, 5 years ago

add dependency for selenium driver package

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# -*- 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
2# $Id: Portfile 91234 2012-03-26 15:35:18Z jwa@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                            py-robotframework-selenium2library
8set internal_name       robotframework-selenium2library
9
10version             1.0.0
11categories-append   devel
12maintainers         jwa
13description         Robot Framework library to run web-based tests
14long_description    Library to run web-based tests with Selenium \
15    using Selenium server included in the package
16
17homepage        https://github.com/rtomac/${internal_name}/downloads
18
19platforms           darwin
20python.versions         26 27
21python.default_version  27
22
23master_sites        https://github.com/downloads/rtomac/${internal_name}/
24distname            ${internal_name}-${version}
25
26checksums           rmd160  8d98280a7509039ba1ad1e316aafd80bd1326b36 \
27                    sha256  49e8e635c0dc0a0535c9437252ca98694376c9d3840bec6f8f8baf3ec79262ca
28
29if {$subport != $name} {
30    depends_lib-append  port:py${python.version}-robotframework \
31        port:py${python.version}-ez_setup \
32        port:py${python.version}-selenium
33
34    pre-build {
35        copy ${portpath}/files/version.py ${worksrcpath}
36    }
37}
38
39if {$subport == $name} {
40    livecheck.type     regex
41    livecheck.url      ${homepage}
42    livecheck.regex    ${internal_name}-(\[0-9\]\\.\[0-9.\]+)\\.tar\\.\[bg\]z
43} else {
44    livecheck.type      none
45}
Note: See TracBrowser for help on using the repository browser.