summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElvis Pranskevichus <elvis@magic.io>2017-10-02 14:30:33 -0400
committerPatrice Clement <monsieurp@gentoo.org>2017-10-03 00:02:57 +0200
commit1c3ea49bbb806700a29de86b32383dca1fecca34 (patch)
tree02fd3161ceae940bd6af00d43e4f456e779c26e9 /dev-python/uvloop
parentapp-editors/atom: version bump to 1.20.1. (diff)
downloadgentoo-1c3ea49bbb806700a29de86b32383dca1fecca34.tar.gz
gentoo-1c3ea49bbb806700a29de86b32383dca1fecca34.tar.bz2
gentoo-1c3ea49bbb806700a29de86b32383dca1fecca34.zip
dev-python/uvloop: version bump to 0.8.1.
Package-Manager: Portage-2.3.8, Repoman-2.3.1 Closes: https://bugs.gentoo.org/601918 Closes: https://github.com/gentoo/gentoo/pull/5839
Diffstat (limited to 'dev-python/uvloop')
-rw-r--r--dev-python/uvloop/Manifest3
-rw-r--r--dev-python/uvloop/uvloop-0.4.20.ebuild54
-rw-r--r--dev-python/uvloop/uvloop-0.8.1.ebuild (renamed from dev-python/uvloop/uvloop-0.5.3.ebuild)17
3 files changed, 8 insertions, 66 deletions
diff --git a/dev-python/uvloop/Manifest b/dev-python/uvloop/Manifest
index 6f976f31f1f6..1489b91a9cd4 100644
--- a/dev-python/uvloop/Manifest
+++ b/dev-python/uvloop/Manifest
@@ -1,2 +1 @@
-DIST uvloop-0.4.20.tar.gz 1781445 SHA256 b39afbc242eafff7471337468b28c4164f55d130f8194e0fb4a8b2eb71cb1298 SHA512 c7f540da9d29340fb0cc0e589143fabc12d4c185d4e7eff889e3434478f445e98c703fd9024af66b6b121bce3c860be2b4da497a6492a43df5891e86b6007d7e WHIRLPOOL 1d50e45cf92fca4b983222038e6524359e7160d0ac87b89265dd298d0fa9f33527c5a839752e6cc0a2d34c6eb27f0919474085616885c779b876a8638a0c5ba1
-DIST uvloop-0.5.3.tar.gz 1913999 SHA256 ee402d2df4bf092f6f036637db41bb2896f7c6832adf91dbb6dfec0e6dfa6aee SHA512 7902557e865f6b346edcf7c71ea06e6970b7844d47c0d46aee23bb6ec8cae292a0d77960fc5fcaf0c4b47220c1f5f76b92546ccf94694f07adfd04474355a638 WHIRLPOOL 05c509e832a6866016c7187ac2ec71b9f1c2493a2d57594be341144a2ccfa9c478c2525bb0d348cc2e960350eab2969a46dd6fb3c57cc88e0fa489459590869e
+DIST uvloop-0.8.1.tar.gz 1719488 SHA256 923b6e4982aea14a23565e6e62335a691b7a939bcc6802fbafa2a146ee3e8ac3 SHA512 45dba019a0dacaae6c2a732c3f321402c19c945b0d9fa35b9cae28f888a54c7d4b322b450c55a6cf21c1aac01dc49b90eccdffbf4cb8c812a5ec8b9e805e01e4 WHIRLPOOL 3f5352ceab17f487278827278a85885cd6c075781411b7e38e11914af3d63aa0e09fdd6e65cea30baa80d236405f0ead9fc84b3a050012f2e2cad1ce56ca3b39
diff --git a/dev-python/uvloop/uvloop-0.4.20.ebuild b/dev-python/uvloop/uvloop-0.4.20.ebuild
deleted file mode 100644
index 14a3808c002a..000000000000
--- a/dev-python/uvloop/uvloop-0.4.20.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python3_5 )
-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"
-
-RDEPEND=">=dev-libs/libuv-1.8.0:="
-DEPEND="
- ${RDEPEND}
- dev-python/setuptools[${PYTHON_USEDEP}]
- doc? (
- >=dev-python/alabaster-0.6.2[${PYTHON_USEDEP}]
- >=dev-python/cython-0.23.4[${PYTHON_USEDEP}]
- dev-python/sphinx[${PYTHON_USEDEP}]
- )
-"
-
-src_prepare() {
- cat <<EOF >> setup.cfg || die
-[build_ext]
-use-system-libuv=1
-EOF
- distutils-r1_src_prepare
-}
-
-python_compile_all() {
- use doc && emake docs
-}
-
-python_test() {
- esetup.py test
-}
-
-python_install_all() {
- if use examples; then
- insinto "/usr/share/doc/${PF}"
- docompress -x "/usr/share/doc/${PF}/examples"
- doins -r examples
- fi
-
- use doc && local HTML_DOCS=( docs/_build/html/. )
- distutils-r1_python_install_all
-}
diff --git a/dev-python/uvloop/uvloop-0.5.3.ebuild b/dev-python/uvloop/uvloop-0.8.1.ebuild
index 598e6773af0f..fd91fc222426 100644
--- a/dev-python/uvloop/uvloop-0.5.3.ebuild
+++ b/dev-python/uvloop/uvloop-0.8.1.ebuild
@@ -1,12 +1,13 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
+# $Id$
EAPI=6
-PYTHON_COMPAT=( python3_5 )
+PYTHON_COMPAT=( python{3_5,3_6} )
inherit distutils-r1
-DESCRIPTION="Ultra-fast implementation of asyncio event loop on top of libuv."
+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"
@@ -15,18 +16,14 @@ LICENSE="MIT"
SLOT="0"
IUSE="doc examples test"
-RDEPEND=">=dev-libs/libuv-1.9.0:="
+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/cython-0.24.1[${PYTHON_USEDEP}]
dev-python/sphinx[${PYTHON_USEDEP}]
)
- test? (
- >=dev-python/cython-0.24.1[${PYTHON_USEDEP}]
- )
"
python_prepare_all() {
@@ -39,7 +36,7 @@ EOF
}
python_compile_all() {
- use doc && emake docs
+ use doc && esetup.py build_ext --inplace build_sphinx
}
python_test() {
@@ -48,6 +45,6 @@ python_test() {
python_install_all() {
use examples && dodoc -r examples
- use doc && local HTML_DOCS=( docs/_build/html/. )
+ use doc && local HTML_DOCS=( "${BUILD_DIR}/sphinx/html/." )
distutils-r1_python_install_all
}