diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-jdcal_1.4.1.bb')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-jdcal_1.4.1.bb | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/meta-python/recipes-devtools/python/python3-jdcal_1.4.1.bb b/meta-python/recipes-devtools/python/python3-jdcal_1.4.1.bb index afabe14a8a..d947a73cf0 100644 --- a/meta-python/recipes-devtools/python/python3-jdcal_1.4.1.bb +++ b/meta-python/recipes-devtools/python/python3-jdcal_1.4.1.bb | |||
@@ -7,22 +7,12 @@ HOMEPAGE = "https://github.com/phn/jdcal" | |||
7 | LICENSE = "BSD-2-Clause" | 7 | LICENSE = "BSD-2-Clause" |
8 | LIC_FILES_CHKSUM = "file://PKG-INFO;md5=bd236e1f590973467a427bb354be0f46" | 8 | LIC_FILES_CHKSUM = "file://PKG-INFO;md5=bd236e1f590973467a427bb354be0f46" |
9 | 9 | ||
10 | inherit pypi setuptools3 ptest | 10 | inherit pypi setuptools3 ptest-python-pytest |
11 | 11 | ||
12 | SRC_URI[md5sum] = "e05bdb60fa80f25bc60e73e0c6b7c5dc" | ||
13 | SRC_URI[sha256sum] = "472872e096eb8df219c23f2689fc336668bdb43d194094b5cc1707e1640acfc8" | 12 | SRC_URI[sha256sum] = "472872e096eb8df219c23f2689fc336668bdb43d194094b5cc1707e1640acfc8" |
14 | 13 | ||
15 | RDEPENDS:${PN} += "python3-compression python3-io python3-pprint python3-shell" | 14 | RDEPENDS:${PN} += "python3-compression python3-io python3-pprint python3-shell" |
16 | 15 | ||
17 | SRC_URI += " \ | 16 | do_install_ptest:append () { |
18 | file://run-ptest \ | ||
19 | " | ||
20 | |||
21 | RDEPENDS:${PN}-ptest += " \ | ||
22 | python3-pytest \ | ||
23 | python3-unittest-automake-output \ | ||
24 | " | ||
25 | |||
26 | do_install_ptest() { | ||
27 | cp -f ${S}/test_jdcal.py ${D}${PTEST_PATH}/ | 17 | cp -f ${S}/test_jdcal.py ${D}${PTEST_PATH}/ |
28 | } | 18 | } |