2013-12-19 15:13:01 +00:00
|
|
|
SUMMARY = "Python bindings for libcurl"
|
2010-06-09 07:25:27 +00:00
|
|
|
HOMEPAGE = "http://pycurl.sourceforge.net/"
|
2010-03-25 12:19:17 +00:00
|
|
|
SECTION = "devel/python"
|
2010-06-09 07:25:27 +00:00
|
|
|
LICENSE = "LGPLv2.1+ | MIT"
|
2016-01-19 21:56:27 +00:00
|
|
|
LIC_FILES_CHKSUM = "file://README.rst;beginline=166;endline=182;md5=a84a1caa65b89d4584b693d3680062fb \
|
2014-02-06 15:29:32 +00:00
|
|
|
file://COPYING-LGPL;md5=3579a9fd0221d49a237aaa33492f988c \
|
2016-01-19 21:56:27 +00:00
|
|
|
file://COPYING-MIT;md5=b7e434aeb228ed731c00bcf177e79b19"
|
2010-06-09 07:25:27 +00:00
|
|
|
|
2010-03-30 14:24:25 +00:00
|
|
|
DEPENDS = "curl python"
|
2010-12-23 19:23:33 +00:00
|
|
|
RDEPENDS_${PN} = "python-core curl"
|
2010-03-25 12:19:17 +00:00
|
|
|
SRCNAME = "pycurl"
|
|
|
|
|
|
|
|
SRC_URI = "\
|
|
|
|
http://${SRCNAME}.sourceforge.net/download/${SRCNAME}-${PV}.tar.gz;name=archive \
|
2011-08-18 00:17:52 +00:00
|
|
|
file://no-static-link.patch \
|
2010-03-25 12:19:17 +00:00
|
|
|
"
|
2010-12-08 04:06:29 +00:00
|
|
|
|
2016-01-19 21:56:27 +00:00
|
|
|
SRC_URI[archive.md5sum] = "bca7bf47320082588db544ced2ba8717"
|
|
|
|
SRC_URI[archive.sha256sum] = "8a1e0eb55573388275a1d6c2534ca4cfca5d7fa772b99b505c08fa149b27aed0"
|
2010-03-25 12:19:17 +00:00
|
|
|
S = "${WORKDIR}/${SRCNAME}-${PV}"
|
|
|
|
|
|
|
|
inherit distutils
|
|
|
|
|
|
|
|
BBCLASSEXTEND = "native"
|
2012-03-16 18:43:08 +00:00
|
|
|
|
2014-12-09 15:05:35 +00:00
|
|
|
# Ensure the docstrings are generated as make clean will remove them
|
|
|
|
do_compile_prepend() {
|
|
|
|
${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} setup.py docstrings
|
|
|
|
}
|
|
|
|
|
2012-03-16 18:43:08 +00:00
|
|
|
do_install_append() {
|
|
|
|
rm -rf ${D}${datadir}/share
|
|
|
|
}
|