summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesus Rivero <neurogeek@gentoo.org>2010-01-28 03:57:01 +0000
committerJesus Rivero <neurogeek@gentoo.org>2010-01-28 03:57:01 +0000
commit8bba73bba4b523e4a6b0929718e17a213654a467 (patch)
tree45b738fb19899f4de31ff2959f100f67735b654c /dev-python/xmpppy/xmpppy-0.5.0_rc1.ebuild
parentAdd jruby-debug-base to the list of forced gems. (diff)
downloadhistorical-8bba73bba4b523e4a6b0929718e17a213654a467.tar.gz
historical-8bba73bba4b523e4a6b0929718e17a213654a467.tar.bz2
historical-8bba73bba4b523e4a6b0929718e17a213654a467.zip
Added patches for 2.6 deprecation warnings. Closes bug #281997
Package-Manager: portage-2.1.6.13/cvs/Linux i686
Diffstat (limited to 'dev-python/xmpppy/xmpppy-0.5.0_rc1.ebuild')
-rw-r--r--dev-python/xmpppy/xmpppy-0.5.0_rc1.ebuild15
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/.