summaryrefslogtreecommitdiff
path: root/dev-python/tlslite
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/tlslite')
-rw-r--r--dev-python/tlslite/Manifest7
-rw-r--r--dev-python/tlslite/metadata.xml21
-rw-r--r--dev-python/tlslite/tlslite-0.4.3-r2.ebuild33
-rw-r--r--dev-python/tlslite/tlslite-0.4.9-r2.ebuild34
4 files changed, 95 insertions, 0 deletions
diff --git a/dev-python/tlslite/Manifest b/dev-python/tlslite/Manifest
new file mode 100644
index 000000000000..71806b4fa691
--- /dev/null
+++ b/dev-python/tlslite/Manifest
@@ -0,0 +1,7 @@
+DIST tlslite-0.4.3.tar.gz 562090 SHA256 6a67d8a0bec66183719c19c91f383bc1555545055aae4498af2e91fe9d79f813 SHA512 d1f451ebc2f7bd4d5436f1ca8ecfdbaa403f3dbbae9f9ac3900131e5d168e3267e22fcf23d85f87457f06468997cb01a51683d028a67fde58820b15f97689a0c WHIRLPOOL 555f2659f0bb5080519edd5f4325953e13109367ef21e1595816ab4f3956233bb541940f65f2cfa95c041b7f2cc080b8c4ee10719be79edfa11076a2c834fff6
+DIST tlslite-0.4.9.tar.gz 105402 SHA256 9b9a487694c239efea8cec4454a99a56ee1ae1a5f3af0858ccf8029e2ac2d42d SHA512 5473139b5730ef946efa139fbb9adb3333dc67f33f03305f4a6d3b6eaaefce950ba93bc1053362fc31b9d68ff9f6deceb9449987e29ff44035b818d7310edbea WHIRLPOOL b8fa4794d5670585c9f55673f04bfb2d2fac5457013284b810d27e4c31f0f9a9a349f1664eec338bc70adf9586910bccf3c33ef6d0b926418e1801ef23e6cd7b
+EBUILD tlslite-0.4.3-r2.ebuild 839 SHA256 c29d7c84ef8706e680c3fbe3f526d7f621445a64b02462f6d50e6132cf11df77 SHA512 b8df750803aac03837dcbe74cf76cc440c03a973dd9026d9f650ff4373e46eafe23eed83321fc1cb7de045f4840500ccf78cad0d37cdbaa118bdec08202787b0 WHIRLPOOL 3cf9a946e2942ed1bc499fe273152c059ca0fd33a88ee1412a58f6601df9f35d039e495e332bb99ce36cf0a4e7a6f2bb735e3307e20c0e4817fe61d0b74ef5ba
+EBUILD tlslite-0.4.9-r2.ebuild 878 SHA256 21fe75915d9c7490e73e4be0fda6dfc52df41fcef6949ef76080b04b7df88df6 SHA512 27f5c7767acd27f255a19a2c90a18cc4e130594f7c71215682ef9f6b4b81ee45f3407b0139421b26ead2e8434da724c02284089b77773d8d2b6b3d829b8f31ac WHIRLPOOL a0c0ef84b14015795396d7d1bb2453271ef323e01cf9842e52bce49a94cc0dbe5b19e14e358ddc2f3de3ed73099ba40c74d0d343e832adff3876c65181ee6175
+MISC ChangeLog 3670 SHA256 71a686e1aa1cd7f1bae5d87487757f46fdfb9063f4a1ba657d3a9cd86d0f6605 SHA512 8bc89734da89128ad842de33936b00cedf89db7af8278e76dd5b7cfc7ba9283357c7a0cf6401e1bc87f23fcbdc9cbbc280970ddc0d4b2906fdbd89755e3d388c WHIRLPOOL 02ffe31f1d163d45a46094713419ca34c775a081222b5a82f076f3ec5793f15524b19627068b281cff517acc2a883d825404ea8114f60815152b41e16757a677
+MISC ChangeLog-2015 4164 SHA256 03419aabe573830eb748165c497a844b58baa34dff183b183f165c1f7e65ecbe SHA512 382debfc9b241c3a672abc386a6d5f5589ebc106bad032f039ad7a89c285e052cc4daa2a4b98d28861bb2c641b27d778e543c0e9f86e94f2fb7acb31ef9733e6 WHIRLPOOL 4a467d9d1f934c059a9cb82fe979346ed4be4055813d95140ae035c313e6cc8fbb29174be38cd077d783bdf0638f8af48d2ed0b0ff275497b7fe9b016b0f425b
+MISC metadata.xml 862 SHA256 b96e1fbe58e75dc5befc92dcefd465e9426948e0458bd41e3a481c44606974d6 SHA512 1374c0176a6a8386e8123bf1be106431d616de1b70d4b4948327b3e8f20a5d346bb622a2b83389aca1a0eda3f33591e9327929f2a7c062f04af80618ed3b0b8f WHIRLPOOL bcb69de4cbfa74c5fad50ac6c246a18c68a3d8484b79026b230d875517d5f1d38ca03f07060290e981a218e9826c6aa5449e4af60abc3416c0ca2a77b9e5adc2
diff --git a/dev-python/tlslite/metadata.xml b/dev-python/tlslite/metadata.xml
new file mode 100644
index 000000000000..03969c1ba052
--- /dev/null
+++ b/dev-python/tlslite/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <longdescription lang="en">
+ TLS Lite is a free python library that implements SSL 3.0, TLS 1.0, and
+ TLS 1.1. TLS Lite supports non-traditional authentication methods such
+ as SRP, shared keys, and cryptoIDs in addition to X.509 certificates.
+ TLS Lite is pure Python, however it can access OpenSSL, cryptlib,
+ pycrypto, and GMPY for faster crypto operations. TLS Lite integrates
+ with httplib, xmlrpclib, poplib, imaplib, smtplib, SocketServer,
+ asyncore, and Twisted.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">trevp/tlslite</remote-id>
+ <remote-id type="pypi">tlslite</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/tlslite/tlslite-0.4.3-r2.ebuild b/dev-python/tlslite/tlslite-0.4.3-r2.ebuild
new file mode 100644
index 000000000000..5596ca44d1cc
--- /dev/null
+++ b/dev-python/tlslite/tlslite-0.4.3-r2.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1 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/ https://pypi.python.org/pypi/tlslite https://github.com/trevp/tlslite"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${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=""
+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/
+}
diff --git a/dev-python/tlslite/tlslite-0.4.9-r2.ebuild b/dev-python/tlslite/tlslite-0.4.9-r2.ebuild
new file mode 100644
index 000000000000..f4b5a7a47c55
--- /dev/null
+++ b/dev-python/tlslite/tlslite-0.4.9-r2.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+
+inherit distutils-r1 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/ https://pypi.python.org/pypi/tlslite https://github.com/trevp/tlslite"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD public-domain"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+#Refrain for now setting IUSE test and deps of test given test restricted.
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+RESTRICT="test"
+
+# Tests still hang
+python_test() {
+ cd tests || die
+ "${PYTHON}" "${S}"/tests/tlstest.py client localhost:4443 . || die
+ "${PYTHON}" "${S}"/tests/tlstest.py server localhost:4442 . || die
+}
+
+pkg_postinst() {
+ optfeature "GMP support" dev-python/gmpy
+}