Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/uvloop/
Date: Mon, 02 Oct 2017 22:03:28
Message-Id: 1506981777.1c3ea49bbb806700a29de86b32383dca1fecca34.monsieurp@gentoo
1 commit: 1c3ea49bbb806700a29de86b32383dca1fecca34
2 Author: Elvis Pranskevichus <elvis <AT> magic <DOT> io>
3 AuthorDate: Mon Oct 2 18:30:33 2017 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 2 22:02:57 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c3ea49b
7
8 dev-python/uvloop: version bump to 0.8.1.
9
10 Package-Manager: Portage-2.3.8, Repoman-2.3.1
11 Closes: https://bugs.gentoo.org/601918
12 Closes: https://github.com/gentoo/gentoo/pull/5839
13
14 dev-python/uvloop/Manifest | 3 +-
15 dev-python/uvloop/uvloop-0.4.20.ebuild | 54 ----------------------
16 .../{uvloop-0.5.3.ebuild => uvloop-0.8.1.ebuild} | 17 +++----
17 3 files changed, 8 insertions(+), 66 deletions(-)
18
19 diff --git a/dev-python/uvloop/Manifest b/dev-python/uvloop/Manifest
20 index 6f976f31f1f..1489b91a9cd 100644
21 --- a/dev-python/uvloop/Manifest
22 +++ b/dev-python/uvloop/Manifest
23 @@ -1,2 +1 @@
24 -DIST uvloop-0.4.20.tar.gz 1781445 SHA256 b39afbc242eafff7471337468b28c4164f55d130f8194e0fb4a8b2eb71cb1298 SHA512 c7f540da9d29340fb0cc0e589143fabc12d4c185d4e7eff889e3434478f445e98c703fd9024af66b6b121bce3c860be2b4da497a6492a43df5891e86b6007d7e WHIRLPOOL 1d50e45cf92fca4b983222038e6524359e7160d0ac87b89265dd298d0fa9f33527c5a839752e6cc0a2d34c6eb27f0919474085616885c779b876a8638a0c5ba1
25 -DIST uvloop-0.5.3.tar.gz 1913999 SHA256 ee402d2df4bf092f6f036637db41bb2896f7c6832adf91dbb6dfec0e6dfa6aee SHA512 7902557e865f6b346edcf7c71ea06e6970b7844d47c0d46aee23bb6ec8cae292a0d77960fc5fcaf0c4b47220c1f5f76b92546ccf94694f07adfd04474355a638 WHIRLPOOL 05c509e832a6866016c7187ac2ec71b9f1c2493a2d57594be341144a2ccfa9c478c2525bb0d348cc2e960350eab2969a46dd6fb3c57cc88e0fa489459590869e
26 +DIST uvloop-0.8.1.tar.gz 1719488 SHA256 923b6e4982aea14a23565e6e62335a691b7a939bcc6802fbafa2a146ee3e8ac3 SHA512 45dba019a0dacaae6c2a732c3f321402c19c945b0d9fa35b9cae28f888a54c7d4b322b450c55a6cf21c1aac01dc49b90eccdffbf4cb8c812a5ec8b9e805e01e4 WHIRLPOOL 3f5352ceab17f487278827278a85885cd6c075781411b7e38e11914af3d63aa0e09fdd6e65cea30baa80d236405f0ead9fc84b3a050012f2e2cad1ce56ca3b39
27
28 diff --git a/dev-python/uvloop/uvloop-0.4.20.ebuild b/dev-python/uvloop/uvloop-0.4.20.ebuild
29 deleted file mode 100644
30 index 14a3808c002..00000000000
31 --- a/dev-python/uvloop/uvloop-0.4.20.ebuild
32 +++ /dev/null
33 @@ -1,54 +0,0 @@
34 -# Copyright 1999-2016 Gentoo Foundation
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=6
38 -
39 -PYTHON_COMPAT=( python3_5 )
40 -inherit distutils-r1
41 -
42 -DESCRIPTION="Ultra-fast implementation of asyncio event loop on top of libuv."
43 -HOMEPAGE="https://github.com/magicstack/uvloop"
44 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
45 -KEYWORDS="~amd64 ~x86"
46 -
47 -LICENSE="MIT"
48 -SLOT="0"
49 -IUSE="doc examples test"
50 -
51 -RDEPEND=">=dev-libs/libuv-1.8.0:="
52 -DEPEND="
53 - ${RDEPEND}
54 - dev-python/setuptools[${PYTHON_USEDEP}]
55 - doc? (
56 - >=dev-python/alabaster-0.6.2[${PYTHON_USEDEP}]
57 - >=dev-python/cython-0.23.4[${PYTHON_USEDEP}]
58 - dev-python/sphinx[${PYTHON_USEDEP}]
59 - )
60 -"
61 -
62 -src_prepare() {
63 - cat <<EOF >> setup.cfg || die
64 -[build_ext]
65 -use-system-libuv=1
66 -EOF
67 - distutils-r1_src_prepare
68 -}
69 -
70 -python_compile_all() {
71 - use doc && emake docs
72 -}
73 -
74 -python_test() {
75 - esetup.py test
76 -}
77 -
78 -python_install_all() {
79 - if use examples; then
80 - insinto "/usr/share/doc/${PF}"
81 - docompress -x "/usr/share/doc/${PF}/examples"
82 - doins -r examples
83 - fi
84 -
85 - use doc && local HTML_DOCS=( docs/_build/html/. )
86 - distutils-r1_python_install_all
87 -}
88
89 diff --git a/dev-python/uvloop/uvloop-0.5.3.ebuild b/dev-python/uvloop/uvloop-0.8.1.ebuild
90 similarity index 72%
91 rename from dev-python/uvloop/uvloop-0.5.3.ebuild
92 rename to dev-python/uvloop/uvloop-0.8.1.ebuild
93 index 598e6773af0..fd91fc22242 100644
94 --- a/dev-python/uvloop/uvloop-0.5.3.ebuild
95 +++ b/dev-python/uvloop/uvloop-0.8.1.ebuild
96 @@ -1,12 +1,13 @@
97 -# Copyright 1999-2016 Gentoo Foundation
98 +# Copyright 1999-2017 Gentoo Foundation
99 # Distributed under the terms of the GNU General Public License v2
100 +# $Id$
101
102 EAPI=6
103
104 -PYTHON_COMPAT=( python3_5 )
105 +PYTHON_COMPAT=( python{3_5,3_6} )
106 inherit distutils-r1
107
108 -DESCRIPTION="Ultra-fast implementation of asyncio event loop on top of libuv."
109 +DESCRIPTION="Ultra-fast implementation of asyncio event loop on top of libuv"
110 HOMEPAGE="https://github.com/magicstack/uvloop"
111 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
112 KEYWORDS="~amd64 ~x86"
113 @@ -15,18 +16,14 @@ LICENSE="MIT"
114 SLOT="0"
115 IUSE="doc examples test"
116
117 -RDEPEND=">=dev-libs/libuv-1.9.0:="
118 +RDEPEND=">=dev-libs/libuv-1.11.0:="
119 DEPEND="
120 ${RDEPEND}
121 dev-python/setuptools[${PYTHON_USEDEP}]
122 doc? (
123 >=dev-python/alabaster-0.6.2[${PYTHON_USEDEP}]
124 - >=dev-python/cython-0.24.1[${PYTHON_USEDEP}]
125 dev-python/sphinx[${PYTHON_USEDEP}]
126 )
127 - test? (
128 - >=dev-python/cython-0.24.1[${PYTHON_USEDEP}]
129 - )
130 "
131
132 python_prepare_all() {
133 @@ -39,7 +36,7 @@ EOF
134 }
135
136 python_compile_all() {
137 - use doc && emake docs
138 + use doc && esetup.py build_ext --inplace build_sphinx
139 }
140
141 python_test() {
142 @@ -48,6 +45,6 @@ python_test() {
143
144 python_install_all() {
145 use examples && dodoc -r examples
146 - use doc && local HTML_DOCS=( docs/_build/html/. )
147 + use doc && local HTML_DOCS=( "${BUILD_DIR}/sphinx/html/." )
148 distutils-r1_python_install_all
149 }