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

Felix Yan felixonmars at archlinux.org
Fri Jul 8 02:45:59 UTC 2016


    Date: Friday, July 8, 2016 @ 02:45:59
  Author: felixonmars
Revision: 271154

archrelease: copy trunk to extra-any

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

----------+
 PKGBUILD |  115 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 58 insertions(+), 57 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2016-07-08 02:45:45 UTC (rev 271153)
+++ PKGBUILD	2016-07-08 02:45:59 UTC (rev 271154)
@@ -1,57 +0,0 @@
-# $Id$
-# Maintainer: Angel Velasquez <angvp at archlinux.org>
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-astroid
-pkgname=('python2-astroid' 'python-astroid')
-pkgver=1.4.6
-pkgrel=1
-pkgdesc="Useful miscellaneous modules used by Logilab projects"
-arch=('any')
-url="https://github.com/PyCQA/astroid"
-license=('LGPL')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-six' 'python2-six' 'git'
-             'python-lazy-object-proxy' 'python2-lazy-object-proxy' 'python-wrapt' 'python2-wrapt'
-             'python2-singledispatch' 'python2-enum34')
-source=("git+https://github.com/PyCQA/astroid.git#tag=astroid-$pkgver")
-sha1sums=('SKIP')
-
-prepare() {
-  cp -a astroid{,-py2}
-}
-
-build() {
-  cd "$srcdir"/astroid
-  python setup.py build
-
-  cd "$srcdir"/astroid-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/astroid
-  PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -Wi -m unittest discover -s build/lib/astroid/tests -p "unittest*.py"
-
-  cd "$srcdir"/astroid-py2
-  PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 -Wi -m unittest discover -s build/lib/astroid/tests -p "unittest*.py" || warning "Tests failed"
-}
-
-package_python-astroid() {
-  depends=('python-six' 'python-lazy-object-proxy' 'python-wrapt')
-  replaces=('python-logilab-astng')
-  conflicts=('python-logilab-astng')
-
-  cd astroid
-
-  python setup.py install --optimize=1 --skip-build --prefix=/usr --root="$pkgdir"
-}
-
-package_python2-astroid() {
-  depends=('python2-six' 'python2-lazy-object-proxy' 'python2-wrapt' 'python2-singledispatch' 'python2-enum34')
-  replaces=('python2-logilab-astng')
-  conflicts=('python2-logilab-astng')
-
-  cd astroid-py2
-
-  python2 setup.py install --optimize=1 --skip-build --prefix=/usr --root="$pkgdir"
-}

Copied: python-astroid/repos/extra-any/PKGBUILD (from rev 271153, python-astroid/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2016-07-08 02:45:59 UTC (rev 271154)
@@ -0,0 +1,58 @@
+# $Id$
+# Maintainer: Angel Velasquez <angvp at archlinux.org>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-astroid
+pkgname=('python2-astroid' 'python-astroid')
+pkgver=1.4.7
+pkgrel=1
+pkgdesc="Useful miscellaneous modules used by Logilab projects"
+arch=('any')
+url="https://github.com/PyCQA/astroid"
+license=('LGPL')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-six' 'python2-six' 'git'
+             'python-lazy-object-proxy' 'python2-lazy-object-proxy' 'python-wrapt' 'python2-wrapt'
+             'python2-singledispatch' 'python2-enum34')
+source=("git+https://github.com/PyCQA/astroid.git#tag=astroid-$pkgver")
+sha1sums=('SKIP')
+
+prepare() {
+  cp -a astroid{,-py2}
+}
+
+build() {
+  cd "$srcdir"/astroid
+  python setup.py build
+
+  cd "$srcdir"/astroid-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/astroid
+  PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -Wi -m unittest discover -s build/lib/astroid/tests -p "unittest*.py"
+
+  cd "$srcdir"/astroid-py2
+  PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 -Wi -m unittest discover -s build/lib/astroid/tests -p "unittest*.py" || warning "Tests failed"
+}
+
+package_python-astroid() {
+  depends=('python-six' 'python-lazy-object-proxy' 'python-wrapt')
+  replaces=('python-logilab-astng')
+  conflicts=('python-logilab-astng')
+
+  cd astroid
+
+  python setup.py install --optimize=1 --skip-build --prefix=/usr --root="$pkgdir"
+}
+
+package_python2-astroid() {
+  depends=('python2-six' 'python2-lazy-object-proxy' 'python2-wrapt' 'python2-singledispatch'
+           'python2-enum34')
+  replaces=('python2-logilab-astng')
+  conflicts=('python2-logilab-astng')
+
+  cd astroid-py2
+
+  python2 setup.py install --optimize=1 --skip-build --prefix=/usr --root="$pkgdir"
+}



More information about the arch-commits mailing list