[106204] trunk/dports/python/py-hgevolve/Portfile
sean at macports.org
sean at macports.org
Sat May 18 14:45:30 PDT 2013
Revision: 106204
https://trac.macports.org/changeset/106204
Author: sean at macports.org
Date: 2013-05-18 14:45:30 -0700 (Sat, 18 May 2013)
Log Message:
-----------
py27-hgevolve: properly rename extension filename
Modified Paths:
--------------
trunk/dports/python/py-hgevolve/Portfile
Modified: trunk/dports/python/py-hgevolve/Portfile
===================================================================
--- trunk/dports/python/py-hgevolve/Portfile 2013-05-18 21:43:15 UTC (rev 106203)
+++ trunk/dports/python/py-hgevolve/Portfile 2013-05-18 21:45:30 UTC (rev 106204)
@@ -8,6 +8,7 @@
set realname evolve
bitbucket.setup marmoute mutable-history 3.1.0
name py-hg$realname
+revision 1
categories-append devel
platforms darwin
license GPL-2+
@@ -29,13 +30,16 @@
post-destroot {
file delete ${destroot}${python.pkgd}/hgext/__init__.py
file delete ${destroot}${python.pkgd}/hgext/__init__.pyc
+
+ move ${destroot}${python.pkgd}/hgext/${realname}.py ${destroot}${python.pkgd}/hg${realname}.py
+ move ${destroot}${python.pkgd}/hgext/${realname}.pyc ${destroot}${python.pkgd}/hg${realname}.pyc
}
notes "
-To enable ${realname}, add the following to your ~/.hgrc:
+To enable hg${realname}, add the following to your ~/.hgrc:
\[extensions\]
-${realname} = ${python.pkgd}/${realname}
+hg${realname} = ${python.pkgd}/hg${realname}
"
livecheck.type none
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130518/38aea465/attachment-0001.html>
More information about the macports-changes
mailing list