mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 19:55:26 +03:00
41 lines
1 KiB
Text
41 lines
1 KiB
Text
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
# Maintainer: fossdd <fossdd@pwned.life>
|
|
pkgname=py3-astroid
|
|
pkgver=3.3.10
|
|
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 py3-mypy"
|
|
subpackages="$pkgname-pyc"
|
|
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() {
|
|
# pip test
|
|
pytest -k 'not test_no_user_warning'
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
.dist/astroid-*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
bec58f47f26a56f3700a6f10add2b90c018a2127b35036e1e4fc1d6c41fb35b67362195c506affba9ddf8ea120993e17adb562b799f1ee45622c79def4547e84 py3-astroid-3.3.10.tar.gz
|
|
"
|