Date: Sunday, July 15, 2018 @ 11:13:38
  Author: felixonmars
Revision: 328680

archrelease: copy trunk to staging-any

Added:
  python-astroid/repos/staging-any/
  python-astroid/repos/staging-any/PKGBUILD
    (from rev 328679, python-astroid/trunk/PKGBUILD)

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

Copied: python-astroid/repos/staging-any/PKGBUILD (from rev 328679, 
python-astroid/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD                                (rev 0)
+++ staging-any/PKGBUILD        2018-07-15 11:13:38 UTC (rev 328680)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Angel Velasquez <an...@archlinux.org>
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+
+pkgname=python-astroid
+pkgver=2.0
+pkgrel=2
+pkgdesc="Useful miscellaneous modules used by Logilab projects"
+arch=('any')
+url="https://github.com/PyCQA/astroid";
+license=('LGPL')
+makedepends=('python-setuptools' 'python-six' 'python-lazy-object-proxy'
+             'python-wrapt')
+checkdepends=('python-dateutil' 'python-pytest' 'python-numpy' 'python-nose'
+              'python-typed-ast')
+source=(https://github.com/PyCQA/astroid/archive/astroid-$pkgver.tar.gz)
+sha512sums=('d91ffbe2cf8aef0e6ddb32ab11b638c41d5ffc3b6a57f555e14de1fbc9375699c6be78330f2e26cad4c1c8b761d2a8c40bed0bf749a41b94d858f52d1081e9c5')
+
+build() {
+  cd "$srcdir"/astroid-astroid-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd "$srcdir"/astroid-astroid-$pkgver
+  pytest
+}
+
+package_python-astroid() {
+  depends=('python-six' 'python-lazy-object-proxy' 'python-wrapt')
+  replaces=('python-logilab-astng')
+  conflicts=('python-logilab-astng')
+
+  cd astroid-astroid-$pkgver
+  python setup.py install --optimize=1 --skip-build --prefix=/usr 
--root="$pkgdir"
+}

Reply via email to