aboutsummaryrefslogtreecommitdiff
path: root/dev-python/eventlet
diff options
context:
space:
mode:
authorJulien Roy <julien@jroy.ca>2024-01-03 21:20:01 -0500
committerJulien Roy <julien@jroy.ca>2024-01-03 21:20:01 -0500
commitc9d2ef64fe9990d65a647e7ddd2fded44a3aff6c (patch)
treea00f503db7ddc6f8f50d9d3055e20c22119bf967 /dev-python/eventlet
parentd11e5f911af4f9678f38d40a9a24beb3015c300b (diff)
downloadMrRoy-Overlay-c9d2ef64fe9990d65a647e7ddd2fded44a3aff6c.tar.gz
MrRoy-Overlay-c9d2ef64fe9990d65a647e7ddd2fded44a3aff6c.tar.bz2
MrRoy-Overlay-c9d2ef64fe9990d65a647e7ddd2fded44a3aff6c.zip
moved from guru
Diffstat (limited to 'dev-python/eventlet')
-rw-r--r--dev-python/eventlet/Manifest2
-rw-r--r--dev-python/eventlet/eventlet-0.33.3.ebuild35
-rw-r--r--dev-python/eventlet/eventlet-0.34.2.ebuild35
-rw-r--r--dev-python/eventlet/metadata.xml22
4 files changed, 94 insertions, 0 deletions
diff --git a/dev-python/eventlet/Manifest b/dev-python/eventlet/Manifest
new file mode 100644
index 0000000..06a9d19
--- /dev/null
+++ b/dev-python/eventlet/Manifest
@@ -0,0 +1,2 @@
+DIST eventlet-0.33.3.gh.tar.gz 554578 BLAKE2B 19bcd7a5adc2ef24f2637bfd9b19e68a9a268ebb7791cc9c419d9da88e5860c4cbbf6ecbaa0f3c300246584082622e6dab7ab75374f7d54f3c4a65661e22dbfd SHA512 b2e1818c7b6134be4020d2b4315bbb3db795960df76da08a490e0d952549eafb477800c884e7a99493146c1ac082aed5fb87c7e2882ee468ea42b5cc26b8517f
+DIST eventlet-0.34.2.tar.gz 539756 BLAKE2B 9090f5647bfe23d92e9a8cfe5281129192406817706223f121c6c33b6defae5a0dd5ab62c81db0bc456286452d68e927189d4737a866a76d48d74334da7b68af SHA512 4115db66dcf95e1f2f31d90de8bfefc6335ebb8a20275c4e599468e56faf854a359cd79193911095d2f27713fad28f4bdf92724fdee5fe1f8cef2b73a5621254
diff --git a/dev-python/eventlet/eventlet-0.33.3.ebuild b/dev-python/eventlet/eventlet-0.33.3.ebuild
new file mode 100644
index 0000000..8438bfa
--- /dev/null
+++ b/dev-python/eventlet/eventlet-0.33.3.ebuild
@@ -0,0 +1,35 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="Concurrent networking library for Python"
+HOMEPAGE="https://github.com/eventlet/eventlet/"
+SRC_URI="https://github.com/eventlet/eventlet/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ dev-python/dnspython[${PYTHON_USEDEP}]
+ dev-python/greenlet[${PYTHON_USEDEP}]
+ dev-python/six[${PYTHON_USEDEP}]
+ test? ( dev-python/pyopenssl[${PYTHON_USEDEP}] )
+"
+DEPEND="${RDEPEND}"
+
+distutils_enable_tests nose
+
+python_test() {
+ # These tests are also failing upstream
+ nosetests -d -v \
+ --exclude=test_018b_http_10_keepalive_framing \
+ --exclude=test_017_ssl_zeroreturnerror \
+ --exclude=test_patcher_existing_locks_locked || die
+}
diff --git a/dev-python/eventlet/eventlet-0.34.2.ebuild b/dev-python/eventlet/eventlet-0.34.2.ebuild
new file mode 100644
index 0000000..9ae4609
--- /dev/null
+++ b/dev-python/eventlet/eventlet-0.34.2.ebuild
@@ -0,0 +1,35 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Concurrent networking library for Python"
+HOMEPAGE="https://github.com/eventlet/eventlet/
+ https://pypi.org/project/eventlet/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ dev-python/dnspython[${PYTHON_USEDEP}]
+ dev-python/greenlet[${PYTHON_USEDEP}]
+ dev-python/six[${PYTHON_USEDEP}]
+ test? ( dev-python/pyopenssl[${PYTHON_USEDEP}] )
+"
+DEPEND="${RDEPEND}"
+
+distutils_enable_tests pytest
+
+# https://github.com/eventlet/eventlet/issues/821
+EPYTEST_DESELECT=(
+ tests/greenio_test.py::TestGreenSocket::test_full_duplex
+ tests/greenio_test.py::TestGreenSocket::test_invalid_connection
+ tests/greenio_test.py::TestGreenSocket::test_nonblocking_accept_mark_as_reopened
+)
diff --git a/dev-python/eventlet/metadata.xml b/dev-python/eventlet/metadata.xml
new file mode 100644
index 0000000..4f9ca9d
--- /dev/null
+++ b/dev-python/eventlet/metadata.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <name>Julien Roy</name>
+ <email>julien@jroy.ca</email>
+ </maintainer>
+ <longdescription>
+Eventlet is a concurrent networking library for Python that allows you to change how you run your code, not how you write it.
+
+It uses epoll or libevent for highly scalable non-blocking I/O. Coroutines ensure that the developer uses a blocking style of programming that is similar to threading, but provide the benefits of non-blocking I/O. The event dispatch is implicit, which means you can easily use Eventlet from the Python interpreter, or as a small part of a larger application.
+
+It's easy to get started using Eventlet, and easy to convert existing applications to use it. Start off by looking at the examples, common design patterns, and the list of basic API primitives.
+ </longdescription>
+ <upstream>
+ <changelog>https://github.com/eventlet/eventlet/blob/master/NEWS</changelog>
+ <doc>http://eventlet.net/doc</doc>
+ <bugs-to>https://github.com/eventlet/eventlet/issues</bugs-to>
+ <remote-id type="github">eventlet/eventlet</remote-id>
+ <remote-id type="pypi">eventlet</remote-id>
+ </upstream>
+</pkgmetadata>