diff options
author | Stefan Briesenick <sbriesen@gentoo.org> | 2008-01-05 22:00:34 +0000 |
---|---|---|
committer | Stefan Briesenick <sbriesen@gentoo.org> | 2008-01-05 22:00:34 +0000 |
commit | efe88b0c6e706b523d2af0f0784ba7ae629a8749 (patch) | |
tree | 91e5eabeb710beb21231ab80aebbaacf3ef0498a /dev-python | |
parent | Use autotools eclass, bug #204392; install menu entry, bug #159753; move scor... (diff) | |
download | gentoo-2-efe88b0c6e706b523d2af0f0784ba7ae629a8749.tar.gz gentoo-2-efe88b0c6e706b523d2af0f0784ba7ae629a8749.tar.bz2 gentoo-2-efe88b0c6e706b523d2af0f0784ba7ae629a8749.zip |
added patch for python 2.5, solving bug #204278.
(Portage version: 2.1.4_rc14)
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/tlslite/ChangeLog | 10 | ||||
-rw-r--r-- | dev-python/tlslite/files/digest-tlslite-0.3.8-r1 | 3 | ||||
-rw-r--r-- | dev-python/tlslite/files/tlslite-0.3.8-python25.diff | 29 | ||||
-rw-r--r-- | dev-python/tlslite/tlslite-0.3.8-r1.ebuild | 38 |
4 files changed, 78 insertions, 2 deletions
diff --git a/dev-python/tlslite/ChangeLog b/dev-python/tlslite/ChangeLog index c28cbb92f487..6cadfefac2be 100644 --- a/dev-python/tlslite/ChangeLog +++ b/dev-python/tlslite/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/tlslite -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/tlslite/ChangeLog,v 1.5 2007/12/10 01:05:12 sbriesen Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/tlslite/ChangeLog,v 1.6 2008/01/05 22:00:33 sbriesen Exp $ + +*tlslite-0.3.8-r1 (05 Jan 2008) + + 05 Jan 2008; Stefan Briesenick <sbriesen@gentoo.org> + +files/tlslite-0.3.8-python25.diff, +tlslite-0.3.8-r1.ebuild: + added patch for python 2.5, solving bug #204278. 10 Dec 2007; Stefan Briesenick <sbriesen@gentoo.org> tlslite-0.3.8.ebuild: corrected dependencies, removed ia64 keyword (see bugs #198366 and 199481). diff --git a/dev-python/tlslite/files/digest-tlslite-0.3.8-r1 b/dev-python/tlslite/files/digest-tlslite-0.3.8-r1 new file mode 100644 index 000000000000..79209cd881ae --- /dev/null +++ b/dev-python/tlslite/files/digest-tlslite-0.3.8-r1 @@ -0,0 +1,3 @@ +MD5 5e1c19500e30fc7580939c18b435f937 tlslite-0.3.8.tar.gz 637558 +RMD160 18d1ebcf5891aff97ed1c96af65c54136b0f211b tlslite-0.3.8.tar.gz 637558 +SHA256 3d79170d8c3a662fa717b6401e8004208df113aaf3b18689bbeb704a23bf5b9f tlslite-0.3.8.tar.gz 637558 diff --git a/dev-python/tlslite/files/tlslite-0.3.8-python25.diff b/dev-python/tlslite/files/tlslite-0.3.8-python25.diff new file mode 100644 index 000000000000..68ef57128cc1 --- /dev/null +++ b/dev-python/tlslite/files/tlslite-0.3.8-python25.diff @@ -0,0 +1,29 @@ +diff -ru tlslite-0.3.8.orig/tlslite/integration/XMLRPCTransport.py tlslite-0.3.8/tlslite/integration/XMLRPCTransport.py +--- tlslite-0.3.8.orig/tlslite/integration/XMLRPCTransport.py 2008-01-04 14:11:33.046005708 +0100 ++++ tlslite-0.3.8/tlslite/integration/XMLRPCTransport.py 2008-01-04 14:26:41.738737158 +0100 +@@ -15,7 +15,8 @@ + cryptoID=None, protocol=None, + x509Fingerprint=None, + x509TrustList=None, x509CommonName=None, +- settings=None): ++ settings=None, ++ use_datetime=0): + """Create a new XMLRPCTransport. + + An instance of this class can be passed to L{xmlrpclib.ServerProxy} +@@ -108,8 +109,15 @@ + @param settings: Various settings which can be used to control + the ciphersuites, certificate types, and SSL/TLS versions + offered by the client. ++ ++ @type use_datetime: bool ++ @param use_datetime: In python 2.5, present date/time values ++ as L{datetime.datetime} and accept L{datetime.datetime}, ++ L{datetime.date} and L{datetime.time} objects, if flag is ++ true. + """ + ++ self._use_datetime = use_datetime + ClientHelper.__init__(self, + username, password, sharedKey, + certChain, privateKey, diff --git a/dev-python/tlslite/tlslite-0.3.8-r1.ebuild b/dev-python/tlslite/tlslite-0.3.8-r1.ebuild new file mode 100644 index 000000000000..a2689c39ad19 --- /dev/null +++ b/dev-python/tlslite/tlslite-0.3.8-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/tlslite/tlslite-0.3.8-r1.ebuild,v 1.1 2008/01/05 22:00:33 sbriesen Exp $ + +inherit eutils distutils + +DESCRIPTION="TLS Lite is a free python library that implements SSL 3.0 and TLS 1.0/1.1" +HOMEPAGE="http://trevp.net/tlslite/" +SRC_URI="http://trevp.net/tlslite/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc gmp" + +DEPEND="virtual/python" +RDEPEND="${DEPEND} + dev-python/cryptlib_py + || ( + dev-python/m2crypto + dev-python/pycrypto + ) + gmp? ( dev-python/gmpy )" + +PYTHON_MODNAME="tlslite" + +src_unpack() { + distutils_src_unpack + + # add patch for python 2.5 (see bug #204278) + epatch "${FILESDIR}/${P}-python25.diff" +} + +src_install(){ + DOCS="readme.txt" + distutils_src_install + use doc && dohtml -r docs/. +} |