python-curl: update to 7.19.5
This commit is contained in:
parent
ea3c817754
commit
762a54bd3a
1 changed files with 8 additions and 8 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'python-curl'
|
# Template file for 'python-curl'
|
||||||
pkgname=python-curl
|
pkgname=python-curl
|
||||||
version=7.19.3.1
|
version=7.19.5
|
||||||
revision=4
|
revision=1
|
||||||
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"
|
||||||
|
@ -14,16 +14,16 @@ homepage="http://pycurl.sourceforge.net/"
|
||||||
license="LGPL-2.1, MIT"
|
license="LGPL-2.1, MIT"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
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=69a0aa7c9dddbfe4cebf4d1f674c490faccf739fc930d85d8990ce2fd0551a43
|
||||||
|
|
||||||
CFLAGS="-fno-strict-aliasing"
|
CFLAGS="-fno-strict-aliasing"
|
||||||
|
|
||||||
_doc_install() {
|
_doc_install() {
|
||||||
vmkdir /usr/share/doc/${pkgname}
|
vmkdir usr/share/doc/${pkgname}
|
||||||
vcopy "doc examples tests AUTHORS ChangeLog INSTALL.rst README.rst" /usr/share/doc/${pkgname}
|
vcopy "examples AUTHORS ChangeLog README.rst RELEASE-NOTES.rst" usr/share/doc/${pkgname}
|
||||||
# install licenses
|
# install licenses
|
||||||
vinstall COPYING-LGPL 644 usr/share/licenses/${pkgname}
|
vlicense COPYING-LGPL
|
||||||
vinstall COPYING-MIT 644 usr/share/licenses/${pkgname}
|
vlicense COPYING-MIT
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
@ -37,7 +37,7 @@ python3.4-curl_package() {
|
||||||
pycompile_module="curl"
|
pycompile_module="curl"
|
||||||
short_desc="${short_desc/Python2/Python3.4}"
|
short_desc="${short_desc/Python2/Python3.4}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove /usr/lib/python3.4
|
vmove usr/lib/python3.4
|
||||||
cd ${wrksrc}
|
cd ${wrksrc}
|
||||||
find . -name '*.py' -exec sed -i -e 's,#! /usr/bin/env python,&3.4,' {} +
|
find . -name '*.py' -exec sed -i -e 's,#! /usr/bin/env python,&3.4,' {} +
|
||||||
_doc_install
|
_doc_install
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue