aboutsummaryrefslogtreecommitdiffstats
path: root/meta/packages/python/python-pycurl_7.19.0.bb
blob: 3090f77d3ae4ee34a3582934dbded29a0116bf1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
DESCRIPTION = "libcurl Python Bindings"
SECTION = "devel/python"
PRIORITY = "optional"
LICENSE = "LGPL"
DEPENDS = "curl python"
SRCNAME = "pycurl"
PR = "r0"

SRC_URI = "\
  http://${SRCNAME}.sourceforge.net/download/${SRCNAME}-${PV}.tar.gz;name=archive \
  file://no-static-link.patch;patch=1 \
"
S = "${WORKDIR}/${SRCNAME}-${PV}"

inherit distutils

# need to export these variables for python-config to work
export BUILD_SYS
export HOST_SYS
export STAGING_INCDIR
export STAGING_LIBDIR

NATIVE_INSTALL_WORKS = "1"

RDEPENDS = "python-core curl"

BBCLASSEXTEND = "native"