diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-10-03 01:38:57 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-10-03 01:38:57 +0000 |
| commit | eefc3999bc3086e92ba0fcff989eb6bcb9de1781 (patch) | |
| tree | f058ae01a90c12351f3ed481c99c16e3568c73fc /dev-python/pexpect | |
| parent | bc5c5dfb4db7045e5844bbe4b213b4d92d429bff (diff) | |
| download | baldeagleos-repo-eefc3999bc3086e92ba0fcff989eb6bcb9de1781.tar.gz baldeagleos-repo-eefc3999bc3086e92ba0fcff989eb6bcb9de1781.tar.xz baldeagleos-repo-eefc3999bc3086e92ba0fcff989eb6bcb9de1781.zip | |
Adding metadata
Diffstat (limited to 'dev-python/pexpect')
| -rw-r--r-- | dev-python/pexpect/files/pexpect-4.8.0-fix-PS1.patch | 16 | ||||
| -rw-r--r-- | dev-python/pexpect/pexpect-4.8.0-r2.ebuild (renamed from dev-python/pexpect/pexpect-4.8.0-r1.ebuild) | 19 |
2 files changed, 19 insertions, 16 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 000000000000..903b742f71d3 --- /dev/null +++ b/dev-python/pexpect/files/pexpect-4.8.0-fix-PS1.patch @@ -0,0 +1,16 @@ +From: whitley-delamora <62795654+whitley-delamora@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 index 4c07fbb7f6fa..3efd023f96a5 100644 --- a/dev-python/pexpect/pexpect-4.8.0-r1.ebuild +++ b/dev-python/pexpect/pexpect-4.8.0-r2.ebuild @@ -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 |
