summaryrefslogtreecommitdiff
path: root/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-propcache_0.5.4.bb
diff options
context:
space:
mode:
Diffstat (limited to 'upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-propcache_0.5.4.bb')
-rw-r--r--upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-propcache_0.5.4.bb29
1 files changed, 29 insertions, 0 deletions
diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-propcache_0.5.4.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-propcache_0.5.4.bb
new file mode 100644
index 0000000000..77261cd1c1
--- /dev/null
+++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-propcache_0.5.4.bb
@@ -0,0 +1,29 @@
+SUMMARY = "Fast property caching"
+HOMEPAGE = "https://github.com/aio-libs/propcache"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
+
+SRC_URI[sha256sum] = "ff6b113f50bc066a698db5d944d2c6dc7507168dd3341e255a8892fd0715a558"
+
+inherit pypi python_setuptools_build_meta ptest-python-pytest cython
+
+# Build the C extensions in the source tree instead of a temporary copy
+PEP517_BUILD_OPTS += "-C build-inplace=true"
+
+DEPENDS += " \
+ python3-expandvars-native \
+"
+
+RDEPENDS:${PN}-ptest += " \
+ python3-pytest-codspeed \
+ python3-pytest-xdist \
+ python3-rich \
+ python3-statistics \
+"
+
+do_install_ptest:append() {
+ # tests the in-tree build backend, which is not installed
+ rm -f ${D}${PTEST_PATH}/tests/test_pep517_backend.py
+}
+
+BBCLASSEXTEND += "native nativesdk"