[gentoo-commits] repo/gentoo:master commit in: dev-python/pexpect/

2024-05-09 Thread Michał Górny
commit: ee9c3a11450ef4ea88008043bd32b9c0063e075e
Author: Michał Górny  gentoo  org>
AuthorDate: Thu May  9 16:26:01 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu May  9 16:48:10 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee9c3a11

dev-python/pexpect: Enable py3.13

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pexpect/pexpect-4.9.0.ebuild | 25 ++---
 1 file changed, 22 insertions(+), 3 deletions(-)

diff --git a/dev-python/pexpect/pexpect-4.9.0.ebuild 
b/dev-python/pexpect/pexpect-4.9.0.ebuild
index 46cbdc59f88f..a12292320218 100644
--- a/dev-python/pexpect/pexpect-4.9.0.ebuild
+++ b/dev-python/pexpect/pexpect-4.9.0.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} pypy3 )
+PYTHON_COMPAT=( python3_{10..13} pypy3 )
 PYTHON_REQ_USE="threads(+)"
 
 inherit distutils-r1 pypi
@@ -33,13 +33,32 @@ src_test() {
# workaround new readline defaults
echo "set enable-bracketed-paste off" > "${T}"/inputrc || die
local -x INPUTRC="${T}"/inputrc
+
+   distutils-r1_src_test
+}
+
+python_test() {
local EPYTEST_DESELECT=(
# flaky test on weaker arches
tests/test_performance.py
# requires zsh installed, not worth it
tests/test_replwrap.py::REPLWrapTestCase::test_zsh
+   # flaky
+   tests/test_env.py::TestCaseEnv::test_spawn_uses_env
)
-   distutils-r1_src_test
+
+   case ${EPYTHON} in
+   python3.13)
+   EPYTEST_DESELECT+=(
+   # TODO: changes in python3.13's prompt?
+   
tests/test_replwrap.py::REPLWrapTestCase::test_python
+   
tests/test_replwrap.py::REPLWrapTestCase::test_no_change_prompt
+   )
+   ;;
+   esac
+
+   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+   epytest
 }
 
 python_install_all() {



[gentoo-commits] repo/gentoo:master commit in: dev-python/pexpect/

2023-12-15 Thread Michał Górny
commit: d17cb3af7e1218863640d2c8393bb39bdd6f3ac3
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Dec 15 10:50:17 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Dec 15 10:52:33 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d17cb3af

dev-python/pexpect: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pexpect/Manifest   |  1 -
 dev-python/pexpect/pexpect-4.8.0_p20230402.ebuild | 52 ---
 2 files changed, 53 deletions(-)

diff --git a/dev-python/pexpect/Manifest b/dev-python/pexpect/Manifest
index 8ea51df2cd4c..13443088b210 100644
--- a/dev-python/pexpect/Manifest
+++ b/dev-python/pexpect/Manifest
@@ -1,2 +1 @@
-DIST pexpect-4.8.0_p20230402.gh.tar.gz 169420 BLAKE2B 
4780621f5876506c5ad2dbf03656d8c336d5aadef99b1ae99e841b5d0a945ab54177cb04a79b526e422cd4df7393c723000e4a28960bd5f57a5e0173b0a3bc69
 SHA512 
72cdf226ec5c7d60a10fbcecf81cd1ae422467652e104bb818908bf6d1a4a4bcadab9a06d58475a9609580d973956e18e2ab144ab13a0b700072474ff3087259
 DIST pexpect-4.9.0.tar.gz 166450 BLAKE2B 
a08e10deb9f21e49a04021d78dc1ff6c9eeded5825ef73b236c3dac725e6877a4fe74deaa6844c8aa4b1beab4b915d7612e682529c4ed97b364a737a1960b30f
 SHA512 
0e4b3a6978b94aee221ff23cd7bd771517e0e0f1a1a8b17f77f15bf78edd3130ad093d925b7d1e86fe6ba7eb956205d4c616b4e52b2fcfa1e944d4860dd7b3a0

diff --git a/dev-python/pexpect/pexpect-4.8.0_p20230402.ebuild 
b/dev-python/pexpect/pexpect-4.8.0_p20230402.ebuild
deleted file mode 100644
index 873535514786..
--- a/dev-python/pexpect/pexpect-4.8.0_p20230402.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} pypy3 )
-PYTHON_REQ_USE="threads(+)"
-
-inherit distutils-r1
-
-COMMIT="2532721644781543ca660e52d48a35bd93872fc1"
-
-DESCRIPTION="Python module for spawning child apps and responding to expected 
patterns"
-HOMEPAGE="
-   https://pexpect.readthedocs.io/
-   https://pypi.org/project/pexpect/
-   https://github.com/pexpect/pexpect/
-"
-SRC_URI="
-   https://github.com/pexpect/pexpect/archive/${COMMIT}.tar.gz
-   -> ${P}.gh.tar.gz
-"
-S="${WORKDIR}/${PN}-${COMMIT}"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos 
~x64-macos"
-IUSE="examples"
-
-RDEPEND="
-   >=dev-python/ptyprocess-0.5[${PYTHON_USEDEP}]
-"
-
-distutils_enable_tests pytest
-distutils_enable_sphinx doc \
-   dev-python/sphinxcontrib-github-alt
-
-src_test() {
-   # workaround new readline defaults
-   echo "set enable-bracketed-paste off" > "${T}"/inputrc || die
-   local -x INPUTRC="${T}"/inputrc
-   distutils-r1_src_test
-}
-
-python_install_all() {
-   if use examples; then
-   dodoc -r examples
-   docompress -x /usr/share/doc/${PF}/examples
-   fi
-   distutils-r1_python_install_all
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pexpect/

2023-12-15 Thread Arthur Zamarin
commit: f56eb9fe820bce284e7084a525f3d25ad2f53bcc
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Dec 15 10:38:24 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Dec 15 10:38:24 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f56eb9fe

dev-python/pexpect: Stabilize 4.9.0 ALLARCHES, #919998

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/pexpect/pexpect-4.9.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pexpect/pexpect-4.9.0.ebuild 
b/dev-python/pexpect/pexpect-4.9.0.ebuild
index ed1001b2380c..46cbdc59f88f 100644
--- a/dev-python/pexpect/pexpect-4.9.0.ebuild
+++ b/dev-python/pexpect/pexpect-4.9.0.ebuild
@@ -18,7 +18,7 @@ HOMEPAGE="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos 
~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos 
~x64-macos"
 IUSE="examples"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/pexpect/

2023-11-25 Thread Arthur Zamarin
commit: e5de7f34ed71cb138de4265e053ff52693e98021
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Nov 25 19:02:47 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Nov 25 19:02:47 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5de7f34

dev-python/pexpect: add 4.9.0

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/pexpect/Manifest |  1 +
 dev-python/pexpect/pexpect-4.9.0.ebuild | 51 +
 2 files changed, 52 insertions(+)

diff --git a/dev-python/pexpect/Manifest b/dev-python/pexpect/Manifest
index f26be5381a34..8ea51df2cd4c 100644
--- a/dev-python/pexpect/Manifest
+++ b/dev-python/pexpect/Manifest
@@ -1 +1,2 @@
 DIST pexpect-4.8.0_p20230402.gh.tar.gz 169420 BLAKE2B 
4780621f5876506c5ad2dbf03656d8c336d5aadef99b1ae99e841b5d0a945ab54177cb04a79b526e422cd4df7393c723000e4a28960bd5f57a5e0173b0a3bc69
 SHA512 
72cdf226ec5c7d60a10fbcecf81cd1ae422467652e104bb818908bf6d1a4a4bcadab9a06d58475a9609580d973956e18e2ab144ab13a0b700072474ff3087259
+DIST pexpect-4.9.0.tar.gz 166450 BLAKE2B 
a08e10deb9f21e49a04021d78dc1ff6c9eeded5825ef73b236c3dac725e6877a4fe74deaa6844c8aa4b1beab4b915d7612e682529c4ed97b364a737a1960b30f
 SHA512 
0e4b3a6978b94aee221ff23cd7bd771517e0e0f1a1a8b17f77f15bf78edd3130ad093d925b7d1e86fe6ba7eb956205d4c616b4e52b2fcfa1e944d4860dd7b3a0

diff --git a/dev-python/pexpect/pexpect-4.9.0.ebuild 
b/dev-python/pexpect/pexpect-4.9.0.ebuild
new file mode 100644
index ..ed1001b2380c
--- /dev/null
+++ b/dev-python/pexpect/pexpect-4.9.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
+PYTHON_REQ_USE="threads(+)"
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Python module for spawning child apps and responding to expected 
patterns"
+HOMEPAGE="
+   https://pexpect.readthedocs.io/
+   https://pypi.org/project/pexpect/
+   https://github.com/pexpect/pexpect/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos 
~x64-macos"
+IUSE="examples"
+
+RDEPEND="
+   >=dev-python/ptyprocess-0.5[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+distutils_enable_sphinx doc \
+   dev-python/sphinxcontrib-github-alt
+
+src_test() {
+   # workaround new readline defaults
+   echo "set enable-bracketed-paste off" > "${T}"/inputrc || die
+   local -x INPUTRC="${T}"/inputrc
+   local EPYTEST_DESELECT=(
+   # flaky test on weaker arches
+   tests/test_performance.py
+   # requires zsh installed, not worth it
+   tests/test_replwrap.py::REPLWrapTestCase::test_zsh
+   )
+   distutils-r1_src_test
+}
+
+python_install_all() {
+   if use examples; then
+   dodoc -r examples
+   docompress -x /usr/share/doc/${PF}/examples
+   fi
+   distutils-r1_python_install_all
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pexpect/, dev-python/pexpect/files/

2023-06-27 Thread Michał Górny
commit: 31373f95a21dbcf732a1c8eacba65779298e4149
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jun 27 11:59:10 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jun 27 11:59:10 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31373f95

dev-python/pexpect: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pexpect/Manifest|  1 -
 .../pexpect/files/pexpect-4.8.0-fix-PS1.patch  | 16 --
 dev-python/pexpect/files/pexpect-4.8.0-py311.patch | 67 --
 .../pexpect/files/pexpect-4.8.0-sphinx-3.patch | 25 
 dev-python/pexpect/pexpect-4.8.0-r3.ebuild | 50 
 5 files changed, 159 deletions(-)

diff --git a/dev-python/pexpect/Manifest b/dev-python/pexpect/Manifest
index 59920b3f9b8d..f26be5381a34 100644
--- a/dev-python/pexpect/Manifest
+++ b/dev-python/pexpect/Manifest
@@ -1,2 +1 @@
-DIST pexpect-4.8.0.tar.gz 157037 BLAKE2B 
742642bd6b9ec3f6cdfad054d4fd22db56b4a55b746d675c27a8cdf824ea749ec4589e296dffa08778195f3ccd20feb56bc0fd5212984396ea5aa0555c41ca96
 SHA512 
7447ae2d1e13be422c894a8fd51c5aaa788e37ea7f0c798c88b77afd401fb3631400a637077ccbb83c2e3876b0d0c5e1dbd5fdc9d3739d785b4d5ad7c0192580
 DIST pexpect-4.8.0_p20230402.gh.tar.gz 169420 BLAKE2B 
4780621f5876506c5ad2dbf03656d8c336d5aadef99b1ae99e841b5d0a945ab54177cb04a79b526e422cd4df7393c723000e4a28960bd5f57a5e0173b0a3bc69
 SHA512 
72cdf226ec5c7d60a10fbcecf81cd1ae422467652e104bb818908bf6d1a4a4bcadab9a06d58475a9609580d973956e18e2ab144ab13a0b700072474ff3087259

diff --git a/dev-python/pexpect/files/pexpect-4.8.0-fix-PS1.patch 
b/dev-python/pexpect/files/pexpect-4.8.0-fix-PS1.patch
deleted file mode 100644
index 903b742f71d3..
--- a/dev-python/pexpect/files/pexpect-4.8.0-fix-PS1.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-From: whitley-delamora <62795654+whitley-delam...@users.noreply.github.com>
-Date: Sat, 28 Mar 2020 13:46:47 +0100
-Subject: [PATCH] REPLWrapTestCase.test_bash_env(): export variable PS1
-
-https://github.com/pexpect/pexpect/commit/51c0b09f92f140eda10b62d234710f65ad56dee2
-
 a/tests/test_replwrap.py
-+++ b/tests/test_replwrap.py
-@@ -45,6 +45,7 @@ def test_bash_env(self):
- """env, which displays PS1=..., should not mess up finding the prompt.
- """
- bash = replwrap.bash()
-+res = bash.run_command("export PS1")
- res = bash.run_command("env")
- self.assertIn('PS1', res)
- res = bash.run_command("echo $HOME")

diff --git a/dev-python/pexpect/files/pexpect-4.8.0-py311.patch 
b/dev-python/pexpect/files/pexpect-4.8.0-py311.patch
deleted file mode 100644
index b7de17a68785..
--- a/dev-python/pexpect/files/pexpect-4.8.0-py311.patch
+++ /dev/null
@@ -1,67 +0,0 @@
-From 52af5b0ae0627139524448a3f2e83d9f40802bc2 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= 
-Date: Thu, 24 Mar 2022 15:15:33 +0100
-Subject: [PATCH] Convert @asyncio.coroutine to async def
-
-This is required for Python 3.11+ support.
-
-Fixes https://github.com/pexpect/pexpect/issues/677

- pexpect/_async.py | 16 +++-
- 1 file changed, 7 insertions(+), 9 deletions(-)
-
-diff --git a/pexpect/_async.py b/pexpect/_async.py
-index dfbfeef5..bc83261d 100644
 a/pexpect/_async.py
-+++ b/pexpect/_async.py
-@@ -4,8 +4,7 @@
- 
- from pexpect import EOF
- 
--@asyncio.coroutine
--def expect_async(expecter, timeout=None):
-+async def expect_async(expecter, timeout=None):
- # First process data that was previously read - if it maches, we don't 
need
- # async stuff.
- idx = expecter.existing_data()
-@@ -14,7 +13,7 @@ def expect_async(expecter, timeout=None):
- if not expecter.spawn.async_pw_transport:
- pw = PatternWaiter()
- pw.set_expecter(expecter)
--transport, pw = yield from asyncio.get_event_loop()\
-+transport, pw = await asyncio.get_event_loop()\
- .connect_read_pipe(lambda: pw, expecter.spawn)
- expecter.spawn.async_pw_transport = pw, transport
- else:
-@@ -22,26 +21,25 @@ def expect_async(expecter, timeout=None):
- pw.set_expecter(expecter)
- transport.resume_reading()
- try:
--return (yield from asyncio.wait_for(pw.fut, timeout))
-+return (await asyncio.wait_for(pw.fut, timeout))
- except asyncio.TimeoutError as e:
- transport.pause_reading()
- return expecter.timeout(e)
- 
--@asyncio.coroutine
--def repl_run_command_async(repl, cmdlines, timeout=-1):
-+async def repl_run_command_async(repl, cmdlines, timeout=-1):
- res = []
- repl.child.sendline(cmdlines[0])
- for line in cmdlines[1:]:
--yield from repl._expect_prompt(timeout=timeout, async_=True)
-+await repl._expect_prompt(timeout=timeout, async_=True)
- res.append(repl.child.before)
- repl.child.sendline(line)
- 
- # Command was fully submitted, now wait for the next prompt
--prompt_idx = yield from repl._ex

[gentoo-commits] repo/gentoo:master commit in: dev-python/pexpect/

2023-06-26 Thread Sam James
commit: 656899655ec655ca95dbb059a1da687b59f73e3e
Author: Sam James  gentoo  org>
AuthorDate: Tue Jun 27 06:34:09 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jun 27 06:34:09 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65689965

dev-python/pexpect: Stabilize 4.8.0_p20230402 ALLARCHES, #909242

Signed-off-by: Sam James  gentoo.org>

 dev-python/pexpect/pexpect-4.8.0_p20230402.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pexpect/pexpect-4.8.0_p20230402.ebuild 
b/dev-python/pexpect/pexpect-4.8.0_p20230402.ebuild
index 8d8caccb6973..93a2479585b1 100644
--- a/dev-python/pexpect/pexpect-4.8.0_p20230402.ebuild
+++ b/dev-python/pexpect/pexpect-4.8.0_p20230402.ebuild
@@ -25,7 +25,7 @@ S="${WORKDIR}/${PN}-${COMMIT}"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
 IUSE="examples"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/pexpect/

2023-05-24 Thread Arthur Zamarin
commit: 0387beaecff59b9768ed03e024ef22956f6b57a3
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed May 24 17:16:55 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed May 24 17:17:10 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0387beae

dev-python/pexpect: add missing docs deps

Closes: https://bugs.gentoo.org/907054
Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/pexpect/pexpect-4.8.0_p20230402.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-python/pexpect/pexpect-4.8.0_p20230402.ebuild 
b/dev-python/pexpect/pexpect-4.8.0_p20230402.ebuild
index 5d6eb118364b..8d8caccb6973 100644
--- a/dev-python/pexpect/pexpect-4.8.0_p20230402.ebuild
+++ b/dev-python/pexpect/pexpect-4.8.0_p20230402.ebuild
@@ -33,7 +33,8 @@ RDEPEND="
 "
 
 distutils_enable_tests pytest
-distutils_enable_sphinx doc
+distutils_enable_sphinx doc \
+   dev-python/sphinxcontrib-github-alt
 
 src_test() {
# workaround new readline defaults



[gentoo-commits] repo/gentoo:master commit in: dev-python/pexpect/

2023-05-23 Thread Arthur Zamarin
commit: b34695daa2abbf05f45ae45115047c0baf2f50c8
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue May 23 18:23:11 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue May 23 18:35:54 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b34695da

dev-python/pexpect: add 4.8.0_p20230402, enable py3.12

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/pexpect/Manifest   |  1 +
 dev-python/pexpect/pexpect-4.8.0_p20230402.ebuild | 51 +++
 2 files changed, 52 insertions(+)

diff --git a/dev-python/pexpect/Manifest b/dev-python/pexpect/Manifest
index 335b751b7e95..59920b3f9b8d 100644
--- a/dev-python/pexpect/Manifest
+++ b/dev-python/pexpect/Manifest
@@ -1 +1,2 @@
 DIST pexpect-4.8.0.tar.gz 157037 BLAKE2B 
742642bd6b9ec3f6cdfad054d4fd22db56b4a55b746d675c27a8cdf824ea749ec4589e296dffa08778195f3ccd20feb56bc0fd5212984396ea5aa0555c41ca96
 SHA512 
7447ae2d1e13be422c894a8fd51c5aaa788e37ea7f0c798c88b77afd401fb3631400a637077ccbb83c2e3876b0d0c5e1dbd5fdc9d3739d785b4d5ad7c0192580
+DIST pexpect-4.8.0_p20230402.gh.tar.gz 169420 BLAKE2B 
4780621f5876506c5ad2dbf03656d8c336d5aadef99b1ae99e841b5d0a945ab54177cb04a79b526e422cd4df7393c723000e4a28960bd5f57a5e0173b0a3bc69
 SHA512 
72cdf226ec5c7d60a10fbcecf81cd1ae422467652e104bb818908bf6d1a4a4bcadab9a06d58475a9609580d973956e18e2ab144ab13a0b700072474ff3087259

diff --git a/dev-python/pexpect/pexpect-4.8.0_p20230402.ebuild 
b/dev-python/pexpect/pexpect-4.8.0_p20230402.ebuild
new file mode 100644
index ..5d6eb118364b
--- /dev/null
+++ b/dev-python/pexpect/pexpect-4.8.0_p20230402.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
+PYTHON_REQ_USE="threads(+)"
+
+inherit distutils-r1
+
+COMMIT="2532721644781543ca660e52d48a35bd93872fc1"
+
+DESCRIPTION="Python module for spawning child apps and responding to expected 
patterns"
+HOMEPAGE="
+   https://pexpect.readthedocs.io/
+   https://pypi.org/project/pexpect/
+   https://github.com/pexpect/pexpect/
+"
+SRC_URI="
+   https://github.com/pexpect/pexpect/archive/${COMMIT}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+S="${WORKDIR}/${PN}-${COMMIT}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+IUSE="examples"
+
+RDEPEND="
+   >=dev-python/ptyprocess-0.5[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+distutils_enable_sphinx doc
+
+src_test() {
+   # workaround new readline defaults
+   echo "set enable-bracketed-paste off" > "${T}"/inputrc || die
+   local -x INPUTRC="${T}"/inputrc
+   distutils-r1_src_test
+}
+
+python_install_all() {
+   if use examples; then
+   dodoc -r examples
+   docompress -x /usr/share/doc/${PF}/examples
+   fi
+   distutils-r1_python_install_all
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pexpect/

2023-03-15 Thread Michał Górny
commit: 49f6c9df36b96ecacc379c1a3635e72374dab927
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Mar 15 17:47:18 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Mar 16 03:59:11 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49f6c9df

dev-python/pexpect: Use pypi.eclass

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pexpect/pexpect-4.8.0-r3.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/dev-python/pexpect/pexpect-4.8.0-r3.ebuild 
b/dev-python/pexpect/pexpect-4.8.0-r3.ebuild
index d06d741b44ee..38a771d8a8a6 100644
--- a/dev-python/pexpect/pexpect-4.8.0-r3.ebuild
+++ b/dev-python/pexpect/pexpect-4.8.0-r3.ebuild
@@ -7,7 +7,7 @@ DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( python3_{9..11} pypy3 )
 PYTHON_REQ_USE="threads(+)"
 
-inherit distutils-r1
+inherit distutils-r1 pypi
 
 DESCRIPTION="Python module for spawning child apps and responding to expected 
patterns"
 HOMEPAGE="
@@ -15,7 +15,6 @@ HOMEPAGE="
https://pypi.org/project/pexpect/
https://github.com/pexpect/pexpect/
 "
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pexpect/

2022-05-31 Thread Michał Górny
commit: 99046c61444b6f56f1289996a430ac9028481612
Author: Michał Górny  gentoo  org>
AuthorDate: Tue May 31 07:19:29 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue May 31 07:22:49 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99046c61

dev-python/pexpect: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pexpect/pexpect-4.8.0-r2.ebuild | 44 --
 1 file changed, 44 deletions(-)

diff --git a/dev-python/pexpect/pexpect-4.8.0-r2.ebuild 
b/dev-python/pexpect/pexpect-4.8.0-r2.ebuild
deleted file mode 100644
index 9e985d413abf..
--- a/dev-python/pexpect/pexpect-4.8.0-r2.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8..10} pypy3 )
-PYTHON_REQ_USE="threads(+)"
-DISTUTILS_USE_SETUPTOOLS=no
-
-inherit distutils-r1
-
-DESCRIPTION="Python module for spawning child apps and responding to expected 
patterns"
-HOMEPAGE="https://pexpect.readthedocs.io/ https://pypi.org/project/pexpect/ 
https://github.com/pexpect/pexpect/";
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
-IUSE="examples"
-
-RDEPEND=">=dev-python/ptyprocess-0.5[${PYTHON_USEDEP}]"
-
-PATCHES=(
-   "${FILESDIR}"/${P}-sphinx-3.patch
-   "${FILESDIR}"/${P}-fix-PS1.patch
-)
-
-distutils_enable_tests pytest
-distutils_enable_sphinx doc
-
-src_test() {
-   # workaround new readline defaults
-   echo "set enable-bracketed-paste off" > "${T}"/inputrc || die
-   local -x INPUTRC="${T}"/inputrc
-   distutils-r1_src_test
-}
-
-python_install_all() {
-   if use examples; then
-   dodoc -r examples
-   docompress -x /usr/share/doc/${PF}/examples
-   fi
-   distutils-r1_python_install_all
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pexpect/

2022-05-31 Thread Sam James
commit: 62c44a374921aa29563c92adc9fd7ef226302109
Author: Sam James  gentoo  org>
AuthorDate: Tue May 31 07:12:46 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue May 31 07:12:46 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62c44a37

dev-python/pexpect: Stabilize 4.8.0-r3 ALLARCHES, #848636

Signed-off-by: Sam James  gentoo.org>

 dev-python/pexpect/pexpect-4.8.0-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pexpect/pexpect-4.8.0-r3.ebuild 
b/dev-python/pexpect/pexpect-4.8.0-r3.ebuild
index 67a37a70dcc5..3edaca92588a 100644
--- a/dev-python/pexpect/pexpect-4.8.0-r3.ebuild
+++ b/dev-python/pexpect/pexpect-4.8.0-r3.ebuild
@@ -19,7 +19,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
 IUSE="examples"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/pexpect/, dev-python/pexpect/files/

2022-05-09 Thread Michał Górny
commit: c2d15a210f6ce13cd4673222bad4d365da6dcdad
Author: Michał Górny  gentoo  org>
AuthorDate: Mon May  9 18:12:34 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon May  9 20:34:07 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2d15a21

dev-python/pexpect: Enable py3.11

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pexpect/files/pexpect-4.8.0-py311.patch | 67 ++
 dev-python/pexpect/pexpect-4.8.0-r3.ebuild |  3 +-
 2 files changed, 69 insertions(+), 1 deletion(-)

diff --git a/dev-python/pexpect/files/pexpect-4.8.0-py311.patch 
b/dev-python/pexpect/files/pexpect-4.8.0-py311.patch
new file mode 100644
index ..b7de17a68785
--- /dev/null
+++ b/dev-python/pexpect/files/pexpect-4.8.0-py311.patch
@@ -0,0 +1,67 @@
+From 52af5b0ae0627139524448a3f2e83d9f40802bc2 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= 
+Date: Thu, 24 Mar 2022 15:15:33 +0100
+Subject: [PATCH] Convert @asyncio.coroutine to async def
+
+This is required for Python 3.11+ support.
+
+Fixes https://github.com/pexpect/pexpect/issues/677
+---
+ pexpect/_async.py | 16 +++-
+ 1 file changed, 7 insertions(+), 9 deletions(-)
+
+diff --git a/pexpect/_async.py b/pexpect/_async.py
+index dfbfeef5..bc83261d 100644
+--- a/pexpect/_async.py
 b/pexpect/_async.py
+@@ -4,8 +4,7 @@
+ 
+ from pexpect import EOF
+ 
+-@asyncio.coroutine
+-def expect_async(expecter, timeout=None):
++async def expect_async(expecter, timeout=None):
+ # First process data that was previously read - if it maches, we don't 
need
+ # async stuff.
+ idx = expecter.existing_data()
+@@ -14,7 +13,7 @@ def expect_async(expecter, timeout=None):
+ if not expecter.spawn.async_pw_transport:
+ pw = PatternWaiter()
+ pw.set_expecter(expecter)
+-transport, pw = yield from asyncio.get_event_loop()\
++transport, pw = await asyncio.get_event_loop()\
+ .connect_read_pipe(lambda: pw, expecter.spawn)
+ expecter.spawn.async_pw_transport = pw, transport
+ else:
+@@ -22,26 +21,25 @@ def expect_async(expecter, timeout=None):
+ pw.set_expecter(expecter)
+ transport.resume_reading()
+ try:
+-return (yield from asyncio.wait_for(pw.fut, timeout))
++return (await asyncio.wait_for(pw.fut, timeout))
+ except asyncio.TimeoutError as e:
+ transport.pause_reading()
+ return expecter.timeout(e)
+ 
+-@asyncio.coroutine
+-def repl_run_command_async(repl, cmdlines, timeout=-1):
++async def repl_run_command_async(repl, cmdlines, timeout=-1):
+ res = []
+ repl.child.sendline(cmdlines[0])
+ for line in cmdlines[1:]:
+-yield from repl._expect_prompt(timeout=timeout, async_=True)
++await repl._expect_prompt(timeout=timeout, async_=True)
+ res.append(repl.child.before)
+ repl.child.sendline(line)
+ 
+ # Command was fully submitted, now wait for the next prompt
+-prompt_idx = yield from repl._expect_prompt(timeout=timeout, async_=True)
++prompt_idx = await repl._expect_prompt(timeout=timeout, async_=True)
+ if prompt_idx == 1:
+ # We got the continuation prompt - command was incomplete
+ repl.child.kill(signal.SIGINT)
+-yield from repl._expect_prompt(timeout=1, async_=True)
++await repl._expect_prompt(timeout=1, async_=True)
+ raise ValueError("Continuation prompt found - input was incomplete:")
+ return u''.join(res + [repl.child.before])
+ 

diff --git a/dev-python/pexpect/pexpect-4.8.0-r3.ebuild 
b/dev-python/pexpect/pexpect-4.8.0-r3.ebuild
index 22046e4dcd82..67a37a70dcc5 100644
--- a/dev-python/pexpect/pexpect-4.8.0-r3.ebuild
+++ b/dev-python/pexpect/pexpect-4.8.0-r3.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{8..10} pypy3 )
+PYTHON_COMPAT=( python3_{8..11} pypy3 )
 PYTHON_REQ_USE="threads(+)"
 
 inherit distutils-r1
@@ -29,6 +29,7 @@ RDEPEND="
 PATCHES=(
"${FILESDIR}"/${P}-sphinx-3.patch
"${FILESDIR}"/${P}-fix-PS1.patch
+   "${FILESDIR}"/${P}-py311.patch
 )
 
 distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: dev-python/pexpect/

2022-04-11 Thread Michał Górny
commit: 28d84da8caf69a31ba9a3f7a7ecae1533e4f4ae7
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Apr 11 09:05:42 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Apr 11 09:17:20 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28d84da8

dev-python/pexpect: Switch to PEP517 build

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pexpect/pexpect-4.8.0-r3.ebuild | 50 ++
 1 file changed, 50 insertions(+)

diff --git a/dev-python/pexpect/pexpect-4.8.0-r3.ebuild 
b/dev-python/pexpect/pexpect-4.8.0-r3.ebuild
new file mode 100644
index ..4fbf5faed1a0
--- /dev/null
+++ b/dev-python/pexpect/pexpect-4.8.0-r3.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
+PYTHON_REQ_USE="threads(+)"
+
+inherit distutils-r1
+
+DESCRIPTION="Python module for spawning child apps and responding to expected 
patterns"
+HOMEPAGE="
+   https://pexpect.readthedocs.io/
+   https://pypi.org/project/pexpect/
+   https://github.com/pexpect/pexpect/
+"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+IUSE="examples"
+
+RDEPEND="
+   >=dev-python/ptyprocess-0.5[${PYTHON_USEDEP}]
+"
+
+PATCHES=(
+   "${FILESDIR}"/${P}-sphinx-3.patch
+   "${FILESDIR}"/${P}-fix-PS1.patch
+)
+
+distutils_enable_tests pytest
+distutils_enable_sphinx doc
+
+src_test() {
+   # workaround new readline defaults
+   echo "set enable-bracketed-paste off" > "${T}"/inputrc || die
+   local -x INPUTRC="${T}"/inputrc
+   distutils-r1_src_test
+}
+
+python_install_all() {
+   if use examples; then
+   dodoc -r examples
+   docompress -x /usr/share/doc/${PF}/examples
+   fi
+   distutils-r1_python_install_all
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pexpect/files/, dev-python/pexpect/

2021-10-02 Thread Arthur Zamarin
commit: 6665137997d6d28883a233ea9a13f7d56e5c7b12
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Oct  2 14:17:06 2021 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Oct  2 14:19:06 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66651379

dev-python/pexpect: fix PS1, cleanup ebuild

Closes: https://bugs.gentoo.org/629754
Signed-off-by: Arthur Zamarin  gentoo.org>

 .../pexpect/files/pexpect-4.8.0-fix-PS1.patch   | 16 
 ...pect-4.8.0-r1.ebuild => pexpect-4.8.0-r2.ebuild} | 21 -
 2 files changed, 20 insertions(+), 17 deletions(-)

diff --git a/dev-python/pexpect/files/pexpect-4.8.0-fix-PS1.patch 
b/dev-python/pexpect/files/pexpect-4.8.0-fix-PS1.patch
new file mode 100644
index 000..903b742f71d
--- /dev/null
+++ b/dev-python/pexpect/files/pexpect-4.8.0-fix-PS1.patch
@@ -0,0 +1,16 @@
+From: whitley-delamora <62795654+whitley-delam...@users.noreply.github.com>
+Date: Sat, 28 Mar 2020 13:46:47 +0100
+Subject: [PATCH] REPLWrapTestCase.test_bash_env(): export variable PS1
+
+https://github.com/pexpect/pexpect/commit/51c0b09f92f140eda10b62d234710f65ad56dee2
+
+--- a/tests/test_replwrap.py
 b/tests/test_replwrap.py
+@@ -45,6 +45,7 @@ def test_bash_env(self):
+ """env, which displays PS1=..., should not mess up finding the prompt.
+ """
+ bash = replwrap.bash()
++res = bash.run_command("export PS1")
+ res = bash.run_command("env")
+ self.assertIn('PS1', res)
+ res = bash.run_command("echo $HOME")

diff --git a/dev-python/pexpect/pexpect-4.8.0-r1.ebuild 
b/dev-python/pexpect/pexpect-4.8.0-r2.ebuild
similarity index 73%
rename from dev-python/pexpect/pexpect-4.8.0-r1.ebuild
rename to dev-python/pexpect/pexpect-4.8.0-r2.ebuild
index 7baa9ab2af8..9e985d413ab 100644
--- a/dev-python/pexpect/pexpect-4.8.0-r1.ebuild
+++ b/dev-python/pexpect/pexpect-4.8.0-r2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7..10} pypy3 )
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
 PYTHON_REQ_USE="threads(+)"
 DISTUTILS_USE_SETUPTOOLS=no
 
@@ -16,21 +16,17 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
-IUSE="doc examples"
+IUSE="examples"
 
 RDEPEND=">=dev-python/ptyprocess-0.5[${PYTHON_USEDEP}]"
-DEPEND="
-   doc? ( dev-python/sphinx )"
 
 PATCHES=(
"${FILESDIR}"/${P}-sphinx-3.patch
+   "${FILESDIR}"/${P}-fix-PS1.patch
 )
 
 distutils_enable_tests pytest
-
-python_compile_all() {
-   use doc && emake -C doc html
-}
+distutils_enable_sphinx doc
 
 src_test() {
# workaround new readline defaults
@@ -39,16 +35,7 @@ src_test() {
distutils-r1_src_test
 }
 
-python_install() {
-   distutils-r1_python_install
-   if ! python_is_python3; then
-   # https://bugs.gentoo.org/703100
-   rm "${D}$(python_get_sitedir)/pexpect/_async.py" || die
-   fi
-}
-
 python_install_all() {
-   use doc && local HTML_DOCS=( doc/_build/html/. )
if use examples; then
dodoc -r examples
docompress -x /usr/share/doc/${PF}/examples



[gentoo-commits] repo/gentoo:master commit in: dev-python/pexpect/

2021-05-05 Thread Michał Górny
commit: f72acdc0aeb70f8373a438d6627cc3af767d346f
Author: Michał Górny  gentoo  org>
AuthorDate: Wed May  5 14:57:00 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed May  5 17:05:46 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f72acdc0

dev-python/pexpect: Enable python3.10

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pexpect/pexpect-4.8.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pexpect/pexpect-4.8.0-r1.ebuild 
b/dev-python/pexpect/pexpect-4.8.0-r1.ebuild
index f1f772edbe3..7baa9ab2af8 100644
--- a/dev-python/pexpect/pexpect-4.8.0-r1.ebuild
+++ b/dev-python/pexpect/pexpect-4.8.0-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7,8,9} pypy3 )
+PYTHON_COMPAT=( python3_{7..10} pypy3 )
 PYTHON_REQ_USE="threads(+)"
 DISTUTILS_USE_SETUPTOOLS=no
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pexpect/

2021-05-05 Thread Michał Górny
commit: 694f0879edf58d585dbd53c9a0532c3f1dafefe3
Author: Michał Górny  gentoo  org>
AuthorDate: Wed May  5 14:42:44 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed May  5 17:05:45 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=694f0879

dev-python/pexpect: Fix readline-induced test failures

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pexpect/pexpect-4.8.0-r1.ebuild | 7 +++
 1 file changed, 7 insertions(+)

diff --git a/dev-python/pexpect/pexpect-4.8.0-r1.ebuild 
b/dev-python/pexpect/pexpect-4.8.0-r1.ebuild
index cbcceab7520..f1f772edbe3 100644
--- a/dev-python/pexpect/pexpect-4.8.0-r1.ebuild
+++ b/dev-python/pexpect/pexpect-4.8.0-r1.ebuild
@@ -32,6 +32,13 @@ python_compile_all() {
use doc && emake -C doc html
 }
 
+src_test() {
+   # workaround new readline defaults
+   echo "set enable-bracketed-paste off" > "${T}"/inputrc || die
+   local -x INPUTRC="${T}"/inputrc
+   distutils-r1_src_test
+}
+
 python_install() {
distutils-r1_python_install
if ! python_is_python3; then



[gentoo-commits] repo/gentoo:master commit in: dev-python/pexpect/

2020-09-30 Thread Louis Sautier
commit: ed828ea5c4068196e3b243d138ecef9d5bddd090
Author: Louis Sautier  gentoo  org>
AuthorDate: Wed Sep 30 12:19:32 2020 +
Commit: Louis Sautier  gentoo  org>
CommitDate: Wed Sep 30 12:19:32 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed828ea5

dev-python/pexpect: fix DISTUTILS_USE_SETUPTOOLS value

Closes: https://bugs.gentoo.org/745609
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Louis Sautier  gentoo.org>

 dev-python/pexpect/pexpect-4.8.0-r1.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/pexpect/pexpect-4.8.0-r1.ebuild 
b/dev-python/pexpect/pexpect-4.8.0-r1.ebuild
index 8a77f172f4c..9421d5c0fbc 100644
--- a/dev-python/pexpect/pexpect-4.8.0-r1.ebuild
+++ b/dev-python/pexpect/pexpect-4.8.0-r1.ebuild
@@ -5,6 +5,7 @@ EAPI=7
 
 PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 )
 PYTHON_REQ_USE="threads(+)"
+DISTUTILS_USE_SETUPTOOLS=no
 
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pexpect/

2020-09-20 Thread Michał Górny
commit: c9cae80e2b5bf930eab985adea62e5ff3c44d24c
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Sep 20 14:28:36 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Sep 20 14:30:22 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9cae80e

dev-python/pexpect: Remove python2

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pexpect/{pexpect-4.8.0.ebuild => pexpect-4.8.0-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pexpect/pexpect-4.8.0.ebuild 
b/dev-python/pexpect/pexpect-4.8.0-r1.ebuild
similarity index 95%
rename from dev-python/pexpect/pexpect-4.8.0.ebuild
rename to dev-python/pexpect/pexpect-4.8.0-r1.ebuild
index c2f4dd7dd9e..8a77f172f4c 100644
--- a/dev-python/pexpect/pexpect-4.8.0.ebuild
+++ b/dev-python/pexpect/pexpect-4.8.0-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python2_7 python3_{6,7,8,9} pypy3 )
+PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 )
 PYTHON_REQ_USE="threads(+)"
 
 inherit distutils-r1



[gentoo-commits] repo/gentoo:master commit in: dev-python/pexpect/

2020-08-05 Thread Sam James
commit: 61e1fe8eee5777ae8da7dd83bac1918244ceba10
Author: Sam James  gentoo  org>
AuthorDate: Wed Aug  5 16:02:08 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Aug  5 16:02:08 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61e1fe8e

dev-python/pexpect: Stabilize 4.8.0 ALLARCHES, #731478

Signed-off-by: Sam James  gentoo.org>

 dev-python/pexpect/pexpect-4.8.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pexpect/pexpect-4.8.0.ebuild 
b/dev-python/pexpect/pexpect-4.8.0.ebuild
index 623b05d48dd..4ae04af473c 100644
--- a/dev-python/pexpect/pexpect-4.8.0.ebuild
+++ b/dev-python/pexpect/pexpect-4.8.0.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc 
x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
 IUSE="doc examples"
 
 RDEPEND=">=dev-python/ptyprocess-0.5[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pexpect/

2020-07-15 Thread Sergei Trofimovich
commit: a064c1c6597de631a4c67174d45a323d9e177675
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Wed Jul 15 17:59:52 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Wed Jul 15 20:18:29 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a064c1c6

dev-python/pexpect: stable 4.8.0 for hppa, bug #731478

Package-Manager: Portage-2.3.99, Repoman-2.3.23
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-python/pexpect/pexpect-4.8.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pexpect/pexpect-4.8.0.ebuild 
b/dev-python/pexpect/pexpect-4.8.0.ebuild
index 43e69bcc170..940e3e6a4b0 100644
--- a/dev-python/pexpect/pexpect-4.8.0.ebuild
+++ b/dev-python/pexpect/pexpect-4.8.0.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+KEYWORDS="~alpha ~amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
 IUSE="doc examples"
 
 RDEPEND=">=dev-python/ptyprocess-0.5[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pexpect/

2020-07-09 Thread Michał Górny
commit: 6fe37996dd9ef2496b61c7ebb6eeff68ff7467b4
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Jul  9 13:07:24 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jul  9 13:11:39 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fe37996

dev-python/pexpect: Mark ALLARCHES

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pexpect/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/pexpect/metadata.xml b/dev-python/pexpect/metadata.xml
index 311134caccb..67e271d5d37 100644
--- a/dev-python/pexpect/metadata.xml
+++ b/dev-python/pexpect/metadata.xml
@@ -5,6 +5,7 @@
 pyt...@gentoo.org
 Python
   
+  
   
 pexpect
 pexpect/pexpect



[gentoo-commits] repo/gentoo:master commit in: dev-python/pexpect/

2020-05-25 Thread Michał Górny
commit: 4c9051b7360661b230f40b560889a45deaf20071
Author: Michał Górny  gentoo  org>
AuthorDate: Mon May 25 14:57:07 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon May 25 16:16:31 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c9051b7

dev-python/pexpect: Port to py3.9

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pexpect/pexpect-4.8.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pexpect/pexpect-4.8.0.ebuild 
b/dev-python/pexpect/pexpect-4.8.0.ebuild
index 076cdb78ac2..ecae148b976 100644
--- a/dev-python/pexpect/pexpect-4.8.0.ebuild
+++ b/dev-python/pexpect/pexpect-4.8.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 )
+PYTHON_COMPAT=( python2_7 python3_{6,7,8,9} pypy3 )
 PYTHON_REQ_USE="threads(+)"
 
 inherit distutils-r1



