diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2016-06-08 21:54:30 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2016-06-11 17:39:08 +0200 |
commit | 939ac0d317501cd349c38a898a14a4863bdbe78e (patch) | |
tree | d203b902db862200364c8a47428f1eec5655a3fa /testing/py-pexpect | |
parent | aa26b1ecd031f53ce479d043024c1e60ddcbff52 (diff) | |
download | aports-939ac0d317501cd349c38a898a14a4863bdbe78e.tar.bz2 aports-939ac0d317501cd349c38a898a14a4863bdbe78e.tar.xz |
testing/py-pexpect: upgrade to 4.1.0, fix missing dependency
Diffstat (limited to 'testing/py-pexpect')
-rw-r--r-- | testing/py-pexpect/APKBUILD | 35 |
1 files changed, 12 insertions, 23 deletions
diff --git a/testing/py-pexpect/APKBUILD b/testing/py-pexpect/APKBUILD index 88c8553c1b..f1606dce19 100644 --- a/testing/py-pexpect/APKBUILD +++ b/testing/py-pexpect/APKBUILD @@ -1,41 +1,30 @@ # Contributor: Francesco Colista <fcolista@alpinelinux.org> # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=py-pexpect -_pkgname=pexpect -pkgver=4.0.1 +_pkgname=${pkgname#py-} +pkgver=4.1.0 pkgrel=0 pkgdesc="Make Python a better tool for controlling and automating other programs" url="http://pexpect.readthedocs.org/en/stable" arch="noarch" license="MIT" -depends="python" -depends_dev="" -makedepends="$depends_dev python-dev" -install="" +depends="python py-ptyprocess" +makedepends="python-dev" subpackages="$pkgname-doc" -source="http://pypi.python.org/packages/source/p/$_pkgname/$_pkgname-$pkgver.tar.gz" - -_builddir="$srcdir"/$_pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} +source="$pkgname-$pkgver.tar.gz::https://github.com/pexpect/$_pkgname/archive/$pkgver.tar.gz" +builddir="$srcdir/$_pkgname-$pkgver" build() { - cd "$_builddir" + cd "$builddir" python setup.py build || return 1 } package() { - cd "$_builddir" + cd "$builddir" python setup.py install --prefix=/usr --root="$pkgdir" || return 1 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } -md5sums="056df81e6ca7081f1015b4b147b977b7 pexpect-4.0.1.tar.gz" -sha256sums="232795ebcaaf2e120396dbbaa3a129eda51757eeaae1911558f4ef8ee414fc6c pexpect-4.0.1.tar.gz" -sha512sums="c2476f977964379faa3ecef1bc4800f3a87bd6cdd9e2d52e4e4f33a4060a97bb54f0770dfb5804d5a863eaf6ddef6b11be1d24f1617cc4837015202868ca7e87 pexpect-4.0.1.tar.gz" + +md5sums="049f3c98f4b0b7426e6b5d8a01566786 py-pexpect-4.1.0.tar.gz" +sha256sums="be665e01713acc296014a9883bc1ab12232424053ae884a317864b0e8ece6f93 py-pexpect-4.1.0.tar.gz" +sha512sums="eecd0a4d621e9c14249922bfc36efb8e89c527625d2e2f4fdc0053911f3666e5de7608ce08e023a4020a6baefadbd4643fe32b9e8c34d961296c6b388a2cc2d5 py-pexpect-4.1.0.tar.gz" |