xref: /OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/python/python3-bcrypt_3.2.0.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1DESCRIPTION = "Modern password hashing for your software and your servers."
2LICENSE = "Apache-2.0"
3LIC_FILES_CHKSUM = "file://LICENSE;md5=8f7bb094c7232b058c7e9f2e431f389c"
4HOMEPAGE = "https://pypi.org/project/bcrypt/"
5
6DEPENDS += "${PYTHON_PN}-cffi-native"
7
8SRC_URI[md5sum] = "fe31390dab603728f756cd3d6830c80a"
9SRC_URI[sha256sum] = "5b93c1726e50a93a033c36e5ca7fdcd29a5c7395af50a6892f5d9e7c6cfbfb29"
10
11inherit pypi python_setuptools_build_meta ptest
12
13SRC_URI += " \
14	file://run-ptest \
15"
16
17RDEPENDS:${PN}-ptest += " \
18	${PYTHON_PN}-pytest \
19"
20
21do_install_ptest() {
22	install -d ${D}${PTEST_PATH}/tests
23	cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
24}
25
26RDEPENDS:${PN}:class-target += "\
27    ${PYTHON_PN}-cffi \
28    ${PYTHON_PN}-ctypes \
29    ${PYTHON_PN}-shell \
30    ${PYTHON_PN}-six \
31"
32