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

Evangelos Foutras foutrelis at archlinux.org
Fri Oct 25 20:01:44 UTC 2019


    Date: Friday, October 25, 2019 @ 20:01:43
  Author: foutrelis
Revision: 365705

archrelease: copy trunk to staging-any

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

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

Copied: python-astroid/repos/staging-any/PKGBUILD (from rev 365704, python-astroid/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2019-10-25 20:01:43 UTC (rev 365705)
@@ -0,0 +1,32 @@
+# Maintainer: Angel Velasquez <angvp at archlinux.org>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-astroid
+pkgver=2.2.5
+pkgrel=3
+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' 'python-typed-ast')
+makedepends=('python-setuptools')
+checkdepends=('python-dateutil' 'python-pytest' 'python-numpy' 'python-nose' 'python-pytest-runner')
+replaces=('python-logilab-astng')
+conflicts=('python-logilab-astng')
+source=(https://github.com/PyCQA/astroid/archive/astroid-$pkgver.tar.gz)
+sha512sums=('16cc46987a1bed40040b9e1833d0c74dd4c1da91f385fe947d42776197970abaec91a8473069aad4480c877e444802f43a644a63cbaeebfb3824aaf7bc2d5c89')
+
+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