summaryrefslogtreecommitdiff
path: root/dev-python/gevent
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/gevent')
-rw-r--r--dev-python/gevent/Manifest2
-rw-r--r--dev-python/gevent/gevent-1.4.0.ebuild67
2 files changed, 69 insertions, 0 deletions
diff --git a/dev-python/gevent/Manifest b/dev-python/gevent/Manifest
index 32a3e1f180b7..5163085ca907 100644
--- a/dev-python/gevent/Manifest
+++ b/dev-python/gevent/Manifest
@@ -3,9 +3,11 @@ DIST gevent-1.2.1.tar.gz 2808619 BLAKE2B 2e3c15adb33401012951f0f93fe7f17c1c7597b
DIST gevent-1.2.2.tar.gz 3108671 BLAKE2B f80df00f58ae2f65aa7f65fc9eac5cbf63a0084f24ccebc71ba9bafba72cd48fff2e7d0b1d8de7939dc669d7708e120fc14077cc845fe3ce212d6a80a42b5158 SHA512 1e2dd544cffea62ee32de2e4066b3f4c121058a1211b89da281ec3882f3763217fe2d346ce38b66e27df9f59cfe05bb137d1608a681dd10eaf06a33dc22f531c
DIST gevent-1.3.5.tar.gz 4609085 BLAKE2B 55cb4111c9eaf9bbf636c9f1ef8d695def15a92e5591a0c441aae27f41a126487b37b8cc7a701a43453109f24114e3a0c584dff4b9b202018fd8334f0bae8e8d SHA512 4fd6d66e62437c859d653de4e981500fb3a025e6608b91fbb3d5ba4d8f0bff7cce980c03484c1c160a608427979ca763a6660d40ffcb45df4abe5f152ce65d1c
DIST gevent-1.3.7.tar.gz 4614437 BLAKE2B 43d50c36fba2bedf41a7b33d38180f096b18846146953fa68325155f4a3cb6edb7352b9bb4cff5c7eca7a06ac25dc5b3e82a04545704fd0d6f43e9839a8749a1 SHA512 6dba487a9527eb352dc6a5f57120bf7973da655b3a331cad6637271b626c6e9e5439b20ee8abd9035ecb36e5259c99c69dea5ecdb8fa7ad0dbe28876c4d746d8
+DIST gevent-1.4.0.tar.gz 5169595 BLAKE2B 0c78f67bc94d15419b8eadf8825d9657c6a7a82756308216e1ca94d5465c25836cb736b8b370a12d1003eb8614effd4110d8ed47ee2b0d7febc2bda4038adc0a SHA512 6771f4f2932055270e4f5a79ae815e93fd0f471defa7f437dc84907ea8b44672e05ae5eb6958f8d90580b2471785dce4044d9d1bbea0dd0c34c1381d88af0344
EBUILD gevent-1.0.1.ebuild 1463 BLAKE2B adffbb36780aebdf3f577e739dd41861f1f563ef06fa09668b6ce8dad0d8401b6c6173a77f9b15e69b2735ebe317b5bf2b6f680980f3e293ea68c12e34673470 SHA512 f64ef864e05898bb2cf45683d7193f5f618d5aa8781ba8c40952d771b608431f095cbf3d5abba50b08c680f1ab0d0e55742e615a3c086fa62419154aa2f7564f
EBUILD gevent-1.2.1.ebuild 1831 BLAKE2B 18501c089850b5a01b61abd9a23adb50ee44390da0b9b609dbeb2e1c4527a69e809272d94b992d08c7c52de7fceb393e356e3c37a7583d604ba5c340ad7b4d29 SHA512 209a468635cd1c67036cde289dee61f900b121080fbd3fa3592262e0e455f5f9664c1da61391363521d9f48bceb2e70de376c8696980503db32a934924a2f72e
EBUILD gevent-1.2.2.ebuild 1842 BLAKE2B 4a3df21765214b39d1f2b9724f933c5a423dbdca89ccdf05858df4fa08385e279c5084f5079005a35a387e09faabc8c295ea2d477e66dfb5dbd53ff38e7a09b0 SHA512 bdf22fb998632af60cf2a30161a8d70f6a9541cb9b9bd10c4aeb484b7bbbc2347b18bcbed59c580ef8fb5c9eae493f6a39a9be0509bcf05dc1586058fc85fad2
EBUILD gevent-1.3.5.ebuild 1779 BLAKE2B 8e8f5b8fb3846daceafe41094a2efa7ca73ef34d03e8037406521de3a06b938b4bd58f43e9b35774e5b2a446854fccfb4e4afe4130df6667bf877c83b32654f6 SHA512 3a6d3f20594ede48a876e3a4c0bbb99b8a4bf6e87b910e0337510dcd879268336005e9b831d5a0269f2f9cb5b378ef3320746a410b7f4c1921f29cecb31253e5
EBUILD gevent-1.3.7.ebuild 1777 BLAKE2B 04977e8b830347446b2ceb406891ea30f8a6a22acf5bf43ab319037ddde4f5a7f3d3ee24f31a4c4e79f2d3fc11dbb9972c48d6157329d9dfe5887838923b9a54 SHA512 3201001a405b4d06e56af485cd34dbf043a13dd6afff8e1e69af5c70eca8e7715c65c0b27d824a12fe47762652e0b1be06b7f0cdfd31a78e38521c467529d22a
+EBUILD gevent-1.4.0.ebuild 1707 BLAKE2B 946eea8f29a3c504275835aa268ff2195fb8b1790ec1f964ea593416d04d8e046b45188f1995d74d2ec533bb5f0d55ce386b4d1b1533fc6c465581587cbb9ddf SHA512 149a2814af3eaa9a6a4b5ca148d9dd82c2f2678d575535b37d906df7fca1f3e96a37a8b967a74e99f84f02bf0e386bb65c99b2803e9bcc90b0901c9235aa1baf
MISC metadata.xml 374 BLAKE2B 87fe7f375b08bf4991954e018241ce4b150365409df516a12b79d221a037d718342dae60461663fac1d5af34458d352e287901e15fe68b1074927680055c204a SHA512 443f847333d35cd55f9c33624664569ecc8c2d0b7c74a358a716e0e133072edb0f29abfc36d6fb446db6890ae1319ad9d719a6e65e2bb35f9c9e9259379241fc
diff --git a/dev-python/gevent/gevent-1.4.0.ebuild b/dev-python/gevent/gevent-1.4.0.ebuild
new file mode 100644
index 000000000000..71125420db03
--- /dev/null
+++ b/dev-python/gevent/gevent-1.4.0.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python2_7 python3_{6,7,8} )
+PYTHON_REQ_USE="ssl(+),threads(+)"
+
+inherit distutils-r1 flag-o-matic
+
+DESCRIPTION="Coroutine-based network library"
+HOMEPAGE="http://gevent.org/ https://pypi.org/project/gevent/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~s390 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc examples"
+
+RDEPEND="
+ >=dev-libs/libev-4.23
+ >=net-dns/c-ares-1.12
+ >=dev-python/greenlet-0.4.14
+ virtual/python-greenlet[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
+
+# Tests take long and fail terribly a few times.
+# It also seems that they require network access.
+RESTRICT="test"
+
+python_prepare_all() {
+ export LIBEV_EMBED="false"
+ export CARES_EMBED="false"
+ export EMBED="false"
+
+ distutils-r1_python_prepare_all
+}
+
+python_configure_all() {
+ append-flags -fno-strict-aliasing
+}
+
+python_compile_all() {
+ use doc && emake -C doc html
+}
+
+python_test() {
+ cd src/greentest || die
+
+ GEVENT_RESOLVER=thread \
+ "${PYTHON}" testrunner.py --config known_failures.py || die
+ GEVENT_RESOLVER=ares GEVENTARES_SERVERS=8.8.8.8 \
+ "${PYTHON}" testrunner.py --config known_failures.py \
+ --ignore tests_that_dont_use_resolver.txt || die
+ GEVENT_FILE=thread \
+ "${PYTHON}" testrunner.py --config known_failures.py $(grep -l subprocess test_*.py) || die
+}
+
+python_install_all() {
+ local DOCS=( AUTHORS README.rst )
+ use doc && local HTML_DOCS=( doc/_build/html/. )
+ use examples && dodoc -r examples
+
+ distutils-r1_python_install_all
+}