[125315] trunk/dports/python

jmr at macports.org jmr at macports.org
Sat Sep 13 07:04:18 PDT 2014


Revision: 125315
          https://trac.macports.org/changeset/125315
Author:   jmr at macports.org
Date:     2014-09-13 07:04:18 -0700 (Sat, 13 Sep 2014)
Log Message:
-----------
py26-pebl: use unified python portgroup, set license

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

Added Paths:
-----------
    trunk/dports/python/py-pebl/

Removed Paths:
-------------
    trunk/dports/python/py26-pebl/

Modified: trunk/dports/python/py-pebl/Portfile
===================================================================
--- trunk/dports/python/py26-pebl/Portfile	2014-09-13 07:39:41 UTC (rev 125314)
+++ trunk/dports/python/py-pebl/Portfile	2014-09-13 14:04:18 UTC (rev 125315)
@@ -1,14 +1,15 @@
 # $Id$
 
 PortSystem 			1.0
-PortGroup 			python26 1.0
+PortGroup 			python 1.0
 
-name 				py26-pebl
+name 				py-pebl
 version 			1.0.2 
 revision 			1
 maintainers 		nomaintainer
 
 categories-append 	science math
+license 			MIT
 description 		Pebl is a python library and application for learning the structure of a Bayesian network.
 long_description 	${description}
 
@@ -23,4 +24,8 @@
                     sha1    fe9452ce0e699cda57a90ea009e971b920e0199a \
                     rmd160  0d6ef1e18416c27cddb5c5c44099c3c3b6425ab6
 
-depends_lib-append 	port:py26-numpy port:py26-pydot port:py26-parsing
+python.versions		26
+
+if {$subport ne $name} {
+	depends_lib-append 	port:py${python.version}-numpy port:py${python.version}-pydot port:py${python.version}-parsing
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140913/61039ff9/attachment.html>


More information about the macports-changes mailing list