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 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup python 1.0 |
---|
6 | |
---|
7 | name py-hggit |
---|
8 | version 0.3.2 |
---|
9 | |
---|
10 | categories python devel |
---|
11 | platforms darwin |
---|
12 | maintainers easieste openmaintainer |
---|
13 | supported_archs noarch |
---|
14 | |
---|
15 | homepage http://hg-git.github.com/ |
---|
16 | description Push to and pull from a Git server repository from Mercurial. |
---|
17 | long_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 | |
---|
23 | homepage http://hg-git.github.com/ |
---|
24 | master_sites http://pypi.python.org/packages/source/h/hg-git |
---|
25 | distname hg-git-${version} |
---|
26 | |
---|
27 | checksums rmd160 bbde5969a323cfd8894b92bf731363238a0a9475 \ |
---|
28 | sha256 fc5517e4af09478835d97e3c3b37cc95b9783ff5b585ef893f891057f8b52f43 |
---|
29 | |
---|
30 | depends_lib port:mercurial \ |
---|
31 | |
---|
32 | python.versions 26 27 |
---|
33 | python.default_version 27 |
---|
34 | |
---|
35 | if {$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 | |
---|