[arch-commits] Commit in python-pycparser/trunk (PKGBUILD)

Felix Yan fyan at archlinux.org
Wed Jun 10 14:51:19 UTC 2015


    Date: Wednesday, June 10, 2015 @ 16:51:19
  Author: fyan
Revision: 240475

upgpkg: python-pycparser 2.14-1

Modified:
  python-pycparser/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-06-10 14:28:34 UTC (rev 240474)
+++ PKGBUILD	2015-06-10 14:51:19 UTC (rev 240475)
@@ -6,15 +6,15 @@
 
 pkgbase=python-pycparser
 pkgname=(python-pycparser python2-pycparser)
-pkgver=2.13
+pkgver=2.14
 pkgrel=1
 pkgdesc='C parser and AST generator written in Python'
 url='https://github.com/eliben/pycparser'
-makedepends=('python-ply' 'python2-ply' 'git')
+makedepends=('python-ply' 'python2-ply' 'python-setuptools' 'python2-setuptools' 'git')
 arch=('any')
 license=('BSD')
 source=("https://github.com/eliben/pycparser/archive/release_v$pkgver.zip")
-sha256sums=('93d5a52d802dfe9f8724fdeb4446b689eabf2e6a817e390c34cc5b2cd6cddf6e')
+sha256sums=('8612b94df49ce0c69a56b7ba23530e69cfb91bf788cc7fde14e17a099feb4e25')
 
 prepare() {
   cp -a pycparser-release_v${pkgver}{,-py2}
@@ -34,6 +34,14 @@
   python2 _build_tables.py
 }
 
+check() {
+  cd pycparser-release_v${pkgver}
+  python tests/all_tests.py
+
+  cd "$srcdir/pycparser-release_v${pkgver}-py2"
+  python2 tests/all_tests.py
+}
+
 package_python-pycparser() {
   depends=('python-ply')
 



More information about the arch-commits mailing list