blob: f20bb46eb91550dcfa3b159b26f1074fe0c693be (
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
30
31
32
|
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-astroid
_pkgname=astroid
pkgver=2.3.3
pkgrel=1
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/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz
0001-Relax-upper-bound-on-wrapt.patch"
builddir="$srcdir"/$_pkgname-$pkgver
build() {
python3 setup.py build
}
check() {
python3 -m pytest -v
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="72011f3eb312ea7ce7dd55f7615972f6bfc152d8f16f9052b405f44fe17e594d5da22e0502b4c3034881b9783be9e808509d4ded3d679182ddf6d34eb90748f1 astroid-2.3.3.tar.gz
7c6bd0af34903a64d32b915237c8d8bbc69d4961ae082651c5f6c6b47e9a99941952b3af0e9fa33238130d69c2012250260c10126feb81ae991959816a591247 0001-Relax-upper-bound-on-wrapt.patch"
|