blob: 14a784cf604b0fb9fc2d42a28a6f23a627827a2a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-astroid
pkgver=2.4.1
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-six py3-typed-ast py3-wrapt"
replaces="py-logilab-astng"
makedepends="py3-setuptools"
checkdepends="py3-pytest py3-pytest-runner"
source="https://files.pythonhosted.org/packages/source/a/astroid/astroid-$pkgver.tar.gz"
builddir="$srcdir"/astroid-$pkgver
build() {
python3 setup.py build
}
check() {
python3 -m pytest -v
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="10723236306c8a181d536acc047a18436851c7c8b9c532303f39ca1eae9ca9eba3e3e0c135aea7596642528d39e0115b38ad705bef9140cd0f5fa8b170569738 astroid-2.4.1.tar.gz"
|