summaryrefslogtreecommitdiff
path: root/dev-python/python-eventlib
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-python/python-eventlib
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/python-eventlib')
-rw-r--r--dev-python/python-eventlib/Manifest4
-rw-r--r--dev-python/python-eventlib/files/python-eventlib-0.2.1-libressl.patch14
-rw-r--r--dev-python/python-eventlib/metadata.xml15
-rw-r--r--dev-python/python-eventlib/python-eventlib-0.2.1.ebuild26
4 files changed, 59 insertions, 0 deletions
diff --git a/dev-python/python-eventlib/Manifest b/dev-python/python-eventlib/Manifest
new file mode 100644
index 000000000000..9a6ac61322c7
--- /dev/null
+++ b/dev-python/python-eventlib/Manifest
@@ -0,0 +1,4 @@
+AUX python-eventlib-0.2.1-libressl.patch 532 BLAKE2B 5319b61c9b8edde6840714c62563c5101e21830808d762655fe39b770aadb86bb74f9c1f978719e0639eb0dc84575d205c3b08ddc851b9a38df5306770bc091f SHA512 5bb06ad2028653b0b9991c30b61c26b8b6ec83411c794cdc8a6bd43c1cba06475e306352b0684d8ea61550b21181e79d1a0274ab2fa490d7f044ed323443cdbf
+DIST python-eventlib-0.2.1.tar.gz 189314 BLAKE2B 81cb958813c28f2617e02cc5f6e5c60aadf4fea219bf8fd408b9aa8e346769f5ad8906271c0cd0053ac98e27129328aaa41382b87863c9d1887a5169f0524b92 SHA512 f1ca3c6eb54677068ec209386f09c695c141b08e148475ee3cc69e667dd96af3637a66660e9105a195620f3bde10d4b18087612c501764d52413982c2721e1a6
+EBUILD python-eventlib-0.2.1.ebuild 539 BLAKE2B 96f039435ab58c9e168dc8e146fef9390e588aed4ac922fef9c67cd92410fcfff44fc32e7a50b82676f164bc0554ee1cd9cc91b56fe13f0fbde59c3ecb6a9185 SHA512 b7bdc82948a3b592b9555f9a63872747bf9fa166ba35da9d0656dbab8a4f3f1ea4bfdd8ca12bc8779aaf11becdb4946a38b885e15d6a6a1b083be0a7be1200b5
+MISC metadata.xml 565 BLAKE2B 624054486dcb48b0b42372b0874e5163361c274589276e4c5f932559a2c47d2c412cdc3aeba0081361fce18101f903bf330116888472013e45069a9f930e768e SHA512 9f75a7858c5b3fb18a2961a78d756afc71b69f2b0d9f1c4e13a0a1cc3b0dcbe70645eba631c1a1b57a0ce8b3f419432f00c5fe2f1052c4be6ddabe9d51ed945f
diff --git a/dev-python/python-eventlib/files/python-eventlib-0.2.1-libressl.patch b/dev-python/python-eventlib/files/python-eventlib-0.2.1-libressl.patch
new file mode 100644
index 000000000000..faa410352627
--- /dev/null
+++ b/dev-python/python-eventlib/files/python-eventlib-0.2.1-libressl.patch
@@ -0,0 +1,14 @@
+From: Julian Ospald <hasufell@gentoo.org>
+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/dev-python/python-eventlib/metadata.xml b/dev-python/python-eventlib/metadata.xml
new file mode 100644
index 000000000000..ee0b870b3c50
--- /dev/null
+++ b/dev-python/python-eventlib/metadata.xml
@@ -0,0 +1,15 @@
+<?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">
+ Eventlib is a networking library written in Python. It achieves
+ high scalability by using non-blocking io while at the same time
+ retaining high programmer usability by using coroutines to make
+ the non-blocking io operations appear blocking at the source code
+ level.
+ </longdescription>
+</pkgmetadata>
diff --git a/dev-python/python-eventlib/python-eventlib-0.2.1.ebuild b/dev-python/python-eventlib/python-eventlib-0.2.1.ebuild
new file mode 100644
index 000000000000..4e72a81a629a
--- /dev/null
+++ b/dev-python/python-eventlib/python-eventlib-0.2.1.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+PYTHON_REQ_USE="ssl"
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+DESCRIPTION="Coroutine-based networking library"
+HOMEPAGE="http://sipsimpleclient.org"
+SRC_URI="http://download.ag-projects.com/SipClient/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+IUSE=""
+
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ dev-python/greenlet[${PYTHON_USEDEP}]
+ dev-python/twisted-core[${PYTHON_USEDEP}]
+"
+
+PATCHES=( "${FILESDIR}/${P}-libressl.patch" )