From c8d60dada2ec8eb48b2d2b290cd6683ccec40e39 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 13 Feb 2021 21:41:11 +0000 Subject: gentoo (valentine's day) resync : 14.02.2021 --- dev-python/uvloop/Manifest | 2 ++ dev-python/uvloop/uvloop-0.15.0.ebuild | 54 ++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 dev-python/uvloop/uvloop-0.15.0.ebuild (limited to 'dev-python/uvloop') diff --git a/dev-python/uvloop/Manifest b/dev-python/uvloop/Manifest index 1527cc1fc454..443bf6846c96 100644 --- a/dev-python/uvloop/Manifest +++ b/dev-python/uvloop/Manifest @@ -1,4 +1,6 @@ AUX uvloop-0.14.0-asyncio-test-hang.patch 1175 BLAKE2B e97cef3438a603249e8b1977b2a7f3d3b636d3f38c59c4075c01fc0660b6afd01a64528655bd9bc9c0845fbd88c86f8b0ad5571052a02e511587fe73d87547fe SHA512 e8219cc1c644c220d7626790be5fc701ac27486689b7bc57b70dae818c51be8b3d1e524684cbaf6aaa2de199159b1af9534a913e7d8f1c209b87e3a2208dfb43 DIST uvloop-0.14.0.tar.gz 2009041 BLAKE2B 4d984f5023e0974ee68795e6cf29585cee32345e8a682611a72dbc36efefdfeeecb3c22aecb581ff7e5ae826345e1de3b0e6c7a6e8319829b0b3cbe5a180ed11 SHA512 8a9a64c91fd34c65a1c40d8d76ad7dbd7e959d45188ef81cdc06995312f52106b2c648a504d51b64b470e54dfc4854dcf9a05cafa3d4a42f1bc1e31766114d61 +DIST uvloop-0.15.0.tar.gz 2086686 BLAKE2B 34bbce58f47a4da1c8fa27011c4a39e864ba1959affe2584eb33425ddb3fbb3a59783e3cf771669cdb1343299bbc7a7a8a14f4bfcbf2b694ac71b9fc055341d1 SHA512 fcb18511a1af89c11cd4022ecb6e8893915a159b34a054bab5e82da3b9127b886ab3e785a98ca39e612cdf2b18abd95bd7fc505808cccf9d4ac281f5a0b6e0d7 EBUILD uvloop-0.14.0.ebuild 1278 BLAKE2B d759bf6d27d570be076ea992a6d93ea5a75cf9e3295b1d13477b8d08116181d28bcb6a09638ef3a0b82269c0b138c72076670d7d173f7ce1fd5a08b595ce5e77 SHA512 7953803d55a77561bb6e8a901125ca9b22cad1d3afeff20e8ec9c9a30e169e2a447639487664e70852ebdaf2c2a0a36e90798d900af2ca63c2b4b8e545845faa +EBUILD uvloop-0.15.0.ebuild 1157 BLAKE2B 948e1db3e3b64ec8ce9301d0c0b0841595f3b6d7bb5272af8c4a86eb521a1e8cc34c973591fc2613ed8fffd7edde7760ea479cf1c0a013f7e45b6da56a3ccdad SHA512 744ad8ed3417d2ec51ea9ca0cd3fafd00deb46f2f15992d69af9e8824d9b66f83dc4c8526be8ed8f363b6b7187c514f2fe051bc056325d6ca4c273336b80e376 MISC metadata.xml 526 BLAKE2B 1c5d5ffd994ab70aae22d5a6312708a168f89790a5999d81ccf4eab552e910fd063ace9f1e51d1b477ed96604a23265f586781feb7b692d1f49a0c502d59dd3a SHA512 e38163d8b0b033c5825d4f977cb58bc727195a7e577eb229a70c4b089943ad99f4c8121e0d4e209db51fe2977ffad2f88b8bfae3baedd853eabefabb15578b85 diff --git a/dev-python/uvloop/uvloop-0.15.0.ebuild b/dev-python/uvloop/uvloop-0.15.0.ebuild new file mode 100644 index 000000000000..1ce46b172f5b --- /dev/null +++ b/dev-python/uvloop/uvloop-0.15.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) +inherit distutils-r1 + +DESCRIPTION="Ultra-fast implementation of asyncio event loop on top of libuv" +HOMEPAGE="https://github.com/magicstack/uvloop" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +KEYWORDS="~amd64 ~x86" +LICENSE="MIT" +SLOT="0" +IUSE="doc examples" + +RDEPEND=">=dev-libs/libuv-1.11.0:=" +DEPEND="${RDEPEND}" +BDEPEND=" + doc? ( + >=dev-python/alabaster-0.6.2[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + ) + test? ( + dev-python/aiohttp[${PYTHON_USEDEP}] + dev-python/pyopenssl[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests setup.py + +python_prepare_all() { + cat <> setup.cfg || die +[build_ext] +use-system-libuv=1 +EOF + + # flake8 only + rm tests/test_sourcecode.py || die + + distutils-r1_python_prepare_all +} + +python_compile_all() { + use doc && esetup.py build_ext --inplace build_sphinx +} + +python_install_all() { + use examples && dodoc -r examples + use doc && local HTML_DOCS=( "${BUILD_DIR}/sphinx/html/." ) + distutils-r1_python_install_all +} -- cgit v1.2.3