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