add python-mechanize recipe
[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 = "r1"
9
10 SRC_URI = "https://pypi.python.org/packages/source/m/mechanize/mechanize-0.2.5.tar.gz"
11 SRC_URI[sha256sum] = "2e67b20d107b30c00ad814891a095048c35d9d8cb9541801cebe85684cc84766"
12 SRC_URI[md5sum] = "32657f139fc2fb75bcf193b63b8c60b2"
13
14 S = "${WORKDIR}/mechanize-0.2.5/"
15
16 inherit setuptools
17
18 do_install_append() {
19         rm -r ${D}${PYTHON_SITEPACKAGES_DIR}/mechanize-0.2.5-py2.7.egg-info
20 }
21
22 RDEPENDS = "python-robotparser"