Date: Friday, July 20, 2018 @ 11:16:46 Author: kkeen Revision: 362593
archrelease: copy trunk to community-staging-any Added: python-ptyprocess/repos/community-staging-any/PKGBUILD (from rev 362592, python-ptyprocess/trunk/PKGBUILD) Deleted: python-ptyprocess/repos/community-staging-any/PKGBUILD ----------+ PKGBUILD | 77 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 39 insertions(+), 38 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-07-20 11:16:32 UTC (rev 362592) +++ PKGBUILD 2018-07-20 11:16:46 UTC (rev 362593) @@ -1,38 +0,0 @@ -# $Id$ -# Maintainer: Kyle Keen <keen...@gmail.com> -# Contributor: Will Shanks <wsha dot code at g mail dot com> - -pkgbase=python-ptyprocess -pkgname=(python-ptyprocess python2-ptyprocess) -_pkgname=ptyprocess -pkgver=0.5.2 -pkgrel=2 -pkgdesc="Run a subprocess in a pseudo terminal" -url="https://github.com/pexpect/ptyprocess" -arch=('any') -license=('ISC') -depends=('python') -makedepends=('python-setuptools' 'python2-setuptools') -source=("https://pypi.io/packages/source/p/$_pkgname/$_pkgname-$pkgver.tar.gz" - 'https://raw.githubusercontent.com/pexpect/ptyprocess/master/LICENSE') -sha512sums=('cb4e70855d388a6ff691e2a244c072a5a50cf39cdf727e3a4218817bf5ac722c4b49f0dbfd80204259998eba137492690759b8908bfea925842b9f7fc83ee553' - '0847180ae31aeae060c4f127f640d7501eea6285ccfd495f032cfcb09058a0ebfff55b75c8d005aa0d73e6401f61d8203c684f4002775436db1d5599aaba937d') - -prepare() { - cd "$srcdir" - cp -r $_pkgname-$pkgver ${_pkgname}2-$pkgver -} - -package_python-ptyprocess() { - cd "$srcdir/$_pkgname-$pkgver" - python3 setup.py install --root="$pkgdir/" --prefix=/usr --optimize=0 - install -Dm644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/python-$_pkgname/LICENSE" -} - -package_python2-ptyprocess() { - depends=('python2') - cd "$srcdir/${_pkgname}2-$pkgver" - python2 setup.py install --root="$pkgdir/" --prefix=/usr --optimize=0 - install -Dm644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/python2-$_pkgname/LICENSE" -} - Copied: python-ptyprocess/repos/community-staging-any/PKGBUILD (from rev 362592, python-ptyprocess/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-07-20 11:16:46 UTC (rev 362593) @@ -0,0 +1,39 @@ +# $Id$ +# Maintainer: Kyle Keen <keen...@gmail.com> +# Contributor: Will Shanks <wsha dot code at g mail dot com> + +pkgbase=python-ptyprocess +pkgname=(python-ptyprocess python2-ptyprocess) +_pkgname=ptyprocess +pkgver=0.6.0 +pkgrel=2 +pkgdesc="Run a subprocess in a pseudo terminal" +url="https://github.com/pexpect/ptyprocess" +arch=('any') +license=('ISC') +depends=('python') +makedepends=('python-setuptools' 'python2-setuptools') +source=("https://pypi.io/packages/source/p/$_pkgname/$_pkgname-$pkgver.tar.gz" + "LIC-pty-$pkgver::https://raw.githubusercontent.com/pexpect/ptyprocess/master/LICENSE") +sha512sums=('b34b6bca977f09d1443b210e338e1300e12d6ef35857f9543b3a116ef3b500ad4844357a7a283321756f886af41bddb1f02b27bf200ef1e82a96fd9e431bed86' + '0847180ae31aeae060c4f127f640d7501eea6285ccfd495f032cfcb09058a0ebfff55b75c8d005aa0d73e6401f61d8203c684f4002775436db1d5599aaba937d') + +prepare() { + cd "$srcdir" + cp -r $_pkgname-$pkgver ${_pkgname}2-$pkgver + mv "LIC-pty-$pkgver" LICENSE +} + +package_python-ptyprocess() { + cd "$srcdir/$_pkgname-$pkgver" + python3 setup.py install --root="$pkgdir/" --prefix=/usr --optimize=0 + install -Dm644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/python-$_pkgname/LICENSE" +} + +package_python2-ptyprocess() { + depends=('python2') + cd "$srcdir/${_pkgname}2-$pkgver" + python2 setup.py install --root="$pkgdir/" --prefix=/usr --optimize=0 + install -Dm644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/python2-$_pkgname/LICENSE" +} +