[OE-core] [PATCH] distutils.bbclass: Handle python-backport modules

Burton, Ross ross.burton at intel.com
Fri Sep 4 10:15:00 UTC 2015


On 3 September 2015 at 23:01, Alejandro Hernandez <
alejandro.hernandez at linux.intel.com> wrote:

> +
> +
> +       if [ -e
> ${STAGING_LIBDIR}/${PYTHON_DIR}/site-packages/backports/__init__.py ]; then
> +       rm ${D}${PYTHON_SITEPACKAGES_DIR}/backports/__init__.py;
> +       rm ${D}${PYTHON_SITEPACKAGES_DIR}/backports/__init__.pyc;
> +       #FILES_${PN}_remove =
> "${PYTHON_SITEPACKAGES_DIR}/backports/__init__.pyc";
> +       fi
>  }
>

Two blank lines with whitespace at the beginning, bad indentation in the
body, and surely the commented out FILES_ can be removed.

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20150904/ec94bcac/attachment-0002.html>


More information about the Openembedded-core mailing list