Date: Tuesday, May 7, 2019 @ 08:20:03 Author: arodseth Revision: 461893
archrelease: copy trunk to community-any Added: python-pexpect/repos/community-any/PKGBUILD (from rev 461892, python-pexpect/trunk/PKGBUILD) Deleted: python-pexpect/repos/community-any/PKGBUILD ----------+ PKGBUILD | 74 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 37 insertions(+), 37 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-05-07 08:19:45 UTC (rev 461892) +++ PKGBUILD 2019-05-07 08:20:03 UTC (rev 461893) @@ -1,37 +0,0 @@ -# Maintainer: Alexander F. Rødseth <xypr...@archlinux.org> -# Contributor: Aaron Schaefer <aa...@elasticdog.com> - -pkgname=(python-pexpect python2-pexpect) -pkgver=4.7.0 -pkgrel=1 -pkgdesc='For controlling and automating applications' -arch=(any) -url='https://pexpect.readthedocs.org/en/stable/' -license=(MIT) -makedepends=(git python python2) -source=("git+https://github.com/pexpect/pexpect#tag=$pkgver") -sha512sums=('SKIP') - -prepare() { - cp -r pexpect python2-pexpect - sed -i 's,env python,env python2,' python2-pexpect/pexpect/FSM.py -} - -package_python-pexpect() { - depends+=(python python-ptyprocess) - - cd pexpect - python setup.py install --root="$pkgdir" - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} - -package_python2-pexpect() { - depends+=(python2 python2-ptyprocess) - - cd python2-pexpect - python2 setup.py install --root="$pkgdir" - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} - -# getver: pypi.python.org/pypi/pexpect -# vim: ts=2 sw=2 et: Copied: python-pexpect/repos/community-any/PKGBUILD (from rev 461892, python-pexpect/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-05-07 08:20:03 UTC (rev 461893) @@ -0,0 +1,37 @@ +# Maintainer: Alexander F. Rødseth <xypr...@archlinux.org> +# Contributor: Aaron Schaefer <aa...@elasticdog.com> + +pkgname=(python-pexpect python2-pexpect) +pkgver=4.7.0 +pkgrel=1 +pkgdesc='For controlling and automating applications' +arch=(any) +url='https://pexpect.readthedocs.org/en/stable/' +license=(MIT) +makedepends=(git python python2) +source=("git+https://github.com/pexpect/pexpect#tag=$pkgver") +sha512sums=('SKIP') + +prepare() { + cp -r pexpect python2-pexpect + sed -i 's,env python,env python2,' python2-pexpect/pexpect/FSM.py +} + +package_python-pexpect() { + depends+=(python python-ptyprocess) + + cd pexpect + python setup.py install --root="$pkgdir" + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + +package_python2-pexpect() { + depends+=(python2 python2-ptyprocess) + + cd python2-pexpect + python2 setup.py install --root="$pkgdir" + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + +# getver: pypi.python.org/pypi/pexpect +# vim: ts=2 sw=2 et: