Revision: 102513 https://trac.macports.org/changeset/102513 Author: sean@macports.org Date: 2013-02-04 09:14:30 -0800 (Mon, 04 Feb 2013) Log Message: ----------- py-hgcrecord: add new port for the mercurial crecord extension Added Paths: ----------- trunk/dports/python/py-hgcrecord/ trunk/dports/python/py-hgcrecord/Portfile Added: trunk/dports/python/py-hgcrecord/Portfile =================================================================== --- trunk/dports/python/py-hgcrecord/Portfile (rev 0) +++ trunk/dports/python/py-hgcrecord/Portfile 2013-02-04 17:14:30 UTC (rev 102513) @@ -0,0 +1,47 @@ +# -*- 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 + +set realname crecord +bitbucket.setup edgimar $realname 55cf805769eb +name py-hg$realname +version 0.1.20130119 +categories python devel +platforms darwin +license GPLv2 +supported_archs noarch + +maintainers sean openmaintainer +description Crecord Extension for Mercurial +long_description The crecord mercurial extension allows you to \ + interactively choose \ among the changes you have made (with \ + line-level granularity), and \ commit only those changes you select. + +checksums rmd160 c95361a072ef568858bae51642d8132432757933 \ + sha256 6108de919cec2af23f68b696941c1508617f6f15dc0e57a7246cabf711bdb158 + +python.versions 27 + +if {$subport != $name} { + depends_lib path:bin/hg:mercurial \ + port:ncurses + + build {} + + destroot { + xinstall -d ${destroot}${python.pkgd} + copy ${worksrcpath}/${realname} ${destroot}${python.pkgd}/${realname} + } + + notes " +To enable ${realname}, add the following to your ~/.hgrc: + +\[extensions\] +${realname} = ${python.pkgd}/${realname} +" + + livecheck.type none +}