diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-07-19 22:05:27 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-07-19 22:05:27 +0100 |
commit | 121ed4eec41fbf03e1998d09eede1bf449da63b9 (patch) | |
tree | ce9341d77d1507f67d4a3a1472da9011b5baa0a8 /dev-python/uvloop | |
parent | dd762ff83c330186ee2ede002e08b2f780cddd51 (diff) |
gentoo resync : 19.07.2019
Diffstat (limited to 'dev-python/uvloop')
-rw-r--r-- | dev-python/uvloop/Manifest | 4 | ||||
-rw-r--r-- | dev-python/uvloop/metadata.xml | 3 | ||||
-rw-r--r-- | dev-python/uvloop/uvloop-0.12.2.ebuild | 54 |
3 files changed, 60 insertions, 1 deletions
diff --git a/dev-python/uvloop/Manifest b/dev-python/uvloop/Manifest index 70ec1054a05b..0bc3d457787d 100644 --- a/dev-python/uvloop/Manifest +++ b/dev-python/uvloop/Manifest @@ -1,3 +1,5 @@ +DIST uvloop-0.12.2.tar.gz 1922375 BLAKE2B 49d17dc0899d59975d02dcc0b56e53e506e83a7f02ba7e9021abf92e8518b9904905c0175c3e2612a10f6f6d7a69505bfb024c00debf01823dcfb597966ab1a9 SHA512 59e34c83946facf70e839831dcd61fb7a8cf22df48d2ede6de84edbd4af5e789b2b404c8b7835e9a8cd7be706ad370bde2a290beab72c5d7411d35d07ee7974c DIST uvloop-0.8.1.tar.gz 1719488 BLAKE2B eba6e15c8eb46286b6e8df6043280ec8b423f097fcf2d4d5be657ff18f0fb97ce83e5268a138cf46700f54b7040353b6588dc4b0140e11f38d7da2e26b1ff120 SHA512 45dba019a0dacaae6c2a732c3f321402c19c945b0d9fa35b9cae28f888a54c7d4b322b450c55a6cf21c1aac01dc49b90eccdffbf4cb8c812a5ec8b9e805e01e4 +EBUILD uvloop-0.12.2.ebuild 1187 BLAKE2B 19863628a45b97d7033efb15817b602dd6b83481c03fe3d47765b4027413c1fd2ab326f5f3096449131f684183c0a0ce1dfa73b51541ec3c78c07f279dff4358 SHA512 9dbd7934e45e04f06736994bc4b92ee0d36f8458402764332a22311435cecdbc46e398f7885bb7a933ffcc6502405bcdbe4f4180107857b83c6aafb127b96bb8 EBUILD uvloop-0.8.1.ebuild 1011 BLAKE2B 1b346d72198adca94752c7bdc3612b2c29b5607cba21c1eb7dce812939b3cf6c4d4042eccbab0e7a192dd2c6f8f989765b116bd0a71ca50b59c997ada30c4047 SHA512 49e5aefbf9e4084e00a941ed316fe86372ce98ae02ec7c1c09e8d808e9a30e9f84d316bbbfdf8f670dcc3d04a042ca0522d65ab44bd67f6f5e23f3663a227947 -MISC metadata.xml 700 BLAKE2B 72504f2e608de619c0288610639c44a69048f1ce0cc7caf5b7a1febef1bfbe9ddf4ecea9dbcca97ace3b91428dcf5db8d6eabe49de24e4e28d778c5d0e4bd103 SHA512 c4fd3a1a846bdd4e30272fb923a69da10c97a6cf41a26c255c29412ce0d49da2bb962fb0232c55a98721217de882435260ce4f658bc38b7474d19264eea9ab6d +MISC metadata.xml 783 BLAKE2B 2fb3d516b870a609a0e8b4ea47e888313e0e692a3455a7d6e2088dfe0e40b38000e4c0c83a15229993ad596e923f8040a5ba07e15ce4df96ae22d7c22383cac0 SHA512 c8445c26cafefe41be4ca84129f3ddaa53843120009d49a46ae181c105a7d636f59fbbbfeb723c5b4f29855d8520535d5d82cd0038512cf7374412759a1cc4ff diff --git a/dev-python/uvloop/metadata.xml b/dev-python/uvloop/metadata.xml index 5b546cf7d7a5..605410286c3e 100644 --- a/dev-python/uvloop/metadata.xml +++ b/dev-python/uvloop/metadata.xml @@ -9,6 +9,9 @@ <email>proxy-maint@gentoo.org</email> <name>Proxy Maintainers</name> </maintainer> + <maintainer type="project"> + <email>python@gentoo.org</email> + </maintainer> <longdescription> uvloop is a fast, drop-in replacement of the built-in asyncio event loop. uvloop is implemented in Cython and uses libuv under diff --git a/dev-python/uvloop/uvloop-0.12.2.ebuild b/dev-python/uvloop/uvloop-0.12.2.ebuild new file mode 100644 index 000000000000..4b6fbd02211b --- /dev/null +++ b/dev-python/uvloop/uvloop-0.12.2.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python{3_5,3_6,3_7} ) +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 test" +RESTRICT="!test? ( test )" + +RDEPEND=">=dev-libs/libuv-1.11.0:=" +DEPEND=" + ${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( + >=dev-python/alabaster-0.6.2[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + ) + test? ( dev-python/pyopenssl[${PYTHON_USEDEP}] ) +" + +python_prepare_all() { + cat <<EOF >> setup.cfg || die +[build_ext] +use-system-libuv=1 +EOF + + # failing not only for us + sed -i -e 's:test_write_pipe(:_&:' tests/test_pipes.py || die + + distutils-r1_python_prepare_all +} + +python_compile_all() { + use doc && esetup.py build_ext --inplace build_sphinx +} + +python_test() { + esetup.py test +} + +python_install_all() { + use examples && dodoc -r examples + use doc && local HTML_DOCS=( "${BUILD_DIR}/sphinx/html/." ) + distutils-r1_python_install_all +} |