blob: c69ccad58d10395f073e3708fbe9c9e2e0cc970f [file] [log] [blame]
Brad Bishop9d432b12015-11-09 14:40:35 -05001SUMMARY = "Object-Oriented HTTP framework"
2DESCRIPTION = "CherryPy is a pythonic, object-oriented HTTP framework"
3HOMEPAGE = "http://www.cherrypy.org/"
4SECTION = "devel/python"
5LICENSE = "BSD"
6LIC_FILES_CHKSUM = "file://cherrypy/LICENSE.txt;md5=a476d86a3f85c89411ecaad012eed1e3"
7
8inherit allarch
9inherit setuptools
10
11PROVIDES+="${PN}-tests ${PN}-tutorials ${PN}-server ${PN}-scaffold ${PN}-daemon ${PN}-docs"
12PACKAGES+="${PN}-tests ${PN}-tutorials ${PN}-server ${PN}-scaffold ${PN}-daemon ${PN}-docs"
13
14base_package_dir = "${libdir}/python2.7/site-packages"
15package_dir = "${base_package_dir}/cherrypy"
16share_dir = "${datadir}/cherrypy"
17
18SUMMARY_${PN}-server="${BPN} server"
19RDEPENDS_${PN}-server="${PN}"
20FILES_${PN}-server="${package_dir}/wsgiserver ${share_dir}/wsgiserver "
21
22SUMMARY_${PN}-scaffold="${BPN} scaffold"
23RDEPENDS_${PN}-scaffold="${PN}"
24FILES_${PN}-scaffold="${package_dir}/scaffold ${share_dir}/scaffold "
25
26SUMMARY_${PN}-tests="${BPN} tests"
27RDEPENDS_${PN}-tests="${PN}"
28FILES_${PN}-tests="${package_dir}/test ${share_dir}/test "
29
30SUMMARY_${PN}-tutorials ="${BPN} tutorials"
31RDEPENDS_${PN}-tutorials ="${PN}"
32FILES_${PN}-tutorials ="${package_dir}/tutorial ${share_dir}/tutorial "
33
34SUMMARY_${PN}-daemon ="${BPN} daemon"
35RDEPENDS_${PN}-daemon ="${PN}"
36FILES_${PN}-daemon ="${bindir} ${share_dir}/cherryd "
37
38SUMMARY_${PN}-docs ="${BPN} docs"
39RDEPENDS_${PN}-docs ="${PN}"
40FILES_${PN}-docs ="${share_dir}/favicon.ico ${share_dir}/LICENSE.txt "
41
42FILES_${PN} = " \
43 ${package_dir}/*.py* \
44 ${package_dir}/lib \
45 ${package_dir}/process \
46 ${share_dir}/process \
47 ${base_package_dir}/*.egg-info \
48 "
49BBCLASSEXTEND = "nativesdk"