diff options
| author | Derek Straka <derek@asterius.io> | 2020-04-03 17:21:16 -0400 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2020-04-03 14:45:54 -0700 |
| commit | d226fa318d2fe792b9198899bdd98b1dd4e12e6b (patch) | |
| tree | 6610978108d115d920403f1c45c5f05f32e34030 /meta-python/recipes-devtools/python | |
| parent | 586337819d38325a409d212c9bdb5819bd4ab775 (diff) | |
| download | meta-openembedded-d226fa318d2fe792b9198899bdd98b1dd4e12e6b.tar.gz | |
python-xxhash: 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')
| -rw-r--r-- | meta-python/recipes-devtools/python/python-xxhash.inc | 22 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-xxhash_1.4.3.bb | 24 |
2 files changed, 22 insertions, 24 deletions
diff --git a/meta-python/recipes-devtools/python/python-xxhash.inc b/meta-python/recipes-devtools/python/python-xxhash.inc deleted file mode 100644 index c02c29eb78..0000000000 --- a/meta-python/recipes-devtools/python/python-xxhash.inc +++ /dev/null | |||
| @@ -1,22 +0,0 @@ | |||
| 1 | SUMMARY = "xxhash is a Python binding for the xxHash library by Yann Collet." | ||
| 2 | SECTION = "devel/python" | ||
| 3 | LICENSE = "BSD-2-Clause" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=5a8d76283514a1b7e6a414aba38629b5" | ||
| 5 | |||
| 6 | SRC_URI[md5sum] = "ce9cbbcc89620fd47a2468badd08dcf0" | ||
| 7 | SRC_URI[sha256sum] = "8b6b1afe7731d7d9cbb0398b4a811ebb5e6be5c174f72c68abf81f919a435de9" | ||
| 8 | |||
| 9 | SRC_URI += " \ | ||
| 10 | file://run-ptest \ | ||
| 11 | " | ||
| 12 | |||
| 13 | inherit ptest | ||
| 14 | |||
| 15 | RDEPENDS_${PN}-ptest += " \ | ||
| 16 | ${PYTHON_PN}-pytest \ | ||
| 17 | " | ||
| 18 | |||
| 19 | do_install_ptest() { | ||
| 20 | install -d ${D}${PTEST_PATH}/tests | ||
| 21 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
| 22 | } | ||
diff --git a/meta-python/recipes-devtools/python/python3-xxhash_1.4.3.bb b/meta-python/recipes-devtools/python/python3-xxhash_1.4.3.bb index 76bc41a11c..c114a6c8bc 100644 --- a/meta-python/recipes-devtools/python/python3-xxhash_1.4.3.bb +++ b/meta-python/recipes-devtools/python/python3-xxhash_1.4.3.bb | |||
| @@ -1,2 +1,22 @@ | |||
| 1 | require python-xxhash.inc | 1 | SUMMARY = "xxhash is a Python binding for the xxHash library by Yann Collet." |
| 2 | inherit pypi setuptools3 | 2 | SECTION = "devel/python" |
| 3 | LICENSE = "BSD-2-Clause" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=5a8d76283514a1b7e6a414aba38629b5" | ||
| 5 | |||
| 6 | SRC_URI[md5sum] = "ce9cbbcc89620fd47a2468badd08dcf0" | ||
| 7 | SRC_URI[sha256sum] = "8b6b1afe7731d7d9cbb0398b4a811ebb5e6be5c174f72c68abf81f919a435de9" | ||
| 8 | |||
| 9 | SRC_URI += " \ | ||
| 10 | file://run-ptest \ | ||
| 11 | " | ||
| 12 | |||
| 13 | inherit pypi setuptools3 ptest | ||
| 14 | |||
| 15 | RDEPENDS_${PN}-ptest += " \ | ||
| 16 | ${PYTHON_PN}-pytest \ | ||
| 17 | " | ||
| 18 | |||
| 19 | do_install_ptest() { | ||
| 20 | install -d ${D}${PTEST_PATH}/tests | ||
| 21 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
| 22 | } | ||
