summaryrefslogtreecommitdiffstats
path: root/meta-python
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
parente7bb56dc35314d8ee3938d9bfe1bd385c3a1ab07 (diff)
downloadmeta-openembedded-a091568da429a0eb914c27b7afe084e52f6482de.tar.gz
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')
-rw-r--r--meta-python/recipes-devtools/python/python-webcolors.inc26
-rw-r--r--meta-python/recipes-devtools/python/python3-webcolors_1.8.1.bb29
2 files changed, 27 insertions, 28 deletions
diff --git a/meta-python/recipes-devtools/python/python-webcolors.inc b/meta-python/recipes-devtools/python/python-webcolors.inc
deleted file mode 100644
index ad012c9795..0000000000
--- a/meta-python/recipes-devtools/python/python-webcolors.inc
+++ /dev/null
@@ -1,26 +0,0 @@
1SUMMARY = "Simple Python module for working with HTML/CSS color definitions."
2LICENSE = "BSD-3-Clause"
3LIC_FILES_CHKSUM = "file://LICENSE;md5=197add016087e6884a012b0f185d44ad"
4
5SRC_URI[md5sum] = "40890db38b2a856e526a568864025fe6"
6SRC_URI[sha256sum] = "030562f624467a9901f0b455fef05486a88cfb5daa1e356bd4aacea043850b59"
7
8RDEPENDS_${PN}_class-target = "\
9 ${PYTHON_PN}-stringold \
10"
11
12BBCLASSEXTEND = "native nativesdk"
13
14SRC_URI += " \
15 file://run-ptest \
16"
17inherit ptest
18
19RDEPENDS_${PN}-ptest += " \
20 ${PYTHON_PN}-pytest \
21"
22
23do_install_ptest() {
24 install -d ${D}${PTEST_PATH}/tests
25 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
26}
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 fcd9f70726..65eed9e785 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 @@
1inherit pypi setuptools3 1SUMMARY = "Simple Python module for working with HTML/CSS color definitions."
2require python-webcolors.inc 2LICENSE = "BSD-3-Clause"
3LIC_FILES_CHKSUM = "file://LICENSE;md5=197add016087e6884a012b0f185d44ad"
4
5SRC_URI[md5sum] = "40890db38b2a856e526a568864025fe6"
6SRC_URI[sha256sum] = "030562f624467a9901f0b455fef05486a88cfb5daa1e356bd4aacea043850b59"
7
8inherit pypi setuptools3 ptest
9
10RDEPENDS_${PN}_class-target = "\
11 ${PYTHON_PN}-stringold \
12"
13
14SRC_URI += " \
15 file://run-ptest \
16"
17
18RDEPENDS_${PN}-ptest += " \
19 ${PYTHON_PN}-pytest \
20"
21
22do_install_ptest() {
23 install -d ${D}${PTEST_PATH}/tests
24 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
25}
26
27BBCLASSEXTEND = "native nativesdk"