meta-openembedded/meta-python/recipes-devtools/python/python3-jdcal_1.4.1.bb
Derek Straka 1d4abd43a3
python3-jdcal: re-add functional ptests
Verified tests pass with via the test image execution
(bitbake meta-python-image-ptest-python3-jdcal -c testimage)

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-21 20:00:22 -08:00

29 lines
923 B
BlitzBasic

SUMMARY = "This module contains functions for converting between Julian dates and calendar dates"
DESCRIPTION = "A function for converting Gregorian calendar dates to Julian dates, \
and another function for converting Julian calendar dates to Julian dates are defined. \
Two functions for the reverse calculations are also defined."
HOMEPAGE = "https://github.com/phn/jdcal"
LICENSE = "BSD-2-Clause"
LIC_FILES_CHKSUM = "file://PKG-INFO;md5=bd236e1f590973467a427bb354be0f46"
inherit pypi setuptools3 ptest
SRC_URI[md5sum] = "e05bdb60fa80f25bc60e73e0c6b7c5dc"
SRC_URI[sha256sum] = "472872e096eb8df219c23f2689fc336668bdb43d194094b5cc1707e1640acfc8"
RDEPENDS:${PN} += "python3-compression python3-io python3-pprint python3-shell"
SRC_URI += " \
file://run-ptest \
"
RDEPENDS:${PN}-ptest += " \
python3-pytest \
python3-unittest-automake-output \
"
do_install_ptest() {
cp -f ${S}/test_jdcal.py ${D}${PTEST_PATH}/
}