summaryrefslogtreecommitdiff
path: root/user/py3-ptyprocess/APKBUILD
blob: 461336ba1847480853187ee5606b15faed80df40 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Contributor: Kiyoshi Aman <adelie@aerdan.vulpine.house>
# Maintainer: Kiyoshi Aman <adelie@aerdan.vulpine.house>
pkgname=py3-ptyprocess
pkgver=0.6.0
pkgrel=0
pkgdesc="Python library for using pseudo-terminals (ptys)"
url="https://github.com/pexpect/ptyprocess"
arch="noarch"
license="ISC"
depends="python3"
makedepends=""
source="https://files.pythonhosted.org/packages/7d/2d/e4b8733cf79b7309d84c9081a4ab558c89d8c89da5961bf4ddb050ca1ce0/ptyprocess-$pkgver.tar.gz"
sha512sums="b34b6bca977f09d1443b210e338e1300e12d6ef35857f9543b3a116ef3b500ad4844357a7a283321756f886af41bddb1f02b27bf200ef1e82a96fd9e431bed86  ptyprocess-0.6.0.tar.gz"
builddir="$srcdir/ptyprocess-$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"
}