python-pycparser: 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-05 16:42:13 -04:00 committed by Khem Raj
parent fb8ddbfe25
commit f5c4819e53
2 changed files with 15 additions and 19 deletions

View File

@ -1,17 +0,0 @@
SUMMARY = "Parser of the C language, written in pure Python"
HOMEPAGE = "https://github.com/eliben/pycparser"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=86f1cedb4e6410a88ce8e30b91079169"
SRC_URI[md5sum] = "76396762adc3fa769c83d8e202d36b6f"
SRC_URI[sha256sum] = "a988718abfad80b6b157acce7bf130a30876d27603738ac39f140993246b25b3"
BBCLASSEXTEND = "native nativesdk"
RDEPENDS_${PN}_class-target += "\
${PYTHON_PN}-ply \
${PYTHON_PN}-pprint \
cpp \
cpp-symlinks \
"

View File

@ -1,6 +1,19 @@
SUMMARY = "Parser of the C language, written in pure Python"
HOMEPAGE = "https://github.com/eliben/pycparser"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=86f1cedb4e6410a88ce8e30b91079169"
SRC_URI[md5sum] = "76396762adc3fa769c83d8e202d36b6f"
SRC_URI[sha256sum] = "a988718abfad80b6b157acce7bf130a30876d27603738ac39f140993246b25b3"
inherit pypi setuptools3
require python-pycparser.inc
BBCLASSEXTEND = "native nativesdk"
RDEPENDS_${PN}_class-target += "\
${PYTHON_PN}-netclient \
"
${PYTHON_PN}-ply \
${PYTHON_PN}-pprint \
cpp \
cpp-symlinks \
"