diff options
Diffstat (limited to 'dev-python/xmpppy/xmpppy-0.5.0_rc1.ebuild')
-rw-r--r-- | dev-python/xmpppy/xmpppy-0.5.0_rc1.ebuild | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/dev-python/xmpppy/xmpppy-0.5.0_rc1.ebuild b/dev-python/xmpppy/xmpppy-0.5.0_rc1.ebuild index c650e3bdd118..a0ae4c20da69 100644 --- a/dev-python/xmpppy/xmpppy-0.5.0_rc1.ebuild +++ b/dev-python/xmpppy/xmpppy-0.5.0_rc1.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/xmpppy/xmpppy-0.5.0_rc1.ebuild,v 1.3 2009/09/04 15:33:10 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/xmpppy/xmpppy-0.5.0_rc1.ebuild,v 1.4 2010/01/28 03:57:00 neurogeek Exp $ -inherit eutils distutils +EAPI="2" +inherit distutils MY_P="${P/_/-}" @@ -27,6 +28,14 @@ S="${WORKDIR}/${MY_P}" PYTHON_MODNAME="xmpp" +src_prepare(){ + + python_version + [[ ${PYVER} == 2.6 ]] && \ + epatch "${FILESDIR}/${PN}-hashlib_ssl_deprecation.patch" + +} + src_install(){ distutils_src_install use doc && dohtml -A py -r doc/. |