Skip to contentSkip to conversation

python3-django: upgrade 1.11.14 -> 2.2.7

PATCH New [email protected] 1 participant 2 messages Nov 29, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 python3-django: upgrade 1.11.14 -> 2.2.7

From: Changqing Li <[email protected]>

---
 meta-python/recipes-devtools/python/python-django.inc         | 3 ---
 meta-python/recipes-devtools/python/python-django_1.11.14.bb  | 3 +++
 meta-python/recipes-devtools/python/python3-django_1.11.14.bb | 2 --
 meta-python/recipes-devtools/python/python3-django_2.2.7.bb   | 9 +++++++++
 4 files changed, 12 insertions(+), 5 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python3-django_1.11.14.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-django_2.2.7.bb
meta-python/recipes-devtools/python/python-django.inc +0 -3
index ee3aee6..63d025d 100644
@@ -3,9 +3,6 @@ HOMEPAGE = "http://www.djangoproject.com/"
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=f09eb47206614a4954c51db8a94840fa"
 
-SRC_URI[md5sum] = "38e82b59a1c27bbf98ccf0564ead7426"
-SRC_URI[sha256sum] = "eb9271f0874f53106a2719c0c35ce67631f6cc27cf81a60c6f8c9817b35a3f6e"
-
 PYPI_PACKAGE = "Django"
 inherit pypi
 
meta-python/recipes-devtools/python/python-django_1.11.14.bb +3 -0
index d2347cc..efe23dc 100644
@@ -1,6 +1,9 @@
 require python-django.inc
 inherit setuptools
 
+SRC_URI[md5sum] = "38e82b59a1c27bbf98ccf0564ead7426"
+SRC_URI[sha256sum] = "eb9271f0874f53106a2719c0c35ce67631f6cc27cf81a60c6f8c9817b35a3f6e"
+
 RDEPENDS_${PN} += " \
     ${PYTHON_PN}-argparse \
     ${PYTHON_PN}-subprocess \
meta-python/recipes-devtools/python/python3-django_1.11.14.bb deleted +0 -2
deleted file mode 100644
index e1e38c3..0000000
@@ -1,2 +0,0 @@
-require python-django.inc
-inherit setuptools3
meta-python/recipes-devtools/python/python3-django_2.2.7.bb new file +9 -0
new file mode 100644
index 0000000..e56453a
@@ -0,0 +1,9 @@
+require python-django.inc
+inherit setuptools3
+
+SRC_URI[md5sum] = "b0833024aac4c8240467e4dc91a12e9b"
+SRC_URI[sha256sum] = "16040e1288c6c9f68c6da2fe75ebde83c0a158f6f5d54f4c5177b0c1478c5b86"
+
+RDEPENDS_${PN} += "\
+    ${PYTHON_PN}-sqlparse \
+"
Signature · 1 line
2.7.4
#1 lore raw

PATCH 2/2 python-sqlparse/python3-sqlparse: move from meta-cloud-services

From: Changqing Li <[email protected]>

move these recipes from meta-cloud-services, since python3-django RDEPENDS on this, and extend for native and nativesdk.

---
 meta-python/recipes-devtools/python/python-sqlparse.inc     | 13 +++++++++++++
 .../recipes-devtools/python/python-sqlparse_0.3.0.bb        |  2 ++
 .../recipes-devtools/python/python3-sqlparse_0.3.0.bb       |  3 +++
 3 files changed, 18 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-sqlparse.inc
 create mode 100644 meta-python/recipes-devtools/python/python-sqlparse_0.3.0.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-sqlparse_0.3.0.bb
meta-python/recipes-devtools/python/python-sqlparse.inc new file +13 -0
new file mode 100644
index 0000000..f71f815
@@ -0,0 +1,13 @@
+DESCRIPTION = "Non-validating SQL parser module"
+HOMEPAGE = "http://pypi.python.org/pypi/sqlparse"
+SECTION = "devel/python"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=2b136f573f5386001ea3b7b9016222fc"
+
+SRC_URI[md5sum] = "2ce34181d6b7b234c9f3c0ecd1ffb93e"
+SRC_URI[sha256sum] = "7c3dca29c022744e95b547e867cee89f4fce4373f3549ccd8797d8eb52cdb873"
+
+export BUILD_SYS
+export HOST_SYS
+
+inherit pypi
meta-python/recipes-devtools/python/python-sqlparse_0.3.0.bb new file +2 -0
new file mode 100644
index 0000000..2b7773f
@@ -0,0 +1,2 @@
+inherit setuptools
+require python-sqlparse.inc
meta-python/recipes-devtools/python/python3-sqlparse_0.3.0.bb new file +3 -0
new file mode 100644
index 0000000..a646ac6
@@ -0,0 +1,3 @@
+inherit setuptools3
+require python-sqlparse.inc
+BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.7.4