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

Felix Yan felixonmars at archlinux.org
Mon Jun 8 11:07:40 UTC 2020


    Date: Monday, June 8, 2020 @ 11:07:39
  Author: felixonmars
Revision: 388494

archrelease: copy trunk to testing-any

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

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

Copied: python-astroid/repos/testing-any/PKGBUILD (from rev 388493, python-astroid/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD	                        (rev 0)
+++ testing-any/PKGBUILD	2020-06-08 11:07:39 UTC (rev 388494)
@@ -0,0 +1,37 @@
+# Maintainer: Angel Velasquez <angvp at archlinux.org>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-astroid
+pkgver=2.4.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' 'python-pytest-runner')
+replaces=('python-logilab-astng')
+conflicts=('python-logilab-astng')
+source=(https://github.com/PyCQA/astroid/archive/astroid-$pkgver.tar.gz)
+sha512sums=('5306428e55bb8fec388353844afb842638114d6163096d4eb4335ac488a88b7a09a03d143e3ea991ea07371d9d87e911578981e4d74e45f6b3819e389f227ba0')
+
+prepare() {
+  cd astroid-astroid-$pkgver
+  sed -i -e 's/six~=[0-9.*]*/six/' -e 's/wrapt==[0-9.*]*/wrapt/' astroid/__pkginfo__.py
+}
+
+build() {
+  cd astroid-astroid-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd astroid-astroid-$pkgver
+  pytest
+}
+
+package() {
+  cd astroid-astroid-$pkgver
+  python setup.py install --optimize=1 --skip-build --prefix=/usr --root="$pkgdir"
+}



More information about the arch-commits mailing list