blob: 90561526c4182f32495cc7fc2bbe16a7242e441d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Maintainer: Adrien Wu <adrien.sf.wu@gmail.com>
pkgname=python2-ptyprocess
pkgver=0.7.0
pkgrel=1
pkgdesc="Run a subprocess in a pseudo terminal"
url="https://github.com/pexpect/ptyprocess"
arch=('any')
provides=('python2-ptyprocess')
depends=('python2')
makedepends=('python2-setuptools')
_name="${pkgname#python2-}"
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
sha256sums=('5c5d0a3b48ceee0b48485e0c26037c0acd7d29765ca3fbb5cb3831d347423220')
build() {
cd "$srcdir/$_name-$pkgver"
python2 setup.py build
}
package() {
cd "$srcdir/$_name-$pkgver"
python2 setup.py install --root="$pkgdir/" --optimize=1 --skip-build
}
|