1 # Maintainer: Joel Goguen <jgoguen@jgoguen.ca>
7 pkgdesc="New SSL module for Python 2.5 and earlier"
10 depends=('python25' 'openssl' 'heimdal')
14 url="http://pypi.python.org/pypi/ssl"
15 md5sums=('81ea8a1175e437b4c769ae65b3290e0c'
16 'c3b36cc99aa3b2f2c6fc2461bb25c6cc')
17 sha256sums=('1266302ce62c4b60c7ca0e1d3d104ba11d2749e5881d8ac4f006cf9a0446d589'
18 'd7e55eb310561c8b6a74b43f96cf6b9e8047c2d1c94b6b24086edb847ae1c4aa')
19 source=(http://pypi.python.org/packages/source/s/${_realname}/${_realname}-${pkgver}.tar.gz#md5=${md5sums[0]}
23 cd "${srcdir}/${_realname}-${pkgver}"
25 sed -i 's/python /python2\.5 /g' Makefile
29 install -m755 -d "${pkgdir}/usr/lib/python2.5/site-packages/"
30 install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}/"
31 install -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
32 cp -R "${srcdir}/${_realname}-${pkgver}/build/lib.linux-${CARCH}-2.5/ssl/" "${pkgdir}/usr/lib/python2.5/site-packages/ssl"