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

Evangelos Foutras foutrelis at archlinux.org
Sun Jul 15 11:21:41 UTC 2018


    Date: Sunday, July 15, 2018 @ 11:21:40
  Author: foutrelis
Revision: 328682

archrelease: copy trunk to extra-any

Added:
  python2-astroid/repos/extra-any/
  python2-astroid/repos/extra-any/PKGBUILD
    (from rev 328681, python2-astroid/trunk/PKGBUILD)

----------+
 PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

Copied: python2-astroid/repos/extra-any/PKGBUILD (from rev 328681, python2-astroid/trunk/PKGBUILD)
===================================================================
--- extra-any/PKGBUILD	                        (rev 0)
+++ extra-any/PKGBUILD	2018-07-15 11:21:40 UTC (rev 328682)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Angel Velasquez <angvp at archlinux.org>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python2-astroid
+pkgver=1.6.5
+pkgrel=2
+pkgdesc="Useful miscellaneous modules used by Logilab projects"
+arch=('any')
+url="https://github.com/PyCQA/astroid"
+license=('LGPL')
+depends=('python2-six' 'python2-lazy-object-proxy' 'python2-wrapt'
+         'python2-singledispatch' 'python2-enum34'
+         'python2-backports.functools_lru_cache')
+makedepends=('python2-setuptools')
+checkdepends=('python2-dateutil' 'python2-pytest' 'python2-numpy' 'python2-nose')
+replaces=('python2-logilab-astng')
+conflicts=('python2-logilab-astng')
+source=(https://github.com/PyCQA/astroid/archive/astroid-$pkgver.tar.gz)
+sha512sums=('b08a178db78114cdaa02283dacd9aab63c3e2e0586d003d83de13ee362c539d36a9547d57baa561de475e168690e997de49210c122848ec60ffef943b9eaabc7')
+
+build() {
+  cd "$srcdir"/astroid-astroid-$pkgver
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/astroid-astroid-$pkgver
+  pytest2
+}
+
+package_python2-astroid() {
+  cd "$srcdir"/astroid-astroid-$pkgver
+  python2 setup.py install --optimize=1 --skip-build --prefix=/usr --root="$pkgdir"
+}



More information about the arch-commits mailing list