Brad Bishop | 5baa96f | 2015-11-18 10:56:38 -0500 | [diff] [blame^] | 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" |
| 2 | SRC_URI += "file://__init__.email_min.py" |
| 3 | |
| 4 | do_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 | |
| 12 | require wsgiref-${PYTHON_MAJMIN}-manifest.inc |
| 13 | |
| 14 | PROVIDES_prepend = "${PN}-spwd ${PN}-email-utils " |
| 15 | PACKAGES_prepend = "${PN}-spwd ${PN}-email-utils " |
| 16 | |
| 17 | SUMMARY_${PN}-spwd = "Shadow database support" |
| 18 | RDEPENDS_${PN}-spwd = "${PN}-core" |
| 19 | FILES_${PN}-spwd= " \ |
| 20 | ${libdir}/python${PYTHON_MAJMIN}/lib-dynload/spwd.so \ |
| 21 | ${libdir}/python${PYTHON_MAJMIN}/lib-dynload/grp.so \ |
| 22 | " |
| 23 | |
| 24 | SUMMARY_${PN}-email-utils = "Utils from the email package" |
| 25 | RDEPENDS_${PN}-email-utils = "${PN}-core" |
| 26 | FILES_${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 | " |
| 32 | RDEPENDS_${PN}-email += "${PN}-email-utils" |
| 33 | FILES_${PN}-email += "${libdir}/python${PYTHON_MAJMIN}/email/email_full.py" |