diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-05-24 18:44:23 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-05-24 18:44:23 +0000 |
| commit | b8de162d8ddccdbffc26f279e208af94479024e2 (patch) | |
| tree | e0fed93810ba81535abcce35e659a7e93b4d8eed /dev-python/pexpect | |
| parent | c1de40626918fe5b72160d4699e5dc64ba0b79eb (diff) | |
| download | baldeagleos-repo-b8de162d8ddccdbffc26f279e208af94479024e2.tar.gz baldeagleos-repo-b8de162d8ddccdbffc26f279e208af94479024e2.tar.xz baldeagleos-repo-b8de162d8ddccdbffc26f279e208af94479024e2.zip | |
Adding metadata
Diffstat (limited to 'dev-python/pexpect')
| -rw-r--r-- | dev-python/pexpect/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/pexpect/pexpect-4.8.0_p20230402.ebuild | 51 |
2 files changed, 52 insertions, 0 deletions
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 000000000000..6b9f2101054c --- /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_{7,8,9,10,11} 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 +} |
