python3-django-south: add new recipe

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

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Jackie Huang
2017-06-09 14:28:45 +08:00
committed by Martin Jansa
parent 990b2ecf2c
commit c7252e7c58
3 changed files with 21 additions and 17 deletions

View File

@@ -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 \
"

View File

@@ -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

View File

@@ -0,0 +1,2 @@
require python-django-south.inc
inherit setuptools3