python3-pexpect: update to 4.9.0, adopt.

This commit is contained in:
Gonzalo Tornaría 2023-12-22 10:18:37 -03:00 committed by Andrew J. Hesford
parent cd32a80186
commit 0da0092309

View file

@ -1,27 +1,19 @@
# Template file for 'python3-pexpect'
pkgname=python3-pexpect
version=4.8.0
revision=4
version=4.9.0
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-ptyprocess"
checkdepends="python3-pytest python3-ptyprocess mdocml"
short_desc="Python3 module for spawning child applications and controlling them"
maintainer="Orphaned <orphan@voidlinux.org>"
checkdepends="$depends python3-pytest mdocml zsh"
short_desc="Spawn child applications and control them"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="ISC"
homepage="https://pexpect.readthedocs.io/"
changelog="https://raw.githubusercontent.com/pexpect/pexpect/master/doc/history.rst"
distfiles="${PYPI_SITE}/p/pexpect/pexpect-${version}.tar.gz"
checksum=fc65a43959d153d0114afe13997d439c22823a27cefceb5ff35c2178c6784c0c
do_check() {
# the mdcocml is for test
# REPLWrapTestCase.test_pager_as_cat
python3 -m pytest
}
checksum=ee7d41123f3c9911050ea2c2dac107568dc43b2d3b0c7557a33212c398ead30f
post_install() {
# drop asyncio stuff from python2
# https://github.com/pexpect/pexpect/issues/290
rm -f ${DESTDIR}/usr/lib/python$py3_ver/site-packages/pexpect/_async.py
vlicense LICENSE
}