Print this page
Remove Python 2.6
*** 31,46 ****
VER=3.2.3-2
VERHUMAN=$VER
SUMMARY="Backport of the functools module from Python 3.2.3 for use on 2.7"
DESC="$SUMMARY"
! # Pardon the copy/paste, but we have to do this for 2.7 for now.
! # And the only way buildctl detects packages is by grepping for PKG assignment.
!
! OLDPV=$PYTHONVER
!
! set_python_version 2.7
XFORM_ARGS="-D PYTHONVER=$PYTHONVER"
PKG=library/python-2/functools32-27
RUN_DEPENDS_IPS="runtime/python-27"
init
download_source $PROG $PROG $VER
--- 31,43 ----
VER=3.2.3-2
VERHUMAN=$VER
SUMMARY="Backport of the functools module from Python 3.2.3 for use on 2.7"
DESC="$SUMMARY"
! # In the future when we upgrade python again, be sure to wrap the following
! # around with set_python_version and reassign PKG and RUN_DEPENDS_IPS.
! # The only way buildctl detects packages is by grepping for PKG assignment.
XFORM_ARGS="-D PYTHONVER=$PYTHONVER"
PKG=library/python-2/functools32-27
RUN_DEPENDS_IPS="runtime/python-27"
init
download_source $PROG $PROG $VER
*** 49,55 ****
#NOTE: Uncomment these IFF we have a version w/o -X on it...
VER=${VER//-/.}
python_build
make_package
clean_up
-
- set_python_version $OLDPV
--- 46,50 ----