[MacPorts] howto/InstallingOlderPort modified

MacPorts noreply at macports.org
Fri Oct 11 04:41:29 PDT 2013


Page "howto/InstallingOlderPort" was changed by david at rothlis.net
Diff URL: <https://trac.macports.org/wiki/howto/InstallingOlderPort?action=diff&version=15>
Revision 15
Comment: Instructions for specifying a subport (e.g. py27-pylint)
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: howto/InstallingOlderPort
=========================================================================
--- howto/InstallingOlderPort (version: 14)
+++ howto/InstallingOlderPort (version: 15)
@@ -92,4 +92,13 @@
 
 After this, php5 version 5.2.10 should be installed.
 
+== Specifying a subport ==
+
+Many python libraries, for example, have separate ports for different python versions, but a single port file to describe them all. To specify which version you want, use "subport=...". For example:
+
+{{{
+cd dports/python/py-pylint
+sudo port install subport=py27-pylint
+}}}
+
 [wiki:howto <- Back to the HOWTO section]
-------8<------8<------8<------8<------8<------8<------8<------8<--------

--
Page URL: <https://trac.macports.org/wiki/howto/InstallingOlderPort>
MacPorts <http://www.macports.org/>
Ports system for OS X

This is an automated message. Someone added your email address to be
notified of changes on 'howto/InstallingOlderPort' page.
If it was not you, please report to .


More information about the macports-changes mailing list