From 6339592918d5d85a1c89f00f8c15ba05d6940f87 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 27 Jun 2014 10:33:14 +0200 Subject: [PATCH] python-curl: remove unnecessary rdeps; no need to append CFLAGS; host libcurl-devel not necessary. --- srcpkgs/python-curl/template | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/srcpkgs/python-curl/template b/srcpkgs/python-curl/template index bedc21aabd2..e68adb15c16 100644 --- a/srcpkgs/python-curl/template +++ b/srcpkgs/python-curl/template @@ -1,13 +1,12 @@ # Template file for 'python-curl' pkgname=python-curl version=7.19.3.1 -revision=2 +revision=3 wrksrc="pycurl-${version}" build_style=python-module python_versions="2.7 3.4" -hostmakedepends="libcurl-devel python-devel python3.4-devel" -makedepends="openssl-devel ${hostmakedepends}" -depends="python curl" +hostmakedepends="python-devel python3.4-devel" +makedepends="openssl-devel libcurl-devel ${hostmakedepends}" replaces="pycurl>=0" pycompile_module="curl" short_desc="Python2 interface to cURL library" @@ -17,7 +16,7 @@ maintainer="Juan RP " distfiles="http://pycurl.sourceforge.net/download/pycurl-${version}.tar.gz" checksum=c0d673fe99a9de07239eabe77c798f1b043f60c02afaec1430ceaf59d7501a4f -CFLAGS="${CFLAGS} -fno-strict-aliasing" +CFLAGS="-fno-strict-aliasing" _doc_install() { vmkdir /usr/share/doc/${pkgname} @@ -34,7 +33,6 @@ post_install() { } python3.4-curl_package() { - depends="python3.4 curl" pycompile_version="3.4" pycompile_module="curl" short_desc="${short_desc/Python2/Python3.4}"