Moved python-pexpect to the CCR.

This commit is contained in:
Adrian Chaves Fernandez (Gallaecio) 2012-11-11 01:04:18 +00:00
parent 95246b57f5
commit 9be1ad93da

View File

@ -1,21 +0,0 @@
# Maintainer: Aaron Schaefer <aaron@elasticdog.com>
pkgname=python-pexpect
pkgver=2.3
pkgrel=3
pkgdesc='A pure Python Expect-like module'
arch=('i686' 'x86_64')
url='http://pexpect.sourceforge.net/'
license=('MIT')
depends=('python2')
source=("http://downloads.sourceforge.net/sourceforge/pexpect/pexpect-$pkgver.tar.gz")
md5sums=('bf107cf54e67bc6dec5bea1f3e6a65c3')
build() {
cd $startdir/src/pexpect-$pkgver
# python2 fix
sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' FSM.py
python2 setup.py install --root=$startdir/pkg || return 1
install -D -m644 LICENSE $startdir/pkg/usr/share/licenses/$pkgname/LICENSE
}