[120726] trunk/dports/python

sean at macports.org sean at macports.org
Thu Jun 5 20:53:33 PDT 2014


Revision: 120726
          https://trac.macports.org/changeset/120726
Author:   sean at macports.org
Date:     2014-06-05 20:53:33 -0700 (Thu, 05 Jun 2014)
Log Message:
-----------
py-hgexperimental: add some mercurial extensions contributed by facebook

Added Paths:
-----------
    trunk/dports/python/py-hgexperimental/
    trunk/dports/python/py-hgexperimental/Portfile

Added: trunk/dports/python/py-hgexperimental/Portfile
===================================================================
--- trunk/dports/python/py-hgexperimental/Portfile	                        (rev 0)
+++ trunk/dports/python/py-hgexperimental/Portfile	2014-06-06 03:53:33 UTC (rev 120726)
@@ -0,0 +1,49 @@
+# -*- 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        hgexperimental
+bitbucket.setup     facebook hg-experimental 74a3ad204247
+version             0.0.20140602
+name                py-${realname}
+categories-append   devel
+platforms           darwin
+maintainers         sean openmaintainer
+supported_archs     noarch
+license             GPL-2+
+
+description         This is a collection of proof-of-concept Mercurial \
+                    extensions written at Facebook: smartlog, githelp, \
+                    backups, and fbamend.
+long_description    ${description}
+
+checksums           rmd160  5b4b263fe3cf0b760992fc21c3d27004edd8b44d \
+                    sha256  92a9c00e9ea79854115df2b94b36e33cd34388aadba56b9e737aa9f3dcf45568
+
+python.versions     27
+
+build {}
+
+destroot {
+    xinstall -d -m 755 ${destroot}${frameworks_dir}/Python.framework/Versions/2.7/lib/python2.7/site-packages
+    eval xinstall -m 755 [glob ${worksrcpath}/*.py] ${destroot}${frameworks_dir}/Python.framework/Versions/2.7/lib/python2.7/site-packages
+}
+
+if {${name} ne ${subport}} {
+    depends_lib-append  path:bin/hg:mercurial
+
+    notes               "
+To enable all of the extensions in ${realname}, add the following to your ~/.hgrc:
+
+\[extensions\]
+smartlog =
+githelp =
+backups =
+fbamend =
+"
+
+    livecheck.type      none
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140605/ab3d3091/attachment.html>


More information about the macports-changes mailing list