Index: en_US.ISO8859-1/books/porters-handbook/special/chapter.xml =================================================================== --- en_US.ISO8859-1/books/porters-handbook/special/chapter.xml +++ en_US.ISO8859-1/books/porters-handbook/special/chapter.xml @@ -2605,16 +2605,16 @@ - USE_PYTHON + USES=python The port needs Python. Minimal required version can be specified with values such as - 2.6+. Version ranges can also be + 2.7+. Version ranges can also be specified, by separating two version numbers with a - dash, e.g.: 2.6-2.7 + dash, e.g.: USES=python:3.2-3.3 - USE_PYDISTUTILS + PYTHON_FEATURES=distutils Use Python distutils for configuring, compiling and installing. This is required when the port comes with setup.py. This overrides @@ -2629,7 +2629,7 @@ PYTHON_PKGNAMEPREFIX Used as a PKGNAMEPREFIX to distinguish packages for different Python versions. - Example: py24- + Example: py27- @@ -2680,7 +2680,7 @@ A complete list of available variables can be found in - /usr/ports/Mk/bsd.python.mk. + /usr/ports/Mk/Uses/python.mk. Some Python applications claim to have DESTDIR support (which would be required Index: en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml =================================================================== --- en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml +++ en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml @@ -790,6 +790,19 @@ run-time dependency. + + python + (none), X.Y, + X.Y+, -X.Y, + X.Y-Z.A, build, + run + Uses Python. A supported + version or version range, can be specified. If Python is + only needed at build or run time, it can be set as build + or run dependency with build or + run. + + qmail