Date: Tuesday, June 25, 2019 @ 20:58:09 Author: jelle Revision: 484079
archrelease: copy trunk to community-any Added: python-parso/repos/community-any/PKGBUILD (from rev 484078, python-parso/trunk/PKGBUILD) Deleted: python-parso/repos/community-any/PKGBUILD ----------+ PKGBUILD | 72 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 36 insertions(+), 36 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-06-25 20:58:00 UTC (rev 484078) +++ PKGBUILD 2019-06-25 20:58:09 UTC (rev 484079) @@ -1,36 +0,0 @@ -# Maintainer: Jelle van der Waa <je...@vdwaa.nl> - -_pkgbase=parso -pkgbase=python-parso -pkgname=('python-parso' 'python2-parso') -pkgver=0.4.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=('721c1d9bd98e9d58869f14d595382b72') - -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 484078, python-parso/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-06-25 20:58:09 UTC (rev 484079) @@ -0,0 +1,36 @@ +# Maintainer: Jelle van der Waa <je...@vdwaa.nl> + +_pkgbase=parso +pkgbase=python-parso +pkgname=('python-parso' 'python2-parso') +pkgver=0.5.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=('bd5849a42b7cbe9d1ebcfb279e60dc52') + +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" +}