Print this page
Remove Python 2.6
*** 30,56 ****
PROG=pycurl
VER=7.43.0
SUMMARY="Python bindings for libcurl"
DESC="PycURL provides a thin layer of Python bindings on top of libcurl."
! # 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 PYTHONPKGVER=$PYTHONPKGVER"
! PKG=library/python-2/pycurl-26
! RUN_DEPENDS_IPS="runtime/python-26 library/security/openssl@1.0.2 web/curl"
! init
! download_source $PROG $PROG $VER
! patch_source
! prep_build
! python_build
! make_package
! clean_up
!
set_python_version 2.7
XFORM_ARGS="-D PYTHONPKGVER=$PYTHONPKGVER"
PKG=library/python-2/pycurl-27
RUN_DEPENDS_IPS="runtime/python-27 library/security/openssl@1.0.2 web/curl"
init
--- 30,42 ----
PROG=pycurl
VER=7.43.0
SUMMARY="Python bindings for libcurl"
DESC="PycURL provides a thin layer of Python bindings on top of libcurl."
! # 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.
set_python_version 2.7
XFORM_ARGS="-D PYTHONPKGVER=$PYTHONPKGVER"
PKG=library/python-2/pycurl-27
RUN_DEPENDS_IPS="runtime/python-27 library/security/openssl@1.0.2 web/curl"
init
*** 58,64 ****
patch_source
prep_build
python_build
make_package
clean_up
-
- set_python_version $OLDPV
--- 44,48 ----