summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pendulum_3.2.0.bb
diff options
context:
space:
mode:
authorTim Orling <tim.orling@konsulko.com>2026-02-03 11:13:54 -0800
committerKhem Raj <raj.khem@gmail.com>2026-02-06 10:06:19 -0800
commitc6a7350f7c4e395cc43b172324379bd493a4a60f (patch)
treea0d8f6abd6722c9aa0252dff3b88c6b741a51375 /meta-python/recipes-devtools/python/python3-pendulum_3.2.0.bb
parent8dd259ff4dfa1da1203a7b7f55c49492dd45f267 (diff)
downloadmeta-openembedded-c6a7350f7c4e395cc43b172324379bd493a4a60f.tar.gz
python3-pendulum: add at v3.2.0
Python datetimes made easy. * Add patch to not strip .so * Enable ptests * Use git fetcher so we have tests/ Testsuite summary TOTAL: 1835 PASS: 1832 SKIP: 3 XFAIL: 0 FAIL: 0 XPASS: 0 ERROR: 0 DURATION: 102 Dependency for python3-orjson ptest. Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pendulum_3.2.0.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-pendulum_3.2.0.bb35
1 files changed, 35 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pendulum_3.2.0.bb b/meta-python/recipes-devtools/python/python3-pendulum_3.2.0.bb
new file mode 100644
index 0000000000..a2dc7e7d9e
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pendulum_3.2.0.bb
@@ -0,0 +1,35 @@
1SUMMARY = "Python datetimes made easy"
2DESCRIPTION = "Pendulum is a Python package to ease datetimes manipulation. \
3It provides classes that are drop-in replacements for the native ones (they \
4inherit from them). \
5Special care has been taken to ensure timezones are handled correctly, and \
6are based on the underlying tzinfo implementation. For example, all \
7comparisons are done in UTC or in the timezone of the datetime being used. \
8The default timezone, except when using the now(), method will always be UTC. \
9"
10HOMEPAGE = "https://pendulum.eustace.io"
11LICENSE = "MIT"
12LIC_FILES_CHKSUM = "file://LICENSE;md5=869e1c364438f234f09673c4039ed114"
13
14DEPENDS = "python3-maturin-native"
15
16SRCREV = "aea611d7a1c15ed0da56505c3f370fe4446ba733"
17PYPI_SRC_URI = "git://github.com/python-pendulum/pendulum;protocol=https;branch=master;tag=${PV};destsuffix=pendulum-${PV}"
18
19SRC_URI += "file://0001-rust-Cargo.toml-inhibit-strip.patch"
20
21require ${BPN}-crates.inc
22
23inherit pypi python_maturin cargo-update-recipe-crates ptest-python-pytest
24
25do_install_ptest:append() {
26 install -d ${D}${PTEST_PATH}/tests
27 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
28}
29
30RDEPENDS:${PN} += "python3-dateutil python3-tzdata"
31
32RDEPENDS:${PN}-ptest += "\
33 python3-dateutil-zoneinfo \
34 python3-time-machine \
35 "