Date: Wednesday, April 22, 2015 @ 06:31:27 Author: fyan Revision: 237887
archrelease: copy trunk to extra-any Added: python-pycparser/repos/extra-any/PKGBUILD (from rev 237886, python-pycparser/trunk/PKGBUILD) Deleted: python-pycparser/repos/extra-any/PKGBUILD ----------+ PKGBUILD | 106 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 53 insertions(+), 53 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2015-04-22 04:30:55 UTC (rev 237886) +++ PKGBUILD 2015-04-22 04:31:27 UTC (rev 237887) @@ -1,53 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@gmail.com> -# Contributor: Justin Dray <jus...@dray.be> -# Contributor: Alexander Rødseth <rods...@gmail.com> -# Contributor: lang2 <wenzhi.li...@gmail.com> - -pkgbase=python-pycparser -pkgname=(python-pycparser python2-pycparser) -pkgver=2.10 -pkgrel=4 -pkgdesc='C parser and AST generator written in Python' -url='https://github.com/eliben/pycparser' -makedepends=('python-ply' 'python2-ply' 'git') -arch=('any') -license=('BSD') -source=('https://github.com/eliben/pycparser/archive/release_v2.10.zip') -sha256sums=('1217244f882c330782f4762a1fb37cef21a929ce0123ac388e7e367c35ddbae3') - -prepare() { - cp -r pycparser-release_v${pkgver}{,-py2} -} - -build() { - cd pycparser-release_v${pkgver} - python setup.py build - - cd pycparser - python _build_tables.py - - cd "$srcdir/pycparser-release_v${pkgver}-py2" - python2 setup.py build - - cd pycparser - python2 _build_tables.py -} - -package_python-pycparser() { - depends=('python-ply') - - cd pycparser-release_v${pkgver} - - python setup.py install --root="$pkgdir" --optimize=1 - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} - -package_python2-pycparser() { - depends=('python2-ply') - - cd pycparser-release_v${pkgver}-py2 - - python2 setup.py install --root="$pkgdir" --optimize=1 - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} Copied: python-pycparser/repos/extra-any/PKGBUILD (from rev 237886, python-pycparser/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2015-04-22 04:31:27 UTC (rev 237887) @@ -0,0 +1,53 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Justin Dray <jus...@dray.be> +# Contributor: Alexander Rødseth <rods...@gmail.com> +# Contributor: lang2 <wenzhi.li...@gmail.com> + +pkgbase=python-pycparser +pkgname=(python-pycparser python2-pycparser) +pkgver=2.11 +pkgrel=1 +pkgdesc='C parser and AST generator written in Python' +url='https://github.com/eliben/pycparser' +makedepends=('python-ply' 'python2-ply' 'git') +arch=('any') +license=('BSD') +source=("https://github.com/eliben/pycparser/archive/release_v$pkgver.zip") +sha256sums=('6740b0aba77521697d187d7e986cc9e838cc003ece4bcd3784760961984cee3d') + +prepare() { + cp -a pycparser-release_v${pkgver}{,-py2} +} + +build() { + cd pycparser-release_v${pkgver} + python setup.py build + + cd pycparser + python _build_tables.py + + cd "$srcdir/pycparser-release_v${pkgver}-py2" + python2 setup.py build + + cd pycparser + python2 _build_tables.py +} + +package_python-pycparser() { + depends=('python-ply') + + cd pycparser-release_v${pkgver} + + python setup.py install --root="$pkgdir" --optimize=1 + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + +package_python2-pycparser() { + depends=('python2-ply') + + cd pycparser-release_v${pkgver}-py2 + + python2 setup.py install --root="$pkgdir" --optimize=1 + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +}