Skip to contentSkip to conversation

python3-django: add python3 recipes and update

PATCH New [email protected] 1 participant 3 messages Jun 9, 2017

lore
Share & tools
lore
#0 lore raw

cover python3-django: add python3 recipes and update

From: Jackie Huang <[email protected]>

--
The following changes since commit 41cf832cc9abd6f2293a6d612463a34a53a9a52a:

Revert "rrdtool: add gettext-native dependency" (2017-06-05 11:13:09 +0200)

are available in the git repository at:

git://git.pokylinux.org/poky-contrib.git jhuang0/r_up_python-django_170609_0
http://git.pokylinux.org/cgit.cgi//log/?h=jhuang0/r_up_python-django_170609_0

Jackie Huang (2):
python3-django-south: add new recipe
python3-django: add python3 recipe and update to 1.11.2

 .../recipes-devtools/python/python-django-south.inc   | 17 +++++++++++++++++
 .../python/python-django-south_1.0.2.bb               | 19 ++-----------------
 .../{python-django_1.10.5.bb => python-django.inc}    |  6 +++---
 .../recipes-devtools/python/python-django_1.11.2.bb   |  2 ++
 .../python/python3-django-south_1.0.2.bb              |  2 ++
 .../recipes-devtools/python/python3-django_1.11.2.bb  |  2 ++
 6 files changed, 28 insertions(+), 20 deletions(-)
 create mode 100644 meta-python/recipes-devtools/python/python-django-south.inc
 rename meta-python/recipes-devtools/python/{python-django_1.10.5.bb => python-django.inc} (75%)
 create mode 100644 meta-python/recipes-devtools/python/python-django_1.11.2.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-django-south_1.0.2.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-django_1.11.2.bb
Signature · 1 line
2.11.0
#1 lore raw

PATCH 1/2 python3-django-south: add new recipe

From: Jackie Huang <[email protected]>

* move the common portions into .inc
* add new recipe for python3-django-south

---
 .../recipes-devtools/python/python-django-south.inc   | 17 +++++++++++++++++
 .../python/python-django-south_1.0.2.bb               | 19 ++-----------------
 .../python/python3-django-south_1.0.2.bb              |  2 ++
 3 files changed, 21 insertions(+), 17 deletions(-)
 create mode 100644 meta-python/recipes-devtools/python/python-django-south.inc
 create mode 100644 meta-python/recipes-devtools/python/python3-django-south_1.0.2.bb
meta-python/recipes-devtools/python/python-django-south.inc new file +17 -0
new file mode 100644
index 000000000..ce904b694
@@ -0,0 +1,17 @@
+SUMMARY = "Migrations for Django"
+DESCRIPTION = "South is an intelligent database migrations library for the Django web framework. It is database-independent and DVCS-friendly, as well as a whole host of other features."
+HOMEPAGE = "http://south.aeracode.org/"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=17;endline=18;md5=2155d8ae21e7c23101d5febac696b27e"
+
+SRC_URI[md5sum] = "c76a9758b2011bc3b6c39f881bba2f66"
+SRC_URI[sha256sum] = "d360bd31898f9df59f6faa786551065bba45b35e7ee3c39b381b4fbfef7392f4"
+
+PYPI_PACKAGE = "South"
+inherit pypi
+
+BBCLASSEXTEND = "nativesdk"
+
+RDEPENDS_${PN} += "\
+    ${PYTHON_PN}-django \
+    "
meta-python/recipes-devtools/python/python-django-south_1.0.2.bb +2 -17
index 3a2775807..357b766a3 100644
@@ -1,17 +1,2 @@
-SUMMARY = "Migrations for Django"
-DESCRIPTION = "South is an intelligent database migrations library for the Django web framework. It is database-independent and DVCS-friendly, as well as a whole host of other features."
-HOMEPAGE = "http://south.aeracode.org/"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=17;endline=18;md5=2155d8ae21e7c23101d5febac696b27e"
-
-SRC_URI[md5sum] = "c76a9758b2011bc3b6c39f881bba2f66"
-SRC_URI[sha256sum] = "d360bd31898f9df59f6faa786551065bba45b35e7ee3c39b381b4fbfef7392f4"
-
-PYPI_PACKAGE = "South"
-inherit pypi setuptools
-
-BBCLASSEXTEND = "nativesdk"
-
-RDEPENDS_${PN} += "\
-    ${PYTHON_PN}-django \
-    "
+require python-django-south.inc
+inherit setuptools
meta-python/recipes-devtools/python/python3-django-south_1.0.2.bb new file +2 -0
new file mode 100644
index 000000000..10519111f
@@ -0,0 +1,2 @@
+require python-django-south.inc
+inherit setuptools3
Signature · 1 line
2.11.0
#2 lore raw

PATCH 2/2 python3-django: add python3 recipe and update to 1.11.2

In reply to [email protected]

From: Jackie Huang <[email protected]>

* move the mommon portions into .inc
* update to version 1.11.2
* add new recipe for python3-django

---
 .../python/{python-django_1.10.5.bb => python-django.inc}           | 6 +++---
 meta-python/recipes-devtools/python/python-django_1.11.2.bb         | 2 ++
 meta-python/recipes-devtools/python/python3-django_1.11.2.bb        | 2 ++
 3 files changed, 7 insertions(+), 3 deletions(-)
 rename meta-python/recipes-devtools/python/{python-django_1.10.5.bb => python-django.inc} (75%)
 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
meta-python/recipes-devtools/python/python-django.inc renamed from meta-python/recipes-devtools/python/python-django_1.10.5.bb +3 -3
similarity index 75%
rename from meta-python/recipes-devtools/python/python-django_1.10.5.bb
rename to meta-python/recipes-devtools/python/python-django.inc
index 11242df7f..d83e7d25a 100644
@@ -3,11 +3,11 @@ HOMEPAGE = "http://www.djangoproject.com/"
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=f09eb47206614a4954c51db8a94840fa"
 
-SRC_URI[md5sum] = "3fce02f1e6461fec21f1f15ea7489924"
-SRC_URI[sha256sum] = "0db89374b691b9c8b057632a6cd64b18d08db2f4d63b4d4af6024267ab965f8b"
+SRC_URI[md5sum] = "f089f1f86d25f2b78f6cf36478d4edd1"
+SRC_URI[sha256sum] = "3c5b070482df4f9e5750539dc1824d353729ee423fd410c579b8cd3dea5b0617"
 
 PYPI_PACKAGE = "Django"
-inherit pypi setuptools
+inherit pypi
 
 FILES_${PN} += "${datadir}/django"
 
meta-python/recipes-devtools/python/python-django_1.11.2.bb new file +2 -0
new file mode 100644
index 000000000..ccd7714e9
@@ -0,0 +1,2 @@
+require python-django.inc
+inherit setuptools
meta-python/recipes-devtools/python/python3-django_1.11.2.bb new file +2 -0
new file mode 100644
index 000000000..e1e38c322
@@ -0,0 +1,2 @@
+require python-django.inc
+inherit setuptools3
Signature · 1 line
2.11.0