diff options
author | drochner <drochner@pkgsrc.org> | 2012-07-25 19:07:49 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2012-07-25 19:07:49 +0000 |
commit | 40a2757638e0b9ec785fc23eb9ed776a35166b1b (patch) | |
tree | 6b47a7fb76de7a492a35dd82fcb96c2d90e2dd38 /lang/python | |
parent | b3861e24eccb689880154933fa9400c89727fc13 (diff) | |
download | pkgsrc-40a2757638e0b9ec785fc23eb9ed776a35166b1b.tar.gz |
use py-distribute for Python3 rather than py-setuptools
(The former might be used for Python2 as well, but it needs more
testing.)
Diffstat (limited to 'lang/python')
-rw-r--r-- | lang/python/egg.mk | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lang/python/egg.mk b/lang/python/egg.mk index 193606b7e70..2c114e0a072 100644 --- a/lang/python/egg.mk +++ b/lang/python/egg.mk @@ -1,8 +1,9 @@ -# $NetBSD: egg.mk,v 1.13 2011/12/16 12:57:17 gdt Exp $ +# $NetBSD: egg.mk,v 1.14 2012/07/25 19:07:49 drochner Exp $ # # Common logic to handle Python Eggs # .include "../../mk/bsd.fast.prefs.mk" +.include "../../lang/python/pyversion.mk" # This file should be included to package python "distributions" which # use setuptools to create an egg. Some distributions use distutils, @@ -35,7 +36,11 @@ _PYSETUPTOOLSINSTALLARGS= --single-version-externally-managed _PYSETUPTOOLSINSTALLARGS+= --root=/ .endif +.if ${_PYTHON_VERSION} == "31" || ${_PYTHON_VERSION} == "32" +DEPENDS+= ${PYPKGPREFIX}-distribute-[0-9]*:../../devel/py-distribute +.else DEPENDS+= ${PYPKGPREFIX}-setuptools>=0.6c9:../../devel/py-setuptools +.endif INSTALLATION_DIRS+= ${PYSITELIB} |