mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-06 04:46:42 +02:00
testing/py3-astroid: upgrade to 2.2.5
- Clarify license. - Switch url to https. - Add checkdepends and enable test suite.
This commit is contained in:
parent
ee60e349ca
commit
dd4e4e4512
@ -2,15 +2,16 @@
|
||||
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
|
||||
pkgname=py3-astroid
|
||||
_pkgname=astroid
|
||||
pkgver=1.6.0
|
||||
pkgrel=1
|
||||
pkgver=2.2.5
|
||||
pkgrel=0
|
||||
pkgdesc="A new abstract syntax tree from Python's ast"
|
||||
url="http://www.astroid.org/"
|
||||
url="https://www.astroid.org"
|
||||
arch="noarch"
|
||||
license="LGPL-2.0-or-later"
|
||||
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"
|
||||
builddir="$srcdir"/$_pkgname-$pkgver
|
||||
|
||||
@ -18,8 +19,12 @@ build() {
|
||||
python3 setup.py build
|
||||
}
|
||||
|
||||
check() {
|
||||
python3 -m pytest -v
|
||||
}
|
||||
|
||||
package() {
|
||||
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
||||
}
|
||||
|
||||
sha512sums="6a384b2bd3b4ee686c2f9a69d10f4391e5950869d75808312b2715a620ba7caa706bd88a5e021ea2250cf16ff8013cf0b332faee0b07dd7b5e1baf11e65d0ac3 astroid-1.6.0.tar.gz"
|
||||
sha512sums="71c8c26314f666e2b9519a83dd9476fbfe0ad7d72f5308f6a94b83c5442dc695bc3e51155df45586ff2ff0eec522a02286d00ac566d542f0b82e5e0d0d7d9c65 astroid-2.2.5.tar.gz"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user