X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_openvuplus;a=blobdiff_plain;f=meta-openvuplus%2Frecipes-devtools%2Fpython%2Fpython-mechanize_0.2.5.bb;fp=meta-openvuplus%2Frecipes-devtools%2Fpython%2Fpython-mechanize_0.2.5.bb;h=0b2185af79ed638d940096e2f6782ef249b641af;hp=0000000000000000000000000000000000000000;hb=d46ebdf3dab36adda4e1cec09897eaa5ad1f4a6e;hpb=b4e3195ecc36ab3d2dfce78d8fce6685ba52e7ec diff --git a/meta-openvuplus/recipes-devtools/python/python-mechanize_0.2.5.bb b/meta-openvuplus/recipes-devtools/python/python-mechanize_0.2.5.bb new file mode 100644 index 0000000..0b2185a --- /dev/null +++ b/meta-openvuplus/recipes-devtools/python/python-mechanize_0.2.5.bb @@ -0,0 +1,28 @@ +DESCRIPTION = "Stateful programmatic web browsing, after Andy Lester's Perl module WWW::Mechanize." +HOMEPAGE = "http://wwwsearch.sourceforge.net/mechanize/" +SECTION = "devel/python" +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://COPYING.txt;md5=a7939d3efc8493ae7054e3d2c4644b28" + +PR = "r2" + +RDEPENDS_${PN} = "python-core python-robotparser" + +SRC_URI = "http://pypi.python.org/packages/source/m/mechanize/mechanize-${PV}.tar.gz" + +SRC_URI[md5sum] = "32657f139fc2fb75bcf193b63b8c60b2" +SRC_URI[sha256sum] = "2e67b20d107b30c00ad814891a095048c35d9d8cb9541801cebe85684cc84766" + +S = "${WORKDIR}/mechanize-${PV}" + +inherit setuptools distutils + +PACKAGES =+ " ${PN}-src" +RDEPENDS_{PN}-src = "${PN}" +FILES_${PN}-src = " \ + ${libdir}/${PYTHON_DIR}/site-packages/*/*.py \ + ${libdir}/${PYTHON_DIR}/site-packages/*/*/*.py \ + ${libdir}/${PYTHON_DIR}/site-packages/*/*/*/*.py \ + ${libdir}/${PYTHON_DIR}/site-packages/*/*/*/*/*.py \ + ${libdir}/${PYTHON_DIR}/site-packages/mechanize-*-py2.7.egg-info/* \ + "