请问有没有关于python3-APScheduler_3.10.4.bb的信息。我在网上查遍了也没有这方面的信息。我尝试自己写,但是在Yocto上根本不可行。
Bitbake 食谱:
SUMMARY = "In-process task scheduler with Cron-like capabilities"
HOMEPAGE = "https://github.com/agronholm/apscheduler"
AUTHOR = "Alex Grönholm <[email protected]>"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=f0e423eea5c91e7aa21bdb70184b3e53"
SRC_URI = "https://files.pythonhosted.org/packages/5e/34/5dcb368cf89f93132d9a31bd3747962a9dc874480e54333b0c09fa7d56ac/APScheduler-3.10.4.tar.gz"
SRC_URI[md5sum] = "cf4dd44a52f05e4a06dc104de52e41f5"
SRC_URI[sha256sum] = "e6df071b27d9be898e486bc7940a7be50b4af2e9da7c08f0744a96d4bd4cef4a"
RDEPENDS_${PN} = "python3-six python3-pytz python3-tzlocal"
inherit setuptools3
图像中的图像安装线:
IMAGE_INSTALL += "python3_apscheduler"
对于 PYPI 上存在的 Python 包,有一个更简单的解决方案,您可以在 mender 中查看由“mirzak”撰写的这篇很棒的文章。
在他的例子中,它的结尾是这样的:
SUMMARY = "This is a python module for monitoring memory consumption of a \
process as well as line-by-line analysis of memory consumption for python programs"
HOMEPAGE = "https://github.com/conda-forge/memory_profiler-feedstock"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://COPYING;md5=cde4ca348bb7feea790673481be0d980"
SRC_URI[md5sum] = "5fe93d5035288095c4f86ef69ee19f37"
SRC_URI[sha256sum] = "4e5b73d7864a1d1292fb76a03e82a3e78ef934d06828a698d9dada76da2067b0"
PYPI_PACKAGE = "memory_profiler"
inherit pypi setuptools3
RDEPENDS_${PN} += " \
python3-psutil \
"