python-mechanize: recipe cleanup.. dont create dev/dbg packages
[opendreambox.git] / meta-opendreambox / recipes-devtools / python / python-mechanize.bb
1 DESCRIPTION = "Stateful programmatic web browsing, after Andy Lester's Perl module WWW::Mechanize."
2 HOMEPAGE = "http://wwwsearch.sourceforge.net/mechanize/"
3 SECTION = "devel/python"
4 LICENSE = "BSD"
5 LIC_FILES_CHKSUM = "file://COPYING.txt;md5=a7939d3efc8493ae7054e3d2c4644b28"
6 PV = "0.2.5"
7 PRIORITY = "optional"
8 PR = "r2"
9
10 SRC_URI = "https://pypi.python.org/packages/source/m/mechanize/mechanize-${PV}.tar.gz"
11 SRC_URI[sha256sum] = "2e67b20d107b30c00ad814891a095048c35d9d8cb9541801cebe85684cc84766"
12 SRC_URI[md5sum] = "32657f139fc2fb75bcf193b63b8c60b2"
13
14 S = "${WORKDIR}/mechanize-${PV}/"
15
16 inherit setuptools
17
18 do_install_append() {
19         rm -r ${D}${PYTHON_SITEPACKAGES_DIR}/mechanize-${PV}-py2.7.egg-info
20 }
21
22 PACKAGES = "${PN}"
23 RDEPENDS_${PN} += "python-robotparser"