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

Chen Qi Qi.Chen at windriver.com
Wed Jul 27 03:03:38 UTC 2016


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




More information about the Openembedded-devel mailing list