summaryrefslogblamecommitdiff
path: root/user/py3-pexpect/APKBUILD
blob: 6d69fe2929438b40482aa660d3e014b17bbd835f (plain) (tree)
1
2
3
4
5
6
7

                                                         
                   
                      

                      
            






                                                          
                                                                                              
















                                                               
                                                                                                                                                                   
# Contributor: Kiyoshi Aman <adelie@aerdan.vulpine.house>
# Maintainer: Kiyoshi Aman <adelie@aerdan.vulpine.house>
pkgname=py3-pexpect
_pkgname=${pkgname#*-}
_p="${_pkgname#?}"
_p="${_pkgname%"$_p"}"
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/$_p/$_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"