[MacPorts] FAQ modified
MacPorts
noreply at macports.org
Tue Mar 24 17:35:10 PDT 2009
Changed page "FAQ" by blb at macports.org from 75.163.231.4*
Page URL: <http://trac.macports.org/wiki/FAQ>
Diff URL: <http://trac.macports.org/wiki/FAQ?action=diff&version=61>
Revision 61
Comment: Add entry on python26/python30 dependencies
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: FAQ
=========================================================================
--- FAQ (version: 60)
+++ FAQ (version: 61)
@@ -184,6 +184,12 @@
See the [wiki:GNOME GNOME] section of this Wiki for more information.
+=== Why does the python26/python30 port have so many dependencies? === #pydeps
+
+Earlier versions of the python ports either used variants (python23) or split some modules out from the base port (python24 and python25) in order to reduce the number of dependencies for the port. Using variants is bad as that requires a complete rebuild of the port in order to add a given module (like readline support); also, dependencies can't specify variants currently (see ticket #126).
+
+Using separate ports for these modules (like py25-readline) avoids the need to completely rebuild the base port, and can be used as a dependency, but ends up having other issues. One is that these modules are installed using the standard distutils method for python, which causes them to be installed in a different location than where they would be when installed normally (see ticket #12369). The other is that many python developers have expectations when they install python, and installing python24 or python25 simply does not match that.
+
== Portfile Development and Maintenance Questions ==
=== Is it possible to have a dependency on a specific variant of another port? E.g. "postgresql8 +server"? ===
-------8<------8<------8<------8<------8<------8<------8<------8<--------
* The IP shown here might not mean anything if the user or the server is
behind a proxy.
--
MacPorts <http://www.macports.org/>
Ports system for Mac OS
This is an automated message. Someone at http://www.macports.org/ added your email
address to be notified of changes on FAQ. If it was not you, please
report to .
More information about the macports-changes
mailing list