mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-07 05:10:20 +00:00
python-webcolors: 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:
@@ -1,26 +0,0 @@
|
|||||||
SUMMARY = "Simple Python module for working with HTML/CSS color definitions."
|
|
||||||
LICENSE = "BSD-3-Clause"
|
|
||||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=197add016087e6884a012b0f185d44ad"
|
|
||||||
|
|
||||||
SRC_URI[md5sum] = "40890db38b2a856e526a568864025fe6"
|
|
||||||
SRC_URI[sha256sum] = "030562f624467a9901f0b455fef05486a88cfb5daa1e356bd4aacea043850b59"
|
|
||||||
|
|
||||||
RDEPENDS_${PN}_class-target = "\
|
|
||||||
${PYTHON_PN}-stringold \
|
|
||||||
"
|
|
||||||
|
|
||||||
BBCLASSEXTEND = "native nativesdk"
|
|
||||||
|
|
||||||
SRC_URI += " \
|
|
||||||
file://run-ptest \
|
|
||||||
"
|
|
||||||
inherit ptest
|
|
||||||
|
|
||||||
RDEPENDS_${PN}-ptest += " \
|
|
||||||
${PYTHON_PN}-pytest \
|
|
||||||
"
|
|
||||||
|
|
||||||
do_install_ptest() {
|
|
||||||
install -d ${D}${PTEST_PATH}/tests
|
|
||||||
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
|
|
||||||
}
|
|
||||||
@@ -1,2 +1,27 @@
|
|||||||
inherit pypi setuptools3
|
SUMMARY = "Simple Python module for working with HTML/CSS color definitions."
|
||||||
require python-webcolors.inc
|
LICENSE = "BSD-3-Clause"
|
||||||
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=197add016087e6884a012b0f185d44ad"
|
||||||
|
|
||||||
|
SRC_URI[md5sum] = "40890db38b2a856e526a568864025fe6"
|
||||||
|
SRC_URI[sha256sum] = "030562f624467a9901f0b455fef05486a88cfb5daa1e356bd4aacea043850b59"
|
||||||
|
|
||||||
|
inherit pypi setuptools3 ptest
|
||||||
|
|
||||||
|
RDEPENDS_${PN}_class-target = "\
|
||||||
|
${PYTHON_PN}-stringold \
|
||||||
|
"
|
||||||
|
|
||||||
|
SRC_URI += " \
|
||||||
|
file://run-ptest \
|
||||||
|
"
|
||||||
|
|
||||||
|
RDEPENDS_${PN}-ptest += " \
|
||||||
|
${PYTHON_PN}-pytest \
|
||||||
|
"
|
||||||
|
|
||||||
|
do_install_ptest() {
|
||||||
|
install -d ${D}${PTEST_PATH}/tests
|
||||||
|
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
|
||||||
|
}
|
||||||
|
|
||||||
|
BBCLASSEXTEND = "native nativesdk"
|
||||||
|
|||||||
Reference in New Issue
Block a user