Modified: trunk/dports/python/py-rpy2/Portfile (105679 => 105684)
--- trunk/dports/python/py27-rpy2/Portfile 2013-05-01 17:42:33 UTC (rev 105679)
+++ trunk/dports/python/py-rpy2/Portfile 2013-05-01 22:47:01 UTC (rev 105684)
@@ -2,11 +2,12 @@
# $Id$
PortSystem 1.0
+PortGroup python 1.0
-PortGroup python27 1.0
-name py27-rpy2
+name py-rpy2
version 2.2.1
categories-append science
+license {MPL-1.1 LGPL-2.1+}
platforms darwin
maintainers nomaintainer
description A simple and efficient access to R from Python
@@ -22,7 +23,11 @@
checksums sha1 ff22f43c25fa299343bc6c6c8cbb3cb43212dfa0 \
rmd160 f83207190e40cb9c1f56f3727ef8b26319a55598
-# To continue using your custom R installation instead of MacPorts' R,
-# you have to remove this dependency line and make sure that your R
-# is in MacPorts' binpath, see your macports.conf for details.
-depends_lib-append port:R
+python.versions 25 26 27
+
+if {$subport != $name} {
+ # To continue using your custom R installation instead of MacPorts' R,
+ # you have to remove this dependency line and make sure that your R
+ # is in MacPorts' binpath, see your macports.conf for details.
+ depends_lib-append port:R
+}