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

Last change on this file was 153416, checked in by sean@…, 14 months ago

py-hggit-devel: update to newest commit

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.2 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 153416 2016-09-30 00:19:27Z ryandesign@macports.org $
3
4PortSystem              1.0
5PortGroup               python 1.0
6PortGroup               bitbucket 1.0
7
8epoch                   20130201
9
10name                    py-hggit
11
12categories-append       devel
13license                 GPL-2
14platforms               darwin
15supported_archs         noarch
16maintainers             easieste sean openmaintainer
17
18homepage                http://hg-git.github.com/
19description             Push to and pull from a Git server repository from Mercurial.
20long_description        This is the Hg-Git plugin for Mercurial, adding the ability \
21                        to push to and pull from a Git server repository from Mercurial.\
22                        This means you can collaborate on Git based projects from Mercurial, \
23                        or use a Git server as a collaboration point for a team with \
24                        developers using both Git and Mercurial.
25
26# can't set python.versions before adding custom subports
27subport py27-hggit-devel {}
28
29if {[string match "*-devel" $subport]} {
30    bitbucket.setup     durin42 hg-git ff663d2214db
31    name                py-hggit-devel
32    version             0.8.99
33    revision            19
34
35    checksums           rmd160  f66681d54ed34ceef99a2d7aa671ca54bc2285ee \
36                        sha256  5ce33bf4febde16cecbb96a677b154442e7a65e6758287459eed6d2e98564c70
37} else {
38    bitbucket.setup     durin42 hg-git 0.8.5
39    name                py-hggit
40
41    checksums           rmd160  91a804d7feafb7a6010e099f538d672b8c53e788 \
42                        sha256  3b66224119bd93d870ec1a55f07fae0191b84ff3ae810c557081cf2679bf3af4
43}
44
45python.versions         27
46
47if {${name} ne ${subport}} {
48    depends_lib-append  bin:hg:mercurial \
49                        bin:dulwich-2.7:py${python.version}-dulwich
50
51    conflicts           py${python.version}-hggit-devel
52    if {[string match "*-devel" $subport]} {
53        conflicts       py${python.version}-hggit
54    } else {
55        livecheck.type      none
56    }
57
58    notes               "
59To enable hggit, add the following to your ~/.hgrc:
60
61\[extensions\]
62hggit =
63"
64}
Note: See TracBrowser for help on using the repository browser.