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 <[email protected]> wrote:

> Signed-off-by: Chen Qi <[email protected]>
> ---
>  .../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
> [email protected]
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to