mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-10-15 18:27:12 +00:00
python3-pytz: add recipe (from oe-core)
This recipe is being removed from core as it is now deprecated and no longer needed with Python 3.9 onwards, which integrated the zoneinfo module. All users of pytz in meta-python should be reviewed as the dependencies may be obsolete. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
1 parent
9c32badf01
commit
4d617d1b20
2 files changed
+26
No files matched your search
@@ -89,6 +89,7 @@ PTESTS_FAST_META_PYTHON = "\
|
||||
python3-pytest-picked \
|
||||
python3-pytest-sugar \
|
||||
python3-pytoml \
|
||||
python3-pytz \
|
||||
python3-pyyaml-include \
|
||||
python3-pydbus \
|
||||
python3-pyzmq \
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
SUMMARY = "World timezone definitions, modern and historical"
|
||||
HOMEPAGE = "http://pythonhosted.org/pytz"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=1a67fc46c1b596cce5d21209bbe75999"
|
||||
|
||||
inherit pypi setuptools3 ptest-python-pytest
|
||||
|
||||
PTEST_PYTEST_DIR = "pytz/tests"
|
||||
|
||||
SRC_URI[sha256sum] = "464303645bafafd72418898368b2429458f709cf1eb6a15372fbcc396b64da63"
|
||||
|
||||
RDEPENDS:${PN}:class-target += "\
|
||||
python3-datetime \
|
||||
python3-doctest \
|
||||
python3-io \
|
||||
python3-pickle \
|
||||
python3-pprint \
|
||||
python3-threading \
|
||||
"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
do_install_ptest:append() {
|
||||
cp -f ${S}/README.rst ${D}${PTEST_PATH}/
|
||||
}
|
||||
Reference in new issue
Block a user