python-pyyaml: consolidate inc and bb files into a single bb file

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Derek Straka 2020-04-04 14:20:57 -04:00 committed by Khem Raj
parent df56d64c28
commit 055eb12996
2 changed files with 18 additions and 20 deletions

View File

@ -1,18 +0,0 @@
SUMMARY = "Python support for YAML"
HOMEPAGE = "http://www.pyyaml.org"
SECTION = "devel/python"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=a76b4c69bfcf82313bbdc0393b04438a"
DEPENDS = "libyaml ${PYTHON_PN}-cython-native ${PYTHON_PN}"
PYPI_PACKAGE = "PyYAML"
inherit pypi
SRC_URI[md5sum] = "adbb0d336b509d6472d3b095a0f1cf30"
SRC_URI[sha256sum] = "e9f45bd5b92c7974e59bcd2dcc8631a6b6cc380a904725fce7bc08872e691615"
RDEPENDS_${PN} += "\
${PYTHON_PN}-datetime \
"
BBCLASSEXTEND = "native nativesdk"

View File

@ -1,2 +1,18 @@
inherit setuptools3
require python-pyyaml.inc
SUMMARY = "Python support for YAML"
HOMEPAGE = "http://www.pyyaml.org"
SECTION = "devel/python"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=a76b4c69bfcf82313bbdc0393b04438a"
DEPENDS = "libyaml ${PYTHON_PN}-cython-native ${PYTHON_PN}"
PYPI_PACKAGE = "PyYAML"
inherit pypi setuptools3
SRC_URI[md5sum] = "adbb0d336b509d6472d3b095a0f1cf30"
SRC_URI[sha256sum] = "e9f45bd5b92c7974e59bcd2dcc8631a6b6cc380a904725fce7bc08872e691615"
RDEPENDS_${PN} += "\
${PYTHON_PN}-datetime \
"
BBCLASSEXTEND = "native nativesdk"