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