summaryrefslogtreecommitdiff
path: root/lang/python/egg.mk
blob: 548b5e47a176aeb8e9fb1d4f93833de7adde3216 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# $NetBSD: egg.mk,v 1.1 2007/08/09 13:24:12 joerg Exp $
#
# Common logic to handle Python Eggs
#
.include "../../mk/bsd.prefs.mk"

PYDISTUTILSPKG=	yes
PY_PATCHPLIST=	yes
# Only Python 2.4 support by devel/py-setuptools right now
PYTHON_VERSIONS_ACCEPTED?=	24

PLIST_SUBST+=	EGG_NAME=${EGGNAME}-py${PYVERSSUFFIX}
PLIST_SUBST+=	EGG_INFODIR=${EGGNAME}-py${PYVERSSUFFIX}.egg-info

_PYSETUPTOOLSINSTALLARGS=	--single-version-externally-managed

DEPENDS+=	${PYPKGPREFIX}-setuptools>=0.6c6:../../devel/py-setuptools

INSTALLATION_DIRS+=	${PYSITELIB}

.include "../../lang/python/extension.mk"