blob: a4df15b9f10f223aaf0ffdef83898cd6f3dd829e [file] [log] [blame]
Brad Bishop5baa96f2015-11-18 10:56:38 -05001FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
2SRC_URI += "file://__init__.email_min.py"
3
4do_install_append() {
5 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"