From e23ca93af3622aa818220f863681e14a232b4106 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Fri, 26 Feb 2016 14:23:58 +0100 Subject: [PATCH] dev-python/python-eventlib: initial import of version 0.2.1 --- .../python-eventlib-0.2.1-libressl.patch | 14 +++++++++++ .../python-eventlib-0.2.1.exheres-0 | 23 +++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 packages/dev-python/python-eventlib/files/python-eventlib-0.2.1-libressl.patch create mode 100644 packages/dev-python/python-eventlib/python-eventlib-0.2.1.exheres-0 diff --git a/packages/dev-python/python-eventlib/files/python-eventlib-0.2.1-libressl.patch b/packages/dev-python/python-eventlib/files/python-eventlib-0.2.1-libressl.patch new file mode 100644 index 0000000..faa4103 --- /dev/null +++ b/packages/dev-python/python-eventlib/files/python-eventlib-0.2.1-libressl.patch @@ -0,0 +1,14 @@ +From: Julian Ospald +Date: Tue Sep 8 01:22:40 UTC 2015 +Subject: fix compatibility with libressl + +--- a/eventlib/green/socket.py ++++ b/eventlib/green/socket.py +@@ -89,7 +89,6 @@ + else: + # some constants the SSL module exports but not in __all__ + from eventlib.green.ssl import (RAND_add, +- RAND_egd, + RAND_status, + SSL_ERROR_ZERO_RETURN, + SSL_ERROR_WANT_READ, diff --git a/packages/dev-python/python-eventlib/python-eventlib-0.2.1.exheres-0 b/packages/dev-python/python-eventlib/python-eventlib-0.2.1.exheres-0 new file mode 100644 index 0000000..a9127d1 --- /dev/null +++ b/packages/dev-python/python-eventlib/python-eventlib-0.2.1.exheres-0 @@ -0,0 +1,23 @@ +# Copyright 2016 Julian Ospald +# Distributed under the terms of the GNU General Public License v2 + +require setup-py [ import=distutils blacklist="3" ] + +SUMMARY="Coroutine-based networking library" +HOMEPAGE="http://sipsimpleclient.org" +DOWNLOADS="http://download.ag-projects.com/SipClient/${PNV}.tar.gz" + +LICENCES="MIT" +SLOT="0" +PLATFORMS="~amd64 ~x86" +MYOPTIONS="" + + +DEPENDENCIES=" + run: + dev-python/greenlet[python_abis:*(-)?] + net-twisted/TwistedCore[python_abis:*(-)?] +" + +DEFAULT_SRC_PREPARE_PATCHES=( "${FILES}/${PNV}-libressl.patch" ) +