From: Michael Tremer Date: Wed, 3 Aug 2011 10:27:47 +0000 (+0200) Subject: python-pycurl: Fix dependencies for curl. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de1ded0df790822e345bc7655f4b4f4d26cb82c4;p=ipfire-3.x.git python-pycurl: Fix dependencies for curl. pycurl checks the version of libcurl when it starts and needs the same or a higher version than it was built with. --- diff --git a/pkgs/python-pycurl/python-pycurl.nm b/pkgs/python-pycurl/python-pycurl.nm index d78f031d2..712e9066f 100644 --- a/pkgs/python-pycurl/python-pycurl.nm +++ b/pkgs/python-pycurl/python-pycurl.nm @@ -26,7 +26,7 @@ include $(PKGROOT)/Include PKG_NAME = pycurl PKG_VER = 7.19.0 -PKG_REL = 2 +PKG_REL = 3 PKG_MAINTAINER = PKG_GROUPS = Development/Languages @@ -38,6 +38,14 @@ CFLAGS += -DHAVE_CURL_OPENSSL PKG_BUILD_DEPS+= libcurl-devel openssl-devel python-devel +# During its initialization, PycURL checks that the actual libcurl version +# is not lower than the one used when PycURL was built. +# Yes, that should be handled by library versioning (which would then get +# automatically reflected). +# For now, we have to reflect that dependency. +LIBCURL_VERSION = $(shell curl-config --version | awk '{ print $$NF }') +PKG_DEPS += libcurl>=$(LIBCURL_VERSION) + define PKG_DESCRIPTION PycURL is a Python interface to libcurl. PycURL can be used to fetch \ objects identified by a URL from a Python program, similar to the \