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/irc/
Date: Tue, 27 Sep 2016 10:17:46
Message-Id: 1474971439.bdb53726feed915e3fa58db5355e47ea0266519f.monsieurp@gentoo
1 commit: bdb53726feed915e3fa58db5355e47ea0266519f
2 Author: Louis Sautier <sautier.louis <AT> gmail <DOT> com>
3 AuthorDate: Tue Sep 27 09:51:19 2016 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 27 10:17:19 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bdb53726
7
8 dev-python/irc: bump to 15.0.1.
9
10 Package-Manager: portage-2.3.1
11
12 Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
13
14 dev-python/irc/Manifest | 1 +
15 dev-python/irc/irc-15.0.1.ebuild | 61 ++++++++++++++++++++++++++++++++++++++++
16 2 files changed, 62 insertions(+)
17
18 diff --git a/dev-python/irc/Manifest b/dev-python/irc/Manifest
19 index cc22de4..aaa9586 100644
20 --- a/dev-python/irc/Manifest
21 +++ b/dev-python/irc/Manifest
22 @@ -1,2 +1,3 @@
23 DIST irc-11.0.1.zip 120409 SHA256 25d818003780fd6d62e93d3ff32580e74c0e527c6290ae14b47af50b58339233 SHA512 fca2fe653d921c9ec65dfb2b072c16658d88d4a22ae91568b1eaf722a90179920808db157f587afe6de0055af3a04a528eb9022122e539150e5635f05b58f466 WHIRLPOOL dd9b9e8624e6bd86d27fead1f3006a2b80832d236ad21f50c147c07a27b2cc4933d68efd951dece44398dbc0299b73ba7a98e4eff2061d0e3a8a01833518113b
24 DIST irc-14.2.2.tar.gz 86511 SHA256 4844413b09c8bba226bb86c7269b07ea6c925ecfc5a98758e72849e90895d828 SHA512 daa5f6ed2a5b3f0bdbd58f638d1f90a8b06769c9b7874c577cdb0753aea4a7947c82857aa1ebe6b396ea605756fa176bcca4a9d8e4bf28ef53609f96fccd0e7b WHIRLPOOL 85609370a800b82d59c46595eb5f18dcd33936469cd10692f13a6e2a519406e3725239fbddb5dc0f8d20ad7ab0c6bdb7c8770a9b5f44a86e67c430b3e5287710
25 +DIST irc-15.0.1.tar.gz 81773 SHA256 ea2ee4b27f821f10423790f1e87d0d3b81e1b81a23cc1f6c2f005a4236583a88 SHA512 249071491c96001344081d3b7b93dcc9d8360a0b03d73d2e1bee1f046c9a82762fd4d51c00fc358843629d17e16b9533228bea09787ea41e3ffc7fc03164fe8f WHIRLPOOL f5aff2f506778c45b826380581e367e1a026f3faee5329756feb9d612c19821f3eeab222ab28c1559f0044644e92bf23e89d15de45c91f34eee4da2e7219fab6
26
27 diff --git a/dev-python/irc/irc-15.0.1.ebuild b/dev-python/irc/irc-15.0.1.ebuild
28 new file mode 100644
29 index 00000000..683a6e5
30 --- /dev/null
31 +++ b/dev-python/irc/irc-15.0.1.ebuild
32 @@ -0,0 +1,61 @@
33 +# Copyright 1999-2016 Gentoo Foundation
34 +# Distributed under the terms of the GNU General Public License v2
35 +# $Id$
36 +
37 +EAPI=6
38 +PYTHON_COMPAT=( python{2_7,3_4,3_5} )
39 +
40 +inherit distutils-r1
41 +
42 +DESCRIPTION="IRC client framework written in Python"
43 +HOMEPAGE="https://github.com/jaraco/irc"
44 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
45 +
46 +LICENSE="MIT"
47 +SLOT="0"
48 +KEYWORDS="~amd64 ~x86"
49 +IUSE="doc examples test"
50 +
51 +RDEPEND="
52 + dev-python/six[${PYTHON_USEDEP}]
53 + dev-python/jaraco-collections[${PYTHON_USEDEP}]
54 + dev-python/jaraco-stream[${PYTHON_USEDEP}]
55 + dev-python/jaraco-text[${PYTHON_USEDEP}]
56 + >=dev-python/jaraco-itertools-1.8[${PYTHON_USEDEP}]
57 + dev-python/jaraco-logging[${PYTHON_USEDEP}]
58 + >=dev-python/jaraco-functools-1.5[${PYTHON_USEDEP}]
59 + dev-python/more-itertools[${PYTHON_USEDEP}]
60 + dev-python/pytz[${PYTHON_USEDEP}]
61 + >=dev-python/tempora-1.6[${PYTHON_USEDEP}]
62 +"
63 +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
64 + >=dev-python/setuptools_scm-1.9[${PYTHON_USEDEP}]
65 + test? (
66 + ${RDEPEND}
67 + >=dev-python/pytest-2.8[${PYTHON_USEDEP}]
68 + dev-python/pytest-runner[${PYTHON_USEDEP}]
69 + dev-python/backports-unittest-mock[${PYTHON_USEDEP}]
70 + )
71 + doc? (
72 + dev-python/sphinx[${PYTHON_USEDEP}]
73 + dev-python/rst-linker[${PYTHON_USEDEP}]
74 + )
75 +"
76 +
77 +python_compile_all() {
78 + use doc && esetup.py build_sphinx
79 +}
80 +
81 +python_test() {
82 + py.test || die "Tests failed with ${EPYTHON}"
83 +}
84 +
85 +python_install_all() {
86 + if use examples; then
87 + insinto "/usr/share/doc/${PF}"
88 + docompress -x "/usr/share/doc/${PF}/scripts"
89 + doins -r scripts
90 + fi
91 + use doc && local HTML_DOCS=( "${BUILD_DIR}"/sphinx/html/. )
92 + distutils-r1_python_install_all
93 +}