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

Last change on this file was 149520, checked in by sean@…, 13 months ago

py-hgsubversion-devel: update to newest commit

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 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 149520 2016-06-23 22:53:10Z ryandesign@macports.org $
3
4PortSystem              1.0
5PortGroup               python 1.0
6PortGroup               bitbucket 1.0
7
8set realname            hgsubversion
9name                    py-${realname}
10
11categories-append       devel
12platforms               darwin
13maintainers             sean openmaintainer
14supported_archs         noarch
15license                 GPL-2+
16
17description             hgsubversion is a Mercurial extension for \
18                        working with Subversion (svn) repositories.
19long_description        ${description}
20
21checksums               rmd160  e04882956eb19ece7dfff4f24f4a767753c3d91c \
22                        sha256  5c756d20510afbbf3d1b831bc39fa1fa3a67b4757509b2ba677089be8cf1ded2
23
24# can't set python.versions before adding custom subports
25subport py27-hgsubversion-devel {
26}
27
28if {[string match "*-devel" $subport]} {
29    bitbucket.setup     seanfarley hgsubversion f4cda692935b
30    name                py-hgsubversion-devel
31    version             1.8.99
32    revision            4
33
34    checksums           rmd160  fa652f41ed4018e5bca1218a5a0e5190c44ebb63 \
35                        sha256  90e45d6c12a8483b54cda3fcb43da5808d5be4721caa35539b3a34536e27a7e2
36} else {
37    bitbucket.setup     durin42 hgsubversion 1.8.6
38    name                py-hgsubversion
39
40    checksums           rmd160  9665241018956cba05e7a1b77f1d4d7795e2bf9d \
41                        sha256  0fee3b81424ee32478385b61d29356fc0eeb01890713e34ef615525f9242ba9e
42}
43
44python.versions         27
45
46if {${name} ne ${subport}} {
47    depends_lib-append  path:bin/hg:mercurial \
48                        port:subversion-python${python.version}bindings
49
50
51    conflicts           py${python.version}-hgsubversion-devel
52    if {[string match "*-devel" $subport]} {
53        conflicts       py${python.version}-hgsubversion
54    }
55
56    notes               "
57To enable hgsubversion, add the following to your ~/.hgrc:
58
59\[extensions\]
60hgsubversion =
61"
62
63    if {![string match "*-devel" $subport]} {
64        livecheck.type      none
65    }
66}
Note: See TracBrowser for help on using the repository browser.