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