Gentoo Archives: gentoo-commits

From: Matthew Thode <prometheanfire@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pexpect/
Date: Mon, 28 Jan 2019 20:06:51
Message-Id: 1548651080.99e8fc7599a9bc7d7b1219f627a84bb922df6676.prometheanfire@gentoo
1 commit: 99e8fc7599a9bc7d7b1219f627a84bb922df6676
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 28 04:51:03 2019 +0000
4 Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 28 04:51:20 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99e8fc75
7
8 dev-python/pexpect: 4.6.0 bump
9
10 Package-Manager: Portage-2.3.51, Repoman-2.3.12
11 Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>
12
13 dev-python/pexpect/Manifest | 1 +
14 dev-python/pexpect/pexpect-4.6.0.ebuild | 40 +++++++++++++++++++++++++++++++++
15 2 files changed, 41 insertions(+)
16
17 diff --git a/dev-python/pexpect/Manifest b/dev-python/pexpect/Manifest
18 index f4c41a9c88c..b55e25ad351 100644
19 --- a/dev-python/pexpect/Manifest
20 +++ b/dev-python/pexpect/Manifest
21 @@ -1 +1,2 @@
22 DIST pexpect-4.2.1.tar.gz 143980 BLAKE2B b5cb9c7847eabdf8778bddc6b208520edb9b3611d7a981fae6e371fa6deafebe142ba8361e3a1d21187cd692576c91d732f3def75e19989296f50b2a9fb4d4c6 SHA512 796474c87559cb9f4e2dfe72564d70c75e1aac4f57c4f3e4033a56c8842a48380ae0d5fafdad7f1ea6718b25c272fe4a611a59db44e69afb1f2bbf7e00256261
23 +DIST pexpect-4.6.0.tar.gz 148966 BLAKE2B 0ed1a3c31133bf618e4c75ea099efaa9bda9e2b7f92f46c54ad553ecc56487e5415b750334376a95599ada53e17e91efe7d4b65ad80bb4f6a1cf9d655a3c9685 SHA512 9a2b1ef19d885e69cfd17ba0519581f782574019010043e66d8b68f98ac86b359f4a1ca42f8bb0059a5dfdd43275ad93531c076cc0ac2049e109408961b46bbd
24
25 diff --git a/dev-python/pexpect/pexpect-4.6.0.ebuild b/dev-python/pexpect/pexpect-4.6.0.ebuild
26 new file mode 100644
27 index 00000000000..02f1b078ff9
28 --- /dev/null
29 +++ b/dev-python/pexpect/pexpect-4.6.0.ebuild
30 @@ -0,0 +1,40 @@
31 +# Copyright 1999-2019 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
35 +
36 +PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} pypy pypy3 )
37 +PYTHON_REQ_USE="threads(+)"
38 +
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="Python module for spawning child apps and responding to expected patterns"
42 +HOMEPAGE="https://pexpect.readthedocs.io/ https://pypi.org/project/pexpect/ https://github.com/pexpect/pexpect/"
43 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
44 +
45 +LICENSE="MIT"
46 +SLOT="0"
47 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
48 +IUSE="doc examples test"
49 +
50 +RDEPEND=">=dev-python/ptyprocess-0.5[${PYTHON_USEDEP}]"
51 +DEPEND="
52 + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
53 + test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
54 +
55 +python_compile_all() {
56 + use doc && emake -C doc html
57 +}
58 +
59 +python_test() {
60 + py.test tests || die "Tests fail with ${EPYTHON}"
61 +}
62 +
63 +python_install_all() {
64 + use doc && local HTML_DOCS=( doc/_build/html/. )
65 + if use examples; then
66 + dodoc -r examples
67 + docompress -x /usr/share/doc/${PF}/examples
68 + fi
69 + distutils-r1_python_install_all
70 +}