[102502] trunk/dports/python/py27-hgsubversion/Portfile
sean at macports.org
sean at macports.org
Mon Feb 4 09:12:55 PST 2013
Revision: 102502
https://trac.macports.org/changeset/102502
Author: sean at macports.org
Date: 2013-02-04 09:12:55 -0800 (Mon, 04 Feb 2013)
Log Message:
-----------
py27-hgsubversion: switch to python portgroup
Modified Paths:
--------------
trunk/dports/python/py27-hgsubversion/Portfile
Modified: trunk/dports/python/py27-hgsubversion/Portfile
===================================================================
--- trunk/dports/python/py27-hgsubversion/Portfile 2013-02-04 17:12:47 UTC (rev 102501)
+++ trunk/dports/python/py27-hgsubversion/Portfile 2013-02-04 17:12:55 UTC (rev 102502)
@@ -1,10 +1,11 @@
# -*- 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 python27 1.0
+PortSystem 1.0
+PortGroup python 1.0
-name py27-hgsubversion
+set realname hgsubversion
+name py-${realname}
version 1.5.20121205
revision 0
categories-append devel
@@ -26,25 +27,24 @@
fetch.type hg
hg.url http://bitbucket.org/durin42/hgsubversion
hg.tag 68191be64af8
+python.versions 27
checksums sha1 037625745a982592cc24281afe08ddaeef9691b7 \
rmd160 9566f9af2a33aa51b2791e998f18fbe15ad50431
+if {$subport != $name} {
+ depends_lib path:bin/hg:mercurial \
+ port:py${python.version}-subvertpy
-depends_lib-append port:mercurial \
- port:py27-subvertpy
-
# fix permissions
# Not needed for fetch.type hg
# post-extract { system -W ${worksrcpath} "chmod o+r hgsubversion.egg-info/*" }
-livecheck.url ${bitbucket_url}/downloads
-livecheck.regex /get/(\\d(\\.\\w)+)\\${extract.suffix}"
-
notes "
+To enable ${realname}, add the following to your ~/.hgrc:
-To enable hgsubversion add the following to '~/.hgrc':
-
\[extensions\]
-hgsubversion = ${prefix}/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/hgsubversion
+${realname} = ${python.pkgd}/${realname}
+"
-"
+ livecheck.type none
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130204/f30a0cf6/attachment-0001.html>
More information about the macports-changes
mailing list