[arch-commits] Commit in python-pycparser/repos/extra-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sun Oct 30 10:46:49 UTC 2016


    Date: Sunday, October 30, 2016 @ 10:46:48
  Author: felixonmars
Revision: 279469

archrelease: copy trunk to extra-any

Added:
  python-pycparser/repos/extra-any/PKGBUILD
    (from rev 279468, python-pycparser/trunk/PKGBUILD)
Deleted:
  python-pycparser/repos/extra-any/PKGBUILD

----------+
 PKGBUILD |  118 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 59 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2016-10-30 10:44:43 UTC (rev 279468)
+++ PKGBUILD	2016-10-30 10:46:48 UTC (rev 279469)
@@ -1,59 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Justin Dray <justin at dray.be>
-# Contributor: Alexander Rødseth <rodseth at gmail.com>
-# Contributor: lang2 <wenzhi.liang at gmail.com>
-
-pkgbase=python-pycparser
-pkgname=(python-pycparser python2-pycparser)
-pkgver=2.16
-pkgrel=1
-pkgdesc='C parser and AST generator written in Python'
-url='https://github.com/eliben/pycparser'
-makedepends=('python-ply' 'python2-ply' 'python-setuptools' 'python2-setuptools' 'git')
-arch=('any')
-license=('BSD')
-source=("git+https://github.com/eliben/pycparser.git#tag=release_v$pkgver")
-sha256sums=('SKIP')
-
-prepare() {
-  cp -a pycparser{,-py2}
-}
-
-build() {
-  cd "$srcdir"/pycparser
-  python setup.py build
-  cd pycparser
-  python _build_tables.py
-
-  cd "$srcdir"/pycparser-py2
-  python2 setup.py build
-  cd pycparser
-  python2 _build_tables.py
-}
-
-check() {
-  cd "$srcdir"/pycparser
-  python tests/all_tests.py
-
-  cd "$srcdir"/pycparser-py2
-  python2 tests/all_tests.py
-}
-
-package_python-pycparser() {
-  depends=('python-ply')
-
-  cd pycparser
-
-  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-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 279468, python-pycparser/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2016-10-30 10:46:48 UTC (rev 279469)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Justin Dray <justin at dray.be>
+# Contributor: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: lang2 <wenzhi.liang at gmail.com>
+
+pkgbase=python-pycparser
+pkgname=(python-pycparser python2-pycparser)
+pkgver=2.17
+pkgrel=1
+pkgdesc='C parser and AST generator written in Python'
+url='https://github.com/eliben/pycparser'
+makedepends=('python-ply' 'python2-ply' 'python-setuptools' 'python2-setuptools' 'git')
+arch=('any')
+license=('BSD')
+source=("git+https://github.com/eliben/pycparser.git#tag=release_v$pkgver")
+sha256sums=('SKIP')
+
+prepare() {
+  cp -a pycparser{,-py2}
+}
+
+build() {
+  cd "$srcdir"/pycparser
+  python setup.py build
+  cd pycparser
+  python _build_tables.py
+
+  cd "$srcdir"/pycparser-py2
+  python2 setup.py build
+  cd pycparser
+  python2 _build_tables.py
+}
+
+check() {
+  cd "$srcdir"/pycparser
+  python tests/all_tests.py
+
+  cd "$srcdir"/pycparser-py2
+  python2 tests/all_tests.py
+}
+
+package_python-pycparser() {
+  depends=('python-ply')
+
+  cd pycparser
+
+  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-py2
+
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list