summaryrefslogblamecommitdiff
path: root/user/py3-pexpect/APKBUILD
blob: 2394872d53efd9d626686f7436380a9522361fcb (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12


                                                           

                      






                                                          
                                                                                                          
















                                                               
                                                                                                                                                                   
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=py3-pexpect
_pkgname=${pkgname#*-}
pkgver=4.7.0
pkgrel=0
pkgdesc="Python library for managing console applications"
url="https://pexpect.readthedocs.io/"
arch="noarch"
license="ISC"
depends="python3 py3-ptyprocess"
makedepends=""
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/pexpect-$pkgver"

build() {
	cd "$builddir"
	python3 setup.py build
}

check() {
	cd "$builddir"
	python3 setup.py check
}

package() {
	cd "$builddir"
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="4cea4229332c1f3de26dfcad596877665b3c02e91d51ca3c45c1f9b44462adb7c82abc7b76eb09a73822c2d1ccc9d812574cf79bf6bc8fb0b7d2f1093962cc3f  pexpect-4.7.0.tar.gz"