Diff uvloop-0.8.1 with a uvloop-0.12.2
/usr/portage/dev-python/uvloop/uvloop-0.12.2.ebuild 2019-07-15 18:09:00.000000000 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2017 Gentoo Foundation |
|
1 |
# Copyright 1999-2019 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 |
EAPI=6 |
|
4 |
EAPI=7 |
|
5 | 5 | |
6 |
PYTHON_COMPAT=( python{3_5,3_6} ) |
|
6 |
PYTHON_COMPAT=( python{3_5,3_6,3_7} ) |
|
7 | 7 |
inherit distutils-r1 |
8 | 8 | |
9 | 9 |
DESCRIPTION="Ultra-fast implementation of asyncio event loop on top of libuv" |
10 | 10 |
HOMEPAGE="https://github.com/magicstack/uvloop" |
11 | 11 |
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
12 |
KEYWORDS="~amd64 ~x86" |
|
13 | 12 | |
13 |
KEYWORDS="~amd64 ~x86" |
|
14 | 14 |
LICENSE="MIT" |
15 | 15 |
SLOT="0" |
16 | 16 |
IUSE="doc examples test" |
17 |
RESTRICT="!test? ( test )" |
|
17 | 18 | |
18 | 19 |
RDEPEND=">=dev-libs/libuv-1.11.0:=" |
19 | 20 |
DEPEND=" |
... | ... | |
23 | 24 |
>=dev-python/alabaster-0.6.2[${PYTHON_USEDEP}] |
24 | 25 |
dev-python/sphinx[${PYTHON_USEDEP}] |
25 | 26 |
) |
27 |
test? ( dev-python/pyopenssl[${PYTHON_USEDEP}] ) |
|
26 | 28 |
" |
27 | 29 | |
28 | 30 |
python_prepare_all() { |
29 |
cat <<EOF >> setup.cfg |
|
31 |
cat <<EOF >> setup.cfg || die |
|
30 | 32 |
[build_ext] |
31 | 33 |
use-system-libuv=1 |
32 | 34 |
EOF |
33 | 35 | |
36 |
# failing not only for us |
|
37 |
sed -i -e 's:test_write_pipe(:_&:' tests/test_pipes.py || die |
|
38 | ||
34 | 39 |
distutils-r1_python_prepare_all |
35 | 40 |
} |
36 | 41 |