[88900] trunk/dports/python/py-nose/Portfile

dports at macports.org dports at macports.org
Sat Jan 14 15:47:55 PST 2012


Revision: 88900
          http://trac.macports.org/changeset/88900
Author:   dports at macports.org
Date:     2012-01-14 15:47:55 -0800 (Sat, 14 Jan 2012)
Log Message:
-----------
py-nose: set select.group/file in subports only
(fixes use of ${python.version} in stub port; see #32840)

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

Modified: trunk/dports/python/py-nose/Portfile
===================================================================
--- trunk/dports/python/py-nose/Portfile	2012-01-14 23:46:57 UTC (rev 88899)
+++ trunk/dports/python/py-nose/Portfile	2012-01-14 23:47:55 UTC (rev 88900)
@@ -33,13 +33,14 @@
                     sha256  b1ba12c1c45323fd8695be68ce7228456b86e51234f167027ebbc4ccda852c61
 
 python.versions     24 25 26 27 31 32
-select.group        nosetests
-select.file         ${filespath}/nosetests${python.version} 
 
 # already installs version-suffixed executables
 python.link_binaries no
 
 if {$subport != $name} {
+    select.group        nosetests
+    select.file         ${filespath}/nosetests${python.version} 
+
     depends_lib     port:py${python.version}-distribute
 
     post-patch {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120114/388f961d/attachment.html>


More information about the macports-changes mailing list