blob: e591a9565604072d52af37bb36fac720cc56b74b [file] [log] [blame]
Brad Bishop5baa96f2015-11-18 10:56:38 -05001FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
2SRC_URI += "file://__init__.email_min.py"
Brad Bishop39beab92018-06-06 16:16:23 -04003SRC_URI += "file://0001-json-Use-int-long.__str__-to-convert-subclasses.patch"
Brad Bishop5baa96f2015-11-18 10:56:38 -05004
Patrick Williamsbea797d2016-08-16 12:14:28 -05005do_install_append_class-target() {
Brad Bishop5baa96f2015-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"