Skip to contentSkip to conversation

Add recipes for django rest framework

PATCH In review Joris Offouga 3 participants 3 messages Oct 26, 2018

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 Add recipes for django rest framework

For create a database with django

---
 .../python/python-djangorestframework.inc                | 16 ++++++++++++++++
 .../python/python-djangorestframework_3.9.0.bb           |  2 ++
 .../python/python3-djangorestframework_3.9.0.bb          |  2 ++
 3 files changed, 20 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-djangorestframework.inc
 create mode 100644 meta-python/recipes-devtools/python/python-djangorestframework_3.9.0.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-djangorestframework_3.9.0.bb
meta-python/recipes-devtools/python/python-djangorestframework.inc new file +16 -0
new file mode 100644
index 0000000..8551a83
@@ -0,0 +1,16 @@
+SUMMARY =  "djangorestframework"
+DESCRIPTION = "pip3 install djangorestframework"
+HOMEPAGE = "https://pypi.python.org/pypi/djangorestframework"
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.md;md5=7879a5a716147a784f7e524c9cf103c1"
+
+SRC_URI[md5sum] = "0d481bf8dbb87bb927b46798edc1a9bd"
+SRC_URI[sha256sum] = "607865b0bb1598b153793892101d881466bd5a991de12bd6229abb18b1c86136"
+PYPI_PACKAGE = "djangorestframework"
+
+inherit pypi
+
+RDEPENDS_${PN} += "\
+    ${PYTHON_PN}-django \
+"
\ No newline at end of file
meta-python/recipes-devtools/python/python-djangorestframework_3.9.0.bb new file +2 -0
new file mode 100644
index 0000000..540d12d
@@ -0,0 +1,2 @@
+require python-djangorestframework.inc
+inherit setuptools
\ No newline at end of file
meta-python/recipes-devtools/python/python3-djangorestframework_3.9.0.bb new file +2 -0
new file mode 100644
index 0000000..9ed6d17
@@ -0,0 +1,2 @@
+require python-djangorestframework.inc
+inherit setuptools3
\ No newline at end of file
Signature · 1 line
2.7.4
#1 lore raw

✗ patchtest: failure for Add recipes for django rest framework

== Series Details ==

Series: Add recipes for django rest framework
Revision: 1
URL : https://patchwork.openembedded.org/series/14684/
State : failure

== Summary ==

Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been executed on the proposed series by patchtest resulting in the following failures:

* Patch            [meta-python,V2] Add recipes for django rest framework
 Issue             Shortlog does not follow expected format [test_shortlog_format] 
  Suggested fix    Commit shortlog (first line of commit message) should follow the format "<target>: <summary>"

If you believe any of these test results are incorrect, please reply to the mailing list ([email protected]) raising your concerns. Otherwise we would appreciate you correcting the issues and submitting a new version of the patchset if applicable. Please ensure you add/increment the version number when sending the new version (i.e. [PATCH] -> [PATCH v2] -> [PATCH v3] -> ...).

---

Guidelines:     https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines
Test framework: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest
Test suite:     http://git.yoctoproject.org/cgit/cgit.cgi/patchtest-oe
#2 lore raw
In reply to Joris Offouga

Hi Joris,

I think this patch should be sent to [email protected] Title should be "[oe][meta-python][PATCH] Add recipes for django rest framework"

Best Regards,
Chen Qi

Quoted 53 lines · Joris Offouga

For create a database with django

---
  .../python/python-djangorestframework.inc                | 16 ++++++++++++++++
  .../python/python-djangorestframework_3.9.0.bb           |  2 ++
  .../python/python3-djangorestframework_3.9.0.bb          |  2 ++
  3 files changed, 20 insertions(+)

create mode 100644 meta-python/recipes-devtools/python/python-djangorestframework.inc create mode 100644 meta-python/recipes-devtools/python/python-djangorestframework_3.9.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-djangorestframework_3.9.0.bb

meta-python/recipes-devtools/python/python-djangorestframework.inc new file +16 -0
new file mode 100644
index 0000000..8551a83
@@ -0,0 +1,16 @@
+SUMMARY =  "djangorestframework"
+DESCRIPTION = "pip3 install djangorestframework"
+HOMEPAGE = "https://pypi.python.org/pypi/djangorestframework"
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.md;md5=7879a5a716147a784f7e524c9cf103c1"
+
+SRC_URI[md5sum] = "0d481bf8dbb87bb927b46798edc1a9bd"
+SRC_URI[sha256sum] = "607865b0bb1598b153793892101d881466bd5a991de12bd6229abb18b1c86136"
+PYPI_PACKAGE = "djangorestframework"
+
+inherit pypi
+
+RDEPENDS_${PN} += "\
+    ${PYTHON_PN}-django \
+"
\ No newline at end of file
meta-python/recipes-devtools/python/python-djangorestframework_3.9.0.bb new file +2 -0
new file mode 100644
index 0000000..540d12d
@@ -0,0 +1,2 @@
+require python-djangorestframework.inc
+inherit setuptools
\ No newline at end of file
meta-python/recipes-devtools/python/python3-djangorestframework_3.9.0.bb new file +2 -0
new file mode 100644
index 0000000..9ed6d17
@@ -0,0 +1,2 @@
+require python-djangorestframework.inc
+inherit setuptools3
\ No newline at end of file