# -*- 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 # $Id$ PortSystem 1.0 PortGroup python 1.0 PortGroup bitbucket 1.0 epoch 20130201 set realname hggit name py-hggit categories-append devel license GPL-2 platforms darwin supported_archs noarch maintainers easieste sean openmaintainer homepage http://hg-git.github.com/ description Push to and pull from a Git server repository from Mercurial. long_description This is the Hg-Git plugin for Mercurial, adding the ability \ to push to and pull from a Git server repository from Mercurial.\ This means you can collaborate on Git based projects from Mercurial, \ or use a Git server as a collaboration point for a team with \ developers using both Git and Mercurial. # can't set python.versions before adding custom subports subport py27-$realname-devel {} if {[string match "*-devel" $subport]} { bitbucket.setup durin42 hg-git 5cc2ad8a162b name py-$realname-devel version 0.8.99 revision 3 checksums rmd160 70f26f5687a91beb0b10b0c1597e20bb8427e9d6 \ sha256 2492d7d10ad5180df187300563e29d5879b2e42b5a7d6cfcd1b6208ce7855e2c } else { bitbucket.setup durin42 hg-git 0.8.0 name py-${realname} checksums rmd160 9d1633caf93404ef0eb5d8e435bfa47c01a6995e \ sha256 d96cbfba63cc270eb6b97dac12c5cf6d3872a246f54cee9c1786848f3d12a41b } python.versions 27 if {${name} ne ${subport}} { depends_lib-append bin:hg:mercurial \ bin:dulwich-2.7:py${python.version}-dulwich conflicts py${python.version}-$realname-devel if {[string match "*-devel" $subport]} { conflicts py${python.version}-$realname } else { livecheck.type none } notes " To enable ${realname}, add the following to your ~/.hgrc: \[extensions\] ${realname} = " }