Date: Sunday, October 27, 2019 @ 07:03:18 Author: felixonmars Revision: 365911
archrelease: copy trunk to staging-any Added: python-pyparsing/repos/staging-any/PKGBUILD (from rev 365910, python-pyparsing/trunk/PKGBUILD) Deleted: python-pyparsing/repos/staging-any/PKGBUILD ----------+ PKGBUILD | 100 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 50 insertions(+), 50 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-10-27 07:03:03 UTC (rev 365910) +++ PKGBUILD 2019-10-27 07:03:18 UTC (rev 365911) @@ -1,50 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Alexander F Rødseth <xypr...@archlinux.org> -# Contributor: Chris Brannon <cmbranno...@gmail.com> -# Contributor: Geoffroy Carrier <geoffroy.carr...@aur.archlinux.org> -# Contributor: Arvid Ephraim Picciani <a...@exys.org> -# Contributor: Michael Krauss <hippodri...@gmx.net> - -pkgname=python-pyparsing -pkgname=('python-pyparsing' 'python2-pyparsing') -pkgver=2.4.2 -pkgrel=3 -pkgdesc='General parsing module for Python' -arch=('any') -url='https://github.com/pyparsing/pyparsing/' -makedepends=('python-setuptools' 'python2-setuptools') -license=('MIT') -source=("https://github.com/pyparsing/pyparsing/archive/pyparsing_$pkgver.tar.gz") -sha512sums=('6f16f507bedfe29f5c1bd6c2632ee859d54f5755697612baccaa7046f7411642dc271f699ec9e852b3ac81bf0e089a5fe3980218ba2ea68ee9b8269eecbff787') - -build() { - cd pyparsing-pyparsing_$pkgver - python setup.py build - python2 setup.py build -} - -check() { - cd pyparsing-pyparsing_$pkgver - python unitTests.py - python2 unitTests.py -} - -package_python-pyparsing() { - depends=('python') - - cd pyparsing-pyparsing_$pkgver - - python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -package_python2-pyparsing() { - depends=('python2') - - cd pyparsing-pyparsing_$pkgver - - python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -# vim:set ts=2 sw=2 et: Copied: python-pyparsing/repos/staging-any/PKGBUILD (from rev 365910, python-pyparsing/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-10-27 07:03:18 UTC (rev 365911) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Alexander F Rødseth <xypr...@archlinux.org> +# Contributor: Chris Brannon <cmbranno...@gmail.com> +# Contributor: Geoffroy Carrier <geoffroy.carr...@aur.archlinux.org> +# Contributor: Arvid Ephraim Picciani <a...@exys.org> +# Contributor: Michael Krauss <hippodri...@gmx.net> + +pkgname=python-pyparsing +pkgname=('python-pyparsing' 'python2-pyparsing') +pkgver=2.4.2 +pkgrel=4 +pkgdesc='General parsing module for Python' +arch=('any') +url='https://github.com/pyparsing/pyparsing/' +makedepends=('python-setuptools' 'python2-setuptools') +license=('MIT') +source=("https://github.com/pyparsing/pyparsing/archive/pyparsing_$pkgver.tar.gz") +sha512sums=('6f16f507bedfe29f5c1bd6c2632ee859d54f5755697612baccaa7046f7411642dc271f699ec9e852b3ac81bf0e089a5fe3980218ba2ea68ee9b8269eecbff787') + +build() { + cd pyparsing-pyparsing_$pkgver + python setup.py build + python2 setup.py build +} + +check() { + cd pyparsing-pyparsing_$pkgver + python unitTests.py + python2 unitTests.py +} + +package_python-pyparsing() { + depends=('python') + + cd pyparsing-pyparsing_$pkgver + + python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +package_python2-pyparsing() { + depends=('python2') + + cd pyparsing-pyparsing_$pkgver + + python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +# vim:set ts=2 sw=2 et: