aboutsummaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-webcolors_1.8.1.bb
diff options
context:
space:
mode:
authorDerek Straka <derek@asterius.io>2020-04-03 19:03:11 -0400
committerKhem Raj <raj.khem@gmail.com>2020-04-03 16:43:10 -0700
commita091568da429a0eb914c27b7afe084e52f6482de (patch)
treeddf8e21e95b70fa8c0a82377bbd60c2388b1b259 /meta-python/recipes-devtools/python/python3-webcolors_1.8.1.bb
parente7bb56dc35314d8ee3938d9bfe1bd385c3a1ab07 (diff)
downloadmeta-openembedded-a091568da429a0eb914c27b7afe084e52f6482de.tar.gz
meta-openembedded-a091568da429a0eb914c27b7afe084e52f6482de.tar.bz2
meta-openembedded-a091568da429a0eb914c27b7afe084e52f6482de.zip
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>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-webcolors_1.8.1.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-webcolors_1.8.1.bb29
1 files changed, 27 insertions, 2 deletions
diff --git a/meta-python/recipes-devtools/python/python3-webcolors_1.8.1.bb b/meta-python/recipes-devtools/python/python3-webcolors_1.8.1.bb
index fcd9f7072..65eed9e78 100644
--- a/meta-python/recipes-devtools/python/python3-webcolors_1.8.1.bb
+++ b/meta-python/recipes-devtools/python/python3-webcolors_1.8.1.bb
@@ -1,2 +1,27 @@
-inherit pypi setuptools3
-require python-webcolors.inc
+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"
+
+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"