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 00000000..faa41035 --- /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 00000000..a9127d1f --- /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" ) +