Date: Friday, July 13, 2018 @ 17:06:24 Author: jelle Revision: 358666
archrelease: copy trunk to community-any Added: python-parso/repos/community-any/PKGBUILD (from rev 358665, python-parso/trunk/PKGBUILD) Deleted: python-parso/repos/community-any/PKGBUILD ----------+ PKGBUILD | 72 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 36 insertions(+), 36 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-07-13 17:06:11 UTC (rev 358665) +++ PKGBUILD 2018-07-13 17:06:24 UTC (rev 358666) @@ -1,36 +0,0 @@ -# Maintainer: Jelle van der Waa <je...@vdwaa.nl> - -_pkgbase=parso -pkgbase=python-parso -pkgname=('python-parso' 'python2-parso') -pkgver=0.3.0 -pkgrel=1 -pkgdesc="Python parser that supports error recovery and round-trip parsing for different Python versions" -arch=('any') -url="https://github.com/davidhalter/parso" -license=('MIT') -makedepends=('python' 'python2' 'python-setuptools' 'python2-setuptools') -checkdepends=('python-pytest' 'python2-pytest') -source=("$pkgname-$pkgver.tar.gz::https://github.com/davidhalter/parso/archive/v$pkgver.tar.gz") -md5sums=('6053390fa800b891ee6e9b15c6b1cc82') - -check() { - cd "$_pkgbase-$pkgver" - pytest test -} - -package_python-parso() { - depends=('python') - cd "$_pkgbase-$pkgver" - python3 setup.py install --root="$pkgdir/" --optimize=1 - - install -D -m644 LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE -} - -package_python2-parso() { - depends=('python2') - cd "$_pkgbase-$pkgver" - python2 setup.py install --root="$pkgdir/" --optimize=1 - - install -D -m644 LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE -} Copied: python-parso/repos/community-any/PKGBUILD (from rev 358665, python-parso/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-07-13 17:06:24 UTC (rev 358666) @@ -0,0 +1,36 @@ +# Maintainer: Jelle van der Waa <je...@vdwaa.nl> + +_pkgbase=parso +pkgbase=python-parso +pkgname=('python-parso' 'python2-parso') +pkgver=0.3.1 +pkgrel=1 +pkgdesc="Python parser that supports error recovery and round-trip parsing for different Python versions" +arch=('any') +url="https://github.com/davidhalter/parso" +license=('MIT') +makedepends=('python' 'python2' 'python-setuptools' 'python2-setuptools') +checkdepends=('python-pytest' 'python2-pytest') +source=("$pkgname-$pkgver.tar.gz::https://github.com/davidhalter/parso/archive/v$pkgver.tar.gz") +md5sums=('55e6d2c26b89c9b9742586eca0e73f32') + +check() { + cd "$_pkgbase-$pkgver" + pytest test +} + +package_python-parso() { + depends=('python') + cd "$_pkgbase-$pkgver" + python3 setup.py install --root="$pkgdir/" --optimize=1 + + install -D -m644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + +package_python2-parso() { + depends=('python2') + cd "$_pkgbase-$pkgver" + python2 setup.py install --root="$pkgdir/" --optimize=1 + + install -D -m644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +}