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

Felix Yan felixonmars at archlinux.org
Mon Nov 26 19:13:16 UTC 2018


    Date: Monday, November 26, 2018 @ 19:13:15
  Author: felixonmars
Revision: 340413

archrelease: copy trunk to testing-any

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

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

Copied: python-astroid/repos/testing-any/PKGBUILD (from rev 340412, python-astroid/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD	                        (rev 0)
+++ testing-any/PKGBUILD	2018-11-26 19:13:15 UTC (rev 340413)
@@ -0,0 +1,32 @@
+# Maintainer: Angel Velasquez <angvp at archlinux.org>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-astroid
+pkgver=2.1.0
+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=('e49a191ceac7840caf4194bf710e223f70dcd82c40679d642ea16d0e21de75a33459066650a9ba82c4017de1442afef0775fe77954ebde59dae265c9c8e9fecc')
+
+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"
+}



More information about the arch-commits mailing list