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