Date: Tuesday, August 7, 2018 @ 03:52:30
  Author: felixonmars
Revision: 331083

archrelease: copy trunk to testing-any

Added:
  python-astroid/repos/testing-any/
  python-astroid/repos/testing-any/PKGBUILD
    (from rev 331082, python-astroid/trunk/PKGBUILD)

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

Copied: python-astroid/repos/testing-any/PKGBUILD (from rev 331082, 
python-astroid/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD                                (rev 0)
+++ testing-any/PKGBUILD        2018-08-07 03:52:30 UTC (rev 331083)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Angel Velasquez <[email protected]>
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-astroid
+pkgver=2.0.2
+pkgrel=1
+pkgdesc="Useful miscellaneous modules used by Logilab projects"
+arch=('any')
+url="https://github.com/PyCQA/astroid";
+license=('LGPL')
+depends=('python-six' 'python-lazy-object-proxy' 'python-wrapt')
+makedepends=('python-setuptools')
+checkdepends=('python-dateutil' 'python-pytest' 'python-numpy' 'python-nose')
+replaces=('python-logilab-astng')
+conflicts=('python-logilab-astng')
+source=(https://github.com/PyCQA/astroid/archive/astroid-$pkgver.tar.gz)
+sha512sums=('822171fb08a598976019c4754f0318b2ecef07c080ec01ff03a86e140d0802311aa2523277bcad4966ca5803fb0a12b529dbf531d9642872d8b0b89cd885d3cf')
+
+build() {
+  cd "$srcdir"/astroid-astroid-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd "$srcdir"/astroid-astroid-$pkgver
+  pytest
+}
+
+package() {
+  cd "$srcdir"/astroid-astroid-$pkgver
+  python setup.py install --optimize=1 --skip-build --prefix=/usr 
--root="$pkgdir"
+}

Reply via email to