Ticket #35263: Portfile.2

File Portfile.2, 1.7 KB (added by deric@…, 12 years ago)

Updated to 0.3.2 and unified.

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$
3
4PortSystem              1.0
5PortGroup               python 1.0
6
7name                    py-hggit
8version                 0.3.2
9
10categories              python devel
11platforms               darwin
12maintainers             easieste openmaintainer
13supported_archs         noarch
14
15homepage                http://hg-git.github.com/
16description             Push to and pull from a Git server repository from Mercurial.
17long_description        This is the Hg-Git plugin for Mercurial, adding the ability \
18                        to push to and pull from a Git server repository from Mercurial.\
19                        This means you can collaborate on Git based projects from Mercurial, \
20                        or use a Git server as a collaboration point for a team with \
21                        developers using both Git and Mercurial.
22
23homepage                http://hg-git.github.com/
24master_sites            http://pypi.python.org/packages/source/h/hg-git
25distname                hg-git-${version}
26
27checksums           rmd160  bbde5969a323cfd8894b92bf731363238a0a9475 \
28                    sha256  fc5517e4af09478835d97e3c3b37cc95b9783ff5b585ef893f891057f8b52f43
29
30depends_lib             port:mercurial \
31
32python.versions 26 27
33python.default_version 27
34
35if {$subport != $name} {
36
37        notes "
38        To use this extension, add the following to your ~/.hgrc:
39
40        \[extensions\]   
41        hggit=${python.prefix}/lib/python${python.branch}/site-packages/hggit
42        "
43
44        depends_lib-append      port:py${python.version}-dulwich
45
46        if { ${python.version} == 26 } {
47                epoch 201109028 # NB extra zero: YYYYMM0DD from mistake that must be preserved.
48        }
49
50}
51