python-curl: remove unnecessary rdeps; no need to append CFLAGS; host libcurl-devel not necessary.

This commit is contained in:
Juan RP 2014-06-27 10:33:14 +02:00
parent d3d8f7874a
commit 6339592918

View file

@ -1,13 +1,12 @@
# Template file for 'python-curl' # Template file for 'python-curl'
pkgname=python-curl pkgname=python-curl
version=7.19.3.1 version=7.19.3.1
revision=2 revision=3
wrksrc="pycurl-${version}" wrksrc="pycurl-${version}"
build_style=python-module build_style=python-module
python_versions="2.7 3.4" python_versions="2.7 3.4"
hostmakedepends="libcurl-devel python-devel python3.4-devel" hostmakedepends="python-devel python3.4-devel"
makedepends="openssl-devel ${hostmakedepends}" makedepends="openssl-devel libcurl-devel ${hostmakedepends}"
depends="python curl"
replaces="pycurl>=0" replaces="pycurl>=0"
pycompile_module="curl" pycompile_module="curl"
short_desc="Python2 interface to cURL library" short_desc="Python2 interface to cURL library"
@ -17,7 +16,7 @@ maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="http://pycurl.sourceforge.net/download/pycurl-${version}.tar.gz" distfiles="http://pycurl.sourceforge.net/download/pycurl-${version}.tar.gz"
checksum=c0d673fe99a9de07239eabe77c798f1b043f60c02afaec1430ceaf59d7501a4f checksum=c0d673fe99a9de07239eabe77c798f1b043f60c02afaec1430ceaf59d7501a4f
CFLAGS="${CFLAGS} -fno-strict-aliasing" CFLAGS="-fno-strict-aliasing"
_doc_install() { _doc_install() {
vmkdir /usr/share/doc/${pkgname} vmkdir /usr/share/doc/${pkgname}
@ -34,7 +33,6 @@ post_install() {
} }
python3.4-curl_package() { python3.4-curl_package() {
depends="python3.4 curl"
pycompile_version="3.4" pycompile_version="3.4"
pycompile_module="curl" pycompile_module="curl"
short_desc="${short_desc/Python2/Python3.4}" short_desc="${short_desc/Python2/Python3.4}"