aboutsummaryrefslogblamecommitdiffstats
path: root/testing/py3-astroid/APKBUILD
blob: 37edc6c9992201cc0a8410960c4e779d7a3b735e (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                               
                   
                
            
        
                                                      
                             
             
                           
                                                               
                           
                            
                                           
                                                                                                          
                                    
 
         
                              

 



                            
           
                                                               

 
                                                                                                                                                                   
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-astroid
_pkgname=astroid
pkgver=2.3.1
pkgrel=0
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"
builddir="$srcdir"/$_pkgname-$pkgver

build() {
	python3 setup.py build
}

check() {
	python3 -m pytest -v
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="771c68013c791a2e55a40f4463148a6e317583d55397b8bb57d74cb27869f5a188b2a54258010ee441567a461aaa6d62f0ef0266543b64bb4104bbe15e0951f8  astroid-2.3.1.tar.gz"