1 |
commit: 6d47c0fb3aae856fb762500e8b2b4fb0e10fa8e5 |
2 |
Author: Patrick Lauer <patrick <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 3 16:04:50 2016 +0000 |
4 |
Commit: Patrick Lauer <patrick <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 3 16:07:56 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d47c0fb |
7 |
|
8 |
dev-python/txaio: Bump |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
|
12 |
dev-python/txaio/Manifest | 1 + |
13 |
dev-python/txaio/txaio-2.2.0.ebuild | 49 +++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 50 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/txaio/Manifest b/dev-python/txaio/Manifest |
17 |
index fd0ee65..570690e 100644 |
18 |
--- a/dev-python/txaio/Manifest |
19 |
+++ b/dev-python/txaio/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST txaio-1.0.0.zip 33656 SHA256 4b38afc5d416b23426ed4e7f582d949317df5173c50efec999f2cc97ed368a57 SHA512 7ca543721139e3da96e86d3d2feafbd0901df7a48585f43f46407a17c226e24bbd18841c50bf911c3f208d614c9e32bfc0a7bee37b03b9ddea87a8a47e940572 WHIRLPOOL d11ea36f27d26566a5dcce83751a723ac2e33c51ecc7019b95d66014850e94fc820ae44b36cbbe3c5a3f5b86de666a2b59cec29194ca3d4b9d39908bb47b2556 |
22 |
+DIST txaio-2.2.0.tar.gz 33225 SHA256 5aa536f69d7a52bfe528863e783f20a70138269ed97d134222fdab6afa0dfe14 SHA512 13c4345fa0e64e86cecfa56e3cfa02ed088eed37dee582cc62b35b9e0984041a458ee837cdcb4ae56966e102f504b0cce8750d5ba8240c83815ca076d2deb979 WHIRLPOOL e75c5fc76f294d17e156b58fe69bb4719bc36a3966367b5e930bb9fef8e026d9a107ea0d883e1f7be569f4dfd0d85b472500a87c51fc012987c80f6d9352e774 |
23 |
|
24 |
diff --git a/dev-python/txaio/txaio-2.2.0.ebuild b/dev-python/txaio/txaio-2.2.0.ebuild |
25 |
new file mode 100644 |
26 |
index 0000000..ebf436d |
27 |
--- /dev/null |
28 |
+++ b/dev-python/txaio/txaio-2.2.0.ebuild |
29 |
@@ -0,0 +1,49 @@ |
30 |
+# Copyright 1999-2015 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+# $Id$ |
33 |
+ |
34 |
+EAPI=5 |
35 |
+PYTHON_COMPAT=( python{2_7,3_3,3_4} ) |
36 |
+ |
37 |
+RESTRICT="test" |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="a helper library for writing code unmodified on both Twisted and asyncio" |
42 |
+HOMEPAGE="https://github.com/tavendo/txaio" |
43 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="MIT" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~arm ~x86" |
48 |
+IUSE="doc test" |
49 |
+ |
50 |
+RDEPEND="dev-python/six[${PYTHON_USEDEP}] |
51 |
+ >=dev-python/pep8-1.6.2[${PYTHON_USEDEP}]" |
52 |
+ |
53 |
+DEPEND="app-arch/unzip |
54 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
55 |
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] |
56 |
+ dev-python/alabaster[${PYTHON_USEDEP}] ) |
57 |
+ test? ( >=dev-python/pytest-2.6.4[${PYTHON_USEDEP}] |
58 |
+ >=dev-python/pytest-cov-1.8.1[${PYTHON_USEDEP}] )" |
59 |
+ |
60 |
+python_prepare() { |
61 |
+ # https://github.com/tavendo/txaio/issues/3 |
62 |
+ cp -r "${FILESDIR}"/util.py test || die |
63 |
+ |
64 |
+ distutils-r1_python_prepare |
65 |
+} |
66 |
+ |
67 |
+python_compile_all() { |
68 |
+ use doc && emake -C doc html |
69 |
+} |
70 |
+ |
71 |
+python_test() { |
72 |
+ py.test || die "Tests failed under ${EPYTHON}" |
73 |
+} |
74 |
+ |
75 |
+python_install_all() { |
76 |
+ use doc && HTML_DOCS=( doc/_build/html/. ) |
77 |
+ distutils-r1_python_install_all |
78 |
+} |