source: trunk/dports/python/py-rbtools/Portfile

Last change on this file was 126586, checked in by larryv@…, 3 years ago

py{24,25,26}-rbtools: Replace with py27-rbtools

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 126586 2014-10-12 06:36:44Z ryandesign@macports.org $
2
3PortSystem      1.0
4PortGroup       python 1.0
5
6name            py-rbtools
7set cap_name    RBTools
8version         0.4.3
9python.versions 27
10set branch      [join [lrange [split ${version} .] 0 1] .]
11categories-append     devel
12maintainers     nomaintainer
13platforms       darwin
14supported_archs noarch
15license         MIT
16description     Tools for Review Board integration
17
18long_description \
19    Tools for integrating with Review Board, a powerful web-based code review \
20    tool that offers developers an easy way to handle code reviews. \
21    This package provides \"post-review\", a command-line tool that simplifies \
22    both creating and updating review requests.
23
24homepage            http://www.reviewboard.org/
25master_sites        http://downloads.reviewboard.org/releases/${cap_name}/${branch}
26distname            ${cap_name}-${version}
27
28checksums           rmd160 fc6b3e470ca7142ecb1165d02e1a04d0daca2be3 \
29                    sha256 7c35271b7d65e8ab72ae1a10b0c65e8dbf718f31391fff44034f0bc4262a0917
30
31if {${name} ne ${subport}} {
32    depends_lib-append      port:py${python.version}-setuptools
33    if {${python.version} <= 25} {
34        depends_lib-append      port:py${python.version}-simplejson
35    }
36    livecheck.type      none
37} else {
38    livecheck.type      regex
39    livecheck.url       [lindex $master_sites 0]
40    livecheck.regex     "RBTools-(0\\.\\d+?(\\.\\d+))\\.tar\\.gz"
41}
Note: See TracBrowser for help on using the repository browser.