diff --git a/meta-python/recipes-devtools/python/python-djangorestframework.inc b/meta-python/recipes-devtools/python/python-djangorestframework.inc deleted file mode 100644 index 8551a8341..000000000 --- a/meta-python/recipes-devtools/python/python-djangorestframework.inc +++ /dev/null @@ -1,16 +0,0 @@ -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 diff --git a/meta-python/recipes-devtools/python/python3-djangorestframework_3.9.0.bb b/meta-python/recipes-devtools/python/python3-djangorestframework_3.9.0.bb index 9ed6d1726..438a5e19a 100644 --- a/meta-python/recipes-devtools/python/python3-djangorestframework_3.9.0.bb +++ b/meta-python/recipes-devtools/python/python3-djangorestframework_3.9.0.bb @@ -1,2 +1,16 @@ -require python-djangorestframework.inc -inherit setuptools3 \ No newline at end of file +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 setuptools3 + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-django \ +"