# -*- 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 set pversions 27 foreach pv $pversions { subport py$pv-$realname-devel { } } if {[string match "*-devel" $subport]} { bitbucket.setup durin42 hg-git 16b4a689fee1 name py-$realname-devel version 0.4.99 checksums rmd160 6813d62243072ca65bb4a5243ad16872b5015b17 \ sha256 5183da81731887acd8ff46bcf0725dd1e4f0a391f68d12463b838ef0d32980ea } else { bitbucket.setup durin42 hg-git 0.4.0 name py-${realname} checksums rmd160 61dfdc017e9475dc5f4ca676c03e1465bbdc3735 \ sha256 64072882e86f37687cd5d50e1382a7504edf73e5fc3acad934bc882638440f57 } set python.versions $pversions if {$subport != $name} { depends_lib-append path:bin/hg:mercurial \ port:py${python.version}-dulwich conflicts py${python.version}-$realname-devel if {[string match "*-devel" $subport]} { conflicts py${python.version}-$realname } notes " To enable ${realname}, add the following to your ~/.hgrc: \[extensions\] ${realname} = " livecheck.type none }