[104990] trunk/dports/python/py-bpython/Portfile

aronnax at macports.org aronnax at macports.org
Sat Apr 6 13:27:25 PDT 2013


Revision: 104990
          https://trac.macports.org/changeset/104990
Author:   aronnax at macports.org
Date:     2013-04-06 13:27:25 -0700 (Sat, 06 Apr 2013)
Log Message:
-----------
py-bpython: add missing build dependencies; make bpython_select work

Modified Paths:
--------------
    trunk/dports/python/py-bpython/Portfile

Modified: trunk/dports/python/py-bpython/Portfile
===================================================================
--- trunk/dports/python/py-bpython/Portfile	2013-04-06 19:34:43 UTC (rev 104989)
+++ trunk/dports/python/py-bpython/Portfile	2013-04-06 20:27:25 UTC (rev 104990)
@@ -7,6 +7,7 @@
 
 name                    py-bpython
 version                 0.12
+revision                1
 platforms               darwin
 supported_archs         noarch
 maintainers             aronnax openmaintainer
@@ -30,6 +31,11 @@
                             port:py${python.version}-pygments \
                             port:py${python.version}-distribute
 
+    depends_build-append    port:py${python.version}-babel \
+                            port:py${python.version}-sphinx
+
+    depends_run-append      port:bpython_select
+
     select.group            bpython
     select.file             ${filespath}/bpython${python.version}
     
@@ -56,6 +62,13 @@
         xinstall -W ${worksrcpath} sample.theme light.theme \
             ${themedir}
     }
+
+    notes "
+To make the Python ${python.branch} version of bpython the one that is run\
+when you execute the commands without a version suffix, e.g. 'bpython', run:
+
+port select --set ${select.group} [file tail ${select.file}]
+"
 } else {
     livecheck.type          regex
     livecheck.url           [lindex ${master_sites} 0]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130406/132b181d/attachment.html>


More information about the macports-changes mailing list