diff options
| author | Derek Straka <derek@asterius.io> | 2020-04-03 19:03:11 -0400 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2020-04-03 16:43:10 -0700 |
| commit | a091568da429a0eb914c27b7afe084e52f6482de (patch) | |
| tree | ddf8e21e95b70fa8c0a82377bbd60c2388b1b259 /meta-python | |
| parent | e7bb56dc35314d8ee3938d9bfe1bd385c3a1ab07 (diff) | |
| download | meta-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.inc | 26 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-webcolors_1.8.1.bb | 29 |
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 @@ | |||
| 1 | SUMMARY = "Simple Python module for working with HTML/CSS color definitions." | ||
| 2 | LICENSE = "BSD-3-Clause" | ||
| 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=197add016087e6884a012b0f185d44ad" | ||
| 4 | |||
| 5 | SRC_URI[md5sum] = "40890db38b2a856e526a568864025fe6" | ||
| 6 | SRC_URI[sha256sum] = "030562f624467a9901f0b455fef05486a88cfb5daa1e356bd4aacea043850b59" | ||
| 7 | |||
| 8 | RDEPENDS_${PN}_class-target = "\ | ||
| 9 | ${PYTHON_PN}-stringold \ | ||
| 10 | " | ||
| 11 | |||
| 12 | BBCLASSEXTEND = "native nativesdk" | ||
| 13 | |||
| 14 | SRC_URI += " \ | ||
| 15 | file://run-ptest \ | ||
| 16 | " | ||
| 17 | inherit ptest | ||
| 18 | |||
| 19 | RDEPENDS_${PN}-ptest += " \ | ||
| 20 | ${PYTHON_PN}-pytest \ | ||
| 21 | " | ||
| 22 | |||
| 23 | do_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 @@ | |||
| 1 | inherit pypi setuptools3 | 1 | SUMMARY = "Simple Python module for working with HTML/CSS color definitions." |
| 2 | require python-webcolors.inc | 2 | LICENSE = "BSD-3-Clause" |
| 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=197add016087e6884a012b0f185d44ad" | ||
| 4 | |||
| 5 | SRC_URI[md5sum] = "40890db38b2a856e526a568864025fe6" | ||
| 6 | SRC_URI[sha256sum] = "030562f624467a9901f0b455fef05486a88cfb5daa1e356bd4aacea043850b59" | ||
| 7 | |||
| 8 | inherit pypi setuptools3 ptest | ||
| 9 | |||
| 10 | RDEPENDS_${PN}_class-target = "\ | ||
| 11 | ${PYTHON_PN}-stringold \ | ||
| 12 | " | ||
| 13 | |||
| 14 | SRC_URI += " \ | ||
| 15 | file://run-ptest \ | ||
| 16 | " | ||
| 17 | |||
| 18 | RDEPENDS_${PN}-ptest += " \ | ||
| 19 | ${PYTHON_PN}-pytest \ | ||
| 20 | " | ||
| 21 | |||
| 22 | do_install_ptest() { | ||
| 23 | install -d ${D}${PTEST_PATH}/tests | ||
| 24 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
| 25 | } | ||
| 26 | |||
| 27 | BBCLASSEXTEND = "native nativesdk" | ||
