blob: d1afd4e31156aa3e36f7324c3966945682b63838 (
plain)
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
31
32
33
34
35
|
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py3-ptyprocess
_pkgname=ptyprocess
pkgver=0.7.0
pkgrel=4
pkgdesc="Run a subprocess in a pseudo terminal"
url="https://github.com/pexpect/ptyprocess"
arch="noarch"
license="ISC"
depends="python3"
makedepends="py3-setuptools"
checkdepends="bash"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
replaces="py-ptyprocess" # Backwards compatibility
provides="py-ptyprocess=$pkgver-r$pkgrel" # Backwards compatibility
build() {
python3 setup.py build
}
check() {
python3 -m unittest
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="
791d8f2e79900627215ce80ce67ee9c79173dbc08297c6219d5058f9b80c5e323b93049e6836a70c4073f43548d22e3cf310f2e9948ef12f96bcaa15b0ddb2f3 ptyprocess-0.7.0.tar.gz
"
|