python-curl: remove unnecessary rdeps; no need to append CFLAGS; host libcurl-devel not necessary.
This commit is contained in:
parent
d3d8f7874a
commit
6339592918
1 changed files with 4 additions and 6 deletions
|
@ -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 <xtraeme@gmail.com>"
|
|||
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}"
|
||||
|
|
Loading…
Reference in a new issue