summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Delaney <idella4@gentoo.org>2013-04-18 12:34:15 +0000
committerIan Delaney <idella4@gentoo.org>2013-04-18 12:34:15 +0000
commit24b53cd1c82ab7316f7ba9b627f2461cd87a879c (patch)
tree6f3d3285bc83e09dd796ba8e2c903196f61b2f10 /dev-python/tlslite
parentAdded new drives to to hddgentoo.db. Fixes bug #462986. (diff)
downloadgentoo-2-24b53cd1c82ab7316f7ba9b627f2461cd87a879c.tar.gz
gentoo-2-24b53cd1c82ab7316f7ba9b627f2461cd87a879c.tar.bz2
gentoo-2-24b53cd1c82ab7316f7ba9b627f2461cd87a879c.zip
migration -> distutils-r1
(Portage version: 2.1.11.60/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Diffstat (limited to 'dev-python/tlslite')
-rw-r--r--dev-python/tlslite/ChangeLog7
-rw-r--r--dev-python/tlslite/tlslite-0.4.3-r1.ebuild39
2 files changed, 45 insertions, 1 deletions
diff --git a/dev-python/tlslite/ChangeLog b/dev-python/tlslite/ChangeLog
index 24de0c17a260..b0fac5c1d12c 100644
--- a/dev-python/tlslite/ChangeLog
+++ b/dev-python/tlslite/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/tlslite
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/tlslite/ChangeLog,v 1.17 2013/01/20 12:19:59 idella4 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/tlslite/ChangeLog,v 1.18 2013/04/18 12:34:15 idella4 Exp $
+
+*tlslite-0.4.3-r1 (18 Apr 2013)
+
+ 18 Apr 2013; Ian Delaney <idella4@gentoo.org> +tlslite-0.4.3-r1.ebuild:
+ migration -> distutils-r1
*tlslite-0.4.3 (20 Jan 2013)
diff --git a/dev-python/tlslite/tlslite-0.4.3-r1.ebuild b/dev-python/tlslite/tlslite-0.4.3-r1.ebuild
new file mode 100644
index 000000000000..b123db48659c
--- /dev/null
+++ b/dev-python/tlslite/tlslite-0.4.3-r1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/tlslite/tlslite-0.4.3-r1.ebuild,v 1.1 2013/04/18 12:34:15 idella4 Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_6,2_7} pypy{1_9,2_0} )
+
+inherit distutils-r1
+
+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"
+#Refrain for now setting IUSE test and deps of test given test restricted.
+IUSE="doc gmp"
+RESTRICT="test"
+
+DEPEND=">=dev-libs/cryptlib-3.3.3[python,$(python_gen_usedep python{2_6,2_7}),$(python_gen_usedep pypy{1_9,2_0})]
+ || (
+ dev-python/m2crypto[$(python_gen_usedep python{2_6,2_7})]
+ dev-python/pycrypto[$(python_gen_usedep python{2_6,2_7})]
+ )
+ gmp? ( dev-python/gmpy )"
+RDEPEND="${DEPEND}"
+
+# Tests still hang
+python_test() {
+ "${S}"/tests/tlstest.py client localhost:4443 .
+ "${S}"/tests/tlstest.py server localhost:4442 .
+}
+
+python_install_all(){
+ distutils-r1_python_install_all
+ use doc && dohtml -r docs/
+}