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

Last change on this file was 152060, checked in by jwa@…, 13 months ago

py-robotframework-selenium2library: version bump to 1.8.0, fix livecheck

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 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 152060 2016-08-28 14:34:41Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                            py-robotframework-selenium2library
8set internal_name       robotframework-selenium2library
9
10version             1.8.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
16license             Apache-2
17
18homepage        https://github.com/rtomac/${internal_name}/downloads
19
20platforms           darwin
21python.versions         26 27
22python.default_version  27
23
24master_sites        pypi:r/${internal_name}/
25distname            ${internal_name}-${version}
26
27checksums           rmd160  d5d6fc35e01350dcf95b4d97191ef69535fdecf9 \
28                    sha256  2cb983b3237a6f63842c2c800f35c77a76db88623751054644c50f7a3698c0f9
29
30if {${name} ne ${subport}} {
31    depends_lib-append  port:py${python.version}-robotframework \
32        port:py${python.version}-ez_setup \
33        port:py${python.version}-selenium
34
35    post-destroot {
36        delete ${destroot}${frameworks_dir}/Python.framework/Versions/${python.branch}/lib/python${python.branch}/site-packages/ez_setup.py
37        delete ${destroot}${frameworks_dir}/Python.framework/Versions/${python.branch}/lib/python${python.branch}/site-packages/ez_setup.pyc
38    }
39}
40
41if {${name} eq ${subport}} {
42    livecheck.type     regex
43    livecheck.url      https://pypi.python.org/pypi/${internal_name}
44    livecheck.regex    ${internal_name} (\[0-9\]\\.\[0-9.\]+)
45} else {
46    livecheck.type      none
47}
Note: See TracBrowser for help on using the repository browser.