Print this page
Remove Python 2.6

*** 35,64 **** make_license() { head -25 $TMPDIR/$BUILDDIR/build/lib/pybonjour.py > \ $TMPDIR/$BUILDDIR/LICENSE } ! # Pardon the copy/paste, but we have to do this twice (2.6 & 2.7) for now. ! # And the only way buildctl detects packages is by grepping for PKG assignment. ! ! OLDPV=$PYTHONVER ! ! set_python_version 2.6 XFORM_ARGS="-D PYTHONVER=$PYTHONVER" - PKG=library/python-2/pybonjour-26 - RUN_DEPENDS_IPS="runtime/python-26" - init - download_source $PROG $PROG $VER - patch_source - prep_build - python_build - make_license - make_package - clean_up - - set_python_version 2.7 - XFORM_ARGS="-D PYTHONVER=$PYTHONVER" PKG=library/python-2/pybonjour-27 RUN_DEPENDS_IPS="runtime/python-27" init download_source $PROG $PROG $VER patch_source --- 35,48 ---- make_license() { head -25 $TMPDIR/$BUILDDIR/build/lib/pybonjour.py > \ $TMPDIR/$BUILDDIR/LICENSE } ! # 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/pybonjour-27 RUN_DEPENDS_IPS="runtime/python-27" init download_source $PROG $PROG $VER patch_source
*** 65,71 **** prep_build python_build make_license make_package clean_up - - set_python_version $OLDPY --- 49,53 ----