[oe] [meta-python][PATCH 3/3] python3-django: add recipe

Derek Straka derek at asterius.io
Wed Jul 27 06:00:09 UTC 2016


Can the common portions be pulled out into a .inc file that can be included
in the python and python3 recipes or was there a specific reason not to do
that?

-Derek

On Tue, Jul 26, 2016 at 11:03 PM, Chen Qi <Qi.Chen at windriver.com> wrote:

> Signed-off-by: Chen Qi <Qi.Chen at windriver.com>
> ---
>  .../python/python3-django_1.9.7.bb                 | 24
> ++++++++++++++++++++++
>  1 file changed, 24 insertions(+)
>  create mode 100644 meta-python/recipes-devtools/python/
> python3-django_1.9.7.bb
>
> diff --git a/meta-python/recipes-devtools/python/python3-django_1.9.7.bb
> b/meta-python/recipes-devtools/python/python3-django_1.9.7.bb
> new file mode 100644
> index 0000000..7c0db64
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python3-django_1.9.7.bb
> @@ -0,0 +1,24 @@
> +SUMMARY = "A high-level Python Web framework"
> +HOMEPAGE = "http://www.djangoproject.com/"
> +LICENSE = "BSD-3-Clause"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=f09eb47206614a4954c51db8a94840fa"
> +
> +SRC_URI[md5sum] = "7de9ba83bfe01f4b7d45645c1b259c83"
> +SRC_URI[sha256sum] =
> "2b29e81c8c32b3c0d9a0119217416887c480d927ae2630bada2da83078c93bf6"
> +
> +PYPI_PACKAGE = "Django"
> +inherit pypi setuptools3
> +
> +FILES_${PN} += "${datadir}/django"
> +
> +BBCLASSEXTEND = "nativesdk"
> +
> +RDEPENDS_${PN} += "\
> +    ${PYTHON_PN}-datetime \
> +    ${PYTHON_PN}-importlib \
> +    ${PYTHON_PN}-numbers \
> +    ${PYTHON_PN}-pip \
> +    ${PYTHON_PN}-pkgutil \
> +    ${PYTHON_PN}-subprocess \
> +    ${PYTHON_PN}-threading \
> +    "
> --
> 2.8.3
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>



More information about the Openembedded-devel mailing list