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

Last change on this file since 135656 was 134786, checked in by sean@…, 4 years ago

py-hggit-devel: update to newest version

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