From 8d2dde4d44c9afc3ed9db0265acfddcb1e2b90d9 Mon Sep 17 00:00:00 2001 From: wcmaier Date: Wed, 9 Apr 2008 21:45:54 +0000 Subject: [PATCH] Add MODPY_EGG_VERSION to SUBST_VARS to make PLIST updates nicer. This'll prevent setuptools from creating egg-info filenames encoded with the package version (even when MODPY_SETUPTOOLS isn't enabled). ok mbalmer@, eric@, merdely@; input from many py porters --- lang/python/python.port.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lang/python/python.port.mk b/lang/python/python.port.mk index 294a9c32cc3..4fcc7a58b3d 100644 --- a/lang/python/python.port.mk +++ b/lang/python/python.port.mk @@ -1,4 +1,4 @@ -# $OpenBSD: python.port.mk,v 1.21 2008/01/20 15:28:29 ajacoutot Exp $ +# $OpenBSD: python.port.mk,v 1.22 2008/04/09 21:45:54 wcmaier Exp $ # # python.port.mk - Xavier Santolaria # This file is in the public domain. @@ -61,7 +61,7 @@ MAKE_ENV+= CC=${CC} _MODPY_CMD= @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \ ${MODPY_BIN} ./${MODPY_SETUP} -SUBST_VARS+= MODPY_VERSION +SUBST_VARS+= MODPY_VERSION MODPY_EGG_VERSION # dirty way to do it with no modifications in bsd.port.mk .if empty(CONFIGURE_STYLE)