blob: d5964378984da5f5cda28e2b2b458b48f24bb906 (
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
|
# Copyright 1999-2006 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.ebuild,v 1.1 2006/02/06 19:47:37 sbriesen Exp $
inherit eutils distutils portability
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="~x86 ~amd64"
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_install(){
DOCS="readme.txt"
distutils_src_install
if use doc; then
cd docs && treecopy . "${D}/usr/share/doc/${PF}/html"
fi
}
|