Print this page
Remove Python 2.6

*** 31,50 **** VER=3.9.2 PKG=developer/versioning/mercurial SUMMARY="$PROG - a free and open source, distributed version control system" DESC="$SUMMARY" ! DEPENDS_IPS="runtime/python-26 \ web/curl \ library/security/openssl@1.0.2 library/zlib" # For inet_ntop which isn't detected properly in the configure script CONFIGURE_OPTS="" PYTHONPATH=/usr ! PYTHON=$PYTHONPATH/bin/python2.6 PYTHONLIB=$PYTHONPATH/lib python_build() { logmsg "Building using python setup.py" pushd $TMPDIR/$BUILDDIR > /dev/null --- 31,50 ---- VER=3.9.2 PKG=developer/versioning/mercurial SUMMARY="$PROG - a free and open source, distributed version control system" DESC="$SUMMARY" ! DEPENDS_IPS="runtime/python-27 \ web/curl \ library/security/openssl@1.0.2 library/zlib" # For inet_ntop which isn't detected properly in the configure script CONFIGURE_OPTS="" PYTHONPATH=/usr ! PYTHON=$PYTHONPATH/bin/python2.7 PYTHONLIB=$PYTHONPATH/lib python_build() { logmsg "Building using python setup.py" pushd $TMPDIR/$BUILDDIR > /dev/null
*** 67,77 **** logcmd $PYTHON \ ./setup.py install --root=$DESTDIR || logerr "--- install failed" popd > /dev/null ! mv $DESTDIR/usr/lib/python2.6/site-packages $DESTDIR/usr/lib/python2.6/vendor-packages || logerr "Cannot move from site-packages to vendor-packages" } init download_source $PROG $PROG $VER --- 67,77 ---- logcmd $PYTHON \ ./setup.py install --root=$DESTDIR || logerr "--- install failed" popd > /dev/null ! mv $DESTDIR/usr/lib/python2.7/site-packages $DESTDIR/usr/lib/python2.7/vendor-packages || logerr "Cannot move from site-packages to vendor-packages" } init download_source $PROG $PROG $VER