makedepends=(python-build python-installer python-setuptools python-packaging python-wheel)
run=(python python-ptyprocess)

description="For controlling and automating applications"
url="https://github.com/pexpect/pexpect"

packager="Great-OS Team"
maintainer="Great-OS Team"

name="python-pexpect"
version="4.9"
release=1

PKGMK_KEEP_SOURCES='no'
source=(https://github.com/pexpect/pexpect/archive/refs/tags/${version}.tar.gz)

build() {
  cd ${name#python-}-$version
  python3 -m build --wheel --no-isolation
  python3 -m installer --destdir="$PKG" dist/*.whl
}
