21 lines
803 B
Bash
21 lines
803 B
Bash
# Template file for 'python3-astroid'
|
|
pkgname=python3-astroid
|
|
version=2.13.3
|
|
revision=1
|
|
build_style=python3-pep517
|
|
hostmakedepends="python3-setuptools python3-wheel"
|
|
depends="python3-lazy-object-proxy python3-wrapt"
|
|
checkdepends="$depends python3-pytest python3-numpy"
|
|
short_desc="Abstract syntax tree for Python3"
|
|
maintainer="Michal Vasilek <michal@vasilek.cz>"
|
|
license="GPL-2.0-or-later, LGPL-2.1-or-later"
|
|
homepage="https://github.com/PyCQA/astroid"
|
|
changelog="https://raw.githubusercontent.com/PyCQA/astroid/master/ChangeLog"
|
|
distfiles="https://github.com/PyCQA/astroid/archive/refs/tags/v$version.tar.gz"
|
|
checksum=2336cfe4371640d1a8a6d25eeb391582360978aa65037782a3e8ab5edc9cacb1
|
|
|
|
post_extract() {
|
|
# relax build tool version restrictions
|
|
vsed -e '/^requires =/s/~=[0-9.]\+//g' -i pyproject.toml
|
|
}
|