Fix to report a correct version number that we use. (2.5b1 -> 2.5.b1)

This commit is contained in:
Hye-Shik Chang 2006-06-23 03:35:14 +00:00
parent 450fd714b8
commit 635ffb248f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=166071

View file

@ -288,7 +288,7 @@ PYTHONBASE!= (${PYTHON_CMD} -c 'import sys; print sys.prefix' \
2> /dev/null || ${ECHO_CMD} ${LOCALBASE}) | ${TAIL} -1
DEPENDS_ARGS+= PYTHON_VERSION=${PYTHON_VERSION}
_PYTHON_PORTVERSION!= (${PYTHON_CMD} -c 'import string, sys; \
print string.split(sys.version)[0]' 2> /dev/null || ${ECHO_CMD} ${_PYTHON_PORTBRANCH}) | ${TAIL} -1
print string.split(sys.version)[0].replace("b",".b")' 2> /dev/null) | ${TAIL} -1
.if !defined(PYTHON_NO_DEPENDS) && !empty(_PYTHON_PORTVERSION)
PYTHON_PORTVERSION= ${_PYTHON_PORTVERSION}
.endif