[gentoo-commits] repo/gentoo:master commit in: dev-python/pexpect/

2020-04-14 Thread Mike Gilbert
commit: a094582d244bad3a87c2edb7effc0f528ca20466
Author: Mike Gilbert  gentoo  org>
AuthorDate: Wed Apr 15 02:23:31 2020 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Wed Apr 15 02:23:31 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a094582d

dev-python/pexpect: fix build with python2 disabled

Fixes: 6df79dfa10bd801c99c1698f81701f9ae0aa31d9
Bug: https://bugs.gentoo.org/703100
Package-Manager: Portage-2.3.99, Repoman-2.3.22_p29
Signed-off-by: Mike Gilbert  gentoo.org>

 dev-python/pexpect/pexpect-4.8.0.ebuild | 12 
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/dev-python/pexpect/pexpect-4.8.0.ebuild 
b/dev-python/pexpect/pexpect-4.8.0.ebuild
index 3de5f455d3b..076cdb78ac2 100644
--- a/dev-python/pexpect/pexpect-4.8.0.ebuild
+++ b/dev-python/pexpect/pexpect-4.8.0.ebuild
@@ -31,6 +31,14 @@ python_compile_all() {
use doc && emake -C doc html
 }
 
+python_install() {
+   distutils-r1_python_install
+   if ! python_is_python3; then
+   # https://bugs.gentoo.org/703100
+   rm "${D}$(python_get_sitedir)/pexpect/_async.py" || die
+   fi
+}
+
 python_install_all() {
use doc && local HTML_DOCS=( doc/_build/html/. )
if use examples; then
@@ -38,8 +46,4 @@ python_install_all() {
docompress -x /usr/share/doc/${PF}/examples
fi
distutils-r1_python_install_all
-
-   # Address byte-compile QA warning, see https://bugs.gentoo.org/703100
-   python_setup -2
-   rm "${D}$(python_get_sitedir)"/pexpect/_async.py || die
 }



[gentoo-commits] repo/gentoo:master commit in: dev-python/pexpect/, dev-python/pexpect/files/

2020-04-13 Thread Sebastian Pipping
commit: 6df79dfa10bd801c99c1698f81701f9ae0aa31d9
Author: Sebastian Pipping  gentoo  org>
AuthorDate: Mon Apr 13 21:54:22 2020 +
Commit: Sebastian Pipping  gentoo  org>
CommitDate: Mon Apr 13 22:11:34 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6df79dfa

dev-python/pexpect: 4.8.0 + QA

Closes: https://bugs.gentoo.org/703100
Signed-off-by: Sebastian Pipping  gentoo.org>
Package-Manager: Portage-2.3.99, Repoman-2.3.22

 dev-python/pexpect/Manifest|  1 +
 .../pexpect/files/pexpect-4.8.0-sphinx-3.patch | 25 
 dev-python/pexpect/pexpect-4.8.0.ebuild| 45 ++
 3 files changed, 71 insertions(+)

diff --git a/dev-python/pexpect/Manifest b/dev-python/pexpect/Manifest
index e4b654e92ba..db8deda521f 100644
--- a/dev-python/pexpect/Manifest
+++ b/dev-python/pexpect/Manifest
@@ -1 +1,2 @@
 DIST pexpect-4.6.0.tar.gz 148966 BLAKE2B 
0ed1a3c31133bf618e4c75ea099efaa9bda9e2b7f92f46c54ad553ecc56487e5415b750334376a95599ada53e17e91efe7d4b65ad80bb4f6a1cf9d655a3c9685
 SHA512 
9a2b1ef19d885e69cfd17ba0519581f782574019010043e66d8b68f98ac86b359f4a1ca42f8bb0059a5dfdd43275ad93531c076cc0ac2049e109408961b46bbd
+DIST pexpect-4.8.0.tar.gz 157037 BLAKE2B 
742642bd6b9ec3f6cdfad054d4fd22db56b4a55b746d675c27a8cdf824ea749ec4589e296dffa08778195f3ccd20feb56bc0fd5212984396ea5aa0555c41ca96
 SHA512 
7447ae2d1e13be422c894a8fd51c5aaa788e37ea7f0c798c88b77afd401fb3631400a637077ccbb83c2e3876b0d0c5e1dbd5fdc9d3739d785b4d5ad7c0192580

diff --git a/dev-python/pexpect/files/pexpect-4.8.0-sphinx-3.patch 
b/dev-python/pexpect/files/pexpect-4.8.0-sphinx-3.patch
new file mode 100644
index 000..d23055fba25
--- /dev/null
+++ b/dev-python/pexpect/files/pexpect-4.8.0-sphinx-3.patch
@@ -0,0 +1,25 @@
+From 506bcd97fa1d20d1412d399353c38f0ff3546a1a Mon Sep 17 00:00:00 2001
+From: Sebastian Pipping 
+Date: Mon, 13 Apr 2020 23:26:09 +0200
+Subject: [PATCH] Fix compilation of docs with Sphinx 3.0.1
+
+https://github.com/pexpect/pexpect/issues/637
+---
+ doc/sphinxext/github.py | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/doc/sphinxext/github.py b/doc/sphinxext/github.py
+index 519e146..771dccc 100644
+--- a/doc/sphinxext/github.py
 b/doc/sphinxext/github.py
+@@ -146,7 +146,6 @@ def setup(app):
+ 
+ :param app: Sphinx application context.
+ """
+-app.info('Initializing GitHub plugin')
+ app.add_role('ghissue', ghissue_role)
+ app.add_role('ghpull', ghissue_role)
+ app.add_role('ghuser', ghuser_role)
+-- 
+2.26.0
+

diff --git a/dev-python/pexpect/pexpect-4.8.0.ebuild 
b/dev-python/pexpect/pexpect-4.8.0.ebuild
new file mode 100644
index 000..3de5f455d3b
--- /dev/null
+++ b/dev-python/pexpect/pexpect-4.8.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 )
+PYTHON_REQ_USE="threads(+)"
+
+inherit distutils-r1
+
+DESCRIPTION="Python module for spawning child apps and responding to expected 
patterns"
+HOMEPAGE="https://pexpect.readthedocs.io/ https://pypi.org/project/pexpect/ 
https://github.com/pexpect/pexpect/";
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+IUSE="doc examples"
+
+RDEPEND=">=dev-python/ptyprocess-0.5[${PYTHON_USEDEP}]"
+DEPEND="
+   doc? ( dev-python/sphinx )"
+
+PATCHES=(
+   "${FILESDIR}"/${P}-sphinx-3.patch
+)
+
+distutils_enable_tests pytest
+
+python_compile_all() {
+   use doc && emake -C doc html
+}
+
+python_install_all() {
+   use doc && local HTML_DOCS=( doc/_build/html/. )
+   if use examples; then
+   dodoc -r examples
+   docompress -x /usr/share/doc/${PF}/examples
+   fi
+   distutils-r1_python_install_all
+
+   # Address byte-compile QA warning, see https://bugs.gentoo.org/703100
+   python_setup -2
+   rm "${D}$(python_get_sitedir)"/pexpect/_async.py || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pexpect/

2020-03-25 Thread Michał Górny
commit: ad7f98369b04447b0347274c47958a15e56be39f
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Mar 25 13:08:35 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Mar 25 13:25:26 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad7f9836

dev-python/pexpect: Stabilize 4.6.0 ALLARCHES

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pexpect/pexpect-4.6.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pexpect/pexpect-4.6.0.ebuild 
b/dev-python/pexpect/pexpect-4.6.0.ebuild
index 5e6f7e02814..a93d1c6bed7 100644
--- a/dev-python/pexpect/pexpect-4.6.0.ebuild
+++ b/dev-python/pexpect/pexpect-4.6.0.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-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"
+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"
 IUSE="doc examples"
 
 RDEPEND=">=dev-python/ptyprocess-0.5[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pexpect/

2020-03-25 Thread Michał Górny
commit: 63fe8b13281507243843caa82d692b426b41ee25
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Mar 25 13:08:44 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Mar 25 13:25:28 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63fe8b13

dev-python/pexpect: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pexpect/Manifest |  1 -
 dev-python/pexpect/pexpect-4.2.1.ebuild | 41 -
 2 files changed, 42 deletions(-)

diff --git a/dev-python/pexpect/Manifest b/dev-python/pexpect/Manifest
index b55e25ad351..e4b654e92ba 100644
--- a/dev-python/pexpect/Manifest
+++ b/dev-python/pexpect/Manifest
@@ -1,2 +1 @@
-DIST pexpect-4.2.1.tar.gz 143980 BLAKE2B 
b5cb9c7847eabdf8778bddc6b208520edb9b3611d7a981fae6e371fa6deafebe142ba8361e3a1d21187cd692576c91d732f3def75e19989296f50b2a9fb4d4c6
 SHA512 
796474c87559cb9f4e2dfe72564d70c75e1aac4f57c4f3e4033a56c8842a48380ae0d5fafdad7f1ea6718b25c272fe4a611a59db44e69afb1f2bbf7e00256261
 DIST pexpect-4.6.0.tar.gz 148966 BLAKE2B 
0ed1a3c31133bf618e4c75ea099efaa9bda9e2b7f92f46c54ad553ecc56487e5415b750334376a95599ada53e17e91efe7d4b65ad80bb4f6a1cf9d655a3c9685
 SHA512 
9a2b1ef19d885e69cfd17ba0519581f782574019010043e66d8b68f98ac86b359f4a1ca42f8bb0059a5dfdd43275ad93531c076cc0ac2049e109408961b46bbd

diff --git a/dev-python/pexpect/pexpect-4.2.1.ebuild 
b/dev-python/pexpect/pexpect-4.2.1.ebuild
deleted file mode 100644
index 3195bf950aa..000
--- a/dev-python/pexpect/pexpect-4.2.1.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 python3_6 pypy3 )
-PYTHON_REQ_USE="threads(+)"
-
-inherit distutils-r1
-
-DESCRIPTION="Python module for spawning child apps and responding to expected 
patterns"
-HOMEPAGE="https://pexpect.readthedocs.io/ https://pypi.org/project/pexpect/ 
https://github.com/pexpect/pexpect/";
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-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"
-IUSE="doc examples test"
-RESTRICT="!test? ( test )"
-
-RDEPEND=">=dev-python/ptyprocess-0.5[${PYTHON_USEDEP}]"
-DEPEND="
-   doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
-   test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
-
-python_compile_all() {
-   use doc && emake -C doc html
-}
-
-python_test() {
-   py.test tests || die "Tests fail with ${EPYTHON}"
-}
-
-python_install_all() {
-   use doc && local HTML_DOCS=( doc/_build/html/. )
-   if use examples; then
-   dodoc -r examples
-   docompress -x /usr/share/doc/${PF}/examples
-   fi
-   distutils-r1_python_install_all
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pexpect/

2019-12-03 Thread Aaron Bauman
commit: d4649b5518952bc3303e9ae79ba639fa38821943
Author: Aaron Bauman  gentoo  org>
AuthorDate: Tue Dec  3 22:10:11 2019 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Tue Dec  3 22:10:30 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4649b55

dev-python/pexpect: amd64 stable

Signed-off-by: Aaron Bauman  gentoo.org>

 dev-python/pexpect/pexpect-4.6.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pexpect/pexpect-4.6.0.ebuild 
b/dev-python/pexpect/pexpect-4.6.0.ebuild
index 9a8c5e55861..6fc437e8b9a 100644
--- a/dev-python/pexpect/pexpect-4.6.0.ebuild
+++ b/dev-python/pexpect/pexpect-4.6.0.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-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"
+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"
 IUSE="doc examples"
 
 RDEPEND=">=dev-python/ptyprocess-0.5[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pexpect/

2019-11-16 Thread Michał Górny
commit: ceac74aa4531596d5d30ef7fe599f11c10e6acac
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Nov 16 09:13:31 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Nov 16 11:01:10 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ceac74aa

dev-python/pexpect: Enable py3.8

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pexpect/pexpect-4.6.0.ebuild | 13 +
 1 file changed, 5 insertions(+), 8 deletions(-)

diff --git a/dev-python/pexpect/pexpect-4.6.0.ebuild 
b/dev-python/pexpect/pexpect-4.6.0.ebuild
index d5596edcb12..9a8c5e55861 100644
--- a/dev-python/pexpect/pexpect-4.6.0.ebuild
+++ b/dev-python/pexpect/pexpect-4.6.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy pypy3 )
+PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} pypy pypy3 )
 PYTHON_REQ_USE="threads(+)"
 
 inherit distutils-r1
@@ -15,21 +15,18 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 LICENSE="MIT"
 SLOT="0"
 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"
-IUSE="doc examples test"
+IUSE="doc examples"
 
 RDEPEND=">=dev-python/ptyprocess-0.5[${PYTHON_USEDEP}]"
 DEPEND="
-   doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
-   test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
+   doc? ( dev-python/sphinx )"
+
+distutils_enable_tests pytest
 
 python_compile_all() {
use doc && emake -C doc html
 }
 
-python_test() {
-   pytest -vv tests || die "Tests fail with ${EPYTHON}"
-}
-
 python_install_all() {
use doc && local HTML_DOCS=( doc/_build/html/. )
if use examples; then



[gentoo-commits] repo/gentoo:master commit in: dev-python/pexpect/

2019-11-16 Thread Michał Górny
commit: 0dc632558de9c66efb2a1803598ab7a1133a83b0
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Nov 16 10:51:05 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Nov 16 11:01:38 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0dc63255

dev-python/pexpect: Fix remaining MissingTestRestrict

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pexpect/pexpect-4.2.1.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/pexpect/pexpect-4.2.1.ebuild 
b/dev-python/pexpect/pexpect-4.2.1.ebuild
index 5349ee03bf6..8be1a9dfe68 100644
--- a/dev-python/pexpect/pexpect-4.2.1.ebuild
+++ b/dev-python/pexpect/pexpect-4.2.1.ebuild
@@ -16,6 +16,7 @@ LICENSE="MIT"
 SLOT="0"
 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"
 IUSE="doc examples test"
+RESTRICT="!test? ( test )"
 
 RDEPEND=">=dev-python/ptyprocess-0.5[${PYTHON_USEDEP}]"
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/pexpect/

2019-07-07 Thread Michał Górny
commit: aa2bc8d05805b3dcd9eb75b589cf261ae2c7577f
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jul  8 05:51:16 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jul  8 05:51:20 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa2bc8d0

dev-python/pexpect: Remove py3.7 from 4.2.1

As reported on Bugzilla, pexpect-4.2.1 does not work correctly
with Python 3.7.  Remove it.

Reported-by: Chris Mayo, Oz Tiram
Closes: https://bugs.gentoo.org/678854
Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pexpect/pexpect-4.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pexpect/pexpect-4.2.1.ebuild 
b/dev-python/pexpect/pexpect-4.2.1.ebuild
index 5062fb45375..5349ee03bf6 100644
--- a/dev-python/pexpect/pexpect-4.2.1.ebuild
+++ b/dev-python/pexpect/pexpect-4.2.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy pypy3 )
+PYTHON_COMPAT=( python2_7 python3_{5,6} pypy pypy3 )
 PYTHON_REQ_USE="threads(+)"
 
 inherit distutils-r1



[gentoo-commits] repo/gentoo:master commit in: dev-python/pexpect/

2019-04-28 Thread Michał Górny
commit: b31c1fb22e3e517623e4c2140d64e01eadd8966b
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Apr 28 10:45:08 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Apr 28 10:54:14 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b31c1fb2

dev-python/pexpect: Update pytest call, use -vv

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pexpect/pexpect-4.6.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pexpect/pexpect-4.6.0.ebuild 
b/dev-python/pexpect/pexpect-4.6.0.ebuild
index 24350bf1a2c..d5596edcb12 100644
--- a/dev-python/pexpect/pexpect-4.6.0.ebuild
+++ b/dev-python/pexpect/pexpect-4.6.0.ebuild
@@ -27,7 +27,7 @@ python_compile_all() {
 }
 
 python_test() {
-   py.test tests || die "Tests fail with ${EPYTHON}"
+   pytest -vv tests || die "Tests fail with ${EPYTHON}"
 }
 
 python_install_all() {



[gentoo-commits] repo/gentoo:master commit in: dev-python/pexpect/

2019-01-28 Thread Matthew Thode
commit: 99e8fc7599a9bc7d7b1219f627a84bb922df6676
Author: Matthew Thode  gentoo  org>
AuthorDate: Mon Jan 28 04:51:03 2019 +
Commit: Matthew Thode  gentoo  org>
CommitDate: Mon Jan 28 04:51:20 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99e8fc75

dev-python/pexpect: 4.6.0 bump

Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: Matthew Thode  gentoo.org>

 dev-python/pexpect/Manifest |  1 +
 dev-python/pexpect/pexpect-4.6.0.ebuild | 40 +
 2 files changed, 41 insertions(+)

diff --git a/dev-python/pexpect/Manifest b/dev-python/pexpect/Manifest
index f4c41a9c88c..b55e25ad351 100644
--- a/dev-python/pexpect/Manifest
+++ b/dev-python/pexpect/Manifest
@@ -1 +1,2 @@
 DIST pexpect-4.2.1.tar.gz 143980 BLAKE2B 
b5cb9c7847eabdf8778bddc6b208520edb9b3611d7a981fae6e371fa6deafebe142ba8361e3a1d21187cd692576c91d732f3def75e19989296f50b2a9fb4d4c6
 SHA512 
796474c87559cb9f4e2dfe72564d70c75e1aac4f57c4f3e4033a56c8842a48380ae0d5fafdad7f1ea6718b25c272fe4a611a59db44e69afb1f2bbf7e00256261
+DIST pexpect-4.6.0.tar.gz 148966 BLAKE2B 
0ed1a3c31133bf618e4c75ea099efaa9bda9e2b7f92f46c54ad553ecc56487e5415b750334376a95599ada53e17e91efe7d4b65ad80bb4f6a1cf9d655a3c9685
 SHA512 
9a2b1ef19d885e69cfd17ba0519581f782574019010043e66d8b68f98ac86b359f4a1ca42f8bb0059a5dfdd43275ad93531c076cc0ac2049e109408961b46bbd

diff --git a/dev-python/pexpect/pexpect-4.6.0.ebuild 
b/dev-python/pexpect/pexpect-4.6.0.ebuild
new file mode 100644
index 000..02f1b078ff9
--- /dev/null
+++ b/dev-python/pexpect/pexpect-4.6.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} pypy pypy3 )
+PYTHON_REQ_USE="threads(+)"
+
+inherit distutils-r1
+
+DESCRIPTION="Python module for spawning child apps and responding to expected 
patterns"
+HOMEPAGE="https://pexpect.readthedocs.io/ https://pypi.org/project/pexpect/ 
https://github.com/pexpect/pexpect/";
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+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"
+IUSE="doc examples test"
+
+RDEPEND=">=dev-python/ptyprocess-0.5[${PYTHON_USEDEP}]"
+DEPEND="
+   doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
+   test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
+
+python_compile_all() {
+   use doc && emake -C doc html
+}
+
+python_test() {
+   py.test tests || die "Tests fail with ${EPYTHON}"
+}
+
+python_install_all() {
+   use doc && local HTML_DOCS=( doc/_build/html/. )
+   if use examples; then
+   dodoc -r examples
+   docompress -x /usr/share/doc/${PF}/examples
+   fi
+   distutils-r1_python_install_all
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pexpect/

2018-03-22 Thread Mikle Kolyada
commit: 12e7a4488820b3b1eeaa148837a0521ed166e761
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Thu Mar 22 16:45:39 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Thu Mar 22 16:45:39 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12e7a448

dev-python/pexpect: sh stable wrt bug #629528

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-python/pexpect/pexpect-4.2.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/pexpect/pexpect-4.2.1.ebuild 
b/dev-python/pexpect/pexpect-4.2.1.ebuild
index 77687dda1c7..dbeb8a0d057 100644
--- a/dev-python/pexpect/pexpect-4.2.1.ebuild
+++ b/dev-python/pexpect/pexpect-4.2.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-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"
+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"
 IUSE="doc examples test"
 
 RDEPEND=">=dev-python/ptyprocess-0.5[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pexpect/

2017-12-17 Thread Sergei Trofimovich
commit: db324a3d16f8537f5aae0961c37c8a373541cdbe
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Dec 17 20:10:37 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Dec 17 20:11:11 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db324a3d

dev-python/pexpect: stable 4.2.1 for sparc, bug #629528 (thanks to Rolf Eike 
Beer)

Package-Manager: Portage-2.3.19, Repoman-2.3.6
RepoMan-Options: --include-arches="sparc"

 dev-python/pexpect/pexpect-4.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pexpect/pexpect-4.2.1.ebuild 
b/dev-python/pexpect/pexpect-4.2.1.ebuild
index d9cc1ad9d34..77687dda1c7 100644
--- a/dev-python/pexpect/pexpect-4.2.1.ebuild
+++ b/dev-python/pexpect/pexpect-4.2.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-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"
+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"
 IUSE="doc examples test"
 
 RDEPEND=">=dev-python/ptyprocess-0.5[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pexpect/

2017-10-15 Thread Thomas Deutschmann
commit: 6d189af32f0e028778c39f52cf809d82802d2c7f
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sun Oct 15 21:35:11 2017 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sun Oct 15 21:43:21 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d189af3

dev-python/pexpect: x86 stable (bug #629528)

Package-Manager: Portage-2.3.10, Repoman-2.3.3

 dev-python/pexpect/pexpect-4.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pexpect/pexpect-4.2.1.ebuild 
b/dev-python/pexpect/pexpect-4.2.1.ebuild
index a9e4f2ebcda..79b3a0dff22 100644
--- a/dev-python/pexpect/pexpect-4.2.1.ebuild
+++ b/dev-python/pexpect/pexpect-4.2.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-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"
+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"
 IUSE="doc examples test"
 
 RDEPEND=">=dev-python/ptyprocess-0.5[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pexpect/

2017-10-05 Thread Sergei Trofimovich
commit: cec0d3c70b401a2e823d9ef8eda169011874ba0b
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Thu Oct  5 09:04:13 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Thu Oct  5 09:04:46 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cec0d3c7

dev-python/pexpect: stable 4.2.1 for ppc, bug #629528

Package-Manager: Portage-2.3.10, Repoman-2.3.3
RepoMan-Options: --include-arches="ppc"

 dev-python/pexpect/pexpect-4.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pexpect/pexpect-4.2.1.ebuild 
b/dev-python/pexpect/pexpect-4.2.1.ebuild
index 099143598ca..a9e4f2ebcda 100644
--- a/dev-python/pexpect/pexpect-4.2.1.ebuild
+++ b/dev-python/pexpect/pexpect-4.2.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-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"
+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"
 IUSE="doc examples test"
 
 RDEPEND=">=dev-python/ptyprocess-0.5[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pexpect/

2017-09-24 Thread Sergei Trofimovich
commit: 1b42ef0c596cf2dcd16ea69ab4cbaeab1439df91
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Sep 24 16:48:43 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Sep 24 16:48:43 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b42ef0c

dev-python/pexpect: stable 4.2.1 for ppc64, bug #629528

Package-Manager: Portage-2.3.10, Repoman-2.3.3
RepoMan-Options: --include-arches="ppc64"

 dev-python/pexpect/pexpect-4.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pexpect/pexpect-4.2.1.ebuild 
b/dev-python/pexpect/pexpect-4.2.1.ebuild
index 5e56a2ae000..099143598ca 100644
--- a/dev-python/pexpect/pexpect-4.2.1.ebuild
+++ b/dev-python/pexpect/pexpect-4.2.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-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"
+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"
 IUSE="doc examples test"
 
 RDEPEND=">=dev-python/ptyprocess-0.5[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pexpect/

2017-09-22 Thread Sergei Trofimovich
commit: dd04287226858731f8ea61f53f80e413847c887b
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Fri Sep 22 19:36:45 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Fri Sep 22 19:40:12 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd042872

dev-python/pexpect: stable 4.2.1 for hppa, bug #629528

Package-Manager: Portage-2.3.10, Repoman-2.3.3
RepoMan-Options: --include-arches="hppa"

 dev-python/pexpect/pexpect-4.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pexpect/pexpect-4.2.1.ebuild 
b/dev-python/pexpect/pexpect-4.2.1.ebuild
index 30f06ced1e6..5e56a2ae000 100644
--- a/dev-python/pexpect/pexpect-4.2.1.ebuild
+++ b/dev-python/pexpect/pexpect-4.2.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-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"
+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"
 IUSE="doc examples test"
 
 RDEPEND=">=dev-python/ptyprocess-0.5[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pexpect/

2017-09-14 Thread Markus Meier
commit: 82fbd1a8d63b9a269a0513988c4d8f019a506b8f
Author: Markus Meier  gentoo  org>
AuthorDate: Fri Sep 15 04:39:39 2017 +
Commit: Markus Meier  gentoo  org>
CommitDate: Fri Sep 15 04:39:39 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82fbd1a8

dev-python/pexpect: arm stable, bug #629528

Package-Manager: Portage-2.3.6, Repoman-2.3.1
RepoMan-Options: --include-arches="arm"

 dev-python/pexpect/pexpect-4.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pexpect/pexpect-4.2.1.ebuild 
b/dev-python/pexpect/pexpect-4.2.1.ebuild
index 7759e41175c..30f06ced1e6 100644
--- a/dev-python/pexpect/pexpect-4.2.1.ebuild
+++ b/dev-python/pexpect/pexpect-4.2.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-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"
+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"
 IUSE="doc examples test"
 
 RDEPEND=">=dev-python/ptyprocess-0.5[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pexpect/

2017-09-01 Thread Sergei Trofimovich
commit: 8c13c7fc357a56a918e7e21dd4521ea5ee408747
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Fri Sep  1 22:20:40 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Fri Sep  1 22:20:49 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c13c7fc

dev-python/pexpect: stable 4.2.1 for ia64, bug #629528

Package-Manager: Portage-2.3.8, Repoman-2.3.3
RepoMan-Options: --include-arches="ia64"

 dev-python/pexpect/pexpect-4.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pexpect/pexpect-4.2.1.ebuild 
b/dev-python/pexpect/pexpect-4.2.1.ebuild
index c9f8910adeb..7759e41175c 100644
--- a/dev-python/pexpect/pexpect-4.2.1.ebuild
+++ b/dev-python/pexpect/pexpect-4.2.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-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"
+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"
 IUSE="doc examples test"
 
 RDEPEND=">=dev-python/ptyprocess-0.5[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pexpect/

2017-09-01 Thread Tim Harder
commit: 379dafab758b883212976bc8b7a36acbd01afd32
Author: Tim Harder  gentoo  org>
AuthorDate: Fri Sep  1 10:12:45 2017 +
Commit: Tim Harder  gentoo  org>
CommitDate: Fri Sep  1 10:27:31 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=379dafab

dev-python/pexpect: remove sourceforge from upstream metadata

 dev-python/pexpect/metadata.xml | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dev-python/pexpect/metadata.xml b/dev-python/pexpect/metadata.xml
index d5b4d804916..311134caccb 100644
--- a/dev-python/pexpect/metadata.xml
+++ b/dev-python/pexpect/metadata.xml
@@ -8,6 +8,5 @@
   
 pexpect
 pexpect/pexpect
-pexpect
   
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pexpect/

2017-09-01 Thread Tim Harder
commit: 09d9345623444ec00e8f8b3ee96af2db31ec9daf
Author: Tim Harder  gentoo  org>
AuthorDate: Fri Sep  1 10:12:06 2017 +
Commit: Tim Harder  gentoo  org>
CommitDate: Fri Sep  1 10:27:30 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09d93456

dev-python/pexpect: update HOMEPAGE

 dev-python/pexpect/pexpect-4.2.1.ebuild | 6 +-
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/dev-python/pexpect/pexpect-4.2.1.ebuild 
b/dev-python/pexpect/pexpect-4.2.1.ebuild
index b88bb2bafa6..c9f8910adeb 100644
--- a/dev-python/pexpect/pexpect-4.2.1.ebuild
+++ b/dev-python/pexpect/pexpect-4.2.1.ebuild
@@ -9,11 +9,7 @@ PYTHON_REQ_USE="threads(+)"
 inherit distutils-r1
 
 DESCRIPTION="Python module for spawning child applications and responding to 
expected patterns"
-HOMEPAGE="
-   http://pexpect.sourceforge.net/
-   https://pypi.python.org/pypi/pexpect/
-   https://github.com/pexpect/pexpect/
-"
+HOMEPAGE="https://pexpect.readthedocs.io/ 
https://pypi.python.org/pypi/pexpect/ https://github.com/pexpect/pexpect/";
 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pexpect/

2017-02-12 Thread Zac Medico
commit: 78e0ef1b2b56c617fbbf3092d7e41d1b7e8f7866
Author: Zac Medico  gentoo  org>
AuthorDate: Sun Feb 12 07:42:30 2017 +
Commit: Zac Medico  gentoo  org>
CommitDate: Sun Feb 12 22:19:29 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78e0ef1b

dev-python/pexpect: PYTHON_COMPAT: add python3_6

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-python/pexpect/pexpect-3.3.ebuild   | 4 ++--
 dev-python/pexpect/pexpect-4.2.1.ebuild | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-python/pexpect/pexpect-3.3.ebuild 
b/dev-python/pexpect/pexpect-3.3.ebuild
index f78b12d685..b5bb093f8e 100644
--- a/dev-python/pexpect/pexpect-3.3.ebuild
+++ b/dev-python/pexpect/pexpect-3.3.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=5
 
-PYTHON_COMPAT=( python2_7 python3_{4,5} pypy pypy3 )
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
 PYTHON_REQ_USE="threads(+)"
 
 inherit distutils-r1

diff --git a/dev-python/pexpect/pexpect-4.2.1.ebuild 
b/dev-python/pexpect/pexpect-4.2.1.ebuild
index 56536ffcdb..2acaa8e3ec 100644
--- a/dev-python/pexpect/pexpect-4.2.1.ebuild
+++ b/dev-python/pexpect/pexpect-4.2.1.ebuild
@@ -1,10 +1,10 @@
-# 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=( python2_7 python3_{4,5} pypy pypy3 )
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
 PYTHON_REQ_USE="threads(+)"
 
 inherit distutils-r1



[gentoo-commits] repo/gentoo:master commit in: dev-python/pexpect/

2016-11-06 Thread Patrick Lauer
commit: 668ae05ded02317a03ec653818a348e6c982ff1c
Author: Patrick Lauer  gentoo  org>
AuthorDate: Sun Nov  6 06:53:31 2016 +
Commit: Patrick Lauer  gentoo  org>
CommitDate: Sun Nov  6 06:59:51 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=668ae05d

dev-python/pexpect: Whitespace

Package-Manager: portage-2.3.2

 dev-python/pexpect/pexpect-4.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pexpect/pexpect-4.2.1.ebuild 
b/dev-python/pexpect/pexpect-4.2.1.ebuild
index 755fc5d..56536ff 100644
--- a/dev-python/pexpect/pexpect-4.2.1.ebuild
+++ b/dev-python/pexpect/pexpect-4.2.1.ebuild
@@ -39,7 +39,7 @@ python_install_all() {
use doc && local HTML_DOCS=( doc/_build/html/. )
if use examples; then
dodoc -r examples
-   docompress -x /usr/share/doc/${PF}/examples 
+   docompress -x /usr/share/doc/${PF}/examples
fi
distutils-r1_python_install_all
 }



[gentoo-commits] repo/gentoo:master commit in: dev-python/pexpect/

2016-11-03 Thread Patrice Clement
commit: d4a53343a37670bb57d3bf9ba4c36c7a21634f46
Author: Mathy Vanvoorden  vanvoorden  be>
AuthorDate: Thu Nov  3 18:45:14 2016 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Thu Nov  3 21:00:54 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4a53343

dev-python/pexpect: version bump to 4.2.1, EAPI bump.

Removed the old 4.0.1 because it was marked unstable and pretty old.
Removed the removal of broken test-cases.
Removed ~amd64-fbsd as dependency ptyprocess also doesn't have it.

Gentoo-Bug: https://bugs.gentoo.org/527006
Package-Manager: portage-2.3.0
Closes: https://github.com/gentoo/gentoo/pull/2731

Signed-off-by: Patrice Clement  gentoo.org>

 dev-python/pexpect/Manifest |  2 +-
 .../{pexpect-4.0.1.ebuild => pexpect-4.2.1.ebuild}  | 21 +++--
 2 files changed, 8 insertions(+), 15 deletions(-)

diff --git a/dev-python/pexpect/Manifest b/dev-python/pexpect/Manifest
index a8e98a9..8343d14 100644
--- a/dev-python/pexpect/Manifest
+++ b/dev-python/pexpect/Manifest
@@ -1,2 +1,2 @@
 DIST pexpect-3.3.tar.gz 132330 SHA256 
dfea618d43e83cfff21504f18f98019ba520f330e4142e5185ef7c73527de5ba SHA512 
66cc501f1c7bb8ba0be4cdc0db840629f51416dc54ae44dc770adb38f1a385116b0a8b9bc7f1cc1447f05ede36ef1b519f5c4e710e6cb736c923ecfc87497cfa
 WHIRLPOOL 
e708e722d4e2598958f8d724b84148608e9a53041077b1a1a2af84d5281e11f0c6c050ee88489eebc48bd5556c22e0fe9386680d34b1941ddf21539296629513
-DIST pexpect-4.0.1.tar.gz 143657 SHA256 
232795ebcaaf2e120396dbbaa3a129eda51757eeaae1911558f4ef8ee414fc6c SHA512 
c2476f977964379faa3ecef1bc4800f3a87bd6cdd9e2d52e4e4f33a4060a97bb54f0770dfb5804d5a863eaf6ddef6b11be1d24f1617cc4837015202868ca7e87
 WHIRLPOOL 
91bc9e259f547b34d6a8847f3154601487e5f4d0ce1d7698078eb653fc12209c4d708f902e00cfb483f3872ce42063d65d8900dcaf9c727421f5e8b3d730e076
+DIST pexpect-4.2.1.tar.gz 143980 SHA256 
3d132465a75b57aa818341c6521392a06cc660feb3988d7f1074f39bd23c9a92 SHA512 
796474c87559cb9f4e2dfe72564d70c75e1aac4f57c4f3e4033a56c8842a48380ae0d5fafdad7f1ea6718b25c272fe4a611a59db44e69afb1f2bbf7e00256261
 WHIRLPOOL 
35176b56bdee1d7066705925c54014c33e18679e40f9182f15a223190904a6fead235c0d676806cc55a3f0f64666f446182056a29b27217ccc8990ecd9b8184e

diff --git a/dev-python/pexpect/pexpect-4.0.1.ebuild 
b/dev-python/pexpect/pexpect-4.2.1.ebuild
similarity index 65%
rename from dev-python/pexpect/pexpect-4.0.1.ebuild
rename to dev-python/pexpect/pexpect-4.2.1.ebuild
index 2a6a1ea..755fc5d 100644
--- a/dev-python/pexpect/pexpect-4.0.1.ebuild
+++ b/dev-python/pexpect/pexpect-4.2.1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
+EAPI=6
 
 PYTHON_COMPAT=( python2_7 python3_{4,5} pypy pypy3 )
 PYTHON_REQ_USE="threads(+)"
@@ -19,7 +19,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-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"
+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"
 IUSE="doc examples test"
 
 RDEPEND=">=dev-python/ptyprocess-0.5[${PYTHON_USEDEP}]"
@@ -27,16 +27,6 @@ DEPEND="
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
 
-python_prepare_all() {
-   # tests failing
-   # https://github.com/pexpect/pexpect/issues/282
-   # https://github.com/pexpect/pexpect/issues/283
-   # https://github.com/pexpect/pexpect/issues/284
-   rm tests/test_maxcanon.py tests/test_async.py || die
-   touch .coveragerc || die
-   distutils-r1_python_prepare_all
-}
-
 python_compile_all() {
use doc && emake -C doc html
 }
@@ -47,6 +37,9 @@ python_test() {
 
 python_install_all() {
use doc && local HTML_DOCS=( doc/_build/html/. )
-   use examples && local EXAMPLES=( examples/. )
+   if use examples; then
+   dodoc -r examples
+   docompress -x /usr/share/doc/${PF}/examples 
+   fi
distutils-r1_python_install_all
 }



[gentoo-commits] repo/gentoo:master commit in: dev-python/pexpect/

2015-11-11 Thread Justin Lecher
commit: ba1b231ae96613e094548e6614b8d56773ce81f9
Author: Justin Lecher  gentoo  org>
AuthorDate: Wed Nov 11 17:17:07 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Wed Nov 11 17:27:03 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba1b231a

dev-python/pexpect: Depend on threading support in python

Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher  gentoo.org>

 dev-python/pexpect/pexpect-3.3.ebuild   | 1 +
 dev-python/pexpect/pexpect-4.0.1.ebuild | 1 +
 2 files changed, 2 insertions(+)

diff --git a/dev-python/pexpect/pexpect-3.3.ebuild 
b/dev-python/pexpect/pexpect-3.3.ebuild
index afe8265..fb9e019 100644
--- a/dev-python/pexpect/pexpect-3.3.ebuild
+++ b/dev-python/pexpect/pexpect-3.3.ebuild
@@ -5,6 +5,7 @@
 EAPI=5
 
 PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 )
+PYTHON_REQ_USE="threads(+)"
 
 inherit distutils-r1
 

diff --git a/dev-python/pexpect/pexpect-4.0.1.ebuild 
b/dev-python/pexpect/pexpect-4.0.1.ebuild
index 83095a7..bfc629a 100644
--- a/dev-python/pexpect/pexpect-4.0.1.ebuild
+++ b/dev-python/pexpect/pexpect-4.0.1.ebuild
@@ -5,6 +5,7 @@
 EAPI=5
 
 PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 )
+PYTHON_REQ_USE="threads(+)"
 
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pexpect/

2015-10-14 Thread Justin Lecher
commit: 5f9c8cc295955a44e55f34513fe80bd1d12051c8
Author: Justin Lecher  gentoo  org>
AuthorDate: Wed Oct 14 11:15:57 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Wed Oct 14 11:15:57 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f9c8cc2

dev-python/pexpect: Rekeyword according to old KEYWORDS

Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher  gentoo.org>

 dev-python/pexpect/pexpect-4.0.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pexpect/pexpect-4.0.1.ebuild 
b/dev-python/pexpect/pexpect-4.0.1.ebuild
index c1f7a48..83095a7 100644
--- a/dev-python/pexpect/pexpect-4.0.1.ebuild
+++ b/dev-python/pexpect/pexpect-4.0.1.ebuild
@@ -18,7 +18,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-fbsd ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+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"
 IUSE="doc examples test"
 
 RDEPEND=">=dev-python/ptyprocess-0.5[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pexpect/

2015-10-11 Thread Jeroen Roovers
commit: 8ec77207b135be99652add2252e8f30360005921
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Mon Oct 12 05:20:55 2015 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Mon Oct 12 05:21:33 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ec77207

dev-python/pexpect: Mark ~hppa (bug #562748).

Package-Manager: portage-2.2.23
RepoMan-Options: --ignore-arches

 dev-python/pexpect/pexpect-4.0.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pexpect/pexpect-4.0.1.ebuild 
b/dev-python/pexpect/pexpect-4.0.1.ebuild
index a2191ad..33a9571 100644
--- a/dev-python/pexpect/pexpect-4.0.1.ebuild
+++ b/dev-python/pexpect/pexpect-4.0.1.ebuild
@@ -18,7 +18,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos ~x86-macos"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-fbsd ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
 IUSE="doc examples test"
 
 RDEPEND=">=dev-python/ptyprocess-0.5[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pexpect/

2015-10-11 Thread Justin Lecher
commit: 39cdf2db91c07f0a8987a44f52f613fbb698a811
Author: Justin Lecher  gentoo  org>
AuthorDate: Sat Oct 10 18:01:06 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Sun Oct 11 07:05:16 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39cdf2db

dev-python/pexpect: Version Bump

Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher  gentoo.org>

 dev-python/pexpect/Manifest |  1 +
 dev-python/pexpect/pexpect-4.0.1.ebuild | 51 +
 2 files changed, 52 insertions(+)

diff --git a/dev-python/pexpect/Manifest b/dev-python/pexpect/Manifest
index 628f98f..a8e98a9 100644
--- a/dev-python/pexpect/Manifest
+++ b/dev-python/pexpect/Manifest
@@ -1 +1,2 @@
 DIST pexpect-3.3.tar.gz 132330 SHA256 
dfea618d43e83cfff21504f18f98019ba520f330e4142e5185ef7c73527de5ba SHA512 
66cc501f1c7bb8ba0be4cdc0db840629f51416dc54ae44dc770adb38f1a385116b0a8b9bc7f1cc1447f05ede36ef1b519f5c4e710e6cb736c923ecfc87497cfa
 WHIRLPOOL 
e708e722d4e2598958f8d724b84148608e9a53041077b1a1a2af84d5281e11f0c6c050ee88489eebc48bd5556c22e0fe9386680d34b1941ddf21539296629513
+DIST pexpect-4.0.1.tar.gz 143657 SHA256 
232795ebcaaf2e120396dbbaa3a129eda51757eeaae1911558f4ef8ee414fc6c SHA512 
c2476f977964379faa3ecef1bc4800f3a87bd6cdd9e2d52e4e4f33a4060a97bb54f0770dfb5804d5a863eaf6ddef6b11be1d24f1617cc4837015202868ca7e87
 WHIRLPOOL 
91bc9e259f547b34d6a8847f3154601487e5f4d0ce1d7698078eb653fc12209c4d708f902e00cfb483f3872ce42063d65d8900dcaf9c727421f5e8b3d730e076

diff --git a/dev-python/pexpect/pexpect-4.0.1.ebuild 
b/dev-python/pexpect/pexpect-4.0.1.ebuild
new file mode 100644
index 000..a2191ad
--- /dev/null
+++ b/dev-python/pexpect/pexpect-4.0.1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Python module for spawning child applications and responding to 
expected patterns"
+HOMEPAGE="
+   http://pexpect.sourceforge.net/
+   https://pypi.python.org/pypi/pexpect/
+   https://github.com/pexpect/pexpect/
+"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos ~x86-macos"
+IUSE="doc examples test"
+
+RDEPEND=">=dev-python/ptyprocess-0.5[${PYTHON_USEDEP}]"
+DEPEND="
+   doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
+   test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
+
+python_prepare_all() {
+   # tests failing
+   # https://github.com/pexpect/pexpect/issues/282
+   # https://github.com/pexpect/pexpect/issues/283
+   # https://github.com/pexpect/pexpect/issues/284
+   rm tests/test_maxcanon.py tests/test_async.py || die
+   touch .coveragerc || die
+   distutils-r1_python_prepare_all
+}
+
+python_compile_all() {
+   use doc && emake -C doc html
+}
+
+python_test() {
+   py.test tests || die "Tests fail with ${EPYTHON}"
+}
+
+python_install_all() {
+   use doc && local HTML_DOCS=( doc/_build/html/. )
+   use examples && local EXAMPLES=( examples/. )
+   distutils-r1_python_install_all
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pexpect/

2015-10-10 Thread Justin Lecher
commit: 6d873b0a85d72925b3344ae4da525a17cbb9dfd4
Author: Justin Lecher  gentoo  org>
AuthorDate: Sat Oct 10 16:30:28 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Sat Oct 10 16:31:06 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d873b0a

dev-python/pexpect: Drop old

Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=539444

Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher  gentoo.org>

 dev-python/pexpect/Manifest  |  2 --
 dev-python/pexpect/metadata.xml  |  2 +-
 dev-python/pexpect/pexpect-2.4-r1.ebuild | 26 
 dev-python/pexpect/pexpect-2.4.ebuild| 35 
 dev-python/pexpect/pexpect-3.0.ebuild| 29 --
 5 files changed, 1 insertion(+), 93 deletions(-)

diff --git a/dev-python/pexpect/Manifest b/dev-python/pexpect/Manifest
index 8e1f71c..628f98f 100644
--- a/dev-python/pexpect/Manifest
+++ b/dev-python/pexpect/Manifest
@@ -1,3 +1 @@
-DIST pexpect-2.4.tar.gz 113251 SHA256 
43c788f59dcf4bed677fd0b16891787dbf747e210ffedb6e90156fbbbd4d3b7b SHA512 
0d5db34f3dc0e1a5bf7d8d0ab584897e4142592f35765762e4ca60d112106b91485098c91ad95a3cb3ad1f3d600619fa0ad41d930085e75974d78e0f06280a9f
 WHIRLPOOL 
587a94b785645a950a643bff7bf972af285faea9dcf73064eb40e96d7cb29e87543bb14c65cdc2366573236ec56cc03c4076bc952899e567872628ff5c4d9785
-DIST pexpect-3.0.tar.gz 146662 SHA256 
1d6cee0fa5ab212f9ddac9852bab0df5fff11a173ed1bfde9346d5c8aa42d14c SHA512 
f84cbc843978baf0ab05bae63dd080d4ca14e8fd51de4e53cf33ddb6219c9e460f68861e44104a59ddb2c1b9dc8568bc87ee778ea52b10e18e365b771ca9aa63
 WHIRLPOOL 
e2def4eb61007d5cbb5370daa82672f6063bf87a2a238237720652f85051bb72383b4d808c8a7148063fafe020ce1253a83f97237594b52a75f8a49689e38171
 DIST pexpect-3.3.tar.gz 132330 SHA256 
dfea618d43e83cfff21504f18f98019ba520f330e4142e5185ef7c73527de5ba SHA512 
66cc501f1c7bb8ba0be4cdc0db840629f51416dc54ae44dc770adb38f1a385116b0a8b9bc7f1cc1447f05ede36ef1b519f5c4e710e6cb736c923ecfc87497cfa
 WHIRLPOOL 
e708e722d4e2598958f8d724b84148608e9a53041077b1a1a2af84d5281e11f0c6c050ee88489eebc48bd5556c22e0fe9386680d34b1941ddf21539296629513

diff --git a/dev-python/pexpect/metadata.xml b/dev-python/pexpect/metadata.xml
index b4c5048..4342ade 100644
--- a/dev-python/pexpect/metadata.xml
+++ b/dev-python/pexpect/metadata.xml
@@ -1,4 +1,4 @@
-
+
 http://www.gentoo.org/dtd/metadata.dtd";>
 
   python

diff --git a/dev-python/pexpect/pexpect-2.4-r1.ebuild 
b/dev-python/pexpect/pexpect-2.4-r1.ebuild
deleted file mode 100644
index 3af1044..000
--- a/dev-python/pexpect/pexpect-2.4-r1.ebuild
+++ /dev/null
@@ -1,26 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-PYTHON_COMPAT=( python2_7 pypy )
-
-inherit distutils-r1
-
-DESCRIPTION="Python module for spawning child applications and responding to 
expected patterns"
-HOMEPAGE="http://pexpect.sourceforge.net/ https://pypi.python.org/pypi/pexpect";
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
-IUSE="doc examples"
-
-DEPEND=""
-RDEPEND=""
-
-python_install_all() {
-   use doc && local HTML_DOCS=( doc/. )
-   use examples && local EXAMPLES=( examples/. )
-   distutils-r1_python_install_all
-}

diff --git a/dev-python/pexpect/pexpect-2.4.ebuild 
b/dev-python/pexpect/pexpect-2.4.ebuild
deleted file mode 100644
index ca9e593..000
--- a/dev-python/pexpect/pexpect-2.4.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="2"
-SUPPORT_PYTHON_ABIS="1"
-PYTHON_DEPEND="2"
-
-inherit distutils
-
-DESCRIPTION="Python module for spawning child applications and responding to 
expected patterns"
-HOMEPAGE="http://pexpect.sourceforge.net/ https://pypi.python.org/pypi/pexpect";
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="alpha amd64 ~arm ia64 ppc ppc64 s390 ~sh sparc x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
-IUSE="doc examples"
-
-DEPEND=""
-RDEPEND=""
-RESTRICT_PYTHON_ABIS="3.*"
-
-PYTHON_MODNAME="ANSI.py fdpexpect.py FSM.py pexpect.py pxssh.py screen.py"
-
-src_install() {
-   distutils_src_install
-
-   use doc && dohtml -r doc/*
-
-   if use examples; then
-   insinto /usr/share/doc/${PF}
-   doins -r examples
-   fi
-}

diff --git a/dev-python/pexpect/pexpect-3.0.ebuild 
b/dev-python/pexpect/pexpect-3.0.ebuild
deleted file mode 100644
index 49e06cd..000
--- a/dev-python/pexpect/pexpect-3.0.ebuild
+++ /dev/null
@@ -1,29 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-PYTHON_COMPAT=( python{2_7,3_3} )
-
-inherit distutils-r1

[gentoo-commits] repo/gentoo:master commit in: dev-python/pexpect/

2015-09-11 Thread Manuel Rüger
commit: ca7205728873f753a7f8baa7098a7ffd4d2c455e
Author: Manuel Rüger  gentoo  org>
AuthorDate: Fri Sep 11 14:30:22 2015 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Fri Sep 11 14:30:22 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca720572

dev-python/pexpect: Remove old

Package-Manager: portage-2.2.20.1

 dev-python/pexpect/Manifest   |  2 --
 dev-python/pexpect/pexpect-3.1.ebuild | 29 -
 dev-python/pexpect/pexpect-3.2.ebuild | 34 --
 3 files changed, 65 deletions(-)

diff --git a/dev-python/pexpect/Manifest b/dev-python/pexpect/Manifest
index 95581b8..8e1f71c 100644
--- a/dev-python/pexpect/Manifest
+++ b/dev-python/pexpect/Manifest
@@ -1,5 +1,3 @@
 DIST pexpect-2.4.tar.gz 113251 SHA256 
43c788f59dcf4bed677fd0b16891787dbf747e210ffedb6e90156fbbbd4d3b7b SHA512 
0d5db34f3dc0e1a5bf7d8d0ab584897e4142592f35765762e4ca60d112106b91485098c91ad95a3cb3ad1f3d600619fa0ad41d930085e75974d78e0f06280a9f
 WHIRLPOOL 
587a94b785645a950a643bff7bf972af285faea9dcf73064eb40e96d7cb29e87543bb14c65cdc2366573236ec56cc03c4076bc952899e567872628ff5c4d9785
 DIST pexpect-3.0.tar.gz 146662 SHA256 
1d6cee0fa5ab212f9ddac9852bab0df5fff11a173ed1bfde9346d5c8aa42d14c SHA512 
f84cbc843978baf0ab05bae63dd080d4ca14e8fd51de4e53cf33ddb6219c9e460f68861e44104a59ddb2c1b9dc8568bc87ee778ea52b10e18e365b771ca9aa63
 WHIRLPOOL 
e2def4eb61007d5cbb5370daa82672f6063bf87a2a238237720652f85051bb72383b4d808c8a7148063fafe020ce1253a83f97237594b52a75f8a49689e38171
-DIST pexpect-3.1.tar.gz 130404 SHA256 
bd0045066718fba98481032303f07565cca6b22b3b7f104efe3e077a55e9ee8d SHA512 
8b6edfc6537dcd241446807f0b659c5040ee3a87329df03c76bed0d0328070e3bd144f957661e1ce46f0a6dae89f869ea99d38b22257fc20c2eb3377c4ccafc8
 WHIRLPOOL 
2472a6b0166c2096cf20056495eb3445c3266edb59c0b2db7dc0a32e8504e2b1755f1bef8245b8c9514325f2d5196d4b6dbed241222b14dd46644fb2e0e60fc9
-DIST pexpect-3.2.tar.gz 131070 SHA256 
dbc4c9a01c118e198d1b6ca76f31eb7292f212567f253e6b36a880e5168e961f SHA512 
2d25ebb7c19168a083b7af6a84a4ab5162b9fa5ae19b5786ee9592c663dd9ca264c1d1840a219f0ff44bc14853fc801c1d2e73a053f5d2afc2d1eea174b0b505
 WHIRLPOOL 
70ac0fe69e3410cd74d5b99b4dc654171f5aa763629793f6eed5a6fb607b1bd604b070fd8ee511998c8e40e188877f20c4233bd567579d8f891a32533865804c
 DIST pexpect-3.3.tar.gz 132330 SHA256 
dfea618d43e83cfff21504f18f98019ba520f330e4142e5185ef7c73527de5ba SHA512 
66cc501f1c7bb8ba0be4cdc0db840629f51416dc54ae44dc770adb38f1a385116b0a8b9bc7f1cc1447f05ede36ef1b519f5c4e710e6cb736c923ecfc87497cfa
 WHIRLPOOL 
e708e722d4e2598958f8d724b84148608e9a53041077b1a1a2af84d5281e11f0c6c050ee88489eebc48bd5556c22e0fe9386680d34b1941ddf21539296629513

diff --git a/dev-python/pexpect/pexpect-3.1.ebuild 
b/dev-python/pexpect/pexpect-3.1.ebuild
deleted file mode 100644
index 08776db..000
--- a/dev-python/pexpect/pexpect-3.1.ebuild
+++ /dev/null
@@ -1,29 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-PYTHON_COMPAT=( python{2_7,3_3,3_4} )
-
-inherit distutils-r1
-
-DESCRIPTION="Python module for spawning child applications and responding to 
expected patterns"
-HOMEPAGE="http://pexpect.sourceforge.net/ https://pypi.python.org/pypi/pexpect";
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~amd64-fbsd ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
-IUSE="doc examples"
-
-DEPEND="doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
-
-python_compile_all() {
-   use doc && emake -C doc html
-}
-
-python_install_all() {
-   use doc && local HTML_DOCS=( doc/_build/html/. )
-   use examples && local EXAMPLES=( examples/. )
-   distutils-r1_python_install_all
-}

diff --git a/dev-python/pexpect/pexpect-3.2.ebuild 
b/dev-python/pexpect/pexpect-3.2.ebuild
deleted file mode 100644
index 8684f16..000
--- a/dev-python/pexpect/pexpect-3.2.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-PYTHON_COMPAT=( python{2_7,3_3,3_4} )
-
-inherit distutils-r1
-
-DESCRIPTION="Python module for spawning child applications and responding to 
expected patterns"
-HOMEPAGE="http://pexpect.sourceforge.net/ https://pypi.python.org/pypi/pexpect";
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~amd64-fbsd ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
-IUSE="doc examples"
-
-DEPEND="doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
-
-python_compile_all() {
-   use doc && emake -C doc html
-}
-
-python_test() {
-   . test.env || die
-   "${PYTHON}" tools/testall.py || die "Tests fail with ${EPYTHON}"
-}
-
-python_install_all() {
-   use doc && local HTML_DOCS=( doc/_build/html/. )
-