aboutsummaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python-django.inc
diff options
context:
space:
mode:
authorJackie Huang <jackie.huang@windriver.com>2017-06-09 14:28:46 +0800
committerMartin Jansa <Martin.Jansa@gmail.com>2017-06-14 14:51:15 +0200
commitd483a70d22505863036635cbff13963e00cfe093 (patch)
tree80750078f5e2b4b778158e48c9a2c109cb9d236b /meta-python/recipes-devtools/python/python-django.inc
parentc7252e7c58c371c0db6645ce0bd1c794f127eb60 (diff)
downloadmeta-openembedded-contrib-d483a70d22505863036635cbff13963e00cfe093.tar.gz
python3-django: add python3 recipe and update to 1.11.2
* move the mommon portions into .inc * update to version 1.11.2 * add new recipe for python3-django Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python-django.inc')
-rw-r--r--meta-python/recipes-devtools/python/python-django.inc24
1 files changed, 24 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python-django.inc b/meta-python/recipes-devtools/python/python-django.inc
new file mode 100644
index 0000000000..d83e7d25a3
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-django.inc
@@ -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] = "f089f1f86d25f2b78f6cf36478d4edd1"
+SRC_URI[sha256sum] = "3c5b070482df4f9e5750539dc1824d353729ee423fd410c579b8cd3dea5b0617"
+
+PYPI_PACKAGE = "Django"
+inherit pypi
+
+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 \
+ "