diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-python/tlslite | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/tlslite')
-rw-r--r-- | dev-python/tlslite/Manifest | 3 | ||||
-rw-r--r-- | dev-python/tlslite/metadata.xml | 21 | ||||
-rw-r--r-- | dev-python/tlslite/tlslite-0.4.9-r2.ebuild | 34 |
3 files changed, 58 insertions, 0 deletions
diff --git a/dev-python/tlslite/Manifest b/dev-python/tlslite/Manifest new file mode 100644 index 000000000000..c7dd990ca0da --- /dev/null +++ b/dev-python/tlslite/Manifest @@ -0,0 +1,3 @@ +DIST tlslite-0.4.9.tar.gz 105402 BLAKE2B a26d0938dc713b701d6079263e46f44b23814708d04fef8698bd0b736e10d58ceb5e99dcb1ecdd66a225fc0a697aafdbb97ed46522229d3af7f760daf23f4d86 SHA512 5473139b5730ef946efa139fbb9adb3333dc67f33f03305f4a6d3b6eaaefce950ba93bc1053362fc31b9d68ff9f6deceb9449987e29ff44035b818d7310edbea +EBUILD tlslite-0.4.9-r2.ebuild 879 BLAKE2B 08059b4f1dc671675bc011e2a9b481e4a2b47ea416edb6566cdfd84de5225ad23b4786a9c8da2130b694e60c0188cbe7b5767f2b8f5dc2ad3cf5b57e71ae05e4 SHA512 c3f9dd5b3741ac9ce716e47941759aef5054a1e7a0d23077ae8a153cee01bd45990a2046984e697c72307ad9cc135d542bfd93b4b6c188e17f5c95f6529e6f58 +MISC metadata.xml 862 BLAKE2B efac680351c088ebb5c54afec47d1ff6539eba67860a891dedcf142ea2bcd56ec53a9ea7b5f5f16f90c70807bdf563344efb14a3308463413962e57bb22a475e SHA512 1374c0176a6a8386e8123bf1be106431d616de1b70d4b4948327b3e8f20a5d346bb622a2b83389aca1a0eda3f33591e9327929f2a7c062f04af80618ed3b0b8f 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.9-r2.ebuild b/dev-python/tlslite/tlslite-0.4.9-r2.ebuild new file mode 100644 index 000000000000..f2f52b8240ed --- /dev/null +++ b/dev-python/tlslite/tlslite-0.4.9-r2.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) + +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.org/project/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 +} |