blob: 49ec5c17caecb00ae221afdb96d43e0e99f4403a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# Maintainer: Aaron Schaefer <aaron@elasticdog.com>
pkgname=python-pexpect
pkgver=2.3
pkgrel=4
pkgdesc='A pure Python Expect-like module'
arch=('i686' 'x86_64' 'mips64el')
url='http://pexpect.sourceforge.net/'
license=('MIT')
depends=('python2')
source=("http://downloads.sourceforge.net/sourceforge/pexpect/pexpect-$pkgver.tar.gz")
md5sums=('bf107cf54e67bc6dec5bea1f3e6a65c3')
build() {
cd $srcdir/pexpect-$pkgver
# python2 fix
sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' FSM.py
python2 setup.py install --root=$pkgdir
install -D -m644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
}
|