diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 46e826dcd..d76cff4de 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -11,6 +11,7 @@ To remove the (conflicting) wrong one, do a: * update PyGithub-1.43.8 * update PyGithub-1.52 * update evohome-async-0.3.5 + * restore (still needed) pexpect-4.6.0 from archive 2020-09-13 * bump youtube_dl-2020.9.6 diff --git a/dev-python/pexpect/Manifest b/dev-python/pexpect/Manifest new file mode 100644 index 000000000..6fdc30966 --- /dev/null +++ b/dev-python/pexpect/Manifest @@ -0,0 +1,3 @@ +DIST pexpect-4.6.0.tar.gz 148966 BLAKE2B 0ed1a3c31133bf618e4c75ea099efaa9bda9e2b7f92f46c54ad553ecc56487e5415b750334376a95599ada53e17e91efe7d4b65ad80bb4f6a1cf9d655a3c9685 SHA512 9a2b1ef19d885e69cfd17ba0519581f782574019010043e66d8b68f98ac86b359f4a1ca42f8bb0059a5dfdd43275ad93531c076cc0ac2049e109408961b46bbd +EBUILD pexpect-4.6.0.ebuild 1037 BLAKE2B e632ef41e3d9b2786ecf638f2e1d13a6b17a354d45c66d527d44e41f52b7a59da955558f949f8c86afea47e671ed49ac10a1f8bc8fc5cfa45a695f0b093cc2c2 SHA512 1bcdf0f1a715c67b068115cdacca2008ad93848f65a77d94f1f18895102522486869fda1a34235a869970a69cea74acff62f25ab2e6d9411dc31aaa86d52f962 +MISC metadata.xml 402 BLAKE2B e6c1f9d8cc5397177b54d7bda059a281267e005b9391e6d18e3b70ec3e6fd09bbdf1d214a105e608e3a43f34f0f6e5d7e924366e33647fdfc7d68283c8749d06 SHA512 bd48e666243651d02523b111ee7d8073ed10b8813765f19c7d17e12b7b84bf58be03a157486fcaa65f34866a983d46885723d944348a0cc16b9bb05cc474ffaa diff --git a/dev-python/pexpect/metadata.xml b/dev-python/pexpect/metadata.xml new file mode 100644 index 000000000..67e271d5d --- /dev/null +++ b/dev-python/pexpect/metadata.xml @@ -0,0 +1,13 @@ + + + + + python@gentoo.org + Python + + + + pexpect + pexpect/pexpect + + 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 000000000..a93d1c6be --- /dev/null +++ b/dev-python/pexpect/pexpect-4.6.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +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 sh 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 )" + +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 +}