# Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=py3-astroid pkgver=2.6.5 pkgrel=0 pkgdesc="A new abstract syntax tree from Python's ast" url="https://www.astroid.org" arch="noarch" license="LGPL-2.1-or-later" depends="py3-lazy-object-proxy py3-typed-ast py3-wrapt" replaces="py-logilab-astng" makedepends="py3-setuptools py3-setuptools_scm" checkdepends="py3-pytest py3-pytest-runner" source="https://files.pythonhosted.org/packages/source/a/astroid/astroid-$pkgver.tar.gz" builddir="$srcdir/astroid-$pkgver" options="!check" # PyPI archive doesn't contain tests anymore build() { python3 setup.py build } check() { pytest } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums=" 0f2096f2a823c748f229c2c7b55194c50e41442c0b13659696b320f768c99702e02524ee150127369cf321d3e595bd9389689cf3847a4948cb1284fea3786852 astroid-2.6.5.tar.gz "