blob: a2689c39ad19b998d2fb9848df6e4bee142eb0e8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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/.
}
|