Date: Sunday, July 15, 2018 @ 14:29:23 Author: jelle Revision: 359545
archrelease: copy trunk to community-staging-any Added: python-parso/repos/community-staging-any/PKGBUILD (from rev 359544, python-parso/trunk/PKGBUILD) Deleted: python-parso/repos/community-staging-any/PKGBUILD ----------+ PKGBUILD | 72 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 36 insertions(+), 36 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-07-15 14:29:07 UTC (rev 359544) +++ PKGBUILD 2018-07-15 14:29:23 UTC (rev 359545) @@ -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=2 -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-staging-any/PKGBUILD (from rev 359544, python-parso/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-07-15 14:29:23 UTC (rev 359545) @@ -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=2 +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" +}