| @@ -1,23 +1,23 @@ | | | @@ -1,23 +1,23 @@ |
1 | # $NetBSD: egg.mk,v 1.3 2007/08/10 13:49:08 joerg Exp $ | | 1 | # $NetBSD: egg.mk,v 1.4 2008/04/26 15:37:21 joerg Exp $ |
2 | # | | 2 | # |
3 | # Common logic to handle Python Eggs | | 3 | # Common logic to handle Python Eggs |
4 | # | | 4 | # |
5 | .include "../../mk/bsd.prefs.mk" | | 5 | .include "../../mk/bsd.prefs.mk" |
6 | | | 6 | |
7 | PYDISTUTILSPKG= yes | | 7 | PYDISTUTILSPKG= yes |
8 | PY_PATCHPLIST= yes | | 8 | PY_PATCHPLIST= yes |
9 | # Only Python 2.4 support by devel/py-setuptools right now | | 9 | # Only Python 2.4 support by devel/py-setuptools right now |
10 | PYTHON_VERSIONS_ACCEPTED?= 24 | | 10 | PYTHON_VERSIONS_ACCEPTED?= 25 24 |
11 | | | 11 | |
12 | PLIST_SUBST+= EGG_NAME=${EGG_NAME}-py${PYVERSSUFFIX} | | 12 | PLIST_SUBST+= EGG_NAME=${EGG_NAME}-py${PYVERSSUFFIX} |
13 | PLIST_SUBST+= EGG_INFODIR=${EGG_NAME}-py${PYVERSSUFFIX}.egg-info | | 13 | PLIST_SUBST+= EGG_INFODIR=${EGG_NAME}-py${PYVERSSUFFIX}.egg-info |
14 | | | 14 | |
15 | _PYSETUPTOOLSINSTALLARGS= --single-version-externally-managed | | 15 | _PYSETUPTOOLSINSTALLARGS= --single-version-externally-managed |
16 | .if ${_USE_DESTDIR} == "no" | | 16 | .if ${_USE_DESTDIR} == "no" |
17 | _PYSETUPTOOLSINSTALLARGS+= --root=/ | | 17 | _PYSETUPTOOLSINSTALLARGS+= --root=/ |
18 | .endif | | 18 | .endif |
19 | | | 19 | |
20 | DEPENDS+= ${PYPKGPREFIX}-setuptools>=0.6c6:../../devel/py-setuptools | | 20 | DEPENDS+= ${PYPKGPREFIX}-setuptools>=0.6c6:../../devel/py-setuptools |
21 | | | 21 | |
22 | INSTALLATION_DIRS+= ${PYSITELIB} | | 22 | INSTALLATION_DIRS+= ${PYSITELIB} |
23 | | | 23 | |