[MacPorts] FAQ modified

MacPorts noreply at macports.org
Sun Jun 7 16:42:59 PDT 2009


Changed page "FAQ" by blb at macports.org from 75.163.188.200*
Page URL: <http://trac.macports.org/wiki/FAQ>
Diff URL: <http://trac.macports.org/wiki/FAQ?action=diff&version=73>
Revision 73
Comment: Update for recent python25 changes

-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: FAQ
=========================================================================
--- FAQ (version: 72)
+++ FAQ (version: 73)
@@ -160,24 +160,7 @@
 
 If you're using python24, install the py-readline port.
 
-If you're using python25, install py25-readline.
-
-=== Why can't I `import foo` in Python 2.5? ===
-
-A number of "standard python modules" are built separately from the python25 port:
- * zlib (py25-zlib)
- * _hashlib (py25-hashlib)
- * _ssl (py25-socket-ssl)
- * _bsddb (py25-bsddb)
- * _sqlite3 (py25-sqlite3)
- * _tkinter (py25-tkinter)
- * bz2 (py25-bz2)
- * gdbm (py25-gdbm)
- * readline (py25-readline)
- * _curses, _curses_panel (py25-curses)
-
-For further information about readline support in python25, see the above FAQ question.
-People with a FreeBSD background will find themselves familiar with this schema.
+If you're using python25, make sure your python25 port is up to date, at least 2.5.4_4, when the standard modules were reintegrated back into the port itself (see ticket #12369).
 
 === Will MacPorts link to system libraries rather than its own? ===
 
@@ -195,11 +178,11 @@
 
 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.
+=== Why do the python ports 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) 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 py-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 simply does not match that.
 
 === When should I use the force option (-f) === #whentoforce
 

-------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