mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 11:15:13 +03:00
39 lines
1,011 B
Text
39 lines
1,011 B
Text
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
pkgname=py3-astroid
|
|
pkgver=2.15.0
|
|
pkgrel=0
|
|
pkgdesc="A new abstract syntax tree from Python's ast"
|
|
url="https://pylint.pycqa.org/projects/astroid/en/latest/"
|
|
arch="noarch"
|
|
license="LGPL-2.1-or-later"
|
|
depends="python3 py3-lazy-object-proxy py3-wrapt"
|
|
replaces="py-logilab-astng"
|
|
makedepends="
|
|
py3-gpep517
|
|
py3-installer
|
|
py3-setuptools
|
|
py3-wheel
|
|
"
|
|
checkdepends="py3-pytest py3-typing-extensions"
|
|
source="py3-astroid-$pkgver.tar.gz::https://github.com/PyCQA/astroid/archive/refs/tags/v$pkgver.tar.gz"
|
|
builddir="$srcdir/astroid-$pkgver"
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
check() {
|
|
pytest
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
dist/astroid-*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
7ec121b3c7d60e2d48f738fbc4eeae3e32c7135a77fb778db9479d730a757818f549d8bd35facdd67d411d777d57ec620a2448de1f4da23754863cae18717bce py3-astroid-2.15.0.tar.gz
|
|
"
|