PYTHON_WHEEL_VERSIONS="3.6:3.7:3.8" inherit python-wheel NAME="python-pip" VERSION=20.1.1 RELEASE=1 CATEGORY="Python" SUMMARY="Python package installation tool" DESCRIPTION="The PyPA recommended tool for installing Python packages." PATCH_URI="https://src.fedoraproject.org/rpms/python-pip/raw/master/f/dummy-certifi.patch" ARCH=noarch CYGPORT_USE_UNSTABLE_API=1 src_unpack_hook() { rm src/pip/_vendor/certifi/*.pem sed -i '/\.pem$/d' src/pip.egg-info/SOURCES.txt } # PKG_NAMES+=" ${NAME}-wheel" # python_pip_wheel_CONTENTS=" # usr/share/python-wheels/pip-*.whl # usr/share/doc/${NAME}-wheel/ # " python36_pip_CONTENTS+=" usr/bin/pip3.6" python36_pip_REQUIRES="ca-certificates python36-setuptools" python37_pip_CONTENTS+=" usr/bin/pip3.7" python37_pip_REQUIRES="ca-certificates python37-setuptools" python38_pip_CONTENTS+=" usr/bin/pip3.8" python38_pip_REQUIRES="ca-certificates python38-setuptools" REQUIRES_EXCLUDE_FROM="*/etree_lxml.py:*/_vendor/urllib3/contrib/*" src_install() { cd ${B} python_wheel_install }