diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-10-15 13:50:34 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-10-15 13:50:34 +0100 |
commit | 7b0230b9f0a5cbd2779e7b25d57df8c33b6d0a88 (patch) | |
tree | a6a3e9599958059e99a9753cffba162ceb14b9b9 /dev-python/gevent | |
parent | afc11599d81c08d253ed16222206ccd408d6c3cf (diff) |
gentoo auto-resync : 15:10:2022 - 13:50:34
Diffstat (limited to 'dev-python/gevent')
-rw-r--r-- | dev-python/gevent/Manifest | 4 | ||||
-rw-r--r-- | dev-python/gevent/gevent-21.12.0.ebuild | 2 | ||||
-rw-r--r-- | dev-python/gevent/gevent-22.10.1.ebuild | 97 |
3 files changed, 101 insertions, 2 deletions
diff --git a/dev-python/gevent/Manifest b/dev-python/gevent/Manifest index 8a643f31750f..c6d1216695e1 100644 --- a/dev-python/gevent/Manifest +++ b/dev-python/gevent/Manifest @@ -1,3 +1,5 @@ DIST gevent-21.12.0.tar.gz 6201851 BLAKE2B 8c02f42d6024e912e51754df876d4f4895acdf466f2400e9fdca69ad5c7c77df7ee05f3e4c2c1e1d5731c282b62d5c940d9ca6396c27d6fe6e8a0ec13013591c SHA512 805ddb475281b6c4c46cdf5a714915b6612512745121e7b153f3d33f3460135efa4994e0ff1601402d4f7b80d285cbfdc0d5d93799fbeb8ddbf2a52888cd91ad -EBUILD gevent-21.12.0.ebuild 2585 BLAKE2B 2de2f6474a750c8374c7ffecd8066071de0b7e798cd0725bfaf8ddb6a5298300ebd542e4eb52045dc335525a5e0b7cc73efda30eba8106853633b67c85d04330 SHA512 a37f3fbe5e351355de482c2aa8985f1f249dcad32bec12733759926e0844fd51f6d8077d62c40b9e78ab5705f593ef5a2cce697047e46ec710a969cbc9a64d07 +DIST gevent-22.10.1.tar.gz 6543407 BLAKE2B 5686a9b03d74b756b4b3d387eec5318a0edfa1de46d7c19266175111b02ecab85bc75f7b777cf708dcae58a04c564c2ec0488d19f8a8128563d38dc8b6f0606c SHA512 b91638a0e36e1e6fdc15886b78586660046134c18786bbbf2498b940abddad18e4200e0bfc759afd40b5d8304c2bb8ae131c39f7cf84c3b675a2f3d51ed261c6 +EBUILD gevent-21.12.0.ebuild 2579 BLAKE2B 5920efea2efbcc0b63d158a7aa7fcd3b3f41bfd829c865382ff8c19c7a5cd348b447396776a31bf300890625c4d4bc93365581ceced2e958d8d1bac7bf6a0faf SHA512 df185240e699f3087c295ebee863446f37f6bfd3b03eb4e8075db794078c635b02062fa28d3ecf3f9b76892b8acab83b38e7a3dc191da85ef9f8a84be998e9f7 +EBUILD gevent-22.10.1.ebuild 2432 BLAKE2B a8ae9da6e3e92d8bfe3eadc0ba897871d0fc6bc42853f3233a1431a1c799213ee7a36dbc69d47ff499565a4401ceae1aa141e474d6771754eab20cba52c2e712 SHA512 f01a3a64f07cc8b3d85e1ee191dc97920ffe9729a3841c3727c4ebb6cd9dbdd651c73300087c6410ea6afdc6dafce6d2ee8aaa76d6ff875394ef4e41c869831a MISC metadata.xml 375 BLAKE2B 684f4f58e0d1f61195c30baa6b962f877ce7243305feb39a60a0a3dbd34e1095194be9b148644914bc1fbb74ac3bd5a692fd90343ccb9b2ec7bffd518ddd2492 SHA512 84242102ecfed7551ec1e95d3dee7ef56e154db34e3eb3e8255974ea48e879220b0b38acffa61a760521a1278c5074a20c22426e18bd0530935fbd671a2ea60d diff --git a/dev-python/gevent/gevent-21.12.0.ebuild b/dev-python/gevent/gevent-21.12.0.ebuild index 1164989baa20..4176498801f8 100644 --- a/dev-python/gevent/gevent-21.12.0.ebuild +++ b/dev-python/gevent/gevent-21.12.0.ebuild @@ -4,7 +4,7 @@ EAPI=7 DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( pypy3 python3_{8..10} ) +PYTHON_COMPAT=( python3_{8..10} ) PYTHON_REQ_USE="ssl(+),threads(+)" inherit distutils-r1 flag-o-matic diff --git a/dev-python/gevent/gevent-22.10.1.ebuild b/dev-python/gevent/gevent-22.10.1.ebuild new file mode 100644 index 000000000000..f3074dd4d73f --- /dev/null +++ b/dev-python/gevent/gevent-22.10.1.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{8..11} ) +PYTHON_REQ_USE="ssl(+),threads(+)" + +inherit distutils-r1 + +DESCRIPTION="Coroutine-based network library" +HOMEPAGE=" + https://www.gevent.org/ + https://github.com/gevent/gevent/ + https://pypi.org/project/gevent/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" +IUSE="doc examples test" +RESTRICT="!test? ( test )" + +DEPEND=" + >=dev-libs/libev-4.31:= + dev-libs/libuv:= + >=net-dns/c-ares-1.12:= +" +RDEPEND="${DEPEND} + virtual/python-greenlet[${PYTHON_USEDEP}] + dev-python/zope-event[${PYTHON_USEDEP}] + dev-python/zope-interface[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/dnspython[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx doc + +python_prepare_all() { + export GEVENTSETUP_EMBED="false" + + distutils-r1_python_prepare_all +} + +python_test() { + # Just in case. + export GEVENTTEST_USE_RESOURCES=-network + + cd src/gevent/tests || die + + # Tests which need network but aren't marked as such + echo "test__getaddrinfo_import.py" >> tests_that_dont_use_resolver.txt || die + echo "test_socketqcqqrwns.py" >> tests_that_dont_use_resolver.txt || die + + # Test hangs (testPeek) + echo "test_socket.py" >> tests_that_dont_use_resolver.txt || die + + # TODO: figure out how to make them work and not hang + #GEVENT_RESOLVER=ares \ + # "${EPYTHON}" -m gevent.tests \ + # --verbose \ + # -uall,-network \ + # --config known_failures.py \ + # --ignore tests_that_dont_use_resolver.txt || die + GEVENT_RESOLVER=dnspython \ + "${EPYTHON}" -m gevent.tests \ + --verbose \ + -uall,-network \ + --config known_failures.py \ + --ignore tests_that_dont_use_resolver.txt || die + GEVENT_RESOLVER=thread \ + "${EPYTHON}" -m gevent.tests \ + --verbose \ + -uall,-network \ + --config known_failures.py \ + --ignore tests_that_dont_use_resolver.txt || die + GEVENT_FILE=thread \ + "${EPYTHON}" -m gevent.tests \ + --verbose \ + -uall,-network \ + --config known_failures.py \ + test__*subprocess*.py || die +} + +python_install_all() { + local DOCS=( AUTHORS README.rst ) + use examples && dodoc -r examples + + distutils-r1_python_install_all +} |