Brad Bishop | 8660573 | 2015-11-18 10:56:38 -0500 | [diff] [blame] | 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" |
| 2 | SRC_URI += "file://__init__.email_min.py" |
Edward A. James | 816aff8 | 2016-08-24 16:36:04 -0500 | [diff] [blame] | 3 | SRC_URI += "file://issue_27934_use-float-repr.patch" |
Brad Bishop | 8660573 | 2015-11-18 10:56:38 -0500 | [diff] [blame] | 4 | |
Patrick Williams | 637e3b8 | 2016-08-16 12:14:28 -0500 | [diff] [blame] | 5 | do_install_append_class-target() { |
Brad Bishop | 8660573 | 2015-11-18 10:56:38 -0500 | [diff] [blame] | 6 | 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 | |
| 13 | require wsgiref-${PYTHON_MAJMIN}-manifest.inc |
| 14 | |
| 15 | PROVIDES_prepend = "${PN}-spwd ${PN}-email-utils " |
| 16 | PACKAGES_prepend = "${PN}-spwd ${PN}-email-utils " |
| 17 | |
| 18 | SUMMARY_${PN}-spwd = "Shadow database support" |
| 19 | RDEPENDS_${PN}-spwd = "${PN}-core" |
| 20 | FILES_${PN}-spwd= " \ |
| 21 | ${libdir}/python${PYTHON_MAJMIN}/lib-dynload/spwd.so \ |
| 22 | ${libdir}/python${PYTHON_MAJMIN}/lib-dynload/grp.so \ |
| 23 | " |
| 24 | |
| 25 | SUMMARY_${PN}-email-utils = "Utils from the email package" |
| 26 | RDEPENDS_${PN}-email-utils = "${PN}-core" |
| 27 | FILES_${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 | " |
| 33 | RDEPENDS_${PN}-email += "${PN}-email-utils" |
| 34 | FILES_${PN}-email += "${libdir}/python${PYTHON_MAJMIN}/email/email_full.py" |