diff --git a/meta-python/recipes-devtools/python/python3-flask-versioned_0.9.4-20101221.bb b/meta-python/recipes-devtools/python/python3-flask-versioned_0.9.4-20101221.bb index 7aaf439b8..04493b21d 100644 --- a/meta-python/recipes-devtools/python/python3-flask-versioned_0.9.4-20101221.bb +++ b/meta-python/recipes-devtools/python/python3-flask-versioned_0.9.4-20101221.bb @@ -7,3 +7,10 @@ PYPI_PACKAGE = "Flask-Versioned" SRC_URI[sha256sum] = "516694dc860a1bc4f22ab60b324a85083c0150522be109282a3bed681057fd34" inherit pypi setuptools3 + +def get_pypa_wheel_name(d): + return (d.getVar('PIP_INSTALL_DIST_PATH') + '/' + \ + d.getVar('PIP_INSTALL_PACKAGE') + '-' + \ + d.getVar('PV').replace('-', '.post') + '-*.whl') + +PYPA_WHEEL = "${@get_pypa_wheel_name(d)}"