summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-03-26 21:54:30 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-03-26 21:54:30 +0000
commitaac3cf121a43f85b425672fdb2caf52f6386fc1c (patch)
tree2909df0a4465767a8a518e2afa52cdb83aa7a298 /dev-python/tlslite/tlslite-0.3.8-r2.ebuild
parentversion bump (diff)
downloadgentoo-2-aac3cf121a43f85b425672fdb2caf52f6386fc1c.tar.gz
gentoo-2-aac3cf121a43f85b425672fdb2caf52f6386fc1c.tar.bz2
gentoo-2-aac3cf121a43f85b425672fdb2caf52f6386fc1c.zip
Fix dependencies. Restrict Jython ABIs. Update HOMEPAGE.
(Portage version: 2.2.0_alpha28_p34/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/tlslite/tlslite-0.3.8-r2.ebuild')
-rw-r--r--dev-python/tlslite/tlslite-0.3.8-r2.ebuild20
1 files changed, 12 insertions, 8 deletions
diff --git a/dev-python/tlslite/tlslite-0.3.8-r2.ebuild b/dev-python/tlslite/tlslite-0.3.8-r2.ebuild
index 021b73413224..af7ff1b26247 100644
--- a/dev-python/tlslite/tlslite-0.3.8-r2.ebuild
+++ b/dev-python/tlslite/tlslite-0.3.8-r2.ebuild
@@ -1,14 +1,16 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2011 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-r2.ebuild,v 1.3 2009/12/31 16:29:12 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/tlslite/tlslite-0.3.8-r2.ebuild,v 1.4 2011/03/26 21:54:30 arfrever Exp $
-EAPI="2"
+EAPI="3"
+PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.* *-jython"
-inherit eutils distutils
+inherit distutils eutils
DESCRIPTION="TLS Lite is a free python library that implements SSL 3.0 and TLS 1.0/1.1"
-HOMEPAGE="http://trevp.net/tlslite/"
+HOMEPAGE="http://trevp.net/tlslite/ http://pypi.python.org/pypi/tlslite"
SRC_URI="http://trevp.net/tlslite/${P}.tar.gz"
LICENSE="GPL-2"
@@ -23,10 +25,9 @@ DEPEND=">=dev-libs/cryptlib-3.3.3[python]
)
gmp? ( dev-python/gmpy )"
RDEPEND="${DEPEND}"
-RESTRICT_PYTHON_ABIS="3.*"
-PYTHON_MODNAME="tlslite"
DOCS="readme.txt"
+PYTHON_MODNAME="tlslite"
src_prepare() {
distutils_src_prepare
@@ -37,5 +38,8 @@ src_prepare() {
src_install(){
distutils_src_install
- use doc && dohtml -r docs/.
+
+ if use doc; then
+ dohtml -r docs/ || die "dohtml failed"
+ fi
}