mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 20:47:13 +08:00
Moved python-pexpect to the CCR.
This commit is contained in:
parent
95246b57f5
commit
9be1ad93da
@ -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
|
||||
}
|
Loading…
Reference in New Issue
Block a user