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/pexpect/
Date: Thu, 03 Nov 2016 21:01:03
Message-Id: 1478206854.d4a53343a37670bb57d3bf9ba4c36c7a21634f46.monsieurp@gentoo
1 commit: d4a53343a37670bb57d3bf9ba4c36c7a21634f46
2 Author: Mathy Vanvoorden <mathy <AT> vanvoorden <DOT> be>
3 AuthorDate: Thu Nov 3 18:45:14 2016 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Thu Nov 3 21:00:54 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4a53343
7
8 dev-python/pexpect: version bump to 4.2.1, EAPI bump.
9
10 Removed the old 4.0.1 because it was marked unstable and pretty old.
11 Removed the removal of broken test-cases.
12 Removed ~amd64-fbsd as dependency ptyprocess also doesn't have it.
13
14 Gentoo-Bug: https://bugs.gentoo.org/527006
15 Package-Manager: portage-2.3.0
16 Closes: https://github.com/gentoo/gentoo/pull/2731
17
18 Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
19
20 dev-python/pexpect/Manifest | 2 +-
21 .../{pexpect-4.0.1.ebuild => pexpect-4.2.1.ebuild} | 21 +++++++--------------
22 2 files changed, 8 insertions(+), 15 deletions(-)
23
24 diff --git a/dev-python/pexpect/Manifest b/dev-python/pexpect/Manifest
25 index a8e98a9..8343d14 100644
26 --- a/dev-python/pexpect/Manifest
27 +++ b/dev-python/pexpect/Manifest
28 @@ -1,2 +1,2 @@
29 DIST pexpect-3.3.tar.gz 132330 SHA256 dfea618d43e83cfff21504f18f98019ba520f330e4142e5185ef7c73527de5ba SHA512 66cc501f1c7bb8ba0be4cdc0db840629f51416dc54ae44dc770adb38f1a385116b0a8b9bc7f1cc1447f05ede36ef1b519f5c4e710e6cb736c923ecfc87497cfa WHIRLPOOL e708e722d4e2598958f8d724b84148608e9a53041077b1a1a2af84d5281e11f0c6c050ee88489eebc48bd5556c22e0fe9386680d34b1941ddf21539296629513
30 -DIST pexpect-4.0.1.tar.gz 143657 SHA256 232795ebcaaf2e120396dbbaa3a129eda51757eeaae1911558f4ef8ee414fc6c SHA512 c2476f977964379faa3ecef1bc4800f3a87bd6cdd9e2d52e4e4f33a4060a97bb54f0770dfb5804d5a863eaf6ddef6b11be1d24f1617cc4837015202868ca7e87 WHIRLPOOL 91bc9e259f547b34d6a8847f3154601487e5f4d0ce1d7698078eb653fc12209c4d708f902e00cfb483f3872ce42063d65d8900dcaf9c727421f5e8b3d730e076
31 +DIST pexpect-4.2.1.tar.gz 143980 SHA256 3d132465a75b57aa818341c6521392a06cc660feb3988d7f1074f39bd23c9a92 SHA512 796474c87559cb9f4e2dfe72564d70c75e1aac4f57c4f3e4033a56c8842a48380ae0d5fafdad7f1ea6718b25c272fe4a611a59db44e69afb1f2bbf7e00256261 WHIRLPOOL 35176b56bdee1d7066705925c54014c33e18679e40f9182f15a223190904a6fead235c0d676806cc55a3f0f64666f446182056a29b27217ccc8990ecd9b8184e
32
33 diff --git a/dev-python/pexpect/pexpect-4.0.1.ebuild b/dev-python/pexpect/pexpect-4.2.1.ebuild
34 similarity index 65%
35 rename from dev-python/pexpect/pexpect-4.0.1.ebuild
36 rename to dev-python/pexpect/pexpect-4.2.1.ebuild
37 index 2a6a1ea..755fc5d 100644
38 --- a/dev-python/pexpect/pexpect-4.0.1.ebuild
39 +++ b/dev-python/pexpect/pexpect-4.2.1.ebuild
40 @@ -1,8 +1,8 @@
41 -# Copyright 1999-2015 Gentoo Foundation
42 +# Copyright 1999-2016 Gentoo Foundation
43 # Distributed under the terms of the GNU General Public License v2
44 # $Id$
45
46 -EAPI=5
47 +EAPI=6
48
49 PYTHON_COMPAT=( python2_7 python3_{4,5} pypy pypy3 )
50 PYTHON_REQ_USE="threads(+)"
51 @@ -19,7 +19,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
52
53 LICENSE="MIT"
54 SLOT="0"
55 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
56 +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"
57 IUSE="doc examples test"
58
59 RDEPEND=">=dev-python/ptyprocess-0.5[${PYTHON_USEDEP}]"
60 @@ -27,16 +27,6 @@ DEPEND="
61 doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
62 test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
63
64 -python_prepare_all() {
65 - # tests failing
66 - # https://github.com/pexpect/pexpect/issues/282
67 - # https://github.com/pexpect/pexpect/issues/283
68 - # https://github.com/pexpect/pexpect/issues/284
69 - rm tests/test_maxcanon.py tests/test_async.py || die
70 - touch .coveragerc || die
71 - distutils-r1_python_prepare_all
72 -}
73 -
74 python_compile_all() {
75 use doc && emake -C doc html
76 }
77 @@ -47,6 +37,9 @@ python_test() {
78
79 python_install_all() {
80 use doc && local HTML_DOCS=( doc/_build/html/. )
81 - use examples && local EXAMPLES=( examples/. )
82 + if use examples; then
83 + dodoc -r examples
84 + docompress -x /usr/share/doc/${PF}/examples
85 + fi
86 distutils-r1_python_install_all
87 }