blob: 569e753978be3b177802590c9d17c1e1d4704602 [file] [log] [blame]
Brad Bishop86605732015-11-18 10:56:38 -05001FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
2SRC_URI += "file://__init__.email_min.py"
3
Patrick Williams637e3b82016-08-16 12:14:28 -05004do_install_append_class-target() {
Brad Bishop86605732015-11-18 10:56:38 -05005 dir=${libdir}/python${PYTHON_MAJMIN}/email
6 mv ${D}/$dir/__init__.py \
7 ${D}/$dir/email_full.py
8 install -m644 ${WORKDIR}/__init__.email_min.py \
9 ${D}/$dir/__init__.py
10}
11
12require wsgiref-${PYTHON_MAJMIN}-manifest.inc
13
14PROVIDES_prepend = "${PN}-spwd ${PN}-email-utils "
15PACKAGES_prepend = "${PN}-spwd ${PN}-email-utils "
16
17SUMMARY_${PN}-spwd = "Shadow database support"
18RDEPENDS_${PN}-spwd = "${PN}-core"
19FILES_${PN}-spwd= " \
20 ${libdir}/python${PYTHON_MAJMIN}/lib-dynload/spwd.so \
21 ${libdir}/python${PYTHON_MAJMIN}/lib-dynload/grp.so \
22 "
23
24SUMMARY_${PN}-email-utils = "Utils from the email package"
25RDEPENDS_${PN}-email-utils = "${PN}-core"
26FILES_${PN}-email-utils = " \
27 ${libdir}/python${PYTHON_MAJMIN}/email/__init__.py* \
28 ${libdir}/python${PYTHON_MAJMIN}/email/utils.py* \
29 ${libdir}/python${PYTHON_MAJMIN}/email/_parseaddr.py* \
30 ${libdir}/python${PYTHON_MAJMIN}/email/encoders.py* \
31 "
32RDEPENDS_${PN}-email += "${PN}-email-utils"
33FILES_${PN}-email += "${libdir}/python${PYTHON_MAJMIN}/email/email_full.py"