From d483a70d22505863036635cbff13963e00cfe093 Mon Sep 17 00:00:00 2001 From: Jackie Huang Date: Fri, 9 Jun 2017 14:28:46 +0800 Subject: 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 Signed-off-by: Martin Jansa --- .../recipes-devtools/python/python-django.inc | 24 ++++++++++++++++++++++ .../python/python-django_1.10.5.bb | 24 ---------------------- .../python/python-django_1.11.2.bb | 2 ++ .../python/python3-django_1.11.2.bb | 2 ++ 4 files changed, 28 insertions(+), 24 deletions(-) create mode 100644 meta-python/recipes-devtools/python/python-django.inc delete mode 100644 meta-python/recipes-devtools/python/python-django_1.10.5.bb create mode 100644 meta-python/recipes-devtools/python/python-django_1.11.2.bb create mode 100644 meta-python/recipes-devtools/python/python3-django_1.11.2.bb 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 \ + " diff --git a/meta-python/recipes-devtools/python/python-django_1.10.5.bb b/meta-python/recipes-devtools/python/python-django_1.10.5.bb deleted file mode 100644 index 11242df7f6..0000000000 --- a/meta-python/recipes-devtools/python/python-django_1.10.5.bb +++ /dev/null @@ -1,24 +0,0 @@ -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] = "3fce02f1e6461fec21f1f15ea7489924" -SRC_URI[sha256sum] = "0db89374b691b9c8b057632a6cd64b18d08db2f4d63b4d4af6024267ab965f8b" - -PYPI_PACKAGE = "Django" -inherit pypi setuptools - -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 \ - " diff --git a/meta-python/recipes-devtools/python/python-django_1.11.2.bb b/meta-python/recipes-devtools/python/python-django_1.11.2.bb new file mode 100644 index 0000000000..ccd7714e9f --- /dev/null +++ b/meta-python/recipes-devtools/python/python-django_1.11.2.bb @@ -0,0 +1,2 @@ +require python-django.inc +inherit setuptools diff --git a/meta-python/recipes-devtools/python/python3-django_1.11.2.bb b/meta-python/recipes-devtools/python/python3-django_1.11.2.bb new file mode 100644 index 0000000000..e1e38c3225 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-django_1.11.2.bb @@ -0,0 +1,2 @@ +require python-django.inc +inherit setuptools3 -- cgit 1.2.3-korg