37 lines
883 B
Bash
37 lines
883 B
Bash
# Copyright 1999-2012 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/dev-python/tlslite/tlslite-0.4.1.ebuild,v 1.1 2012/06/24 19:42:11 sbriesen Exp $
|
|
|
|
EAPI=4
|
|
PYTHON_DEPEND="2:2.6"
|
|
SUPPORT_PYTHON_ABIS="1"
|
|
RESTRICT_PYTHON_ABIS="2.[45] 3.* *-jython"
|
|
|
|
inherit 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/ http://pypi.python.org/pypi/tlslite"
|
|
SRC_URI="http://github.com/trevp/tlslite/downloads/${P}.tar.gz"
|
|
|
|
LICENSE="BSD public-domain"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE="doc gmp"
|
|
|
|
RESTRICT="test"
|
|
|
|
DEPEND=">=dev-libs/cryptlib-3.3.3[python]
|
|
|| (
|
|
dev-python/m2crypto
|
|
dev-python/pycrypto
|
|
)
|
|
gmp? ( dev-python/gmpy )"
|
|
RDEPEND="${DEPEND}"
|
|
|
|
src_install(){
|
|
distutils_src_install
|
|
|
|
if use doc; then
|
|
dohtml -r docs/
|
|
fi
|
|
}
|