Brad Bishop | e545fa3 | 2015-11-13 09:05:13 -0500 | [diff] [blame] | 1 | SUMMARY = "WSGI (PEP 333) Reference Library" |
| 2 | DESCRIPTION = "This is a standalone release of the wsgiref library, \ |
| 3 | that provides validation support for WSGI 1.0.1 (PEP 3333) for Python \ |
| 4 | versions < 3.2, and includes the new wsgiref.util.test() utility function." |
| 5 | HOMEPAGE = "http://cheeseshop.python.org/pypi/wsgiref" |
| 6 | SECTION = "devel/python" |
| 7 | LICENSE = "PSFv2" |
| 8 | LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=a5c8025e305fb49e6d405769358851f6" |
| 9 | |
| 10 | inherit allarch |
| 11 | inherit setuptools |
| 12 | |
| 13 | S = "${WORKDIR}/${SRCNAME}-${PV}" |
| 14 | PROVIDES += "${PN}-headers ${PN}-handlers ${PN}-validate ${PN}-simple_server ${PN}-util" |
| 15 | PACKAGES += "${PN}-headers ${PN}-handlers ${PN}-validate ${PN}-simple_server ${PN}-util" |
| 16 | RDEPENDS_${PN} = "python-core" |
| 17 | RCONFLICTS_${PN} = "python-misc" |
| 18 | |
| 19 | package_dir = "${PYTHON_SITEPACKAGES_DIR}/${SRCNAME}" |
| 20 | |
| 21 | SUMMARY_${PN}-handlers = "${SRCNAME} handlers" |
| 22 | RDEPENDS_${PN}-handlers = "${PN}-util ${PN}-headers" |
| 23 | FILES_${PN}-handlers = "${package_dir}/handlers.py*" |
| 24 | |
| 25 | SUMMARY_${PN}-headers = "${SRCNAME} headers" |
| 26 | RDEPENDS_${PN}-headers = "${PN}" |
| 27 | FILES_${PN}-headers = "${package_dir}/headers.py*" |
| 28 | |
| 29 | SUMMARY_${PN}-simple_server = "${SRCNAME} simple_server" |
| 30 | RDEPENDS_${PN}-simple_server = "${PN}-handlers" |
| 31 | FILES_${PN}-simple_server = "${package_dir}/simple_server.py*" |
| 32 | |
| 33 | SUMMARY_${PN}-util = "${SRCNAME} util" |
| 34 | RDEPENDS_${PN}-util = "${PN}" |
| 35 | FILES_${PN}-util = "${package_dir}/util.py*" |
| 36 | |
| 37 | SUMMARY_${PN}-validate = "${SRCNAME} validate" |
| 38 | RDEPENDS_${PN}-validate = "${PN}" |
| 39 | FILES_${PN}-validate = "${package_dir}/validate.py*" |
| 40 | |
| 41 | FILES_${PN} = " \ |
| 42 | ${package_dir}/__init__.py* \ |
| 43 | ${PYTHON_SITEPACKAGES_DIR}/${SRCNAME}-${PV}-*.egg-info \ |
| 44 | " |
| 45 | |
| 46 | BBCLASSEXTEND = "nativesdk" |