diff options
author | wiz <wiz@pkgsrc.org> | 2016-01-12 12:04:32 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2016-01-12 12:04:32 +0000 |
commit | fc226504df7b9588f962db113c8ee9470586e336 (patch) | |
tree | ea6a7b4d7171a58bd3256c96d51da3098315dd1a /doc/pkgsrc.txt | |
parent | 0c511298358baf283049142a8ea459756ff2e00d (diff) | |
download | pkgsrc-fc226504df7b9588f962db113c8ee9470586e336.tar.gz |
regen
Diffstat (limited to 'doc/pkgsrc.txt')
-rw-r--r-- | doc/pkgsrc.txt | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/doc/pkgsrc.txt b/doc/pkgsrc.txt index cb1b4bf0d6c..91d405c846d 100644 --- a/doc/pkgsrc.txt +++ b/doc/pkgsrc.txt @@ -3204,9 +3204,18 @@ supported, e.g. PYTHON_VERSIONS_INCOMPATIBLE= 27 -If the packaged software is a Python module, include "../../lang/python/ -extension.mk". In this case, the package directory should be called " -py-software" and PKGNAME should be set to "${PYPKGPREFIX}-${DISTNAME}", e.g. +If the packaged software is a Python module, include one of ../../lang/python/ +egg.mk, ../../lang/python/distutils.mk, or ../../lang/python/extension.mk. + +Most Python packages use either "distutils" or easy-setup/setuptools ("eggs"). +if the packaged software is using setuptools, you only need to include "../../ +lang/python/egg.mk". Otherwise, if the software uses "distutils", include ".. +/../lang/python/distutils.mk". so pkgsrc will use this framework. "distutils" +uses a script called setup.py, if the "distutils" driver is not called +setup.py, set the PYSETUP variable to the name of the script. + +Either way, the package directory should be called "py-software" and PKGNAME +should be set to "${PYPKGPREFIX}-${DISTNAME}", e.g. DISTNAME= foopymodule-1.2.10 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} @@ -3218,15 +3227,6 @@ be corrected. For example: REPLACE_PYTHON= *.py -Most Python packages use either "distutils" or easy-setup ("eggs"). If the -software uses "distutils", include "../../lang/python/distutils.mk". so pkgsrc -will use this framework. "distutils" uses a script called setup.py, if the " -distutils" driver is not called setup.py, set the PYSETUP variable to the name -of the script. - -Otherwise, if the packaged software is egg-aware, you only need to include ".. -/../lang/python/egg.mk". - Some Python modules have separate distributions for Python-2.x and Python-3.x support. In pkgsrc this is handled by the versioned_dependencies.mk file. Set PYTHON_VERSIONED_DEPENDENCIES to the list of packages that should be depended |